/*! For license information please see client-entry~3.10cc7570.js.LICENSE.txt */ "use strict";!function(e,t){"object"==typeof module&&"object"==typeof module.exports?t():"function"==typeof define&&define.amd?define([],t):(e="undefined"!=typeof globalThis?globalThis:e||self)&&t()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).xss={})}(this,function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n/g,a=/&#([a-zA-Z0-9]*);?/gim,s=/"/g,l=/:?/gim,c=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,d=/u\s*r\s*l\s*\(.*/gi,f=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,p=/"/g,_=function(e){return e.replace(o,"<").replace(i,">")},g={indexOf:function(e,t){var n,r;for(n=0,r=e.length;n127&&r<2048?t+=String.fromCharCode(r>>6|192)+String.fromCharCode(63&r|128):t+=String.fromCharCode(r>>12|224)+String.fromCharCode(r>>6&63|128)+String.fromCharCode(63&r|128)}return t}(e);u>2,i=(3&t)<<4|(n=e.charCodeAt(u++))>>4,a=(15&n)<<2|(r=e.charCodeAt(u++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),c=c+l.charAt(o)+l.charAt(i)+l.charAt(a)+l.charAt(s);return c}function y(e){var t,n,r,o,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,n=(15&o)<<4|(i=s.indexOf(e.charAt(c++)))>>2,r=(3&i)<<6|(a=s.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==i&&(l+=String.fromCharCode(n)),64!==a&&(l+=String.fromCharCode(r));return function(e){for(var t="",n=0,r=0,o=0,i=0;n191&&r<224?(t+=String.fromCharCode((31&r)<<6|63&(i=e.charCodeAt(n+1))),n+=2):(i=e.charCodeAt(n+1),t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&(o=e.charCodeAt(n+2))),n+=3);return t}(l)}function E(e,t,n){var r="",o=0,i=!1,a=!1,s=0,l=e.length,c="",u="";e:for(s=0;s"===d||s===l-1){r+=n(e.slice(o,i)),c=function(e){var t,n=g.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),"/"===(t=g.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(u=e.slice(i,s+1)),r+=t(i,r.length,c,u,"0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){l(a,v(g.trim(e.slice(n,c)))),a=!1,n=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;l(a,g.trim(e.slice(o+1,d))),a=!1,n=(c=d)+1}}else a=e.slice(n,c),n=c+1,o='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;te.charCodeAt(n)?" ":e.charAt(n);return g.trim(t)}(e=(e=(e=e.replace(s,'"')).replace(a,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(l,":").replace(c," "))}(n),"href"===t||"src"===t){if("#"===(n=g.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"data:image/"!==n.substr(0,11)&&"ftp://"!==n.substr(0,6)&&"./"!==n.substr(0,2)&&"../"!==n.substr(0,3)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===t){if(u.lastIndex=0,u.test(n))return""}else if("style"===t&&(f.lastIndex=0,f.test(n)||(d.lastIndex=0,d.test(n)&&(u.lastIndex=0,u.test(n)))))return"";return n=function(e){return e=_(e=e.replace(p,"""))}(n)}var O=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},b=function(){function e(e){var t=function(e){var t={};for(var n in e)t[n]=e[n];return t}(e||{});t.stripIgnoreTag&&(t.onIgnoreTag,t.onIgnoreTag=function(){return""}),t.whiteList={},t.onTag=function(){},t.onTagAttr=function(){},t.onIgnoreTag=function(){},t.onIgnoreTagAttr=function(){},t.safeAttrValue=T,t.escapeHtml=_,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,r,o,i,a,s=this.options,l=s.whiteList,c=s.onTag,u=s.onIgnoreTag,d=s.onTagAttr,f=s.onIgnoreTagAttr,p=s.safeAttrValue,_=s.escapeHtml;s.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),s.allowCommentTag||(e=function(e){for(var t="",n=0;n");var s=function(e){var t=g.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=g.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=g.trim(e.slice(0,-1))),{html:e,closing:n}}(r),h=l[n],v=w(s.html,function(e,t){var r=-1!==g.indexOf(h,e),o=d(n,e,t,r);return null==o?r?(t=p(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(o=f(n,e,t,r))?void 0:o:o});return r="<".concat(n),v&&(r+=" ".concat(v)),s.closing&&(r+=" /"),r+=">"}return null==(a=u(n,r,i))?_(r):a},_);return h&&(v=h.remove(v)),v},e}(),S=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),D=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,n,r="douyin_web";if(!g.includes(r,"bid"))return r;if(e.config&&e.config.bid)return e.config.bid;if(S&&S._xssBid)return S._xssBid;if(S&&S.slardar&&"function"==typeof S.slardar.config){var o=(S.slardar.config()||{}).bid;if(o)return o}if(S&&S.Slardar&&"function"==typeof S.Slardar.config){var i=(S.Slardar.config()||{}).bid;if(i)return i}return(null===(n=null===(t=null==S?void 0:S.Slardar)||void 0===t?void 0:t._baseParams)||void 0===n?void 0:n.bid)||"argus"},this.getConfigRegion=function(){var t;return g.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==S?void 0:S.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var n=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),S.fetch(t,{method:"post",body:JSON.stringify(n),headers:{"Content-Type":"application/json"}}).catch(function(e){}),e.lock=!1,e.upload()},this.timeout))},e.prototype.generateKey=function(e){return e.collectKey?[e.collectMode,e.collectKey].join("___"):""},e.prototype.push=function(e){this.batchData.push(e),this.upload()},e.prototype.report=function(e){var t=this.generateKey(e);if(S.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var r={age:Math.floor(Date.now()),type:"xss",url:n,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==n||(r.url=t),"SSR"===n&&(r.url="SSR___".concat(r.url),r.body.ssr=!0),this.push(r)}},e}()),P=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=g.from(g.uniq(e[n])),t+=e[n].length):0===g.keys(e[n]).length?delete e[n]:g.keys(e[n]).forEach(function(r){e[n][r]=g.from(g.uniq(e[n][r])),t+=e[n][r].length})},r=0,o=g.keys(e);r0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var o=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===o})||(t&&t("javascript:"),!1)}return!0}var A=function(e,t){var n,r,o="<%= isSaveValidUrl =>";if("string"!=typeof e||(r=Number("<%= urlLimit =>"),void 0!==n&&(r=n),"NaN"!==e.toString()&&-1!==r&&e.length>=r)||C(e,t))return e;try{if(!0===(o=JSON.parse(o))||"true"===o){var i=new URL(e);return i.origin+i.pathname}}catch(e){}return"#"};function x(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!C(e=I(e)))return!1;var o,i={url:(o=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:o[1],slash:o[2],host:o[3],port:o[4],path:o[5],query:o[6],hash:o[7]},a=i.scheme,s=i.host;return r?!!r(e):!(!a||!s)&&(!g.includes(["http","https","file"],a)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),g.some(t,function(e){return!!(e instanceof RegExp&&e.test(s))||e===s})))}var N={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},L={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=P(this.collect),t=e.count,n=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"white"}},onIgnoreTagAttr:function(e,t,r){return e&&g.indexOf(["href","src"],t)>-1?L.domainWhiteList&&Array.isArray(L.domainWhiteList)&&L.domainWhiteList.length>0&&!x(r,n([],L.domainWhiteList,!0))?"":"".concat(t,'="').concat(A(r,function(e){var t;null===(t=L.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(L.collect.whiteList[e]=L.collect.whiteList[e]||[],void L.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;E(t,function(e,t,n,r){w(M(r).html.replace("/",""),function(e){L.collect.whiteList[n]=L.collect.whiteList[n]||[],L.collect.whiteList[n].push(e)})},_)},whiteList:N,mergeWhiteList:function(e){for(var t,n={},r=0,o=g.keys(N);r");var i=M(r),a=w(i.html,function(e,t){var r,o=0;if(U.blackList[n]&&g.includes(U.blackList[n],e)&&(B.collect.blackList[n]=B.collect.blackList[n]||[],B.collect.blackList[n].push(e),o++),U.blackAttrRegExps.length&&U.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach(U.blackAttrRegExps,function(t){t.test(e)&&(B.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),o++)}),U.blackAttrs.length&&g.includes(U.blackAttrs,e)&&(U.blackAttrs.push(e),o++),!o){if(U.filterList&&U.filterList[n]&&g.includes(U.filterList[n],e)){var i=A(t,function(e){var t;null===(t=B.collect)||void 0===t||t.filterProtocol.push(e)});return i!==t&&(B.collect.filterList[n]=B.collect.filterList[n]||[],B.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(i,"'"):e}return U.filterAttrs&&g.includes(U.filterAttrs,e)?((i=A(t,function(e){var t;null===(t=B.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=B.collect)||void 0===r||r.filterAttrs.push(e)),t?"".concat(e,"='").concat(i,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return r="<".concat(n),a&&(r+=" ".concat(a)),i.closing&&(r+=" /"),r+=">"},_);null===(n=B.collect)||void 0===n||n.blackTags.push(e)}},Q=function(e){var t=e.reportOnly,n=void 0===t||t,r=e.block;return n&&"all"===n?"report":("string"==typeof n&&("true"===n&&(n=!0),"false"===n&&(n=!1)),r?"enforce":n?"report":"enforce")},X=function(e){return function(n,r,o){if(!n||"string"!=typeof n)return n;var i=r;e===R&&(i=L).initCollect();var a=e(n,i);if(O(a)===O(n))return n;if(!o)return a;var s=o.logType,l=Q(o),c=i.removeCollect();return D.report(t(t({type:s,disposition:l},c),{sourceText:m(n),filterText:m(a)})),"enforce"===l?a:n}},G=X(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new b(t).process(e)}),V=X(R),Y=function(e,t,n){var r=[],o=A(e,function(e){r.push(e)});if(o===e)return e;r=g.from(g.uniq(r));var i=t||n||{};if(!i)return o;var a=i.logType,s=Q(n);return D.report({type:a,disposition:s,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:m(e),filterText:m(o)}),"enforce"===s?o:e},K=S._xssProject||{},Z=S.xssNamespace||{},z="3.0.26",q={FilterXSS:b,version:z,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:G,_filterXSS:V,filterUrl:Y,Config:L,BlackConfig:B,project:K,setProjectName:function(e){K[e]=this,S._xssProjectName=e}};Z.douyin_web=q,S.xssNamespace=Z,S.Math&&!S.Math.xssNamespace&&(S.Math.xssNamespace=Z),K[z]=q,S.globalThis=S,S.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:q},S.xss=q,S.isSafeUrl=x,S.isSafeDomain=x,S.isSafeProtocol=C,S._xssProject=K,S._xssProjectName&&(K[S._xssProjectName]=q);var $=q.setProjectName.bind(q);e.BlackConfig=B,e.Config=L,e.FilterXSS=b,e._filterXSS=V,e.filterUrl=Y,e.filterXSS=G,e.isSafeDomain=x,e.isSafeProtocol=C,e.isSafeUrl=x,e.project=K,e.setProjectName=$,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;Z[t]=q;L.bid=n,L.region=r,L.enabled=!0},e.xssNamespace=Z,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["65353"],{457359:function(e,t,n){n.r(t),t.default={container:"vtlRrpOT",rightContent:"mw1gPfQ5"}},700182:function(e,t){t.Z={container:"LebMor1Z",splashAdFullscreen:"fRsIt8dH",rightContainer:"kHrdyLnb",normalContainer:"KeK7Q2RK",isBlackFilter:"SVjPFT3j",leftContainer:"iIM5THgi",navigationHide:"ORZ_HfTC",splashScreenTransition:"yMrzDwpC",contentIncludeHeader:"WIFdqwhn",layoutContentWithSideArea:"FJW1IOm9",layoutContentMain:"RAgzgd2D",minHeight:"I1M15fTy",liveFullscreen:"ALabwCjr",isFixed:"chEDatRa",noChildRoute:"FU6MnLnO",mobileContainer:"oaw8PooL",globalBackground:"IwtRYQen",hideBg:"QQjTH_zR",leftBottomBkg:"nfo2gRr2",background:"gn_CCVUR",activityImage:"DZbQNXjy",fullScreenHorizontalContainer:"iFL5LB8_",horizontalContainer:"yuZJdkL8",footer:"tkiq64wh",lynxMainWindow:"jviFYs66",defaultWrap:"nXtYSIRT"}},687517:function(e,t,n){n.r(t),t.default={listWrapper:"MYaaWrhh",blockWrapper:"J3qGvmLm",breath:"zr1iogMW",itemWrapper:"NS0qXHUt",rowArea1:"EO51T2Je",rowArea2:"dFQ0cMzT",titleWrapper:"JgxZMIH3"}},529719:function(e,t,n){n.r(t),t.default={aLink:"Wu13QSlK"}},191491:function(e,t,n){n.r(t),t.default={divider:"wScXVvd0"}},921061:function(e,t,n){n.r(t),t.default={textareaWap:"HPJzH1W5",textarea:"AMZEhbaQ",numLabel:"KhM3nss8",warn:"fNiVnJaI",focus:"xO_nMxPF"}},718770:function(e,t,n){n.r(t),t.default={userContainer:"Acyfxm_T",avatar:"Uf_strhn",micphoneLabel:"R5yjm2DF",userNameRight:"Bd9ZbfAJ",userName:"SGnT1SLG",dynamicAudioItem:"XT_3XGaK",audioStageUserScale:"RHugaQfY",userAdjust:"N6aidO3i",infoNoShrink:"JEgguQZT"}},894309:function(e,t,n){n.r(t),t.default={wrap:"PPSF_nHK",left:"b2HmlMEy",right:"oUx9rM1I",fierce:"YLzLMCFD",fog:"xJKo2rCQ",borrwed:"sKN2iQ1c",icon:"BLQjU6sq",score:"BPyT4h43",scoreMove:"TY4Qlft8"}},19279:function(e,t,n){n.r(t),t.default={wrap:"kbXlukwH",small:"aJC7iLOb",leftBar:"sv7tRnvP",rightBar:"V7bSFKh1",score:"Qude7v9K",sprintChallenge:"LDufoGVa",scoreWrap:"cwZ8SZxr",left:"OpCy130p",roomBattleVote:"tTZfvMxR",leftAuraUrl:"zR1sfO1X",rightAuraUrl:"zvBGFfib",mutiFightEggLeftWave:"RInzgo0e",mutiFightEggRightWave:"P9fK3rbn",status:"tMhFjI50",spaceCenter:"pZgtyz4r",start:"ViCr8tAa",customIcon:"hYwdDf_Y",progress:"dsO76sQC",draw:"oB2Cb46R",win:"LSFdVlWj",lose:"WzuCCxOf",eggLeftScore:"ftifzT_0",eggRightScore:"_U5iwkEE",sprintScoreWrap:"GMFtNiHY",sprintScore:"y00ooi3G",sprintRightScore:"GglAO998",sprintAchieved:"GqGrdeEU",sprintProgressCover:"gtLkG4KZ",sprintGiftCover:"OcrxZXvD",roomBattleVoteScoreWrap:"PLkxgSa5",roomBattleVoteScore:"MBwnCW_B",roomBattleVoteRightScore:"Wur6stnQ",roomBattleVoteTheme:"UDZkfa7d"}},744334:function(e,t,n){n.r(t),t.default={wrap:"EDFUP5Nk",content:"FC8HLvJ0",operation:"FYpJGWCM",mask:"Kg_DpG3n"}},199301:function(e,t){t.Z={svg:"UqT1SJip"}},913029:function(e,t,n){n.r(t),t.default={mask:"RhZt7Gz7",halfOpacityModalInChange:"OmStIEaB",modalContainer:"V92Q1Zuj",loginWindowModalInScaleChange:"KrF3j7yt",loginWindowModalInOpacityChange:"svvkt8ge",close:"Uo0Rk_T6",title:"pLHkNpRx",content:"oG3Qnr8N",shadowChange:"fSEqtbG4",overflowChange:"M85UWpTn",conversationDtailAnimationKeyframes:"bjaYlJPj",popWindowModalOutChange:"IdzmE2di"}},557329:function(e,t,n){n.r(t),t.default={mask:"ucbTXYO1",halfOpacityModalInChange:"JPfq2QJy",modalContainer:"jWZUc_6m",loginWindowModalInScaleChange:"K2Ucrm9C",loginWindowModalInOpacityChange:"AgK2bo4Q",close:"gm5VKMZX",title:"JqsF1Pa_",content:"wTh0MFEP",footer:"dT5v8l5R",shadowChange:"_u4Pf7sk",overflowChange:"IWYva9sr",conversationDtailAnimationKeyframes:"dhuhP9Gv",popWindowModalOutChange:"luTW1Dnm"}},922589:function(e,t,n){n.r(t),t.default={semiIcon:"LKiTjVlX"}},280322:function(e,t,n){n.r(t),t.default={dropdownContainer:"qI30fmKY",shadowChange:"CsTbTd8o",overflowChange:"ZIzLLdpP",container:"D2jVvZhp",dropDownListInCenterChange:"WlfiDY8U",childrenContainer:"ERUmllxn",closeIcon:"DN5RfdPP",hidden:"rx2vgSid",loginButtonContainer:"o66DBrjR",loginButton:"Beb78vuz",dot:"pqqxLKiP",dotKeyframes:"HQmg6kfh",finger:"haxPulNb",fingerKeyframes:"inJPlrCo",conversationDtailAnimationKeyframes:"M9AED2qz",dropDownListInNoCenterChange:"s9BMHBrY",showDeleteAllMessageModal:"EPB6hV9n",dropDownListInNoCenterLeftTopChange:"fTjAEwjK",dropDownListOutChange:"EDNu0PNK"}},760102:function(e,t,n){n.r(t),t.default={aiSearchTextContainer:"vDLLdKsz",text:"IeJRZvL9",icon:"rnKtphUh"}},98653:function(e,t,n){n.r(t),t.default={searchBarExtraButtons:"uy6fEmpk",deepSearchButton:"bPI2z5JB",deepSearchButtonActive:"RMtI31_Y",deepSearchButtonDisabled:"fCvlDNYh",searchButton:"FIIY_RWV",searchButtonActive:"zd7V0CUP",rightExtraButtons:"K5LdzSvV",rightButton:"mIV2csQ7",rightButtonDisabled:"Pvduc9mh",divider:"jbE2GYub",tooltip:"UQOl894Z",tooltipDisable:"ljPRSd78",searchBarExtraButtonsMin:"mbpXOGsT",searchBarExtraButtonsTransparent:"lKkdvSZv",searchBarExtraButtonsGrayscale:"rNZKyRUJ"}},893168:function(e,t,n){n.r(t),t.default={autoRetryImage:"RDy3JwM0",error:"GNmQiLQF",retryIcon:"YAgaUhbE"}},9352:function(e,t,n){n.r(t),t.default={routeContainer:"jZefMs6I",enterChildRoute:"lmmt8rjf",withoutscrollbar:"d4NXPQgT"}},964965:function(e,t,n){n.r(t),t.default={mask:"qKCrFcc9",container:"boDFHnQB",avatar:"E5OISS47",textWrap:"SQqDMMxV",title:"nQ_EPdjp",desc:"dtuxJshu",btns:"fjeZqbjI",btnGroup:"vMGkRfiJ",close:"Ne5CTPXy",progressText:"KWC_6rFU",maskDark:"NxNUfpRU"}},224632:function(e,t,n){n.r(t),t.default={dark:"KC7gl_Zl",conatainer:"jHIdiiVr",replyExpandBtn:"wJHGjWeA",replyLine:"rGtWEnjm",align:"F_cOIcYe",hasMore:"BbCV0tll",hoverStyle:"TWUYHHdV",loginBtn:"OqImW8ji",replySvg:"JrsT4RK0"}},367166:function(e,t,n){n.r(t),t.default={weakStyle:"_OJbAD_I",weakBtnBg:"k39u7fU2",weakBtnHoverBg:"Ea8OJyiY",close:"LJgpE9Mj",weakStyleV2:"QD9_qFFr",header:"y9De0v9x",title:"H_3q4RFg",weakBtnLightBg:"lvJp7Y1U",weakBtnHoverLightBg:"Jpw6YDGj",lightClose:"drLZaYwa",strongStyle:"QITXuWa4",strongBtnBg:"ACBHzWNP",strongBtnHoverBg:"Diaa6cSc",strongStyleV2:"z6ARHBxL",clickArea:"okGVYDAe",downloadBtn:"ruI_rqwm",strongStyleV3:"kYS8VEli",strongBtnLightBg:"FDeEp8gI",strongBtnHoverLightBg:"x3tR3TpA",lightTitle:"BLK82N0B",strongDesc:"TX4j5q1t",logo:"UoVu4M7K",arrowContainer:"stRlzAYs",description:"S17q4Ybr",headerDesc:"ayi4SZXp"}},351364:function(e,t,n){n.r(t),t.default={divider:"TiTdDIDS"}},727243:function(e,t,n){n.r(t),t.default={errorPage:"LWV6J5Uw",light:"GGZsTSrT",dark:"sNRaGU52",icon:"zPaHBLPb",title:"wYTDA2fY",desc:"RtDsoo01",buttonGroup:"yz6KoZfg",unfollow:"CNWvkiko",emptyList:"d97lrXZ2",emptySearch:"Y_4TyG2k",noLogin:"bVKSYbVI",notFound:"maifHD4y",noNetwork:"GYnkYvW9",serverError:"aqwIlGVF",commentTmptyList:"cHJqXC6X"}},604448:function(e,t,n){n.r(t),t.default={popover:"_KRDPUZX",hidden:"SoCg1WZL",search:"wmsd0Fx8"}},572414:function(e,t,n){n.r(t),t.default={loginCircleCt:"qNCGQxct",circleLoginBtn:"yBNbBhiC",circleLoginLottie:"vrBRkqHS"}},217015:function(e,t,n){n.r(t),t.default={container:"tQrUQQwS",left:"FpxyC9XI",avatar:"VWuplf6x",titleWrapper:"nYqiS8ib",title:"lX0lgfcD",subTitle:"yo5azMai",right:"dKlKOzZE",button:"wmuuDQC5",closeIcon:"WFf_wRzS"}},839535:function(e,t,n){n.r(t),t.default={qqBrowser:"yIaxVJU8",isFullScreen:"TzEFvX81",playerCommentWrapper:"qX3FF3at",commentWrapper:"iDOGqgyT",commentWrapperBackground:"cQpqqBPg",commentInnerWrapper:"GM_1gTsG",closeSvg:"_KpWkTJ5",imgBackground:"ZxpBmM0D",isNext:"P9lEfKxb",baseWidth:"m8FOfC2Q",baseHeight:"gCxsIpLu",isSafari:"ZHPxv2N2",playerShowInfo:"rPaZTioB",playerContainer:"x__qsu8j",videoImage:"ACxMBS3V",isHavePlayer:"dat7h2WD",playerMask:"mKoAV6rh",playerWrap:"TX9CgW0v",backgroundImg:"YDK8e2aD",backgroundMask:"ccykJetb",backgroundImgFirefox:"bBId8vKP",backgroundImgSarari:"Qmwo9CPI",videoInfoContainer:"wJh4j5Wg",title:"HeXVQKob",infoContainer:"SsHd0XuI",time:"vDhRcoxA",reportTool:"oYpjtHFK",report:"_oKwVhhI",publishTime:"T7WlhQAZ",statsContainer:"MyPuXQAr",count:"pE38sTcx",statsItem:"_62XzJzZ",share:"CeCWLTXh",active:"dI2UC05S",iconSvg:"pe_eQ2yM",shareContainer:"ipHtmNbi",shareBox:"nvfG5ZPn",shareBoxHidden:"VeoiXMOv",miniScreenBtn:"PORMeky9",commentHidden:"Jg138aLQ",isFirefox:"SjmYKkEc",imgPlaceHolder:"LuqPm20M",hidden:"Sov9pcEx"}},433294:function(e,t,n){n.r(t),t.default={bottomWrap:"Zj5Fgmnv",noMoreText:"_98IcTwY",opBtn:"wRwYD7Ar",last:"dpoZLZQM",firstReqBtnWrapper:"rvMCErp8",abContainer:"Ch6y5dtk",abNoMoreText:"lcoey1Z6",abOpBtn:"IPIUNJ1T",loginBtnWrapper:"j0_yKWIq",loginBtn:"a1DJdooD",item:"F4b7sztk",highLight:"G1WIKpV2",shade:"aEGQGbaC",sortItem:"cokWGgZ6",dragBtn:"WQx88zK7",coveredMask:"zvGw4rBu",noLineHeight:"QhXy7t32",transition:"JVh56bxR"}},358581:function(e,t,n){n.r(t),t.default={container:"dHTf_Iwd",header:"LVMYcCm8",searchBar:"T0UKMjQZ",focus:"x3uzLhoE",input:"SnGmvhra",searchIcon:"vB8LE1hN",activity:"Ir7RsEB2",button:"nbRHgcXi",body:"GrZLi8YE",filterOptions:"xKtNYYsb",hide:"LEgyHhqJ",scroll:"cfNjKbmg",bottomSpace:"NX6PDh46",noResult:"QMDuryP9"}},575923:function(e,t,n){n.r(t),t.default={listViewWrapper:"um17wUpA",container:"wtZB8dvQ",ItemContainer:"KQirF03l",videoListViewExpand:"mxTu47QR",videoListViewCollapse:"Nkr928ZX",noMoreTextCollapse:"kU0aFm2a",skeletonItem:"LrYsgKxD",firstLoadingText:"on0Ui2yY",listItemExpand:"osHjG4fJ",multiTabListItem:"z142hl_B",listItemCollapse:"E2aiKaiE",skeletonLogo:"KeJXvq78",skeletonLogoCollapse:"oSNp3qeB",itemContent:"FHE_OHfa",playLoadingWrap:"nZkUUSh2",playLoadingAniWrap:"m5OIWsua",playLoading:"KiCz0fZJ",playLoadingAnimation:"c_f14lpf",playingLoading:"WyxWeCCw",playingAnimation:"mesr5054",playLoadingText:"zcC4DW3Z",collapseCurrentButtonWrapper:"OCnNYo1O",hideGotoCurrent:"zxDVcMBx",currentButtonWrapper:"dNJefi_E",iconMargin:"usj9i1hD",errorText:"TMhQXtSe",opBtn:"QCnsin8R",hidden:"UU9zhib3",moreBtn:"q7OY_sZU",inSmallCard:"lLvwzM2f",imgCt:"EFWL5CHl"}},871399:function(e,t,n){n.r(t),t.default={listViewWrapper:"TpWSpJ_9",ItemContainer:"j9Zv9R16",unLookTag:"HQjsPgAm",cursorDefault:"jBP1py1C",imgCt:"ZG12oowV",noFilter:"OGKVajCN",collapse:"UqKYCLjA",skeleton:"LMrX7A50",long:"MSlNz0WL",small:"T4CthvJq",descCt:"NLCNElX6",title:"NYhFwvyI",active:"N4LkmgRq",bottomWrap:"uqFoLEu0",diggNumWrap:"Yow8q8Pn",isPlaying:"cFluzuAd",diggNum:"LEA7A1WG",authorName:"fluOqYbH",durationBg:"GP6PVIjO",duration:"tqfsf9EP",bottomMask:"wnxTHdLa",firstLoading:"O98112cd",videoListViewExpand:"QofQGPbg",videoListViewCollapse:"o9iw6I78",noMoreTextCollapse:"k1WC_EIo",skeletonItem:"R2fYWSGI",firstLoadingText:"Hl1Gd0SN",listItemExpand:"DVJqrNi4",multiTabListItem:"VRjP9rGp",noImgListItem:"NYw4lFaW",listItemCollapse:"vuAUyMcq",skeletonLogoCollapse:"NfM8PuIk",itemContent:"gnoE6KKH",noRadius:"HwtQs6oA",skeletonLogo:"EKcP2Xom",moreWeight:"NOPfUJwn",playLoadingWrap:"x1ztGGU1",playLoadingAniWrap:"B_AYMkDE",playLoading:"AWEw5PKa",playLoadingAnimation:"vfQ33BpE",playingLoading:"IUBRzJOT",playingAnimation:"yD5UVpV8",playLoadingText:"oP0WywVB",collapseCurrentButtonWrapper:"vQgDeAqQ",hideGotoCurrent:"nxCnbCaZ",currentButtonWrapper:"EvaINrxA",iconMargin:"abpwdX8Y",errorText:"jl8K43gU",opBtn:"rccBmKhj",hidden:"LpIb0F7e",inSmallCard:"I2cGAqP2",borderLine:"ttr_AE8r","fix-blur-bg":"hhYQsjZ3"}},455434:function(e,t,n){n.r(t),t.default={defaultImg:"xhktpd4p",collapse:"lqECEgVy",expand:"G2ucUync",badge:"A89jCMPl",wrapper:"wZKyfOrd",divider:"v08KYte3",cardHeaderExpand:"Gz6jGF6s",smallCard:"HMq7elLq",title:"GsWJfEG2",spaceBetween:"OY4SCtQW",tab:"z_IXJlS6",showClose:"owe4om0n",mergeAuthorContainer:"bwbdiyQV",active:"felztnbW",arrowContainer:"I3Qw3LpK",right:"D3pZIPAI",hidden:"_FNSmTJP",singleTitle:"mRLPSZgL",disable:"_nslPUSa",noActiveBottom:"SP8QZqdL",fiveTabsOrMore:"aay0_Z03",sixTabsOrMore:"MjX_2laX",sixTabsAndIncludeRelated:"c73g4ZZr",operateContainer:"QcL0CUzR",icons:"vuTeHwH2",hasCloseBtn:"Cj39hhq2",noMarginRight:"hjbviQGi",cardHeaderCollapse:"zWXuTGpT",follow:"XEew9FkH",cardBody:"dNJ3nN_k",hide:"SD06248c",headerContainer:"pifKbeqb",hideScrollbar:"vzBUlfRv"}},269584:function(e,t,n){n.r(t),t.default={guessListItem:"y7JjSfUG",guessListItemBg:"CNYsQ0Ul",keyboardSelected:"ttePjoSl",guessListDouble:"yUxhE66E",guessListItemText:"Z3FbrflK",guessListItemTextHighlight:"X1UqCDsf",guessListItemIcon:"ZKb5kXf4",guessListItemIconHot:"bIFSVjqj",guessListItemIconLive:"g9lRa2Qn",titleView:"JS3ecLlK",titleViewText:"O1zJCBVu",hotBoardTitleViewText:"IKq0N5bB",newTitle:"Z0FD5Yz7",refreshButtonView:"kn5moTFx",refreshButtonText:"Oa2ENwEo",newRefreshBtnView:"qXE0mfSo",suggestionItemContext:"GSRANJPu",guessListItemWrapper:"GwQWBLkU",itemLeft:"QUjVJ50p",itemRight:"dSHyEb0Q",oldSelectedStyle:"zeW2ZU50",guessListTriple:"L6S3Nad1",refreshing:"chXXO3cb",rotate:"h0t9u_bU"}},372468:function(e,t,n){n.r(t),t.default={dislikePanel:"UQ6Q4Umm",text:"h202756u",revokeBtn:"xG2uSp8u",revokeIcon:"g5nA9JwM",revokeText:"VlCJPy0I"}},403055:function(e,t,n){n.r(t),t.default={tooltipWrapper:"tF41ti2B",tooltip:"yCqyZGJe",left:"_PUE6iGa",right:"EMadolHB",top:"IWiRm4ry",bottom:"OsiZaQiS",icon:"V3k3DBb8"}},465787:function(e,t,n){n.r(t),t.default={description:"fns8vNUl"}},794962:function(e,t,n){n.r(t),t.default={followBtn:"vQtDVs82",isFollow:"p1wizwpL"}},609683:function(e,t,n){n.r(t),t.default={setLandingPageButton:"qaXXreLw"}},555921:function(e,t,n){n.r(t),t.default={userVideoSkeleton:"XDOE6XoE",userVideo:"UM4lDFX5",wrapper:"yxQdm_o8"}},472570:function(e,t,n){n.r(t),t.default={entryImg:"jlbgMQNa",activity:"O95SEBHF",vsTransMode:"Nywgwe37",transparent:"so0gYG8Q",popNum:"uVZnczJ6",PopStyle:"Go2yfgBG",digitsNumberPop:"zr0Z3ef1",numberPoint:"uOdm4ZIF",newCharacterPop:"gU1bU68w",imLoginGuidePanelWrapper:"Q12a53j3",imLoginGuidePanel:"gS12WtU6",dropDownListInCenterChange:"s33ufx79",desc:"llUUncJc",loginBtn:"yxOHZDKw",circleButtonNoText:"QMW2JWlJ",polymorphicButton:"Re2jTWCC",cicleButtonWithText:"iO_wmpM6",textLink:"ab0sG76k",navui:"Wo7DDfU0",semiIcon:"wu5yd14F",shadowChange:"OBlxF5eR",overflowChange:"xeDbisNF",conversationDtailAnimationKeyframes:"uOtaRW_o",dropDownListInNoCenterChange:"gb5eFcZt",showDeleteAllMessageModal:"AGXiyl_2",dropDownListInNoCenterLeftTopChange:"_ZxbP5kb",dropDownListOutChange:"f67rEhAN"}},798016:function(e,t,n){n.r(t),t.default={pushList:"pKdOmNyp",hidePushList:"yrftbkG8"}},472362:function(e,t,n){n.r(t),t.default={qqBrowser:"k0NIV8vt",isFullScreen:"mgMGdOUN",imgBackground:"CSylsaV_",isNext:"Ydj8ehow",baseWidth:"SztJaWDP",baseHeight:"v2fUybmm",isSafari:"otFfidPH",playerShowInfo:"c6OYqSv1",splashAd:"cYFackB6",playerContainer:"DbWAob8Q",videoImage:"e_H399Xg",isHavePlayer:"K8D0HpzJ",playerMask:"VNjXuuZN",playerWrap:"gh1TK4uB",backgroundImg:"bwRObhXo",backgroundMask:"I4ror2YF",backgroundImgFirefox:"eFHDLpLb",imgPlaceHolder:"XMSh_Xii",isHide:"hzGTnJP0",isFirefox:"CwhLNXO4",backgroundImgQq:"GgYu1Yt7",displayNone:"mGKHyLcj"}},212204:function(e,t,n){n.r(t),t.default={container:"LOXyENtG",loginBox:"P6nHGZ7p",text:"hIzfVQvZ",buttonBox:"FzuqloXg",cancel:"bJWIs2Wh",login:"teilomAJ"}},421953:function(e,t,n){n.r(t),t.default={wrapper:"S_aJ_XLP",guideTagContainer:"MLp9POGI",text:"luRR2Pde",whiteTagContainer:"PxWcppQd",whiteTag:"C7Ajeznt",avatarList:"ybN32r1r",avatar:"ZW1_xqE4",recommendText:"qy4zwdsN",nickname:"tHwpU3ay",singleUser:"KAHvq8lR",recommendIconWrapper:"EhK5W4Qg"}},598116:function(e,t,n){n.r(t),t.default={container:"ahH0ei80",contextMenuContainer:"VZmiPwum",isAd:"RI24AURp",viewAdDetail:"cNLRaEkG",divider:"wctqqb6N",innerContainer:"K9tC_bUA",adIcon:"BaiDR7Ww",word:"G7WPAW1F",icon:"GTvGj9NT",contextMenuItem:"JysBJGcb",enterDetail:"H_0G9NPf",itemText:"P3qavBW8",itemTip:"S47labDK",itemRedDotBox:"S8QlB6LF",itemRedDot:"mRTr4vAJ",itemMarginLeft:"nPW4cEKz"}},438740:function(e,t,n){n.r(t),t.default={adWrapper:"UtvCECZk",lottie:"p9AV8zXV",adButton:"Xus0TS6P",adTitleWrapper:"zM6mF66t",mainCover:"AiH3WeVG",skeleton:"WYMgS6hM",info:"Pr5YTTkW",adName:"d_q93RBt",tag:"odDwV9yH",price:"xVJIp869",unit:"FBvBkvhk"}},999349:function(e,t,n){n.r(t),t.default={adWrapper:"Mu24qRPL",show:"W_K_uzM3",easeIn:"jNBgPnzq",brandImg:"__OYhPGi",adButton:"E21aNJlM",close:"vBlh7del",tapIcon:"MYuDFoaS",adIcon:"PcqmRdsx"}},893238:function(e,t,n){n.r(t),t.default={gameLiveWeakAdCard:"kg9eTHjV",adInfo:"fUU0Vx5t",logoWrapper:"AYDX6m4x",adIcon:"LKVJz4xu",detail:"Jnxj07Mu",title:"vo33qfIR",subTitle:"RGYaWIdp",btnBox:"aAuB4_Bs",icon:"N5C8lvJ7",easeIn:"PV34MKnx"}},167067:function(e,t,n){n.r(t),t.default={container:"J7KLBB9B",damaIcon:"nYoFDg5k",damaText:"Syr0Kg7G",damaTime:"doHR5PLe",nums:"mXXkWN_6"}},176992:function(e,t,n){n.r(t),t.default={container:"WKupzb2v",danmukuList:"getvfC08",disable:"wGYElYQF",modalBackground:"VXu5wmpu",mountEl:"aHWtHhit",modal:"xeTmsNPU",header:"znsVm9Qx",divider:"xLAfZFL5",content:"URMuTqmd",danmakuHeader:"zgFZ3MEQ",time:"L20gZVfo",text:"yncXnghE",noMore:"bymo8M07",danmakuList:"Dvg9e_UM",danmakuLi:"DjxXvrWZ",interaction:"KbQjcthA",timeLi:"jpnUVawc",textLi:"erMWrDbp",icon:"xOTbKgjb",isLike:"YRXXGeDN",likeIcon:"IGu2GE64",report:"VePKS553",deleteIcon:"cHERj9t7",error:"eRLUVWpK",toast:"w4g7EtPl",defaultLoading:"i6akJglA",centerLoading:"IBJYsukY"}},416374:function(e,t,n){n.r(t),t.default={digg:"wn9Oh5bX",isDigged:"Fw5w6T_O",diggLottie:"xbMSwulP",lottieWraper:"nugcmtg3",diggSvg:"xKgBj8R9",isDigg:"JSRsM0aa",dislikeLottie:"nZmSahHI",diggIcon:"wR7Bvky5",count:"Lr3l3ZEc",lessFontWeight:"n1ekR9OB",keyTip:"hHWnmu_s",animation4:"uoBorZji",ableMiniType:"GI7ARE9c",heart:"M5Rnj_w1",candle:"s7gQlnek"}},906887:function(e,t,n){n.r(t),t.default={imgBackground:"t_6oXz8O",baseWidth:"vDecAx5l",baseHeight:"cv5hpPG4",playerShowInfo:"cITb444q",splashAd:"NRYhNWCg",playerContainer:"FU0p3D9d",isSafari:"bbTSjX9V",videoImage:"_Y74jtiN",isHavePlayer:"GXthaWjt",playerMask:"rBiSuuyL",playerWrap:"SaxKOtzt",backgroundImg:"yYix8hlJ",backgroundImgFirefox:"IPf0vSHK",imgPlaceHolder:"vJt4cfpv",isHide:"X7Rkkarp",isFirefox:"zQI3BnVp"}},901363:function(e,t,n){n.r(t),t.default={left:"eFzdpKtw",volumeContainer:"Nr6CO0Nk",bgSize:"AcRz3sGd",space:"L0Av6Wii",volumeSlider:"D3IBovzq",show:"TkXVjkg8",volumeProgress:"yFy2voEq",volumeInner:"jeCdpihM",dot:"w_AuI0bs",volumeLabel:"KQj1scHT",playRateContainer:"RtXPN8N9",playbackRate:"gJgxKZxJ",item:"HJ8t69td",active:"CJYVoEi0",backContaienr:"xFBSbCuk",bigSize:"IByqMcHq",tip:"Awx988Ze",tipArrow:"xO9VIsnx",playOrderContainer:"dmOq8wDN",right:"MAa1GFOM",noramlIcon:"UO8GRziL"}},366202:function(e,t,n){n.r(t),t.default={container:"dbsjpj91",header:"YqfgZUNX",bigSize:"Fz4ruUdc",noramlIcon:"YRZSFNEh",playerInfo:"CPoWgtPo",midSize:"wdX5gikD",desc:"Z7EcWZr7",title:"VOH55sHp",defaultImg:"cyRzY_KI",cover:"VKgOekSm",nickname:"aZSCUKUI",playerProgress:"waw8COzd",control:"bhQKjj2C"}},556307:function(e,t,n){n.r(t),t.default={customPluginRootWrap:"hxRnSrpB",bottom:"M7j9tZOw",customPluginBottomWrap:"Q2PMg_cQ",customPluginLeftWrap:"hCJiDoVf",customPluginRightWrap:"gvcmX2Lf",customPluginRightWrapMini:"gRFEkrIn",isFireFox:"S39balGv",customPluginTopWrap:"q8Frn8rj",customPluginBottomWrapNew:"OyvCbdyB",rightWrap:"DvxOVWSz"}},552713:function(e,t,n){n.r(t),t.default={controlContainer:"HWOQDR3k",timeAndVolumeContainer:"kVQGodgg",hidden:"t5J3TTow",currentTimeContainer:"BhpN6jdy",rightIconsContainer:"M8Qb9csy",pipBox:"DGvy4DEN",volumeBox:"TS7ZXL1k",mute:"T63GZPWD",newStyle:"_69hk61K4",progressWrapper:"DaXHN5PN",progress:"hu3hbCEH",changTimebtnOuter:"Wkjc_Vpb",mask:"hB3v2Rri",changTimebtnInner:"rXyt4Zm6",isTopBigCard:"rZpZfZih",discoverWatchLaterToast:"hy2aSpay",watchLaterIcon:"_IfKgcbs"}},618209:function(e,t,n){n.r(t),t.default={container:"lpDrEu4v",shopAnchor:"G1ia64ak",subContainer:"g85Ys8a8",icon:"GHuOixy7",more:"Q8Yx1ewp",desc:"E_XpBG4T",firstLine:"nreJijFE",delimiter:"ro40gmO1",secondLine:"gcPXOPY1",towLineItem:"h7dgGlxB"}},489278:function(e,t,n){n.r(t),t.default={container:"jQkpodjD",contextMenuContainer:"o6tvYzFd",isAd:"UwFSYqDa",viewAdDetail:"aVIUAL9u",divider:"fTPen1QA",innerContainer:"JAy1K0w2",adIcon:"TULiIM7H",word:"uNnH6E8P",icon:"S0H0xYht",contextMenuItem:"wb906g24",enterDetail:"kb8pfrOo",itemText:"Gq1zvxbB",itemTip:"ccZxuS3y",itemRedDotBox:"ZbK25uSz",itemRedDot:"son8hCrv",itemMarginLeft:"vvoRTjQ8"}},253408:function(e,t,n){n.r(t),t.default={item:"XzcNkQid",text:"klWVaOtl",button:"G8Siw869",close:"gPOSpKNH",down:"ZMvmE6FG"}},505302:function(e,t,n){n.r(t),t.default={tips:"ZwwfDfeB",show:"cPyGkbqZ",close:"xyQZccdI",title:"viyVCLoE",desc:"e3BpYOnW",btn:"s0HqlCmv"}},294957:function(e,t,n){n.r(t),t.default={swiperVideo:"EeONrwsK",newContainer:"iSupqhlZ",xgplayer:"OjwIiQfI",container:"vKUNLR2S",rightCenter:"fi5Kx5PP",WebMini:"rhGXhY8e",hidden:"faZvEPAT",playSwitchContainer:"VcZVqMp2",recommendTag:"Tw7AB5kv"}},604493:function(e,t,n){n.r(t),t.default={clientDownloadModal:"L_vm_Ymj",clientDownloadButton:"qWx1xJMS"}},239531:function(e,t,n){n.r(t),t.default={PaidVideoDesk:"e3zwEO3i",PaidVideoEntry:"lsF8xu2h",PaidVideoEntryTag:"m00r6amF",PaidVideoEntryTag_in:"YXfMJ5rC",PaidVideoEntryCard:"Kfs5TvgN",PaidVideoEntryCard_out:"arQWbYEs",PaidVideoEntryTag_out:"Xg6OvN2D",PaidVideoEntryCard_in:"yUQTwZRY",PaidVideoEntryCard_content:"LD4PMayr",PaidVideoEntryCard_cover:"k3AxVDil",PaidVideoEntryCard_desc:"K2MN82cM",PaidVideoEntryCard_title:"qQzryCPU",PaidVideoEntryCard_price:"mC9v9Xdx",PaidVideoEntryCard_subtitle:"_h6XW2LL",PaidVideoEntryCard_button:"CWEX5QIe",PaidVideoEntryCard_close:"uwPF2gTZ",PaidVideoEntryTag_divider:"yydxwWh4",PaidVideoEntryTag_buy:"ZYjDVQY2",PaymentNotice:"QImqY9_o",PaymentNotice_head:"BtMX_9lx",PaymentNotice_body:"KnqjgbST",PaymentNotice_title:"R0rndFXY",PaymentNotice_subtitle:"bWRtomw4",PaymentNotice_content:"omowKvn8",PaymentNotice_divider:"PoCwPuv8",qrCodeContainer:"e7_SydIf",title:"acdwF8Me",box:"Ond4WpaN",smallBtnGrayContainer:"Jj1h5mDj",refresh:"SsvCfuB3",timeoutMask:"H4E2I_RZ",timeoutBox:"ORcBUlkp",mainTitle:"CMV6HMqj",maskBox:"MVrcixMJ",mask:"l4r_g6XZ"}},741292:function(e,t,n){n.r(t),t.default={Switch:"zTjfErJF",Switch_input:"VTUprMfB",Slide:"SRhszN21",Slide_active:"c8QOOm0K",Spinner:"_XsHkh9B","-spinning":"gdxU3T0I"}},359090:function(){},757927:function(e,t,n){n.r(t)},117849:function(e,t,n){n.r(t)},226463:function(e,t,n){n.r(t)},522573:function(e,t,n){n.r(t)},712043:function(e,t,n){e.exports=n.p+"media/12_first.377f8b0c52da395b.png"},323810:function(e,t,n){e.exports=n.p+"media/1_2.ead0b18cbc52bd3c.png"},157872:function(e,t,n){e.exports=n.p+"media/1_first.5ee0480d9590ad24.png"},894327:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAACIlBMVEUAAACHINioRPuRLNWYKNrWONDeQMLVONHVN9HTOtO0KvSzKfX6R6v6R6qzK/T6RqyzKvTYOcvTN9T7R6zRNdGzKvXXOs37Rqu1KPT6SKq5J/eqHOP/QK/89/399/7z3/fVmOTy3/i8Lum4LO64LevqQbm/L+a2N9K1KvK2K/DYO8rnQLzBMOS9MeO6M+HBMeHHM93YOc3ox/G7MeXLgN3INdrePMbaPMbhPcPgP8DoQbrtQrb2Ra+zKfS6MOfEZt7CNdnWOM/bO8nkP730RLHpx/DEaNzLNNrMNde7UNbSN9S0N9TaOsrdO8jjPsHwQ7S6Le29L+fEMuC8NN7QNdbPN9TFOdHUN9HTO8vbPcPfPcLlPsDyQ7P5RqzapOe7MuPCM966NN3FNtjONdjSOc/WOszgPMXNgODGMuC/M9/JM9zFNNuzM9rDaNnUOs7WPMjjP7/nP77vQrX36/q/MePEMeLGaNrKNdnCN9a3Q9W4N9TQONC6Oc7sQbnox/Dfr+vQjOG9Nti1Nde9UdO6ONLLOdDQOs3fsOu3Ndm2Nta1NtW5UNO1OM+/L+jUN9LBOc+yOM+/OsvIOsrpQLz46/vu0/TLgN/EONS9ONCwOczDOsrXPMfHPMXkvO68LevUmOTGdNzFaNm/XNfDUNTCUdHOOdDLPcXVmOXHdNzHNtbFXdS8RNK/ONK8RM++Rc7OO8m4K/DVmOPQi+K/W9rMONHFR8rBoBiHAAAAHXRSTlMAAgMFBt8h0GAR4N/f38/PwMC/v4GAgH9gYCESEFSSNFcAAAUFSURBVEjHnZb5VxJRGIYbzPZ932bADQtUXBDUylIjUdQMBIQMJVDRQnErWRRzT8011/Z93+v/6713LopHf+o9B2bO8Dx838yduXO3/H84jsMnktXD7CA2GwREIomJiZFIJEwWjyHMWcuZ44dvXrhw5UpNTXv7+Z6enqS5ubm2trYbFTk5DRpNeWFhWdn2HVHCtr03CV9z7RrwpKSkPKUSdAQvB56RkVEQu221yB6RBw4YtLKoCHhFTkMD/XcFwQsKrLE7mXCS8QQH6/P5KnIjzSgUivr6+gLCT04eYSX2M57gvlzEjtg0Wi3FWxC31WqdLC09JAocCoh8Ue67v5/UKzabloTQ1YDd7qAlGCxFqliFNT73WwfPe1tbH7ci1dXVw8Pu4NDU18anS2azucpcxc4B11Pk7bZ3Mp7XrQAFPLsyNfNtoNGh43le9gdClUsUOBRo78l71ydDHORXmoFP81LUE9PxGbjLxc6BNqR8IuXX5eXd1V2d7OWSXu9yFUuYgAHIK9pU0IUd6leflxb1SHFxRKhpRwHfE9JSWEb7Il/jEKQTX7pvIfdIioubY2hPHCmgzLVpQ326jpDFYlkKS8Pji4tEGASPZNM0RwTxEtkez+hwTSFMoLmB7m5RuIzchgE+vXmrhLbU3oOOIHz38vzIlGXxFc/3DopCADgEknSECeeT5op89icrM8sdfMd0aCLM8+qJ5GQiTCfTBAKB++kej2erhLaEAujoDb8+z6/yvCBdTbLR6DFGhDylz76ZIETFUGc0djEBBXx27RspDRlWutN3VVgnqFRdosBxc8obFXbt7MxMKBSa0OEExMYhxI2XlCyImwcqVUoKu6x5bTdyNdrW6uEhi2Wwl+cX7tMQYczkpJumJsKnsJaUbRV2jfb71wFkHMKvEpIAIR84TXTT1ImkyFmFNnRkezw7wq8FkIGSJir0p6amdnbK5RIicBByGrStGwSvIGSiwiXiQZAj4nTGYT7RaBWzP3VIbweGKxMJG15A6DdRob82VZ4lf/gQOBVycmyFrcNToeWJweleQVgwTC8bxkb7BGFk1JTGhKzr1+Pj2QOECahcUT/8dsrhUPshqNWZcQbnqEMQnjvTRCGL8vGsAjoqVOCihtD8ciYEoF5nP/Y+pEWE6/ngn7FZGAUKFS3BIS/u0ulMXmjEhXk6angkCL+ZcCc/H0JlJavQoEFH7reWMBlk/G+jQSo88r8ShEeGiACcCKwCChDhNToqoQJpf8FByqSl1bIKiYmJlQmsgqa8LKPePdSHZz5ABSeGQBaHk0mrrWVCIpLwgwmYz+tbgq9xozZeDhDBZHg/rhbQFvgsKhA84dy5LUzA/E8LSP13vXFEcDr92I44a7Oy8pmQECUUlmW0uIdej/DqEl5ArjY1NY3NC0JJauqaAP7sWSaU4X1hDZq/eAcHpTDmx+pg+Offm9YE4OAh0DBB//Fj9wuZ7EOgrq5OpVL5xyif71erX4jCxYuswkG8kKylZrP+XjaZU+pEoRP3J70f0A7Bwe9jFY6hwGSpWQ8hOxsTEB53I4QUxosC+IsnWIWdsVYrXi96V/G95uZ0BPMDHkhRwHjR84Wwm9vCjG2xkxBcLszPEDweY1cXcLn8YfyzyspVftepqDXAju14YegZ7yF8CngIIg/8wNHT3IZlw1YxdPnAEoPgS7JxrcHRAOHWVhr4jsrm6xlCRR/CZz36D5QP6vkihJ81AAAAAElFTkSuQmCC"},214719:function(e,t,n){e.exports=n.p+"media/get_app_help_dark.300941807315f319.png"},911168:function(e,t,n){e.exports=n.p+"media/get_app_help_fold_dark.bad2f3d904cf9658.png"},462089:function(e,t,n){e.exports=n.p+"media/get_app_help_fold_dark_hover.c39fe18154cdc647.png"},987686:function(e,t,n){e.exports=n.p+"media/jxBtnBg.a2aa328d897842c3.png"},229456:function(e,t,n){e.exports=n.p+"media/jxBtnHoverLightBgV2.5d16c5d05d0705db.png"},662248:function(e,t,n){n.d(t,{Sr:function(){return s},jS:function(){return i},uz:function(){return c},wx:function(){return o}}),n(14275),n(759943);var r=n(995898);let o=/(^\/user)/,i=/(^\/user)|(^\/series)|(^\/vschannel)|(^\/vs$)/,a=/^\/(note|user)(?:\/|$)/,s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return a.test(e)||(0,r.yk)(e)},l=/^\/(creatorvideo|chat|light|lynx)/i,c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l.test(e)}},777225:function(e,t,n){n.d(t,{V:function(){return s}});var r=n(320165);n(101199);var o=n(469935),i=n.n(o),a=n(639005);let s=()=>(0,r.jsxs)("div",{className:a.default.articleDetailSkeleton,children:[(0,r.jsxs)("div",{className:a.default.leftContainer,children:[(0,r.jsxs)("div",{className:a.default.videoDesc,children:[(0,r.jsx)("div",{className:a.default.desc}),(0,r.jsx)("div",{className:a.default.time})]}),(0,r.jsxs)("div",{className:a.default.content,children:[(0,r.jsx)("div",{className:a.default.imagePlaceholder}),(0,r.jsxs)("div",{className:a.default.textGroup,children:[(0,r.jsx)("div",{className:a.default.line}),(0,r.jsx)("div",{className:a.default.line}),(0,r.jsx)("div",{className:a.default.line}),(0,r.jsx)("div",{className:a.default.lineShort})]}),(0,r.jsxs)("div",{className:a.default.textGroup,children:[(0,r.jsx)("div",{className:a.default.line}),(0,r.jsx)("div",{className:a.default.line}),(0,r.jsx)("div",{className:a.default.lineShort})]})]})]}),(0,r.jsxs)("div",{className:a.default.rightContainer,children:[(0,r.jsxs)("div",{className:a.default.headerInfo,children:[(0,r.jsx)("div",{className:a.default.avatar}),(0,r.jsxs)("div",{className:a.default.userInfo,children:[(0,r.jsx)("div",{className:a.default.nickname}),(0,r.jsx)("div",{className:a.default.extra})]})]}),(0,r.jsxs)("div",{className:a.default.videoList,children:[(0,r.jsx)("div",{className:a.default.title}),(0,r.jsx)("div",{children:Array(6).fill(0).map((e,t)=>(0,r.jsxs)("div",{className:a.default.listItem,children:[(0,r.jsx)("div",{className:a.default.cover}),(0,r.jsxs)("div",{className:a.default.desc,children:[(0,r.jsx)("div",{className:i()(a.default.rect,a.default.rect1)}),(0,r.jsx)("div",{className:i()(a.default.rect,a.default.rect2)}),(0,r.jsx)("div",{className:i()(a.default.rect,a.default.rect3)})]})]},t))})]})]})]})},943383:function(e,t,n){n.d(t,{b:function(){return f}});var r=n(629686),o=n(811603),i=n(320165);n(101199);var a=n(469935),s=n.n(a),l=n(983218),c=n(450642);function u(){return(0,i.jsx)("div",{className:s()(c.default.loadingV2,"HideInLynxClassName"),children:(0,i.jsx)("img",{className:c.default["step-img"],src:"https://p-pc-weboff.byteimg.com/tos-cn-i-9r5gewecjs/a795fb49bcbcf8cb1c762a69d57aee48.png"})})}function d(e){let{className:t,text:n,textClassName:r,style:o}=e;return(0,i.jsxs)("div",{className:s()(c.default.container,t,"HideInLynxClassName"),style:o,children:[(0,i.jsx)(u,{}),n&&(0,i.jsx)("div",{className:s()(c.default.text,r),children:n})]})}function f(e){let{usePerfLoading:t}=e,n=(0,o._)(e,["usePerfLoading"]);return t?(0,i.jsx)(d,(0,r._)({},n)):(0,i.jsx)(l.gb,(0,r._)({},n))}},407135:function(e,t,n){n.d(t,{Z:function(){return X}});var r=n("629686");n("706056"),n("490629"),n("112459"),n("759943");var o=n("320165"),i=n("469935"),a=n.n(i),s=n("101199"),l=n("339808"),c=n("345991"),u=n("816759"),d=n("690301"),f=n("426038"),p=n("528937"),_=n("785701"),g=n("13866"),h=n("869064");n("679308");var v=n("524053");let m=()=>Promise.all([n.e("1376"),n.e("40529"),n.e("54082"),n.e("92809")]).then(n.bind(n,611027)),y=(0,s.forwardRef)(function(e,t){return(0,o.jsx)(v.o,(0,r._)({innerRef:t,id:"island_c9551",load:m},e))});var E=n("889429"),w=n("8013"),T=n("795653"),O=n("391302"),b=n("742869"),S=n("253028"),D=n("675403"),P=n("752374"),R=n("771812"),M=n("958747"),I=n("452154"),C=n("422824"),A=n("377381"),x=n("931334"),N=n("863964"),L=n("636608"),k=n("700182"),F=n("694682"),j=n("327725"),U=n("973592"),H=n("843084"),W=n("296589");let B=e=>{let{isHorizontalLayout:t,isMobileSite:n=!1}=e,r=2;return n?r=3:t&&(r=1),r};function Q(e){let{isDark:t,isHorizontalLayout:n,specTheme:i,isClient:l,currentPath:f,nowPathName:p,osClass:_,isSearchPage:g=!1,abtest:h,isMobileSite:v,isiPad:m,isMobile:y,children:w,tccConfig:T,isOverSea:O,isMainland:P}=e,R=p.includes("/lvdetail")||c.k6.includes(p),{currBg:M,currBgThin:x}=(0,b.Z)(i||{},t),{isShow:N,isLeftBottom:L}=(0,u.T)({canShow:!R,pathname:p,initSpecTheme:i,isClient:l}),{activityStore:F}=(0,C.A)(e=>{let{activityStore:t}=e;return{activityStore:t}}),j=(0,I.V1)(),{isDark:H}=(0,U.C)({tccConfig:T,defaultIsDark:t}),{targetResource:W}=(0,D.II)(e=>{let{targetResource:t}=e;return{targetResource:t}}),{stuff_detail:B}=W||{},{theme:Q}=B||{},X=(0,s.useMemo)(()=>Q&&!(null==Q?void 0:Q.is_support_light_theme)||H?(null==Q?void 0:Q.background_image)?{"--global-bg-img":`url(${Q.background_image})`,"--global-bg-img-thin":`url(${Q.background_image})`}:{}:(null==Q?void 0:Q.is_support_light_theme)&&(null==Q?void 0:Q.background_image_light)?{"--global-bg-img":`url(${Q.background_image_light})`,"--global-bg-img-thin":`url(${Q.background_image_light})`}:{},[Q,H]),G=(0,s.useMemo)(()=>g?{}:(0,r._)({flexDirection:n?"row":"column"},M?{"--global-bg-img":`url(${M})`,"--global-bg-img-thin":`url(${x})`}:{},X),[g,n,M,x,X]),{splashAdStatus:V}=(0,A.K)(e=>{let{splashAdStatus:t}=e;return{splashAdStatus:t}}),Y=(0,s.useMemo)(()=>{if(g){let e=(0,S.N)(p),t=n&&!e;return a()({[k.Z.container]:!0,"header-ui":!0,isoversea:O,"is-mobile-pc":(m||y)&&!v,"search-horizontal-new-layout":t,"search-no-horizontal-new-layout":!t,"search-waterfall-layout-opt-0625":j})}return a()(_,{topicPageBackground:!!(null==Q?void 0:Q.background_image),"header-ui":!0,isoversea:O,"is-mobile-pc":(m||y)&&!v,[k.Z.container]:!0,[k.Z.splashAdFullscreen]:V===d.QB.Fullscreen,isSafari:(0,E.G6)(),isQQ:(0,E.GP)()})},[g,n,_,p,l,V,Q]);return(0,o.jsxs)("div",{className:Y,style:G,id:a()({dark:t}),children:[!g&&N&&(0,o.jsx)("div",{className:a()(k.Z.globalBackground,{[k.Z.leftBottomBkg]:L})}),g&&(null==F?void 0:F.isActivity)&&!(null==F?void 0:F.isActivityHidden)&&(0,o.jsx)("div",{style:{background:F.activityBackgroundGradient},className:k.Z.background,children:F.activityBackgroundImage&&(0,o.jsx)("img",{src:F.activityBackgroundImage,className:k.Z.activityImage})}),w]})}var X=s.memo(function(e){let{nowPathName:t,abtest:n,isClient:r,isiPad:i,isMobile:a,osInfo:c,redirectFrom:u,userInfo:v,landingPage:m,tccConfig:b,headerLoginPopupStatus:S,children:D,isSpider:I,lazyLoadConfig:C,isShowNavigator:k,isDark:U,isShowHeader:X,adminConfig:G,isMobileSite:V,specTheme:Y,isSearchPage:K,ua:Z,isOverSea:z,isMainland:q}=e,{currentPath:$}=(0,H.R)({landingPage:m,nowPathName:t,abtest:n}),[J,ee]=(0,s.useState)(void 0),{isVs:et}=(0,W.W)({currentPath:$,nowPathName:t}),en=(0,s.useMemo)(()=>et?{}:Y,[et,Y]),{isHorizontalLayout:er}=(0,h.o)(r,I,{isMobileSite:V});(0,s.useEffect)(()=>{(0,w.pC)(f.SessionStorageKeys.manualSwitch);let{os:e}=(0,T.fV)()||{};e&&ee(`${e.toLocaleLowerCase()}-os`)},[]);let eo=B({isHorizontalLayout:er,isMobileSite:V,isSearchPage:K}),ei=(0,g.L)(p.SERVICE_NAME.HOME,t,null==b?void 0:b.pageGrayscale),{dispatch:ea}=(0,x.useUserContext)(),{splashAdStatus:es,isSplashTransitionEnd:el}=(0,A.K)(e=>{let{splashAdStatus:t,isSplashTransitionEnd:n}=e;return{splashAdStatus:t,isSplashTransitionEnd:n}});(0,P._)({abTestData:n,openSearchResult:M.v2,userDispatch:e=>{ea(e),(0,_.a)()},destroyAccount:_.a,userInfo:v,splashAdStatus:es===d.QB.Fullscreen&&!el&&!(0,E.b_)()}),(0,R.Z)({abTestData:n});let{search:ec}=(0,l.a)();return(0,O.kB)(ec)?(0,o.jsx)(Q,{isSearchPage:K,isDark:U,isHorizontalLayout:er,specTheme:Y,currentPath:$,nowPathName:t,abtest:n,osClass:J,isiPad:i,isMobile:a,isMobileSite:V,isClient:r,isOverSea:z,tccConfig:b,children:(0,o.jsx)(j.H,{userInfo:v,children:D})}):(0,o.jsxs)(Q,{isSearchPage:K,isDark:U,isHorizontalLayout:er,specTheme:Y,currentPath:$,nowPathName:t,abtest:n,osClass:J,isiPad:i,isMobile:a,isMobileSite:V,isClient:r,isOverSea:z,tccConfig:b,children:[1===eo?(0,o.jsx)(L.Z,{nowPathName:t,abtest:n,isClient:r,isiPad:i,isMobile:a,osInfo:c,userInfo:v,userDispatch:ea,currentPath:$,tccConfig:b,landingPage:m,redirectFrom:u,isNavFixed:!0,headerLoginPopupStatus:S,needGrayscale:ei,lazyLoadConfig:C,isSpider:I,isShowNavigator:k,isDark:U,isShowHeader:X,adminConfig:G,isOverSea:z,isMainland:q,isSearchPage:K,specTheme:en,ua:Z,children:(0,o.jsx)(F.d,{children:D})}):null,2===eo?(0,o.jsx)(N.Z,{currentPath:$,nowPathName:t,abtest:n,isClient:r,osInfo:c,userInfo:v,headerLoginPopupStatus:S,needGrayscale:null==ei?void 0:ei.header,specTheme:en,tccConfig:b,isOverSea:z,isMobile:a,isMainland:q,isSearchPage:K,ua:Z,isiPad:i,islandMode:"visible",children:(0,o.jsx)(F.d,{children:D})}):null,3===eo?(0,o.jsx)(y,{islandMode:"visible",userInfo:v,tccConfig:b,onChangeLoginStatus:()=>{window.location.reload()},abTestData:n,customProps:{pathname:t,isClient:r,os:c},children:(0,o.jsx)(F.d,{children:D})}):null]})})},808590:function(e,t,n){n.d(t,{c:function(){return o}}),n(490629);var r=n(101199);let o=()=>{let[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1);return{fullScreenQuestionVars:(0,r.useMemo)(()=>({needShowQuestion:e,setNeedShowQuestion:t,isShowingQuestion:n,setIsShowingQuestion:o}),[e,n])}}},414035:function(e,t,n){n.d(t,{A:function(){return a}});var r=n(557839),o=n(618759),i=n(103680);let a=e=>{let{globalwid:t}=e;(0,r.O)(!0,()=>{t&&(0,o.DT)()&&i.invoke("setClientMMKV",{key:"Globalwid",value:t})})}},411348:function(e,t,n){n.d(t,{Q:function(){return y}});var r=n(629686);n(679308),n(968336),n(490629),n(117232);var o=n(101199),i=n(897471),a=n.n(i),s=n(328981),l=n(788641),c=n(557839),u=n(499059),d=n(414061),f=n(857800),p=n(806904),_=n(751866),g=n(278922);async function h(){try{var e,t,r,o;let{default:i}=await Promise.resolve().then(n.bind(n,74964)),{VodLoggerPlugin:a}=await Promise.resolve().then(n.bind(n,13954)),l=await s.h.getAllVars({timeOutDuration:5e3}),c=null===(r=Object.keys(l))||void 0===r?void 0:null===(t=r.map)||void 0===t?void 0:null===(e=t.call(r,e=>{var t;return null==l?void 0:null===(t=l[e])||void 0===t?void 0:t.vid}))||void 0===e?void 0:e.filter(e=>e.startsWith("1")),u=Array.from(new Set(c)),d=null==u?void 0:null===(o=u.sort)||void 0===o?void 0:o.call(u,(e,t)=>t-e),f=null==d?void 0:d.join(",");i.setABSdkVersion(f),a.ABSdkVersion=f}catch(e){}}async function v(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=await (0,l.l$)(a()([...l.Kl,...l.Y6,..._.f],e=>e.key)),i=(await (0,s.d)()).filter(e=>!e.startsWith("90"));u.Le.setConfig(u.gI.AbtestVids,i.join(",")),!t&&(0,o.startTransition)(()=>{e(e=>{let t=(0,r._)({},e,n);return t&&(t.__isLoaded=!0),u.Le.setConfig(u.gI.AbtestData,t),d.emit(d.EVENT.abTestDataChange,t),t})})}async function m(e){let t=a()([...l.Kl,...l.Y6,..._.f],e=>e.key),n=await s.h.getAllVars({timeOutDuration:1e4,defaultValue:{}}),i=(0,l.Xt)(t,n);(0,o.startTransition)(()=>{e(e=>{let t=(0,r._)({},e,i);return t&&(t.__isLoaded=!0),u.Le.setConfig(u.gI.AbtestData,t),d.emit(d.EVENT.abTestDataChange,t),t})})}function y(e){let{abTestData:t,isSpider:n}=e,r=(0,g.ps)(e=>e.setState),i=(0,o.useRef)(!0),[a,s]=(0,o.useState)(()=>(u.Le.setConfig(u.gI.AbtestData,t),r({abTestData:t},i.current),t));return(0,o.useEffect)(()=>{if((0,f.B)()){m(s);let e=()=>{"hidden"!==document.visibilityState&&(document.removeEventListener("visibilitychange",e),v(s,n))};return document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}}v(s,n)},[]),(0,o.useEffect)(()=>{r({abTestData:a})},[a]),(0,c.O)(!0,()=>{(0,p.l)(()=>{h()})}),window.abTestData=a,i.current=!1,{abtest:a}}},776610:function(e,t,n){n.d(t,{n:function(){return c}});var r=n(101199),o=n(339808),i=n(414061),a=n(499059),s=n(995898),l=n(596678);let c=()=>{let{pathname:e}=(0,o.a)();(0,r.useEffect)(()=>()=>{i.setCurrentPageScope(i.getPageScope()),a.Le.getConfig(a.gI.NeedExitFullScreenAndModal)&&!(0,s.Nr)(e)&&(a.Le.setConfig(a.gI.NeedExitFullScreenAndModal,!1),(0,l._)())},[e])}},296589:function(e,t,n){n.d(t,{K:function(){return u},W:function(){return c}}),n(706056),n(121926),n(683656),n(759943),n(968336),n(490629);var r=n(101199),o=n(499059),i=n(414061),a=n(942006),s=n(43972),l=n(660905);function c(e){let{currentPath:t,nowPathName:n}=e;return(0,r.useMemo)(()=>{var e;let r="vs"===t||"/vs"===n,o=a.xH.includes(t)||a.xH.includes(null==n?void 0:null===(e=n.slice(1))||void 0===e?void 0:e.replaceAll("/","_")),i=r||n.startsWith("/vs/"),s=o||a.rS.some(e=>n.startsWith(e));return{isVsTabRoot:r,isVsChannelRoot:o,isVsTab:i,isVsChannel:s,isVs:i||s}},[t,n])}function u(e){let{currentPath:t,nowPathName:n}=e,{isVsTab:a,isVsChannel:u,isVs:d,isVsTabRoot:f,isVsChannelRoot:p}=c({currentPath:t,nowPathName:n}),{y:_}=(0,s.w)({disabled:!d}),[g,h]=(0,r.useState)(()=>{let{isReady:e=!0}=o.Le.getConfig(o.gI.VsBanner)||{};return e}),[v,m]=(0,r.useState)(()=>document.documentElement.classList.contains(l.xe));(0,r.useEffect)(()=>{let e=document.documentElement,t=()=>m(e.classList.contains(l.xe));t();let n=new MutationObserver(t);return n.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>n.disconnect()},[]);let y=(0,r.useMemo)(()=>_<60&&g&&!v,[g,_,v]),E=(0,r.useMemo)(()=>_<60&&g&&!v,[g,_,v]),w=a?y:E,T=p||f;(0,r.useEffect)(()=>{if(!d)return;let e=i.listen(i.EVENT.vsBannerReady,e=>{h(e)});return()=>null==e?void 0:e()},[d]);let O=(0,r.useMemo)(()=>d?{isVsTab:(d||!1)&&T,isVsTabTrans:(w||!1)&&T}:{},[d,w,T]);return{isVsRoot:T,isVsTab:a,isVsChannel:u,isVs:d,isVsTabTrans:w,vsHeaderParams:O}}},447928:function(e,t,n){n.d(t,{Z:function(){return c}}),n(414931);var r=n(101199),o=n(265950),i=n(987826),a=n(452782),s=n(335924),l=n(810069);function c(e){let{isMainland:t=!0,userCtx:n,notInit:c,abTestData:u}=e,{userInfo:d}=n,f=(0,r.useRef)(null);(0,r.useEffect)(()=>{try{var e,n,r;if(c)return;let p=(0,s.Rs)("modeFrom")===o.MODE_FROM?o.MODE_FROM:"",_=(null===(e=(0,l.Es)())||void 0===e?void 0:e.user_unique_id)||"",g="";(null==d?void 0:d.isLogin)&&(null==d?void 0:d.info)&&(_=d.info.uid,g=d.info.nickname||"");let h={isMainland:t,appKey:i.FEELGOOD_APP_KEY,channel:"cn",userInfo:{user_id:_,user_name:g,style_type:"2",mode_from:p,newUserAuthorCard:0,awemeSortWebrecHmpgV3:"1",newUserSurvey20240729:null==u?void 0:null===(r=u.newUserSurvey20240729)||void 0===r?void 0:null===(n=r.toString)||void 0===n?void 0:n.call(r)}};!f.current&&(f.current=setTimeout(()=>{clearTimeout(f.current),(0,a.V)(h)},3e4)),(null==d?void 0:d.isLogin)!==void 0&&(clearTimeout(f.current),(0,a.V)(h))}catch(e){}},[d])}},931334:function(e,t,n){n.r(t),n.d(t,{Context:function(){return o},effect:function(){return a},initialData:function(){return s},reducer:function(){return i},useUserContext:function(){return l}});var r=n(581999);let{Context:o,reducer:i,effect:a,initialData:s}=r,l=()=>(0,r.useUserInfoContext)()||{}},942006:function(e,t,n){n.d(t,{$6:function(){return c},QV:function(){return u},ej:function(){return o},jg:function(){return l},rS:function(){return s},xH:function(){return a}});var r=n(263832);let o={recommend:0,vs:1,tv:2,movie:3,anime:4,documentary:6};o.vs,o.tv,o.movie,o.documentary;let i="vschannel",a=Object.keys(o).map(e=>`${i}_${e}`),s=Object.keys(o).map(e=>`/${i}/${e}`),l={recommend:{title:"热门推荐",href:"",tags:[],name:"recommend",logName:"hot"},vs:{title:"综艺",href:`/${i}/vs`,tags:["自制综艺热播中"],name:"vs",logName:"show"},tv:{title:"电视剧",href:`/${i}/tv`,tags:["经典剧集随心看"],name:"tv",logName:"tv"},movie:{title:"电影",href:`/${i}/movie`,tags:["免费大片看不停"],name:"movie",logName:"movie"},documentary:{title:"纪录片",href:`/${i}/documentary`,tags:["记录世间万象"],name:"documentary",logName:"documentation"},anime:{title:"动画",href:`/${i}/anime`,tags:["乐享精彩番剧"],name:"anime",logName:"anime"}},c=[l.vs,l.tv,l.movie,l.documentary,l.anime],u={0:r.VZ.All,1:r.VZ.Vs,2:r.VZ.TvShow,3:r.VZ.Movie,4:r.VZ.Cartoon,6:r.VZ.Documentary}},448275:function(e,t,n){var r=n(320165);n(101199);var o=n(630641),i=n(958396);t.Z=()=>((0,i.d)(),(0,r.jsx)(o.y,{}))},689354:function(e,t,n){n.d(t,{p:function(){return v}});var r=n(629686),o=n(402748);n(362051),n(490629);var i=n(320165),a=n(101199),s=n(397176),l=n(958396),c=n(285406),u=n.n(c),d=n(72137),f=n.n(d),p=n(502615),_=n(614395),g=n(858651),h=n(444326);let v=e=>{let t=(0,g.useGetAllAbTestData)(),{playerAction:n,finalBaseConfig:c,pluginsConfigInternal:d,baseConfig:v}=e,m="";s.s&&(m=(0,l.d)().nonce);let{inlinePlayerScript:y,loadDeferredScript:E}=a.useMemo(()=>{let r=null,o=(0,i.jsx)("script",{nonce:m,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:s.s?"__pace_load_deferred_scripts()":""}}),{inlinePlayer:a,isDoubleScreen:l,anchorInfo:p,roomInfo:_,meta:g}=n||{};if(!a)return{inlinePlayerScript:r,loadDeferredScript:o};let v={playerConfig:{baseConfig:c,pluginsConfig:d,meta:g,isDoubleScreen:l},basicPlayerProps:u()(e,"children")};return a&&(0,h.uR)(d)&&(r=(0,i.jsx)("script",{nonce:m,suppressHydrationWarning:!0,"data-config":s.s?JSON.stringify(v):"","data-is-double-screen":JSON.stringify(l),"data-anchor-info":JSON.stringify(p),"data-room-info":JSON.stringify(_),"data-ab":JSON.stringify(f()(t,["livePlayerDegrade","liveLoadStrategyConfig"])),dangerouslySetInnerHTML:{__html:s.s?"__inline_player__.createInlinePlayer(document.currentScript)":""}}),o=null),{inlinePlayerScript:r,loadDeferredScript:o}},[]),[w,T]=(0,a.useState)(!(null==n?void 0:n.inlinePlayer)),{refEl:O}=(0,a.useContext)(p.ET),b=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{var t;if(!O||b.current)return;b.current=!0;let{ret:i,used:a}=null!==(t=window.__inline_player__)&&void 0!==t?t:{},s=!!((null==n?void 0:n.inlinePlayer)&&i&&!a);s&&(window.__inline_player__.used=!0,(0,_.FJ)(i.player,{current:O}),(0,_.kR)(i.player),(0,_.ht)(i.player),(0,_.Gn)(s,i.player,(0,o._)((0,r._)({},e),{onLoadStart:t=>{var n;null===(n=e.onLoadStart)||void 0===n||n.call(e,t)},onLoadedData:t=>{var n;null==e||null===(n=e.onLoadedData)||void 0===n||n.call(e,t)}})),T(!0))},[O]),(0,a.useEffect)(()=>{if(!w){let e=setTimeout(()=>{T(!0)},3e3);return()=>{clearTimeout(e)}}},[w]),(0,a.useEffect)(()=>{!(null==n?void 0:n.inlinePlayer)&&T(!0)},[n]),(0,i.jsxs)(i.Fragment,{children:[y,E,w?e.children:null]})}},612151:function(e,t,n){n.d(t,{oM:function(){return p},tT:function(){return _}});var r=n(629686),o=n(402748);n(414931),n(656562),n(992871),n(490629);var i=n(772227),a=n(499059),s=n(156961),l=n(744448),c=n(28336),u=n(719981);function d(e){return e.toString().padStart(2,"0")}let f=()=>{let e=new Date;return`${Math.random().toString().slice(-3)}-${e.getFullYear()}${d(e.getMonth()+1)}${d(e.getDate())}${d(e.getHours())}${d(e.getMinutes())}${d(e.getSeconds())}${e.getMilliseconds()}${Math.random().toString().slice(-7)}${Math.random().toString(16).toUpperCase().slice(-10)}`},p=(e,t)=>{if(!e)return e;try{let n=new URL(e);return n.searchParams.set("_session_id",function(e){let t=e||f();return`${t}.${Date.now()}.${Math.random().toString().slice(-5)}`}(t)),n.searchParams.set("rsi",t?"1":"0"),n.searchParams.set("abr_pts","-800"),n.href}catch(t){return e}},_=e=>{var t,n,d,f,p,_;let{logOptions:g,secretKey:h,isPaidLive:v,bitrate:m,baseConfig:y,scene:E}=e,{keepalivetime:w=0}=(0,i.D)(y.url),T=9999;h&&v&&0!==Number(w)&&(T=Number(w)-Math.floor(Date.now()/1e3));let{device_id:O,user_id:b,ext:S={}}=null!=g?g:{};return(0,o._)((0,r._)({},g),{aid:s.xo.aid,project_key:s.xo.project_key,app_name:s.xo.app_name,user_unique_id:O,device_id:O,user_id:b,ext:(0,r._)({isSupportedH265:(0,l.iz)()?1:0,isSupportedH266:(0,l.ue)()?1:0,isSupportedAvx2:(0,l.ws)()?1:0,cache_nosupport265:(0,l.$I)(),arch:"object"==typeof window&&null!==(d=null===(n=window)||void 0===n?void 0:null===(t=n.TTE_ENV)||void 0===t?void 0:t.arch)&&void 0!==d?d:"",scm_version:"object"==typeof window&&null!==(f=window.version)&&void 0!==f?f:"unknown",tce_cluster:"object"==typeof window&&null!==(p=window.tce_cluster)&&void 0!==p?p:"unknown",mediaType:"video",aes_flv_stream:h&&v?1:0,aes_flv_keepAliveTime:h&&v?T:0,abvids:null!==(_=a.Le.getConfig(a.gI.AbtestVids))&&void 0!==_?_:"",bitrate:m,biz_player_scene:E},S),onReport:c.X,isDisableReport:u.vw})}},119420:function(e,t,n){n.d(t,{LF:function(){return c},Pk:function(){return u},gt:function(){return f},jj:function(){return d}}),n(490629);var r=n(320165),o=n(101199),i=n(279198),a=n(502615);let{Context:s,useCtxSelector:l}=(0,i.q)({player:void 0,playerLogger:void 0,setPlayerLogger:()=>{},setPlayer:()=>{}},!1),c=e=>{let{children:t}=e,[n,i]=(0,o.useState)(),[a,l]=(0,o.useState)();return(0,r.jsx)(s.Provider,{value:{player:n,playerLogger:a,setPlayer:i,setPlayerLogger:l},children:t})},u=()=>{let e=l(e=>e.setPlayer),t=l(e=>e.setPlayerLogger),{loggerRef:n,playerRef:r}=(0,o.useContext)(a.ET);return(0,o.useEffect)(()=>(e(r.current),t(n.current),()=>{e(void 0),t(void 0)}),[n.current,r.current]),null},d=()=>l(e=>e.player),f=()=>l(e=>e.playerLogger)},988684:function(e,t,n){var r=n(320165),o=n(414061),i=n(198412),a=n.n(i),s=n(101199),l=n(865526),c=n(126378);t.Z=e=>{let{roomInfo:t,paidLiveData:n,player:i}=e,u=a()(t,"room.id_str"),d=a()(t,"anchor.id_str"),f=a()(n,"max_duration")||c.N,p=(0,s.useRef)(!1);(0,l.Z)({maxDuration:f,anchorId:d,roomId:u,initDuration:0});let _=()=>{p.current&&(o.emit(o.EVENT.VipLiveFreePreviewRecoverPlay),p.current=!1)},g=()=>{p.current=!0,o.emit(o.EVENT.VipLiveFreePreviewPause)};return(0,s.useEffect)(()=>(null==i||i.on("play",_),null==i||i.on("pause",g),()=>{null==i||i.off("play",_),null==i||i.off("pause",g)}),[]),(0,r.jsx)(r.Fragment,{})}},656671:function(e,t,n){n.d(t,{$F:function(){return g},AW:function(){return w},BS:function(){return i},Hy:function(){return T},St:function(){return r},Tj:function(){return m},ZP:function(){return c},_W:function(){return u},_q:function(){return E},dq:function(){return _},iR:function(){return b},kQ:function(){return o},ms:function(){return s},nN:function(){return v},nl:function(){return y},o0:function(){return a},pz:function(){return d},qn:function(){return f},sF:function(){return h},vi:function(){return p},vp:function(){return O},xZ:function(){return l}});let r={recharge:"live_detail_click",balance:"gift_balance"};var o={BAR:9999,9999:"BAR",GIFT:1,1:"GIFT",FANS:2,2:"FANS",LEVEL:3,3:"LEVEL",PROP:5,5:"PROP",VIP:6,6:"VIP",ACTION_1:15,15:"ACTION_1",OLD_CARATED:16,16:"OLD_CARATED",CURATED:24,24:"CURATED",ACTION_2:22,22:"ACTION_2",ACTIVITY_1:21,21:"ACTIVITY_1",ACTIVITY_2:23,23:"ACTIVITY_2",MORE:99,99:"MORE",SEARCH:1e4,1e4:"SEARCH"};let i={1:"normal_gift",2:"fans_club",3:"level",5:"prop",15:"action",22:"action",21:"activity",23:"activity",24:"wanxiang",16:"wanxiang",1e4:"search"};var a={CHEAP:1,1:"CHEAP",EXPENSIVE:2,2:"EXPENSIVE",FACE:4,4:"FACE",FREE:5,5:"FREE",FANS_GIFT:8,8:"FANS_GIFT",INTERACT_GIFT:13,13:"INTERACT_GIFT",FLY_LINKMIC:15,15:"FLY_LINKMIC"},s={NORMAL:0,0:"NORMAL",NAMING:1,1:"NAMING",HONOR:2,2:"HONOR",FIRST:3,3:"FIRST"},l={MP4:4,4:"MP4"},c={WEBCAST_GIFT_MESSAGE:"WebcastGiftMessage",WEBCAST_BINDING_GIFT_MESSAGE:"WebcastBindingGiftMessage",WEBCAST_ASSET_EFFECT_UTIL_MESSAGE:"WebcastAssetEffectUtilMessage"},u={GIFT_BAR:"gift_bar",GIFT_PANEL:"gift_panel",GIFT_BAR_MINI:"gift_bar_mini",GIFT_WALL:"gift_wall",GIFT_FANS_CLUB:"fansClub",GIFT_RED_PACKET:"red_redpackage",GIFT_BAG:"bag",GIFT_GUIDE:"gift_guide",GIFT_WISH_LIST:"wish_list",GIFT_MENU:"gift_menu"},d={ON:"turn_on",OFF:"turn_off"},f={CHAT:1,1:"CHAT",TRAY:2,2:"TRAY",EFFECT:4,4:"EFFECT"},p={TO_AUDIENCE:"webcast_aweme_tray_message_to_Audience",TO_OTHER_ANCHOR:"webcast_aweme_tray_message_to_other_anchor"},_={NORMAL:1,1:"NORMAL",VS_LIVE:16,16:"VS_LIVE",VS_FIRST:32,32:"VS_FIRST",VS_RECORD:64,64:"VS_RECORD",MULTI_SEND:512,512:"MULTI_SEND"};let g={1:16,2:32,3:64},h=3e4;var v={NO_CONTROL:0,0:"NO_CONTROL",OPEN_GIFT:11,11:"OPEN_GIFT",OPEN_FANS:12,12:"OPEN_FANS",OPEN_LEVEL:13,13:"OPEN_LEVEL",OPEN_PROP:14,14:"OPEN_PROP",CLOSE:2,2:"CLOSE",OPEN_BY_PAGE_TYPE:996,996:"OPEN_BY_PAGE_TYPE"},m={GIFT:1,1:"GIFT",FANSCLUB:2,2:"FANSCLUB",HONOR_LEVEL:3,3:"HONOR_LEVEL",NOBLE:4,4:"NOBLE",CANIVAL:23,23:"CANIVAL",FIND:15,15:"FIND"},y={DEFAULT:"default",DESC:"desc",ASC:"asc"};let E={685:1,860:1,679:7,875:12,6309:16};var w={GiftBar:"gift_bar",GiftPanel:"gift_panel",Screen:"screen"};let T="giftSkinsCache",O="disable_shortcut_key_v2",b="is_first_gift_shortcut_key_v2"},374600:function(e,t,n){n.d(t,{Ai:function(){return i},F6:function(){return l},Mf:function(){return o},Un:function(){return r},Wy:function(){return a},oi:function(){return s}});var r={TYPE_UNKNOWN:0,0:"TYPE_UNKNOWN",TYPE_VIDEO:1,1:"TYPE_VIDEO",TYPE_AUDIO:2,2:"TYPE_AUDIO",TYPE_VIRTUAL:3,3:"TYPE_VIRTUAL",TYPE_CHORUS:4,4:"TYPE_CHORUS"},o={STATUS_UNKOWN:0,0:"STATUS_UNKOWN",STATUS_WAITING:1,1:"STATUS_WAITING",STATUS_LINKED:2,2:"STATUS_LINKED",STATUS_FINISHED:3,3:"STATUS_FINISHED",STATUS_WAITING_OR_LINKED:4,4:"STATUS_WAITING_OR_LINKED"},i={STATUS_UNSILENCE:0,0:"STATUS_UNSILENCE",STATUS_SILENCE_BY_SELF:1,1:"STATUS_SILENCE_BY_SELF",STATUS_SILENCE_BY_OWNER:2,2:"STATUS_SILENCE_BY_OWNER",STATUS_SILENCE_PASSIVE:3,3:"STATUS_SILENCE_PASSIVE",STATUS_SILENCE_BY_GAME:4,4:"STATUS_SILENCE_BY_GAME",STATUS_SILENCE_BY_PUNISH:5,5:"STATUS_SILENCE_BY_PUNISH"},a={ROOM_STATUS_UNSILENCE:0,0:"ROOM_STATUS_UNSILENCE",ROOM_STATUS_SILENCE_BY_OTHER_ROOM:1,1:"ROOM_STATUS_SILENCE_BY_OTHER_ROOM"},s={TYPE_ROLE_TYPE_UNKOWN:0,0:"TYPE_ROLE_TYPE_UNKOWN",TYPE_LEADER:1,1:"TYPE_LEADER",TYPE_PLAYER:2,2:"TYPE_PLAYER",TYPE_INVITEE:3,3:"TYPE_INVITEE",TYPE_APPLIER:4,4:"TYPE_APPLIER"},l={VIDEO_CAPTURE_DEVICE_UNKNOWN:0,0:"VIDEO_CAPTURE_DEVICE_UNKNOWN",VIDEO_CAPTURE_DEVICE_NONE:1,1:"VIDEO_CAPTURE_DEVICE_NONE",VIDEO_CAPTURE_VIDEO:2,2:"VIDEO_CAPTURE_VIDEO",VIDEO_CAPTURE_RADIO_MODE:3,3:"VIDEO_CAPTURE_RADIO_MODE",VIDEO_CAPTURE_RTC_BLACK_FRAME_MODE:4,4:"VIDEO_CAPTURE_RTC_BLACK_FRAME_MODE"}},788287:function(e,t,n){n.d(t,{$5:function(){return i},Hj:function(){return o},P7:function(){return a},yw:function(){return r}});var r={LinkmicTeamfightType_NONE:0,0:"LinkmicTeamfightType_NONE",LinkmicTeamfightType_TWO_TEAM:1,1:"LinkmicTeamfightType_TWO_TEAM",LinkmicTeamfightType_ROOM_BATTLE:2,2:"LinkmicTeamfightType_ROOM_BATTLE",LinkmicTeamfightType_DUO_BATTLE:3,3:"LinkmicTeamfightType_DUO_BATTLE"},o={LinkmicTeamfightStatus_NONE:0,0:"LinkmicTeamfightStatus_NONE",LinkmicTeamfightStatus_PREPARE:1,1:"LinkmicTeamfightStatus_PREPARE",LinkmicTeamfightStatus_PLAYING:2,2:"LinkmicTeamfightStatus_PLAYING",LinkmicTeamfightStatus_PUNISHING:3,3:"LinkmicTeamfightStatus_PUNISHING",LinkmicTeamfightStatus_FINISHED:4,4:"LinkmicTeamfightStatus_FINISHED",LinkmicTeamfightStatus_SHOWING:5,5:"LinkmicTeamfightStatus_SHOWING"},i={PlayerRole_NONE:0,0:"PlayerRole_NONE",PlayerRole_LEADING_MVP:1,1:"PlayerRole_LEADING_MVP",PlayerRole_LAGGING_MVP:2,2:"PlayerRole_LAGGING_MVP",PlayerRole_LEADING_LAST:3,3:"PlayerRole_LEADING_LAST",PlayerRole_LAGGING_LAST:4,4:"PlayerRole_LAGGING_LAST"},a={TypeRoomBattleModeUnknown:0,0:"TypeRoomBattleModeUnknown",TypeRoomBattleModeThemeBattle:1,1:"TypeRoomBattleModeThemeBattle"}},372634:function(e,t,n){var r=n(295532);t.Z=(e,t,n)=>({layout:void 0,setLayout:t=>e(()=>({layout:t})),linkSeats:{},setLinkSeats:t=>e(()=>({linkSeats:t})),linkUsers:{},setLinkUsers:t=>e(()=>({linkUsers:t})),initLinkMick:t=>e(()=>(0,r.B)(t)),linkPositions:{},setLinkPositions:t=>e(()=>({linkPositions:t})),isPlayModeNotSupport:!1,setIsPlayModeNotSupport:t=>e(()=>({isPlayModeNotSupport:t}))})},245401:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n("762080");let o=e=>{var t,n;let o=null==e?void 0:e.data[0],i=(null==o?void 0:o.live_room_mode)!==r.ke.MEDIA&&(null==o?void 0:null===(t=o.room_auth)||void 0===t?void 0:t.LandscapeChat)!==r.xW.OFF;return{roomEnterMode:e.enter_mode,roomAuth:null==o?void 0:o.room_auth,anchor:null==e?void 0:e.user,roomId:e.enter_room_id,roomStatus:null==o?void 0:o.status,roomTitle:null==o?void 0:o.title,roomUserCount:null==o?void 0:o.user_count_str,roomCover:null==o?void 0:o.cover,roomAdminUserIds:null==o?void 0:o.admin_user_ids_str,roomLiveRoomMode:null==o?void 0:o.live_room_mode,roomViewStats:null==o?void 0:o.room_view_stats,roomOthers:null==o?void 0:o.others,roomInfo:o,isOpenDanmu:i,isDanmuOn:i,isOpenComment:null==o?void 0:null===(n=o.room_auth)||void 0===n?void 0:n.Chat,roomInit:!0,qrcodeUrl:null==e?void 0:e.qrcode_url}};var i=(e,t,n)=>({roomEnterMode:null,roomAuth:null,anchor:null,webRid:null,roomId:null,roomStatus:null,roomTitle:null,roomUserCount:null,roomCover:null,roomAdminUserIds:[],roomLiveRoomMode:null,roomViewStats:null,roomOthers:null,roomInfo:null,roomStats:null,setAnchor:t=>e(()=>({anchor:t})),setRoomViewStats:t=>e(()=>({roomViewStats:t})),setRoomStatus:t=>e(()=>({roomStatus:Number(t)})),setRoomAuth:t=>e(()=>({roomAuth:t})),setRoomInfo:t=>e(()=>({roomInfo:t})),initRoom:t=>e(()=>o(t)),setWebRid:t=>e(()=>({webRid:t})),roomErrorStatus:r.$V.DEFAULT,setRoomErrorStatus:t=>e(()=>({roomErrorStatus:t})),isOpenDanmu:!0,isDanmuOn:!1,setIsDanmuOn:t=>e(()=>({isDanmuOn:t})),isCleanScreen:!1,setIsCleanScreen:t=>e(()=>({isCleanScreen:t})),isOpenComment:!1,isMedia:!1,roomInit:!0,qrcodeUrl:"",isLiveModal:!1,setIsLiveModal:t=>e(()=>({isLiveModal:t})),isInnerText:"",setInnerText:t=>e(()=>({isInnerText:t}))})},873428:function(e,t,n){n.d(t,{pk:function(){return _},sA:function(){return p}});var r=n(480333),o=n(629686),i=n(402748);n(490629),n(591964);var a=n(618759),s=n(247167),l=n(318966);let c={HOME:"/webcast/douyin_live/async/pages-index-tsx",CATEGORY:"/webcast/douyin_live/async/pages-Category-id",HOT_LIVE:"/webcast/douyin_live/async/pages-Hot_Live-index",LIVING:"/webcast/douyin_live/pages-webrid-index-ts",ERROR:"/webcast/douyin_live/async/pages-Error",DEFAULT:"/webcast/douyin_live/pages-webrid-index-ts",COMMENT:"/webcast/douyin_live/async/pages-Comment-roomid-tsx"},u=1,d=0;try{null!==navigator.serviceWorker&&(d=1)}catch(e){}new class e{trackEnterRoom(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now();this.enterTimestamps.set(e,t)}getEnterDuration(e){let t=this.enterTimestamps.get(e);return t?(this.enterTimestamps.delete(e),performance.now()-t):null}clear(){this.enterTimestamps.clear()}constructor(){(0,r._)(this,"enterTimestamps",new Map)}};class f{init(e){try{window.collectEvent("config",{is_new_project:1})}catch(e){}if(e)this.pid=e;else{var t,n;this.pid=null!==(n=null===(t=window)||void 0===t?void 0:t.LIVE_SLARDAR_PID)&&void 0!==n?n:(0,l.ZB)(window.location.href)}}setIsLogin(e){this.isLogin=e}getCommonMetrics(){try{var e;return(0,o._)({web_cpu_core:Number((null===(e=navigator)||void 0===e?void 0:e.hardwareConcurrency)||0),web_memory_size:(0,a.Bl)(),is_login:this.isLogin},(0,s.getPerfCommonParams)())}catch(e){return{is_login:this.isLogin}}}sendEventByCommon(e,t){let n=(0,l.OK)();n&&n("sendEvent",{name:e,metrics:(0,o._)({duration:t},this.getCommonMetrics()),categories:{pid:this.pid}})}sendEventByTeaCommon(e,t){var n,r;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"tab";null===(n=(r=window).collectEvent)||void 0===n||n.call(r,e,(0,i._)((0,o._)({url:window.location.href,duration:t},this.getCommonMetrics()),{pid:this.pid,open_by:a,is_first_report:u,is_support_sw:d})),u&&(u=0)}liveScriptLoadEnd(){var e,t,n,r,o;let i=null!==(n=null===(t=window)||void 0===t?void 0:null===(e=t.performance)||void 0===e?void 0:e.getEntries())&&void 0!==n?n:[];if(i.length>1){let e=0;for(let t=0;t<80;t++){let n=i[t];(null==n?void 0:null===(r=n.name)||void 0===r?void 0:r.indexOf(c[this.pid]))>-1&&0===e&&(e=null!==(o=null==n?void 0:n.responseEnd)&&void 0!==o?o:0)}this.sendEventByCommon("live_script_load_end",null!=e?e:0)}}rscPerformance(){let e=(0,l.OK)();window.__rsc_p__&&e&&e("sendEvent",{name:"rsc_performance",metrics:window.__rsc_p__.reduce((e,t)=>{let[n,r,a]=t;return(0,i._)((0,o._)({},e),{[`${n}_fetch`]:r,[`${n}_suspense`]:a})},{}),categories:{pid:this.pid}})}liveAppRenderStart(e){var t,n;this.init(e),this.liveScriptLoadEnd(),this.sendEventByCommon("live_app_render_start",null===(n=window)||void 0===n?void 0:null===(t=n.performance)||void 0===t?void 0:t.now())}liveCoreRequestStart(){var e,t;if(!this.hasCoreRequestStart)this.hasCoreRequestStart=!0,this.sendEventByCommon("live_core_api_start",null===(t=window)||void 0===t?void 0:null===(e=t.performance)||void 0===e?void 0:e.now())}liveCoreRequestEnd(){var e,t;if(!this.hasCoreRequestEnd)this.hasCoreRequestEnd=!0,this.sendEventByCommon("live_actual_fmp",null===(t=window)||void 0===t?void 0:null===(e=t.performance)||void 0===e?void 0:e.now())}livePlayerInitStart(e){var t,n;if(!this.hasPlayerInitStart)this.hasPlayerInitStart=!0,this.sendEventByCommon("live_player_init_start",null!=e?e:null===(n=window)||void 0===n?void 0:null===(t=n.performance)||void 0===t?void 0:t.now())}livePlayerInitEnd(e){var t,n;if(!this.hasPlayerInitEnd)this.hasPlayerInitEnd=!0,this.sendEventByCommon("live_player_init_end",null!=e?e:null===(n=window)||void 0===n?void 0:null===(t=n.performance)||void 0===t?void 0:t.now())}liveUrlLoadStart(e){var t,n;if(!this.hasUrlLoadStart)this.hasUrlLoadStart=!0,this.sendEventByCommon("live_url_load_start",null!=e?e:null===(n=window)||void 0===n?void 0:null===(t=n.performance)||void 0===t?void 0:t.now())}liveUrlLoadEnd(e){var t,n;if(!this.pid||this.hasUrlLoadEnd)return;this.hasUrlLoadEnd=!0;let r=null===(n=window)||void 0===n?void 0:null===(t=n.performance)||void 0===t?void 0:t.now(),o=Math.floor(r),i="tab";window.ENTER_ROOM_BY_CHILD_ROUTE>0&&(o=r-window.ENTER_ROOM_BY_CHILD_ROUTE,window.ENTER_ROOM_BY_CHILD_ROUTE=0,i="child_route"),e&&"number"==typeof e&&(o=e,i=window.__inline_player__?"line_player":"reuse_player"),window.ENTER_ROOM_BY_PRELOAD_LIVING>0&&(i="preload_living",o=r-window.ENTER_ROOM_BY_PRELOAD_LIVING,window.ENTER_ROOM_BY_PRELOAD_LIVING=-1);let a=Math.floor(o);this.sendEventByCommon("live_first_frame_load",a),this.sendEventByTeaCommon("livesdk_performance_frame_load",a,i)}playerErrorSub(e){let t=(0,l.OK)();t&&t("sendEvent",{name:"live_player_error",metrics:{err:e},categories:{pid:this.pid,type:e.type,code:e.code,errorCode:e.errorCode}})}playerQulitySub(e){let t=(0,l.OK)();t&&t("sendEvent",{name:"live_qulity_sub",categories:e.categories})}playerQulitySubMore(e){let t=(0,l.OK)();t&&t("sendEvent",{name:"live_qulity_sub_more",categories:e.categories})}constructor(){(0,r._)(this,"pid",""),(0,r._)(this,"hasCoreRequestStart",!1),(0,r._)(this,"hasCoreRequestEnd",!1),(0,r._)(this,"hasPlayerInitStart",!1),(0,r._)(this,"hasPlayerInitEnd",!1),(0,r._)(this,"hasUrlLoadStart",!1),(0,r._)(this,"hasUrlLoadEnd",!1),(0,r._)(this,"isLogin",-1)}}let p=new f,_=()=>{p=new f}},273163:function(e,t,n){n.d(t,{i:function(){return i}});var r=n(876553),o=n.n(r);let i=(e,t,n)=>{try{return n.every(n=>o()(e[n],t[n]))}catch(e){return!1}}},308349:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(101199);function o(e,t){let n=(0,r.useRef)({}),o=(0,r.useRef)(0);if(void 0!==window.isProductionEnv&&!window.isProductionEnv){var i;o.current++;let r=Object.keys(n.current).map(e=>n.current[e]!==t[e]?e:null).filter(e=>!!e);window.reactRenderMark=window.reactRenderMark||{};let a=((null===(i=window.reactRenderMark[e])||void 0===i?void 0:i.diffKeys)||[]).concat([r]);window.reactRenderMark[e]={diffKeys:a,num:o.current},n.current=t}}},183019:function(e,t,n){let r;n.d(t,{DH:function(){return y},Zf:function(){return O},qs:function(){return w},yf:function(){return T}});var o=n(629686);n(932651),n(490629);var i=n(885112),a=n(879525),s=n(75740),l=n(426038),c=n(618759),u=n(499059),d=n(8013),f=n(795653),p=n(428658),_=n(709705),g=n(409250),h=n(762122),v=n(659012),m=n(215580);let y=e=>{var t;let n={},r=null==e?void 0:null===(t=e.dashConfigServer)||void 0===t?void 0:t.applySide;return r&&("web"!==r||(0,c.DT)())?"client"===r&&(0,c.DT)()&&(n=null==e?void 0:e.dashConfigServer):n=null==e?void 0:e.dashConfigServer,Object.assign({},{open:!0,openAdaptRange:!0,timeout:3e3,removeBufferLen:60,removeBufferWhenSeekInBuffer:!1,replayReset:!1,waitingInBufferTimeOut:5e3,maxBufferLength:30,useProgressiveAppend:!0,useProgressiveAppendAll:!0,videoDuration:24e4,usePCDNProgressiveCheck:!0,resetStateUpdrade:!0,useSeparationMode:!0,useCDNProgressiveCheck:!1,loader:{loaderCount:1,onProcessMinLen:0,enableDynamicMinLen:!1},dashPcdnConfig:{openPCDN:!0,adaptPCDNConfig:{PCDNBufferControl:!0}}},null==e?void 0:e.dashConfig,n,u.Le.getConfig(u.gI.IsMainland)?{}:{dashPcdnConfig:{openPCDN:!1}})},E=e=>{var t;let n={isPlayAutoDefi:!1,isOpenAutoDefi:!1,module:a.N,isClassic:!0,abrDriveMode:1,algoArg:{bbaControl:!0,highLevel:15,lowLevel:5}};return(null===(t=(0,d.G)(l.SessionStorageKeys.manualSwitch))||void 0===t?void 0:t.gearType)?{}:n},w=e=>{var t,n,r,i;let a=y(e),s=(0,o._)({minBufferLength:5,maxBufferLength:50,defaultFormat:"dash",dashOpts:{},smallGapLimit:1,playInfoType:"FEED",disableBufferBreakCheck:!1,waitingTimeOut:5e3,tickInSeconds:.2,needAutoBitrate:!0,disableCanplayCheck:!1,loadFirstGopData:(null==e?void 0:e.smoothSwitchClarify)===2,useGopCacheAcc:!0,autoBitrateOpts:E(e)},(0,h.g)({abTestData:e,isDash:!0}),a),l=(null==a?void 0:a.dashAdaptRangeConfig)?null==a?void 0:a.dashAdaptRangeConfig:(0,v.hG)({abtestData:e});return(null==e?void 0:null===(t=e.dashConfigServer)||void 0===t?void 0:t.dashAdaptRangeConfigWeb)&&!(0,c.DT)()?l=null==e?void 0:null===(r=e.dashConfigServer)||void 0===r?void 0:r.dashAdaptRangeConfigWeb:(null==e?void 0:null===(n=e.dashConfigServer)||void 0===n?void 0:n.dashAdaptRangeConfigClient)&&(0,c.DT)()&&(l=null==e?void 0:null===(i=e.dashConfigServer)||void 0===i?void 0:i.dashAdaptRangeConfigClient),Object.assign({},s,Object.assign({},(null==a?void 0:a.openAdaptRange)?l:{}))},T=e=>{var t,n;let{abtestData:o,awemeInfo:a}=e;if((0,f.O)())return!1;if(!(0,p.Ko)()||!(0,c.DT)()&&!(null===(t=(0,_.$o)(l.LocalStorageKeys.IsSupportHevc))||void 0===t?void 0:t.pure_support))return!1;let s=y(o),u=(null==s?void 0:s.videoDuration)||18e5;return void 0===r&&(r=i.default.encryptUtils.isSupported(),g.Q.setItem(l.CookieKeys.isDashUser,r?1:0)),!!r&&(null==s?!!void 0:!!s.open)&&!!((null==a?void 0:null===(n=a.video)||void 0===n?void 0:n.duration)>=u)&&!(0,m.Ni)(a)||!1},O=e=>{var t,n;let{config:r}=e;(null==r?void 0:null===(n=r.definition)||void 0===n?void 0:null===(t=n.list)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.vtype)===s.l0.DASH))&&(r.plugins=[...r.plugins,i.default])}},762122:function(e,t,n){n.d(t,{g:function(){return d}});var r=n(629686),o=n(402748);n(932651);var i=n(869014),a=n.n(i),s=n(759894),l=n(618759),c=n(499059),u=n(183019);function d(e){let{abTestData:t,isDash:n}=e,i={};((null==t?void 0:t.pcdnApplySideServer)==="both"||(0,l.DT)()&&(null==t?void 0:t.pcdnApplySideServer)==="client"||!(0,l.DT)()&&(null==t?void 0:t.pcdnApplySideServer)==="web")&&(i=null==t?void 0:t.pcdnConfigServer);let d=a()({},{openPCDN:!0,enterMinBuffer:5,outMaxBuffer:5,minDuration:25,openPreloadPCDN:!0,withReferer:1},null==t?void 0:t.pcdnConfig,i);if(!function(e){let{abTestData:t}=e,n="recommend"===(0,s.vM)(),r=!(0,l.DT)()||n,o={};((null==t?void 0:t.pcdnApplySideServer)==="both"||(0,l.DT)()&&(null==t?void 0:t.pcdnApplySideServer)==="client"||!(0,l.DT)()&&(null==t?void 0:t.pcdnApplySideServer)==="web")&&(o=null==t?void 0:t.pcdnConfigServer);let i=Object.assign({pcdnOpen:!0},null==t?void 0:t.pcdnConfig,o);return r&&!!i.pcdnOpen}({abTestData:t})&&!n)return{};if(n){var f;d.openPCDN=!1,(null==d?void 0:null===(f=d.adaptPCDNConfig)||void 0===f?void 0:f.PCDNBufferControl)&&(d.adaptPCDNConfig.PCDNBufferControl=!1);let e=(0,u.DH)(t);d=a()({},d,null==e?void 0:e.dashPcdnConfig)}return!c.Le.getConfig(c.gI.IsMainland)&&(d.openPCDN=!1,d.openPreloadPCDN=!1),{pcdnConfig:(0,o._)((0,r._)({},d),{trackerUrl:"https://vc-gate-edge.ndcpp.com/sdk/get_peer",app_id:6383,sid:5})}}},823470:function(e,t,n){n.d(t,{w:function(){return r}});var r={CreateGameWindow:"createGameWindow",GetAbTestContext:"getAbTestContext",HttpGet:"httpGet",GetEnterFrom:"getEnterFrom",GetGlobalEvent:"getGlobalEvent",GetHeaderPopupTaskQueue:"getHeaderPopupTaskQueue",GetOdin:"getOdin",GetUtilsABVal:"getUtilsABVal",GetUtilsHelper:"getUtilsHelper",GetUtilsHooks:"getUtilsHooks",GetUtilsReportInstance:"getUtilsReportInstance",GetWebConfig:"getWebConfig",SetStore:"setStore",GetStore:"getStore",GetPrefetchData:"getPrefetchData",TriggerPrefetch:"triggerPrefetch",Login:"login",HttpPost:"httpPost",XreportAppLog:"x.reportAppLog",SendLog:"sendLog",SlardarMonitor:"slardarMonitor",XClose:"x.close",XGetAppInfo:"x.getAppInfo",XGetUserInfo:"x.getUserInfo",XGetContainerID:"x.getContainerID",XOpen:"x.open",XreportMonitorLog:"x.reportMonitorLog",Xrequest:"x.request",GetGameConfig:"getGameConfig",ClientWindowMax:"clientWindowMax",ClientWindowMin:"clientWindowMin",ClientWindowClose:"clientWindowClose",CopyToClipboard:"copyToClipboard",Toast:"toast",XsubscribeEvent:"x.subscribeEvent",XunsubscribeEvent:"x.unsubscribeEvent",XpublishEvent:"x.publishEvent",SendLogV3:"sendLogV3",PublishEvent:"publishEvent",Fetch:"fetch",Close:"close",GetClientSetting:"getClientSetting",OpenUrl:"openUrl",OpenImagePreviewViewer:"openImagePreviewViewer",Open:"open",OpenExternalBrowser:"openExternalBrowser",UserAction:"userAction",CreateBigGameWindow:"createBigGameWindow",DestroyBigGameWindow:"destroyBigGameWindow",GetCookies:"getCookies",GamecpPreviewImages:"gamecpPreviewImages",SubBizBroadcastEvent:"subBizBroadcastEvent",WindowOpen:"windowOpen",downloadFile:"downloadFile",cancelDownloadFile:"cancelDownloadFile",getDownloadFileIsExist:"getDownloadFileIsExist",openDownloadFile:"openDownloadFile",downloadFileProgressEvent:"downloadFileProgressEvent",pauseDownloadFile:"pauseDownloadFile",resumeDownloadFile:"resumeDownloadFile",getDownloadFileStatus:"getDownloadFileStatus",openGameDesktopWidget:"openGameDesktopWidget",getClientBigGameSetting:"getClientBigGameSetting",setClientLocalData:"setClientLocalData",getClientLocalData:"getClientLocalData"}},154502:function(e,t,n){var r=n(841434),o=n(932512),i=n(618759),a=n(823470),s=n(103680);t.Z=()=>{let e=async(e,t)=>{if(!(0,i.DT)())return(0,r.Vp)(void 0,"success");try{return s.invoke("WINDOW_MIN"),(0,r.Vp)(void 0,"success")}catch(e){return(0,r.bG)(r.MU.FAIL)}};(0,o.z)(a.w.ClientWindowMin,e)}},263041:function(e,t,n){n(679308);var r=n(841434),o=n(932512),i=n(746517),a=n(823470);t.Z=()=>{let e=async(e,t)=>{let{needReload:n,headerText:o,enterMethod:a}=t;try{return new Promise(e=>{(0,i.default)({headerText:o,enterMethod:a||"jsb",success:t=>{if(n)window.location.reload();else{var o,i;null===(i=window)||void 0===i||null===(o=i.updateUserInfo)||void 0===o||o.call(i)}e((0,r.Vp)(t,"success"))},onClose:()=>{e((0,r.Vp)(void 0,"close"))}})})}catch(e){return(0,r.bG)(r.MU.FAIL)}};(0,o.z)(a.w.Login,e)}},500371:function(e,t,n){n.d(t,{Q:function(){return l}});var r=n(841434),o=n(932512),i=n(618759),a=n(103680),s=n(823470);let l=(e,t)=>{try{if(!(null==t?void 0:t.url))return(0,r.bG)(r.MU.FAIL,"invalid params",t);return(0,i.DT)()?a.asyncCall("openSiteInOuterBrowser",{data:null==t?void 0:t.url}):window.open(null==t?void 0:t.url,"_blank","noopener"),(0,r.Vp)()}catch(e){return(0,r.bG)(r.MU.FAIL)}};t.Z=()=>{(0,o.z)(s.w.OpenExternalBrowser,l)}},398506:function(e,t,n){var r=n(841434),o=n(911429),i=n(932512),a=n(823470);t.Z=()=>{let e=async(e,t)=>{let{path:n,queryParams:i,options:a,origin:s,ctx:l,cancleFunc:c,body:u}=t;try{let e=await (0,o.v_)(n,i,u,a,s,c,l);return(0,r.Vp)(e,"success")}catch(e){return(0,r.bG)(r.MU.FAIL,"fail",e)}};(0,i.z)(a.w.HttpPost,e)}},248523:function(e,t,n){var r=n(841434),o=n(932512),i=n(823470);t.Z=()=>{let e=(e,t)=>{let{eventName:n,params:o}=t;try{return window.collectEvent(n,o),(0,r.Vp)("success")}catch(e){return(0,r.bG)(r.MU.FAIL)}};(0,o.z)(i.w.SendLog,e),(0,o.z)(i.w.SendLogV3,e),(0,o.z)(i.w.XreportAppLog,e)}},72404:function(e,t,n){var r=n(841434),o=n(932512),i=n(823470),a=n(396868);t.Z=()=>{(0,o.z)(i.w.Toast,(e,t)=>{let{text:n}=t;try{return a.F.info(n),(0,r.Vp)()}catch(e){return(0,r.bG)(r.MU.FAIL)}})}},785629:function(e,t,n){var r=n(841434),o=n(932512),i=n(795653),a=n(810069),s=n(409250),l=n(618759),c=n(426038),u=n(823470),d=n(855500);t.Z=()=>{(0,o.z)(u.w.XGetAppInfo,(e,t)=>{let{os:n,version:o}=(0,i.fV)(),{device_brand:u,device_model:f,device_type:p}=(0,d.a)();try{var _,g,h,v,m,y,E,w;return(0,r.Vp)({osVersion:o,osPlatform:n,osArch:"undefined"==typeof window?"":null!==(m=null===(g=window)||void 0===g?void 0:null===(_=g.TTE_ENV)||void 0===_?void 0:_.arch)&&void 0!==m?m:"",appID:"6383",appName:"douyin_pc",appVersion:null!==(y=null===(h=window)||void 0===h?void 0:h.version)&&void 0!==y?y:"unknown",appLang:null!==(E=navigator.language)&&void 0!==E?E:"unknown",channel:"douyin_pc",isTeenMode:!1,deviceID:null!==(w=null===(v=(0,a.Es)())||void 0===v?void 0:v.user_unique_id)&&void 0!==w?w:"",appTheme:s.Q.getItem({sKey:c.CookieKeys.Theme}),updateVersionCode:"0.0.1",screenWidth:374,deviceBrand:u,deviceModel:f,deviceType:p,isClient:(0,l.DT)()},"success")}catch(e){return(0,r.bG)(r.MU.FAIL)}})}},557885:function(e,t,n){var r=n(629686),o=n(402748),i=n(841434),a=n(932512),s=n(414061),l=n(823470);t.Z=()=>{let e=async(e,t)=>{let n=await (0,a.L)(t.schema);if(!n)return(0,i.bG)(i.MU.FAIL);try{return s.emit(s.EVENT.xOpen,{_ctx:e,_params:(0,o._)((0,r._)({},t),{schema:n})}),(0,i.Vp)(void 0,"success")}catch(e){return(0,i.bG)(i.MU.FAIL)}};(0,a.z)(l.w.XOpen,e)}},569867:function(e,t,n){n.d(t,{r:function(){return o}});var r=n(977829);function o(e,t){let{data:{user_list:n=[]},title:o}=e,i=n.map(e=>{if("user"===e.type){var t;let{userInfo:n}=(0,r.HD)({user_info:null==e?void 0:null===(t=e.user)||void 0===t?void 0:t.user_info});return{type:"user",userInfo:n,aliasName:e.alias_name,desc:e.desc}}return"wiki"===e.type?{type:"wiki",aliasName:e.alias_name,desc:e.desc,baikeInfo:{name:e.baike.title,avatar:e.baike.head_image,desc:e.baike.subtitle}}:null}).filter(Boolean).slice(0,6);return{title:o,itemList:i}}},898174:function(e,t,n){n.d(t,{l:function(){return i}});var r=n(426038),o=n(101199);function i(e){let{activity:t,theme:n}=e;if(!t)return{forceHeaderContentLight:!1,forceToolbarListTypeLight:!1,forceToolbarFilterLight:!1};let i=(0,o.useMemo)(()=>(null==t?void 0:t.isActivity)&&(null==t?void 0:t.isDuringActivity)&&!(null==t?void 0:t.isActivityHidden),[t]),a=(0,o.useMemo)(()=>n===r.ThemeValues.Light,[n]),s=i&&a&&(null==t?void 0:t.forceHeaderContentLight),l=i&&a&&(null==t?void 0:t.forceToolbarListTypeLight);return{forceHeaderContentLight:s,forceToolbarListTypeLight:l,forceToolbarFilterLight:i&&a&&(null==t?void 0:t.forceToolbarFilterLight)}}},79623:function(e,t,n){n.d(t,{W:function(){return v}});var r=n(629686),o=n(402748);n(14275),n(759943),n(683656),n(240148),n(490629),n(374954),n(362051);var i=n(732979),a=n.n(i),s=n(273460),l=n.n(s);a().extend(l());function c(e){if(""===e||null==e)return;let t=`${e}`.trim();if(!t)return;if("number"==typeof e||/^\d+(\.\d+)?$/.test(t)){let e=Number(t);if(!Number.isFinite(e))return;return a()(1e12>Math.abs(e)?1e3*e:e).utcOffset(8)}let n=t.replace(/\//g,"-").replace(/\./g,"-").replace(" ","T"),r=/(?:[zZ]|[+-]\d{2}:?\d{2})$/.test(n),o=a()(/^\d{4}-\d{1,2}-\d{1,2}$/.test(n)?`${n}T00:00:00+08:00`:!r&&/^\d{4}-\d{1,2}-\d{1,2}T\d{1,2}:\d{1,2}(:\d{1,2})?$/.test(n)?`${n}+08:00`:n);if(!!o.isValid())return o.utcOffset(8,!r)}function u(e){if(!e||"string"!=typeof e)return e;try{return JSON.parse(e)}catch(e){return}}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";try{return decodeURIComponent(e)}catch(t){return e}}function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e;for(let e=0;e<3;e++){let e=d(t);if(e===t)break;t=e}return t}(e.trim()),n=t.match(/\/vsdetail\/([^/?#&]+)/);if(null==n?void 0:n[1])return d(n[1]);let r=t.match(/(?:[?&#]|^)replay_id(?:_str)?=([^&#]+)/);return(null==r?void 0:r[1])?d(r[1]):""}function p(e,t){var n;let i=(null==e?void 0:e.battle_list)||[],s="",l={},c=[];i.forEach((e,n)=>{let r=function(e){var t;let n=e.team_info||[],[r,o]=n,i=e.button_status,s="",l="",c="";1===i||2===i?s=e.appointment_id||"":3===i?c=e.web_rid||"":4===i&&(l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return f(t)||f(e)}(e.button_schema,e.jump_url));let u=null==r?void 0:r.score,d=null==o?void 0:o.score,p=""===u||null==u?"-":`${u}`,_=""===d||null==d?"-":`${d}`,g=Number(u),h=Number(d),v=Number.isFinite(g)&&Number.isFinite(h);return{id:e.battle_key||`${e.start_time}_${e.battle_name||"battle"}`,battleName:e.battle_name||"",host:{logo:(null==r?void 0:r.icon_url)||"",title:(null==r?void 0:r.team_name)||""},guest:{logo:(null==o?void 0:o.icon_url)||"",title:(null==o?void 0:o.team_name)||""},team_info:n.map(e=>({logo:(null==e?void 0:e.icon_url)||"",title:(null==e?void 0:e.team_name)||"",score:null==e?void 0:e.score})),round:e.stage_name||"",score:{host:p,guest:_,isHostWin:v&&g!==h&&g>h,isGuestWin:v&&g!==h&&g(0,o._)((0,r._)({},e),{list:function(e){let t=[],n=[],r=[],o=[],i=[],a=[];return e.forEach(e=>{3===e.buttonStatus?t.push(e):7===e.buttonStatus?n.push(e):1===e.buttonStatus||2===e.buttonStatus||6===e.buttonStatus?r.push(e):4===e.buttonStatus?o.push(e):5===e.buttonStatus?i.push(e):a.push(e)}),t.concat(n,r,o,i,a)}(e.list)})),d=u.length?function(e){var t,n;let r=a()(a()().format("YYYY-MM-DD"));if(r.isBefore(a()(null===(t=e[0])||void 0===t?void 0:t.date)))return 0;if(r.isAfter(a()(null===(n=e[e.length-1])||void 0===n?void 0:n.date)))return e.length-1;let o=0;return e.forEach((t,n)=>{var i;let s=a()(t.date),l=(null===(i=e[n-1])||void 0===i?void 0:i.date)?a()(e[n-1].date):void 0;(l&&r.isAfter(l)&&r.isBefore(s)||r.isSame(s))&&(o=n)}),o}(u):0;return{tab:u,defaultActiveId:null===(n=u[d])||void 0===n?void 0:n.id,updateTime:`\xb7 ${a()().format("YYYY-MM-DD")}更新`,moreUrl:(null==e?void 0:e.jump_url)||""}}function _(e){var t,n;let r=u(e)||{},o=u(r.original_display),i=o&&"string"!=typeof o?o:void 0,a=function(e,t){let n=c(e),r=c(t);return n?!r||r.isBefore(n)?n.format("YYYY.MM.DD"):`${n.format("YYYY.MM.DD")}-${r.format(n.year()===r.year()?"MM.DD":"YYYY.MM.DD")}`:(null==r?void 0:r.format("YYYY.MM.DD"))||""}(null!==(t=null==i?void 0:i.match_begin_time)&&void 0!==t?t:r.match_start_time,null!==(n=null==i?void 0:i.match_end_time)&&void 0!==n?n:r.match_end_time);return{logo:r.match_logo||"",title:r.match_name||"",subTitle:a,titleJumpUrl:r.title_jump_url||"",gameTitleJumpUrl:r.double_column_game_title_jump_url||r.title_jump_url||"",anchorTitleJumpUrl:r.double_column_anchor_title_jump_url||"",gameIcon:r.game_icon||"",backgroundColor:r.background_color||"",matchKey:r.match_key||"",rawMatchKey:r.match_key||"",zoneMatchCount:r.zone_match_count,aggregationMethod:r.aggregation_method}}function g(e){var t,n;if(!!(null==e?void 0:e.nickname))return{uid:e.uid,nickname:e.nickname,secUid:e.sec_uid,verificationType:e.verification_type,avatar:(null===(n=e.avatar_thumb)||void 0===n?void 0:null===(t=n.url_list)||void 0===t?void 0:t[0])||""}}function h(e){return(e||[]).map((e,t)=>({id:`${e.id||t}`,title:e.title||"",jumpUrl:e.jump_url||"",color:e.color||""}))}function v(e){var t,n;let i=u(e.match_info)||{},a=(null!==(n=null===(t=e.tab_list)||void 0===t?void 0:t.length)&&void 0!==n?n:0)>0?"multi_game_sports":"single_game_sports",s=(e.tab_list||[]).map((t,n)=>(function(e,t,n){let i=_(e.match_info),a=p(e.battle_info,n);if(!!i.title||!!a.tab.length)return{id:`${e.id||t}`,title:e.title||e.name||e.tab_name||i.title||`赛事${t+1}`,matchInfo:(0,o._)((0,r._)({},i),{rawMatchKey:e.match_key||i.rawMatchKey}),battleInfo:a,organizer:g(e.organizer),kingkongPosition:h(e.kingkong_position)}})(t,n,a)||function(e,t,n,i,a,s,l){var c,u;if(!(e.match_key||e.match_info||e.battle_info||e.title||e.name||e.tab_name))return;let d=e.match_key||{},f=_((0,o._)((0,r._)({},n||{}),{match_key:d.match_key||(null==n?void 0:n.match_key),match_name:d.match_name||e.title||e.name||e.tab_name||(null==n?void 0:n.match_name),match_start_time:null!==(c=d.match_begin_time)&&void 0!==c?c:null==n?void 0:n.match_start_time,match_end_time:null!==(u=d.match_end_time)&&void 0!==u?u:null==n?void 0:n.match_end_time})),v=p(e.battle_info||i,l);if(!!f.title||!!v.tab.length)return{id:`${e.id||d.match_key||t}`,title:e.title||e.name||e.tab_name||f.title||`赛事${t+1}`,matchInfo:(0,o._)((0,r._)({},f),{rawMatchKey:Object.keys(d).length?d:f.rawMatchKey}),battleInfo:v,organizer:g(e.organizer||a),kingkongPosition:h(e.kingkong_position||s)}}(t,n,i,e.battle_info,e.organizer,e.kingkong_position,a)).filter(Boolean),l=Math.max(0,Math.min(e.default_tab_index||0,Math.max(s.length-1,0))),c=s[l],d=_(i),f=p(e.battle_info,a),v=e.original_display&&"object"==typeof e.original_display?e.original_display:u(e.original_display);return v&&"object"==typeof v&&(d.rawMatchKey=v),{matchInfo:(null==c?void 0:c.matchInfo)||d,battleInfo:(null==c?void 0:c.battleInfo)||f,organizer:(null==c?void 0:c.organizer)||g(e.organizer),kingkongPosition:(null==c?void 0:c.kingkongPosition)||h(e.kingkong_position),eventTabs:s.length?s.map(e=>({id:e.id,title:e.title})):[],eventList:s,defaultEventIndex:l,schemaKey:e.schema_key||"",searchBackgroundConf:e.search_background_conf||null}}},253028:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>{let t=e;return!t&&(t=location.pathname),t.indexOf("/search/")>1}},963429:function(e,t,n){n.d(t,{n:function(){return u}});var r=n(629686),o=n(402748),i=n(811603),a=n(320165);n(101199);var s=n(433611),l=n(386754),c=n(760812);function u(e){let{loginDesc:t,loginGuideClass:n="",renderPrivilegeContent:u}=e,d=(0,i._)(e,["loginDesc","loginGuideClass","renderPrivilegeContent"]);return(0,a.jsx)("div",{className:`${c.default.loginGuide} ${n}`,children:(0,a.jsxs)(s.f,(0,o._)((0,r._)({},d),{children:[t&&(0,a.jsx)("div",{className:c.default.loginDesc,children:t}),(0,a.jsx)("div",{className:c.default.privilegeContainer,children:u?u():(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.MU,{}),(0,a.jsx)(l.An,{}),(0,a.jsx)(l.Zl,{}),(0,a.jsx)(l.Uj,{})]})})]}))})}n(117849)},420819:function(e,t,n){n.d(t,{P:function(){return l}});var r=n(629686),o=n(402748),i=n(811603),a=n(103680);let s=1,l=e=>{let{onClose:t,success:n}=e,l=(0,i._)(e,["onClose","success"]);window.TT_WEB_API=window.TT_WEB_API||{};let c=`runLoginSuccess${s}`,u=`runLoginClose${s}`;window.TT_WEB_API[c]=e=>{null==n||n(e),delete window.TT_WEB_API[c]},window.TT_WEB_API[u]=()=>{null==t||t(),delete window.TT_WEB_API[u],delete window.TT_WEB_API[c]};let d=(0,o._)((0,r._)({},l),{loginIndex:s});a.asyncCall("onLoginShow",d),s++}},19378:function(e,t,n){n.d(t,{A_:function(){return v},gS:function(){return m},ul:function(){return y}});var r=n(629686),o=n(402748);n(679308),n(490629);var i=n(426038),a=n(33535),s=n(896138),l=n(810069),c=n(709705),u=n(414061),d=n(381957),f=n(587734),p=n(699651);let _=null,g=async()=>{if(!_)try{_=await (0,f.Pn)()}catch(e){}},h=async(e,t)=>(await Promise.all([(0,p.sh)(g,null,2e3)]),new Promise(async(n,i)=>{null==_||_.setTrust({setParams:{decision:e,skip_sdk_error_handler:t},length:3,accountApiConfig:(0,o._)((0,r._)({},s.eP),{hcSwitch:!0,language:(0,p.GH)()?"en":"zh"})}).then(e=>{n(e)}).catch(e=>{i(e)})})),v=async e=>(await g(),null==_?void 0:_.checkIsTrust(e)),m=async e=>(await g(),null==_?void 0:_.updateUserInfo(e)),y=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(1===e){var f;d.Z.sendLog("loginInfoSwitchOn",(0,o._)((0,r._)({},t),{params_for_special:"uc_login",device_id:null===(f=(0,l.Es)())||void 0===f?void 0:f.user_unique_id}))}return await (0,p.sh)(a.Fm,null,5e3),new Promise((o,a)=>{h(e,n).then(n=>{var a;let f=1===e?"on":"off";d.Z.sendLog("saveLoginApiResult",(0,r._)({params_for_special:"uc_login",device_id:null===(a=(0,l.Es)())||void 0===a?void 0:a.user_unique_id,switch_status:f,result:"success"},t)),(0,c.qQ)(i.LocalStorageKeys.IsAllowTrust,e),(0,c.qQ)(i.LocalStorageKeys.SetIsAllowTrust,1),s?(0,c.qQ)(i.LocalStorageKeys.defaultSetTrust,1):(0,c.qQ)(i.LocalStorageKeys.defaultSetTrust,0),u.emit(u.EVENT.updateTrustSwitch,e),o(e)}).catch(n=>{var o;let i=1===e?"on":"off";d.Z.sendLog("saveLoginApiResult",(0,r._)({params_for_special:"uc_login",device_id:null===(o=(0,l.Es)())||void 0===o?void 0:o.user_unique_id,switch_status:i,result:"fail",error_code:null==n?void 0:n.error_code},t)),a(n)})})}},577482:function(e,t,n){n.d(t,{Z:function(){return p}}),n(490629),n(656562),n(992871);var r=n(101199),o=n(330620),i=n.n(o),a=n(624860),s=n(562297),l=n(987826),c=n(271727),u=n(987134),d=n(396868),f=n(421792);let p=e=>{let{userInfo:t,customProps:n}=e,o=(0,r.useRef)(null),{searchParams:p}=(0,a.w)(),{changeVisionImage:_,changePictureUploadMethod:g,aiAndVisionParams:h}=(0,s.N)(),[v,m]=(0,r.useState)(""),[y,E]=(0,r.useState)(""),[w,T]=(0,r.useState)(0),[O,b]=(0,r.useState)(0),[S,D]=(0,r.useState)(!1),[P,R]=(0,r.useState)([]),M=(0,r.useCallback)(async e=>{if(0===e.length){R([]);return}let t=null==e?void 0:e[0];if("success"===t.status){R(e);return}if("uploadFail"===t.status){R([]),d.F.info("图片上传失败");return}await x(null==t?void 0:t.fileInstance)&&R(e)},[]),I=(0,r.useRef)(null),C=(0,r.useCallback)(async e=>{let{fileInstance:n,onError:r,onProgress:o,onSuccess:a}=e;if(!await x(n,{showToast:!1}))return;D(!0),m("");let s=!1;I.current=()=>{s=!0};try{let{statusCode:e,stsToken:d,serviceId:f}=await (0,c.Fi)(),p=new(i())({userId:null==t?void 0:t.uid,appId:l.APP_ID,imageConfig:{serviceId:f||l.IMAGEX_SEARCH_SERVER_ID}});if(0===e){var u;let e=null==p?void 0:null===(u=p.addFile)||void 0===u?void 0:u.call(p,{file:n,stsToken:d,type:"image"});if(s)try{e&&p.cancel(e)}catch(e){}p.on("progress",e=>{null==o||o({total:e.fileSize,loaded:e.fileSize*e.percent})}),p.on("complete",async e=>{e.uploadResult.ImageUri&&!s&&(D(!1),m(e.uploadResult.ImageUri),E(URL.createObjectURL(n)),T(e.uploadResult.ImageWidth),b(e.uploadResult.ImageHeight),null==a||a(e))}),p.on("error",e=>{D(!1),null==r||r(e)}),p.start(e)}else D(!1),null==r||r({status:e})}catch(e){D(!1),null==r||r({status:500})}},[t]),A=(0,r.useCallback)(()=>{var e;m(""),E(""),n.isHeaderSearchBar&&_({imageUrl:""}),T(0),b(0),D(!1),null===(e=I.current)||void 0===e||e.call(I),g("")},[]),x=(0,r.useCallback)(async(e,t)=>{let{showToast:n=!0}=t||{};return!!e&&((null==e?void 0:e.size)>u.xy?(n&&d.F.info("图片大小超过10MB,请重新上传"),!1):!!await (0,f.EK)()||(n&&d.F.info("请先打开浏览器设置中的图片权限"),!1))},[]);return(0,r.useEffect)(()=>{if(!n.isHeaderSearchBar)return;let e=p.imageUri;!e&&(M([]),A()),h.imageUrl&&m(e)},[p.imageUri,h.imageUrl]),{uploadRef:o,uri:v,imageWidth:w,imageHeight:O,isImageUploading:S,previewImageList:P,setUri:m,onPreviewImageChange:M,clearImageInfo:A,setImageUploading:D,customRequest:C}}},299771:function(e,t,n){var r=n(629686),o=n(320165),i=n(101199),a=n(131242);t.Z=e=>{let t=(0,i.useMemo)(()=>({islandName:"ISLAND_PANE_MENU",islandMode:"load",islandTimeout:1e4}),[]);return(0,o.jsx)(a.default,(0,r._)({},t,e))}},433419:function(e,t,n){n.d(t,{B:function(){return u}}),n(490629);var r=n(339808),o=n(101199),i=n(409250),a=n(995898),s=n(661444),l=n(426038),c=n(124317);let u=e=>{let{abTestData:t}=e,[n,u]=(0,o.useState)(!1),[d,f]=(0,o.useState)(),{pathname:p}=(0,r.a)();(0,o.useEffect)(()=>{i.Q.getItem({sKey:l.CookieKeys.JXEntranceNegative})?u(!1):u(!0)},[]);let _=(0,o.useMemo)(()=>!(0,a.yk)(p)&&(f((0,s.e2)(p)?c.DownloadJXEntranceStyle.strongV1:c.DownloadJXEntranceStyle.weakV1),n),[p,n]);return{finalJXEntranceShow:_,handleCloseEntrance:()=>{i.Q.setItem(l.CookieKeys.JXEntranceNegative,1,2592e3),u(!1)},entranceStyle:d}}},954612:function(e,t,n){n.d(t,{C:function(){return u}}),n(490629);var r=n(101199),o=n(612582),i=n(414061),a=n(499059),s=n(759894),l=n(914278),c=n(755881);let u=e=>{let[t,n]=(0,r.useState)(!1),u=(0,r.useRef)(!1),d=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!d.current&&!!t)d.current=setTimeout(()=>{if(u.current){u.current=!1,clearTimeout(d.current),d.current=null;return}(0,l.D0)("follow"),o.YY.finishTask(o.BE.DownloadGuideTaskId),n(!1),clearTimeout(d.current),d.current=null},3e3)},[t]),(0,r.useEffect)(()=>{if(!e)return()=>null;let t=i.listen(i.EVENT.showClientDownloadGuide,e=>{var t;let{isShow:r,type:i,from:s}=e,c=(null===(t=a.Le.getConfig(a.gI.IsDownloadBarShow))||void 0===t?void 0:t.timeColdStartShow)||0,u=!c||Date.now()-c>18e5;"follow"===i&&r&&(0,l.A8)(i)&&"im"!==s&&u&&o.YY.insertTask(o.BE.DownloadGuideTaskId,()=>{n(!0)},{onFinish:()=>{n(!1)},delay:0,priority:o.T0.ClientDownloadPriority})});return()=>{null==t||t()}},[e]),(0,r.useEffect)(()=>{let t=i.listen(i.EVENT.showHeaderPopUp,t=>{let{isShow:r}=t;r&&e&&(o.YY.finishTask(o.BE.DownloadGuideTaskId),n(!1))});return()=>{null==t||t()}},[e]);let f=(0,r.useCallback)(()=>{u.current=!0,n(e=>(e&&(0,l.D0)("follow"),!1)),o.YY.finishTask(o.BE.DownloadGuideTaskId)},[]);return(0,r.useEffect)(()=>{t&&c.Z.sendLog("addToDesktopShow",{enter_from:(0,s.vM)(),type:"follow"})},[t]),{isShow:t,closeTip:f}}},367151:function(e,t,n){n.d(t,{JL:function(){return c},hC:function(){return d},k4:function(){return u}}),n(706056),n(490629);var r=n(101199),o=n(795653),i=n(618759),a=n(537056),s=n(776051),l=n(455571);let c=e=>!(["comment","chat_notif","notice_notif"].includes(e)&&(0,o.Q5)())&&!(0,i.DT)()&&!(0,i.tq)()&&(0,l.D5)(),u=async e=>!e||!await (0,a.Y)(!0),d=e=>{let{type:t,isActive:n=!0,abtestData:o,isLogin:a}=e,[l,d]=(0,r.useState)(!1),[f,p]=(0,r.useState)(!1),[_,g]=(0,r.useState)(!1),h=(0,r.useCallback)(()=>{p(!1),d(!1)},[]),v=(0,r.useCallback)(()=>{(0,s.zh)(t),h()},[t,h]);return(0,r.useEffect)(()=>{(async()=>{let e=c(t),n=await u(a);e&&n?g(!0):g(!1)})()},[a,t]),(0,r.useEffect)(()=>{if(n&&_&&!(0,i.DT)()){let{isTodayFirstShow:e,canShowGuide:n}=(0,s.A8)(t);n&&e&&(0,s.bj)(t),p(n),d(e)}else h()},[n,t,h,_,o]),{showAnimate:l,showBar:f,closeBar:v}}},755881:function(e,t,n){var r=n(624508);t.Z=new r.h({addToDesktopShow:{eventName:"add_to_desktop_show",params:{enter_from:"",type:"",guide_type:"",platform:"client",group_id:"",channel_id:"",ug_channel_id:""}},addToDesktopClick:{eventName:"add_to_desktop_click",params:{enter_from:"",type:"",guide_type:"",platform:"client",group_id:"",channel_id:"",ug_channel_id:""}},addToDesktopClose:{eventName:"add_to_desktop_close",params:{type:""}}})},626805:function(e,t,n){n.d(t,{h:function(){return Z}});var r=n("629686"),o=n("402748");n("490629");var i=n("320165"),a=n("101199"),s=n("391948"),l=n("469935"),c=n.n(l),u=n("477667"),d=n("565850"),f=n("589056"),p=n("797705");n("374954"),n("706056"),n("374285"),n("566071"),n("759943"),n("414931");var _=n("350856"),g=n.n(_),h=n("333047"),v=n("988805"),m=n("601034"),y=n("419172"),E=n("767666"),w=n("264104"),T=n("345099"),O=n("321042"),b=n("941285"),S=n("39765"),D=n("746517"),P=n("983218"),R=n("526867");let M=(e,t)=>{let n=[];for(let r=0;r{var n;return(null==e?void 0:e.uid)===(null===(n=t[r])||void 0===n?void 0:n.uid)})&&n.push(t[r]);return n};function I(e){return(0,i.jsx)("div",{className:e.className,"data-e2e":"user-fans-footer",children:e.children})}function C(e){let{activeTab:t,dispatch:n,refContainer:s,currentUserInfo:l,isSelf:c,userList:u,setUserList:d,currentUserUid:f,refNoMoreText:_,sortType:C,refIsLoadingShow:A,abtestData:x,tabFollowerCount:N,searchVal:L,searchList:k,setSearchList:F,selfInfo:j}=e,U=t===p.OK.follower&&!c&&N>1e4,H=(0,a.useRef)(!1),W=(0,a.useRef)(0),B=(0,a.useRef)(0),Q=(0,a.useRef)(0),X=(0,a.useRef)(c&&t===p.OK.following),G=(0,a.useRef)(null),V=(0,a.useRef)(!0),Y=(0,a.useRef)(!1),K=(0,a.useRef)(""),[Z,z]=(0,a.useState)(!1),q=t===p.OK.follower?T._C:T.$9,$=(0,a.useRef)(0),J=(0,a.useRef)(0),ee=(0,a.useRef)(""),et=()=>U?3:X.current?C:2,en=(0,a.useRef)(et()),er=(0,a.useCallback)(async()=>{if(!V.current||!0===H.current)return;H.current=!0,K.current="",_.current="";let{uid:e,secUid:r}=l;try{let o=await q({sec_user_id:r,user_id:e,offset:W.current,max_time:B.current,min_time:Q.current,source_type:en.current});!1===o.recHasMore&&!X.current&&(en.current=1),W.current=o.offset||0,t===p.OK.following?(1===en.current&&(B.current=o.minTime||0),3===en.current&&(Q.current=o.maxTime||0)):B.current=o.minTime||0,U&&(B.current=o.maxTime||0,en.current=3),V.current=o.hasMore||!1,o.hotsoonText?(_.current=o.hotsoonText,Y.current=!0):!o.hasMore&&(_.current="暂时没有更多了"),H.current=!1,!o.hasMore&&(A.current=!1),0===o.statusCode?(ee.current=o.logPb.impr_id,d(e=>[...e,...M(e,o.followList)])):(o.statusMsg&&(K.current=o.statusMsg),Number(o.statusCode)===h.ERROR_CODE.ERROR_USER_UNLOGIN&&(0,D.default)({headerText:`登录后查看${t===p.OK.follower?"粉丝":"关注"}列表`,enterMethod:t===p.OK.follower?"fans_list":"following",success:()=>{n({type:"updateUserInfo"})}}),d([]))}catch(e){throw e}},[q,U]),eo=(0,a.useCallback)(g()(async e=>{try{$.current=Date.now();let n=await (0,w.nf)({count:100,business_id:90062,query:e});if(J.current=Date.now(),z(!1),null==n?void 0:n.userList){let i=null==n?void 0:n.userList.filter(e=>t===p.OK.following?[v.$u.Followed,v.$u.FollowEach].includes(e.followStatus):e.followerStatus===v.z5.Followed).map(t=>{let n=(null==t?void 0:t.remarkName)||(null==t?void 0:t.nickname),i=RegExp(e,"i"),a=i.exec(n),s=i.exec(null==t?void 0:t.uniqueId),l=a&&(null==a?void 0:a.index)===0?[a[0],n.slice(a.index+(null==e?void 0:e.length))]:null,c=s&&(null==s?void 0:s.index)===0?[s[0],null==t?void 0:t.uniqueId.slice(s.index+(null==e?void 0:e.length))]:null;return(0,o._)((0,r._)({},t),{selectedName:l,selectedUniqueId:c})});F(i),R.Z.sendLog("searchResultShow",{enter_from:(0,m.yW)(),tab_name:t===p.OK.follower?"fans_lish":"follow_lish",search_keyword:e})}else F([]);R.Z.sendLog("search",{enter_from:(0,m.yW)(),tab_name:t===p.OK.follower?"fans_lish":"follow_lish",search_keyword:e,is_success:(null==n?void 0:n.statusCode)===0?1:0,duration:J.current-$.current,impr_id:null==n?void 0:n.log_pb})}catch(e){}},300,{trailing:!0}),[t]);(0,a.useEffect)(()=>{L?(z(!0),eo(L)):F([])},[L,eo]),(0,a.useEffect)(()=>{V.current=!0,X.current=c&&t===p.OK.following,en.current=et(),B.current=0,Q.current=0,A.current=!0,W.current=0,(async()=>{await er(),u.length<=10&&V.current&&er()})()},[t,C,c]),(0,a.useEffect)(()=>{let e=s.current,t=G.current,n=g()(()=>{if(e&&t){let{bottom:n}=e.getBoundingClientRect(),{bottom:r}=t.getBoundingClientRect();n>=r-300&&er()}},250);return e&&t&&e.addEventListener("scroll",n),()=>{e&&t&&e.removeEventListener("scroll",n)}},[er]);let ei=(()=>{if(""===L){if(A.current)return(0,i.jsx)(P.gb,{className:"",text:""});if(!_.current)return null;else{if(u.length>0)return(0,i.jsx)("div",{children:_.current});{let e=Y.current?_.current:null;return(0,i.jsx)(S.H,{desc:e||K.current||`${c?"你":"TA"}还没有${t===p.OK.follower?"粉丝":"关注"}`,icon:(0,i.jsx)(y.Z,{})})}}}return(null==k?void 0:k.length)!==0||Z?Z?(0,i.jsx)(P.gb,{className:"",text:""}):null:(0,i.jsx)(S.H,{desc:"没有搜索到相关的内容",title:"搜索结果为空",icon:(0,i.jsx)(E.Z,{})})})();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{ref:G,children:[""===L&&u.map((a,s)=>(0,i.jsx)(b.O,(0,o._)((0,r._)({userInfo:a},e),{dispatch:n,activeTab:t,isSelf:c,currentUserUid:f,setUserList:d,abtestData:x,logId:ee.current,isSearch:!1,index:s,selfInfo:j}),a.secUid)),""!==L&&!Z&&k.map((a,s)=>(0,i.jsx)(b.O,(0,o._)((0,r._)({userInfo:a},e),{dispatch:n,activeTab:t,isSelf:c,currentUserUid:f,setSearchList:F,abtestData:x,logId:ee.current,searchVal:L,isSearch:!0,index:s,selfInfo:j}),a.secUid))]}),(0,i.jsx)(I,{className:O.default.footer,children:ei})]})}n("117232");var A=n("62525"),x=n("954543"),N=n("81683"),L=n("611311"),k=n("795653");function F(e){let{className:t,sortType:n,setSortType:r,setUserList:o,refIsLoadingShow:a}=e,s=e=>{if(R.Z.sendLog("changeFollowingOrder",{order_by:p.ER[e]}),e!==n)a.current=!0,r(e),o([])},l=[{title:"综合排序",id:"recommend",onclick:()=>s(p.ER.recommend)},{title:"最近关注",id:"latest",onclick:()=>s(p.ER.latest)},{title:"最早关注",id:"earliest",onclick:()=>s(p.ER.earliest)}];return(0,i.jsx)("ul",{className:t,children:l.map(e=>(0,i.jsx)("li",{className:c()({[x.default.sortActive]:p.ER[n]===e.id}),children:(0,i.jsx)("a",{id:e.id,onClick:e.onclick,children:e.title})},e.title))})}function j(e){let{type:t,changeType:n}=(0,L.P)(),{sortType:r,setSortType:o,setUserList:a,isSelf:s,refIsLoadingShow:l}=e,u=(0,k.O)(),d={[p.ER.earliest]:"最早关注",[p.ER.latest]:"最近关注",[p.ER.recommend]:"综合排序"};return(0,i.jsxs)("div",{className:c()(x.default.sort,{[x.default.isOhosSort]:u}),onMouseEnter:e=>{"SPAN"===e.target.tagName&&R.Z.sendLog("clickFollowingOrderButton",{enter_from:s?"personal_homepage":"others_homepage",enter_method:"follow_list"}),n("active")},onMouseLeave:()=>{n()},children:[(0,i.jsx)(A.Z,{className:x.default.sortIcon}),(0,i.jsx)(N.Z,{text:d[r]}),(0,i.jsx)(F,{className:c()({[x.default.sortList]:!!t}),sortType:r,setSortType:o,setUserList:a,refIsLoadingShow:l})]})}var U=n("843268"),H=n("409782"),W=n("615686"),B=n("624386"),Q=n("569511"),X=n("948243"),G=n("176449"),V=n("339089"),Y=n("414061");function K(e){let{title:t,followerCount:n,followersCountStr:s,followingCount:l,portalRef:_,isSelf:g,root:h,selfInfo:v,enterPosition:m,abtestData:y}=e,E=(0,a.useRef)(null),w=(0,a.useRef)(null),[T,O]=(0,a.useState)(!0),[b,S]=(0,a.useState)(t),[D,P]=(0,a.useState)(f.default.zoomIn),[R,M]=(0,a.useState)(p.ER.recommend),[I,A]=(0,a.useState)([]),[x,N]=(0,a.useState)(n),L=(0,a.useRef)(!0),[k,F]=(0,a.useState)(l),K=(0,a.useRef)(""),[Z,z]=(0,a.useState)(""),[q,$]=(0,a.useState)([]);(0,W.S)({activeTab:b,isSelf:g,enterPosition:m});let{isShowGuide:J,onShowGuide:ee,onAddFollowWidget:et,onCloseGuide:en}=(0,B.e)({type:"follow_list"});(0,a.useEffect)(()=>{J&&g&&b===p.OK.following&&ee()},[J,g,b]);let er=a.useCallback(()=>{P(f.default.zoomOut),setTimeout(()=>{O(!1),h.unmount(),_.remove()},300),Y.emit(Y.EVENT.followModalVisibleChange,!1)},[T]);return(0,a.useEffect)(()=>{let e=document.body.style.overflow;return document.body.style.overflow="hidden",Y.emit(Y.EVENT.followModalVisibleChange,!0),()=>{document.body.style.overflow=e}},[]),(0,i.jsx)(X.Z,{className:c()(D,f.default.modalContainer),closeBtn:!0,onCancel:er,children:(0,i.jsxs)("div",{className:f.default.modalContentWrap,children:[(0,i.jsxs)("div",{className:f.default.modalWrap,ref:w,children:[(0,i.jsx)(U.x,(0,o._)((0,r._)({},e),{activeTab:b,setActiveTab:S,setUserList:A,refNoMoreText:K,tabFollowerCount:x,tabFollowerCountStr:g?"":s,tabFollowingCount:k,changeTab:()=>z(""),abtestData:y})),b===p.OK.follower&&(null==y?void 0:y.showFansIndexes)===1&&(0,i.jsx)(V.x,{tabFollowerCount:x,enterPosition:m}),g&&(0,i.jsx)(H.M,{value:Z,onChange:z,hasSearch:!0,placeholder:"搜索用户名字或抖音号",activeTab:b,children:b===p.OK.following&&(0,i.jsx)(j,{sortType:R,setSortType:M,refIsLoadingShow:L,setUserList:A,isSelf:g})}),(0,i.jsx)("div",{ref:E,className:c()(f.default.contentWrap,{[f.default.selfFollowing]:g&&b===p.OK.following&&0===I.length,[f.default.center]:0===I.length}),"data-e2e":"user-fans-container",children:(0,i.jsx)(C,(0,o._)((0,r._)({},e),{activeTab:b,refContainer:E,userList:I,setUserList:A,refNoMoreText:K,refIsLoadingShow:L,tabFollowerCount:x,tabFollowingCount:k,setTabFollowingCount:F,setTabFollowerCount:N,sortType:R,searchVal:Z,searchList:q,setSearchList:$,selfInfo:v}))}),(0,i.jsx)("div",{className:f.default.mask})]}),!!(J&&g&&b===p.OK.following)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Q.i,{}),(0,i.jsx)("div",{className:f.default.bottomTipWrap,children:(0,i.jsxs)("div",{className:f.default.tips,children:[(0,i.jsx)("div",{className:f.default.left,children:"添加关注挂件,便捷查看关注动态"}),(0,i.jsxs)("div",{className:f.default.right,children:[(0,i.jsxs)("div",{className:f.default.btnWrap,onClick:et,children:[(0,i.jsx)(G.Z,{width:12,height:12,src:d.Z,color:"#A9AAB7",className:f.default.addIcon}),(0,i.jsx)("div",{className:f.default.btnText,children:"添加"})]}),(0,i.jsx)(G.Z,{width:16,height:16,src:u.Z,color:"#A9AAB7",className:f.default.closeIcon,onClick:()=>en(!0)})]})]})})]})]})})}function Z(e,t){let n=document.createElement("div"),a=document.body;t?(a=t,null==t||t.appendChild(n)):null==a||a.appendChild(n);let l=(0,s.createRoot)(n);l.render((0,i.jsx)(K,(0,o._)((0,r._)({toastParent:a,portalRef:n},e),{root:l})))}},289257:function(e,t,n){n.d(t,{Y:function(){return O}});var r=n(320165),o=n(101199),i=n(469935),a=n.n(i),s=n(391302),l=n(46892),c=n(759894),u=n(103680),d=n(414061),f=n(601034),p=n(492593),_=n(239183),g=n(393616),h=n(272627),v=n(578795),m=n(347816),y=n(990490),E=n(350746),w=n(234150),T=n(176449);let O=o.memo(function(e){let{secUid:t,isLogin:n,success:o,abtest:i,isSpa:O,hide:b}=e,{myOrder:S,myAppointment:D}=m.jX,P=(0,y.U)(()=>{null==o||o()},"登录即可查看“我的订单”",{enter_method:"ecom_order"}),R=(0,y.U)((0,y.T)(o,"my_appointment",!0),"登录即可查看“我的预约”",{enter_method:"panel_appointment"}),M=(0,s.sF)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:p.default.actionContainer,children:[(0,r.jsx)("div",{className:a()(p.default.homePageButtonPannel,p.default.btnReverse),children:(0,r.jsxs)(w.a,{target:"_self",rel:"noopener noreferrer",href:M?"javascript:void(0)":(0,l.HC)("self","showTab=my_appointment&enter_method=personal_panel"),className:p.default.homePageButtonContainer,spa:O,onClick:e=>{if(E.Z.sendLog("personalPanelClick",{enter_from:(0,c.vM)(),click_position:"my_appointment",menu:"我的预约",is_personal_panel_video:0}),null==b||b(),n){if(M)return u.asyncCall("navigate",{url:"https:"+(0,l.HC)("self","showTab=my_appointment&enter_method=personal_panel")});O&&d.emit(d.EVENT.userChangeTab,{tab:"my_appointment"})}else e.preventDefault(),R(e)},children:[(0,r.jsx)(T.Z,{className:p.default.myOrderIcon,width:24,height:24,src:v.Z,viewBox:"0 0 24 24"}),(0,r.jsx)("p",{className:p.default.title,children:D.text})]})}),(0,r.jsx)(_.Qj,{iconSvg:h.Z,text:S.text,url:"",className:p.default.myOrderIcon,onClick:e=>{E.Z.sendLog("personalPanelClick",{enter_from:(0,c.vM)(),menu:"我的订单"}),E.Z.sendLog("clickMyEcomOrder",{enter_from:(0,f.yW)()}),n?(M&&d.emit(d.EVENT.followModalVisibleChange,!0),(0,g.S)({secUid:t})):P(e)}})]})})})},907919:function(e,t,n){n.r(t);var r=n(629686);n(679308);var o=n(320165),i=n(101199),a=n(524053);let s=()=>n.e("78725").then(n.bind(n,478917)),l=(0,i.forwardRef)(function(e,t){return(0,o.jsx)(a.o,(0,r._)({innerRef:t,id:"island_27255",load:s},e))});t.default=l},146439:function(e,t,n){n.d(t,{D:function(){return W}});var r=n(629686),o=n(811603);n(490629);var i=n(320165),a=n(101199),s=n(469935),l=n.n(s),c=n(48795),u=n(243392),d=n.n(u),f=n(953851),p=n(103680),_=n(250532),g=n(414061),h=n(601034),v=n(499059),m=n(759894),y=n(269788),E=n(936052),w=n(548602),T=n(670133),O=n(826673),b=n(342087),S=n(5729),D=n(631793),P=n(952974),R=n(177815),M=n(518523),I=n(362198),C=n(302433),A=n(162978),x=n(771812),N=n(655453),L=n(411534),k=n(316213),F=n(935551),j=n(516669),U=n(111403);function H(e){var{src:t,className:n,click:s}=e,c=(0,o._)(e,["src","className","click"]);let u=(0,a.useContext)(L.R);return(0,i.jsx)(k.z,(0,r._)({svg:t,className:l()({[C.default.activity]:u.activityName,[C.default[u.activityName]]:u.activityName,[C.default.transparent]:u.transparent&&!(null==u?void 0:u.userUiStyle),[C.default.isVsTabTransMore]:u.isVsTransmode,[n]:!!n}),onClick:s,needRenderInSSR:!0},c))}let W=e=>{let{osInfo:t,abTestData:n,isLogin:r,landingPage:o,hideDivider:s}=e,{isMaximized:u}=(0,A.a)(),{isClientTop:L}=(0,F.v)(),[k,W]=(0,a.useState)(!1),[B,Q]=(0,a.useState)(0),X=(0,a.useRef)(0),{isMac:G,isOhos:V}=f.a.wrapClientOsInfo(!0,t);(0,a.useRef)(null);let Y=(0,a.useRef)(null),K=(0,a.useRef)(!1),[Z,z]=(0,a.useState)(!1),{tryOpen:q}=(0,U.S)();(0,x.Z)({abTestData:n}),(0,M.aF)();let{isShowMini:$,showMiniTip:J,refTipText:ee,setShowTipWithTask:et}=(0,N.Z)({abTestData:n,isLogin:r,landingPage:o});(0,a.useEffect)(()=>{let e=async(e,t)=>{let{data:n}=t;Q(e=>{var t;let r=null==n?void 0:null===(t=n.page)||void 0===t?void 0:t.miniMizeToTray;return d()(r)&&r!==e?r:e})},t=p.on("PAGE_STORE_CHANGE",e);return()=>{null==t||t()}},[]),(0,a.useEffect)(()=>(k?(0,_.o)({pauseCustomShortcut:!0,pauseGlobalShortcut:!0,pausePlayControlShortcut:!0},"MinimizeGuide"):(0,_.m)("MinimizeGuide"),()=>{(0,_.m)("MinimizeGuide")}),[k]);let en=(0,a.useCallback)(async()=>{try{await q({friendWorkNoticeStyle:null==n?void 0:n.friendWorkNoticeStyle})?z(!0):p.invoke("WINDOW_CLOSE")}catch(e){p.invoke("WINDOW_CLOSE")}},[q]),er=(0,a.useCallback)(async e=>{if(z(!1),e)try{await p.invoke("SET_AUTO_START",{data:!0})}catch(e){}setTimeout(()=>{p.invoke("WINDOW_CLOSE")},200)},[]),eo=(0,a.useCallback)(()=>{z(!1)},[]),ei=(0,a.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;p.invoke("SET_MINIMIZE_TO_TRAY",{data:e}),2===e?(g.emit(g.EVENT.changeMinWindows,{event:"open",isMiniWin:!0,clickMethod:"default",source:"minimize"}),I.Z.sendLog("minimize_app",{action:"small_window"})):p.invoke("WINDOW_MIN")},[]);(0,a.useCallback)(()=>{W(!1),ei(B);I.Z.sendLog("minimize_small_window_panel_click",{enter_from:(0,h.yW)(),action:{2:1,0:2,1:3}[B]})},[B]),(0,a.useCallback)(()=>{W(!1),ei(X.current),I.Z.sendLog("minimize_small_window_panel_click",{enter_from:(0,h.yW)(),action:4})},[]);let ea=(0,a.useCallback)(()=>{p.invoke("WINDOW_MIN")},[]),es=(0,a.useCallback)(async()=>{p.invoke("WINDOW_MAX")},[]),el=(0,a.useCallback)(()=>{p.invoke("SET_ALWAYS_ON_TOP",{data:!L}),v.Le.setConfig(v.gI.IsClientTopMode,!L),I.Z.sendLog("general_window_ops",{action:L?"cancel_pin":"pin",enter_from:(0,m.mo)()})},[L]);return(0,a.useEffect)(()=>{K.current=v.Le.getConfig(v.gI.IsMiniWin);let e=g.listen(g.EVENT.changeMinWindows,e=>{let{isMiniWin:t}=e;K.current=t});return()=>e()},[]),(0,a.useMemo)(()=>"小窗模式"===ee.current?C.default.tip2:C.default.tip,[n,J]),(0,i.jsxs)("div",{className:l()(C.default.windowBar),children:[!s&&(0,i.jsx)("div",{className:C.default.devider}),(0,i.jsx)("div",{className:l()(C.default.toolItem,C.default.toolTopItem),children:(0,i.jsx)(c.Tooltip,{content:L?"取消置顶":"窗口置顶",position:"bottom",getPopupContainer:()=>Y.current||document.body,children:(0,i.jsx)("div",{ref:Y,children:(0,i.jsx)(H,{className:l()(C.default.fillTypeSvg,L&&C.default.toolTopFixed),src:L?(0,i.jsx)(y.Z,{}):(0,i.jsx)(E.Z,{}),click:el,"data-e2e":"header-on-top"})})})}),V&&(0,i.jsxs)("div",{className:C.default.toolItem,children:[(0,i.jsx)(H,{"data-e2e":"header-maximize",className:C.default.fillTypeSvg,src:u?(0,i.jsx)(w.Z,{}):(0,i.jsx)(T.Z,{}),click:es}),(0,i.jsx)(H,{"data-e2e":"header-minimize",className:C.default.fillTypeSvg,src:(0,i.jsx)(O.Z,{}),click:ea}),(0,i.jsx)(H,{"data-e2e":"header-close",className:C.default.fillTypeSvg,src:(0,i.jsx)(b.Z,{}),click:en})]}),!G&&!V&&(0,i.jsxs)("div",{className:C.default.toolItem,children:[(0,i.jsx)(H,{"data-e2e":"header-minimize",className:C.default.fillTypeSvg,src:(0,i.jsx)(S.Z,{}),click:ea}),(0,i.jsx)(H,{"data-e2e":"header-maximize",className:C.default.fillTypeSvg,src:u?(0,i.jsx)(D.Z,{}):(0,i.jsx)(P.Z,{}),click:es}),(0,i.jsx)(H,{"data-e2e":"header-close",className:C.default.fillTypeSvg,src:(0,i.jsx)(R.Z,{}),click:en})]}),(0,i.jsx)(j.N,{visible:Z,onConfirm:er,onCancel:eo,onClose:eo})]})}},114544:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(101199),o=n(426038),i=n(409250),a=n(350746);function s(){let e=(0,r.useRef)(null),t=(0,r.useRef)(null);(0,r.useEffect)(()=>{var n,r;let s=()=>e.current&&clearTimeout(e.current),l=()=>t.current&&clearTimeout(t.current),c=t=>{let n=void 0!==t?"hidden"!==t:i.Q.getItem({sKey:o.CookieKeys.IsDouyinActive});a.Z.sendLog("webOnlineTime",{is_visible:`${n?1:0}`},!1),s(),e.current=setTimeout(c,18e5)},u=()=>{l(),t.current=setTimeout(()=>{c()},1e3)},d=()=>c("hidden");return c(),null===(n=window)||void 0===n||n.addEventListener("beforeunload",d),null===(r=document)||void 0===r||r.addEventListener("visibilitychange",u),()=>{var e,t;s(),l(),null===(e=window)||void 0===e||e.removeEventListener("beforeunload",d),null===(t=document)||void 0===t||t.removeEventListener("visibilitychange",u)}},[])}},938467:function(e,t,n){n.d(t,{T:function(){return p}}),n(992871),n(490629),n(112459),n(759943);var r=n(732979),o=n.n(r),i=n(101199),a=n(426038),s=n(279549),l=n(499059),c=n(414061),u=n(409250),d=n(335924);let f=async e=>{l.Le.setConfig(l.gI.WebUgChannelId,e),c.emit(c.EVENT.SetWebUgSource),u.Q.setItem(a.CookieKeys.WebUgChannelId,e,new Date(o()().add(90,"day").valueOf()))};function p(e){let{ttwidCreateTime:t}=e;(0,i.useEffect)(()=>{(async()=>{let e=u.Q.getItem({sKey:a.CookieKeys.WebUgChannelId});if(e){f(e);return}let n=new URLSearchParams(window.location.search).get("ug_source")||(0,d.Rs)("ug_source")||"";if(!!n){if(0===t||t>=o()().subtract(5,"minute").unix()){let e=await (0,s.A)({key:"source",value:n});if(!1===e)return;f(e.channel_id);return}}})()},[t])}},536065:function(e,t,n){n.d(t,{S:function(){return i},b:function(){return o}});let r=0;function o(){r=1}function i(){return r}},369263:function(e,t,n){n.d(t,{n:function(){return s}});var r=n(320165);n(101199);var o=n(867564),i=n(168028),a=n(176449);let s=e=>{let{ref:t,className:n,onClick:s}=e;return(0,r.jsx)("div",{className:n,onClick:s,children:(0,r.jsx)(a.Z,{width:24,height:24,className:i.default.icon,src:o.Z,viewBox:"0 0 24 24"})})}},983218:function(e,t,n){n.d(t,{VF:function(){return d},f:function(){return u},gb:function(){return l}}),n(490629);var r=n(320165);n(101199);var o=n(469935),i=n.n(o),a=n(933524),s=n(870038);function l(e){let{className:t,text:n,textClassName:o,style:a}=e;return(0,r.jsxs)("div",{className:i()(s.default.container,t,"HideInLynxClassName"),style:a,children:[(0,r.jsx)("div",{className:s.default.loading}),n&&(0,r.jsx)("div",{className:i()(s.default.text,o),children:n})]})}function c(){return(0,r.jsx)("div",{className:i()(s.default.loadingV2,"HideInLynxClassName"),children:(0,r.jsx)("img",{className:s.default["step-img"],src:"https://p-pc-weboff.byteimg.com/tos-cn-i-9r5gewecjs/a795fb49bcbcf8cb1c762a69d57aee48.png"})})}function u(e){let{className:t,text:n,textClassName:o,style:a}=e;return(0,r.jsxs)("div",{className:i()(s.default.container,t,"HideInLynxClassName"),style:a,children:[(0,r.jsx)(c,{}),n&&(0,r.jsx)("div",{className:i()(s.default.text,o),children:n})]})}function d(e){let{className:t,text:n,textClassName:o,style:l}=e,[c,u]=(0,a.Z)();return(0,r.jsxs)("div",{className:i()(s.default.container,t),style:l,ref:c,children:[(0,r.jsx)("div",{className:s.default.loading,style:u?{}:{display:"none"}}),n&&(0,r.jsx)("div",{className:i()(s.default.text,o),children:n})]})}},759423:function(e,t,n){n.r(t);var r=n(629686);n(679308);var o=n(320165),i=n(101199),a=n(524053);let s=()=>Promise.all([n.e("23634"),n.e("73286"),n.e("41162"),n.e("42422"),n.e("15799"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("42794"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("44077"),n.e("51705"),n.e("24882"),n.e("73481"),n.e("10771"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("64942"),n.e("26973"),n.e("74352"),n.e("82951")]).then(n.bind(n,456157)),l=(0,i.forwardRef)(function(e,t){return(0,o.jsx)(a.o,(0,r._)({innerRef:t,id:"island_1c7f6",load:s},e))});t.default=l},506888:function(e,t,n){n(374954),n(228983),n(759943);var r=n(320165),o=n(101199),i=n(469935),a=n.n(i),s=n(187087),l=n(710287),c=n(269312),u=n(907382);let d=e=>{let{words:t,matchClass:n}=e,{content:i,pos:a}=t,s=(0,o.useMemo)(()=>{if(0===a.length)return[i];let e=[];return a.forEach((t,o)=>{let s=0===o?0:a[o-1].end+1;e.push(i.slice(s,t.begin));let l=i.slice(t.begin,t.end+1);e.push((0,r.jsx)("span",{className:n,children:l},l))}),e.push(i.slice(a[a.length-1].end+1)),e},[i,a]);return(0,r.jsx)("span",{className:l.default.suggestionItemContext,children:s})};t.Z=e=>{let{sug:t,grayscale:n,keyboardNavIndex:i,className:f,abTestData:p,onMouseEnter:_,onMouseLeave:g,preventDefault:h,onSugClick:v,onSetSug:m}=e,y=(0,o.useRef)(),E=e=>{e.preventDefault(),e.stopPropagation()},{isDark:w}=(0,u.C)();return(0,o.useEffect)(()=>{var e;return null===(e=y.current)||void 0===e||e.addEventListener("wheel",E),()=>{var e;null===(e=y.current)||void 0===e||e.removeEventListener("wheel",E)}},[]),(0,r.jsx)("div",{className:a()(f,l.default.suggestionContainer,l.default.newContainer,{isLight:!!((null==p?void 0:p.newThemeColor)&&!w)}),children:(0,r.jsx)("div",{className:a()(l.default.suggestion,{[l.default.grayscale]:n}),onMouseDown:h,ref:y,children:t.sugList.slice(0,c.g2).map((e,t)=>(0,r.jsxs)("div",{"data-index":t,"data-text":e.content,"data-isrichsug":e.isRichSug?1:0,onClick:v,className:a()(l.default.suggestionItem,{[l.default.keyboardSelected]:t===i}),children:[(0,r.jsx)(d,{words:e,matchClass:l.default.queryMatch}),(0,r.jsx)("div",{className:"icon","data-text":e.content,onClick:m,children:(0,r.jsx)(s.Z,{className:l.default.svgHover})})]},`${e.content}${t}`))})})}},15973:function(e,t,n){var r=n(320165);n(101199);var o=n(469935),i=n.n(o),a=n(752054);let s=e=>{let{word:t}=e;return(0,r.jsx)("div",{className:a.default.underInboxWordText,children:t})};t.Z=e=>{let{wordList:t=[],onUnderInboxWordClick:n,customProps:o,isOmitLastWord:l,abTestData:c}=e;return(0,r.jsx)("div",{className:i()(a.default.container,{[a.default.activity]:null==o?void 0:o.isActivity,[null===a.default||void 0===a.default?void 0:a.default[null==o?void 0:o.activityName]]:null==o?void 0:o.activityName,[a.default.underInboxContainerOpt]:null==c?void 0:c.underInboxOpt}),children:t.map((e,o)=>{var u;let d="2"===e.words_type,f="10"===e.words_type,p=o===t.length-1;return(0,r.jsxs)("div",{className:a.default.item,children:[0!==o&&(0,r.jsx)("div",{className:a.default.divider}),(0,r.jsxs)("div",{className:i()(a.default.textContainer,{[a.default.textContainerOpt]:null==c?void 0:c.underInboxOpt}),"data-text":e.word,"data-index":o,"data-id":e.id,onClick:n,children:[(0,r.jsx)(s,{word:e.word}),!(p&&l)&&(d||f)&&(0,r.jsx)("div",{className:i()(a.default.guessListItemIcon,{[a.default.guessListItemIconHot]:d,[a.default.guessListItemIconLive]:f})})]})]},`bottom_${null!==(u=e.id)&&void 0!==u?u:""}_${o}`)})})}},412294:function(e,t,n){n.d(t,{c2:function(){return o},d3:function(){return i},ob:function(){return r}});let r={SUGGESTION_SHOW_LIMIT:10,SEARCHBAR_HOT_LIST_LIMIT:5,SEARCHBAR_HOT_LIST_OPT_LIMIT:10,GUESS_LIST_COUNT:8,CAROUSEL_START_INTERVAL:2e3,CAROUSEL_CONTINUE_INTERVAL:5500,CAROUSEL_ITEM_HEIGHT:36,GUESS_BUSINESS_ID:30068,BOX_BUSINESS_ID:30069,BOTTOM_WORD_LIMIT:999,INSIDE_WORD_LIMIT:3,UNDER_BOX_MORE_LIMIT:20,UNDER_INBOX_WINDOW_HEIGHT_THRESHOLD:616},o=["main_page","discover","friend","follow","live","hot","vs","recommend","personal_homepage"],i={enterSearch:{eventName:"enter_search",params:{enter_from:"",enter_from_second:"",click_method:""}},searchAnti:{eventName:"search_anti_rpt",params:{anti_id:"",anti_query_input_time:0,anti_search_press_duration:0,anti_search_viewport:""}},sugShow:{eventName:"search_sug",params:{impr_id:"",search_keyword:"",search_type:"",sug_keyword:"",action_type:"show",sug_type:""}},sugClick:{eventName:"search_sug",params:{impr_id:"",search_keyword:"",search_type:"",sug_keyword:"",action_type:"click",sug_type:""}},trendingShow:{eventName:"trending_show",params:{log_pb:{},impr_id:"",search_id:"",words_num:0,words_source:"sug",raw_query:"",rank:-1,search_position:""}},trendingWordsShow:{eventName:"trending_words_show",params:{impr_id:"",search_id:"",enter_from:"",words_source:"sug",words_position:0,words_content:"",words_num:0,raw_query:"",rank:-1,search_position:"",query_id:"",group_id:"",sug_type:"",page_name:"",element_name:""}},trendingWordsClick:{eventName:"trending_words_click",params:{impr_id:"",words_source:"sug",words_position:0,enter_from:"",words_content:"",raw_query:"",words_num:0,rank:-1,search_position:"",query_id:"",group_id:"",sug_type:"",page_name:"",element_name:""}},historyClick:{eventName:"trending_words_click",params:{enter_from:"",words_source:"search_history",rank:-1,words_num:"0",words_position:"0",words_content:"",page_name:"",element_name:""}},hotWordClick:{eventName:"trending_words_click",params:{impr_id:"",enter_from:"",words_source:"hot_search_board",rank:-1,words_num:"0",words_position:"0",words_content:"",group_id:"",page_name:"",element_name:""}},historyShow:{eventName:"trending_words_show",params:{enter_from:"",words_source:"search_history",rank:-1,words_num:"0",words_position:0,words_content:"",page_name:"",element_name:""}},hotWordShow:{eventName:"trending_words_show",params:{impr_id:"",enter_from:"",words_source:"hot_search_board",rank:-1,words_num:"0",words_position:0,words_content:"",group_id:""}},guessWordShow:{eventName:"trending_words_show",params:{impr_id:"",enter_from:"",words_source:"recom_search",rank:-1,words_num:"0",words_position:0,words_content:"",group_id:"",page_name:"",element_name:""}},guessWordClick:{eventName:"trending_words_click",params:{impr_id:"",enter_from:"",words_source:"recom_search",rank:-1,words_num:"0",words_position:0,words_content:"",group_id:"",page_name:"",element_name:""}},clearButtonClick:{eventName:"clear_search_keyword",params:{enter_from:""}},searchSugLoadPerformance:{eventName:"search_sug_load_performance",params:{impr_id:"",search_type:"",sug_keyword:"",words_num:0,sug_fetch_duration:0,sug_render_duration:0,enter_from:""}},relatedTrendingShow:{eventName:"trending_show",params:{words_num:"",words_source:"related_search",raw_query:"",rank:0,search_position:"general"}},relatedWordsShow:{eventName:"trending_words_show",params:{words_source:"related_search",words_position:0,words_content:"",raw_query:"",rank:0,search_position:"general",query_id:"",group_id:"",sug_type:""}},relatedWordsClick:{eventName:"trending_words_click",params:{words_source:"related_search",words_position:0,words_content:"",raw_query:"",rank:0,search_position:"general",query_id:"",group_id:"",sug_type:""}},recomSearchChangeButtonShow:{eventName:"recom_search_change_button_show",params:{}},recomSearchChangeButtonClick:{eventName:"recom_search_change_button_click",params:{}},historyFoldButtonShow:{eventName:"history_fold_button_show",params:{}},historyFoldButtonClick:{eventName:"history_fold_button_click",params:{}}}},768459:function(e,t,n){n.d(t,{C:function(){return r.C},_:function(){return r._}});var r=n(87897)},916046:function(e,t,n){n.d(t,{B2:function(){return p},Tc:function(){return f},gg:function(){return d}});var r=n(629686),o=n(402748),i=n(426038),a=n(709705),s=n(386206);let l=()=>{let e=(0,a.$o)(i.LocalStorageKeys.AiRelatedCardAutoOpenState);return e&&"object"==typeof e?e:{}},c=e=>{(0,a.qQ)(i.LocalStorageKeys.AiRelatedCardAutoOpenState,e)},u=e=>e&&l()[e]||{},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();if(!e)return!1;let{suppressUntil:n}=u(e);return!!n&&!(t>=n)&&!0},f=function(e){if(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),!e)return;let t=(0,s.B)(),n=l(),i=n[e]||{},a=(0,o._)((0,r._)({},i),{lastSearchDayStart:t});i.pendingCloseDayStart===t&&7===i.suppressMode&&(a.suppressMode=1,a.suppressUntil=(0,s.Ns)()),n[e]=a,c(n)},p=e=>{if(!e)return;let t=(0,s.B)(),n=(0,s.Ns)(),i=l(),a=i[e]||{},u=a.lastSearchDayStart===t?1:7;i[e]=(0,o._)((0,r._)({},a),{lastCloseDayStart:t,pendingCloseDayStart:t,suppressMode:u,suppressUntil:1===u?n:t+6048e5}),c(i)}},676474:function(e,t,n){n.d(t,{S:function(){return c}}),n(706056),n(679308);var r=n(101199),o=n(746517),i=n(547352),a=n(426038);function s(){return Date.now()}function l(){try{let e=cookies.getItem({sKey:a.CookieKeys.SearchUnLoginPvCurrDay});if(e&&e.date&&e.count)return e}catch(e){cookies.removeItem(a.CookieKeys.SearchUnLoginPvCurrDay)}return{date:s(),count:0}}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default",c=(null==e?void 0:e.forceLoginHourly)||0,u=(null==e?void 0:e.forceLoginDaily)||0,d=c||u,f=!!c,p=(null==d?void 0:d[n])||(null==d?void 0:d.default),_=(null==p?void 0:p.force_login_search)||0,g=_>=0,h=(0,r.useCallback)(e=>!f&&!(0,i.KC)(e)||f&&!(0,i.fu)(e),[f]),v=(0,r.useCallback)(()=>{if(t)return;let e=s(),n=l();h(n.date)?(n.date=e,n.count=1):n.count+=1,!function(e){try{cookies.setItem(a.CookieKeys.SearchUnLoginPvCurrDay,e,31536e6)}catch(e){}}(n)},[t,f]),m=(0,r.useCallback)(()=>{let e=l();return h(e.date)?0:e.count},[f]),y=(0,r.useCallback)(()=>{if(t)return!1;try{if(_<0)return!1;return m()>=_}catch(e){return!1}},[m,t,_]),E=(0,r.useCallback)(e=>{let{showClose:t=!1}=e||{};return new Promise(e=>{(0,o.default)({headerText:"登录后即可搜索更多精彩视频",enterMethod:"search_force_login",showFeedback:!0,showClose:t,success:()=>{e(!0)},onClose:()=>{e(!1)}})})},[]),w=(0,r.useCallback)(e=>{if(!g||t)return!1;return!!["normal_search","search_history","search_sug","recom_search","hot_search_board","search_bar_inner"].includes(e)||!1},[g,t]),T=(0,r.useCallback)(async(e,t)=>w(e)?(v(),y())?{recorded:!0,blocked:!0,loginSuccess:await E({showClose:t})}:{recorded:!0,blocked:!1}:{recorded:!1,blocked:!1},[w,v,y,E]);return{addUnLoginPvCurrDay:v,getUnLoginPvCurrDay:m,isReachForceLoginLimit:y,showForceSearchLogin:E,needRecordOrBlock:w,recordAndBlockIfNeed:T}}},694117:function(e,t,n){n.d(t,{B:function(){return s}});var r=n(101199),o=n(638052),i=n(499059),a=n(414061);let s=()=>{(0,r.useEffect)(()=>{let e=new XMLHttpRequest;e.open("GET","https://lf3-static.bytednsdoc.com/obj/eden-cn/666eh7nuhfvhpebd/douyin_web/index-ad-22.js",!0),e.send(),e.onreadystatechange=function(){if(4===e.readyState)200===e.status||(o.logInstance.sendLog("adBlock",{detect_method:"xhr"}),a.emitAfterListen(a.EVENT.adBlockTipShow),i.Le.setConfig(i.gI.AdBlock,{needFilterAd:!0}))}},[])}},691227:function(e,t,n){n.d(t,{_:function(){return s}}),n(490629);var r=n(101199),o=n(528937),i=n(66948),a=n(707246);let s=e=>{let{abTestData:t,initData:n}=e||{},s=(0,a.s6)(e=>e.setState),l=null==t?void 0:t.enableZustand,[c,u]=(0,r.useState)(n);return(0,r.useEffect)(()=>{(async()=>{let e=await o.get({key:i.TccKey.JingxuanActivity,defaultValue:[]});l?s({jingxuanActivity:e}):u(e)})()},[l]),{jingxuanActivity:c}}},869064:function(e,t,n){n.d(t,{o:function(){return l}}),n(374285),n(566071),n(759943),n(414931),n(14275),n(490629),n(706056);var r=n(101199),o=n(339808),i=n(345991),a=n(753556);let s=(e,t,n,r)=>{var o,a,s,l;if(null==r?void 0:r.isMobileSite)return!1;if(t){if(RegExp("^/user/self(/.*)?$").test(e))return(null===(l=window)||void 0===l?void 0:null===(s=l.TTE_ENV)||void 0===s?void 0:s.windowName)==="MULTI_WINDOW"||n;return!![...i.k6,"/preloadclient","/LynxLoading","/LynxModalVideo"].includes(e)||new RegExp(i.JO).test(e)}return!!(((null==r?void 0:r.isLivePage)||(null===(o=window)||void 0===o?void 0:o.location.host)==="live.douyin.com")&&/^\/[0-9|a-z|A-Z]{1,}.*/.test(e)||(null===(a=window)||void 0===a?void 0:a.location.host)==="www.douyin.com"&&/^\/live\/[0-9|a-z|A-Z]{1,}.*/.test(e))||new RegExp(i.jZ).test(e)},l=(e,t,n)=>{let i=(0,o.a)(),l=null==i?void 0:i.pathname,c=(0,a.j)();return{isHorizontalLayout:(0,r.useMemo)(()=>s(l,e,c,n),[l,e,c,n])}}},517211:function(e,t,n){n.d(t,{$:function(){return a}}),n(490629);var r=n(101199),o=n(528937),i=n(66948);let a=e=>{let{tccConfig:t}=e||{},[n,a]=(0,r.useState)((null==t?void 0:t.pc_app_download_config)||{});return(0,r.useEffect)(()=>{let e=!1;return(async()=>{let t=await o.get({key:i.TccKey.PcAppDownloadConfig,defaultValue:{}});!e&&a(t)})(),()=>{e=!0}},[]),{overseaAppDownloadConfig:n}}},399989:function(e,t,n){n.d(t,{O:function(){return o}});let r=!1,o={getIsSaasPopup(){var e;return r&&"/chat"!==window.location.pathname||!!(null===(e=window.abTestData)||void 0===e?void 0:e.imSaasPopup)},setIsSaasPopup(e){r=e}}},400949:function(e,t,n){n.d(t,{DJ:function(){return L}});var r=n(480333),o=n(629686),i=n(402748);n(706056),n(112459),n(759943),n(14275),n(490629),n(591964);var a=n(285406),s=n.n(a),l=n(793572),c=n.n(l),u=n(295207),d=n(687875),f=n(499059),p=n(618759),_=n(103680),g=n(414061),h=n(335948),v=n(661444),m=n(236785),y=n(771410),E=n(540129),w=n(250146),T=n(55938),O=n(206698),b=n(671571),S=n(762844);let{Q:D,F:P,U:R,Slash:M}=d.bf,I={close:{code:[D.code],combinationKey:[S.c.Shift]},search:{code:[P.code],combinationKey:[S.c.Shift]},help:{code:[M.code],combinationKey:[S.c.Shift]},miniWin:E.SHORTCUT_KEY.pip,multitaskWindow:{code:[D.code]}},C=(e,t)=>!t||e.metaKey===(null==t?void 0:t.includes(S.c.Meta))&&e.shiftKey===(null==t?void 0:t.includes(S.c.Shift))&&e.ctrlKey===(null==t?void 0:t.includes(S.c.Ctrl)),A=e=>{var t,n;let r=null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.tagName;return"INPUT"===r||"TEXTAREA"===r||(null==e?void 0:null===(n=e.target)||void 0===n?void 0:n.contentEditable)==="true"||!1},x=e=>{y.Z.report("pc_hot_key_click",e)},N=(e,t)=>{var n,r,o,i,a,s,l,c,d,y,E,S,D,P,R,M,I,N,L,k;if(A(e)||f.Le.getConfig(f.gI.IsAlreadyExsitReportModal))return;let{shortcut:F={},abtestData:j,userInfo:U}=t,H=(null==j?void 0:j.rmShortcutKeyList)||[];if((null==F?void 0:null===(r=F.close)||void 0===r?void 0:null===(n=r.code)||void 0===n?void 0:n.includes(e.code))&&C(e,null==F?void 0:null===(o=F.close)||void 0===o?void 0:o.combinationKey)&&!(null==H?void 0:H.includes("closePage"))){(0,p.DT)()?_.invoke("WINDOW_MIN"):(window.location.href="about:blank",window.close()),x({hot_key:`Shift + ${null==F?void 0:null===(D=F.close)||void 0===D?void 0:D.code}`,function:"closePage"});return}if((null==F?void 0:null===(a=F.multitaskWindow)||void 0===a?void 0:null===(i=a.code)||void 0===i?void 0:i.includes(e.code))&&!(e.shiftKey||e.metaKey||e.ctrlKey)&&!(null==H?void 0:H.includes("createMultitaskingWindow"))){if(null===(P=f.Le.getConfig(f.gI.IsInModalVideo))||void 0===P?void 0:P.isInModal)return;(0,p.DT)()&&(0,m.T)()&&(null===(R=window)||void 0===R?void 0:R.__multitaskingWindow__)&&(0,b.Q)(j,location.href,"hot_key"),x({hot_key:null==F?void 0:null===(M=F.multitaskWindow)||void 0===M?void 0:M.code,function:"createMultitaskingWindow"});return}if((null==F?void 0:null===(l=F.search)||void 0===l?void 0:null===(s=l.code)||void 0===s?void 0:s.includes(e.code))&&C(e,null==F?void 0:null===(c=F.search)||void 0===c?void 0:c.combinationKey)&&!(null==H?void 0:H.includes("search"))&&(g.emit(g.EVENT.focusSearch,{isFocus:!0}),x({hot_key:`Shift + ${null==F?void 0:null===(I=F.search)||void 0===I?void 0:I.code}`,function:"search"})),(null==F?void 0:null===(y=F.help)||void 0===y?void 0:null===(d=y.code)||void 0===d?void 0:d.includes(e.code))&&C(e,null==F?void 0:null===(E=F.help)||void 0===E?void 0:E.combinationKey)&&!(null==H?void 0:H.includes("showShortcutList"))&&((0,w.n5)({logParams:{clickMethod:"hot_key"},abTestData:j,userInfo:U}),x({hot_key:`Shift + ${null==F?void 0:null===(N=F.help)||void 0===N?void 0:N.code}`,function:"showShortcutList"})),(null==e?void 0:e.code)&&(null==F?void 0:null===(S=F.miniWin)||void 0===S?void 0:S.code)===(null==e?void 0:e.code)){let e=(0,p.DT)(),t=!(0,h.x)()&&/\/video\//.test(null===(L=location)||void 0===L?void 0:L.pathname)&&!(0,v.En)();if(!e||t)return;let{modalEnterFrom:n}=f.Le.getConfig(f.gI.IsInModalVideo)||{},r=T.e.activeScene===u.d.WebVideo;n===O.a.WatchLaterPip?r?g.emit(g.EVENT.closeWatchLaterPip):g.emit(g.EVENT.openWebMinWinInPlayer,{scene:"keyboard_u"}):(f.Le.getConfig(f.gI.IsMiniWin)?g.emit(g.EVENT.changeMinWindows,{event:"close",isMiniWin:!1,clickMethod:"hot_key"}):g.emit(g.EVENT.changeMinWindows,{event:"check",isMiniWin:!1,clickMethod:"hot_key"}),x({hot_key:null==F?void 0:null===(k=F.miniWin)||void 0===k?void 0:k.code,function:"miniWin"}))}},L=new class e{getAllActionList(){return Object.keys(I)}getCurrentActionList(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=c()(this.currentShortcutList,this.pauseList);return e?t:this.currentShortcutList}setConfig(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.config=(0,o._)({},this.config,e),t&&this.refresh()}register(e,t){this.currentShortcutList=e,t&&(this.config=t),this.registerGlobal(e)}pause(e){this.pauseList=[...this.pauseList,...e]}resume(e){this.pauseList=this.pauseList.filter(t=>!e.includes(t))}destroy(){let e=this.currentShortcutList,t=this.getShortcutList(e);e.forEach(e=>{var n,r;null===(r=t[e])||void 0===r||null===(n=r.onDestroy)||void 0===n||n.call(r)}),document.removeEventListener("keydown",this.globalKeyDownHandler)}getShortcutList(e){return null==e?void 0:e.reduce((e,t)=>(0,i._)((0,o._)({},e),{[t]:I[t]}),{})}handleGlobalKeyDown(e){return t=>{var n,r,i;let a=s()(e,this.pauseList),{pauseGlobalShortcut:l}=f.Le.getConfig(f.gI.PlayerShortcutConf)||{};if(l)return;let c=(0,o._)({},a);((null===(n=location.href)||void 0===n?void 0:n.includes("/follow/live"))||(null===(r=location.href)||void 0===r?void 0:r.includes("/root/live"))||(null===(i=location.href)||void 0===i?void 0:i.includes("live.douyin.com")))&&delete c.multitaskWindow,N(t,{shortcut:c,abtestData:this.config.abtestData,userInfo:this.config.userInfo})}}registerGlobal(e){let t=this.getShortcutList(e);e.forEach(e=>{var n,r;null===(r=t[e])||void 0===r||null===(n=r.onRegister)||void 0===n||n.call(r)}),this.globalKeyDownHandler=this.handleGlobalKeyDown(t),document.addEventListener("keydown",this.globalKeyDownHandler)}refresh(){this.destroy(),this.register(this.currentShortcutList)}constructor(){(0,r._)(this,"currentShortcutList",void 0),(0,r._)(this,"pauseList",void 0),(0,r._)(this,"config",void 0),(0,r._)(this,"globalKeyDownHandler",void 0),this.pauseList=[],this.currentShortcutList=[],this.config={}}}},888351:function(e,t,n){n.d(t,{K:function(){return l},n:function(){return s}});var r=n(629686),o=n(402748);n(117232);var i=n(46892),a=n(675403);let s=e=>{let{dark_normal:t,dark_mini:n,light_normal:r,light_mini:o,fallback_text:i=""}=e||{};return{DarkMini:{ActiveImageUrl:null==n?void 0:n.active_image,FirstShowImageUrl:null==n?void 0:n.normal_image,HoverActiveImageUrl:null==n?void 0:n.active_image,HoverImageUrl:null==n?void 0:n.hover_image,NormalImageUrl:null==n?void 0:n.normal_image},DarkNormal:{ActiveImageUrl:null==t?void 0:t.active_image,FirstShowImageUrl:null==t?void 0:t.normal_image,HoverActiveImageUrl:null==t?void 0:t.active_image,HoverImageUrl:null==t?void 0:t.hover_image,NormalImageUrl:null==t?void 0:t.normal_image},LightMini:{ActiveImageUrl:null==o?void 0:o.active_image,FirstShowImageUrl:null==o?void 0:o.normal_image,HoverActiveImageUrl:null==o?void 0:o.active_image,HoverImageUrl:null==o?void 0:o.hover_image,NormalImageUrl:null==o?void 0:o.normal_image},LightNormal:{ActiveImageUrl:null==r?void 0:r.active_image,FirstShowImageUrl:null==r?void 0:r.normal_image,HoverActiveImageUrl:null==r?void 0:r.active_image,HoverImageUrl:null==r?void 0:r.hover_image,NormalImageUrl:null==r?void 0:r.normal_image},fallbackText:i}},l=(e,t,n)=>{var s,l;let c=null==e?void 0:null===(l=e.map(e=>(0,o._)((0,r._)({},e),{stuff_detail:JSON.parse(null==e?void 0:e.stuff_detail)})))||void 0===l?void 0:null===(s=l.filter(e=>{var r,o,i;return(0,a.HB)({isMainland:t,country:n},{isMainlandEffect:!(null==e?void 0:null===(r=e.stuff_detail)||void 0===r?void 0:r.is_oversea),effectRegion:null==e?void 0:null===(o=e.stuff_detail)||void 0===o?void 0:o.region})&&!(null==e?void 0:null===(i=e.stuff_detail)||void 0===i?void 0:i.reuse_tab)}))||void 0===s?void 0:s.sort((e,t)=>{var n,r,o,i;return Number(null==t?void 0:null===(r=t.stuff_detail)||void 0===r?void 0:null===(n=r.new_tab)||void 0===n?void 0:n.weight)-Number(null==e?void 0:null===(i=e.stuff_detail)||void 0===i?void 0:null===(o=i.new_tab)||void 0===o?void 0:o.weight)});return(null==c?void 0:c.map(e=>{let{id:t,stuff_detail:n}=e;return{type:"image",value:`activity_${t}`,route:`/activity/${t}`,href:(0,i.Pn)(t),topicPageTabConfig:null==n?void 0:n.new_tab}}))||[]}},606959:function(e,t,n){n.d(t,{G:function(){return r}});let r={paramBf:.3,paramBp:.5,paramUpper:1.5,paramLower:.6,paramUpperBl:.7,paramVl1:.8,paramVl2:3,paramVlUpper:.9,paramVlLower:.7,bitrateUpper:2e6,bitrateLower:2e5,slidingWindowType:"by_weight",slidingWindowWeight:"size",slidingWindowWeightThreshold:2e7,slidingWindowCountThreshold:30,slidingWindowExtraction:"weighted_median",bitrateRange:[2e5,25e5],mode:"buffer-info",quality_filter:{}}},626117:function(e,t,n){n.d(t,{B:function(){return i}}),n(490629);var r=n(101199),o=n(94109);let i=e=>{let{awemeInfo:t}=e,[n,i]=(0,r.useState)((0,o.zJ)(t));return(0,r.useEffect)(()=>{i((0,o.zJ)(t))},[t]),{noPaidVideo:n}}},52834:function(e,t,n){n.d(t,{e7:function(){return _}}),n(490629),n(706056),n(117232),n(414931),n(968336);var r=n(855357),o=n(356336),i=n(902622);let a={[o.LoudnessAdjustStrategyOption.increase]:(e,t)=>e+t,[o.LoudnessAdjustStrategyOption.decrease]:(e,t)=>e-t,[o.LoudnessAdjustStrategyOption.changeTarget]:(e,t)=>t,[o.LoudnessAdjustStrategyOption.filter]:(e,t)=>e},s={[o.MultipleValueGetType.max]:e=>Math.max(...e),[o.MultipleValueGetType.min]:e=>Math.min(...e)},l=e=>{let t=e||{year:2026,days:[]},n=new Date,r=n.getFullYear(),o=null==t?void 0:t.year,i=`${n.getFullYear()}-${String(n.getMonth()+1).padStart(2,"0")}-${String(n.getDate()).padStart(2,"0")}`,a=n.getDay();if(r!==o)return a>=1&&a<=5;{let e=t.days.find(e=>e.date===i);return e?!e.isOffDay:a>=1&&a<=5}},c=(e,t,n,r)=>{var o,a;let s=i.G7,c=null==n?void 0:n.volume,u=JSON.parse((null==t?void 0:null===(a=t.video)||void 0===a?void 0:null===(o=a.meta)||void 0===o?void 0:o.volume_info)||"{}");if(!u)return{needChange:!1,targetLufs:s};let d=null==u?void 0:u.LoudnessRange;if(!d)return{needChange:!1,targetLufs:s};let f=function(e){try{let t=l(e)?0:1,n=new Date().getHours();if(isNaN(n))return{peak_time:0,low_time:0};let r=0;(1===t&&n>=8&&n<=19||0===t&&(11===n||12===n)||0===t&&n>=16&&n<=19)&&(r=1);let o=0;return(n>=0&&n<=5||23===n||1===t&&6===n)&&(o=1),{peak_time:r,low_time:o}}catch(e){return{peak_time:0,low_time:0}}}(r);return f?e.c+e.lr_q*Number(d)+f.peak_time*e.pt_q+e.lt_q*f.low_time+c*e.pv_q:{needChange:!1,targetLufs:s}},u=(e,t,n,l)=>{try{var u,d,f,p,_;let{isOpen:g,strategies:h,enableMultipleStrategy:v,multipleValueGet:m,enableSmartVolumeStrategy:y}=e,E=(t,r,i)=>{var a,s,u,d,f,p,_;if(t===o.LoudnessAdjustStrategyType.loudnessRange)return null==i?void 0:i.LoudnessRange;if(t===o.LoudnessAdjustStrategyType.maximumMomentaryLoudness)return null==i?void 0:i.MaximumMomentaryLoudness;if(t===o.LoudnessAdjustStrategyType.sourceLoudness)return null!==(u=Number(null!==(s=null==r?void 0:null===(a=r.video.meta)||void 0===a?void 0:a.loudness)&&void 0!==s?s:0))&&void 0!==u?u:0;else if(t===o.LoudnessAdjustStrategyType.follower)return null==r?void 0:null===(d=r.authorInfo)||void 0===d?void 0:d.followerCount;else if(t===o.LoudnessAdjustStrategyType.landscape)return(null==r?void 0:null===(f=r.video)||void 0===f?void 0:f.width)>(null==r?void 0:null===(p=r.video)||void 0===p?void 0:p.height)?1:0;else if(t===o.LoudnessAdjustStrategyType.videoTag){let e=(null==r?void 0:null===(_=r.relatedVideoExtra)||void 0===_?void 0:_.tags)||{};return`${null==e?void 0:e.level1}_${null==e?void 0:e.level2}_${null==e?void 0:e.level3}`}else if(t===o.LoudnessAdjustStrategyType.startVolume)return n.volume;else if(t===o.LoudnessAdjustStrategyType.smart&&y)return c(null==e?void 0:e.smartVolumeStrategy,r,n,l);return null},w=!1,T=i.G7,O=JSON.parse((null==t?void 0:null===(d=t.video)||void 0===d?void 0:null===(u=d.meta)||void 0===u?void 0:u.volume_info)||"{}");if(!O||!(null==h?void 0:h.length))return{needChange:w,targetLufs:T};if(_=Number(null!==(p=null==t?void 0:null===(f=t.video.meta)||void 0===f?void 0:f.loudness)&&void 0!==p?p:0),!v)return h.sort((e,t)=>e.priority-t.priority),null==h||h.some(e=>{let{type:n,option:o,upper:s,lower:l,value:c,equal:u,picEnable:d,includeEnable:f}=e;if(!d&&(null==t?void 0:t.awemeType)===r.e.Note)return;let p=E(n,t,O);if(null!=p){let e=!1;if(e=void 0!==u&&""!==u?f?"string"==typeof p&&p.includes(String(u)):p===u:p>=(null!=l?l:-1/0)&&p<=(null!=s?s:1/0)){let e=null==a?void 0:a[o];if(e)return T=e(T,c),w=i.G7!==T,!0}}}),{needChange:w,targetLufs:T};{let e=null==s?void 0:s[m];if(!e)return{needChange:w,targetLufs:T};return null==h||h.forEach(n=>{let{type:o,option:i,upper:s,lower:l,value:c,equal:u,picEnable:d,includeEnable:f}=n;if(!d&&(null==t?void 0:t.awemeType)===r.e.Note)return;let p=E(o,t,O);if(null!=p){let t=!1;if(t=void 0!==u&&""!==u?f?"string"==typeof p&&p.includes(String(u)):p===u:p>=(null!=l?l:-1/0)&&p<=(null!=s?s:1/0)){let t=null==a?void 0:a[i];t&&(T=e([T,t(T,c)]))}}}),{needChange:i.G7!==T,targetLufs:T}}}catch(e){return{needChange:!1,targetLufs:-12}}},d=(e,t)=>(null==e?!!void 0:!!e.length)&&(null==t?!!void 0:!!t.length)&&(null==e?void 0:e.some(e=>null==t?void 0:t.some(t=>{var n,r;return null==e?void 0:null===(r=e.tagId)||void 0===r?void 0:null===(n=r.toString())||void 0===n?void 0:n.startsWith(null==t?void 0:t.toString())}))),f=(e,t)=>{if(!t||0===Object.keys(t).length)return 0;let n=0;return null==e||e.find(e=>{var r;let o=(null==e?void 0:null===(r=e.tagId)||void 0===r?void 0:r.toString())||"",i=null==t?void 0:t[o];return i&&(n=i),i}),n||0},p=(e,t)=>{if(!t||0===Object.keys(t).length)return 0;let n=[null==e?void 0:e.level1,null==e?void 0:e.level2,null==e?void 0:e.level3],r=0;return null==n||n.find(e=>{var n;let o=(null==e?void 0:null===(n=e.tag_id)||void 0===n?void 0:n.toString())||"",i=null==t?void 0:t[o];return i&&(r=i),i}),r||0},_=(e,t,n,r)=>{var o;let a=null==t?void 0:t.baseOnSourceLoudnessAdjust,s=!1,l=i.G7,{needChange:c,targetLufs:_}=u(a,e,n,r);if(s=c,l=_,l=Math.min(i.GE,l),l=Math.max(i.CF,l),s)return{needChangeTargetLufs:!0,playerVolumeLoudUnityExp:l};let g=(null==e?void 0:e.videoTag)||[],h=(null==e?void 0:null===(o=e.relatedVideoExtra)||void 0===o?void 0:o.tags)||{},v=null==t?void 0:t.videoTagsForIncrease,m=null==t?void 0:t.videoTagsForIncreaseLoudMap,y=null==t?void 0:t.unityExpUseNewTags,E=d(g,v),w=0;return E?w=null==t?void 0:t.playerVolumeLoudUnityExp:E=!!(w=y?p(h,m):f(g,m)),{needChangeTargetLufs:E,playerVolumeLoudUnityExp:w}}},174278:function(e,t,n){n.d(t,{l:function(){return r}});var r={Off:1,1:"Off",On:2,2:"On",Error:3,3:"Error"}},435132:function(e,t,n){n.d(t,{J:function(){return u},c:function(){return d}});var r=n(629686),o=n(709705),i=n(499059),a=n(409250),s=n(426038),l=n(251422);let c=!0,u=e=>{var t,n,r,u,f,p,_;let g=(null!==(r=(0,o.$o)(s.LocalStorageKeys.PLAYER_IS_MUTE))&&void 0!==r?r:0)===1,h=null!==(u=(0,o.$o)(s.LocalStorageKeys.PLAYER_VOLUME))&&void 0!==u?u:.5,v=i.Le.getConfig(i.gI.InitStartVolume),m=(null==e?void 0:null===(t=e.startPlayDefaultVolume)||void 0===t?void 0:t.isOpen)||(null==e?void 0:null===(n=e.startPlayDefaultVolumeGradient)||void 0===n?void 0:n.isOpen),y=a.Q.getItem({sKey:s.CookieKeys.VolumeInfo})||{};return(!y.isMute||y.isMute&&y.isUserMute)&&(!m&&(h=null!==(f=y.volume)&&void 0!==f?f:h),g=null!==(p=y.isMute)&&void 0!==p?p:g),c&&(c=!1),m&&!v&&((!y.isMute||y.isMute&&y.isUserMute)&&(h=null!==(_=y.volume)&&void 0!==_?_:h),(0,l.F)(()=>{i.Le.setConfig(i.gI.InitStartVolume,!0),h=(0,l.m)({abtestData:e,volume:h}),(0,o.qQ)(s.LocalStorageKeys.PLAYER_VOLUME,h)}),d({volume:h})),{volume:h<0?.5:h,autoplayMuted:g}},d=e=>{let t=a.Q.getItem({sKey:s.CookieKeys.VolumeInfo});a.Q.setItem(s.CookieKeys.VolumeInfo,(0,r._)({},t,e),1/0)}},596021:function(e,t,n){let r,o;n.d(t,{B:function(){return p}}),n(414931),n(490629),n(706056);var i=n(795653),a=n(103680),s=n(915821);let l="reloadVersion",c="",u="",d=e=>{let t=String(e),n=0;for(let e=0;e{try{var t,n,p,_,g,h,v,m,y,E,w,T,O,b,S,D,P,R,M,I,C;let A=(null==e?void 0:e.tcc)||o;A&&(o=A);if(!window.TTE_ENV||!(0,i.dz)()||!(null==A?void 0:null===(t=A.client_repair_exe)||void 0===t?void 0:t.cdnUrl))return;if(location.href.includes("lazyChildren")&&(u=null==A?void 0:null===(R=A.client_repair_exe)||void 0===R?void 0:R.cdnUrl,c=null==A?void 0:null===(M=A.client_repair_exe)||void 0===M?void 0:M.exeName),(location.href.includes("from_app_resume")||location.href.includes("enter_from_on_cellphone"))&&(u=null==A?void 0:null===(I=A.client_repair_exe)||void 0===I?void 0:I.cdnUrl2,c=null==A?void 0:null===(C=A.client_repair_exe)||void 0===C?void 0:C.exeName2),f("client_repair_exe",{downloadFileCdn:u,exeName:c,isDownload:r}),r)return;let{data:x}=await a.invoke("GET_APP_CONFIG_ITEM",{data:{key:l}}),N=null===(g=window)||void 0===g?void 0:null===(_=g.TTE_ENV)||void 0===_?void 0:null===(p=_.initPageStore)||void 0===p?void 0:null===(n=p.page)||void 0===n?void 0:n.guid;if(f("needReloadRes",{needReloadRes:x}),u&&"1.0"!==x&&"1.0"!==localStorage.getItem(l)&&(null===(y=window)||void 0===y?void 0:null===(m=y.TTE_ENV)||void 0===m?void 0:null===(v=m.initPageStore)||void 0===v?void 0:null===(h=v.page)||void 0===h?void 0:h.version)&&(null===(O=window)||void 0===O?void 0:null===(T=O.TTE_ENV)||void 0===T?void 0:null===(w=T.initPageStore)||void 0===w?void 0:null===(E=w.page)||void 0===E?void 0:E.guid)&&(0,s.y)(null===(P=window)||void 0===P?void 0:null===(D=P.TTE_ENV)||void 0===D?void 0:null===(S=D.initPageStore)||void 0===S?void 0:null===(b=S.page)||void 0===b?void 0:b.version,"<","5.7.3")&&Number(d(N))%100>50){f("needReloadRes2");let{data:e}=await a.invoke("getAppInstallPath"),{data:t}=await a.invoke("GET_STORE_ITEM",{key:"VIDEO_DOWNLOAD_PATH"});await a.invoke("SET_STORE_ITEM",{key:"VIDEO_DOWNLOAD_PATH",value:e}),a.on("downloadURL:progress",async(n,o)=>{f("downloadURL",o);let{state:i}=o||{};if("completed"===i&&r){r=!1,await a.invoke("SET_APP_CONFIG_ITEM",{data:{key:l,value:"1.0"}}),localStorage.setItem(l,"1.0"),t&&await a.invoke("SET_STORE_ITEM",{key:"VIDEO_DOWNLOAD_PATH",value:t});try{var s,u;null===(u=window)||void 0===u||null===(s=u.collectEvent)||void 0===s||s.call(u,"client_run_relaunch",{exeName:c,from:"web"}),await a.invoke("REPORT_STAT",{eventName:"client_run_relaunch",params:{exeName:c,from:"client"}})}catch(e){}setTimeout(async()=>{f("appRelaunch",{execPath:`${e}\\${c}`}),a.invoke("appRelaunch",{execPath:`${e}\\${c}`})},1e3)}}),r=!0,await a.invoke("downloadURL",{url:u,rename:c,id:c})}}catch(e){}}},486325:function(e,t,n){n.d(t,{M:function(){return f}}),n(228983),n(759943),n(490629);var r=n(198412),o=n.n(r),i=n(618759),a=n(915821),s=n(709705),l=n(426038),c=n(855357),u=n(181633);let d=e=>{try{var t;return(null==e?void 0:null===(t=e.split("?")[0])||void 0===t?void 0:t.split(".").pop())||"png"}catch(e){}return"png"},f={isShowImageTips:e=>!1,formatWallpaperInfo:e=>{let t={id:o()(e,"awemeId"),type:"video",awemeType:o()(e,"awemeType"),author:o()(null==e?void 0:e.authorInfo,"nickname"),authorUid:o()(null==e?void 0:e.authorInfo,"uid"),authorSecUid:o()(null==e?void 0:e.authorInfo,"secUid"),cover:window.location.protocol+o()(null==e?void 0:e.video,"cover"),downloadUrl:o()((null==e?void 0:e.download)||{},"url")};return t.awemeType===c.e.Note&&(t.downloadUrl=(o()(e,"images")||[]).map((e,t)=>{let n=e.downloadUrlList[0];return{url:n,fileName:`image${t}.${d(n)}`}}),t.type="image",t.carouselImages=[...t.downloadUrl],t.images=[t.downloadUrl[0].fileName]),t},getWallpaperFeed:async()=>await (0,u.j8)({count:3}),isShowImageRedPoint:e=>{var t,n,r;if(!(0,i.DT)())return!1;let o=null!==(r=(0,i.FJ)().awemePcClient)&&void 0!==r?r:"";if(!o||(0,a.y)(o,"<","2.5.0")||!(0,s.$o)(l.LocalStorageKeys.IS_HIDE_GUIDE_KEY)&&(null===(n=window)||void 0===n?void 0:null===(t=n.location)||void 0===t?void 0:t.host)!=="live.douyin.com")return!1;let c=!!(0,s.$o)(l.LocalStorageKeys.ShowImageWallpaperRedPoint);return!!(0,a.y)(o,">=","3.1.1")&&!c||!1}}},622177:function(e,t,n){n.d(t,{r:function(){return r}});let r=["阿曼","卡塔尔","厄瓜多尔","塞内加尔","荷兰","英格兰","伊朗","美国","威尔士","阿根廷","沙特阿拉伯","墨西哥","波兰","法国","澳大利亚","丹麦","突尼斯","西班牙","哥斯达黎加","德国","日本","比利时","加拿大","摩洛哥","克罗地亚","巴西","塞尔维亚","瑞士","喀麦隆","葡萄牙","加纳","乌拉圭","韩国","俄罗斯","埃及","秘鲁","冰岛","尼日利亚","瑞典","巴拿马","哥伦比亚","梅州客家","北京国安","深圳队","沧州雄狮","天津津门虎","成都蓉城","山东泰山","长春亚泰","广州城","河南嵩山龙门","大连人","浙江队","上海海港","广州队","河北队","上海申花","武汉长江","武汉三镇","阿森纳","曼城","托特纳姆热刺","切尔西","曼联","纽卡斯尔","布莱顿","利物浦","布伦特福德","伯恩茅斯","富勒姆","西汉姆联","埃弗顿","利兹联","阿斯顿维拉","狼","南安普顿","莱斯特城","诺丁汉森林","水晶宫"]},437589:function(e,t,n){n.d(t,{o:function(){return r}});let r=300},308536:function(e,t,n){n.d(t,{a:function(){return r}});var r={LIVE_CELL:"live_cell",VIDEO_HEAD:"video_head",FOLLOW_TOP:"follow_top"}},600586:function(e,t,n){n.d(t,{o:function(){return r}});let r=["play_setting_icon_show","prf_task_data_size","post_time_show","chapter_tag_show","video_request_response","volume_balance_action","video_info_area_show","video_request","ting_douyin_show","add_preolad_task","hover_pure_mode"];t.Z=["video_cover_show","video_cover_click","video_play","video_play_finish","play_time","video_play_check_point","like","click_comment_button","share_video","follow","enter_personal_detail","dislike","click_next_video","click_previous_video","click_author_head"]},290560:function(e,t,n){n.d(t,{LL:function(){return i},Mm:function(){return a},qd:function(){return s}});var r=n(480333);n(76375);var o=n(872502),i={UNKNOWN:"unknown",CAPTCHA:"captcha",SMS_CAPTCHA:"sms_captcha",LOGIN:"login",SECOND_VERIFY:"second_verify"},a={UNKNOWN:"unknown",USER_CANCELLED:"user_cancelled"};class s extends Error{constructor(e,t,n,i){super(e),(0,r._)(this,"verifyDecisionType","unknown"),(0,r._)(this,"verifyErrorType","unknown"),(0,r._)(this,"response",void 0),this.name=o.G.VerifyCancelled,t&&(this.verifyDecisionType=t),n&&(this.verifyErrorType=n),i&&(this.response=i)}}},938639:function(e,t,n){n(679308),n(76375),n(190932),n(808483),n(126159),n(100832),n(825666),n(943281),n(82726),n(374954),n(834923),n(490629),n(414931),n(559352),n(968336),n(683656),n(759943),n(706056);var r,o=(r="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(e){var t,n,o,i,a,s,l,c,u,d,f,p,_,g,h,v,m,y,e=void 0!==(e=e||{})?e:{};e.ready=new Promise(function(e,t){n=e,o=t}),!Object.getOwnPropertyDescriptor(e.ready,"_malloc")&&(Object.defineProperty(e.ready,"_malloc",{configurable:!0,get:function(){en("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_malloc",{configurable:!0,set:function(){en("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_free")&&(Object.defineProperty(e.ready,"_free",{configurable:!0,get:function(){en("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_free",{configurable:!0,set:function(){en("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_emscripten_stack_get_end")&&(Object.defineProperty(e.ready,"_emscripten_stack_get_end",{configurable:!0,get:function(){en("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_emscripten_stack_get_end",{configurable:!0,set:function(){en("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_emscripten_stack_get_free")&&(Object.defineProperty(e.ready,"_emscripten_stack_get_free",{configurable:!0,get:function(){en("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_emscripten_stack_get_free",{configurable:!0,set:function(){en("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_emscripten_stack_init")&&(Object.defineProperty(e.ready,"_emscripten_stack_init",{configurable:!0,get:function(){en("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_emscripten_stack_init",{configurable:!0,set:function(){en("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_stackSave")&&(Object.defineProperty(e.ready,"_stackSave",{configurable:!0,get:function(){en("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_stackSave",{configurable:!0,set:function(){en("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_stackRestore")&&(Object.defineProperty(e.ready,"_stackRestore",{configurable:!0,get:function(){en("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_stackRestore",{configurable:!0,set:function(){en("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_stackAlloc")&&(Object.defineProperty(e.ready,"_stackAlloc",{configurable:!0,get:function(){en("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_stackAlloc",{configurable:!0,set:function(){en("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"___wasm_call_ctors")&&(Object.defineProperty(e.ready,"___wasm_call_ctors",{configurable:!0,get:function(){en("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"___wasm_call_ctors",{configurable:!0,set:function(){en("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_fflush")&&(Object.defineProperty(e.ready,"_fflush",{configurable:!0,get:function(){en("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_fflush",{configurable:!0,set:function(){en("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"___errno_location")&&(Object.defineProperty(e.ready,"___errno_location",{configurable:!0,get:function(){en("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"___errno_location",{configurable:!0,set:function(){en("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"_emscripten_main_thread_process_queued_calls")&&(Object.defineProperty(e.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,get:function(){en("You are getting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,set:function(){en("You are setting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"___getTypeName")&&(Object.defineProperty(e.ready,"___getTypeName",{configurable:!0,get:function(){en("You are getting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"___getTypeName",{configurable:!0,set:function(){en("You are setting ___getTypeName on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"___embind_register_native_and_builtin_types")&&(Object.defineProperty(e.ready,"___embind_register_native_and_builtin_types",{configurable:!0,get:function(){en("You are getting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"___embind_register_native_and_builtin_types",{configurable:!0,set:function(){en("You are setting ___embind_register_native_and_builtin_types on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),!Object.getOwnPropertyDescriptor(e.ready,"onRuntimeInitialized")&&(Object.defineProperty(e.ready,"onRuntimeInitialized",{configurable:!0,get:function(){en("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(e.ready,"onRuntimeInitialized",{configurable:!0,set:function(){en("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}));var E={};for(i in e)e.hasOwnProperty(i)&&(E[i]=e[i]);var w=[],T="./this.program",O=function(e,t){throw t};if(e.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var b="";if("undefined"!=typeof document&&document.currentScript&&(b=document.currentScript.src),r&&(b=r),b=0!==b.indexOf("blob:")?b.substr(0,b.lastIndexOf("/")+1):"",!("object"==typeof window||"function"==typeof importScripts))throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var S=e.print||void 0,D=e.printErr||void 0;for(i in E)E.hasOwnProperty(i)&&(e[i]=E[i]);function P(e){!P.shown&&(P.shown={}),!P.shown[e]&&(P.shown[e]=1,D(e))}E=null,e.arguments&&(w=e.arguments),!Object.getOwnPropertyDescriptor(e,"arguments")&&Object.defineProperty(e,"arguments",{configurable:!0,get:function(){en("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),e.thisProgram&&e.thisProgram,!Object.getOwnPropertyDescriptor(e,"thisProgram")&&Object.defineProperty(e,"thisProgram",{configurable:!0,get:function(){en("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),e.quit&&e.quit,!Object.getOwnPropertyDescriptor(e,"quit")&&Object.defineProperty(e,"quit",{configurable:!0,get:function(){en("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),C(void 0===e.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),C(void 0===e.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),C(void 0===e.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),C(void 0===e.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),C(void 0===e.read,"Module.read option was removed (modify read_ in JS)"),C(void 0===e.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),C(void 0===e.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),C(void 0===e.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),C(void 0===e.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),!Object.getOwnPropertyDescriptor(e,"read")&&Object.defineProperty(e,"read",{configurable:!0,get:function(){en("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),!Object.getOwnPropertyDescriptor(e,"readAsync")&&Object.defineProperty(e,"readAsync",{configurable:!0,get:function(){en("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),!Object.getOwnPropertyDescriptor(e,"readBinary")&&Object.defineProperty(e,"readBinary",{configurable:!0,get:function(){en("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),!Object.getOwnPropertyDescriptor(e,"setWindowTitle")&&Object.defineProperty(e,"setWindowTitle",{configurable:!0,get:function(){en("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var R=0,M=function(e){};e.wasmBinary&&(s=e.wasmBinary),!Object.getOwnPropertyDescriptor(e,"wasmBinary")&&Object.defineProperty(e,"wasmBinary",{configurable:!0,get:function(){en("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),e.noExitRuntime,!Object.getOwnPropertyDescriptor(e,"noExitRuntime")&&Object.defineProperty(e,"noExitRuntime",{configurable:!0,get:function(){en("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),"object"!=typeof WebAssembly&&en("no native wasm support detected");var I=!1;function C(e,t){!e&&en("Assertion failed: "+t)}function A(t,n,r,o,i){var a,s,l,c={string:function(e){var t=0;if(null!=e&&0!==e){var n=(e.length<<2)+1;k(e,t=tD(n),n)}return t},array:function(e){var t=tD(e.length);return function(e,t){C(e.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),u.set(e,t)}(e,t),t}};var d=(C(s=e["_"+(a=t)],"Cannot call unknown function "+a+", make sure it is exported"),s),f=[],p=0;if(C("array"!==n,'Return type should not be "array".'),o)for(var _=0;_=r);)++o;if(o-t>16&&e.subarray&&x)return x.decode(e.subarray(t,o));for(var i="";t>10,56320|1023&c)}}return i}function L(e,t){return e?N(d,e,t):""}function k(e,t,n){return C("number"==typeof n,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),function(e,t,n,r){if(!(r>0))return 0;for(var o=n,i=n+r-1,a=0;a=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(n>=i)break;t[n++]=s}else if(s<=2047){if(n+1>=i)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=i)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+3>=i)break;s>=2097152&&P("Invalid Unicode code point 0x"+s.toString(16)+" encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x1FFFFF)."),t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}}return t[n]=0,n-o}(e,d,t,n)}var F="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0;function j(e,t){C(e%2==0,"Pointer passed to UTF16ToString must be aligned to two bytes!");for(var n=e,r=n>>1,o=r+t/2;!(r>=o)&&p[r];)++r;if((n=r<<1)-e>32&&F)return F.decode(d.subarray(e,n));for(var i="",a=0;!(a>=t/2);++a){var s=f[e+2*a>>1];if(0==s)break;i+=String.fromCharCode(s)}return i}function U(e,t,n){if(C(t%2==0,"Pointer passed to stringToUTF16 must be aligned to two bytes!"),C("number"==typeof n,"stringToUTF16(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===n&&(n=2147483647),n<2)return 0;for(var r=t,o=(n-=2)<2*e.length?n/2:e.length,i=0;i>1]=a,t+=2}return f[t>>1]=0,t-r}function H(e){return 2*e.length}function W(e,t){C(e%4==0,"Pointer passed to UTF32ToString must be aligned to four bytes!");for(var n=0,r="";!(n>=t/4);){var o=_[e+4*n>>2];if(0==o)break;if(++n,o>=65536){var i=o-65536;r+=String.fromCharCode(55296|i>>10,56320|1023&i)}else r+=String.fromCharCode(o)}return r}function B(e,t,n){if(C(t%4==0,"Pointer passed to stringToUTF32 must be aligned to four bytes!"),C("number"==typeof n,"stringToUTF32(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),void 0===n&&(n=2147483647),n<4)return 0;for(var r=t,o=r+n-4,i=0;i=55296&&a<=57343&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),_[t>>2]=a,(t+=4)+4>o)break}return _[t>>2]=0,t-r}function Q(e){for(var t=0,n=0;n=55296&&r<=57343&&++n,t+=4}return t}function X(t){c=t,e.HEAP8=u=new Int8Array(t),e.HEAP16=f=new Int16Array(t),e.HEAP32=_=new Int32Array(t),e.HEAPU8=d=new Uint8Array(t),e.HEAPU16=p=new Uint16Array(t),e.HEAPU32=g=new Uint32Array(t),e.HEAPF32=h=new Float32Array(t),e.HEAPF64=v=new Float64Array(t)}e.TOTAL_STACK&&C(655360===e.TOTAL_STACK,"the stack size can no longer be determined at runtime");var G=e.INITIAL_MEMORY||720896;function V(){var e=tO();C((3&e)==0),g[(e>>2)+1]=34821223,g[(e>>2)+2]=2310721022,_[0]=1668509029}function Y(){if(!I){var e=tO(),t=g[(e>>2)+1],n=g[(e>>2)+2];(34821223!=t||2310721022!=n)&&en("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+n.toString(16)+" "+t.toString(16)),1668509029!==_[0]&&en("Runtime error: The application has corrupted its heap memory area (address zero)!")}}!Object.getOwnPropertyDescriptor(e,"INITIAL_MEMORY")&&Object.defineProperty(e,"INITIAL_MEMORY",{configurable:!0,get:function(){en("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),C(G>=655360,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+G+"! (TOTAL_STACK=655360)"),C("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),C(!e.wasmMemory,"Use of `wasmMemory` detected. Use -s IMPORTED_MEMORY to define wasmMemory externally"),C(720896==G,"Detected runtime INITIAL_MEMORY setting. Use -s IMPORTED_MEMORY to define wasmMemory dynamically"),!function(){var e=new Int16Array(1),t=new Int8Array(e.buffer);if(e[0]=25459,115!==t[0]||99!==t[1])throw"Runtime error: expected the system to be little-endian! (Run with -s SUPPORT_BIG_ENDIAN=1 to bypass)"}();var K=[],Z=[],z=[],q=!1;C(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),C(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),C(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),C(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var $=0,J=null,ee=null,et={};function en(t){e.onAbort&&e.onAbort(t),D(t+=""),I=!0,t="abort("+t+") at "+function(){var t=function(){var e=Error();if(!e.stack){try{throw Error()}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}();return e.extraStackTrace&&(t+="\n"+e.extraStackTrace()),t.replace(/\b_Z[\w\d_]+/g,function(e){var t,n=(t=e,P("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),t);return e===n?e:n+" ["+e+"]"})}();var n=new WebAssembly.RuntimeError(t);throw o(n),n}e.preloadedImages={},e.preloadedAudios={};var er={error:function(){en("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -s FORCE_FILESYSTEM=1")},init:function(){er.error()},createDataFile:function(){er.error()},createPreloadedFile:function(){er.error()},createLazyFile:function(){er.error()},open:function(){er.error()},mkdev:function(){er.error()},registerDevice:function(){er.error()},analyzePath:function(){er.error()},loadFilesFromDB:function(){er.error()},ErrnoError:function(){er.error()}};e.FS_createDataFile=er.createDataFile,e.FS_createPreloadedFile=er.createPreloadedFile;function eo(e){return e.startsWith("data:application/octet-stream;base64,")}function ei(t,n){return function(){var r=n;return!n&&(r=e.asm),C(q,"native function `"+t+"` called before runtime initialization"),C(true,"native function `"+t+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),!r[t]&&C(r[t],"exported native function `"+t+"` not found"),r[t].apply(null,arguments)}}var ea="index.wasm";if(!eo(ea)){;t=ea,ea=e.locateFile?e.locateFile(t,b):b+t}function es(e){try{if(e==ea&&s)return new Uint8Array(s);if(a)return a(e);throw"both async and sync fetching of the wasm failed"}catch(e){en(e)}}function el(t){for(;t.length>0;){var n=t.shift();if("function"==typeof n){n(e);continue}var r=n.func;"number"==typeof r?void 0===n.arg?m.get(r)():m.get(r)(n.arg):r(void 0===n.arg?null:n.arg)}}var ec=0,eu=4,ed=8,ef=12,ep=13,e_=16;function eg(e){this.excPtr=e,this.ptr=e-e_,this.set_type=function(e){_[this.ptr+ed>>2]=e},this.get_type=function(){return _[this.ptr+ed>>2]},this.set_destructor=function(e){_[this.ptr+ec>>2]=e},this.get_destructor=function(){return _[this.ptr+ec>>2]},this.set_refcount=function(e){_[this.ptr+eu>>2]=e},this.set_caught=function(e){e=e?1:0,u[this.ptr+ef>>0]=e},this.get_caught=function(){return 0!=u[this.ptr+ef>>0]},this.set_rethrown=function(e){e=e?1:0,u[this.ptr+ep>>0]=e},this.get_rethrown=function(){return 0!=u[this.ptr+ep>>0]},this.init=function(e,t){this.set_type(e),this.set_destructor(t),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var e=_[this.ptr+eu>>2];_[this.ptr+eu>>2]=e+1},this.release_ref=function(){var e=_[this.ptr+eu>>2];return _[this.ptr+eu>>2]=e-1,C(e>0),1===e}}var eh=0,ev={};function em(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function ey(e){return this.fromWireType(g[e>>2])}var eE={},ew={},eT={};function eO(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return t>=48&&t<=57?"_"+e:e}function eb(e,t){return Function("body","return function "+(e=eO(e))+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}function eS(e,t){var n=eb(t,function(e){this.name=t,this.message=e;var n=Error(e).stack;void 0!==n&&(this.stack=this.toString()+"\n"+n.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},n}var eD=void 0;function eP(e){throw new eD(e)}function eR(e,t,n){function r(t){var r=n(t);r.length!==e.length&&eP("Mismatched type converter count");for(var o=0;o>2)+r]);return n}function tc(e,t,n,r,o){var i=t.length;i<2&&ex("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==t[1]&&null!==n,s=!1,l=1;l0?", ":"")+d),f+=(c?"var rv = ":"")+"invoker(fn"+(d.length>0?", ":"")+d+");\n",s)f+="runDestructors(destructors);\n";else for(var l=a?1:2;l4&&0==--td[e].refcount&&(td[e]=void 0,tu.push(e))}function tp(){for(var e=0,t=5;t>2]},getStr:function(e){return L(e)},get64:function(e,t){return e>=0?C(0===t):C(-1===t),e}};eD=e.InternalError=eS(Error,"InternalError"),!function(){for(var e=Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);eI=e}(),eA=e.BindingError=eS(Error,"BindingError"),eK.prototype.isAliasOf=eL,eK.prototype.clone=eW,eK.prototype.delete=eB,eK.prototype.isDeleted=eQ,eK.prototype.deleteLater=eY,tn.prototype.getPointee=e6,tn.prototype.destructor=e3,tn.prototype.argPackAdvance=8,tn.prototype.readValueFromPointer=ey,tn.prototype.deleteObject=e4,tn.prototype.fromWireType=tt,e.getInheritedInstanceCount=e9,e.getLiveInheritedInstances=e5,e.flushPendingDeletes=eV,e.setDelayFunction=e8,ti=e.UnboundTypeError=eS(Error,"UnboundTypeError"),e.count_emval_handles=tp,e.get_first_emval=t_;var ty={WebGLGetInputShape:function(e,t){},WebGLGetOutput:function(e,t){},WebGLGetOutputShape:function(e,t){},WebGLInference:function(){},WebGLInit:function(e,t,n){},WebGLSetInput:function(e,t){},__assert_fail:function(e,t,n,r){en("Assertion failed: "+L(e)+", at: "+[t?L(t):"unknown filename",n,r?L(r):"unknown function"])},__cxa_allocate_exception:function(e){return tE(e+e_)+e_},__cxa_atexit:function(e,t){var n,r;return n=0,void(r=0)},__cxa_throw:function(e,t,n){throw new eg(e).init(t,n),eh++,e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s NO_DISABLE_EXCEPTION_CATCHING or -s EXCEPTION_CATCHING_ALLOWED=[..] to catch."},_embind_finalize_value_object:function(e){var t=ev[e];delete ev[e];var n=t.rawConstructor,r=t.rawDestructor,o=t.fields;eR([e],o.map(function(e){return e.getterReturnType}).concat(o.map(function(e){return e.setterArgumentType})),function(e){var i={};return o.forEach(function(t,n){var r=t.fieldName,a=e[n],s=t.getter,l=t.getterContext,c=e[n+o.length],u=t.setter,d=t.setterContext;i[r]={read:function(e){return a.fromWireType(s(l,e))},write:function(e,t){var n=[];u(d,e,c.toWireType(n,t)),em(n)}}}),[{name:t.name,fromWireType:function(e){var t={};for(var n in i)t[n]=i[n].read(e);return r(e),t},toWireType:function(e,t){for(var o in i)if(!(o in t))throw TypeError('Missing field: "'+o+'"');var a=n();for(o in i)i[o].write(a,t[o]);return null!==e&&e.push(r,a),a},argPackAdvance:8,readValueFromPointer:ey,destructorFunction:r}]})},_embind_register_bigint:function(e,t,n,r,o){},_embind_register_bool:function(e,t,n,r,o){var i=eM(n);eN(e,{name:t=eC(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:o},argPackAdvance:8,readValueFromPointer:function(e){var r;if(1===n)r=u;else if(2===n)r=f;else if(4===n)r=_;else throw TypeError("Unknown boolean type size: "+t);return this.fromWireType(r[e>>i])},destructorFunction:null})},_embind_register_class:function(e,t,n,r,o,i,a,s,l,c,u,d,f){u=eC(u),i=to(o,i),s&&(s=to(a,s)),c&&(c=to(l,c)),f=to(d,f);var p=eO(u);eq(p,function(){ts("Cannot construct "+u+" due to unbound types",[r])}),eR([e,t,n],r?[r]:[],function(t){t=t[0],o=r?(n=t.registeredClass).instancePrototype:eK.prototype;var n,o,a=eb(p,function(){if(Object.getPrototypeOf(this)!==l)throw new eA("Use 'new' to construct "+u);if(void 0===d.constructor_body)throw new eA(u+" has no accessible constructor");var e=d.constructor_body[arguments.length];if(void 0===e)throw new eA("Tried to invoke ctor of "+u+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(d.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)}),l=Object.create(o,{constructor:{value:a}});a.prototype=l;var d=new e$(u,a,l,f,n,i,s,c),_=new tn(u,d,!0,!1,!1),g=new tn(u+"*",d,!1,!1,!1),h=new tn(u+" const*",d,!1,!0,!1);return eZ[e]={pointerType:g,constPointerType:h},tr(p,a),[_,g,h]})},_embind_register_class_constructor:function(e,t,n,r,o,i){C(t>0);var a=tl(t,n);o=to(r,o);var s=[i],l=[];eR([],[e],function(e){var n="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[t-1])throw new eA("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[t-1]=function(){ts("Cannot construct "+e.name+" due to unbound types",a)},eR([],a,function(r){return e.registeredClass.constructor_body[t-1]=function(){arguments.length!=t-1&&ex(n+" called with "+arguments.length+" arguments, expected "+(t-1)),l.length=0,s.length=t;for(var e=1;e>2])};case 3:return function(e){return this.fromWireType(v[e>>3])};default:throw TypeError("Unknown float type: "+e)}}(t,r),destructorFunction:null})},_embind_register_function:function(e,t,n,r,o,i){var a=tl(t,n);e=eC(e),o=to(r,o),eq(e,function(){ts("Cannot call "+e+" due to unbound types",a)},t-1),eR([],a,function(n){var r=[n[0],null].concat(n.slice(1));return tr(e,tc(e,r,null,o,i),t-1),[]})},_embind_register_integer:function(e,t,n,r,o){t=eC(t),-1===o&&(o=4294967295);var i=eM(n),a=function(e){return e};if(0===r){var s=32-8*n;a=function(e){return e<>>s}}var l=t.includes("unsigned");eN(e,{name:t,fromWireType:a,toWireType:function(e,n){if("number"!=typeof n&&"boolean"!=typeof n)throw TypeError('Cannot convert "'+th(n)+'" to '+this.name);if(no)throw TypeError('Passing a number "'+th(n)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+r+", "+o+"]!");return l?n>>>0:0|n},argPackAdvance:8,readValueFromPointer:function(e,t,n){switch(t){case 0:return n?function(e){return u[e]}:function(e){return d[e]};case 1:return n?function(e){return f[e>>1]}:function(e){return p[e>>1]};case 2:return n?function(e){return _[e>>2]}:function(e){return g[e>>2]};default:throw TypeError("Unknown integer type: "+e)}}(t,i,0!==r),destructorFunction:null})},_embind_register_memory_view:function(e,t,n){var r=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];function o(e){e>>=2;var t=g,n=t[e],o=t[e+1];return new r(c,o,n)}eN(e,{name:n=eC(n),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},_embind_register_smart_ptr:function(e,t,n,r,o,i,a,s,l,c,u,d){n=eC(n),i=to(o,i),s=to(a,s),c=to(l,c),d=to(u,d),eR([e],[t],function(e){return e=e[0],[new tn(n,e.registeredClass,!1,!1,!0,e,r,i,s,c,d)]})},_embind_register_std_string:function(e,t){var n="std::string"===(t=eC(t));eN(e,{name:t,fromWireType:function(e){var t,r=g[e>>2];if(n){for(var o=e+4,i=0;i<=r;++i){var a=e+4+i;if(i==r||0==d[a]){var s=a-o,l=L(o,s);void 0===t?t=l:t+="\0"+l,o=a+1}}}else{for(var c=Array(r),i=0;i=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:r<=2047?t+=2:r<=65535?t+=3:t+=4}return t}(t)}:function(){return t.length})(),a=tE(4+i+1);if(g[a>>2]=i,n&&o)k(t,a+4,i+1);else if(o)for(var s=0;s255&&(tw(a),ex("String has UTF-16 code units that do not fit in 8 bits")),d[a+4+s]=l}else for(var s=0;s>2],a=i(),l=e+4,c=0;c<=o;++c){var u=e+4+c*t;if(c==o||0==a[u>>s]){var d=u-l,f=r(l,d);void 0===n?n=f:n+="\0"+f,l=u+t}}return tw(e),n},toWireType:function(e,r){"string"!=typeof r&&ex("Cannot pass non-string to C++ string type "+n);var i=a(r),l=tE(4+i+t);return g[l>>2]=i>>s,o(r,l+4,i+t),null!==e&&e.push(tw,l),l},argPackAdvance:8,readValueFromPointer:ey,destructorFunction:function(e){tw(e)}})},_embind_register_value_object:function(e,t,n,r,o,i){ev[e]={name:eC(t),rawConstructor:to(n,r),rawDestructor:to(o,i),fields:[]}},_embind_register_value_object_field:function(e,t,n,r,o,i,a,s,l,c){ev[e].fields.push({fieldName:eC(t),getterReturnType:n,getter:to(r,o),getterContext:i,setterArgumentType:a,setter:to(s,l),setterContext:c})},_embind_register_void:function(e,t){eN(e,{isVoid:!0,name:t=eC(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,t){}})},_emval_call:function(e,t,n,r){(o=e)||ex("Cannot use deleted val. handle = "+o),e=td[o].value;for(var o,i=function(e,t){for(var n=Array(e),r=0;r>2)+r],"parameter "+r);return n}(t,n),a=Array(t),s=0;s4&&(td[e].refcount+=1)},_emval_take_value:function(e,t){return tg((e=tv(e,"_emval_take_value")).readValueFromPointer(t))},abort:function(){en()},emscripten_memcpy_big:function(e,t,n){d.copyWithin(e,t,t+n)},emscripten_resize_heap:function(e){var t=d.length;C((e>>>=0)>t);if(e>16777216)return D("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 16777216 bytes!"),!1;for(var n=1;n<=4;n*=2){var r,o,i=t*(1+.2/n);i=Math.min(i,e+100663296);var a=Math.min(16777216,(o=65536,(r=Math.max(e,i))%65536>0&&(r+=o-r%o),r));if(function(e){try{return l.grow(e-c.byteLength+65535>>>16),X(l.buffer),1}catch(e){}}(a))return!0}return D("Failed to grow the heap from "+t+" bytes to "+a+" bytes, not enough memory!"),!1},fd_close:function(e){return en("it should not be possible to operate on streams when !SYSCALLS_REQUIRE_FILESYSTEM"),0},fd_seek:function(e,t,n,r,o){en("it should not be possible to operate on streams when !SYSCALLS_REQUIRE_FILESYSTEM")},fd_write:function(e,t,n,r){for(var o=0,i=0;i>2],s=_[t+(8*i+4)>>2],l=0;l>2]=o,0},js_log:function(e){},pthread_create:function(){return 6},pthread_join:function(){return 28},setTempRet0:function(e){M(e)}};!function(){var t,n={env:ty,wasi_snapshot_preview1:ty};function r(t,n){var r,o=t.exports;e.asm=o,C(l=e.asm.memory,"memory not found in wasm exports"),X(l.buffer),C(m=e.asm.__indirect_function_table,"table not found in wasm exports"),r=e.asm.__wasm_call_ctors,Z.unshift(r),!function(t){if($--,e.monitorRunDependencies&&e.monitorRunDependencies($),t?(C(et[t]),delete et[t]):D("warning: run dependency removed without ID"),0==$&&(null!==J&&(clearInterval(J),J=null),ee)){var n=ee;ee=null,n()}}("wasm-instantiate")}t="wasm-instantiate",$++,e.monitorRunDependencies&&e.monitorRunDependencies($),t?(C(!et[t]),et[t]=1,null===J&&"undefined"!=typeof setInterval&&(J=setInterval(function(){if(I){clearInterval(J),J=null;return}var e=!1;for(var t in et)!e&&(e=!0,D("still waiting on run dependencies:")),D("dependency: "+t);e&&D("(end of list)")},1e4))):D("warning: run dependency added without ID");var i=e;function a(t){C(e===i,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),i=null,r(t.instance)}function c(e){return(s||"function"!=typeof fetch?Promise.resolve().then(function(){return es(ea)}):fetch(ea,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+ea+"'";return e.arrayBuffer()}).catch(function(){return es(ea)})).then(function(e){return WebAssembly.instantiate(e,n)}).then(e,function(e){if(D("failed to asynchronously prepare wasm: "+e),ea.startsWith("file://"))D("warning: Loading from a file URI ("+ea+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing");en(e)})}if(e.instantiateWasm)try{return e.instantiateWasm(n,r)}catch(e){return D("Module.instantiateWasm callback failed with error: "+e),!1}(s||"function"!=typeof WebAssembly.instantiateStreaming||eo(ea)||"function"!=typeof fetch?c(a):fetch(ea,{credentials:"same-origin"}).then(function(e){return WebAssembly.instantiateStreaming(e,n).then(a,function(e){return D("wasm streaming compile failed: "+e),D("falling back to ArrayBuffer instantiation"),c(a)})})).catch(o)}(),e.___wasm_call_ctors=ei("__wasm_call_ctors");var tE=e._malloc=ei("malloc"),tw=e._free=ei("free"),tT=e.___getTypeName=ei("__getTypeName");e.___embind_register_native_and_builtin_types=ei("__embind_register_native_and_builtin_types"),e._emscripten_main_thread_process_queued_calls=ei("emscripten_main_thread_process_queued_calls");var tO=e._emscripten_stack_get_end=function(){return(tO=e._emscripten_stack_get_end=e.asm.emscripten_stack_get_end).apply(null,arguments)};e.___errno_location=ei("__errno_location"),e._fflush=ei("fflush");var tb=e.stackSave=ei("stackSave"),tS=e.stackRestore=ei("stackRestore"),tD=e.stackAlloc=ei("stackAlloc"),tP=e._emscripten_stack_init=function(){return(tP=e._emscripten_stack_init=e.asm.emscripten_stack_init).apply(null,arguments)},tR=e._emscripten_stack_get_free=function(){return(e._emscripten_stack_get_free=e.asm.emscripten_stack_get_free).apply(null,arguments)};e.dynCall_ji=ei("dynCall_ji"),e.dynCall_vij=ei("dynCall_vij"),e.dynCall_jiji=ei("dynCall_jiji"),!Object.getOwnPropertyDescriptor(e,"intArrayFromString")&&(e.intArrayFromString=function(){en("'intArrayFromString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"intArrayToString")&&(e.intArrayToString=function(){en("'intArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),e.ccall=A,e.cwrap=function(e,t,n,r){return function(){return A(e,t,n,arguments,r)}},!Object.getOwnPropertyDescriptor(e,"setValue")&&(e.setValue=function(){en("'setValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getValue")&&(e.getValue=function(){en("'getValue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"allocate")&&(e.allocate=function(){en("'allocate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"UTF8ArrayToString")&&(e.UTF8ArrayToString=function(){en("'UTF8ArrayToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),e.UTF8ToString=L,!Object.getOwnPropertyDescriptor(e,"stringToUTF8Array")&&(e.stringToUTF8Array=function(){en("'stringToUTF8Array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stringToUTF8")&&(e.stringToUTF8=function(){en("'stringToUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"lengthBytesUTF8")&&(e.lengthBytesUTF8=function(){en("'lengthBytesUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stackTrace")&&(e.stackTrace=function(){en("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"addOnPreRun")&&(e.addOnPreRun=function(){en("'addOnPreRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"addOnInit")&&(e.addOnInit=function(){en("'addOnInit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"addOnPreMain")&&(e.addOnPreMain=function(){en("'addOnPreMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"addOnExit")&&(e.addOnExit=function(){en("'addOnExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"addOnPostRun")&&(e.addOnPostRun=function(){en("'addOnPostRun' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeStringToMemory")&&(e.writeStringToMemory=function(){en("'writeStringToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeArrayToMemory")&&(e.writeArrayToMemory=function(){en("'writeArrayToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeAsciiToMemory")&&(e.writeAsciiToMemory=function(){en("'writeAsciiToMemory' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"addRunDependency")&&(e.addRunDependency=function(){en("'addRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"removeRunDependency")&&(e.removeRunDependency=function(){en("'removeRunDependency' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"FS_createFolder")&&(e.FS_createFolder=function(){en("'FS_createFolder' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"FS_createPath")&&(e.FS_createPath=function(){en("'FS_createPath' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"FS_createDataFile")&&(e.FS_createDataFile=function(){en("'FS_createDataFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"FS_createPreloadedFile")&&(e.FS_createPreloadedFile=function(){en("'FS_createPreloadedFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"FS_createLazyFile")&&(e.FS_createLazyFile=function(){en("'FS_createLazyFile' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"FS_createLink")&&(e.FS_createLink=function(){en("'FS_createLink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"FS_createDevice")&&(e.FS_createDevice=function(){en("'FS_createDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"FS_unlink")&&(e.FS_unlink=function(){en("'FS_unlink' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),!Object.getOwnPropertyDescriptor(e,"getLEB")&&(e.getLEB=function(){en("'getLEB' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getFunctionTables")&&(e.getFunctionTables=function(){en("'getFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"alignFunctionTables")&&(e.alignFunctionTables=function(){en("'alignFunctionTables' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerFunctions")&&(e.registerFunctions=function(){en("'registerFunctions' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"addFunction")&&(e.addFunction=function(){en("'addFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"removeFunction")&&(e.removeFunction=function(){en("'removeFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getFuncWrapper")&&(e.getFuncWrapper=function(){en("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"prettyPrint")&&(e.prettyPrint=function(){en("'prettyPrint' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"dynCall")&&(e.dynCall=function(){en("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getCompilerSetting")&&(e.getCompilerSetting=function(){en("'getCompilerSetting' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"print")&&(e.print=function(){en("'print' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"printErr")&&(e.printErr=function(){en("'printErr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getTempRet0")&&(e.getTempRet0=function(){en("'getTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"setTempRet0")&&(e.setTempRet0=function(){en("'setTempRet0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"callMain")&&(e.callMain=function(){en("'callMain' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"abort")&&(e.abort=function(){en("'abort' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stringToNewUTF8")&&(e.stringToNewUTF8=function(){en("'stringToNewUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"setFileTime")&&(e.setFileTime=function(){en("'setFileTime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emscripten_realloc_buffer")&&(e.emscripten_realloc_buffer=function(){en("'emscripten_realloc_buffer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ENV")&&(e.ENV=function(){en("'ENV' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ERRNO_CODES")&&(e.ERRNO_CODES=function(){en("'ERRNO_CODES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ERRNO_MESSAGES")&&(e.ERRNO_MESSAGES=function(){en("'ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"setErrNo")&&(e.setErrNo=function(){en("'setErrNo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"inetPton4")&&(e.inetPton4=function(){en("'inetPton4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"inetNtop4")&&(e.inetNtop4=function(){en("'inetNtop4' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"inetPton6")&&(e.inetPton6=function(){en("'inetPton6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"inetNtop6")&&(e.inetNtop6=function(){en("'inetNtop6' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"readSockaddr")&&(e.readSockaddr=function(){en("'readSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeSockaddr")&&(e.writeSockaddr=function(){en("'writeSockaddr' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"DNS")&&(e.DNS=function(){en("'DNS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getHostByName")&&(e.getHostByName=function(){en("'getHostByName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"GAI_ERRNO_MESSAGES")&&(e.GAI_ERRNO_MESSAGES=function(){en("'GAI_ERRNO_MESSAGES' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"Protocols")&&(e.Protocols=function(){en("'Protocols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"Sockets")&&(e.Sockets=function(){en("'Sockets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getRandomDevice")&&(e.getRandomDevice=function(){en("'getRandomDevice' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"traverseStack")&&(e.traverseStack=function(){en("'traverseStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"UNWIND_CACHE")&&(e.UNWIND_CACHE=function(){en("'UNWIND_CACHE' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"withBuiltinMalloc")&&(e.withBuiltinMalloc=function(){en("'withBuiltinMalloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"readAsmConstArgsArray")&&(e.readAsmConstArgsArray=function(){en("'readAsmConstArgsArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"readAsmConstArgs")&&(e.readAsmConstArgs=function(){en("'readAsmConstArgs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"mainThreadEM_ASM")&&(e.mainThreadEM_ASM=function(){en("'mainThreadEM_ASM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"jstoi_q")&&(e.jstoi_q=function(){en("'jstoi_q' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"jstoi_s")&&(e.jstoi_s=function(){en("'jstoi_s' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getExecutableName")&&(e.getExecutableName=function(){en("'getExecutableName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"listenOnce")&&(e.listenOnce=function(){en("'listenOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"autoResumeAudioContext")&&(e.autoResumeAudioContext=function(){en("'autoResumeAudioContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"dynCallLegacy")&&(e.dynCallLegacy=function(){en("'dynCallLegacy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getDynCaller")&&(e.getDynCaller=function(){en("'getDynCaller' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"dynCall")&&(e.dynCall=function(){en("'dynCall' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"callRuntimeCallbacks")&&(e.callRuntimeCallbacks=function(){en("'callRuntimeCallbacks' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"runtimeKeepaliveCounter")&&(e.runtimeKeepaliveCounter=function(){en("'runtimeKeepaliveCounter' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"keepRuntimeAlive")&&(e.keepRuntimeAlive=function(){en("'keepRuntimeAlive' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"runtimeKeepalivePush")&&(e.runtimeKeepalivePush=function(){en("'runtimeKeepalivePush' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"runtimeKeepalivePop")&&(e.runtimeKeepalivePop=function(){en("'runtimeKeepalivePop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"callUserCallback")&&(e.callUserCallback=function(){en("'callUserCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"maybeExit")&&(e.maybeExit=function(){en("'maybeExit' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"asmjsMangle")&&(e.asmjsMangle=function(){en("'asmjsMangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"reallyNegative")&&(e.reallyNegative=function(){en("'reallyNegative' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"unSign")&&(e.unSign=function(){en("'unSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"reSign")&&(e.reSign=function(){en("'reSign' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"formatString")&&(e.formatString=function(){en("'formatString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"PATH")&&(e.PATH=function(){en("'PATH' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"PATH_FS")&&(e.PATH_FS=function(){en("'PATH_FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"SYSCALLS")&&(e.SYSCALLS=function(){en("'SYSCALLS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"syscallMmap2")&&(e.syscallMmap2=function(){en("'syscallMmap2' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"syscallMunmap")&&(e.syscallMunmap=function(){en("'syscallMunmap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getSocketFromFD")&&(e.getSocketFromFD=function(){en("'getSocketFromFD' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getSocketAddress")&&(e.getSocketAddress=function(){en("'getSocketAddress' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"JSEvents")&&(e.JSEvents=function(){en("'JSEvents' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerKeyEventCallback")&&(e.registerKeyEventCallback=function(){en("'registerKeyEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"specialHTMLTargets")&&(e.specialHTMLTargets=function(){en("'specialHTMLTargets' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"maybeCStringToJsString")&&(e.maybeCStringToJsString=function(){en("'maybeCStringToJsString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"findEventTarget")&&(e.findEventTarget=function(){en("'findEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"findCanvasEventTarget")&&(e.findCanvasEventTarget=function(){en("'findCanvasEventTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getBoundingClientRect")&&(e.getBoundingClientRect=function(){en("'getBoundingClientRect' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillMouseEventData")&&(e.fillMouseEventData=function(){en("'fillMouseEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerMouseEventCallback")&&(e.registerMouseEventCallback=function(){en("'registerMouseEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerWheelEventCallback")&&(e.registerWheelEventCallback=function(){en("'registerWheelEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerUiEventCallback")&&(e.registerUiEventCallback=function(){en("'registerUiEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerFocusEventCallback")&&(e.registerFocusEventCallback=function(){en("'registerFocusEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillDeviceOrientationEventData")&&(e.fillDeviceOrientationEventData=function(){en("'fillDeviceOrientationEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerDeviceOrientationEventCallback")&&(e.registerDeviceOrientationEventCallback=function(){en("'registerDeviceOrientationEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillDeviceMotionEventData")&&(e.fillDeviceMotionEventData=function(){en("'fillDeviceMotionEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerDeviceMotionEventCallback")&&(e.registerDeviceMotionEventCallback=function(){en("'registerDeviceMotionEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"screenOrientation")&&(e.screenOrientation=function(){en("'screenOrientation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillOrientationChangeEventData")&&(e.fillOrientationChangeEventData=function(){en("'fillOrientationChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerOrientationChangeEventCallback")&&(e.registerOrientationChangeEventCallback=function(){en("'registerOrientationChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillFullscreenChangeEventData")&&(e.fillFullscreenChangeEventData=function(){en("'fillFullscreenChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerFullscreenChangeEventCallback")&&(e.registerFullscreenChangeEventCallback=function(){en("'registerFullscreenChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerRestoreOldStyle")&&(e.registerRestoreOldStyle=function(){en("'registerRestoreOldStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"hideEverythingExceptGivenElement")&&(e.hideEverythingExceptGivenElement=function(){en("'hideEverythingExceptGivenElement' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"restoreHiddenElements")&&(e.restoreHiddenElements=function(){en("'restoreHiddenElements' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"setLetterbox")&&(e.setLetterbox=function(){en("'setLetterbox' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"currentFullscreenStrategy")&&(e.currentFullscreenStrategy=function(){en("'currentFullscreenStrategy' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"restoreOldWindowedStyle")&&(e.restoreOldWindowedStyle=function(){en("'restoreOldWindowedStyle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"softFullscreenResizeWebGLRenderTarget")&&(e.softFullscreenResizeWebGLRenderTarget=function(){en("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"doRequestFullscreen")&&(e.doRequestFullscreen=function(){en("'doRequestFullscreen' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillPointerlockChangeEventData")&&(e.fillPointerlockChangeEventData=function(){en("'fillPointerlockChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerPointerlockChangeEventCallback")&&(e.registerPointerlockChangeEventCallback=function(){en("'registerPointerlockChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerPointerlockErrorEventCallback")&&(e.registerPointerlockErrorEventCallback=function(){en("'registerPointerlockErrorEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"requestPointerLock")&&(e.requestPointerLock=function(){en("'requestPointerLock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillVisibilityChangeEventData")&&(e.fillVisibilityChangeEventData=function(){en("'fillVisibilityChangeEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerVisibilityChangeEventCallback")&&(e.registerVisibilityChangeEventCallback=function(){en("'registerVisibilityChangeEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerTouchEventCallback")&&(e.registerTouchEventCallback=function(){en("'registerTouchEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillGamepadEventData")&&(e.fillGamepadEventData=function(){en("'fillGamepadEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerGamepadEventCallback")&&(e.registerGamepadEventCallback=function(){en("'registerGamepadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerBeforeUnloadEventCallback")&&(e.registerBeforeUnloadEventCallback=function(){en("'registerBeforeUnloadEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"fillBatteryEventData")&&(e.fillBatteryEventData=function(){en("'fillBatteryEventData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"battery")&&(e.battery=function(){en("'battery' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerBatteryEventCallback")&&(e.registerBatteryEventCallback=function(){en("'registerBatteryEventCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"setCanvasElementSize")&&(e.setCanvasElementSize=function(){en("'setCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getCanvasElementSize")&&(e.getCanvasElementSize=function(){en("'getCanvasElementSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"polyfillSetImmediate")&&(e.polyfillSetImmediate=function(){en("'polyfillSetImmediate' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"demangle")&&(e.demangle=function(){en("'demangle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"demangleAll")&&(e.demangleAll=function(){en("'demangleAll' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"jsStackTrace")&&(e.jsStackTrace=function(){en("'jsStackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stackTrace")&&(e.stackTrace=function(){en("'stackTrace' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getEnvStrings")&&(e.getEnvStrings=function(){en("'getEnvStrings' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"checkWasiClock")&&(e.checkWasiClock=function(){en("'checkWasiClock' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"flush_NO_FILESYSTEM")&&(e.flush_NO_FILESYSTEM=function(){en("'flush_NO_FILESYSTEM' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeI53ToI64")&&(e.writeI53ToI64=function(){en("'writeI53ToI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeI53ToI64Clamped")&&(e.writeI53ToI64Clamped=function(){en("'writeI53ToI64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeI53ToI64Signaling")&&(e.writeI53ToI64Signaling=function(){en("'writeI53ToI64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeI53ToU64Clamped")&&(e.writeI53ToU64Clamped=function(){en("'writeI53ToU64Clamped' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeI53ToU64Signaling")&&(e.writeI53ToU64Signaling=function(){en("'writeI53ToU64Signaling' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"readI53FromI64")&&(e.readI53FromI64=function(){en("'readI53FromI64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"readI53FromU64")&&(e.readI53FromU64=function(){en("'readI53FromU64' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"convertI32PairToI53")&&(e.convertI32PairToI53=function(){en("'convertI32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"convertU32PairToI53")&&(e.convertU32PairToI53=function(){en("'convertU32PairToI53' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"uncaughtExceptionCount")&&(e.uncaughtExceptionCount=function(){en("'uncaughtExceptionCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"exceptionLast")&&(e.exceptionLast=function(){en("'exceptionLast' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"exceptionCaught")&&(e.exceptionCaught=function(){en("'exceptionCaught' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ExceptionInfoAttrs")&&(e.ExceptionInfoAttrs=function(){en("'ExceptionInfoAttrs' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ExceptionInfo")&&(e.ExceptionInfo=function(){en("'ExceptionInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"CatchInfo")&&(e.CatchInfo=function(){en("'CatchInfo' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"exception_addRef")&&(e.exception_addRef=function(){en("'exception_addRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"exception_decRef")&&(e.exception_decRef=function(){en("'exception_decRef' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"Browser")&&(e.Browser=function(){en("'Browser' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"funcWrappers")&&(e.funcWrappers=function(){en("'funcWrappers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getFuncWrapper")&&(e.getFuncWrapper=function(){en("'getFuncWrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"setMainLoop")&&(e.setMainLoop=function(){en("'setMainLoop' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"FS")&&(e.FS=function(){en("'FS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"mmapAlloc")&&(e.mmapAlloc=function(){en("'mmapAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"MEMFS")&&(e.MEMFS=function(){en("'MEMFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"TTY")&&(e.TTY=function(){en("'TTY' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"PIPEFS")&&(e.PIPEFS=function(){en("'PIPEFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"SOCKFS")&&(e.SOCKFS=function(){en("'SOCKFS' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"_setNetworkCallback")&&(e._setNetworkCallback=function(){en("'_setNetworkCallback' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"tempFixedLengthArray")&&(e.tempFixedLengthArray=function(){en("'tempFixedLengthArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"miniTempWebGLFloatBuffers")&&(e.miniTempWebGLFloatBuffers=function(){en("'miniTempWebGLFloatBuffers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"heapObjectForWebGLType")&&(e.heapObjectForWebGLType=function(){en("'heapObjectForWebGLType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"heapAccessShiftForWebGLHeap")&&(e.heapAccessShiftForWebGLHeap=function(){en("'heapAccessShiftForWebGLHeap' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"GL")&&(e.GL=function(){en("'GL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emscriptenWebGLGet")&&(e.emscriptenWebGLGet=function(){en("'emscriptenWebGLGet' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"computeUnpackAlignedImageSize")&&(e.computeUnpackAlignedImageSize=function(){en("'computeUnpackAlignedImageSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emscriptenWebGLGetTexPixelData")&&(e.emscriptenWebGLGetTexPixelData=function(){en("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emscriptenWebGLGetUniform")&&(e.emscriptenWebGLGetUniform=function(){en("'emscriptenWebGLGetUniform' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"webglGetUniformLocation")&&(e.webglGetUniformLocation=function(){en("'webglGetUniformLocation' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"webglPrepareUniformLocationsBeforeFirstUse")&&(e.webglPrepareUniformLocationsBeforeFirstUse=function(){en("'webglPrepareUniformLocationsBeforeFirstUse' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"webglGetLeftBracePos")&&(e.webglGetLeftBracePos=function(){en("'webglGetLeftBracePos' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emscriptenWebGLGetVertexAttrib")&&(e.emscriptenWebGLGetVertexAttrib=function(){en("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"writeGLArray")&&(e.writeGLArray=function(){en("'writeGLArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"AL")&&(e.AL=function(){en("'AL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"SDL_unicode")&&(e.SDL_unicode=function(){en("'SDL_unicode' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"SDL_ttfContext")&&(e.SDL_ttfContext=function(){en("'SDL_ttfContext' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"SDL_audio")&&(e.SDL_audio=function(){en("'SDL_audio' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"SDL")&&(e.SDL=function(){en("'SDL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"SDL_gfx")&&(e.SDL_gfx=function(){en("'SDL_gfx' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"GLUT")&&(e.GLUT=function(){en("'GLUT' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"EGL")&&(e.EGL=function(){en("'EGL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"GLFW_Window")&&(e.GLFW_Window=function(){en("'GLFW_Window' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"GLFW")&&(e.GLFW=function(){en("'GLFW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"GLEW")&&(e.GLEW=function(){en("'GLEW' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"IDBStore")&&(e.IDBStore=function(){en("'IDBStore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"runAndAbortIfError")&&(e.runAndAbortIfError=function(){en("'runAndAbortIfError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emval_handle_array")&&(e.emval_handle_array=function(){en("'emval_handle_array' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emval_free_list")&&(e.emval_free_list=function(){en("'emval_free_list' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emval_symbols")&&(e.emval_symbols=function(){en("'emval_symbols' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"init_emval")&&(e.init_emval=function(){en("'init_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"count_emval_handles")&&(e.count_emval_handles=function(){en("'count_emval_handles' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"get_first_emval")&&(e.get_first_emval=function(){en("'get_first_emval' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getStringOrSymbol")&&(e.getStringOrSymbol=function(){en("'getStringOrSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"requireHandle")&&(e.requireHandle=function(){en("'requireHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emval_newers")&&(e.emval_newers=function(){en("'emval_newers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"craftEmvalAllocator")&&(e.craftEmvalAllocator=function(){en("'craftEmvalAllocator' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emval_get_global")&&(e.emval_get_global=function(){en("'emval_get_global' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"emval_methodCallers")&&(e.emval_methodCallers=function(){en("'emval_methodCallers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"InternalError")&&(e.InternalError=function(){en("'InternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"BindingError")&&(e.BindingError=function(){en("'BindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"UnboundTypeError")&&(e.UnboundTypeError=function(){en("'UnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"PureVirtualError")&&(e.PureVirtualError=function(){en("'PureVirtualError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"init_embind")&&(e.init_embind=function(){en("'init_embind' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"throwInternalError")&&(e.throwInternalError=function(){en("'throwInternalError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"throwBindingError")&&(e.throwBindingError=function(){en("'throwBindingError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"throwUnboundTypeError")&&(e.throwUnboundTypeError=function(){en("'throwUnboundTypeError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ensureOverloadTable")&&(e.ensureOverloadTable=function(){en("'ensureOverloadTable' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"exposePublicSymbol")&&(e.exposePublicSymbol=function(){en("'exposePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"replacePublicSymbol")&&(e.replacePublicSymbol=function(){en("'replacePublicSymbol' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"extendError")&&(e.extendError=function(){en("'extendError' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"createNamedFunction")&&(e.createNamedFunction=function(){en("'createNamedFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registeredInstances")&&(e.registeredInstances=function(){en("'registeredInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getBasestPointer")&&(e.getBasestPointer=function(){en("'getBasestPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerInheritedInstance")&&(e.registerInheritedInstance=function(){en("'registerInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"unregisterInheritedInstance")&&(e.unregisterInheritedInstance=function(){en("'unregisterInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getInheritedInstance")&&(e.getInheritedInstance=function(){en("'getInheritedInstance' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getInheritedInstanceCount")&&(e.getInheritedInstanceCount=function(){en("'getInheritedInstanceCount' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getLiveInheritedInstances")&&(e.getLiveInheritedInstances=function(){en("'getLiveInheritedInstances' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registeredTypes")&&(e.registeredTypes=function(){en("'registeredTypes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"awaitingDependencies")&&(e.awaitingDependencies=function(){en("'awaitingDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"typeDependencies")&&(e.typeDependencies=function(){en("'typeDependencies' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registeredPointers")&&(e.registeredPointers=function(){en("'registeredPointers' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"registerType")&&(e.registerType=function(){en("'registerType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"whenDependentTypesAreResolved")&&(e.whenDependentTypesAreResolved=function(){en("'whenDependentTypesAreResolved' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"embind_charCodes")&&(e.embind_charCodes=function(){en("'embind_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"embind_init_charCodes")&&(e.embind_init_charCodes=function(){en("'embind_init_charCodes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"readLatin1String")&&(e.readLatin1String=function(){en("'readLatin1String' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getTypeName")&&(e.getTypeName=function(){en("'getTypeName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"heap32VectorToArray")&&(e.heap32VectorToArray=function(){en("'heap32VectorToArray' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"requireRegisteredType")&&(e.requireRegisteredType=function(){en("'requireRegisteredType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"getShiftFromSize")&&(e.getShiftFromSize=function(){en("'getShiftFromSize' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"integerReadValueFromPointer")&&(e.integerReadValueFromPointer=function(){en("'integerReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"enumReadValueFromPointer")&&(e.enumReadValueFromPointer=function(){en("'enumReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"floatReadValueFromPointer")&&(e.floatReadValueFromPointer=function(){en("'floatReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"simpleReadValueFromPointer")&&(e.simpleReadValueFromPointer=function(){en("'simpleReadValueFromPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"runDestructors")&&(e.runDestructors=function(){en("'runDestructors' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"new_")&&(e.new_=function(){en("'new_' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"craftInvokerFunction")&&(e.craftInvokerFunction=function(){en("'craftInvokerFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"embind__requireFunction")&&(e.embind__requireFunction=function(){en("'embind__requireFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"tupleRegistrations")&&(e.tupleRegistrations=function(){en("'tupleRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"structRegistrations")&&(e.structRegistrations=function(){en("'structRegistrations' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"genericPointerToWireType")&&(e.genericPointerToWireType=function(){en("'genericPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"constNoSmartPtrRawPointerToWireType")&&(e.constNoSmartPtrRawPointerToWireType=function(){en("'constNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"nonConstNoSmartPtrRawPointerToWireType")&&(e.nonConstNoSmartPtrRawPointerToWireType=function(){en("'nonConstNoSmartPtrRawPointerToWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"init_RegisteredPointer")&&(e.init_RegisteredPointer=function(){en("'init_RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"RegisteredPointer")&&(e.RegisteredPointer=function(){en("'RegisteredPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"RegisteredPointer_getPointee")&&(e.RegisteredPointer_getPointee=function(){en("'RegisteredPointer_getPointee' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"RegisteredPointer_destructor")&&(e.RegisteredPointer_destructor=function(){en("'RegisteredPointer_destructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"RegisteredPointer_deleteObject")&&(e.RegisteredPointer_deleteObject=function(){en("'RegisteredPointer_deleteObject' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"RegisteredPointer_fromWireType")&&(e.RegisteredPointer_fromWireType=function(){en("'RegisteredPointer_fromWireType' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"runDestructor")&&(e.runDestructor=function(){en("'runDestructor' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"releaseClassHandle")&&(e.releaseClassHandle=function(){en("'releaseClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"finalizationGroup")&&(e.finalizationGroup=function(){en("'finalizationGroup' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"detachFinalizer_deps")&&(e.detachFinalizer_deps=function(){en("'detachFinalizer_deps' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"detachFinalizer")&&(e.detachFinalizer=function(){en("'detachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"attachFinalizer")&&(e.attachFinalizer=function(){en("'attachFinalizer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"makeClassHandle")&&(e.makeClassHandle=function(){en("'makeClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"init_ClassHandle")&&(e.init_ClassHandle=function(){en("'init_ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ClassHandle")&&(e.ClassHandle=function(){en("'ClassHandle' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ClassHandle_isAliasOf")&&(e.ClassHandle_isAliasOf=function(){en("'ClassHandle_isAliasOf' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"throwInstanceAlreadyDeleted")&&(e.throwInstanceAlreadyDeleted=function(){en("'throwInstanceAlreadyDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ClassHandle_clone")&&(e.ClassHandle_clone=function(){en("'ClassHandle_clone' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ClassHandle_delete")&&(e.ClassHandle_delete=function(){en("'ClassHandle_delete' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"deletionQueue")&&(e.deletionQueue=function(){en("'deletionQueue' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ClassHandle_isDeleted")&&(e.ClassHandle_isDeleted=function(){en("'ClassHandle_isDeleted' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"ClassHandle_deleteLater")&&(e.ClassHandle_deleteLater=function(){en("'ClassHandle_deleteLater' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"flushPendingDeletes")&&(e.flushPendingDeletes=function(){en("'flushPendingDeletes' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"delayFunction")&&(e.delayFunction=function(){en("'delayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"setDelayFunction")&&(e.setDelayFunction=function(){en("'setDelayFunction' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"RegisteredClass")&&(e.RegisteredClass=function(){en("'RegisteredClass' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"shallowCopyInternalPointer")&&(e.shallowCopyInternalPointer=function(){en("'shallowCopyInternalPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"downcastPointer")&&(e.downcastPointer=function(){en("'downcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"upcastPointer")&&(e.upcastPointer=function(){en("'upcastPointer' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"validateThis")&&(e.validateThis=function(){en("'validateThis' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"char_0")&&(e.char_0=function(){en("'char_0' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"char_9")&&(e.char_9=function(){en("'char_9' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"makeLegalFunctionName")&&(e.makeLegalFunctionName=function(){en("'makeLegalFunctionName' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"bytenn_wrapper")&&(e.bytenn_wrapper=function(){en("'bytenn_wrapper' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"warnOnce")&&(e.warnOnce=function(){en("'warnOnce' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stackSave")&&(e.stackSave=function(){en("'stackSave' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stackRestore")&&(e.stackRestore=function(){en("'stackRestore' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stackAlloc")&&(e.stackAlloc=function(){en("'stackAlloc' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"AsciiToString")&&(e.AsciiToString=function(){en("'AsciiToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stringToAscii")&&(e.stringToAscii=function(){en("'stringToAscii' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"UTF16ToString")&&(e.UTF16ToString=function(){en("'UTF16ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stringToUTF16")&&(e.stringToUTF16=function(){en("'stringToUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"lengthBytesUTF16")&&(e.lengthBytesUTF16=function(){en("'lengthBytesUTF16' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"UTF32ToString")&&(e.UTF32ToString=function(){en("'UTF32ToString' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"stringToUTF32")&&(e.stringToUTF32=function(){en("'stringToUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"lengthBytesUTF32")&&(e.lengthBytesUTF32=function(){en("'lengthBytesUTF32' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"allocateUTF8")&&(e.allocateUTF8=function(){en("'allocateUTF8' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),!Object.getOwnPropertyDescriptor(e,"allocateUTF8OnStack")&&(e.allocateUTF8OnStack=function(){en("'allocateUTF8OnStack' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}),e.writeStackCookie=V,e.checkStackCookie=Y,!Object.getOwnPropertyDescriptor(e,"ALLOC_NORMAL")&&Object.defineProperty(e,"ALLOC_NORMAL",{configurable:!0,get:function(){en("'ALLOC_NORMAL' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),!Object.getOwnPropertyDescriptor(e,"ALLOC_STACK")&&Object.defineProperty(e,"ALLOC_STACK",{configurable:!0,get:function(){en("'ALLOC_STACK' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),ee=function e(){!y&&tM(),!y&&(ee=e)};function tM(t){if(t=t||w,$>0)return;if(tP(),V(),!function(){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)(function(e){K.unshift(e)})(e.preRun.shift());el(K)}(),!($>0))e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),r()},1)):r(),Y();function r(){if(!y)y=!0,e.calledRun=!0,!I&&(Y(),C(!q),q=!0,el(Z),n(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),C(!e._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),!function(){if(Y(),e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;)(function(e){z.unshift(e)})(e.postRun.shift());el(z)}())}}if(e.run=tM,e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();return tM(),e.ready});t.Z=o},971149:function(e,t,n){n.d(t,{T:function(){return d}});var r=n(480333),o=n(629686),i=n(402748),a=n(460776),s=n(926452),l=n(434441),c=n(238844);let u={[l.N.post_comment]:e=>{let{data:t,id:n,collector:r}=e;r.modFeature({id:n,key:s.R.post_comment_cnt,value:e=>e+1})},[l.N.click_comment_button]:e=>{let{data:t,id:n,collector:r}=e;r.modFeature({id:n,key:s.R.click_comment_cnt,value:e=>e+1})}};class d extends c.d{_listener(e){let{eventName:t,data:n,sessionId:r}=e,o=null==n?void 0:n.group_id;(0,u[t])({data:n,id:o,collector:this})}initFeature(e){let{id:t}=e;Object.values(s.R).forEach(e=>{this.addFeatureImmediate({id:t,key:e,value:0})})}constructor(e){super((0,i._)((0,o._)({},e),{eventNames:Object.keys(u),features:Object.values(s.R)})),(0,r._)(this,"featureCollectorType",a.yY.Comment)}}},621297:function(e,t,n){n.d(t,{c:function(){return d}});var r=n(480333),o=n(629686),i=n(402748),a=n(460776),s=n(734558),l=n(434441),c=n(238844);let u={[l.N.play_time]:e=>{let{data:t,id:n,collector:r}=e;r.modFeature({id:n,key:s.l.modal_play_time,value:e=>e+((null==t?void 0:t.duration_moving)||0)})}};class d extends c.d{_listener(e){let{eventName:t,data:n,sessionId:r}=e;null==n||n.group_id;let o=null==n?void 0:n.modal_id;if(o){let e=u[t];e&&e({data:n,id:o,collector:this})}}constructor(e){super((0,i._)((0,o._)({},e),{eventNames:Object.keys(u),features:Object.values(s.l)})),(0,r._)(this,"featureCollectorType",a.yY.Modal)}}},515959:function(e,t,n){n.d(t,{g:function(){return g}});var r=n(480333);n(490629),n(374954),n(706056),n(117232);var o=n(702515),i=n(216438),a=n(153063),s=n(942155),l=n(460776),c=n(304033),u=n(495800),d=n(601034),f=n(472263);let p="FeartureStorageManager",_=(0,i.fF)(p);class g extends s.EventEmitter{setMaxRecordFeatureStorages(e){this._maxRecordFeatureStorages=Math.max(e,this._maxRecordFeatureStorages)}registerFeatureCollector(e){var t;if((null===(t=this.featureCollectorsCountMap)||void 0===t?void 0:t[e])?this.featureCollectorsCountMap[e]++:this.featureCollectorsCountMap[e]=1,this.featureCollectors.has(e)){_(`${e} 特征收集器已存在`);return}let n=(0,f.n)(e);if(n){let t=new n({feartureStorageManager:this});null==t||t.init(),this.featureCollectors.set(e,t)}}removeFeatureCollector(e){var t;if((null===(t=this.featureCollectorsCountMap)||void 0===t?void 0:t[e])&&(this.featureCollectorsCountMap[e]--,this.featureCollectorsCountMap[e]<=0&&this.featureCollectors.has(e))){let t=this.featureCollectors.get(e);null==t||t.destory(),this.featureCollectors.delete(e)}}_channelHandler(e){let{name:t,params:n}=e;t===c.kq.addFeatureStorage?this.addFeatureStorage(n):t===c.kq.modFeature?this.modFeature(n):t===c.kq.addFeature&&this.addFeature(n)}_initFeatureCollectors(){let e=[];Object.entries(this.predict).forEach(t=>{let[n,r]=t,{enable:o,range:i}=r;o&&e.push(n)}),Array.from(new Set([...c.b$,...e])).forEach(e=>this.registerFeatureCollector(e))}getFeatureCollectors(){return this.featureCollectors}addCoverageScenes(e){e.forEach(e=>{var t;(null===(t=this.coverageScenesCountMap)||void 0===t?void 0:t[e])?this.coverageScenesCountMap[e]++:this.coverageScenesCountMap[e]=1}),this.coverageScenes=Array.from(new Set([...this.coverageScenes,...e]))}removeCoverageScenes(e){e.forEach(e=>{var t;if((null===(t=this.coverageScenesCountMap)||void 0===t?void 0:t[e])&&(this.coverageScenesCountMap[e]--,this.coverageScenesCountMap[e]<=0)){let t=this.coverageScenes.findIndex(t=>t===e);t>-1&&this.coverageScenes.splice(t,1)}})}addCreateStorageReportNames(e){e.forEach(e=>{var t;(null===(t=this.createStorageReportNamesCountMap)||void 0===t?void 0:t[e])?this.createStorageReportNamesCountMap[e]++:this.createStorageReportNamesCountMap[e]=1}),this.createStorageReportNames=Array.from(new Set([...this.createStorageReportNames,...e])),this.resetListeners()}removeCreateStorageReportNames(e){e.forEach(e=>{var t;if((null===(t=this.createStorageReportNamesCountMap)||void 0===t?void 0:t[e])&&(this.createStorageReportNamesCountMap[e]--,this.createStorageReportNamesCountMap[e]<=0)){let t=this.createStorageReportNames.findIndex(t=>t===e);t>-1&&this.createStorageReportNames.splice(t,1)}}),this.resetListeners()}_initChannel(){this.channelInstace=new u.$({defaultMessage:[],consumeHandler:this._channelHandler}),this.channelInstace.work()}_destoryChannel(){var e;null===(e=this.channelInstace)||void 0===e||e.destory(),this.channelInstace=null}init(){this._initChannel(),this.resetListeners()}_destoryFeatureCollectors(){this.featureCollectors.forEach(e=>{null==e||e.destory()}),this.featureCollectors.clear(),this.featureCollectors=null}destory(){this._removeListeners(),this._removeAllFeatureStorage(),this.range=null,this._destoryFeatureCollectors(),this.featureStorages=[],this._destoryChannel(),this.coverageScenesCountMap=null,this.featureCollectorsCountMap=null,this.createStorageReportNamesCountMap=null}_eventNamesInclude(e){return this.createStorageReportNames.includes(e)}_enterFromInclude(e){return this.coverageScenes.includes(e)}channelPublish(e){this.channelInstace.publish(e)}_listener(e){let{eventName:t,data:n,sessionId:r}=e;if(!!this._eventNamesInclude(t)&&!!this._enterFromInclude((null==n?void 0:n.enter_from)||(null==n?void 0:n.enter_from_merge)))this.channelPublish({name:c.kq.addFeatureStorage,params:{id:null==n?void 0:n.group_id,awemeInfo:null==n?void 0:n.aweme_info,isInModal:!!(null==n?void 0:n.modal_id),enterFrom:(null==n?void 0:n.enter_from)||(null==n?void 0:n.enter_from_merge)||(0,d.yW)()}})}resetListeners(){this._removeListeners(),this._addListeners()}_createStorageReportNamesTransfer(e){return`${l.hO}${e}`}_addListeners(){this.createStorageReportNames.forEach(e=>{a.p.on(this._createStorageReportNamesTransfer(e),this._listener)})}_removeListeners(){this.createStorageReportNames.forEach(e=>{a.p.off(this._createStorageReportNamesTransfer(e),this._listener)})}initFeatureForStorageItem(e){let{id:t,awemeInfo:n}=e;this.featureCollectors.forEach(e=>{e.initFeature({id:t,awemeInfo:n})})}getEventPayload(e){return{isInModal:e.getIsInModal(),enterFrom:e.getEnterFrom(),id:e.getId(),awemeInfo:e.getAwemeInfo(),features:e.getAllFeature()}}addFeatureStorage(e){var t,n,r;let{id:i,awemeInfo:a,enterFrom:s,isInModal:l}=e,u=this.getFeatureStorageIndex(i);if(-1!==u){if(u===this.featureStorages.length-1)return;this.featureStorages.splice(null===(n=this.featureStorages)||void 0===n?void 0:n.length,0,...this.featureStorages.splice(u,1))}else{this.featureStorages.length>=this._maxRecordFeatureStorages&&this.featureStorages.shift().destory(),this.featureStorages.push(new o.P(e)),this.initFeatureForStorageItem({id:i,awemeInfo:a});let t=null===(r=this.featureStorages)||void 0===r?void 0:r[this.featureStorages.length-1];if(t){let e=this.getEventPayload(t);this.emit(c.ED.addFeatureStorage,e)}}let d=null===(t=this.featureStorages)||void 0===t?void 0:t[this.featureStorages.length-2];if(d){let e=this.getEventPayload(d);this.emit(c.ED.featureStorageCollectorFinish,e)}}_removeAllFeatureStorage(){this.featureStorages.forEach(e=>{e.destory()}),this.featureStorages=[]}getFeatureStorageIndex(e){return this.featureStorages.findIndex(t=>t.getId()===e)}modFeature(e){let{key:t,value:n,id:r,sort:o}=e,i=this.getFeatureStorageIndex(r);if(-1!==i){var a,s;null===(s=this.featureStorages)||void 0===s||null===(a=s[i])||void 0===a||a.modFeature(t,n,o)}}addFeature(e){let{key:t,value:n,id:r,sort:o}=e,i=this.getFeatureStorageIndex(r);-1!==i&&this.featureStorages[i].addFeature(t,n,o)}deleteFeature(e){let{key:t,id:n,sort:r}=e,o=this.getFeatureStorageIndex(n);o&&this.featureStorages[o].deleteFeature(t,r)}getAllFeatureStorages(){return this.featureStorages}getUserFeature(){var e;return null===(e=this.featureCollectors.get(l.yY.User))||void 0===e?void 0:e.getMixFeartues()}getPerformanceFeature(){var e;return null===(e=this.featureCollectors.get(l.yY.Performance))||void 0===e?void 0:e.getMixFeartues()}getLastestNFeature(e){return this.featureStorages.slice(-e).map(e=>e.getAllFeature())}constructor(){super(),(0,r._)(this,"moduleName",p),(0,r._)(this,"coverageScenesCountMap",{}),(0,r._)(this,"createStorageReportNamesCountMap",{}),(0,r._)(this,"featureCollectorsCountMap",{}),(0,r._)(this,"coverageScenes",[]),(0,r._)(this,"createStorageReportNames",[]),(0,r._)(this,"range",void 0),(0,r._)(this,"reportRate",void 0),(0,r._)(this,"predict",void 0),(0,r._)(this,"real",void 0),(0,r._)(this,"config",void 0),(0,r._)(this,"channelInstace",void 0),(0,r._)(this,"_maxRecordFeatureStorages",10),(0,r._)(this,"featureCollectors",new Map),(0,r._)(this,"runCntMixFeaturesRecord",{}),(0,r._)(this,"nextRealCnt",0),(0,r._)(this,"runCnt",0),(0,r._)(this,"sendDataCnt",0),(0,r._)(this,"featureStorages",[]),this._listener=this._listener.bind(this),this._channelHandler=this._channelHandler.bind(this),this.init()}}},734558:function(e,t,n){n.d(t,{l:function(){return r}});var r={modal_play_time:"modal_play_time"}},452782:function(e,t,n){n.d(t,{V:function(){return d}});var r=n(629686),o=n(402748);n(656562),n(992871),n(490629),n(414931),n(76375),n(14275),n(759943),n(679308);var i=n(644229),a=n(818132),s=n(414061);function l(e){let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.appendChild(document.createTextNode(e)),t.appendChild(n)}let c=` .athena-survey-widget[data-feelgood-task-id] { border-radius: 4px; } .athena-survey-widget[data-feelgood-task-id] .athena-form { color: #6C6F8D; font-family: "PingFang SC", "DFPKingGothicGB-Regular", sans-serif !important; } .athena-survey-widget[data-feelgood-task-id] .fg-rating__center-label { color: #6C6F8D; } .athena-survey-widget[data-feelgood-task-id] .athena-question-template__required::before { background: #FE2C55; } .athena-survey-widget[data-feelgood-task-id] .athena-question-template__title .fg-question__title-rich-text > p { color: #0A0C20 !important; font-family: "PingFang SC", "DFPKingGothicGB-Medium", sans-serif !important; font-weight: 500 !important; } .athena-survey-widget[data-feelgood-task-id] .athena-checkbox__input--wrapper.checked { border-color: #FE2C55 !important; background: #FE2C55 !important; } .athena-survey-widget[data-feelgood-task-id] .athena-checkbox__input--wrapper:hover { border-color: #FE2C55 !important; } .athena-survey-widget[data-feelgood-task-id] .athena-short-answer .athena-short-answer__input { border: none; background: #F1F2F5; } .athena-survey-widget[data-feelgood-task-id] .text-area_input > textarea { color: #0A0C20; background: #F1F2F5; } .athena-survey-widget[data-feelgood-task-id] button.form-footer__submit { background: #FE2C55; } .athena-survey-widget[data-feelgood-task-id] .radio .radio__input--wrapper:hover { border-color: #FE2C55; } .athena-survey-widget[data-feelgood-task-id] .radio.checked .radio__input--wrapper { border-color: #FE2C55; } .athena-survey-widget[data-feelgood-task-id] .radio.checked .radio__input--wrapper::after { background-color: #FE2C55; } .athena-survey-widget[data-feelgood-task-id] { display: none; } .feelgoodShow { display: flex; } `,u=` .athena-survey-widget[data-feelgood-task-id] { display: block; } `;async function d(e){setTimeout(()=>{if(!e.isMainland)return;let t=s.listen(s.EVENT.feelgoodReady,async s=>{var d,f;let p,_,g;let h=null!==(d=document.getElementById("btn-feelgood"))&&void 0!==d?d:void 0,v=(await n.e("3932").then(n.bind(n,75288))).default;l(c);let m=(_=null===(f=window.open)||void 0===f?void 0:f.bind(window),{arm:()=>{if(!!_)window.open=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:2e3;p&&clearTimeout(p),p=setTimeout(()=>{_&&(window.open=_,_=null)},e)}});let y=()=>{g&&clearTimeout(g),g=setTimeout(()=>{let e=Array.from(document.querySelectorAll(".athena-survey-widget[data-feelgood-task-id] .athena-widget-close-icon"));e.forEach(e=>{var t;null==e||null===(t=e.click)||void 0===t||t.call(e)}),e=null,l(u)},1500)};m.arm(),v.init((0,o._)((0,r._)({},e),{entryEle:h})),v.start(),i.Z.sendLog("feelgoodInit",{init:1}),v.$on("shown",e=>{var t,n;let{taskId:r}=e;m.restore(2e3),y(),null===(t=document.querySelector("#douyin-navigation"))||void 0===t||t.setAttribute("feelgood-active","true"),!(0,a.ad)(r)&&(null===(n=document.getElementById("btn-feelgood"))||void 0===n||n.classList.add("redDot")),(0,a.qi)(r),i.Z.sendLog("feelgoodShow",{task_id:r})}),v.$on("close",e=>{var t;let{taskId:n}=e;null===(t=document.querySelector("#douyin-navigation"))||void 0===t||t.removeAttribute("feelgood-active"),i.Z.sendLog("feelgoodExit",{task_id:n,action:"close"})}),v.$on("refuse",e=>{var t;let{taskId:n}=e;null===(t=document.querySelector("#douyin-navigation"))||void 0===t||t.removeAttribute("feelgood-active"),i.Z.sendLog("feelgoodExit",{task_id:n,action:"refuse"})}),m.restore(1e4),null==t||t()})},5e3)}},346921:function(e,t,n){n.d(t,{I:function(){return y},R:function(){return E}});var r=n(629686),o=n(402748);n(679308),n(706056),n(362051),n(374954),n(490629);var i=n(601034),a=n(103680),s=n(50331),l=n(414061),c=n(78676),u=n(908219),d=n.n(u),f=n(528937),p=n(66948);let _=1e3/24*2,g=1e3/24*3,h=()=>{var e,t;return(null===(t=performance)||void 0===t?void 0:null===(e=t.now)||void 0===e?void 0:e.call(t))||Date.now()||0},v=function(){};async function m(e){var t;return await f.get({key:null==p?void 0:null===(t=p.TccKey)||void 0===t?void 0:t.FpsStat,defaultValue:p.TCC_DEFAULT_VALUE_MAP.get(p.TccKey.FpsStat)})}let y=function(e){let t,n,r,o,u,f,p,v=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,y=(0,i.yW)(),E={fps:0,scene:y,duration:0,scroll_duration:0,jank:0,jank_duration:0,bjank:0,bjank_duration:0,extra:"1.0.1",display:0},w=0,T=null,O=null,b=d()(e=>{E.scroll_duration+=500},500,{leading:!1,trailing:!0});function S(){if(window.removeEventListener("scroll",b),clearTimeout(n),clearTimeout(r),null==O||O(),cancelAnimationFrame(T),!p)return;let e=f-o;w>10&&e>1e3&&(E.fps=Math.round(1e3*w/e),E.duration=e||0,c.Z.sendLog("sampleFps",E))}function D(){"visible"!==document.visibilityState&&(S(),window.removeEventListener("visibilitychange",D),p=!1)}async function P(){let e=await a.invoke("GET_ALL_DISPLAYS"),t=[];if((null==e?void 0:e.code)===s.jK.Success)for(let n of null==e?void 0:e.data)t.push(null==n?void 0:n.displayFrequency);return Math.max(...t)||0}async function R(){var n,i,a;let s;t=await m(y),E.display=await P();if(n=e,i=t,a=y,s=!0,0===n?s=!1:(null==i?void 0:i.switch)&&((null==i?void 0:i.scene)||[]).includes(a)||(s=!1),!!(p=s))w=0,o=h(),f=u=h(),!function e(){var t;if(!!(null===(t=window)||void 0===t?void 0:t.requestAnimationFrame))T=requestAnimationFrame(function(){w++;let t=(f=h())-u;u=f,t>_&&(E.jank++,E.jank_duration+=t),t>g&&(E.bjank++,E.bjank_duration+=t),e()})}(),window.addEventListener("scroll",b,!0),O=l.listen(l.EVENT.swiperVideo,b),window.addEventListener("visibilitychange",D),r=setTimeout(S,null==t?void 0:t.interval)}return n=setTimeout(()=>R(),v),S};function E(e){var t;if(!(null===(t=window)||void 0===t?void 0:t.requestAnimationFrame))return v;let{timeout:n=1e4,eventName:a}=e,s={fps:0,duration:0,jank:0,jank_duration:0,bjank:0,bjank_duration:0,is_timeout:!1},l=0,u=h(),d=u,f=null,p=null;return!function e(){f=requestAnimationFrame(function(){l++;let t=h(),n=t-d;d=t,n>_&&(s.jank++,s.jank_duration+=n),n>g&&(s.bjank++,s.bjank_duration+=n),e()})}(),p=setTimeout(()=>{f&&cancelAnimationFrame(f),s.is_timeout=!0},n),function(){f&&cancelAnimationFrame(f),p&&clearTimeout(p);let e=s.is_timeout?n:h()-u;s.duration=Math.round(e),s.fps=Math.round(1e3*l/e),c.Z.sendLog(a,(0,o._)((0,r._)({},s),{scene:(0,i.yW)()}))}}},50331:function(e,t,n){n.d(t,{gl:function(){return o},jK:function(){return r}});var r={Success:1,1:"Success",Failure:-1,"-1":"Failure",EnvError:-2,"-2":"EnvError",RuleError:-3,"-3":"RuleError",Unauthorized:-4,"-4":"Unauthorized",SDKInnerError:-5,"-5":"SDKInnerError",Unknown:-9,"-9":"Unknown"},o={getLynxInfo:"getLynxInfo",closeLynxWindow:"closeLynxWindow",showWindowByWebWhenLynx:"showWindowByWebWhenLynx",sessionStorageSetItem:"sessionStorage.setItem",localStorageSetItem:"localStorage.setItem",localStoragesetAll:"localStorage.setAll",getVideoDownloadPath:"getVideoDownloadPath",showItemInFolder:"showItemInFolder",EXEC_BY_CLIENT:"EXEC_BY_CLIENT",SHOW_OPEN_DIALOG:"SHOW_OPEN_DIALOG",SET_STORE_ITEM:"SET_STORE_ITEM",IS_WINDOW_FULLSCREEN:"IS_WINDOW_FULLSCREEN",SET_FULL_SCREEN:"SET_FULL_SCREEN",downloadURL:"downloadURL",cancelVideoDownload:"cancelVideoDownload",pipParentWinShow:"pipParentWinShow",setDesktopSearchWidgetState:"setDesktopSearchWidgetState",getDesktopSearchWidgetInfo:"getDesktopSearchWidgetInfo",setExtensionAssociation:"setExtensionAssociation",isExtensionAssociation:"isExtensionAssociation",getMemoryInfo:"getMemoryInfo",getSystemInfo:"getSystemInfo",setCrashInfo:"setCrashInfo",canSetDesktopFollowWidget:"canSetDesktopFollowWidget",isDesktopFollowWidgetAutoAdd:"isDesktopFollowWidgetAutoAdd",setDesktopFollowWidgetState:"setDesktopFollowWidgetState",getMultitaskingWindowCount:"getMultitaskingWindowCount",SET_MINIMIZE_TO_TRAY:"SET_MINIMIZE_TO_TRAY",GET_MINIMIZE_INFO:"GET_MINIMIZE_INFO",CHANGE_TO_ORIGINAL_MODE:"CHANGE_TO_ORIGINAL_MODE",CHANGE_TO_SMALL_MODE:"CHANGE_TO_SMALL_MODE",changeMiniWindowHideMode:"changeMiniWindowHideMode",isMiniWindowHideMode:"isMiniWindowHideMode",isMiniWindowLoading:"isMiniWindowLoading",isDesktopMiniWindowWidgetAutoAdd:"isDesktopMiniWindowWidgetAutoAdd",setDesktopMiniWindowWidgetState:"setDesktopMiniWindowWidgetState",mainViewMoveTopByBounds:"mainViewMoveTopByBounds",showWindowByWeb:"showWindowByWeb",OPEN_WALLPAPER_WINDOW:"OPEN_WALLPAPER_WINDOW",printFirstFeedShow:"printFirstFeedShow",getPerformanceInfo:"getPerformanceInfo",getCookieChangeInfo:"getCookieChangeInfo",SET_APP_CONFIG_ITEM:"SET_APP_CONFIG_ITEM",GET_APP_CONFIG_ITEM:"GET_APP_CONFIG_ITEM",NAVIGATION_GO_BACK:"NAVIGATION_GO_BACK",MAIN_WINDOW_MOVE_TOP:"MAIN_WINDOW_MOVE_TOP",setMinimumSizeInResize:"setMinimumSizeInResize",setLandingMode:"setLandingMode",createMultitaskingWindow:"createMultitaskingWindow",CAN_GO_BACK:"CAN_GO_BACK",THEME_CHANGE:"THEME_CHANGE",isTopWebview:"isTopWebview",GET_GUID:"GET_GUID",isDesktopSelfPageWidgetAutoAdd:"isDesktopSelfPageWidgetAutoAdd",canSetDesktopSelfPageWidget:"canSetDesktopSelfPageWidget",hasSetDesktopSelfPageWidget:"hasSetDesktopSelfPageWidget",setDesktopSelfPageWidgetState:"setDesktopSelfPageWidgetState",setClientMMKV:"setClientMMKV",getRecommendFeed:"getRecommendFeed"}},896138:function(e,t,n){let r;n.d(t,{Eh:function(){return R},IX:function(){return M},JB:function(){return I},Ql:function(){return T},eP:function(){return w},kc:function(){return O},no:function(){return D},r4:function(){return C},w_:function(){return P}});var o=n(629686),i=n(402748);n(313036),n(362051),n(679308),n(706056);var a=n(285406),s=n.n(a),l=n(183652),c=n.n(l),u=n(283791),d=n.n(u),f=n(121998),p=n(773453),_=n(414061),g=n(960496),h=n(103680),v=n(618759),m=n(650887);let y={},E=(e,t)=>{var n,r,o,i,a,s,l,c,u;let d=null!==(l=null==e?void 0:null===(o=e.rawData)||void 0===o?void 0:null===(r=o.data)||void 0===r?void 0:null===(n=r.data)||void 0===n?void 0:n.error_code)&&void 0!==l?l:"",f=null!==(c=null==e?void 0:null===(s=e.rawData)||void 0===s?void 0:null===(a=s.data)||void 0===a?void 0:null===(i=a.data)||void 0===i?void 0:i.description)&&void 0!==c?c:"",_=null!==(u=null==e?void 0:e.log_id)&&void 0!==u?u:"";p.i.sendLog("passportLogout",{params_for_special:"uc_login",scene:"douyin_web",logout_from:"user_logout",error_code:d,errCode:d,errorCode:d,errDesc:f,error_desc:f,result:t,urlpath:window.location.href,logid:_,from_logid:_})},w={aid:6383,region:"cn",isBoe:g.uZ,appName:"抖音 Web 站",secondVerifyWebOptions:{useSmsMode:6},generalParams:{device_platform:(0,v.HA)()},acrawler:g.uZ?"0":"1",ztsdk:!1,appKey:"163e7ce78d58971a41f5b969996d85c2"},T=async e=>{if(r&&JSON.stringify(e)===JSON.stringify(y))return r;y=e;let{WebInterfaceSdk:t}=await Promise.all([n.e("28872"),n.e("80152")]).then(n.bind(n,852011));return r=new t((0,o._)((0,i._)((0,o._)({},w),{hcSwitch:!1,isNewVerifyUI:!0,appName:"douyin_web"}),e||{}))},O=async e=>{_.emit(_.EVENT.showDouyinWindow,{from:"logout"});let t=(0,m.q)(["from_lynx"],e||`${window.location.origin}${window.location.pathname}`);h.asyncCall("onLogout");let n=await T();try{let e=await n.login.logout({next:t,need_redirect:0});E(e,"1"),window.location.href=t;try{navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"logout"})}catch(e){}}catch(e){throw E(e,"0"),e}},b=c().create(),S=new(d()),D=e=>(S.on("account_change",e),()=>{S.off("account_change",e)}),P=e=>(S.on("account_popup",e),()=>{S.off("account_popup",e)}),R=()=>{S.emit("account_change")},M=()=>{S.emit("account_popup")};function I(){if(location.href.includes("/user")){let{url:e,query:t}=f.parseUrl(location.href),n=f.stringifyUrl({url:e,query:s()(t,["vid"])});window.history.replaceState(null,"",n)}}async function C(){return await b({url:"https://www.douyin.com/api/user/registerWebId",method:"GET",baseURL:origin,withCredentials:!0,headers:{"Content-Type":"application/json"}})}},672734:function(e,t,n){n.d(t,{y:function(){return o}});var r=n(499059);let o=e=>{let t=r.Le.getConfig(r.gI.AiAskPageTimestampDurationStore);if(!!t&&!!t.groupId&&!!t.startedAt){try{e("pcAiAskPageTimestampDuration",{group_id:t.groupId,enter_from:t.enterFrom,type:t.type,timestamp_title:t.timestampTitle,duration:Date.now()-t.startedAt})}catch(e){}r.Le.setConfig(r.gI.AiAskPageTimestampDurationStore,null,!1)}}},549416:function(e,t,n){n.d(t,{R:function(){return o}}),n(112459),n(759943);var r=n(121998);let o=()=>{var e;return"/user/self"===location.pathname&&(null===(e=r.parse(location.search))||void 0===e?void 0:e.showTab)==="ai_note"}},351311:function(e,t,n){n.d(t,{I:function(){return r}}),n(374954);let r=(e,t)=>{let n=[];for(let r=0;r{try{e.length<9&&(e=e.replace("#","#FF"));let t=parseInt(e.slice(1,3),16)/255,n=parseInt(e.slice(3,5),16),r=parseInt(e.slice(5,7),16),o=parseInt(e.slice(7,9),16);return`rgba(${n}, ${r}, ${o}, ${t})`}catch(e){return}})},642613:function(e,t,n){n.d(t,{W:function(){return r}});function r(){let e=document;return(null==e?void 0:e.fullscreenElement)||(null==e?void 0:e.msFullscreenElement)||(null==e?void 0:e.mozFullScreenElement)||(null==e?void 0:e.webkitFullscreenElement)||null}},457230:function(e,t,n){n.d(t,{O:function(){return o}});var r=n(414061);let o=e=>{window.addEventListener("scroll",e);let t=r.listen(r.EVENT.routePageScroll,e);return()=>{window.removeEventListener("scroll",e),t()}}},265886:function(e,t,n){n.d(t,{P:function(){return a}});var r=n(869014),o=n.n(r),i=n(618759);let a=e=>{let t={preloadCount:{open:!0,count:2},videoPreloadConfig:{adaptRange:{cacheSafeFactor:3,estPTcontrol:!0,estPlayTime:12,maxTargetCacheDur:60,minBandwidth:1e6,minDangerThreshold:4,minTargetCacheDur:30,rangeControl:!0,rangeMaxDuration:15,rangeMinDuration:5,rangeMinSize:409600,safeFactor:.1,targetCacheControl:!0},segmentMinDuration:5},preloadAttachDelay:0,preloadConfig:{startPreloadControl:!0,startPreloadMinBuffer:7,startPreloadMinPosTime:0}};!(0,i.DT)()&&(t=o()(t,{preloadCount:{count:1},videoPreloadConfig:{adaptRange:{cacheSafeFactor:4,estPTcontrol:!0,estPlayTime:10,maxTargetCacheDur:80,minBandwidth:1e6,minDangerThreshold:5,minTargetCacheDur:40,rangeControl:!0,rangeMaxDuration:20,rangeMinDuration:5,rangeMinSize:409600,safeFactor:.1,targetCacheControl:!0}}}));let n=(null==e?void 0:e.searchPreloadServer)||{};return(null==n?void 0:n.client)&&(0,i.DT)()?n=(null==n?void 0:n.client)||{}:(null==n?void 0:n.web)&&!(0,i.DT)()&&(n=(null==n?void 0:n.web)||{}),o()({},t,null==e?void 0:e.searchPreload,n)}},661444:function(e,t,n){n.d(t,{DX:function(){return _},Dx:function(){return c},EC:function(){return u},En:function(){return s},Q5:function(){return h},_O:function(){return p},aI:function(){return d},e2:function(){return f},gy:function(){return v},h$:function(){return g},i8:function(){return w},iT:function(){return i},ix:function(){return E},lZ:function(){return y},oS:function(){return l},pf:function(){return a},w6:function(){return o},yb:function(){return m},z1:function(){return T}}),n(240148),n(759943),n(228983),n(706056),n(14275),n(968336);var r=n(958396);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.match(/^(https?\:)\/\/(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);return t&&{href:e,protocol:t[1],host:t[2],hostname:t[3],port:t[4],pathname:t[5],search:t[6],hash:t[7]}}let i=e=>{let t={};try{t=o(e)}catch(e){}return(null==t?void 0:t.host)||""};function a(e){var t,n,r;let o=(null!==(r=null===(t=null!=e?e:null===(n=location)||void 0===n?void 0:n.href)||void 0===t?void 0:t.split("?")[1])&&void 0!==r?r:"").split("&").filter(Boolean),i={};return o.forEach(e=>{if(e.includes("=")){let t=e.split("=");i[t[0]]=t[1]}}),i}function s(e){var t;return/\/search/.test(null!=e?e:null===(t=location)||void 0===t?void 0:t.pathname)}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e||location.pathname;return"/"===t||t.startsWith("/root")}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"/"===(e||location.pathname)}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"/jingxuan"===(e||location.pathname)}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(e||location.pathname).startsWith("/video")}function f(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0],(0,r.d)(),location.pathname.startsWith("/jingxuan")}function p(){var e,t;return/live/.test(null===(t=window)||void 0===t?void 0:null===(e=t.location)||void 0===e?void 0:e.host)}function _(){return!s()&&!p()}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(e||location.pathname).startsWith("/user")}function h(e){let t=e||location.pathname;return/\/aisearch/.test(t)}function v(e){let t=e||location.pathname;return/\/gameactivitydetail/.test(t)}function m(e){let t=e||location.pathname;return/\/microgame/.test(t)}function y(e){let t=e||location.pathname;return/^\/chat\/?$/.test(t)}function E(e){let t=e||location.pathname;return/\/aisearch\/share/.test(t)}function w(e){return(0,r.d)(),location.pathname.startsWith("/follow")}function T(e){var t;return/\/friend/.test(null!=e?e:null===(t=location)||void 0===t?void 0:t.pathname)}},418456:function(e,t,n){function r(e){let t,n,r=e.replace(/#/g,"");(3===r.length||4===r.length)&&(r=r.split("").map(e=>e+e).join(""));let o=/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})[\da-z]{0,0}$/i.exec(r);if(!o)return null;let i=parseInt(o[1],16)/255,a=parseInt(o[2],16)/255,s=parseInt(o[3],16)/255,l=parseInt(o[4],16)/255,c=Math.max(a,s,l),u=Math.min(a,s,l),d=(c+u)/2;if(c===u)t=0,n=0;else{let e=c-u;switch(n=d>.5?e/(2-c-u):e/(c+u),c){case a:t=(s-l)/e+(s40?40:o}% ${null==t?void 0:null===(n=t.userUiUpdate)||void 0===n?void 0:n.lightness}%)`}n.d(t,{p:function(){return o},s:function(){return r}}),n(683656),n(759943),n(228983),n(527553),n(104882)},146089:function(e,t,n){n.d(t,{n:function(){return r}});let r=()=>{try{var e,t,n,r,o,i,a,s,l,c,u,d,f;return{custom_js_heap_can_use:String((null===(e=window.performance)||void 0===e?void 0:e.memory)?1:0),custom_js_heap_limit_size:String(null!==(c=null===(n=window.performance)||void 0===n?void 0:null===(t=n.memory)||void 0===t?void 0:t.jsHeapSizeLimit)&&void 0!==c?c:-1),custom_js_heap_total_size:String(null!==(u=null===(o=window.performance)||void 0===o?void 0:null===(r=o.memory)||void 0===r?void 0:r.totalJSHeapSize)&&void 0!==u?u:-1),custom_js_heap_used_size:String(null!==(d=null===(a=window.performance)||void 0===a?void 0:null===(i=a.memory)||void 0===i?void 0:i.usedJSHeapSize)&&void 0!==d?d:-1),custom_js_event_counts:String(null!==(f=null===(l=window.performance)||void 0===l?void 0:null===(s=l.eventCounts)||void 0===s?void 0:s.size)&&void 0!==f?f:-1)}}catch(e){return{custom_js_heap_can_use:"0"}}}},630569:function(e,t,n){n.d(t,{k:function(){return r.k}});var r=n(585215)},44476:function(e,t,n){n.d(t,{d:function(){return c},g:function(){return p}});var r=n(629686);n(679308);var o=n(858119),i=n.n(o),a=n(409250),s=n(426038),l=n(773453);let c=e=>{let{onGranted:t,onDenied:n,requestWhenDenied:r=!1}=e;"undefined"!=typeof Notification&&(r||"denied"!==Notification.permission)&&"granted"!==Notification.permission&&Notification.requestPermission().then(e=>{"granted"===e?(l.i.sendLog("webNotifSettingClick",{status:"on"}),null==t||t()):"denied"===e?(l.i.sendLog("webNotifSettingClick",{status:"off"}),null==n||n()):l.i.sendLog("webNotifSettingClick",{status:"off"})})},u=(e,t,n)=>{if(navigator.serviceWorker)navigator.serviceWorker.ready.then(function(n){n.showNotification(e,t)});else{let r=new Notification(e,i()(t,(e,t)=>"actions"===t));r.onclick=null==n?void 0:n.onClick,r.onshow=null==n?void 0:n.onShow,r.onclose=null==n?void 0:n.onClose}},d=()=>{let e=a.Q.getItem({sKey:s.CookieKeys.LastWebPush})||0;return Date.now()-e>6e4},f=()=>{a.Q.setItem(s.CookieKeys.LastWebPush,Date.now())},p=async e=>{let{title:t,opts:n,eventHandler:o,stopMultiSend:i}=e;if(i){var a;let e=Math.round(9*Math.random())+1;if(await (a=1e3*e,new Promise(e=>setTimeout(e,a))),!d())return!1;f()}let s=(0,r._)({},{badge:"https://lf1-cdn-tos.bytegoofy.com/goofy/ies/douyin_web/public/favicon.ico",body:"你有一条新消息",icon:"https://lf1-cdn-tos.bytegoofy.com/goofy/ies/douyin_web/public/favicon.ico"},n),l=t||"新消息";if("Notification"in window){if("granted"===Notification.permission)return u(l,s,o),!0;else if("denied"!==Notification.permission)return c({onGranted:()=>u(l,s,o)}),!0}else;return!1}},172900:function(e,t,n){n.d(t,{NZ:function(){return r.N},ec:function(){return r.e},uZ:function(){return o.u}});var r=n(550506),o=n(773300)},275481:function(e,t,n){n.d(t,{S:function(){return r}});let r=e=>(!e||0===Object.keys(e).length)&&!0},810069:function(e,t,n){n.d(t,{Es:function(){return i},fs:function(){return l},hj:function(){return a},sq:function(){return s}}),n(932651);let r={},o="",i=()=>r,a=e=>{Object.assign(r,e)},s=()=>o,l=e=>{o=e}},376443:function(e,t,n){n.r(t),n.d(t,{PerformanceMonitor:function(){return s.A},afterLCP:function(){return o.H},afterLCPOrVideoPlay:function(){return r.N},getSystemResourceInfo:function(){return a.J},isAfterLcp:function(){return r.P},lowDeviceOpt:function(){return i}});var r=n(4270),o=n(440863),i=n(751937),a=n(923440),s=n(236338)},235586:function(e,t,n){n.d(t,{X:function(){return o},y:function(){return i}});var r=n(499059);let o=(e,t)=>{let{left:n=0,top:o=0,behavior:i="instant"}=e,a=r.Le.getConfig(r.gI.AbtestData),s={top:o,left:n};try{"scrollBehavior"in document.documentElement.style&&(s.behavior=i)}catch(e){}if(t){if(t.scrollTo){if(null==a?void 0:a.useLowBrowser)try{t.scrollTo(s)}catch(e){t.scrollLeft=n,t.scrollTop=o}else t.scrollTo(s)}else t.scrollLeft=n,t.scrollTop=o}else if(window.scrollTo){if(null==a?void 0:a.useLowBrowser)try{window.scrollTo(s)}catch(e){window.scrollX=n,window.scrollY=o}else window.scrollTo(s)}else window.pageXOffset=n,window.pageYOffset=o},i=(e,t)=>{let{left:n=0,top:o=0,behavior:i="instant"}=e,a={top:o,left:n};r.Le.getConfig(r.gI.AbtestData);try{"scrollBehavior"in document.documentElement.style&&(a.behavior=i)}catch(e){}t?t.scrollBy?t.scrollBy(a):(t.scrollLeft+=n,t.scrollTop+=o):window.scrollBy?window.scrollBy(a):(window.pageXOffset+=n,window.pageYOffset+=o)}},326367:function(e,t,n){n.d(t,{f:function(){return o},y:function(){return i}});var r=n(618759);function o(){var e,t,n,o;return!(0,r.DT)()&&((null===(e=navigator)||void 0===e?void 0:e.standalone)||(null===(n=(o=window).matchMedia)||void 0===n?void 0:null===(t=n.call(o,"(display-mode: standalone), (display-mode: minimal-ui)"))||void 0===t?void 0:t.matches))}function i(){return"serviceWorker"in navigator}},489002:function(e,t,n){n.d(t,{a:function(){return o}}),n(112459),n(759943),n(228983);var r=n(121998);let o=e=>{var t,n,o;let i=window.location.search,a=(0,r.parse)(null===(o=i||"")||void 0===o?void 0:null===(n=o.split)||void 0===n?void 0:null===(t=n.call(o,"?"))||void 0===t?void 0:t[1])||{};return"iesdouyin"===a.redirect_from?"iesdouyin":"awemv"===a.redirect_from?"awemv":void 0}},8013:function(e,t,n){function r(e,t){try{var n,r,o;let i=JSON.stringify(t);return null===(o=window)||void 0===o||null===(r=o.sessionStorage)||void 0===r||null===(n=r.setItem)||void 0===n||n.call(r,e,i),!0}catch(e){return!1}}function o(e){var t,n,r;let o=null===(r=window)||void 0===r?void 0:null===(n=r.sessionStorage)||void 0===n?void 0:null===(t=n.getItem)||void 0===t?void 0:t.call(n,e);if(!o)return null;try{return JSON.parse(o)}catch(e){return null}}function i(e){var t,n,r;return null===(r=window)||void 0===r?void 0:null===(n=r.sessionStorage)||void 0===n?void 0:null===(t=n.removeItem)||void 0===t?void 0:t.call(n,e)}n.d(t,{G:function(){return o},pC:function(){return i},t_:function(){return r}}),n(362051)},367514:function(e,t,n){n.d(t,{u:function(){return a},v:function(){return i}}),n(374954);var r=n(795653),o=n(618759);let i=e=>{let t=[{key:"Z/双击空格",action:"赞"},{key:"Z",action:"取消赞"},{key:"X",action:"评论"},{key:"B",action:"开启/关闭弹幕"},{key:"C",action:"收藏/取消收藏"},{key:"V",action:"复制分享口令"},{key:"J",action:"清屏"},{key:"K",action:"自动连播"},{key:"R",action:"不感兴趣"},{key:"P",action:"推荐给朋友"},{key:"F",action:"进入作者主页"},{key:"G",action:"关注/取消关注"},{key:"Shift+F",action:"抖音搜索"},{key:"Shift+Q",action:"一键关闭当前页"},{key:"↑↓",action:"上下翻页"},{key:"← →",action:"快进快退"},{key:"空格",action:"暂停"},{key:"Y",action:`${(0,o.DT)()?"窗口全屏":"网页内全屏"}`},{key:"H",action:"全屏"},{key:"L",action:"稍后再看"},{key:"Shift + / Shift -",action:"音量调整"},{key:"?",action:"呼出快捷键列表"},{key:"ESC",action:"关闭快捷键列表"},{key:"N",action:"相关推荐"},{key:"T",action:"听抖音"},{key:(0,r.Q5)()?"Command + P":"Ctrl + P",action:"AI抖音新会话"}];return(0,o.DT)()&&t.push({key:"U",action:"小窗模式"}),t},a=[{key:"B",action:"开启/关闭弹幕"},{key:"K",action:"自动连播"},{key:"Shift+F",action:"抖音搜索"},{key:"Shift+Q",action:"一键关闭当前页"},{key:"← →",action:"快进快退"},{key:"空格",action:"暂停"},{key:"Y",action:`${(0,o.DT)()?"窗口全屏":"网页内全屏"}`},{key:"H",action:"全屏"},{key:"Shift + / Shift -",action:"音量调整"},{key:"?",action:"呼出快捷键列表"},{key:"ESC",action:"关闭快捷键列表"}]},449716:function(e,t,n){n.d(t,{t:function(){return o}});var r=n(392430);let o=e=>{var t,n;let o=(null===(t=window)||void 0===t?void 0:t.SSR_RENDER_DATA)||(null===(n=window)||void 0===n?void 0:n.SSR_RENDER_DATA_DOC);if(!o)return null;let i=null;return Object.keys(o).forEach(t=>{let n=o[t];n[e]&&(0,r.Kn)(n)?i=n[e]:t===e&&(i=n)}),i}},947383:function(e,t,n){n.d(t,{f:function(){return r}});let r=()=>"draw_ad"},644212:function(e,t,n){n.d(t,{t:function(){return s}});var r=n(232420),o=n(848935),i=n(101199),a=n(356336);let s=e=>{let{projectId:t,subProjectName:n,bid:s,abTestData:l}=e,c=null==l?void 0:l.argusRuntimeGuard,u=(0,i.useMemo)(()=>`https://mon.zijieapi.com/monitor_browser/collect/batch/security/?bid=${s}`,[s]),d=(0,i.useRef)(!1);(0,i.useEffect)(()=>{if(!d.current&&c===a.CommonSwitch.On){d.current=!0;try{(0,r.o)({protect:!0,reportOnly:!0,reportUrl:u,projectId:t}),(0,o.T)({reportUrl:u,reportOnly:!0,projectId:t,subProjectName:n,variables:["ARGUS_ADMIN","ARGUS_SECRET","ARGUS_PASSWORD","admin","password"]})}catch(e){}}},[t,n,u,c])}},449824:function(e,t,n){n.d(t,{p:function(){return l}});var r=n(101199),o=n(426038),i=n(219558),a=n(806904),s=n(687581);function l(e){let{isLogin:t=!1,uid:n="",ppeEnv:l=""}=e||{};(0,r.useEffect)(()=>{if("ppe_douyin_pc_neice"!==l)return;let{result:e,reset:r,destroy:c}=(0,i.E)(o.LocalStorageKeys.BetaTestLogTimestamp,36e5);if(!t)return c();if(e){let e=(0,a.l)(()=>{s.oe.event.info({name:s.Mo.BetaTest,report:{douyin_uid:n||""}}),r()},{timeout:300});return()=>{e&&e()}}},[t,l,n])}},767661:function(e,t,n){n.d(t,{Em:function(){return c},YG:function(){return l},gQ:function(){return a}}),n(706056);var r=n(101199),o=n(942155),i=n.n(o),a={LIVE_MUTED:"live_muted",LIVE_END:"live_end",LIVE_PAUSE:"live_pause"};let s=["https://www.douyin.com","https://live.douyin.com","https://douyin.com"];function l(e){let{callBack:t,type:n}=e,o=(0,r.useRef)(new(i()));(0,r.useEffect)(()=>{o.current.on(n,t);let e=e=>{let t=e.origin;if(!s.includes(t))return;let{data:n}=e;o.current.emit(n.type,n.obj)};return window.addEventListener("message",e),()=>(o.current.off(n,t),window.removeEventListener("message",e))},[])}function c(e){let{option:t,otherWindow:n}=e;return{sendMessage:(0,r.useCallback)(e=>{let{targetOrigin:r,transfer:o}=t;null==n||n.postMessage(e,r,o)},[e])}}},900596:function(e,t,n){n.d(t,{f:function(){return a},w:function(){return s}}),n(490629);var r=n(101199),o=n(815960),i=n(512423),a={unknown:0,0:"unknown",ios:1,1:"ios",android:2,2:"android"};let s=()=>{let[e,t]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=(0,i.i)(),n=(0,o.getSelectorsByUserAgent)(e);n.isIOS?t(1):n.isAndroid?t(2):t(0)},[]),e}},587461:function(e,t,n){n.d(t,{NW:function(){return s},QJ:function(){return u},al:function(){return l},be:function(){return d},fh:function(){return c}});var r=n(246707),o=n(1028),i=n(624860),a=n(333289);let s={mouseX:0,mouseY:0,pressDownTime:0,tabs:Array(o.NY.length).fill(0).map(()=>({lastClickTime:0,scrollDuration:0}))},l=(0,a.createModel)(function(){(0,r.Z)(()=>{window.addEventListener("mousemove",e=>{s.mouseX=e.pageX,s.mouseY=e.pageY},{passive:!0}),window.addEventListener("mousedown",()=>{s.pressDownTime=performance.now()},{passive:!0});let e=0,t=0;window.addEventListener("scroll",()=>{e?clearTimeout(e):t=performance.now(),e=window.setTimeout(()=>{let{tabIndex:n}=i.w.data.searchParams;s.tabs[n].scrollDuration+=performance.now()-t,clearInterval(e),e=0},50)})})});function c(e){let t=void 0===e?i.w.data.searchParams.tabIndex:e;s.tabs[t].lastClickTime=performance.now()}function u(){let{tabIndex:e}=i.w.data.searchParams;s.tabs[e].scrollDuration=0}function d(){let e=performance.now(),{tabIndex:t}=i.w.data.searchParams;return{anti_search_button_viewport:`${null==s?void 0:s.mouseX},${null==s?void 0:s.mouseY}`,anti_result_click_press_duration:e-((null==s?void 0:s.pressDownTime)||0),anti_result_click_time_diff:e-s.tabs[t].lastClickTime,anti_result_scroll_duration:s.tabs[t].scrollDuration}}},552337:function(e,t,n){let r;n.d(t,{$:function(){return d}});var o=n(629686),i=n(402748),a=n(101199),s=n(992378),l=n(618759),c=n(103680),u=n(923440);(async()=>{if(r="CpuDeriver"!==(0,s.$h)().vendor,(0,l.DT)()){var e;r=!!(r||!(null===(e=await c.invoke("GET_STORE_ITEM",{type:"APP",key:"disable_gpu"}))||void 0===e?void 0:e.data))}})();let d=()=>(0,a.useMemo)(()=>(0,i._)((0,o._)({},(0,u.J)()),{isSupportedGpu:null==r||r}),[])},35863:function(e,t,n){n.d(t,{K:function(){return s}}),n(490629);var r=n(101199),o=n(173379),i=n(229757),a=n.n(i);function s(){let[e,t]=(0,r.useState)(()=>a()(o.m.userConfig));return(0,r.useEffect)(()=>{o.m.refreshConfig().then(()=>{t(a()(o.m.userConfig))})},[]),{config:e,setConfig:async e=>{let n=await o.m.setConfig(e);return t(a()(o.m.userConfig)),n}}}},462633:function(e,t,n){n.d(t,{I:function(){return s},Y:function(){return a}});var r=n(629686),o=n(320165);n(101199);var i=n(977259);let a=(e,t)=>{let n=(0,o.jsx)(e,(0,r._)({},t));return(0,i.renderToString)(n)},s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{width:36,height:36};return a(e,t)}},752150:function(e,t,n){n.d(t,{GI:function(){return p},ZP:function(){return _},cB:function(){return d},id:function(){return f}});var r=n(629686),o=n(402748);n(591964),n(490629),n(76375),n(679308);var i=n(183652),a=n.n(i);let s="undefined"==typeof window,l={},c={};function u(e,t){try{return JSON.parse(null==e?void 0:e[t])}catch(n){return null==e?void 0:e[t]}}function d(e,t){if(s){var n,i,a,l;return Object.entries(null!==(l=null==e?void 0:null===(a=e.app)||void 0===a?void 0:null===(i=a.config)||void 0===i?void 0:null===(n=i.tcc)||void 0===n?void 0:n.clients)&&void 0!==l?l:{}).reduce((e,n)=>{var i;let[a,s]=n,l=Object.entries(null!==(i=null==s?void 0:s.schema)&&void 0!==i?i:{}).reduce((e,n)=>{var o;let[i,{client:s}]=n;return(0,r._)({},e,s?{[i]:null==t?void 0:null===(o=t[a])||void 0===o?void 0:o[i]}:{})},{});return(0,o._)((0,r._)({},e),{[a]:l})},{})}return t}function f(e){let{service_name:t,confspace:n="default",data:r}=e;l[`${t}-${n}`]=r}function p(e){var t,n,r,o,i,a,s;let{ctx:c,service_name:u,key:d}=e;if(c){let e=Object.keys(c.tcc).find(e=>c.tcc[e].requestParams.serviceName===u);if(null===(r=c.cachedTccData)||void 0===r?void 0:null===(n=r[e])||void 0===n?void 0:n[d])return null!==(a=null===(i=c.cachedTccData)||void 0===i?void 0:null===(o=i[e])||void 0===o?void 0:o[d])&&void 0!==a?a:{}}return null!==(s=null==l?void 0:null===(t=l[u])||void 0===t?void 0:t[d])&&void 0!==s?s:{}}async function _(e){var t,n,r,o,i,d;let{ctx:f,service_name:p,key:_,confspace:g="default"}=e;if(s&&!f)throw Error(`服务端调用 TCC 需要传入请求上下文 ctx !${_}`);if(f){let e=Date.now(),a=Object.keys(f.tcc).find(e=>f.tcc[e].requestParams.serviceName===p);if(!a)throw Error(`找不到 ${p} 的相关配置,请确保在 tcc.default.ts 已录入该 service_name`);if(null===(n=f.cachedTccData)||void 0===n?void 0:null===(t=n[a])||void 0===t?void 0:t[_])return null===(i=f.cachedTccData)||void 0===i?void 0:null===(o=i[a])||void 0===o?void 0:o[_];let s=await f.tcc[a].get(_);return null==f||null===(r=f.metrics)||void 0===r||r.emitTimer("tcc_live_time",Date.now()-e,"webcast.douyin.live_pc",{name:"live-tcc-time"}),s}{let e=`${p}-${g}`;if(null===(d=l[e])||void 0===d?void 0:d[_])return c[e]=null,u(l[e],_);!c[e]&&(c[e]=a().get(`https://lf3-config.bytetcc.com/obj/tcc-config-web/tcc-v2-data-${p}-${g}`));let{data:{data:t}}=await c[e];return l[e]=t,u(t,_)}}},763650:function(e,t,n){var r=n(480333);n(679308),n(527553),n(414931),n(706056);var o=n(36757);t.Z=class e{constructor({aid:e,request:t}){var n=this;(0,r._)(this,"strategy",void 0),(0,r._)(this,"strategyCounter",void 0),(0,r._)(this,"loginMethods",void 0),(0,r._)(this,"aid",void 0),(0,r._)(this,"path","/passport/general/login_guiding_strategy/"),(0,r._)(this,"strategyKey","LoginGuidingStrategy"),(0,r._)(this,"strategyCounterKey","LoginGuidingStrategyCounter"),(0,r._)(this,"strategyABtestKey","strategyABtestKey"),(0,r._)(this,"request",void 0),(0,r._)(this,"clear",()=>{(0,o.clearLocalStorage)(this.strategyKey),(0,o.clearLocalStorage)(this.strategyCounterKey)}),(0,r._)(this,"getExtra",async(e,t)=>{if(!e||!t)return{shouldShow:!1};if(this.checkStrategyOverTime())try{await this.initStrategy()}catch(e){return{shouldShow:!1}}let n=this.findStrategyByMethodAndScenes(e,t);return null==n?void 0:n.extra}),(0,r._)(this,"getGlobalExtra",async()=>{var e;if(this.checkStrategyOverTime())try{await this.initStrategy()}catch(e){return{shouldShow:!1,test:0}}return null===(e=this.strategy)||void 0===e?void 0:e.extra}),(0,r._)(this,"shouldShowLogin",async function(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e||!t)return{shouldShow:!1};if(n.checkStrategyOverTime())try{await n.initStrategy()}catch(e){return{shouldShow:!1}}let i=n.findStrategyByMethodAndScenes(e,t),a=n.findStrategyCounterByMethodAndScenes(e,t);if(!i||!a)return{shouldShow:!1};{let e=n.calculateShowStatus(i,a,r);return(0,o.setLocalStorage)(n.strategyCounterKey,n.strategyCounter),{extra:null==i?void 0:i.extra,shouldShow:e}}}),(0,r._)(this,"exposure",async()=>{let e=parseInt((0,o.getCookiesItem)(this.strategyABtestKey),10);if(!(0,o.isToday)(e)){(0,o.setCookiesItem)(this.strategyABtestKey,(0,o.getCurrentTime)().toString(),604800,"/","douyin.com","");let e=await this.fetchStrategy();this.strategy=e,this.loginMethods=null==e?void 0:e.login_methods,(0,o.setLocalStorage)(this.strategyKey,e)}}),(0,r._)(this,"fetchStrategy",(0,o.pipeline)(async()=>this.request({url:this.path}))),(0,r._)(this,"pipeFetchStrategy",(0,o.pipeline)(async()=>{let e=await this.fetchStrategy();return this.strategy=e,this.loginMethods=null==e?void 0:e.login_methods,(0,o.setLocalStorage)(this.strategyKey,e),this.genStrategyCounter(e),e})),(0,r._)(this,"initStrategy",async()=>{let e=this.strategy||(0,o.getLocalStorage)(this.strategyKey);this.initStrategyCounter();let t=(0,o.getCurrentTime)();return(null==e?void 0:e.expire_time)&&t<(null==e?void 0:e.expire_time)?(this.strategy=e,this.loginMethods=null==e?void 0:e.login_methods,!this.strategyCounter&&this.genStrategyCounter(e),e):await this.pipeFetchStrategy()}),(0,r._)(this,"initStrategyCounter",()=>{let e=(0,o.getLocalStorage)(this.strategyCounterKey);this.strategyCounter=e}),(0,r._)(this,"genStrategyCounter",e=>{if(!e)return null;let t={},n=null==e?void 0:e.login_methods,r=Object.keys(n);for(let e=0;e!["extra","frequency_control"].includes(e));for(let n=0;n{let n=null;try{var r,o,i;n=null===(i=this.loginMethods)||void 0===i?void 0:null===(o=i[e])||void 0===o?void 0:null===(r=o.scenes)||void 0===r?void 0:r[t]}catch(e){}return n}),(0,r._)(this,"findStrategyCounterByMethodAndScenes",(e,t)=>{let n={counts:0,first_time:0,last_time:0};try{var r,o;n=(null===(o=this.strategyCounter)||void 0===o?void 0:null===(r=o[e])||void 0===r?void 0:r[t])||{counts:0,first_time:0,last_time:0}}catch(e){}return n}),(0,r._)(this,"calculateShowStatus",function(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],{trigger:o,frequency_control:i}=e;return!!n.frequencyControl(i,t)&&n.triggerControl(o,t,r)}),(0,r._)(this,"frequencyControl",(e,t)=>{let{range_type:n,range_interval:r,max_time_in_range:i}=e;if(i>=100)return!0;let a=(null==t?void 0:t.counts)||0,s=(null==t?void 0:t.first_time)||0,l=(null==t?void 0:t.last_time)||0;return!s||!l||((0,o.timeCompare)(n,r,l)?(t.counts=0,t.first_time=0,t.last_time=0,!0):!(a>=i)&&!0)}),(0,r._)(this,"triggerControl",function(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(0,o.getCurrentTime)();return(null==e?void 0:e.trigger_type)!==0&&(0===((null==t?void 0:t.counts)||0)&&(t.first_time=r),n&&(t.counts++,t.last_time=r),((null==e?void 0:e.trigger_type)===1&&t.counts%(null==e?void 0:e.counts)==0||(null==e?void 0:e.trigger_type)===2&&!!(t.counts>=(null==e?void 0:e.counts)))&&(n&&(t.last_time=r),!0))}),(0,r._)(this,"checkStrategyOverTime",()=>{let e=(0,o.getCurrentTime)();return(!this.strategy||!this.strategy.expire_time||!(e1?t-1:0),r=1;r{this.predict(t,n),this._timer=void 0},r?0:this._delay)}click(){for(var e=arguments.length,t=Array(e),n=0;n(0,o.fetchUserFavorite)((0,r._)({maxCursor:0,count:18},e))),d=new i.Z;(0,s.Z)([u],[d],{cached:!0,consume:!1});let f=new a.Z("user_recommend",e=>(0,o.fetchUserRecommend)((0,r._)({maxCursor:0,count:18},e))),p=new a.Z("user_post",e=>(0,o.fetchUserPost)((0,r._)({maxCursor:0,count:18,needTimeList:!0},e))),_=new a.Z("user_collection",e=>(0,o.fetchUserCollection)((0,r._)({maxCursor:0,count:10},e))),g=new a.Z("user_history",e=>(0,l.Ay)((0,r._)({maxCursor:0,count:20},e))),h=new a.Z("user_watch_later",e=>(0,c.F8)((0,r._)({cursor:0},e)))},321426:function(e,t,n){n.d(t,{Cp:function(){return f.C},G9:function(){return _.G},Hv:function(){return i.H},Jq:function(){return c.J},Kk:function(){return u.K},UU:function(){return r.U},W:function(){return o.W},YT:function(){return g.Y},aF:function(){return a.a},cl:function(){return l.c},fy:function(){return d.f},gb:function(){return p.g},sQ:function(){return s.s}});var r=n(137884),o=n(687892),i=n(123945),a=n(776041),s=n(630471),l=n(332525),c=n(676782),u=n(72177),d=n(887670),f=n(544434),p=n(206462),_=n(249189),g=n(975635)},778018:function(e,t,n){n.d(t,{AL:function(){return d},Rp:function(){return u},w3:function(){return c}});var r=n(629686),o=n(402748),i=n(978865),a=n.n(i);function s(e){let{scenes:t,method:n="render"}=e,r={};for(let e=0;e0),a()(c.fetchers,()=>0),a()(c.resource,()=>0),a()(c.navigation,()=>0),a()(c.render,()=>0),a()(c.custom,()=>0),a()(c.hydrate,()=>0),a()(c.scripts,()=>0)),{navigation_type:"",script_indexdb_start2end_duration:0,script_indexdb_start2read_duration:0}),d={prefetch_live:"prefetch_live",prefetch_live_back:"prefetch_live_back",new_preview_live:"new_preview_live"}},921889:function(e,t,n){let r;function o(e){try{var t;if(!(null==e?void 0:null===(t=e.eventData)||void 0===t?void 0:t.length))return;let o=[];if(e.eventData.forEach(e=>e.events.forEach(e=>{"video_play"===e.event&&o.push(JSON.parse(e.params).group_id)})),o.length){let e={awemeIds:o.join(","),pointBlock:1};o=[],r?r(e):Promise.resolve().then(n.bind(n,384884)).then(t=>{(r=t.fetchHomeImpression)(e)}).catch(()=>{})}}catch(e){}}n.d(t,{U:function(){return o}}),n(374954),n(679308)},803885:function(e,t,n){n.d(t,{VV:function(){return d},Vk:function(){return f},ZY:function(){return u},pE:function(){return p}});var r=n(629686),o=n(402748);n(362051),n(679308);var i=n(911429),a=n(30995),s=n(732199);let{COMMON_SEARCH_PARAMS:l}=a||{};function c(e){let{log_pb:t,has_more:n,category_name:o,offset:i}=e,a=(null==e?void 0:e.course_list)||[];return a=a.map(e=>(0,r._)({},e,e.item)),{statusCode:0,categoryName:o||"创作者中心视频",hasMore:n,awemeList:(0,s.TN)({awemeList:a||[],logPb:t&&JSON.stringify(t)}),logPb:t&&JSON.stringify(t),offset:i||0}}async function u(e){let{categoryId:t,order:n,limit:a,offset:u=0,isHot:d,isTopic:f,type:p,keyword:_}=e,g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,h=await (0,i.U2)("/web/api/creator/school/type/course/",(0,o._)((0,r._)({},l),{order:n,limit:a,offset:u,category_id:t,is_hot:d,is_topic:f,type:p,keyword:_}),{},void 0,g,{});return(0,s.RL)(h,c)}async function d(e){let{awemeId:t="",collectAction:n=1}=e,o=await (0,i.U2)("/web/api/creator/school/collect/",(0,r._)({collect_item_id:t,action:Number(n)},l)),a=o.status_code;return{logPb:o.log_pb&&JSON.stringify(o.log_pb),statusCode:a,statusMsg:0===a||o.status_msg?o.status_msg:"啊哦,服务器打瞌睡了"}}async function f(e){var t,n;let{highlight_type:a,ctx:s=null}=e,c=await (0,i.U2)("/aweme/v1/creator/external/highlight/",(0,o._)((0,r._)({},l),{highlight_type:a}),{},void 0,s,{});return{statusCode:null!==(t=null==c?void 0:c.status_code)&&void 0!==t?t:0,isHighlight:null!==(n=null==c?void 0:c.is_highlight)&&void 0!==n&&n}}async function p(e){return await (0,i.U2)("/web/api/creator/monetize/active_fans/fans_score_info",(0,o._)((0,r._)({},l),{is_pc:!0}),{},void 0,e,{})}},550514:function(e,t,n){n.d(t,{Ab:function(){return y},E_:function(){return U},Ee:function(){return S},Kl:function(){return E},MG:function(){return D},QH:function(){return W},SK:function(){return F},Tj:function(){return R},ZT:function(){return k},Zd:function(){return O},cl:function(){return m},kH:function(){return L},l3:function(){return T},lS:function(){return I},q4:function(){return A},qj:function(){return C},tJ:function(){return M},tb:function(){return P},v0:function(){return x},w8:function(){return b}});var r=n(629686),o=n(402748);n(362051),n(679308);var i=n(30995),a=n(732199),s=n(911429);let{COMMON_SEARCH_PARAMS:l,CHANNEL_PC_WEB:c}=i||{},u="aweme.series.api",d="default";function f(e){let{aweme_list:t,has_more:n,status_code:r,max_cursor:o,log_pb:i}=e;return{logPb:i&&JSON.stringify(i),statusCode:r||0,hasMore:n,cursor:o,data:(0,a.TN)({awemeList:t||[],logPb:i&&JSON.stringify(i)})||[]}}function p(e){let{series_infos:t,has_more:n,status_code:r,cursor:o,total:i,log_pb:s}=e;return{statusCode:r,hasMore:n,cursor:o,total:i,logPb:s&&JSON.stringify(s),data:(0,a.K5)(t||[])}}function _(e){let{extra:t,logId:n,log_pb:r,status_code:o,status_msg:i}=e,a="";try{a=JSON.stringify(r)}catch(e){}return{extra:t,logId:n,logPb:a,statusCode:o,statusMsg:i}}function g(e){let{data:t,log_pb:n,status_code:r,status_msg:o}=e;return{statusCode:r,statusMsg:o,logPb:n&&JSON.stringify(n),data:(0,a.vx)((null==t?void 0:t.all_replay)||[])}}function h(e){let{data:t,log_pb:n,status_code:r,status_msg:o}=e;return{statusCode:r,statusMsg:o,logPb:n&&JSON.stringify(n),data:(null==t?void 0:t.info_list)?null==t?void 0:t.info_list.map(a.LW):[],cursor:t.cursor,hasMore:t.has_more}}function v(e){let{data:t,logId:n,log_pb:r,status_code:o,status_msg:i}=e;return{statusCode:o,statusMsg:i,logPb:r&&JSON.stringify(r),data:(0,a.LW)((null==t?void 0:t.episode)||{}),prompts:(null==t?void 0:t.prompts)||""}}async function m(e){let{seriesId:t,totalEpisode:n,currentEpisode:r,count:o}=e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Math.max(Math.min(r-1,n-o),0),{statusCode:s,data:l,hasMore:c,cursor:u,logPb:d}=await y({seriesId:t,cursor:a,count:o},i);return{seriesId:t,statusCode:s,data:l,currentEpisode:r,hasMore:c,cursor:0===s?u:a,logPb:d}}async function y(e){let{seriesId:t,cursor:n,count:i=12,pullType:c=2}=e,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,d=await (0,s.U2)("/aweme/v1/web/series/aweme/",(0,o._)((0,r._)({},l),{series_id:t,pull_type:c,cursor:Math.max(n,0),count:i}),{errorTags:{seriesId:t}},void 0,u,{}),p=(0,a.RL)(d,f);return(null==p?void 0:p.data)&&p.data.forEach(e=>{e.logPb=p.logPb}),p}async function E(e){let{uid:t,cursor:n=0,count:i=12,readNewMix:u}=e,d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,f=await (0,s.U2)("/aweme/v1/web/series/list/",(0,o._)((0,r._)({},l),{sec_user_id:t,req_from:c,cursor:n,count:i,read_new_mix:u}),{errorTags:{uid:t}},void 0,d,{});return(0,a.RL)(f,p)}function w(e){let{series_info:t,status_code:n,log_pb:r}=e;return{seriesInfo:(0,a.vg)(t),statusCode:n,logPb:r}}async function T(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{seriesId:n}=e,i=await (0,s.U2)("/aweme/v1/web/series/detail/",(0,o._)((0,r._)({},l),{series_id:n,req_from:c}),{},void 0,t,{});return(0,a.RL)(i,w)}async function O(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{watchedSeriesCount:n=10,hotSeriesCount:i=10}=e,c=await (0,s.U2)("/aweme/v1/web/series/tab/window/",(0,o._)((0,r._)({},l),{watched_series_count:n,hot_series_count:i}),{},void 0,t,{psm:u,cluster:d});return(0,a.RL)(c,a._E)}async function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{cursor:n=0,count:i=10}=e,c=await (0,s.U2)("/aweme/v1/web/series/watched/list/",(0,o._)((0,r._)({},l),{cursor:n,count:i}),{},void 0,t,{psm:u,cluster:d});return(0,a.RL)(c,a.gN)}async function S(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{cursor:n=0,count:i=10}=e,c=await (0,s.U2)("/aweme/v1/web/user/paid_content/get/",(0,o._)((0,r._)({},l),{cursor:n,count:i,content_type:2}),{},void 0,t,{psm:u,cluster:d});return(0,a.RL)(c,a.dw)}async function D(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{cursor:n=0,count:i=10,uid:c}=e,f=await (0,s.U2)("/aweme/v1/web/series/collections/",(0,o._)((0,r._)({},l),{cursor:n,count:i,sec_user_id:c}),{},void 0,t,{psm:u,cluster:d});return(0,a.RL)(f,a.gN)}async function P(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{count:n=10}=e,i=await (0,s.U2)("/aweme/v1/web/series/hot/list/",(0,o._)((0,r._)({},l),{count:n}),{},void 0,t,{psm:u,cluster:d});return(0,a.RL)(i,a.gN)}async function R(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{offset:n=0,count:i=10,contentType:c,insertSeriesId:f}=e,p=await (0,s.U2)("/aweme/v1/web/series/card/feed/",(0,o._)((0,r._)({},l),{offset:n,count:i,content_type:c,insert_series_id_list:f}),{},void 0,t,{psm:u,cluster:d});return(0,a.RL)(p,a.Zi)}async function M(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{episode:n=0,seriesId:i,awemeId:c}=e,f=await (0,s.U2)("/aweme/v1/web/series/watch/record/",(0,o._)((0,r._)({},l),{episode:n,series_id:i,item_id:c}),{},void 0,t,{psm:u,cluster:d});return(0,a.RL)(f,a.pO)}async function I(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{seriesId:n,action:i}=e,c=await (0,s.U2)("/aweme/v1/web/series/collect/",(0,o._)((0,r._)({},l),{series_id:n,action:i}),{},void 0,t,{});return(0,a.RL)(c,_)}async function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{episodeId:n}=e,i=await (0,s.U2)("/aweme/v1/web/show/episode/enter/",(0,o._)((0,r._)({},l),{episode_id:n,channel:""}),{},void 0,t,{}),{data:c,prompts:u,statusCode:d}=(0,a.RL)(i,v);return(0,o._)((0,r._)({},c),{prompts:u,statusCode:d})}async function A(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{episodeId:n,roomId:i}=e,c=await (0,s.U2)("/aweme/v1/web/show/episode/replay_list/",(0,o._)((0,r._)({},l),{episode_id:n,room_id:i,channel:""}),{},void 0,t,{});return(0,a.RL)(c,g)}async function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{episodeId:n,seasonType:i,cancel:c,roomId:u,uid:d,cursor:f=0,pageSize:p=10}=e,_=await (0,s.U2)("/aweme/v1/web/show/episode/more_replay/",(0,o._)((0,r._)({},l),{episode_id:n,cursor:f,page_size:p,relation_type:2,season_type:i,room_id:u,uid:d,reverse:!1,channel:""}),{},void 0,t,{},c);return(0,a.RL)(_,h)}let N=e=>{var t,n,r;let{status_code:o,data:i,logId:a}=e;return{statusCode:o,logId:a,data:{url:null==i?void 0:null===(r=i.PicDetail)||void 0===r?void 0:null===(n=r.QrcodeInfo)||void 0===n?void 0:null===(t=n.url_list)||void 0===t?void 0:t[0]}}};async function L(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{jsonParams:n="{}",shareScene:i}=e,c=await (0,s.U2)("/aweme/v1/web/share/carrier/",(0,o._)((0,r._)({},l),{share_scene:i||"aweme_pc_video_pay",json_params:n}),{},void 0,t,{});return(0,a.RL)(c,N)}async function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{jsonParams:n="{}",shareScene:i}=e,c=await (0,s.U2)("/aweme/v1/web/share/carrier/",(0,o._)((0,r._)({},l),{share_scene:i,json_params:n}),{},void 0,t,{});return(0,a.RL)(c,N)}async function F(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,{itemId:n,skuId:i,bizType:a,spuId:c}=e;return await (0,s.U2)("/entertainment/paid/delivery_report/",(0,o._)((0,r._)({},l),{item_id:n,sku_id:i,biz_type:a,spu_id:c}),{},void 0,t,{})}let j=e=>{var t,n;let{status_code:r}=e;return{statusCode:r,data:{replayId:(null===(t=e.data)||void 0===t?void 0:t.replay_id)?null===(n=e.data)||void 0===n?void 0:n.replay_id_str:""}}};async function U(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return j(await (0,s.v_)("/webcast/moment/latest_replay/",(0,o._)((0,r._)({},l),{source:c,channel:c,max_time:e.maxTime||0,uid:e.authorId,version:e.version||1}),{},{},t))}let H=e=>{let{status_code:t}=e||{},{ret_type:n,duration:r,delivery:o,refresh_time:i,paid_live_type:a,async_authentication_operate:s}=e.data||{};return{statusCode:t,retType:n,duration:r,delivery:o,refreshTime:i,paidLiveType:a,asyncAuthenticationOperate:s}},W=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return H(await (0,s.U2)("/webcast/paid_live/ping/",(0,o._)((0,r._)({},l),{id:e.id,id_type:e.idType,ping_type:e.pingType,timestamp:e.timestamp,paid_live_type:e.paidLiveType,entity_id:e.entityId}),{},void 0,t,{}))}},794842:function(e,t,n){n.d(t,{M:function(){return i}}),n(679308);var r=n(46892),o=n(911429);async function i(e){return await (0,o.U2)(`${(0,r.Pe)()}/webcast/setting/`,e,{},void 0,null,{})}},861044:function(e,t,n){n.d(t,{_:function(){return r}});let r=(e,t)=>({fullscreen:!1,liveFullscreen:!1,liveCssFullscreen:!1,setFullscreen:t=>e({fullscreen:t}),setLiveFullscreen:t=>e({liveFullscreen:t}),setLiveCssFullscreen:t=>e({liveCssFullscreen:t})})},911159:function(e,t,n){n.d(t,{Yn:function(){return u},w_:function(){return d},ho:function(){return c}});var r=n("629686"),o=n("402748"),i=n("414986");n("683656"),n("759943");let a=(e,t)=>({componentStatus:!0,btnErrorRefresh:()=>{window.location.reload()},setComponentStatus:t=>{void 0===t?e(e=>({componentStatus:!e.componentStatus})):e({componentStatus:t})},tabErrorRefresh:e=>{var n;if(!t().componentStatus&&(null===(n=window)||void 0===n?!void 0:!n.is_client_offline))e?window.location.replace(e):window.location.reload()}});var s=n("724328"),l=n("554208");let{useStore:c,createStore:u,store:d}=(0,i.Ko)((e,t,n)=>(0,o._)((0,r._)({},a(e,t,n),(0,s.W)(e,t,n),(0,l.E)(e,t,n)),{isEnableChildRoute:!1,isVideoFold:!1,nonce:"",innerLink:{},modalVideoDetail:null,tccConfig:void 0,isMainland:1,XTTENV:"",setIsVideoFold:t=>e({isVideoFold:t}),highlightBarData:{}}))},344780:function(e,t,n){n.d(t,{OG:function(){return c},TB:function(){return a},q7:function(){return s},wB:function(){return l}});var r=n(101199),o=n(414986);let i=(e,t)=>{let n=e+t;return n<0?0:n},{useStore:a,createStore:s,store:l}=(0,o.Ko)(e=>({collectCount:0,actions:{setUserStats:t=>e(t),collect:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return e(e=>({collectCount:i(e.collectCount,t)}))},unCollect:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return e(e=>({collectCount:i(e.collectCount,-t)}))}}})),c=e=>{let{userInfo:t}=e,n=(0,r.useMemo)(()=>{var e,n,r,o,i,a;return null!==(a=null==t?void 0:null===(i=t.info)||void 0===i?void 0:null===(o=i.userCollectCount)||void 0===o?void 0:null===(r=o.collectCountList)||void 0===r?void 0:null===(n=r.filter(e=>2===e.itemType))||void 0===n?void 0:null===(e=n[0])||void 0===e?void 0:e.collectCount)&&void 0!==a?a:0},[t]),o=a(e=>e.actions.setUserStats);(0,r.useEffect)(()=>{o({collectCount:n})},[n,o])}},528937:function(e,t,n){n.r(t),n.d(t,{SERVICE_NAME:function(){return l},get:function(){return g},getAll:function(){return h},packRawInSSR:function(){return d},syncCacheFromSSR:function(){return v}});var r=n(629686);n(490629),n(679308);var o=n(183652),i=n.n(o),a=n(960496),s=n(499059),l={HOME:"douyin.pc.web-default",XG_TV:"xigua.fe.tv_common-default",LIVE:"webcast.douyin.live_pc-default",SEARCH:"douyin.pc.search-default"};let c=new Map([["douyin.pc.web-default","https://lf3-config.bytetcc.com/obj/tcc-config-web/tcc-v2-data-douyin.pc.web-default"],["xigua.fe.tv_common-default","https://lf3-config.bytetcc.com/obj/tcc-config-web/tcc-v2-data-xigua.fe.tv_common-default"],["webcast.douyin.live_pc-default","https://lf3-config.bytetcc.com/obj/tcc-config-web/tcc-v2-data-webcast.douyin.live_pc-default"],["douyin.pc.search-default","https://lf3-config.bytetcc.com/obj/tcc-config-web/tcc-v2-data-douyin.pc.search-default"]]),u=new Map([["douyin.pc.web-default","main"],["douyin.pc.search-default","search"]]);function d(e){let t={};return e&&Object.keys(e).forEach(n=>{try{t[n]=JSON.parse(e[n])}catch(e){return null}}),t}async function f(e,t,n){if((null==p?void 0:p[t])!==void 0)return null==p?void 0:p[t];let{data:o}=function(e){let{data:t,version_code:n,modify_time:r}=e,o={};return t&&Object.keys(t).forEach(e=>{try{o[e]=JSON.parse(t[e])}catch(e){}}),{data:o,versionCode:n,modifyTime:r}}((await e).data);s.Le.setConfig(s.gI.TccData,o),p=p?(0,r._)({},p,o):o;let i=o[t];return null!=i?i:n}let p=null,_={},g=async e=>{let{key:t,ctx:n,defaultValue:r,namespace:o="douyin.pc.web-default",useCache:s=!0}=e;{if((null==p?void 0:p[t])!==void 0&&s)return null==p?void 0:p[t];if(_[o]){let e=await f(_[o],t,r);return _[o]=null,e}let e=(a.uZ,c.get(o));try{_[o]=i().get(e);let n=await f(_[o],t,r);return _[o]=null,n}catch(e){return r}}},h=async e=>{var t,n;let{ctx:r,namespace:o="douyin.pc.web-default",enableLogger:i=!1}=e;if(!r)return null;try{let e=u.get(o),n=await r.tcc[e].getAll(),a=d(n);return i&&(null==r||null===(t=r.logger)||void 0===t||t.info("get all tcc config success:",n)),a}catch(e){return i&&(null==r||null===(n=r.logger)||void 0===n||n.warn("get all tcc config failed, because:",e)),null}},v=e=>{p=e,e&&s.Le.setConfig(s.gI.TccData,e)}},988805:function(e,t,n){n.d(t,{$u:function(){return r},Qr:function(){return l},TT:function(){return s},a$:function(){return c},c:function(){return i},gZ:function(){return a},vc:function(){return u},z5:function(){return o}});var r={UnFollow:0,0:"UnFollow",Followed:1,1:"Followed",FollowEach:2,2:"FollowEach",Requested:4,4:"Requested"},o={UnFollow:0,0:"UnFollow",Followed:1,1:"Followed"},i={Uncollected:0,0:"Uncollected",Collected:1,1:"Collected"},a={UnDigg:0,0:"UnDigg",Digged:1,1:"Digged"},s={Active:0,0:"Active",Inactive:1,1:"Inactive"},l={FollowSuccess:"已关注",FollowRequested:"已请求",UnFollowSuccess:"已取消关注",UnFollowRequested:"已取消关注请求",FollowFail:"关注失败"},c={UnCollectFail:"取消收藏失败",CollectFail:"收藏失败",CollectSuccess:"收藏成功",TooFast:"收藏速度太快啦,休息一会儿再使用吧",CollectBan:"收藏功能已封禁"},u={UnFollow:"关注",Followed:"已关注",FollowByOther:"回关",FollowEach:"相互关注",Requested:"已请求"}},808708:function(e,t,n){n.d(t,{$X:function(){return r.$},Px:function(){return r.P},y6:function(){return o.y}});var r=n(379745),o=n(118661)},617775:function(e,t,n){n.d(t,{I:function(){return r}});var r={COLLECTION:1,1:"COLLECTION",CUSTOM:2,2:"CUSTOM",THIRD_WECHINE:10,10:"THIRD_WECHINE",XMOJI:11,11:"XMOJI",INTERACTIVE:12,12:"INTERACTIVE",SERIES_HEYCAN:13,13:"SERIES_HEYCAN",SINGLE_HEYCAN:14,14:"SINGLE_HEYCAN",AVATAR_EMOJI:15,15:"AVATAR_EMOJI",AVATAR_DUAL_EMOJI:16,16:"AVATAR_DUAL_EMOJI",EMOJI:17,17:"EMOJI"}},617072:function(e,t,n){n.d(t,{Gp:function(){return f.Gp},Q4:function(){return E.Q},DD:function(){return r.DD},jD:function(){return r.jD},LH:function(){return r.LH},NJ:function(){return r.NJ},wj:function(){return d.w},oA:function(){return m.o},as:function(){return r.as},PM:function(){return g.P},ed:function(){return r.ed},Qj:function(){return f.Qj},pj:function(){return r.pj},VZ:function(){return r.VZ},WC:function(){return _.WC},_6:function(){return r._6},Zh:function(){return r.Zh},mI:function(){return r.mI},uN:function(){return r.uN},bR:function(){return f.bR},GX:function(){return l.GX},pC:function(){return _.pC},LV:function(){return _.LV},KM:function(){return v.KM},bZ:function(){return v.bZ},tE:function(){return v.tE},_8:function(){return c._},F:function(){return g.F},yp:function(){return r.yp},J7:function(){return f.J7},UT:function(){return f.UT},lI:function(){return y.l},tp:function(){return y.t},rz:function(){return u.r},TP:function(){return r.TP},Hf:function(){return f.Hf},Ic:function(){return w.I},Y_:function(){return _.Y_},gQ:function(){return r.gQ},Hp:function(){return i.H},Fd:function(){return l.Fd},y:function(){return l.y},CN:function(){return _.CN},D6:function(){return f.D6},f_:function(){return r.f_},yl:function(){return c.y},vE:function(){return h.v},b1:function(){return p.b},Jj:function(){return p.J},pO:function(){return a},dp:function(){return s},cS:function(){return r.cS},Lq:function(){return o.L},qG:function(){return r.qG}});var r=n("263832"),o=n("851504"),i=n("49938"),a={HandPick:1,1:"HandPick",Hot:2,2:"Hot",MostWorth:3,3:"MostWorth",Knowledge:4,4:"Knowledge",Life:5,5:"Life",Interest:6,6:"Interest",HotTopic:7,7:"HotTopic",Guess:8,8:"Guess",CreatorConference:17,17:"CreatorConference",LongVideo:19,19:"LongVideo",Update:99999,99999:"Update"},s={HandPick:1,1:"HandPick",Hot:2,2:"Hot",MostWorth:3,3:"MostWorth",Default:4,4:"Default",HotTopic:5,5:"HotTopic",Guess:6,6:"Guess",Creator:7,7:"Creator",LongVideo:8,8:"LongVideo",Waterfall:10,10:"Waterfall",Update:99999,99999:"Update"},l=n("845285"),c=n("158981"),u=n("296281"),d=n("435587"),f=n("173184"),p=n("294988"),_=n("720483"),g=n("37821"),h=n("27050"),v=n("290520"),m=n("813948"),y=n("291586"),E=n("523550"),w=n("617775")},290520:function(e,t,n){n.d(t,{KM:function(){return r},bZ:function(){return i},tE:function(){return o}});var r={Time:"0",Pop:"1"},o={NEW:"2",HOT:"1"},i={All:0,0:"All",Dynamic:1,1:"Dynamic",Static:2,2:"Static"}},623607:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsxs)("svg",(0,o._)((0,r._)({width:56,height:56,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,i.jsxs)("g",{clipPath:"url(#arrowRight_svg__clip0_1683_162494)",children:[(0,i.jsx)("path",{d:"M0 28c0 15.464 12.536 28 28 28s28-12.536 28-28S43.464 0 28 0 0 12.536 0 28z",fill:"#000"}),(0,i.jsx)("g",{filter:"url(#arrowRight_svg__filter0_d_1683_162494)",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.598 37.426a2 2 0 0 1-.024-2.828l6.598-6.713-6.574-6.458a2 2 0 1 1 2.804-2.854l8 7.86a2 2 0 0 1 .024 2.829l-8 8.14a2 2 0 0 1-2.828.024z",fill:"#fff"})})]}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("filter",{id:"arrowRight_svg__filter0_d_1683_162494",x:23,y:18,width:14,height:22,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:1}),(0,i.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,i.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_1683_162494"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_1683_162494",result:"shape"})]}),(0,i.jsx)("clipPath",{id:"arrowRight_svg__clip0_1683_162494",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0h56v56H0z"})})]})]})));t.Z=s},768749:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,i.jsx)("path",{d:"M7.999 0A7.998 7.998 0 0 0 0 7.999a7.998 7.998 0 0 0 7.999 7.999 7.998 7.998 0 0 0 7.999-7.999A7.998 7.998 0 0 0 7.999 0zm.89 13.332h-1.78v-1.778h1.78v1.778zm2.024-5.798c-.87 1.327-2.007 1.52-2.007 3.129H7.1v-.526c-.033-1.016.44-1.84 1.366-2.47.96-.702 1.278-.901 1.278-1.88 0-1.063-1.04-1.355-1.759-1.355-1.202 0-1.764.925-1.764 1.796L4.45 6.223c0-2.555 1.954-3.55 3.963-3.55 1.886 0 3.139 1.408 3.14 2.733.003.842-.171 1.442-.64 2.128z",fill:"#2F3035",fillOpacity:".4"})})));t.Z=s},499973:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",ref:t},e),{children:(0,i.jsx)("path",{d:"M12.471 4.472a.667.667 0 1 0-.942-.943L8 7.057 4.471 3.53a.667.667 0 1 0-.942.943L7.057 8 3.53 11.53a.667.667 0 1 0 .942.943L8 8.943l3.529 3.529a.667.667 0 0 0 .942-.943L8.943 8l3.528-3.528z",fill:"#fff",fillOpacity:".34"})})));t.Z=s},310436:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsxs)("svg",(0,o._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",width:21,height:20,fill:"none",ref:t},e),{children:[(0,i.jsx)("path",{opacity:".1",d:"M.5 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10z",fill:"#FE2C55"}),(0,i.jsx)("path",{d:"M6.056 5.556h6.666c.614 0 1.111.497 1.111 1.11v1.046l1.418-.709a.556.556 0 0 1 .804.497v4.444a.556.556 0 0 1-.803.497l-1.419-.709v1.046c0 .614-.497 1.11-1.11 1.11H6.055a1.111 1.111 0 0 1-1.112-1.11V6.667c0-.614.498-1.111 1.112-1.111zm2.087 2.752a.278.278 0 0 0-.42.238v2.352c0 .216.235.35.42.239l1.96-1.177a.278.278 0 0 0 0-.476l-1.96-1.176z",fill:"url(#live_svg__paint0_linear_5119_431978)"}),(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{id:"live_svg__paint0_linear_5119_431978",x1:4.944,y1:5.556,x2:13.018,y2:16.194,gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#FF1764"}),(0,i.jsx)("stop",{offset:1,stopColor:"#ED3495"})]})})]})));t.Z=s},635065:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,i.jsx)("path",{d:"M10.693.224a.766.766 0 0 1 1.083 1.083L7.082 6l4.694 4.694a.766.766 0 0 1-1.083 1.083L5.999 7.082l-4.691 4.694a.766.766 0 0 1-1.083-1.083l4.691-4.694L.225 1.31A.766.766 0 0 1 1.308.224l4.691 4.691L10.693.224z",fill:"#fff",fillOpacity:".5"})})));t.Z=s},967138:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsxs)("svg",(0,o._)((0,r._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,i.jsx)("g",{filter:"url(#flowerShadow_svg__filter0_d_3410_22334)",clipPath:"url(#flowerShadow_svg__clip0_3410_22334)",children:(0,i.jsx)("path",{d:"M5.306 3.498c.085-1.434 1.302-2.564 2.74-2.495l.071.004a2.613 2.613 0 0 1 2.418 2.684l-.003.064a2.54 2.54 0 0 1-.075.485l-.068.263 1.138-.296.066-.016c1.378-.322 2.795.48 3.166 1.837l.03.109a2.583 2.583 0 0 1-.31 1.912l-.036.057c-.332.52-.847.925-1.484 1.107l-.062.017a2.563 2.563 0 0 1-.488.08l-.27.016.635.989.036.056c.72 1.186.415 2.74-.723 3.526l-.056.038c-.62.404-1.35.512-2.022.357l-.065-.015a2.603 2.603 0 0 1-1.517-1.063l-.035-.053-.033-.053a2.649 2.649 0 0 1-.192-.385l-.1-.25-.747.905c-.903 1.095-2.518 1.306-3.639.459l-.053-.042a2.592 2.592 0 0 1-.966-1.802l-.005-.066a2.586 2.586 0 0 1 .937-2.161l.208-.174-1.097-.427C1.36 8.641.657 7.14 1.166 5.802a2.624 2.624 0 0 1 3.843-1.28l.228.144.07-1.169-.001.001zm2.698-1.313A1.427 1.427 0 0 0 6.5 3.467v.005l-.273 4.464a.027.027 0 0 1-.03.025l-.008-.002-.096-.038-1.245-.486c.098-.167.165-.359.183-.579l.004-.054a1.434 1.434 0 0 0-.732-1.321l-.048-.025-.062-.03a1.423 1.423 0 0 0-.873-.09l-.06.014a1.42 1.42 0 0 0-.976.856 1.42 1.42 0 0 0 .759 1.821l.005.002 4.183 1.639c.018.007.022.029.012.04l-.066.08-.85 1.03a1.353 1.353 0 0 0-.457-.336l-.04-.017-.05-.02a1.45 1.45 0 0 0-1.487.284l-.04.038a1.412 1.412 0 0 0-.408.91c-.028.44.149.888.517 1.19a1.431 1.431 0 0 0 1.972-.157l.002-.002.002-.002 2.858-3.453a.03.03 0 0 1 .023-.01c.007 0 .014.003.018.008l.004.005.054.087.72 1.121a1.36 1.36 0 0 0-.46.329l-.029.031a1.432 1.432 0 0 0-.198 1.588c.166.323.436.549.742.67.41.162.893.134 1.294-.123a1.419 1.419 0 0 0 .46-1.918v-.002l-.002-.003-2.416-3.773-.003-.005a.025.025 0 0 1 .02-.032l.099-.026 1.296-.337c.019.192.079.387.193.576.301.494.877.773 1.453.678l.067-.012a1.42 1.42 0 0 0 .802-.484l.171-.262c.148-.286.199-.622.122-.96l-.011-.043a1.425 1.425 0 0 0-1.688-1.027h-.005L7.57 6.45h-.001c-.008.003-.016 0-.023-.005a.027.027 0 0 1-.01-.022l.008-.12.078-1.311A1.438 1.438 0 0 0 9.33 3.82a1.4 1.4 0 0 0-.175-.925l-.032-.053a1.422 1.422 0 0 0-1.075-.655l-.044-.003z",fill:"#fff"})}),(0,i.jsxs)("defs",{children:[(0,i.jsxs)("filter",{id:"flowerShadow_svg__filter0_d_3410_22334",x:0,y:1,width:15.853,height:15.36,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:1}),(0,i.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,i.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_3410_22334"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_3410_22334",result:"shape"})]}),(0,i.jsx)("clipPath",{id:"flowerShadow_svg__clip0_3410_22334",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})]})]})));t.Z=s},229260:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,i.jsx)("path",{d:"M4.227 2.578a.6.6 0 1 0-.848.849L7.152 7.2 5.687 8.664a.61.61 0 0 0-.03.032 2.8 2.8 0 1 0 .935.76L8 8.048 9.41 9.457a2.8 2.8 0 1 0 .935-.76.602.602 0 0 0-.031-.033L8.849 7.2l3.773-3.773a.6.6 0 0 0-.849-.849L8 6.351 4.227 2.578zM10 11.2a1.6 1.6 0 1 1 3.2 0 1.6 1.6 0 0 1-3.2 0zm-4-.002a1.6 1.6 0 1 1-3.2 0 1.6 1.6 0 0 1 3.2 0z",fill:"#fff",fillOpacity:".9"})})));t.Z=s},63357:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,i.jsx)("path",{d:"M7.167 1.25a5.917 5.917 0 1 0 3.62 10.597l2.683 2.683a.75.75 0 1 0 1.06-1.06l-2.683-2.684a5.917 5.917 0 0 0-4.68-9.537zM2.75 7.167a4.417 4.417 0 1 1 8.833 0 4.417 4.417 0 0 1-8.833 0z",fill:"#fff",fillOpacity:".5"})})));t.Z=s},394905:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,i.jsx)("path",{opacity:".9",d:"M7.074.375c3.7 0 6.7 3 6.7 6.7 0 1.503-.499 2.89-1.335 4.008l2.906 2.906a.959.959 0 0 1-1.356 1.356l-2.906-2.907a6.667 6.667 0 0 1-4.009 1.335 6.7 6.7 0 0 1 0-13.398zm0 1.917a4.782 4.782 0 1 0 0 9.564 4.782 4.782 0 0 0 0-9.564z",fill:"#fff",stroke:"#fff",strokeWidth:".25",strokeLinecap:"round"})})));t.Z=s},402678:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsxs)("svg",(0,o._)((0,r._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,i.jsx)("g",{filter:"url(#iconClose_svg__filter0_d_3680_29282)",children:(0,i.jsx)("path",{d:"M20.448 20.448a1.886 1.886 0 0 1-2.668 0L12 14.668l-5.78 5.78a1.886 1.886 0 1 1-2.668-2.668L9.332 12l-5.78-5.78A1.886 1.886 0 1 1 6.22 3.552L12 9.332l5.78-5.78a1.886 1.886 0 1 1 2.668 2.668L14.668 12l5.78 5.78a1.886 1.886 0 0 1 0 2.668z",fill:"#fff",fillOpacity:".7",shapeRendering:"crispEdges"})}),(0,i.jsx)("defs",{children:(0,i.jsxs)("filter",{id:"iconClose_svg__filter0_d_3680_29282",x:2,y:3,width:20,height:20,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,i.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,i.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,i.jsx)("feOffset",{dy:1}),(0,i.jsx)("feGaussianBlur",{stdDeviation:".5"}),(0,i.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,i.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,i.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_3680_29282"}),(0,i.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_3680_29282",result:"shape"})]})})]})));t.Z=s},939277:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({width:8,height:10,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 0h-1v5.473l-2.293-2.18L.5 4 4 7.328 7.5 4l-.707-.707L4.5 5.473V0zm3 8.5h-7v1h7v-1z",fill:"#8d8e93"})})));t.Z=s},199321:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsxs)("svg",(0,o._)((0,r._)({width:22,height:9,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.483 1.137C4.923.379 4.113 0 3.055 0 2.187 0 1.461.284.876.853.292 1.413 0 2.128 0 2.996c0 .853.249 1.543.746 2.072.521.561 1.208.841 2.06.841.435 0 .822-.083 1.161-.248a2.32 2.32 0 0 0 .912-.782h.06v.107c0 .797-.167 1.464-.498 2-.348.57-.81.853-1.386.853-.829 0-1.33-.402-1.504-1.207H.166C.379 8.21 1.338 9 3.043 9c1.003 0 1.8-.438 2.393-1.314.584-.869.876-2.01.876-3.423 0-1.326-.276-2.368-.83-3.126zm-3.612.556c.316-.347.726-.52 1.232-.52.497 0 .904.157 1.22.473.307.316.461.75.461 1.303 0 .56-.146 1.002-.438 1.326-.3.324-.714.486-1.243.486-.521 0-.932-.162-1.232-.486-.308-.316-.462-.742-.462-1.279 0-.529.154-.963.462-1.303zM12.754 1.137C12.194.379 11.384 0 10.326 0c-.868 0-1.594.284-2.179.853-.584.56-.876 1.275-.876 2.143 0 .853.249 1.543.746 2.072.521.561 1.208.841 2.06.841.435 0 .822-.083 1.161-.248a2.32 2.32 0 0 0 .912-.782h.06v.107c0 .797-.167 1.464-.498 2-.348.57-.81.853-1.386.853-.829 0-1.33-.402-1.504-1.207H7.437C7.65 8.21 8.609 9 10.315 9c1.002 0 1.8-.438 2.392-1.314.584-.869.876-2.01.876-3.423 0-1.326-.276-2.368-.83-3.126zm-3.612.556c.316-.347.726-.52 1.232-.52.497 0 .904.157 1.22.473.307.316.461.75.461 1.303 0 .56-.146 1.002-.438 1.326-.3.324-.714.486-1.243.486-.521 0-.932-.162-1.232-.486-.308-.316-.462-.742-.462-1.279 0-.529.154-.963.462-1.303z",fill:"#fff"}),(0,i.jsx)("path",{d:"M19.181 1.654h-1.137V4.14h-2.498v1.15h2.498v2.486h1.137V5.289h2.487V4.14H19.18V1.654z",fill:"#fff"})]})));t.Z=s},379418:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 17.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13zm6.32-1.594a8 8 0 1 0-1.414 1.414l3.387 3.387a1 1 0 0 0 1.414-1.414l-3.387-3.387zM7.25 11a.75.75 0 0 1 .75-.75h6a.75.75 0 0 1 0 1.5H8a.75.75 0 0 1-.75-.75z",fill:"currentColor"})})));t.Z=s},7228:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsx)("svg",(0,o._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none",ref:t},e),{children:(0,i.jsx)("path",{d:"M17.745 8a7 7 0 1 0 .746 6.625 1 1 0 1 1 1.854.75A9.003 9.003 0 0 1 3 12a9 9 0 0 1 16-5.657V5a1 1 0 1 1 2 0v4a1 1 0 0 1-1 1h-4a1 1 0 1 1 0-2h1.745z",fill:"#fff",fillOpacity:".34"})})));t.Z=s},526324:function(e,t,n){var r=n(629686),o=n(402748),i=n(320165),a=n(101199);let s=(0,a.forwardRef)((e,t)=>(0,i.jsxs)("svg",(0,o._)((0,r._)({width:190,height:112,fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t},e),{children:[(0,i.jsxs)("g",{clipPath:"url(#discover_page_svg__clip0_568_3502)",children:[(0,i.jsx)("path",{d:"M0 12C0 5.373 5.373 0 12 0h166c6.627 0 12 5.373 12 12v88c0 6.627-5.373 12-12 12H12c-6.627 0-12-5.373-12-12V12z",fill:"var(--color-bg-b2)"}),(0,i.jsxs)("g",{fill:"var(--color-bg-b3)",children:[(0,i.jsx)("rect",{x:36,y:6,width:44,height:65,rx:6}),(0,i.jsx)("rect",{x:86,y:42,width:44,height:65,rx:6}),(0,i.jsx)("rect",{x:136,y:78,width:44,height:65,rx:6}),(0,i.jsx)("rect",{x:36,y:77,width:44,height:65,rx:6}),(0,i.jsx)("rect",{x:86,y:6,width:44,height:30,rx:6}),(0,i.jsx)("rect",{x:136,y:6,width:44,height:30,rx:6}),(0,i.jsx)("rect",{x:136,y:42,width:44,height:30,rx:6})]}),(0,i.jsx)("rect",{x:13,y:8,width:13,height:6,rx:3,fill:"var(--color-text-t0)",fillOpacity:".22"}),(0,i.jsx)("rect",{x:13,y:22,width:13,height:6,rx:3,fill:"var(--color-bg-b3)"}),(0,i.jsx)("rect",{x:13,y:36,width:13,height:6,rx:3,fill:"var(--color-bg-b3)"}),(0,i.jsx)("rect",{x:13,y:50,width:13,height:6,rx:3,fill:"var(--color-bg-b3)"}),(0,i.jsx)("circle",{cx:8,cy:11,r:3,fill:"var(--color-text-t0)",fillOpacity:".22"}),(0,i.jsx)("circle",{cx:8,cy:25,r:3,fill:"var(--color-bg-b3)"}),(0,i.jsx)("circle",{cx:8,cy:39,r:3,fill:"var(--color-bg-b3)"}),(0,i.jsx)("circle",{cx:8,cy:53,r:3,fill:"var(--color-bg-b3)"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"discover_page_svg__clip0_568_3502",children:(0,i.jsx)("path",{fill:"var(--color-text-t0)",d:"M0 0h190v112H0z"})})})]})));t.Z=s}}]);