/*! For license information please see 66260.4da9bbfe.js.LICENSE.txt */ !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,r=1,i=arguments.length;r/g,a=/&#([a-zA-Z0-9]*);?/gim,s=/"/g,l=/:?/gim,u=/&newline;?/gim,c=/((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,h=/u\s*r\s*l\s*\(.*/gi,d=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,A=/"/g,p=function(e){return e.replace(n,"<").replace(o,">")},f={indexOf:function(e,t){var r,i;for(r=0,i=e.length;r127&&i<2048?t+=String.fromCharCode(i>>6|192)+String.fromCharCode(63&i|128):t+=String.fromCharCode(i>>12|224)+String.fromCharCode(i>>6&63|128)+String.fromCharCode(63&i|128)}return t}(e);c>2,o=(3&t)<<4|(r=e.charCodeAt(c++))>>4,a=(15&r)<<2|(i=e.charCodeAt(c++))>>6,s=63&i,isNaN(r)?a=s=64:isNaN(i)&&(s=64),u=u+l.charAt(n)+l.charAt(o)+l.charAt(a)+l.charAt(s);return u}function y(e){var t,r,i,n,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",u=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");u>4,r=(15&n)<<4|(o=s.indexOf(e.charAt(u++)))>>2,i=(3&o)<<6|(a=s.indexOf(e.charAt(u++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(r)),64!==a&&(l+=String.fromCharCode(i));return function(e){for(var t="",r=0,i=0,n=0,o=0;r191&&i<224?(t+=String.fromCharCode((31&i)<<6|63&(o=e.charCodeAt(r+1))),r+=2):(o=e.charCodeAt(r+1),t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&(n=e.charCodeAt(r+2))),r+=3);return t}(l)}function b(e,t,r){var i="",n=0,o=!1,a=!1,s=0,l=e.length,u="",c="";e:for(s=0;s"===h||s===l-1){i+=r(e.slice(n,o)),u=function(e){var t,r=f.spaceIndex(e);return t=-1===r?e.slice(1,-1):e.slice(1,r+1),"/"===(t=f.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(c=e.slice(o,s+1)),i+=t(o,i.length,u,c,"0;t--){var r=e[t];if(" "!==r)return"="===r?t:-1}return -1}(e,u-1))){l(a,m(f.trim(e.slice(r,u)))),a=!1,r=u+1;continue}}}else{if(-1===(h=e.indexOf(c,u+1)))break;l(a,f.trim(e.slice(n+1,h))),a=!1,r=(u=h)+1}}else a=e.slice(r,u),r=u+1,n='"'===e.charAt(r)||"'"===e.charAt(r)?r:function(e,t){for(;te.charCodeAt(r)?" ":e.charAt(r);return f.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(u," "))}(r),"href"===t||"src"===t){if("#"===(r=f.trim(r)))return"#";if("http://"!==r.substr(0,7)&&"https://"!==r.substr(0,8)&&"mailto:"!==r.substr(0,7)&&"tel:"!==r.substr(0,4)&&"data:image/"!==r.substr(0,11)&&"ftp://"!==r.substr(0,6)&&"./"!==r.substr(0,2)&&"../"!==r.substr(0,3)&&"#"!==r[0]&&"/"!==r[0])return""}else if("background"===t){if(c.lastIndex=0,c.test(r))return""}else if("style"===t&&(d.lastIndex=0,d.test(r)||(h.lastIndex=0,h.test(r)&&(c.lastIndex=0,c.test(r)))))return"";return r=function(e){return e=p(e=e.replace(A,"""))}(r)}var x=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},S=function(){function e(e){var t=function(e){var t={};for(var r in e)t[r]=e[r];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.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,r,i,n,o,a,s=this.options,l=s.whiteList,u=s.onTag,c=s.onIgnoreTag,h=s.onTagAttr,d=s.onIgnoreTagAttr,A=s.safeAttrValue,p=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="",r=0;r");var s=function(e){var t=f.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=f.trim(e.slice(t+1,-1)))[e.length-1];return r&&(e=f.trim(e.slice(0,-1))),{html:e,closing:r}}(i),g=l[r],m=w(s.html,function(e,t){var i=-1!==f.indexOf(g,e),n=h(r,e,t,i);return null==n?i?(t=A(r,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(n=d(r,e,t,i))?void 0:n:n});return i="<".concat(r),m&&(i+=" ".concat(m)),s.closing&&(i+=" /"),i+=">"}return null==(a=c(r,i,o))?p(i):a},p);return g&&(m=g.remove(m)),m},e}(),P=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")(),k=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,r,i="douyin_web";if(!f.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(P&&P._xssBid)return P._xssBid;if(P&&P.slardar&&"function"==typeof P.slardar.config){var n=(P.slardar.config()||{}).bid;if(n)return n}if(P&&P.Slardar&&"function"==typeof P.Slardar.config){var o=(P.Slardar.config()||{}).bid;if(o)return o}return(null===(r=null===(t=null==P?void 0:P.Slardar)||void 0===t?void 0:t._baseParams)||void 0===r?void 0:r.bid)||"argus"},this.getConfigRegion=function(){var t;return f.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==P?void 0:P.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 r=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),P.fetch(t,{method:"post",body:JSON.stringify(r),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(P.fetch&&e.collectKey){var r="object"==typeof window?window.location.href:"SSR";e.documentUrl=r;var i={age:Math.floor(Date.now()),type:"xss",url:r,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==r||(i.url=t),"SSR"===r&&(i.url="SSR___".concat(i.url),i.body.ssr=!0),this.push(i)}},e}()),C=function(e){for(var t=0,r=function(r){Array.isArray(e[r])?0===e[r].length?delete e[r]:(e[r]=f.from(f.uniq(e[r])),t+=e[r].length):0===f.keys(e[r]).length?delete e[r]:f.keys(e[r]).forEach(function(i){e[r][i]=f.from(f.uniq(e[r][i])),t+=e[r][i].length})},i=0,n=f.keys(e);i0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var n=e.slice(11).replace(/\s/g,"").trim();return!!f.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===n})||(t&&t("javascript:"),!1)}return!0}var j=function(e,t){var r,i,n="<%= isSaveValidUrl =>";if("string"!=typeof e||(i=Number("<%= urlLimit =>"),void 0!==r&&(i=r),"NaN"!==e.toString()&&-1!==i&&e.length>=i)||E(e,t))return e;try{if(!0===(n=JSON.parse(n))||"true"===n){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function N(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!E(e=I(e)))return!1;var n,o={url:(n=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:n[1],slash:n[2],host:n[3],port:n[4],path:n[5],query:n[6],hash:n[7]},a=o.scheme,s=o.host;return i?!!i(e):!(!a||!s)&&(!f.includes(["http","https","file"],a)||("object"==typeof window&&window&&(t=r(r([],t,!0),[location.host],!1)),f.some(t,function(e){return!!(e instanceof RegExp&&e.test(s))||e===s})))}var O={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:[]},D={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=C(this.collect),t=e.count,r=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(r),collectMode:"white"}},onIgnoreTagAttr:function(e,t,i){return e&&f.indexOf(["href","src"],t)>-1?D.domainWhiteList&&Array.isArray(D.domainWhiteList)&&D.domainWhiteList.length>0&&!N(i,r([],D.domainWhiteList,!0))?"":"".concat(t,'="').concat(j(i,function(e){var t;null===(t=D.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(f.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):(D.collect.whiteList[e]=D.collect.whiteList[e]||[],void D.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;b(t,function(e,t,r,i){w(R(i).html.replace("/",""),function(e){D.collect.whiteList[r]=D.collect.whiteList[r]||[],D.collect.whiteList[r].push(e)})},p)},whiteList:O,mergeWhiteList:function(e){for(var t,r={},i=0,n=f.keys(O);i");var o=R(i),a=w(o.html,function(e,t){var i,n=0;if(B.blackList[r]&&f.includes(B.blackList[r],e)&&(W.collect.blackList[r]=W.collect.blackList[r]||[],W.collect.blackList[r].push(e),n++),B.blackAttrRegExps.length&&B.blackAttrRegExps.some(function(t){return t.test(e)})&&f.forEach(B.blackAttrRegExps,function(t){t.test(e)&&(W.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),n++)}),B.blackAttrs.length&&f.includes(B.blackAttrs,e)&&(B.blackAttrs.push(e),n++),!n){if(B.filterList&&B.filterList[r]&&f.includes(B.filterList[r],e)){var o=j(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(W.collect.filterList[r]=W.collect.filterList[r]||[],W.collect.filterList[r].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return B.filterAttrs&&f.includes(B.filterAttrs,e)?((o=j(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=W.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(r),a&&(i+=" ".concat(a)),o.closing&&(i+=" /"),i+=">"},p);null===(r=W.collect)||void 0===r||r.blackTags.push(e)}},V=function(e){var t=e.reportOnly,r=void 0===t||t,i=e.block;return r&&"all"===r?"report":("string"==typeof r&&("true"===r&&(r=!0),"false"===r&&(r=!1)),i?"enforce":r?"report":"enforce")},G=function(e){return function(r,i,n){if(!r||"string"!=typeof r)return r;var o=i;e===L&&(o=D).initCollect();var a=e(r,o);if(x(a)===x(r))return r;if(!n)return a;var s=n.logType,l=V(n),u=o.removeCollect();return k.report(t(t({type:s,disposition:l},u),{sourceText:v(r),filterText:v(a)})),"enforce"===l?a:r}},F=G(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 S(t).process(e)}),Q=G(L),U=function(e,t,r){var i=[],n=j(e,function(e){i.push(e)});if(n===e)return e;i=f.from(f.uniq(i));var o=t||r||{};if(!o)return n;var a=o.logType,s=V(r);return k.report({type:a,disposition:s,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:v(e),filterText:v(n)}),"enforce"===s?n:e},Y=P._xssProject||{},J=P.xssNamespace||{},X="3.0.26",q={FilterXSS:S,version:X,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:F,_filterXSS:Q,filterUrl:U,Config:D,BlackConfig:W,project:Y,setProjectName:function(e){Y[e]=this,P._xssProjectName=e}};J.douyin_web=q,P.xssNamespace=J,P.Math&&!P.Math.xssNamespace&&(P.Math.xssNamespace=J),Y[X]=q,P.globalThis=P,P.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:q},P.xss=q,P.isSafeUrl=N,P.isSafeDomain=N,P.isSafeProtocol=E,P._xssProject=Y,P._xssProjectName&&(Y[P._xssProjectName]=q);var K=q.setProjectName.bind(q);e.BlackConfig=W,e.Config=D,e.FilterXSS=S,e._filterXSS=Q,e.filterUrl=U,e.filterXSS=F,e.isSafeDomain=N,e.isSafeProtocol=E,e.isSafeUrl=N,e.project=Y,e.setProjectName=K,e.setXssNamespace=function(e){var t=e.appId,r=e.bid,i=e.region;J[t]=q;D.bid=r,D.region=i,D.enabled=!0},e.xssNamespace=J,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["66260"],{467157:function(e,t,r){"use strict";var i=r(101199),n=r(994298);let o=(0,n.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 1a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2V8.41A2 2 0 0 0 20.41 7L15 1.59A2 2 0 0 0 13.59 1H5Zm8 2H5v18h14V9h-5a1 1 0 0 1-1-1V3Zm4.59 4L15 4.41V7h2.59Zm-6.09 5a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-5Zm-4.5.5c0-.28.22-.5.5-.5h1c.28 0 .5.22.5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm4.5 3.5a.5.5 0 0 0-.5.5v1c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5h-5Zm-4.5.5c0-.28.22-.5.5-.5h1c.28 0 .5.22.5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Z",fill:"currentColor"}))},"brief_stroked");t.Z=o},848202:function(e,t,r){"use strict";var i=r(101199),n=r(994298);let o=(0,n.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{d:"M2 5v14a3 3 0 0 0 3 3h7.1a7.02 7.02 0 0 1-1.43-2H6a2 2 0 0 1-2-2V8a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2.67c.75.36 1.43.85 2 1.43V5a3 3 0 0 0-3-3H5a3 3 0 0 0-3 3Z",fill:"currentColor"}),i.createElement("path",{d:"M16 10h1c-.54 0-1.06.06-1.57.18A1 1 0 0 1 16 10Z",fill:"currentColor"}),i.createElement("path",{d:"M13.5 10.94a1 1 0 0 0-1-.94h-1a1 1 0 0 0-1 1v1a1 1 0 0 0 .77.97 7.03 7.03 0 0 1 2.23-2.03Z",fill:"currentColor"}),i.createElement("path",{d:"M7 10a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H7Z",fill:"currentColor"}),i.createElement("path",{d:"M6 16a1 1 0 0 1 1-1h1a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-1Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 17a5 5 0 1 1-10 0 5 5 0 0 1 10 0Zm-4-2a1 1 0 1 0-2 0v2c0 .27.1.52.3.7l1.5 1.5a1 1 0 0 0 1.4-1.4L18 16.58V15Z",fill:"currentColor"}))},"calendar_clock");t.Z=o},193435:function(e,t,r){"use strict";var i=r(101199),n=r(994298);let o=(0,n.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{d:"M15.501 22.0005C14.6725 22.0005 14.001 21.3289 14.001 20.5005V15.5005C14.001 14.6721 14.6725 14.0005 15.501 14.0005H20.501C21.3294 14.0005 22.001 14.6721 22.001 15.5005V20.5005C22.001 21.3289 21.3294 22.0005 20.501 22.0005L15.501 22.0005Z",fill:"currentColor"}),i.createElement("path",{d:"M5.50098 22.0005C3.56798 22.0005 2.00098 20.4335 2.00098 18.5005V15.5005V5.50049C2.00098 3.56749 3.56798 2.00049 5.50098 2.00049H15.501H18.501C20.434 2.00049 22.001 3.56749 22.001 5.50049V9.75038C22.001 10.5788 21.3294 11.2504 20.501 11.2504C19.6726 11.2504 19.001 10.5788 19.001 9.75038V5.50049C19.001 5.22435 18.7771 5.00049 18.501 5.00049H15.501H5.50098C5.22483 5.00049 5.00098 5.22435 5.00098 5.50049V15.5005V18.5005C5.00098 18.7766 5.22483 19.0005 5.50098 19.0005H9.74999C10.5784 19.0005 11.25 19.6721 11.25 20.5005C11.25 21.3289 10.5784 22.0005 9.74999 22.0005H5.50098Z",fill:"currentColor"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.52045 7.18658C7.12993 7.57711 7.12994 8.21026 7.52046 8.60078L10.4702 11.5505L9.64175 11.5505C9.08946 11.5505 8.64175 11.9982 8.64175 12.5505C8.64175 13.1028 9.08946 13.5505 9.64175 13.5505L12.8844 13.5505C13.4367 13.5505 13.8844 13.1028 13.8844 12.5505L13.8844 9.30788C13.8844 8.75559 13.4367 8.30788 12.8844 8.30788C12.3321 8.30788 11.8844 8.7556 11.8844 9.30788L11.8844 10.1363L8.93467 7.18657C8.54414 6.79604 7.91097 6.79605 7.52045 7.18658V7.18658Z",fill:"currentColor"}))},"mini_player");t.Z=o},59850:function(e,t,r){"use strict";var i=r(101199);t.Z=function(e){var t=(0,i.useRef)();return t.current=e,(0,i.useCallback)(function(){var e=t.current;return e&&e.apply(void 0,arguments)},[t])}},204863:function(e,t,r){"use strict";r.d(t,{A:function(){return ep}});var i=r(101199),n=r(949868).Buffer,o=function(){return(o=Object.assign||function(e){for(var t,r=1,i=arguments.length;rt.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var s,l={},u=["webp","avif","heic","jpeg","png"],c={formats:["webp"],imageSizes:[480,750,1080,1366,1920],quality:75,loading:"lazy",lazyBoundary:"200px",placeholder:"empty",width:void 0,height:void 0,src:"",layout:void 0,loader:function(e){return e.src},unoptimized:!1,lazyRoot:void 0,errorDataURL:void 0,error:void 0,objectFit:void 0,objectPosition:void 0,plugins:[],pluginProps:{}},h={webp:"awebp",heic:"heif",avif:"avis",jpeg:"jpeg",png:"png",image:"image"},d={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},A={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},p={display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},f={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%"},g=function(){return"undefined"==typeof window},m=g()||"undefined"==typeof navigator?"":(null!=(s=navigator.userAgent)?s:"").toLocaleLowerCase(),v=function(e){return 0<=e.indexOf("safari")&&0>e.indexOf("chrome")||/iphone|ipad/.test(e)&&0<=e.indexOf("mobile")},y=function(e,t){var r;return Promise.race([e,new Promise(function(e,i){r=setTimeout(function(){i(Error("Promise timed out after ".concat(t,"ms")))},t)})]).finally(function(){r&&clearTimeout(r)})},b=function(e,t,r,i){return new(r=r||Promise)(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((i=i.apply(e,t||[])).next())})},w=function(e,t){var r,i,n,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},a={next:s(0),throw:s(1),return:s(2)};return"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o=a&&u[a=0]?0:o;)try{if(r=1,i&&(n=2&u[0]?i.return:u[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,u[1])).done)return n;switch(i=0,(u=n?[2&u[0],n.value]:u)[0]){case 0:case 1:n=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(n=0<(n=o.trys).length&&n[n.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!n||u[1]>n[0]&&u[1]'),"undefined"!=typeof btoa?btoa(r):void 0!==n?n.from(r,"base64").toString():"")):"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},z="undefined"!=typeof window&&void 0!==window.IntersectionObserver,Z=new Map,W=[],V=function(e){var t,r={root:e.root||null,margin:e.rootMargin||""},i=W.find(function(e){return e.root===r.root&&e.margin===r.margin});return i?Z.get(i):(t=new Map,e={id:r,observer:i=new window.IntersectionObserver(function(e){e.forEach(function(e){var r=t.get(e.target),e=e.isIntersecting||0n[0]&&u[1]n[0]&&u[1]n[0]&&u[1]n[0]&&u[1]o&&(r=o);var a=r-n;return i.children[a]}}},resize:function(e){n([e])},assumeViewportIndependence:!0},i=void 0;window.addEventListener("resize",function(){r.assumeViewportIndependence&&i===window.innerWidth||(i=window.innerWidth,n(Array.prototype.slice.call(document.querySelectorAll("pre.line-numbers"))))}),Prism.hooks.add("complete",function(r){if(r.code){var i=r.element,o=i.parentNode;if(o&&/pre/i.test(o.nodeName)&&!i.querySelector(".line-numbers-rows")&&Prism.util.isActive(i,e)){i.classList.remove(e),o.classList.add(e);var a,s=r.code.match(t),l=Array((s?s.length+1:1)+1).join("");(a=document.createElement("span")).setAttribute("aria-hidden","true"),a.className="line-numbers-rows",a.innerHTML=l,o.hasAttribute("data-start")&&(o.style.counterReset="linenumber "+(parseInt(o.getAttribute("data-start"),10)-1)),r.element.appendChild(a),n([o]),Prism.hooks.run("line-numbers",r)}}}),Prism.hooks.add("line-numbers",function(e){e.plugins=e.plugins||{},e.plugins.lineNumbers=!0})}function n(e){if(0!=(e=e.filter(function(e){var t=(e?window.getComputedStyle?getComputedStyle(e):e.currentStyle||null:null)["white-space"];return"pre-wrap"===t||"pre-line"===t})).length){var r=e.map(function(e){var r=e.querySelector("code"),i=e.querySelector(".line-numbers-rows");if(r&&i){var n=e.querySelector(".line-numbers-sizer"),o=r.textContent.split(t);n||((n=document.createElement("span")).className="line-numbers-sizer",r.appendChild(n)),n.innerHTML="0",n.style.display="block";var a=n.getBoundingClientRect().height;return n.innerHTML="",{element:e,lines:o,lineHeights:[],oneLinerHeight:a,sizer:n}}}).filter(Boolean);r.forEach(function(e){var t=e.sizer,r=e.lines,i=e.lineHeights,n=e.oneLinerHeight;i[r.length-1]=void 0,r.forEach(function(e,r){if(e&&e.length>1){var o=t.appendChild(document.createElement("span"));o.style.display="block",o.textContent=e}else i[r]=n})}),r.forEach(function(e){for(var t=e.sizer,r=e.lineHeights,i=0,n=0;n>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function g(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}p.prototype=Object.create(l.prototype),p.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},h.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new p((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},h.prototype.int32=function(e){return e<0?this._push(f,10,o.fromNumber(e)):this.uint32(e)},h.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},h.prototype.uint64=function(e){var t=o.from(e);return this._push(f,t.length(),t)},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(e){var t=o.from(e).zzEncode();return this._push(f,t.length(),t)},h.prototype.bool=function(e){return this._push(A,1,e?1:0)},h.prototype.fixed32=function(e){return this._push(g,4,e>>>0)},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(e){var t=o.from(e);return this._push(g,4,t.lo)._push(g,4,t.hi)},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(e){return this._push(n.float.writeFloatLE,4,e)},h.prototype.double=function(e){return this._push(n.float.writeDoubleLE,8,e)};var m=n.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var i=0;i>>0;if(!t)return this._push(A,1,0);if(n.isString(e)){var r=h.alloc(t=a.length(e));a.decode(e,r,0),e=r}return this.uint32(t)._push(m,t,e)},h.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(A,1,0)},h.prototype.fork=function(){return this.states=new c(this),this.head=this.tail=new l(u,0,0),this.len=0,this},h.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(u,0,0),this.len=0),this},h.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},h.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},h._configure=function(e){i=e,h.create=d(),i._configure()}},707285:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var i=r(678305),n=r(697233),o=r(29245),a=r(209653);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var r=0;r4&&void 0!==arguments[4]?arguments[4]:{quality:.92,type:"image/png"},s=this.config,l=this.player,u=o.quality||s.quality,c=o.type||s.type,h=l.video||l.media,d=this.canvas;return new Promise(function(o){var s=n.canvasCtx;d.width=r,d.height=i;var l=(0,a.Y)(h),A=l.isContain,p=l.isCover;if(A){var f=h.videoHeight/h.videoWidth,g=h.clientHeight/h.clientWidth,m=f;m=g>f?h.videoWidth/h.clientWidth:h.videoHeight/h.clientHeight,d.width=r,d.height=i,s.drawImage(h,e*m,t*m,r*m,i*m,0,0,r,i),o(d.toDataURL(c,u))}else if(p){var v=(0,a.I)(h.clientWidth,h.clientHeight,h.videoWidth,h.videoHeight),y=v.source,b=v.destination;d.width=b.width,d.height=b.height,s.drawImage(h,y.x,y.y,y.width,y.height,b.x,b.y,b.width,b.height);var w=d.toDataURL("image/png"),_=new Image(b.width,b.height);_.src=w,_.onload=function(){s.clearRect(0,0,d.width,d.height),d.width=r,d.height=i,s.drawImage(_,e,t,r,i,0,0,r,i),_.onload=null},s.drawImage(h,e,t,r,i,0,0,r,i),o(d.toDataURL(c,u))}})}},{key:"shot",value:function(e,t){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{quality:.92,type:"image/png"},n=this.config,o=this.player,a=i.quality||n.quality,s=i.type||n.type;return new Promise(function(i,l){r.canvas?(r.canvas.width=e||n.width,r.canvas.height=t||n.height):r.createCanvas(e,t),r.canvasCtx.drawImage(o.video,0,0,e||n.width,t||n.height);var u=r.canvas.toDataURL(s,a).replace(s,"image/octet-stream");i(u=u.replace(/^data:image\/[^;]+/,"data:application/octet-stream"))})}},{key:"registerIcons",value:function(){return{screenshotIcon:null}}},{key:"destroy",value:function(){u(h(f.prototype),"destroy",this).call(this),this.unbind(["click","touchend"],this.onClickBtn),this.off(i.km,this.initSize)}},{key:"render",value:function(){if(!this.config.disable&&!!this.config.showIcon){var e=this.icons.screenshotIcon?"xgplayer-icon":"xgplayer-icon btn-text",t="SCREENSHOT";return'\n \n
\n ').concat(this.icons.screenshotIcon?"":'').concat(this.i18n[t],"")," \n
\n
")}}}],A=[{key:"pluginName",get:function(){return"screenShot"}},{key:"defaultConfig",get:function(){return{position:n.kd.CONTROLS_RIGHT,index:5,quality:.92,type:"image/png",format:".png",width:600,height:337,fitVideo:!0,disable:!1,name:"screenshot",showIcon:!0,canvasCreated:!1,canvasAdded:!1}}}],d&&l(o.prototype,d),A&&l(o,A),Object.defineProperty(o,"prototype",{writable:!1}),f}(o.Z)},358194:function(e,t,r){"use strict";r.r(t)},833255:function(e,t,r){"use strict";r.r(t)},398812:function(e,t,r){"use strict";r.r(t)},436808:function(e,t){"use strict";t.Z=e=>{let{index:t,data:r,style:i}=e,{visibleOptions:n,renderOption:o}=r;return o(n[t],t,i)}},400937:function(e,t,r){"use strict";r(932651);var i=r(101199),n=r(392129),o=r(859725);t.Z=e=>i.createElement(n.Z.Title,Object.assign({heading:5,className:`${o.U.PREFIX}-component-header`},e))},917966:function(e,t,r){"use strict";r.d(t,{Dx:function(){return m},Ee:function(){return g},nv:function(){return y},qE:function(){return f},zx:function(){return v}}),r(932651),r(490629);var i=r(101199),n=r(469935),o=r.n(n),a=r(622689),s=r.n(a),l=r(548924),u=r(14010);r(225511);var c=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);nt.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};let h=u.j.SIZE,d=u.j.SHAPE,A=e=>t=>r=>i.createElement(t,Object.assign({type:e},r));class p extends i.PureComponent{render(){let e=this.props,{prefixCls:t,className:r,type:n,size:a,shape:s}=e,l=c(e,["prefixCls","className","type","size","shape"]),u=o()(r,`${t}-${n}`,{[`${t}-${n}-${a}`]:"AVATAR"===n.toUpperCase()},{[`${t}-${n}-${s}`]:"AVATAR"===n.toUpperCase()});return i.createElement("div",Object.assign({className:u},l))}}p.propTypes={type:s().string,prefixCls:s().string,style:s().object,className:s().string,size:s().oneOf(h),shape:s().oneOf(d)},p.defaultProps={prefixCls:l.U.PREFIX,size:"medium",shape:"circle"};let f=A("avatar")(p),g=A("image")(p),m=A("title")(p),v=A("button")(p);class y extends i.PureComponent{render(){let{prefixCls:e,className:t,style:r,rows:n}=this.props,a=o()(t,`${e}-paragraph`);return i.createElement("ul",{className:a,style:r},[...Array(n)].map((e,t)=>i.createElement("li",{key:t})))}}y.propTypes={rows:s().number,prefixCls:s().string,style:s().object,className:s().string},y.defaultProps={prefixCls:l.U.PREFIX,rows:4}},189921:function(e,t,r){"use strict";r(932651);var i=r(101199),n=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);nt.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};t.Z=e=>{let{className:t,style:r}=e,o=n(e,["className","style"]);return i.createElement("svg",Object.assign({"aria-hidden":!0,className:t,style:r},o,{width:"24",height:"7",viewBox:"0 0 24 7",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}),i.createElement("path",{d:"M24 0V1C20 1 18.5 2 16.5 4C14.5 6 14 7 12 7C10 7 9.5 6 7.5 4C5.5 2 4 1 0 1V0H24Z"}))}},511979:function(e,t,r){"use strict";r.d(t,{C:function(){return o}});var i=r(480333);r(88856),r(679308);var n=r(734362);class o{register(e){if(!e.sampleRate&&(e.sampleRate=e.ctx.sampleRate),void 0===e.channelCount){var t;e.channelCount=(null===(t=e.track)||void 0===t?void 0:t.getSettings().channelCount)||0}this.store.register(e),this.setStatus(e,"idle")}setStatus(e,t){var r;let i="string"==typeof e?e:e.id,n=this.store.get(i);if(!!n)(null===(r=n.ctx)||void 0===r?void 0:r.state)==="running"&&"idle"===t?n.ctx.suspend().then(()=>{this.store.setStatus(i,t)}).catch(e=>{var t;null===(t=n.ctx)||void 0===t||t.close().catch(()=>{}).finally(()=>{this.store.delete(i)})}):this.store.setStatus(i,t)}hasIdleTracks(e,t){return this.store.hasIdleTracks(e,t)}getIdleTracks(e,t){return this.store.getIdleTracks(e,t)}get(e){if("string"==typeof e)return this.store.get(e)}constructor(e="playerActxs"){(0,i._)(this,"store",void 0),this.store=new n.h(e)}}},130847:function(e,t,r){"use strict";r(706056),r(932651),r(374954),r(490629),r(414931);var i=r(812958),n=r.n(i),o=r(92122),a=r.n(o),s=r(243392),l=r.n(s),u=r(22186),c=r.n(u),h=r(856445),d=r(182811),A=r(108220);class p extends h.Z{init(){let e;this._setDropdownWidth();let{defaultOpen:t,data:r,defaultValue:i,value:n}=this.getProps();if(r&&r.length){let e=this._generateList(r);this._adapter.updateOptionList(e)}t&&this.openDropdown(),void 0!==i&&(e=i),void 0!==n&&(e=n),void 0!==e&&this.handleValueChange(e)}destroy(){this._adapter.unregisterClickOutsideHandler()}_setDropdownWidth(){let e;let{style:t,dropdownMatchSelectWidth:r}=this.getProps();r&&(e=t&&l()(t.width)?t.width:t&&c()(t.width)&&!t.width.includes("%")?t.width:this._adapter.getTriggerWidth(),this._adapter.setOptionWrapperWidth(e))}handleInputClick(e){let{options:t}=this.getStates(),{disabled:r}=this.getProps();!r&&(this.isPanelOpen?this.closeDropdown():this.openDropdown())}openDropdown(){this.isPanelOpen=!0,this._adapter.toggleListVisible(!0),this._setDropdownWidth(),this._adapter.registerClickOutsideHandler(e=>this.closeDropdown(e)),this._adapter.notifyDropdownVisibleChange(!0),this._modifyFocusIndexOnPanelOpen()}closeDropdown(e){this.isPanelOpen=!1,this._adapter.toggleListVisible(!1),this._adapter.unregisterClickOutsideHandler(),this._adapter.notifyDropdownVisibleChange(!1)}_generateList(e){let{renderItem:t}=this.getProps(),r=[];return e&&e.length&&e.forEach((e,i)=>{let o=String(new Date().getTime())+i,s={};c()(e)||l()(e)?s={value:e,key:o,label:e,show:!0}:n()(e)&&!a()(e.value)&&(s=Object.assign({show:!0},e)),t&&"function"==typeof t&&(s.label=t(e)),r.push(s)}),r}handleSearch(e){this._adapter.updateInputValue(e),this._adapter.notifySearch(e),this._adapter.notifyChange(e),this._modifyFocusIndex(e),!this.isPanelOpen&&this.openDropdown()}handleSelect(e,t){let{renderSelectedItem:r}=this.getProps(),i="";r&&"function"==typeof r?(i=r(e),(0,d.Z)("string"!=typeof i,"Warning: [Semi AutoComplete] renderSelectedItem must return string, please check your function return")):i=e.value,this._isControlledComponent()?(this.closeDropdown(),this.notifySelect(e)):(this._adapter.updateInputValue(i),this.updateSelection(e),this.notifySelect(e),this.closeDropdown()),this._adapter.notifyChange(i),this._adapter.updateFocusIndex(t)}updateSelection(e){let t=new Map;e&&t.set(e.label,e),this._adapter.updateSelection(t)}notifySelect(e){this._backwardLabelInValue()?this._adapter.notifySelect(e):this._adapter.notifySelect(e.value)}_backwardLabelInValue(){let{onSelectWithObject:e}=this.getProps();return e}handleDataChange(e){let t=this._generateList(e);this._adapter.updateOptionList(t),this._adapter.rePositionDropdown()}handleValueChange(e){let{data:t,defaultActiveFirstOption:r}=this.getProps(),i="";i=this._backwardLabelInValue()&&"[object Object]"===Object.prototype.toString.call(e)?e.value:e;let n=this._getRenderSelectedItem(),o=this._generateList(t),a=o.length?o.filter(e=>n(e)===i):[],s=a.length,l=o.findIndex(e=>n(e)===i),u="";u=s?n(a=a[0]):n(this._backwardLabelInValue()?e:{label:i,value:i}),this._adapter.updateInputValue(u),this.updateSelection(s?a:null),-1===l&&r?this._adapter.updateFocusIndex(0):this._adapter.updateFocusIndex(l)}_modifyFocusIndex(e){let{focusIndex:t}=this.getStates(),{data:r,defaultActiveFirstOption:i}=this.getProps(),n=-1;if(e){let t=this._getRenderSelectedItem();n=this._generateList(r).findIndex(r=>t(r)===e)}-1===n&&i?0!==t&&this._adapter.updateFocusIndex(0):n!==t&&this._adapter.updateFocusIndex(n)}_modifyFocusIndexOnPanelOpen(){let{inputValue:e}=this.getStates();this._modifyFocusIndex(e)}_getRenderSelectedItem(){let{renderSelectedItem:e}=this.getProps();return void 0===e?e=e=>null==e?void 0:e.value:e&&typeof e,e}handleClear(){this._adapter.notifyClear()}bindKeyBoardEvent(){this._keydownHandler=e=>{this._handleKeyDown(e)},this._adapter.registerKeyDown(this._keydownHandler)}_handleKeyDown(e){let t=e.keyCode,{visible:r}=this.getStates();switch(t){case A.ZP.UP:e.preventDefault(),this._handleArrowKeyDown(-1);break;case A.ZP.DOWN:e.preventDefault(),this._handleArrowKeyDown(1);break;case A.ZP.ENTER:e.preventDefault(),this._handleEnterKeyDown();break;case A.ZP.ESC:case A.ZP.TAB:this.closeDropdown()}this._adapter.notifyKeyDown(e)}_getEnableFocusIndex(e){let{focusIndex:t,options:r}=this.getStates(),i=r.filter(e=>e.show),n=i.length,o=t+e;if(o<0&&(o=n-1),o>=n&&(o=0),e>0){let e=-1;for(let t=0;t=o));t++);o=e}else{let e=i.length;for(let t=n-1;t>=0&&(!i[t].disabled&&(e=t),!(e<=o));t--);o=e}this._adapter.updateFocusIndex(o),this._adapter.updateScrollTop(o)}_handleArrowKeyDown(e){let{visible:t}=this.getStates();t?this._getEnableFocusIndex(e):this.openDropdown()}_handleEnterKeyDown(){let{visible:e,options:t,focusIndex:r}=this.getStates();if(e){if(void 0!==r&&-1!==r&&0!==t.length){let e=t.filter(e=>e.show)[r];this.handleSelect(e,r)}else this.closeDropdown()}else this.openDropdown()}handleOptionMouseEnter(e){this._adapter.updateFocusIndex(e)}handleFocus(e){this.bindKeyBoardEvent(),this._adapter.notifyFocus(e)}handleBlur(e){this._persistEvent(e),this._adapter.notifyBlur(e)}constructor(e){super(Object.assign({},e)),this.isPanelOpen=!1}}t.Z=p},98512:function(e,t,r){"use strict";r.d(t,{U:function(){return n}});var i=r(707852);let n={PREFIX:`${i.T}-collapsible`}},961768:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}}),r(932651);var i=r(812958),n=r.n(i),o=r(856445);class a extends o.Z{constructor(e){super(Object.assign({},e)),this.handleClick=e=>{let{imageID:t,preview:r}=this.getProps();if(!!r)if(this._adapter.getIsInGroup()){let{setCurrentIndex:e,handleVisibleChange:r}=this._adapter.getContexts();e(t),r(!0)}else this.handlePreviewVisibleChange(!0)},this.handleLoaded=e=>{let{onLoad:t}=this.getProps();t&&t(e),this.setState({loadStatus:"success"})},this.handleError=e=>{let{onError:t}=this.getProps();t&&t(e),this.setState({loadStatus:"error"})},this.handlePreviewVisibleChange=e=>{let{preview:t}=this.getProps();if(n()(t)){let{onVisibleChange:r}=t;r&&r(e),!("visible"in t)&&this.setState({previewVisible:e})}else this.setState({previewVisible:e})}}}},780406:function(e,t,r){"use strict";r.d(t,{Z:function(){return h}}),r(14275),r(759943),r(683656),r(559561),r(932651),r(706056);var i=r(85079),n=r.n(i),o=r(198412),a=r.n(o),s=r(856445),l=r(114376);let u={TOP:/top/i,RIGHT:/right/i,BOTTOM:/bottom/i,LEFT:/left/i},c={left:0,top:0,height:0,width:0,scrollLeft:0,scrollTop:0};class h extends s.Z{init(){let{wrapperId:e}=this.getProps();this._mounted=!0,this._bindEvent(),this._shouldShow(),this._initContainerPosition(),!e&&this._adapter.setId()}destroy(){this._mounted=!1,this.unBindEvent()}_bindEvent(){let e=this.getProp("trigger"),{triggerEventSet:t,portalEventSet:r}=this._generateEvent(e);this._bindTriggerEvent(t),this._bindPortalEvent(r),this._bindResizeEvent()}unBindEvent(){this._adapter.unregisterClickOutsideHandler(),this.unBindResizeEvent(),this.unBindScrollEvent(),clearTimeout(this._timer)}_bindTriggerEvent(e){this._adapter.registerTriggerEvent(e)}_bindPortalEvent(e){this._adapter.registerPortalEvent(e)}_bindResizeEvent(){this._adapter.registerResizeHandler(this.onResize)}unBindResizeEvent(){this._adapter.unregisterResizeHandler(this.onResize)}_adjustPos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"reverse",i=arguments.length>3?arguments[3]:void 0;switch(r){case"reverse":default:return this._reversePos(e,t);case"expand":return this._expandPos(e,i);case"reduce":return this._reducePos(e)}}_reversePos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t){if(u.TOP.test(e))return e.replace("top","bottom").replace("Top","Bottom");if(u.BOTTOM.test(e))return e.replace("bottom","top").replace("Bottom","Top")}else if(u.LEFT.test(e))return e.replace("left","right").replace("Left","Right");else if(u.RIGHT.test(e))return e.replace("right","left").replace("Right","Left");return e}_expandPos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return e.concat(t)}_reducePos(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=["Top","Bottom","Left","Right"].find(t=>e.endsWith(t));return t?e.replace(t,""):e}clearDelayTimer(){this._timer&&(clearTimeout(this._timer),this._timer=null)}_generateEvent(e){let t=this._adapter.getEventName(),r={[t.keydown]:e=>{this._handleTriggerKeydown(e)}},i={};switch(e){case"focus":r[t.focus]=()=>{this.delayShow()},r[t.blur]=()=>{this.delayHide()},i=r;break;case"click":r[t.click]=()=>{this.show()},i={};break;case"hover":r[t.mouseEnter]=()=>{this.setCache("isClickToHide",!1),this.delayShow()},r[t.mouseLeave]=()=>{this.delayHide()},r[t.focus]=()=>{let{disableFocusListener:e}=this.getProps();e||this.delayShow()},r[t.blur]=()=>{let{disableFocusListener:e}=this.getProps();e||this.delayHide()},i=Object.assign({},r),this.getProp("clickToHide")&&(i[t.click]=()=>{this.setCache("isClickToHide",!0),this.hide()},i[t.mouseEnter]=()=>{if(!this.getCache("isClickToHide"))this.delayShow()});break;case"custom":break;case"contextMenu":r[t.contextMenu]=e=>{e.preventDefault(),this.show()}}return{triggerEventSet:r,portalEventSet:i}}_shouldShow(){this.getProp("visible")&&this.show()}_togglePortalVisible(e){let t=this.getState("visible"),r=this.getState("isInsert");(t!==e||r!==e)&&this._adapter.togglePortalVisible(e,()=>{e&&this._adapter.setInitialFocus(),this._adapter.notifyVisibleChange(e)})}_roundPixel(e){return"number"==typeof e?Math.round(e):e}calcTransformOrigin(e,t,r,i){if(e&&t&&null!=r&&null!=i){if(this.getProp("transformFromCenter")){if(["topLeft","bottomLeft"].includes(e))return`${this._roundPixel(t.width/2)}px ${-(100*i)}%`;if(["topRight","bottomRight"].includes(e))return`calc(100% - ${this._roundPixel(t.width/2)}px) ${-(100*i)}%`;if(["leftTop","rightTop"].includes(e))return`${-(100*r)}% ${this._roundPixel(t.height/2)}px`;if(["leftBottom","rightBottom"].includes(e))return`${-(100*r)}% calc(100% - ${this._roundPixel(t.height/2)}px)`}return`${-(100*r)}% ${-(100*i)}%`}return null}calcPosStyle(e){var t;let r,i;let{spacing:o,isOverFlow:s}=e,{innerWidth:l}=window,u=(n()(e.triggerRect)?e.triggerRect:this._adapter.getTriggerBounding())||Object.assign({},c),h=(n()(e.containerRect)?e.containerRect:this._adapter.getPopupContainerRect())||Object.assign({},c),d=(n()(e.wrapperRect)?e.wrapperRect:this._adapter.getWrapperBounding())||Object.assign({},c),A=null!=e.position?e.position:this.getProp("position"),p=null!=o?o:this.getProp("spacing"),{arrowPointAtCenter:f,showArrow:g,arrowBounding:m}=this.getProps(),v=g&&f,y=p,b=0;if("number"!=typeof p){let e=A.includes("top")||A.includes("bottom");y=e?p.y:p.x,b=e?p.x:p.y}let w=a()(m,"width",24),_=a()(m,"width",24),x=a()(m,"offsetY",0),S=0,P=0,k=u.left+u.width/2,C=u.top+u.height/2,L=6+w/2,R=6+_/2,I=d.height-h.height,E=d.width-h.width,j=I>0?I:0,N=E>0?E:0,O=s&&s[0],D=s&&s[1],M=k-h.leftl,B=Math.abs((null==d?void 0:d.width)-(null===(t=this._adapter.getContainer())||void 0===t?void 0:t.clientWidth))>1;switch(B&&(y=y*d.width/this._adapter.getContainer().clientWidth),A){case"top":r=D?M?h.left+d.width/2:h.right-d.width/2+N:k+b,i=O?h.bottom+j:u.top-y,S=-.5,P=-1;break;case"topLeft":r=D?H?h.left:h.right-d.width:v?k-L+b:u.left+b,i=O?h.bottom+j:u.top-y,P=-1;break;case"topRight":r=D?h.right+N:v?k+L+b:u.right+b,i=O?h.bottom+j:u.top-y,P=-1,S=-1;break;case"left":r=D?h.right+N-y+L:u.left-y,i=O?T?h.top+d.height/2:h.bottom-d.height/2+j:C+b,S=-1,P=-.5;break;case"leftTop":r=D?h.right+N-y+L:u.left-y,i=O?h.top:v?C-R+b:u.top+b,S=-1;break;case"leftBottom":r=D?h.right+N-y+L:u.left-y,i=O?h.bottom+j:v?C+R+b:u.bottom+b,S=-1,P=-1;break;case"bottom":r=D?M?h.left+d.width/2:h.right-d.width/2+N:k+b,i=O?h.top+R-y:u.top+u.height+y,S=-.5;break;case"bottomLeft":r=D?H?h.left:h.right-d.width:v?k-L+b:u.left+b,i=O?h.top+R-y:u.top+u.height+y;break;case"bottomRight":r=D?h.right+N:v?k+L+b:u.right+b,i=O?h.top+R-y:u.top+u.height+y,S=-1;break;case"right":r=D?h.left-y+L:u.right+y,i=O?T?h.top+d.height/2:h.bottom-d.height/2+j:C+b,P=-.5;break;case"rightTop":r=D?h.left-y+L:u.right+y,i=O?h.top:v?C-R+b:u.top+b;break;case"rightBottom":r=D?h.left-y+L:u.right+y,i=O?h.bottom+j:v?C+R+b:u.bottom+b,P=-1;break;case"leftTopOver":r=u.left-y,i=u.top-y;break;case"rightTopOver":r=u.right+y,i=u.top-y,S=-1;break;case"leftBottomOver":r=u.left-y,i=u.bottom+y,P=-1;break;case"rightBottomOver":r=u.right+y,i=u.bottom+y,S=-1,P=-1}let z=this.calcTransformOrigin(A,u,S,P),Z=this._adapter.containerIsBody();if(r-=h.left,i-=h.top,B&&(r/=d.width/this._adapter.getContainer().clientWidth),B&&(i/=d.height/this._adapter.getContainer().clientHeight),Z&&!this._adapter.containerIsRelativeOrAbsolute()){let e=this._adapter.getDocumentElementBounding();r+=h.left-e.left,i+=h.top-e.top}r=Z?r:r+h.scrollLeft,i=Z?i:i+h.scrollTop;let W=u.height;if(this.getProp("showArrow")&&!f&&W<=(_/2+x)*2){let e=W/2-(x+_/2);(A.includes("Top")||A.includes("Bottom"))&&!A.includes("Over")&&(i=A.includes("Top")?i+e:i-e)}let V={left:this._roundPixel(r),top:this._roundPixel(i)},G="";return null!=S&&(G+=`translateX(${100*S}%) `,Object.defineProperty(V,"translateX",{enumerable:!1,value:S})),null!=P&&(G+=`translateY(${100*P}%) `,Object.defineProperty(V,"translateY",{enumerable:!1,value:P})),null!=z&&(V.transformOrigin=z),G&&(V.transform=G),V}isLR(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("left")||e.includes("right")}isTB(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("top")||e.includes("bottom")}isReverse(e,t,r){return er}isOverFlow(e,t,r){return e=r||t>=r}getReverse(e,t,r,i){return e&&i||r}adjustPosIfNeed(e,t,r,i,n){let{innerWidth:o,innerHeight:a}=window,{margin:s}=this.getProps(),l="number"==typeof s?s:s.marginLeft,u="number"==typeof s?s:s.marginTop,c="number"==typeof s?s:s.marginRight,h="number"==typeof s?s:s.marginBottom,d=!1,A=!1,p=this.getProp("spacing"),f=p,g=0;if("number"!=typeof p){let t=e.includes("top")||e.includes("bottom");f=t?p.y:p.x,g=t?p.x:p.y}if(i.width>0&&i.height>0){let t=r.left,s=r.right,p=r.top,m=r.bottom,v=o-t,y=a-p,b=o-s,w=a-m,_=i.width>r.width,x=i.height>r.height,S=p-ui.height+f,P=t-li.width+f,k=w-hi.height+f,C=b-ci.width+f;y-hi.height+g,R=mi.height+g,I=vi.width+g,E=si.width+g,j=yi.height+f,N=mi.height+f,O=vi.width,D=si.width,M=p-n.top,T=t-n.left,H=M+r.height,B=T+r.width,z=n.bottom-m,Z=n.right-s,W=z+r.height,V=Z+r.width,G=this.isReverse(M-u,z-h,i.height+f),F=this.isReverse(T-l,Z-c,i.width+f),Q=this.isReverse(z-h,M-u,i.height+f),U=this.isReverse(Z-c,T-l,i.width+f);this.isReverse(W-h,H-u,i.height+f),this.isReverse(H-u,W-h,i.height+f);let Y=this.isReverse(W,H,i.height+g),J=this.isReverse(H,W,i.height+g),X=this.isReverse(V,B,i.width+g),q=this.isReverse(B,V,i.width+g),K=r.height/2,$=r.width/2,ee=this.isOverFlow(p-u,w-h,i.height+f),et=this.isOverFlow(t-l,b-c,i.width+f),er=this.isOverFlow(m-u,y-h,i.height+f),ei=this.isOverFlow(s-l,v-c,i.width+f),en=this.isHalfOverFlow(m-K,y-K,(i.height+g)/2),eo=this.isHalfOverFlow(s-$,v-$,(i.width+g)/2),ea=this.isHalfAllEnough(m-K,y-K,(i.height+g)/2),es=this.isHalfAllEnough(s-$,v-$,(i.width+g)/2),el=this.isOverFlow(M-u,z-h,i.height+f),eu=this.isOverFlow(T-l,Z-c,i.width+f),ec=this.isOverFlow(H-u,W-h,i.height+f),eh=this.isOverFlow(B-l,V-c,i.width+f),ed=this.isHalfOverFlow(H-K,W-K,(i.height+g)/2),eA=this.isHalfOverFlow(B-$,V-$,(i.width+g)/2),ep=this.isHalfAllEnough(H-K,W-K,(i.height+g)/2),ef=this.isHalfAllEnough(B-$,V-$,(i.width+g)/2),eg=this.getReverse(ee,el,S,G),em=this.getReverse(et,eu,P,F),ev=this.getReverse(ee,el,k,Q),ey=this.getReverse(et,eu,C,U),eb=this.getReverse(er,ec,L,Y),ew=this.getReverse(er,ec,R,J),e_=this.getReverse(ei,eh,I,X),ex=this.getReverse(ei,eh,E,q),eS=en&&ed,eP=eo&&eA;switch(e){case"top":eg&&(e=this._adjustPos(e,!0)),eP&&(e_||ex)&&(e=this._adjustPos(e,!0,"expand",e_?"Right":"Left"));break;case"topLeft":eg&&(e=this._adjustPos(e,!0)),e_&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"topRight":eg&&(e=this._adjustPos(e,!0)),ex&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"left":em&&(e=this._adjustPos(e)),eS&&(eb||ew)&&(e=this._adjustPos(e,!1,"expand",eb?"Bottom":"Top"));break;case"leftTop":em&&(e=this._adjustPos(e)),eb&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftBottom":em&&(e=this._adjustPos(e)),ew&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"bottom":ev&&(e=this._adjustPos(e,!0)),eP&&(e_||ex)&&(e=this._adjustPos(e,!0,"expand",e_?"Right":"Left"));break;case"bottomLeft":ev&&(e=this._adjustPos(e,!0)),e_&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"bottomRight":ev&&(e=this._adjustPos(e,!0)),ex&&_&&(e=this._adjustPos(e)),A&&(es||ef)&&(e=this._adjustPos(e,!0,"reduce"));break;case"right":ey&&(e=this._adjustPos(e)),eS&&(eb||ew)&&(e=this._adjustPos(e,!1,"expand",eb?"Bottom":"Top"));break;case"rightTop":ey&&(e=this._adjustPos(e)),eb&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"rightBottom":ey&&(e=this._adjustPos(e)),ew&&x&&(e=this._adjustPos(e,!0)),d&&(ea||ep)&&(e=this._adjustPos(e,!1,"reduce"));break;case"leftTopOver":j&&(e=this._adjustPos(e,!0)),O&&(e=this._adjustPos(e));break;case"leftBottomOver":N&&(e=this._adjustPos(e,!0)),O&&(e=this._adjustPos(e));break;case"rightTopOver":j&&(e=this._adjustPos(e,!0)),D&&(e=this._adjustPos(e));break;case"rightBottomOver":N&&(e=this._adjustPos(e,!0)),D&&(e=this._adjustPos(e))}this.isTB(e)&&(d=ee&&el,A="top"===e||"bottom"===e?eo&&eA||s<0||b<0:ei&&eh||s<0||b<0),this.isLR(e)&&(A=et&&eu,d="left"===e||"right"===e?en&&ed||p<0||y<0:er&&ec||p<0||y<0)}return{position:e,isHeightOverFlow:d,isWidthOverFlow:A}}_bindScrollEvent(){this._adapter.registerScrollHandler(()=>this.calcPosition())}unBindScrollEvent(){this._adapter.unregisterScrollHandler()}_initContainerPosition(){this._adapter.updateContainerPosition()}_handleTriggerKeydown(e){let{closeOnEsc:t,disableArrowKeyDown:r}=this.getProps(),i=this._adapter.getContainer(),n=this._adapter.getFocusableElements(i),o=n.length;switch(e&&e.key){case"Escape":(0,l.Jt)(e),t&&this._handleEscKeyDown(e);break;case"ArrowUp":!r&&o&&this._handleTriggerArrowUpKeydown(n,e);break;case"ArrowDown":!r&&o&&this._handleTriggerArrowDownKeydown(n,e)}}focusTrigger(){let{trigger:e,returnFocusOnClose:t,preventScroll:r}=this.getProps();if(t&&"custom"!==e){let e=this._adapter.getTriggerNode();e&&"focus"in e&&e.focus({preventScroll:r})}}_handleEscKeyDown(e){let{trigger:t}=this.getProps();"custom"!==t&&(this.focusTrigger(),this.hide()),this._adapter.notifyEscKeydown(e)}_handleContainerTabKeyDown(e,t){let{preventScroll:r}=this.getProps(),i=this._adapter.getActiveElement();e[e.length-1]===i&&(e[0].focus({preventScroll:r}),t.preventDefault())}_handleContainerShiftTabKeyDown(e,t){let{preventScroll:r}=this.getProps(),i=this._adapter.getActiveElement();e[0]===i&&(e[e.length-1].focus({preventScroll:r}),t.preventDefault())}_handleTriggerArrowDownKeydown(e,t){let{preventScroll:r}=this.getProps();e[0].focus({preventScroll:r}),t.preventDefault()}_handleTriggerArrowUpKeydown(e,t){let{preventScroll:r}=this.getProps();e[e.length-1].focus({preventScroll:r}),t.preventDefault()}constructor(e){var t;super(Object.assign({},e)),t=this,this.removePortal=()=>{this._adapter.removePortal()},this.setDisplayNone=(e,t)=>{this._adapter.setDisplayNone(e,t)},this.updateStateIfCursorOnTrigger=e=>{var t,r;if(null===(t=null==e?void 0:e.matches)||void 0===t?void 0:t.call(e,":hover")){let e=this._adapter.getEventName(),t=this.getState("triggerEventSet");null===(r=t[e.mouseEnter])||void 0===r||r.call(t)}},this.onResize=()=>{if(!!this.getState("visible"))this.calcPosition()},this.delayShow=()=>{let e=this.getProp("mouseEnterDelay");this.clearDelayTimer(),e>0?this._timer=setTimeout(()=>{this.show(),this.clearDelayTimer()},e):this.show()},this.show=()=>{if(this._adapter.getAnimatingState())return;let e=this.getProp("content"),t=this.getProp("trigger"),r=this.getProp("clickTriggerToHide"),{visible:i,displayNone:n}=this.getStates();if(n&&this.setDisplayNone(!1),!i){if(this.clearDelayTimer(),this._adapter.on("portalInserted",()=>{this.calcPosition()}),"hover"===t){let e=()=>{var r;let i=this._adapter.getTriggerDOM();t&&!(null===(r=null==i?void 0:i.matches)||void 0===r?void 0:r.call(i,":hover"))&&this.hide(),this._adapter.off("portalInserted",e)};this._adapter.on("portalInserted",e)}this._adapter.on("positionUpdated",()=>{this._togglePortalVisible(!0)}),this._adapter.insertPortal(e,{left:-9999,top:-9999}),"custom"===t&&this._adapter.registerClickOutsideHandler(()=>{}),("click"===t||r||"contextMenu"===t)&&this._adapter.registerClickOutsideHandler(this.hide),this._bindScrollEvent(),this._bindResizeEvent()}},this.calcPosition=function(e,r,i){let o=!(arguments.length>3)||void 0===arguments[3]||arguments[3];e=(n()(e)?t._adapter.getTriggerBounding():e)||Object.assign({},c),i=(n()(i)?t._adapter.getPopupContainerRect():i)||Object.assign({},c),r=(n()(r)?t._adapter.getWrapperBounding():r)||Object.assign({},c);let a=t.calcPosStyle({triggerRect:e,wrapperRect:r,containerRect:i}),s=t.getProp("position");if(t.getProp("autoAdjustOverflow")){let{position:n,isHeightOverFlow:o,isWidthOverFlow:l}=t.adjustPosIfNeed(s,a,e,r,i);(s!==n||o||l)&&(s=n,a=t.calcPosStyle({triggerRect:e,wrapperRect:r,containerRect:i,position:s,spacing:null,isOverFlow:[o,l]}))}return o&&t._mounted&&t._adapter.setPosition(Object.assign(Object.assign({},a),{position:s})),a},this.delayHide=()=>{let e=this.getProp("mouseLeaveDelay");this.clearDelayTimer(),e>0?this._timer=setTimeout(()=>{this.hide(),this.clearDelayTimer()},e):this.hide()},this.hide=()=>{this.clearDelayTimer(),this._togglePortalVisible(!1),this._adapter.off("portalInserted"),this._adapter.off("positionUpdated")},this.handleContainerKeydown=e=>{let{guardFocus:t,closeOnEsc:r}=this.getProps();switch(e&&e.key){case"Escape":r&&this._handleEscKeyDown(e);break;case"Tab":if(t){let t=this._adapter.getContainer(),r=this._adapter.getFocusableElements(t);r.length&&(e.shiftKey?this._handleContainerShiftTabKeyDown(r,e):this._handleContainerTabKeyDown(r,e))}}},this._timer=null}}},548602:function(e,t,r){"use strict";r(932651);var i=r(101199);function n(){return(n=Object.assign||function(e){for(var t=1;t{}},e)}function o(e){let{player:t,project_key:r,user_id:n,device_id:o,user_unique_id:a,app_name:s,cdn_ip:l,aid:u,is_preview:c,codec_type:h,ext:d,product_line:A="live"}=e;return(0,i._)({project_key:r,product_line:A,live_sdk_version:"2",player_sdk_version:t.version,logger_version:"0.11.16",report_version:"5",user_id:n,device_id:o,uuid:a,app_name:s,cdn_ip:l,is_wasm:0,review_is_live:2,aid:u,live_id:`${u}-${n}-${Date.now()}`,is_preview:c?1:0,codec_type:h||"h264",is_encrypted:0,ua:navigator.userAgent,href:window.location.href,fps:-1,logger_init_time:Date.now(),dpr:devicePixelRatio||1},d)}function a(e){return{start_play:{start_play_time:0,event_key:"start_play"},first_frame:{start:0,first_frame_view:0,event_key:"first_frame",first_sei_delay:0,ntp_sync:0,ntp_delta:0,ttfb:-1,ttdb:-1,ttfb_end:0},first_frame_failed:{code:void 0,msg:"",event_key:"first_frame_failed"},stall:{reason:0,stall_start:0,stall_end:0,ready_state:0,event_key:"stall"},play_stop:{code:0,stop_time:0,drop_percent:0,is_stream_received:0,stall_count:0,stall_time:0,retry_count:0,duration:0,stall_count_per_100sec:0,stall_time_per_100sec:0,event_key:"play_stop",dns_parse_time:-1,redirect:-1,ttfb:-1,buffered:[],is_firstframe_received:0,meta:null},playing:{index:0,stall_count:0,stall_time:0,play_time:1e4,retry_count:0,is_last:0,video_buffer_time:0,audio_buffer_time:0,speed_switch_count:0,speed_switch_info:"none",download_speed:0,decode_fps:0,render_fps:0,drop_count:0,drop_percent:0,sei_source:"",sei_delay:0,ntp_sync:0,ntp_delta:0,event_key:"playing",stop_time:0,duration:0,stall_count_per_100sec:0,stall_time_per_100sec:0,rtm_network:[]},play_error:{code:void 0,info:"",event_key:"play_error"},play_low_decode:{fps:-1,decode_fps:-1,bitrate:-1,url:-1,msg:"",event_key:"play_low_decode"},play_av_unsync:{aDts:-1,vDts:-1,frameLength:-1,currentTime:-1,duration:0,event_key:"play_av_unsync"},play_loadstream:{loadstream_url:"",event_key:"play_loadstream"},play_stream_loaded:{event_key:"play_stream_loaded"},play_metadata_loaded:{metadata_type:"",event_key:"play_metadata_loaded"},play_demux_error:{msg:"",event_key:"play_demux_error"},play_stream_discontinue:{type:"",dts:-1,event_key:"play_stream_discontinue"},pause:{event_key:"pause"},play_url_change:{event_key:"play_url_change"},play_result:{event_key:"play_result",result:0,threshold:e.playResultThreshold||25e3,is_threshold:0,start:0},play_ended:{event_key:"play_ended"},play_chase_frame:{event_key:"play_chase_frame"},play_audio_gap:{event_key:"play_audio_gap"},play_audio_overlap:{event_key:"play_audio_overlap"},degrade:{event_key:"degrade"},worker_message:{event_key:"worker_message"}}}},798324:function(e,t,r){"use strict";var i=r(480333);r(490629),r(706056);var n=r(805289),o=r(292948),a=r(299690);class s extends o.Sy{afterPlayerInit(){this._player.on("error",this.handleDegrade),this._player.on(a.le.METADATA,this.handleMetaDataLoaded)}beforeDestroy(){this._player.off("error",this.handleDegrade),this._player.off(a.le.METADATA,this.handleMetaDataLoaded)}constructor(...e){super(...e),(0,i._)(this,"codecType",""),(0,i._)(this,"handleDegrade",e=>{if(!!this.codecType.includes("avc"))["decode",3e3,3001,3002,3003,3004,3005,4e3,5e3,5001,5002,5003,5004].includes(e.code)&&this._player._changeCore(n.ry,{})}),(0,i._)(this,"handleMetaDataLoaded",e=>{let{trackType:t,codec:r}=e;"video"===t&&(this.codecType=r)})}}(0,i._)(s,"pluginName","degrade")},165384:function(e,t,r){"use strict";r(679308),r.e("29259").then(r.bind(r,925881))},735222:function(e,t,r){"use strict";r(679308),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,589852)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,522573)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,735608)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,825710)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,671195)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,66425)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,787831)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,595980)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,619619)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,138440)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,915669)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,571508)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,869275)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,26604)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,415134)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,945173)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,621401)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,695755)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,526317)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,530266)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,586441)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,983190)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,304495)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,310443)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,105345)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,180388)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,766903)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,364759)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,631214)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,24913)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,893933)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,140939)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,524491)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,315659)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,51600)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,522030)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,865525)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,593870)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,130289)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,497409)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,631056)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,588386)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,93458)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,225479)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,769591)),Promise.all([r.e("74792"),r.e("73286"),r.e("42422"),r.e("96537"),r.e("30933"),r.e("28161"),r.e("73356"),r.e("69855"),r.e("5974"),r.e("15915"),r.e("72230"),r.e("68055"),r.e("6593"),r.e("6757"),r.e("44882"),r.e("19452"),r.e("21185"),r.e("61565"),r.e("6873"),r.e("68090")]).then(r.bind(r,124653))},882742:function(e,t,r){"use strict";function i(){}function n(){}r.d(t,{ok:function(){return i},t1:function(){return n}})},587957:function(e,t,r){"use strict";r.d(t,{B:function(){return n}});let i={};function n(e,t){let r=t||i,n="boolean"!=typeof r.includeImageAlt||r.includeImageAlt;return o(e,n,"boolean"!=typeof r.includeHtml||r.includeHtml)}function o(e,t,r){if(function(e){return!!(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return a(e.children,t,r)}return Array.isArray(e)?a(e,t,r):""}function a(e,t,r){let i=[],n=-1;for(;++n"role"===t?t:"aria-"+t.slice(4).toLowerCase()})},368229:function(e,t,r){"use strict";r.d(t,{e:function(){return n},g:function(){return i}});let i=()=>{var e;return e="undefined"!=typeof performance&&"undefined"!=typeof PerformanceObserver,e},n=function(e){let{entryType:t="middleware",renderStage:r="hydrate"}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{entryType:"middleware",renderStage:"hydrate"};return e?"middleware"===t||"custom"===t?{durationMark:`${e}_duration`,startMark:`${e}_start`,endMark:`${e}_end`}:"fetcher"===t?{durationMark:`fetcher_${e}_duration`,startMark:`fetcher_${e}_start`,endMark:`fetcher_${e}_end`}:"hydrate"===r?{durationMark:`${e}_hydrate_duration`,startMark:`${e}_hydrate_start`,endMark:`${e}_hydrate_end`}:{durationMark:`${e}_ssr_duration`,startMark:`${e}_ssr_start`,endMark:`${e}_ssr_end`}:{durationMark:void 0,startMark:void 0,endMark:void 0}}},726165:function(e,t,r){"use strict";r.d(t,{M:function(){return a}});var i=r(629686),n=r(402748);r(490629),r(181365);var o=r(338554);r(101199);let a=e=>{let t=new Map,r=0;return new Proxy(t,{get(t,a,s){if("set"===a)return function(e,o){var a;let s=t.get(e);if(!s){r+=1;let a=`${e}_${r}`;return t.set(e,(0,n._)((0,i._)({},o),{cacheKey:a,key:e}))}return t.set(e,(0,n._)((0,i._)({},s,o),{cacheKey:null!==(a=s.cacheKey)&&void 0!==a?a:s.as,key:e}))};if("delete"===a)return function(r){let i=t.get(r);return i&&(0,o.Lt)({as:i.as,serverRouteCache:e.serverRouteCache,patternToCacheKeyCache:e.patternToCacheKeyCache}),t.delete(r)};let l=Reflect.get(t,a,s);return"function"==typeof l?l.bind(t):l}})}},884051:function(e,t,r){"use strict";r.r(t),r.d(t,{useServerProps:function(){return o}});var i=r(101199),n=r(199775);function o(){let e=(0,i.useContext)(n.ServerPropsContext);return e?{serverProps:e.serverProps,setServerProps:e.setServerProps}:{}}r(320165)},347506:function(e){"use strict";e.exports=JSON.parse('[{"caseSensitive":false,"path":"","rawRoute":"route","element":"/src/routes/route.tsx","__chunkName":"routes-route","loadingElement":"/src/routes/loading.tsx"},{"caseSensitive":false,"path":"AiSearch","rawRoute":"AiSearch/route","element":"/src/routes/AiSearch/route.tsx","__chunkName":"routes-AiSearch-route"},{"caseSensitive":false,"path":"Chat","rawRoute":"Chat/route","element":"/src/routes/Chat/route.tsx","__chunkName":"routes-Chat-route","loadingElement":"/src/routes/Chat/loading.tsx"},{"caseSensitive":false,"path":"Downloadpage","rawRoute":"Downloadpage/route","element":"/src/routes/Downloadpage/route.tsx","__chunkName":"routes-Downloadpage-route"},{"caseSensitive":false,"path":"Follow","rawRoute":"Follow/route","element":"/src/routes/Follow/route.tsx","__chunkName":"routes-Follow-route"},{"caseSensitive":false,"path":"Friend","rawRoute":"Friend/route","element":"/src/routes/Friend/route.tsx","__chunkName":"routes-Friend-route"},{"caseSensitive":false,"path":"GameActivityDetail","rawRoute":"GameActivityDetail/route","element":"/src/routes/GameActivityDetail/route.tsx","__chunkName":"routes-GameActivityDetail-route"},{"caseSensitive":false,"path":"Help","rawRoute":"Help/route","element":"/src/routes/Help/route.tsx","__chunkName":"routes-Help-route"},{"caseSensitive":false,"path":"Hot","rawRoute":"Hot/route","element":"/src/routes/Hot/route.tsx","__chunkName":"routes-Hot-route"},{"caseSensitive":false,"path":"LogTrace","rawRoute":"LogTrace/route","element":"/src/routes/LogTrace/route.tsx","__chunkName":"routes-LogTrace-route"},{"caseSensitive":false,"path":"LynxFeedBack","rawRoute":"LynxFeedBack/route","element":"/src/routes/LynxFeedBack/route.tsx","__chunkName":"routes-LynxFeedBack-route"},{"caseSensitive":false,"path":"LynxImEntry","rawRoute":"LynxImEntry/route","element":"/src/routes/LynxImEntry/route.tsx","__chunkName":"routes-LynxImEntry-route"},{"caseSensitive":false,"path":"LynxLoading","rawRoute":"LynxLoading/route","element":"/src/routes/LynxLoading/route.tsx","__chunkName":"routes-LynxLoading-route"},{"caseSensitive":false,"path":"LynxLogin","rawRoute":"LynxLogin/route","element":"/src/routes/LynxLogin/route.tsx","__chunkName":"routes-LynxLogin-route"},{"caseSensitive":false,"path":"LynxModalVideo","rawRoute":"LynxModalVideo/route","element":"/src/routes/LynxModalVideo/route.tsx","__chunkName":"routes-LynxModalVideo-route"},{"caseSensitive":false,"path":"LynxNoticeEntry","rawRoute":"LynxNoticeEntry/route","element":"/src/routes/LynxNoticeEntry/route.tsx","__chunkName":"routes-LynxNoticeEntry-route"},{"caseSensitive":false,"path":"LynxPostDropdown","rawRoute":"LynxPostDropdown/route","element":"/src/routes/LynxPostDropdown/route.tsx","__chunkName":"routes-LynxPostDropdown-route"},{"caseSensitive":false,"path":"LynxPrivacy","rawRoute":"LynxPrivacy/route","element":"/src/routes/LynxPrivacy/route.tsx","__chunkName":"routes-LynxPrivacy-route"},{"caseSensitive":false,"path":"LynxRecharge","rawRoute":"LynxRecharge/route","element":"/src/routes/LynxRecharge/route.tsx","__chunkName":"routes-LynxRecharge-route"},{"caseSensitive":false,"path":"LynxReport","rawRoute":"LynxReport/route","element":"/src/routes/LynxReport/route.tsx","__chunkName":"routes-LynxReport-route"},{"caseSensitive":false,"path":"LynxRiskControl","rawRoute":"LynxRiskControl/route","element":"/src/routes/LynxRiskControl/route.tsx","__chunkName":"routes-LynxRiskControl-route"},{"caseSensitive":false,"path":"LynxSettingsPanel","rawRoute":"LynxSettingsPanel/route","element":"/src/routes/LynxSettingsPanel/route.tsx","__chunkName":"routes-LynxSettingsPanel-route"},{"caseSensitive":false,"path":"LynxShortcut","rawRoute":"LynxShortcut/route","element":"/src/routes/LynxShortcut/route.tsx","__chunkName":"routes-LynxShortcut-route"},{"caseSensitive":false,"path":"LynxUserMenuPanel","rawRoute":"LynxUserMenuPanel/route","element":"/src/routes/LynxUserMenuPanel/route.tsx","__chunkName":"routes-LynxUserMenuPanel-route"},{"caseSensitive":false,"path":"LynxWallpaper","rawRoute":"LynxWallpaper/route","element":"/src/routes/LynxWallpaper/route.tsx","__chunkName":"routes-LynxWallpaper-route"},{"caseSensitive":false,"path":"MicroGame","rawRoute":"MicroGame/route","element":"/src/routes/MicroGame/route.tsx","__chunkName":"routes-MicroGame-route"},{"caseSensitive":false,"path":"Preloadclient","rawRoute":"Preloadclient/route","element":"/src/routes/Preloadclient/route.tsx","__chunkName":"routes-Preloadclient-route"},{"caseSensitive":false,"path":"Recommend","rawRoute":"Recommend/route","element":"/src/routes/Recommend/route.tsx","__chunkName":"routes-Recommend-route","loadingElement":"/src/routes/Recommend/loading.tsx"},{"caseSensitive":false,"path":"Series","rawRoute":"Series/route","element":"/src/routes/Series/route.tsx","__chunkName":"routes-Series-route"},{"caseSensitive":false,"path":"Shipin","rawRoute":"Shipin/route","element":"/src/routes/Shipin/route.tsx","__chunkName":"routes-Shipin-route"},{"caseSensitive":false,"path":"VS","rawRoute":"VS/route","element":"/src/routes/VS/route.tsx","__chunkName":"routes-VS-route"},{"caseSensitive":false,"path":"Wallpaper","rawRoute":"Wallpaper/route","element":"/src/routes/Wallpaper/route.tsx","__chunkName":"routes-Wallpaper-route"},{"caseSensitive":false,"path":"ZhuanTi","rawRoute":"ZhuanTi/route","element":"/src/routes/ZhuanTi/route.tsx","__chunkName":"routes-ZhuanTi-route"},{"caseSensitive":false,"path":"Activity/:id","rawRoute":"Activity/[id]/route","element":"/src/routes/Activity/[id]/route.tsx","__chunkName":"routes-Activity-id-route"},{"caseSensitive":false,"path":"AiSearch/share","rawRoute":"AiSearch/share/route","element":"/src/routes/AiSearch/share/route.tsx","__chunkName":"routes-AiSearch-share-route"},{"caseSensitive":false,"path":"Article/:id","rawRoute":"Article/[id]/route","element":"/src/routes/Article/[id]/route.tsx","__chunkName":"routes-Article-id-route","loadingElement":"/src/routes/Article/[id]/loading.tsx"},{"caseSensitive":false,"path":"Collection/:id","rawRoute":"Collection/[id]/route","element":"/src/routes/Collection/[id]/route.tsx","__chunkName":"routes-Collection-id-route"},{"caseSensitive":false,"path":"Creatorvideo/:id","rawRoute":"Creatorvideo/[id]/route","element":"/src/routes/Creatorvideo/[id]/route.tsx","__chunkName":"routes-Creatorvideo-id-route"},{"caseSensitive":false,"path":"Downloadpage/:pageInfo","rawRoute":"Downloadpage/[pageInfo]/route","element":"/src/routes/Downloadpage/[pageInfo]/route.tsx","__chunkName":"routes-Downloadpage-pageInfo-route"},{"caseSensitive":false,"path":"Hashtag/:id","rawRoute":"Hashtag/[id]/route","element":"/src/routes/Hashtag/[id]/route.tsx","__chunkName":"routes-Hashtag-id-route"},{"caseSensitive":false,"path":"Hot/:id","rawRoute":"Hot/[id]/route","element":"/src/routes/Hot/[id]/route.tsx","__chunkName":"routes-Hot-id-route"},{"caseSensitive":false,"path":"Htmlmap/:pageInfo","rawRoute":"Htmlmap/[pageInfo]/route","element":"/src/routes/Htmlmap/[pageInfo]/route.tsx","__chunkName":"routes-Htmlmap-pageInfo-route"},{"caseSensitive":false,"path":"Jingxuan/:tag?","rawRoute":"Jingxuan/[[tag]]/route","element":"/src/routes/Jingxuan/[[tag]]/route.tsx","__chunkName":"routes-Jingxuan-tag-route","loadingElement":"/src/routes/Jingxuan/[[tag]]/loading.tsx"},{"caseSensitive":false,"path":"LVDetail/:id","rawRoute":"LVDetail/[id]/route","element":"/src/routes/LVDetail/[id]/route.tsx","__chunkName":"routes-LVDetail-id-route"},{"caseSensitive":false,"path":"Light/:id","rawRoute":"Light/[id]/route","element":"/src/routes/Light/[id]/route.tsx","__chunkName":"routes-Light-id-route"},{"caseSensitive":false,"path":"Live/:webrid","rawRoute":"Live/[webrid]/route","element":"/src/routes/Live/[webrid]/route.tsx","__chunkName":"routes-Live-webrid-route"},{"caseSensitive":false,"path":"Music/:id","rawRoute":"Music/[id]/route","element":"/src/routes/Music/[id]/route.tsx","__chunkName":"routes-Music-id-route"},{"caseSensitive":false,"path":"Musicplaylist/:id","rawRoute":"Musicplaylist/[id]/route","element":"/src/routes/Musicplaylist/[id]/route.tsx","__chunkName":"routes-Musicplaylist-id-route"},{"caseSensitive":false,"path":"Note/:id","rawRoute":"Note/[id]/route","element":"/src/routes/Note/[id]/route.tsx","__chunkName":"routes-Note-id-route","loadingElement":"/src/routes/Note/[id]/loading.tsx"},{"caseSensitive":false,"path":"Search/:keyword","rawRoute":"Search/[keyword]/route","element":"/src/routes/Search/[keyword]/route.tsx","__chunkName":"routes-Search-keyword-route"},{"caseSensitive":false,"path":"Shipin/:id","rawRoute":"Shipin/[id]/route","element":"/src/routes/Shipin/[id]/route.tsx","__chunkName":"routes-Shipin-id-route"},{"caseSensitive":false,"path":"Topic/:id","rawRoute":"Topic/[id]/route","element":"/src/routes/Topic/[id]/route.tsx","__chunkName":"routes-Topic-id-route"},{"caseSensitive":false,"path":"User/:id","rawRoute":"User/[id]/route","element":"/src/routes/User/[id]/route.tsx","__chunkName":"routes-User-id-route"},{"caseSensitive":false,"path":"Video/:id","rawRoute":"Video/[id]/route","element":"/src/routes/Video/[id]/route.tsx","__chunkName":"routes-Video-id-route","loadingElement":"/src/routes/Video/[id]/loading.tsx"},{"caseSensitive":false,"path":"VsChannel/:channel","rawRoute":"VsChannel/[channel]/route","element":"/src/routes/VsChannel/[channel]/route.tsx","__chunkName":"routes-VsChannel-channel-route"},{"caseSensitive":false,"path":"VsDetail/:id","rawRoute":"VsDetail/[id]/route","element":"/src/routes/VsDetail/[id]/route.tsx","__chunkName":"routes-VsDetail-id-route","loadingElement":"/src/routes/VsDetail/[id]/loading.tsx"},{"caseSensitive":false,"path":"Wallpaper/:id","rawRoute":"Wallpaper/[id]/route","element":"/src/routes/Wallpaper/[id]/route.tsx","__chunkName":"routes-Wallpaper-id-route"},{"caseSensitive":false,"path":"ZhuanTi/:id","rawRoute":"ZhuanTi/[id]/route","element":"/src/routes/ZhuanTi/[id]/route.tsx","__chunkName":"routes-ZhuanTi-id-route"},{"caseSensitive":false,"path":"Collection/:id/:episode","rawRoute":"Collection/[id]/[episode]/route","element":"/src/routes/Collection/[id]/[episode]/route.tsx","__chunkName":"routes-Collection-id-episode-route"},{"caseSensitive":false,"path":"Hashtag/:id/:page","rawRoute":"Hashtag/[id]/[page]/route","element":"/src/routes/Hashtag/[id]/[page]/route.tsx","__chunkName":"routes-Hashtag-id-page-route"},{"caseSensitive":false,"path":"Hashtag/:id/hot","rawRoute":"Hashtag/[id]/hot/route","element":"/src/routes/Hashtag/[id]/hot/route.tsx","__chunkName":"routes-Hashtag-id-hot-route"},{"caseSensitive":false,"path":"Hashtag/:id/new","rawRoute":"Hashtag/[id]/new/route","element":"/src/routes/Hashtag/[id]/new/route.tsx","__chunkName":"routes-Hashtag-id-new-route"},{"caseSensitive":false,"path":"Hot/:id/:topic","rawRoute":"Hot/[id]/[topic]/route","element":"/src/routes/Hot/[id]/[topic]/route.tsx","__chunkName":"routes-Hot-id-topic-route"},{"caseSensitive":false,"path":"Hot/detail/:id","rawRoute":"Hot/detail/[id]/route","element":"/src/routes/Hot/detail/[id]/route.tsx","__chunkName":"routes-Hot-detail-id-route"},{"caseSensitive":false,"path":"Mall/item/:id","rawRoute":"Mall/item/[id]/route","element":"/src/routes/Mall/item/[id]/route.tsx","__chunkName":"routes-Mall-item-id-route"},{"caseSensitive":false,"path":"Shipin/fenlei/:page","rawRoute":"Shipin/fenlei/[page]/route","element":"/src/routes/Shipin/fenlei/[page]/route.tsx","__chunkName":"routes-Shipin-fenlei-page-route"},{"caseSensitive":false,"path":"ZhuanTi/fenlei/:page","rawRoute":"ZhuanTi/fenlei/[page]/route","element":"/src/routes/ZhuanTi/fenlei/[page]/route.tsx","__chunkName":"routes-ZhuanTi-fenlei-page-route"},{"caseSensitive":false,"path":"Hashtag/:id/hot/:page","rawRoute":"Hashtag/[id]/hot/[page]/route","element":"/src/routes/Hashtag/[id]/hot/[page]/route.tsx","__chunkName":"routes-Hashtag-id-hot-page-route"},{"caseSensitive":false,"path":"Hashtag/:id/new/:page","rawRoute":"Hashtag/[id]/new/[page]/route","element":"/src/routes/Hashtag/[id]/new/[page]/route.tsx","__chunkName":"routes-Hashtag-id-new-page-route"},{"path":"*","route":"404","caseSensitive":false,"__notFound":true,"__chunkName":"routes-404","element":"/src/routes/404.tsx"}]')}}]);