/*! For license information please see 21949.3306e4f0.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,n=1,r=arguments.length;n/g,a=/&#([a-zA-Z0-9]*);?/gim,l=/"/g,s=/:?/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,h=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,p=/"/g,f=function(e){return e.replace(i,"<").replace(o,">")},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,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,a=(15&n)<<2|(r=e.charCodeAt(u++))>>6,l=63&r,isNaN(n)?a=l=64:isNaN(r)&&(l=64),c=c+s.charAt(i)+s.charAt(o)+s.charAt(a)+s.charAt(l);return c}function b(e){var t,n,r,i,o,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,n=(15&i)<<4|(o=l.indexOf(e.charAt(c++)))>>2,r=(3&o)<<6|(a=l.indexOf(e.charAt(c++))),s+=String.fromCharCode(t),64!==o&&(s+=String.fromCharCode(n)),64!==a&&(s+=String.fromCharCode(r));return function(e){for(var t="",n=0,r=0,i=0,o=0;n191&&r<224?(t+=String.fromCharCode((31&r)<<6|63&(o=e.charCodeAt(n+1))),n+=2):(o=e.charCodeAt(n+1),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&(i=e.charCodeAt(n+2))),n+=3);return t}(s)}function x(e,t,n){var r="",i=0,o=!1,a=!1,l=0,s=e.length,c="",u="";e:for(l=0;l"===d||l===s-1){r+=n(e.slice(i,o)),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(o,l+1)),r+=t(o,r.length,c,u,"0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){s(a,v(g.trim(e.slice(n,c)))),a=!1,n=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;s(a,g.trim(e.slice(i+1,d))),a=!1,n=(c=d)+1}}else a=e.slice(n,c),n=c+1,i='"'===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(l,'"')).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(s,":").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&&(h.lastIndex=0,h.test(n)||(d.lastIndex=0,d.test(n)&&(u.lastIndex=0,u.test(n)))))return"";return n=function(e){return e=f(e=e.replace(p,"""))}(n)}var C=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 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=E,t.escapeHtml=f,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,r,i,o,a,l=this.options,s=l.whiteList,c=l.onTag,u=l.onIgnoreTag,d=l.onTagAttr,h=l.onIgnoreTagAttr,p=l.safeAttrValue,f=l.escapeHtml;l.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),l.allowCommentTag||(e=function(e){for(var t="",n=0;n");var l=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),m=s[n],v=w(l.html,function(e,t){var r=-1!==g.indexOf(m,e),i=d(n,e,t,r);return null==i?r?(t=p(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(i=h(n,e,t,r))?void 0:i:i});return r="<".concat(n),v&&(r+=" ".concat(v)),l.closing&&(r+=" /"),r+=">"}return null==(a=u(n,r,o))?f(r):a},f);return m&&(v=m.remove(v)),v},e}(),k=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")(),O=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(k&&k._xssBid)return k._xssBid;if(k&&k.slardar&&"function"==typeof k.slardar.config){var i=(k.slardar.config()||{}).bid;if(i)return i}if(k&&k.Slardar&&"function"==typeof k.Slardar.config){var o=(k.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==k?void 0:k.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==k?void 0:k.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:b("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:b("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),k.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(k.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}()),T=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,i=g.keys(e);r0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var i=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===i})||(t&&t("javascript:"),!1)}return!0}var A=function(e,t){var n,r,i="<%= isSaveValidUrl =>";if("string"!=typeof e||(r=Number("<%= urlLimit =>"),void 0!==n&&(r=n),"NaN"!==e.toString()&&-1!==r&&e.length>=r)||M(e,t))return e;try{if(!0===(i=JSON.parse(i))||"true"===i){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function I(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!M(e=R(e)))return!1;var i,o={url:(i=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:i[1],slash:i[2],host:i[3],port:i[4],path:i[5],query:i[6],hash:i[7]},a=o.scheme,l=o.host;return r?!!r(e):!(!a||!l)&&(!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(l))||e===l})))}var _={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:[]},P={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=T(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?P.domainWhiteList&&Array.isArray(P.domainWhiteList)&&P.domainWhiteList.length>0&&!I(r,n([],P.domainWhiteList,!0))?"":"".concat(t,'="').concat(A(r,function(e){var t;null===(t=P.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(P.collect.whiteList[e]=P.collect.whiteList[e]||[],void P.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;x(t,function(e,t,n,r){w(D(r).html.replace("/",""),function(e){P.collect.whiteList[n]=P.collect.whiteList[n]||[],P.collect.whiteList[n].push(e)})},f)},whiteList:_,mergeWhiteList:function(e){for(var t,n={},r=0,i=g.keys(_);r");var o=D(r),a=w(o.html,function(e,t){var r,i=0;if(W.blackList[n]&&g.includes(W.blackList[n],e)&&(B.collect.blackList[n]=B.collect.blackList[n]||[],B.collect.blackList[n].push(e),i++),W.blackAttrRegExps.length&&W.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach(W.blackAttrRegExps,function(t){t.test(e)&&(B.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),W.blackAttrs.length&&g.includes(W.blackAttrs,e)&&(W.blackAttrs.push(e),i++),!i){if(W.filterList&&W.filterList[n]&&g.includes(W.filterList[n],e)){var o=A(t,function(e){var t;null===(t=B.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(B.collect.filterList[n]=B.collect.filterList[n]||[],B.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return W.filterAttrs&&g.includes(W.filterAttrs,e)?((o=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(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return r="<".concat(n),a&&(r+=" ".concat(a)),o.closing&&(r+=" /"),r+=">"},f);null===(n=B.collect)||void 0===n||n.blackTags.push(e)}},U=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")},V=function(e){return function(n,r,i){if(!n||"string"!=typeof n)return n;var o=r;e===L&&(o=P).initCollect();var a=e(n,o);if(C(a)===C(n))return n;if(!i)return a;var l=i.logType,s=U(i),c=o.removeCollect();return O.report(t(t({type:l,disposition:s},c),{sourceText:y(n),filterText:y(a)})),"enforce"===s?a:n}},X=V(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)}),z=V(L),J=function(e,t,n){var r=[],i=A(e,function(e){r.push(e)});if(i===e)return e;r=g.from(g.uniq(r));var o=t||n||{};if(!o)return i;var a=o.logType,l=U(n);return O.report({type:a,disposition:l,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:y(e),filterText:y(i)}),"enforce"===l?i:e},K=k._xssProject||{},Y=k.xssNamespace||{},G="3.0.26",$={FilterXSS:S,version:G,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:X,_filterXSS:z,filterUrl:J,Config:P,BlackConfig:B,project:K,setProjectName:function(e){K[e]=this,k._xssProjectName=e}};Y.douyin_web=$,k.xssNamespace=Y,k.Math&&!k.Math.xssNamespace&&(k.Math.xssNamespace=Y),K[G]=$,k.globalThis=k,k.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:$},k.xss=$,k.isSafeUrl=I,k.isSafeDomain=I,k.isSafeProtocol=M,k._xssProject=K,k._xssProjectName&&(K[k._xssProjectName]=$);var q=$.setProjectName.bind($);e.BlackConfig=B,e.Config=P,e.FilterXSS=S,e._filterXSS=z,e.filterUrl=J,e.filterXSS=X,e.isSafeDomain=I,e.isSafeProtocol=M,e.isSafeUrl=I,e.project=K,e.setProjectName=q,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;Y[t]=$;P.bid=n,P.region=r,P.enabled=!0},e.xssNamespace=Y,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["21949"],{890035:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.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),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.62 4.4c.5.53.5 1.38 0 1.91L7.14 12l5.48 5.69c.5.53.5 1.38 0 1.91-.51.53-1.33.53-1.84 0l-6.4-6.64a1.4 1.4 0 0 1 0-1.92l6.4-6.64c.5-.53 1.33-.53 1.84 0Z",fill:"currentColor"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.62 4.4c.5.53.5 1.38 0 1.91L14.14 12l5.48 5.69c.5.53.5 1.38 0 1.91-.51.53-1.34.53-1.84 0l-6.4-6.64a1.4 1.4 0 0 1 0-1.92l6.4-6.64c.5-.53 1.33-.53 1.84 0Z",fill:"currentColor"}))},"double_chevron_left");t.Z=o},817924:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.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),r.createElement("path",{d:"M9 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}),r.createElement("path",{d:"M9 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}),r.createElement("path",{d:"M11 19a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",fill:"currentColor"}),r.createElement("path",{d:"M15 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}),r.createElement("path",{d:"M17 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z",fill:"currentColor"}),r.createElement("path",{d:"M15 21a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}))},"handle");t.Z=o},137461:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.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),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.43 2.1A1 1 0 0 1 12 3v18a1 1 0 0 1-1.62.78L4.65 17H2a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h2.65l5.73-4.78a1 1 0 0 1 1.05-.12Z",fill:"currentColor"}))},"volumn_silent");t.Z=o},425968:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(796616),i=n(934057),o=function(e,t){var n=document.querySelector('[data-container-id="'.concat(t,'"]'));if(n){if((0,i.En)(t)){var o=n.contentWindow;if("callback"===e.__msg_type){o.postMessage({type:"executeCallback",callbackID:e.__callback_id,params:e.__params},"*");return}if("event"===e.__msg_type){var a=(0,i.NP)(t,e.__event_id||"");if(a.length){var l=[],s=!0,c=!1,u=void 0;try{for(var d,h=a[Symbol.iterator]();!(s=(d=h.next()).done);s=!0){var p=d.value;o.postMessage({type:"executeCallback",callbackID:p.id,params:e.__params},"*"),p.once&&l.push(p.id)}}catch(e){c=!0,u=e}finally{try{!s&&null!=h.return&&h.return()}finally{if(c)throw u}}l.length&&(0,i.t$)(t,e.__event_id||"",l)}return}}n.contentWindow.postMessage({type:r.rG,data:JSON.stringify(e)},"*")}}},255436:function(e,t){"use strict";var n=setInterval,r=setTimeout,i=clearInterval,o=clearTimeout;try{var a,l=function(){do d===h?d=0:d++;while(d in u);return d},s=new Blob(["var fakeIdToID={};addEventListener(\"message\",function(event){try{var{data={}}=event;var{action,fakeId,time}=data;switch(action){case'setInterval':fakeIdToID[fakeId]=setInterval(function(){postMessage({fakeId});},time);break;case'clearInterval':if(fakeIdToID.hasOwnProperty(fakeId)){clearInterval(fakeIdToID[fakeId]);delete fakeIdToID[fakeId];}\nbreak;case'setTimeout':fakeIdToID[fakeId]=setTimeout(function(){postMessage({fakeId});if(fakeIdToID.hasOwnProperty(fakeId)){delete fakeIdToID[fakeId];}},time);break;case'clearTimeout':if(fakeIdToID.hasOwnProperty(fakeId)){clearTimeout(fakeIdToID[fakeId]);delete fakeIdToID[fakeId];}\nbreak;default:break;}}catch(error){postMessage({error})}})"]),c=window.URL.createObjectURL(s),u={},d=0,h=2147483647;window.HACK_TIMER_WORKER&&"setIntervalWarp"in window.HACK_TIMER_WORKER&&"setTimeoutWarp"in window.HACK_TIMER_WORKER&&"clearIntervalWarp"in window.HACK_TIMER_WORKER&&"clearTimeoutWarp"in window.HACK_TIMER_WORKER?(n=window.HACK_TIMER_WORKER.setIntervalWarp,r=window.HACK_TIMER_WORKER.setTimeoutWarp,i=window.HACK_TIMER_WORKER.clearIntervalWarp,o=window.HACK_TIMER_WORKER.clearTimeoutWarp):window.Worker&&(a=new Worker(c),n=function(e,t){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(!e||"function"!=typeof e)throw Error("cb must be a function");for(var r=l(),i=arguments.length,o=Array(i>3?i-3:0),s=3;s2)||void 0===arguments[2]||arguments[2];if(!e||"function"!=typeof e)throw Error("cb must be a function");for(var r=l(),i=arguments.length,o=Array(i>3?i-3:0),s=3;s{c(!0)},[]),!function(e){let t=(0,S.useContext)(L);(0,S.useEffect)(()=>{if(!t)throw Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}((0,S.useMemo)(()=>({onDragStart(e){let{active:n}=e;o(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&o(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;o(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;o(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;o(t.onDragCancel({active:n,over:r}))}}),[o,t])),!s)return null;let u=S.createElement(S.Fragment,null,S.createElement(T.Mv,{id:r,value:i.draggable}),S.createElement(T.LE,{id:l,announcement:a}));return n?(0,k.createPortal)(u,n):u}function A(){}function I(e,t){return(0,S.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function _(){for(var e=arguments.length,t=Array(e),n=0;n[...t].filter(e=>null!=e),[...t])}(i=f||(f={})).DragStart="dragStart",i.DragMove="dragMove",i.DragEnd="dragEnd",i.DragCancel="dragCancel",i.DragOver="dragOver",i.RegisterDroppable="registerDroppable",i.SetDroppableDisabled="setDroppableDisabled",i.UnregisterDroppable="unregisterDroppable";let P=Object.freeze({x:0,y:0});function N(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function j(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function H(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function W(e){let{left:t,top:n,height:r,width:i}=e;return[{x:t,y:n},{x:t+i,y:n},{x:t,y:n+r},{x:t+i,y:n+r}]}function Z(e,t){if(!e||0===e.length)return null;let[n]=e;return t?n[t]:n}function F(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let B=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=F(t,t.left,t.top),o=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=N(F(r),i);o.push({id:t,data:{droppableContainer:e,value:n}})}}return o.sort(j)},U=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=W(t),o=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){let n=W(r),a=Number((i.reduce((e,t,r)=>e+N(n[r],t),0)/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:a}})}}return o.sort(j)},V=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,o=n.get(r);if(o){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height);if(r0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(H)};function X(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:P}let z=(o=1,function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r({...e,top:e.top+o*t.y,bottom:e.bottom+o*t.y,left:e.left+o*t.x,right:e.right+o*t.x}),{...e})});function J(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}let K={ignoreTransform:!1};function Y(e,t){void 0===t&&(t=K);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,O.Jj)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=J(t);if(!r)return e;let{scaleX:i,scaleY:o,x:a,y:l}=r,s=e.left-a-(1-i)*parseFloat(n),c=e.top-l-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),u=i?e.width/i:e.width,d=o?e.height/o:e.height;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s}}(n,t,r))}let{top:r,left:i,width:o,height:a,bottom:l,right:s}=n;return{top:r,left:i,width:o,height:a,bottom:l,right:s}}function G(e){return Y(e,{ignoreTransform:!0})}function $(e,t){let n=[];return e?function r(i){var o,a;if(null!=t&&n.length>=t||!i)return n;if((0,O.qk)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,O.Re)(i)||(0,O.vZ)(i)||n.includes(i))return n;let l=(0,O.Jj)(e).getComputedStyle(i);return(i!==e&&function(e,t){void 0===t&&(t=(0,O.Jj)(e).getComputedStyle(e));let n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{let r=t[e];return"string"==typeof r&&n.test(r)})}(i,l)&&n.push(i),o=i,void 0===(a=l)&&(a=(0,O.Jj)(o).getComputedStyle(o)),"fixed"===a.position)?n:r(i.parentNode)}(e):n}function q(e){let[t]=$(e,1);return null!=t?t:null}function Q(e){return O.Nq&&e?(0,O.FJ)(e)?e:(0,O.UG)(e)?(0,O.qk)(e)||e===(0,O.r3)(e).scrollingElement?window:(0,O.Re)(e)?e:null:null:null}function ee(e){return(0,O.FJ)(e)?e.scrollX:e.scrollLeft}function et(e){return(0,O.FJ)(e)?e.scrollY:e.scrollTop}function en(e){return{x:ee(e),y:et(e)}}function er(e){return!!O.Nq&&!!e&&e===document.scrollingElement}function ei(e){let t={x:0,y:0},n=er(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,a=e.scrollTop>=r.y;return{isTop:i,isLeft:o,isBottom:a,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}(a=g||(g={}))[a.Forward=1]="Forward",a[a.Backward=-1]="Backward";let eo={x:.2,y:.2};function ea(e){return e.reduce((e,t)=>(0,O.IH)(e,en(t)),P)}function el(e,t){if(void 0===t&&(t=Y),!e)return;let{top:n,left:r,bottom:i,right:o}=t(e);if(!!q(e))(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}let es=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+ee(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+et(t),0)}]];class ec{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;let n=$(t),r=ea(n);for(let[t,i,o]of(this.rect={...e},this.width=e.width,this.height=e.height,es))for(let e of i)Object.defineProperty(this,e,{get:()=>{let i=o(n),a=r[t]-i;return this.rect[e]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class eu{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function ed(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function eh(e){e.preventDefault()}function ep(e){e.stopPropagation()}(l=m||(m={})).Click="click",l.DragStart="dragstart",l.Keydown="keydown",l.ContextMenu="contextmenu",l.Resize="resize",l.SelectionChange="selectionchange",l.VisibilityChange="visibilitychange",(s=v||(v={})).Space="Space",s.Down="ArrowDown",s.Right="ArrowRight",s.Left="ArrowLeft",s.Up="ArrowUp",s.Esc="Escape",s.Enter="Enter",s.Tab="Tab";let ef={start:[v.Space,v.Enter],cancel:[v.Esc],end:[v.Space,v.Enter,v.Tab]},eg=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case v.Right:return{...n,x:n.x+25};case v.Left:return{...n,x:n.x-25};case v.Down:return{...n,y:n.y+25};case v.Up:return{...n,y:n.y-25}}};class em{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;let{event:{target:t}}=e;this.props=e,this.listeners=new eu((0,O.r3)(t)),this.windowListeners=new eu((0,O.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(m.Resize,this.handleCancel),this.windowListeners.add(m.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(m.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&el(n),t(P)}handleKeyDown(e){if((0,O.vd)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ef,coordinateGetter:o=eg,scrollBehavior:a="smooth"}=r,{code:l}=e;if(i.end.includes(l)){this.handleEnd(e);return}if(i.cancel.includes(l)){this.handleCancel(e);return}let{collisionRect:s}=n.current,c=s?{x:s.left,y:s.top}:P;!this.referenceCoordinates&&(this.referenceCoordinates=c);let u=o(e,{active:t,context:n.current,currentCoordinates:c});if(u){let t=(0,O.$X)(u,c),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:o,isRight:l,isLeft:s,isBottom:c,maxScroll:d,minScroll:h}=ei(n),p=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}(n),f={x:Math.min(i===v.Right?p.right-p.width/2:p.right,Math.max(i===v.Right?p.left:p.left+p.width/2,u.x)),y:Math.min(i===v.Down?p.bottom-p.height/2:p.bottom,Math.max(i===v.Down?p.top:p.top+p.height/2,u.y))},g=i===v.Right&&!l||i===v.Left&&!s,m=i===v.Down&&!c||i===v.Up&&!o;if(g&&f.x!==u.x){let e=n.scrollLeft+t.x,o=i===v.Right&&e<=d.x||i===v.Left&&e>=h.x;if(o&&!t.y){n.scrollTo({left:e,behavior:a});return}o?r.x=n.scrollLeft-e:r.x=i===v.Right?n.scrollLeft-d.x:n.scrollLeft-h.x,r.x&&n.scrollBy({left:-r.x,behavior:a});break}if(m&&f.y!==u.y){let e=n.scrollTop+t.y,o=i===v.Down&&e<=d.y||i===v.Up&&e>=h.y;if(o&&!t.x){n.scrollTo({top:e,behavior:a});return}o?r.y=n.scrollTop-e:r.y=i===v.Down?n.scrollTop-d.y:n.scrollTop-h.y,r.y&&n.scrollBy({top:-r.y,behavior:a});break}}this.handleMove(e,(0,O.IH)((0,O.$X)(u,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ev(e){return!!(e&&"distance"in e)}function ey(e){return!!(e&&"delay"in e)}em.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ef,onActivation:i}=t,{active:o}=n,{code:a}=e.nativeEvent;if(r.start.includes(a)){let t=o.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class eb{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,O.Jj)(e);return e instanceof t?e:(0,O.r3)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;let{event:i}=e,{target:o}=i;this.props=e,this.events=t,this.document=(0,O.r3)(o),this.documentListeners=new eu(this.document),this.listeners=new eu(n),this.windowListeners=new eu((0,O.Jj)(o)),this.initialCoordinates=null!=(r=(0,O.DC)(i))?r:P,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(m.Resize,this.handleCancel),this.windowListeners.add(m.DragStart,eh),this.windowListeners.add(m.VisibilityChange,this.handleCancel),this.windowListeners.add(m.ContextMenu,eh),this.documentListeners.add(m.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ey(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(ev(t)){this.handlePending(t);return}}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(m.Click,ep,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(m.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:a}}=i;if(!r)return;let l=null!=(t=(0,O.DC)(e))?t:P,s=(0,O.$X)(r,l);if(!n&&a){if(ev(a)){if(null!=a.tolerance&&ed(s,a.tolerance))return this.handleCancel();if(ed(s,a.distance))return this.handleStart()}return ey(a)&&ed(s,a.tolerance)?this.handleCancel():(this.handlePending(a,s),void 0)}e.cancelable&&e.preventDefault(),o(l)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),!this.activated&&e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),!this.activated&&e(this.props.active),t()}handleKeydown(e){e.code===v.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let ex={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ew extends eb{constructor(e){let{event:t}=e;super(e,ex,(0,O.r3)(t.target))}}ew.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}];let eE={move:{name:"mousemove"},end:{name:"mouseup"}};(c=y||(y={}))[c.RightClick=2]="RightClick";class eC extends eb{constructor(e){super(e,eE,(0,O.r3)(e.event.target))}}eC.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==y.RightClick&&(null==r||r({event:n}),!0)}}];let eS={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ek extends eb{constructor(e){super(e,eS)}static setup(){return window.addEventListener(eS.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(eS.move.name,e)};function e(){}}}ek.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return!(i.length>1)&&(null==r||r({event:n}),!0)}}],(u=b||(b={}))[u.Pointer=0]="Pointer",u[u.DraggableRect=1]="DraggableRect",(d=x||(x={}))[d.TreeOrder=0]="TreeOrder",d[d.ReversedTreeOrder=1]="ReversedTreeOrder";let eO={x:{[g.Backward]:!1,[g.Forward]:!1},y:{[g.Backward]:!1,[g.Forward]:!1}};(h=w||(w={}))[h.Always=0]="Always",h[h.BeforeDragging=1]="BeforeDragging",h[h.WhileDragging=2]="WhileDragging",(E||(E={})).Optimized="optimized";let eT=new Map;function eL(e,t){return(0,O.Gj)(n=>e?n?n:"function"==typeof t?t(e):e:null,[t,e])}function eD(e){let{callback:t,disabled:n}=e,r=(0,O.zX)(t),i=(0,S.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,S.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function eR(e){return new ec(Y(e),e)}function eM(e,t,n){void 0===t&&(t=eR);let[r,i]=(0,S.useState)(null);function o(){i(r=>{if(!e)return null;if(!1===e.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let o=t(e);return JSON.stringify(r)===JSON.stringify(o)?r:o})}let a=function(e){let{callback:t,disabled:n}=e,r=(0,O.zX)(t),i=(0,S.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,S.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(!!e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){o();break}}}}),l=eD({callback:o});return(0,O.LI)(()=>{o(),e?(null==l||l.observe(e),null==a||a.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==a||a.disconnect())},[e]),r}let eA=[];function eI(e,t){void 0===t&&(t=[]);let n=(0,S.useRef)(null);return(0,S.useEffect)(()=>{n.current=null},t),(0,S.useEffect)(()=>{let t=e!==P;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,O.$X)(e,n.current):P}function e_(e){return(0,S.useMemo)(()=>e?function(e){let t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}let eP=[];function eN(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,O.Re)(t)?t:e}let ej=[{sensor:ew,options:{}},{sensor:em,options:{}}],eH={current:{}},eW={draggable:{measure:G},droppable:{measure:G,strategy:w.WhileDragging,frequency:E.Optimized},dragOverlay:{measure:Y}};class eZ extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eF={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eZ,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:A},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eW,measureDroppableContainers:A,windowRect:null,measuringScheduled:!1},eB={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:A,draggableNodes:new Map,over:null,measureDroppableContainers:A},eU=(0,S.createContext)(eB),eV=(0,S.createContext)(eF);function eX(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eZ}}}function ez(e,t){switch(t.type){case f.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case f.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case f.DragEnd:case f.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case f.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new eZ(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case f.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;let a=new eZ(e.droppable.containers);return a.set(n,{...o,disabled:i}),{...e,droppable:{...e.droppable,containers:a}}}case f.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;let o=new eZ(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function eJ(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,S.useContext)(eU),o=(0,O.D9)(r),a=(0,O.D9)(null==n?void 0:n.id);return(0,S.useEffect)(()=>{if(!t){if(!r&&o&&null!=a){if(!(0,O.vd)(o)||document.activeElement===o.target)return;let e=i.get(a);if(!e)return;let{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,O.so)(e);if(t){t.focus();break}}})}}},[r,t,i,a,o]),null}function eK(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}let eY=(0,S.createContext)({...P,scaleX:1,scaleY:1});(p=C||(C={}))[p.Uninitialized=0]="Uninitialized",p[p.Initializing=1]="Initializing",p[p.Initialized=2]="Initialized";let eG=(0,S.memo)(function(e){var t,n,r,i,o,a,l,s,c,u,d;let{id:h,accessibility:p,autoScroll:m=!0,children:v,sensors:y=ej,collisionDetection:E=V,measuring:T,modifiers:D,...R}=e,[A,I]=(0,S.useReducer)(ez,void 0,eX),[_,N]=function(){let[e]=(0,S.useState)(()=>new Set),t=(0,S.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,S.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[j,H]=(0,S.useState)(C.Uninitialized),W=j===C.Initialized,{draggable:{active:F,nodes:B,translate:U},droppable:{containers:J}}=A,K=null!=F?B.get(F):null,G=(0,S.useRef)({initial:null,translated:null}),ee=(0,S.useMemo)(()=>{var e;return null!=F?{id:F,data:null!=(e=null==K?void 0:K.data)?e:eH,rect:G}:null},[F,K]),et=(0,S.useRef)(null),[el,es]=(0,S.useState)(null),[eu,ed]=(0,S.useState)(null),eh=(0,O.Ey)(R,Object.values(R)),ep=(0,O.Ld)("DndDescribedBy",h),ef=(0,S.useMemo)(()=>J.getEnabled(),[J]);let eg=(o=T,(0,S.useMemo)(()=>({draggable:{...eW.draggable,...null==o?void 0:o.draggable},droppable:{...eW.droppable,...null==o?void 0:o.droppable},dragOverlay:{...eW.dragOverlay,...null==o?void 0:o.dragOverlay}}),[null==o?void 0:o.draggable,null==o?void 0:o.droppable,null==o?void 0:o.dragOverlay])),{droppableRects:em,measureDroppableContainers:ev,measuringScheduled:ey}=function(e,t){let{dragging:n,dependencies:r,config:i}=t,[o,a]=(0,S.useState)(null),{frequency:l,measure:s,strategy:c}=i,u=(0,S.useRef)(e),d=function(){switch(c){case w.Always:return!1;case w.BeforeDragging:return n;default:return!n}}(),h=(0,O.Ey)(d),p=(0,S.useCallback)(function(e){if(void 0===e&&(e=[]),!h.current)a(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[h]),f=(0,S.useRef)(null),g=(0,O.Gj)(t=>{if(d&&!n)return eT;if(!t||t===eT||u.current!==e||null!=o){let t=new Map;for(let n of e){if(!n)continue;if(o&&o.length>0&&!o.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new ec(s(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,o,n,d,s]);return(0,S.useEffect)(()=>{u.current=e},[e]),(0,S.useEffect)(()=>{if(!d)p()},[n,d]),(0,S.useEffect)(()=>{o&&o.length>0&&a(null)},[JSON.stringify(o)]),(0,S.useEffect)(()=>{if(!d&&"number"==typeof l&&null===f.current)f.current=setTimeout(()=>{p(),f.current=null},l)},[l,d,p,...r]),{droppableRects:g,measureDroppableContainers:p,measuringScheduled:null!=o}}(ef,{dragging:W,dependencies:[U.x,U.y],config:eg.droppable}),eb=function(e,t){let n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return(0,O.Gj)(e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(B,F),ex=(0,S.useMemo)(()=>eu?(0,O.DC)(eu):null,[eu]),ew=function(){let e=(null==el?void 0:el.autoScrollEnabled)===!1,t="object"==typeof m?!1===m.enabled:!1===m,n=W&&!e&&!t;return"object"==typeof m?{...m,enabled:n}:{enabled:n}}(),eE=eL(eb,eg.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,o=(0,S.useRef)(!1),{x:a,y:l}="boolean"==typeof i?{x:i,y:i}:i;(0,O.LI)(()=>{if(!a&&!l||!t){o.current=!1;return}if(o.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let i=X(n(e),r);if(!a&&(i.x=0),!l&&(i.y=0),o.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=q(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,a,l,r,n])}({activeNode:null!=F?B.get(F):null,config:ew.layoutShiftCompensation,initialRect:eE,measure:eg.draggable.measure});let eC=eM(eb,eg.draggable.measure,eE),eS=eM(eb?eb.parentElement:null),ek=(0,S.useRef)({activatorEvent:null,active:null,activeNode:eb,collisionRect:null,collisions:null,droppableRects:em,draggableNodes:B,draggingNode:null,draggingNodeRect:null,droppableContainers:J,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),eR=J.getNodeFor(null==(t=ek.current.over)?void 0:t.id),eZ=function(e){let{measure:t}=e,[n,r]=(0,S.useState)(null),i=eD({callback:(0,S.useCallback)(e=>{for(let{target:n}of e)if((0,O.Re)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),o=(0,S.useCallback)(e=>{let n=eN(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),r(n?t(n):null)},[t,i]),[a,l]=(0,O.wm)(o);return(0,S.useMemo)(()=>({nodeRef:a,rect:n,setRef:l}),[n,a,l])}({measure:eg.dragOverlay.measure}),eF=null!=(n=eZ.nodeRef.current)?n:eb,eB=W?null!=(r=eZ.rect)?r:eC:null,eG=!!(eZ.nodeRef.current&&eZ.rect),e$=function(e){let t=eL(e);return X(e,t)}(eG?null:eC),eq=e_(eF?(0,O.Jj)(eF):null),eQ=function(e){let t=(0,S.useRef)(e),n=(0,O.Gj)(n=>e?n&&n!==eA&&e&&t.current&&e.parentNode===t.current.parentNode?n:$(e):eA,[e]);return(0,S.useEffect)(()=>{t.current=e},[e]),n}(W?null!=eR?eR:eb:null),e0=function(e,t){void 0===t&&(t=Y);let[n]=e,r=e_(n?(0,O.Jj)(n):null),[i,o]=(0,S.useState)(eP);function a(){o(()=>e.length?e.map(e=>er(e)?r:new ec(t(e),e)):eP)}let l=eD({callback:a});return(0,O.LI)(()=>{null==l||l.disconnect(),a(),e.forEach(e=>null==l?void 0:l.observe(e))},[e]),i}(eQ),e1=eK(D,{transform:{x:U.x-e$.x,y:U.y-e$.y,scaleX:1,scaleY:1},activatorEvent:eu,active:ee,activeNodeRect:eC,containerNodeRect:eS,draggingNodeRect:eB,over:ek.current.over,overlayNodeRect:eZ.rect,scrollableAncestors:eQ,scrollableAncestorRects:e0,windowRect:eq}),e2=ex?(0,O.IH)(ex,U):null,e9=function(e){let[t,n]=(0,S.useState)(null),r=(0,S.useRef)(e),i=(0,S.useCallback)(e=>{let t=Q(e.target);if(!!t)n(e=>e?(e.set(t,en(t)),new Map(e)):null)},[]);return(0,S.useEffect)(()=>{let t=r.current;if(e!==t){o(t);let a=e.map(e=>{let t=Q(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,en(t)]):null}).filter(e=>null!=e);n(a.length?new Map(a):null),r.current=e}return()=>{o(e),o(t)};function o(e){e.forEach(e=>{let t=Q(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,S.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,O.IH)(e,t),P):ea(e):P,[e,t])}(eQ),e5=eI(e9),e4=eI(e9,[eC]),e3=(0,O.IH)(e1,e5),e6=eB?z(eB,e1):null,e8=ee&&e6?E({active:ee,collisionRect:e6,droppableRects:em,droppableContainers:ef,pointerCoordinates:e2}):null,e7=Z(e8,"id"),[te,tt]=(0,S.useState)(null);let tn=(a=eG?e1:(0,O.IH)(e1,e4),l=null!=(i=null==te?void 0:te.rect)?i:null,s=eC,{...a,scaleX:l&&s?l.width/s.width:1,scaleY:l&&s?l.height/s.height:1}),tr=(0,S.useRef)(null),ti=(0,S.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==et.current)return;let i=B.get(et.current);if(!i)return;let o=e.nativeEvent,a=new n({active:et.current,activeNode:i,event:o,options:r,context:ek,onAbort(e){if(!B.get(e))return;let{onDragAbort:t}=eh.current,n={id:e};null==t||t(n),_({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!B.get(e))return;let{onDragPending:i}=eh.current,o={id:e,constraint:t,initialCoordinates:n,offset:r};null==i||i(o),_({type:"onDragPending",event:o})},onStart(e){let t=et.current;if(null==t)return;let n=B.get(t);if(!n)return;let{onDragStart:r}=eh.current,i={activatorEvent:o,active:{id:t,data:n.data,rect:G}};(0,k.unstable_batchedUpdates)(()=>{null==r||r(i),H(C.Initializing),I({type:f.DragStart,initialCoordinates:e,active:t}),_({type:"onDragStart",event:i}),es(tr.current),ed(o)})},onMove(e){I({type:f.DragMove,coordinates:e})},onEnd:l(f.DragEnd),onCancel:l(f.DragCancel)});function l(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ek.current,a=null;if(t&&i){let{cancelDrop:l}=eh.current;a={activatorEvent:o,active:t,collisions:n,delta:i,over:r},e===f.DragEnd&&"function"==typeof l&&await Promise.resolve(l(a))&&(e=f.DragCancel)}et.current=null,(0,k.unstable_batchedUpdates)(()=>{I({type:e}),H(C.Uninitialized),tt(null),es(null),ed(null),tr.current=null;let t=e===f.DragEnd?"onDragEnd":"onDragCancel";if(a){let e=eh.current[t];null==e||e(a),_({type:t,event:a})}})}}tr.current=a},[B]),to=(0,S.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,o=B.get(r);if(null===et.current&&!!o&&!i.dndKit&&!i.defaultPrevented)!0===e(n,t.options,{active:o})&&(i.dndKit={capturedBy:t.sensor},et.current=r,ti(n,t))},[B,ti]);let ta=(c=y,u=to,(0,S.useMemo)(()=>c.reduce((e,t)=>{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:u(e.handler,t)}))]},[]),[c,u]));d=y,(0,S.useEffect)(()=>{if(!O.Nq)return;let e=d.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},d.map(e=>{let{sensor:t}=e;return t})),(0,O.LI)(()=>{eC&&j===C.Initializing&&H(C.Initialized)},[eC,j]),(0,S.useEffect)(()=>{let{onDragMove:e}=eh.current,{active:t,activatorEvent:n,collisions:r,over:i}=ek.current;if(!t||!n)return;let o={active:t,activatorEvent:n,collisions:r,delta:{x:e3.x,y:e3.y},over:i};(0,k.unstable_batchedUpdates)(()=>{null==e||e(o),_({type:"onDragMove",event:o})})},[e3.x,e3.y]),(0,S.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ek.current;if(!e||null==et.current||!t||!i)return;let{onDragOver:o}=eh.current,a=r.get(e7),l=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,s={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:l};(0,k.unstable_batchedUpdates)(()=>{tt(l),null==o||o(s),_({type:"onDragOver",event:s})})},[e7]),(0,O.LI)(()=>{ek.current={activatorEvent:eu,active:ee,activeNode:eb,collisionRect:e6,collisions:e8,droppableRects:em,draggableNodes:B,draggingNode:eF,draggingNodeRect:eB,droppableContainers:J,over:te,scrollableAncestors:eQ,scrollAdjustedTranslate:e3},G.current={initial:eB,translated:e6}},[ee,eb,e8,e6,B,eF,eB,em,J,te,eQ,e3]),!function(e){let{acceleration:t,activator:n=b.Pointer,canScroll:r,draggingRect:i,enabled:o,interval:a=5,order:l=x.TreeOrder,pointerCoordinates:s,scrollableAncestors:c,scrollableAncestorRects:u,delta:d,threshold:h}=e,p=function(e){let{delta:t,disabled:n}=e,r=(0,O.D9)(t);return(0,O.Gj)(e=>{if(n||!r||!e)return eO;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[g.Backward]:e.x[g.Backward]||-1===i.x,[g.Forward]:e.x[g.Forward]||1===i.x},y:{[g.Backward]:e.y[g.Backward]||-1===i.y,[g.Forward]:e.y[g.Forward]||1===i.y}}},[n,t,r])}({delta:d,disabled:!o}),[f,m]=(0,O.Yz)(),v=(0,S.useRef)({x:0,y:0}),y=(0,S.useRef)({x:0,y:0}),w=(0,S.useMemo)(()=>{switch(n){case b.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case b.DraggableRect:return i}},[n,i,s]),E=(0,S.useRef)(null),C=(0,S.useCallback)(()=>{let e=E.current;if(!e)return;let t=v.current.x*y.current.x,n=v.current.y*y.current.y;e.scrollBy(t,n)},[]),k=(0,S.useMemo)(()=>l===x.TreeOrder?[...c].reverse():c,[l,c]);(0,S.useEffect)(()=>{if(!o||!c.length||!w){m();return}for(let e of k){if((null==r?void 0:r(e))===!1)continue;let n=u[c.indexOf(e)];if(!n)continue;let{direction:i,speed:o}=function(e,t,n,r,i){let{top:o,left:a,right:l,bottom:s}=n;void 0===r&&(r=10),void 0===i&&(i=eo);let{isTop:c,isBottom:u,isLeft:d,isRight:h}=ei(e),p={x:0,y:0},f={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!c&&o<=t.top+m.height?(p.y=g.Backward,f.y=r*Math.abs((t.top+m.height-o)/m.height)):!u&&s>=t.bottom-m.height&&(p.y=g.Forward,f.y=r*Math.abs((t.bottom-m.height-s)/m.height)),!h&&l>=t.right-m.width?(p.x=g.Forward,f.x=r*Math.abs((t.right-m.width-l)/m.width)):!d&&a<=t.left+m.width&&(p.x=g.Backward,f.x=r*Math.abs((t.left+m.width-a)/m.width)),{direction:p,speed:f}}(e,n,w,t,h);for(let e of["x","y"])!p[e][i[e]]&&(o[e]=0,i[e]=0);if(o.x>0||o.y>0){m(),E.current=e,f(C,a),v.current=o,y.current=i;return}}v.current={x:0,y:0},y.current={x:0,y:0},m()},[t,C,r,m,o,a,JSON.stringify(w),JSON.stringify(p),f,c,k,u,JSON.stringify(h)])}({...ew,delta:U,draggingRect:e6,pointerCoordinates:e2,scrollableAncestors:eQ,scrollableAncestorRects:e0});let tl=(0,S.useMemo)(()=>({active:ee,activeNode:eb,activeNodeRect:eC,activatorEvent:eu,collisions:e8,containerNodeRect:eS,dragOverlay:eZ,draggableNodes:B,droppableContainers:J,droppableRects:em,over:te,measureDroppableContainers:ev,scrollableAncestors:eQ,scrollableAncestorRects:e0,measuringConfiguration:eg,measuringScheduled:ey,windowRect:eq}),[ee,eb,eC,eu,e8,eS,eZ,B,J,em,te,ev,eQ,e0,eg,ey,eq]),ts=(0,S.useMemo)(()=>({activatorEvent:eu,activators:ta,active:ee,activeNodeRect:eC,ariaDescribedById:{draggable:ep},dispatch:I,draggableNodes:B,over:te,measureDroppableContainers:ev}),[eu,ta,ee,eC,I,ep,B,te,ev]);return S.createElement(L.Provider,{value:N},S.createElement(eU.Provider,{value:ts},S.createElement(eV.Provider,{value:tl},S.createElement(eY.Provider,{value:tn},v)),S.createElement(eJ,{disabled:(null==p?void 0:p.restoreFocus)===!1})),S.createElement(M,{...p,hiddenTextDescribedById:ep}))}),e$=(0,S.createContext)(null),eq="button";function eQ(e){var t,n;let{id:r,data:i,disabled:o=!1,attributes:a}=e,l=(0,O.Ld)("Draggable"),{activators:s,activatorEvent:c,active:u,activeNodeRect:d,ariaDescribedById:h,draggableNodes:p,over:f}=(0,S.useContext)(eU),{role:g=eq,roleDescription:m="draggable",tabIndex:v=0}=null!=a?a:{},y=(null==u?void 0:u.id)===r,b=(0,S.useContext)(y?eY:e$),[x,w]=(0,O.wm)(),[E,C]=(0,O.wm)();let k=(t=s,n=r,(0,S.useMemo)(()=>t.reduce((e,t)=>{let{eventName:r,handler:i}=t;return e[r]=e=>{i(e,n)},e},{}),[t,n])),T=(0,O.Ey)(i);return(0,O.LI)(()=>(p.set(r,{id:r,key:l,node:x,activatorNode:E,data:T}),()=>{let e=p.get(r);e&&e.key===l&&p.delete(r)}),[p,r]),{active:u,activatorEvent:c,activeNodeRect:d,attributes:(0,S.useMemo)(()=>({role:g,tabIndex:v,"aria-disabled":o,"aria-pressed":!!y&&g===eq||void 0,"aria-roledescription":m,"aria-describedby":h.draggable}),[o,g,v,y,m,h.draggable]),isDragging:y,listeners:o?void 0:k,node:x,over:f,setNodeRef:w,setActivatorNodeRef:C,transform:b}}function e0(){return(0,S.useContext)(eV)}let e1={timeout:25};function e2(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,o=(0,O.Ld)("Droppable"),{active:a,dispatch:l,over:s,measureDroppableContainers:c}=(0,S.useContext)(eU),u=(0,S.useRef)({disabled:n}),d=(0,S.useRef)(!1),h=(0,S.useRef)(null),p=(0,S.useRef)(null),{disabled:g,updateMeasurementsFor:m,timeout:v}={...e1,...i},y=(0,O.Ey)(null!=m?m:r),b=eD({callback:(0,S.useCallback)(()=>{if(!d.current){d.current=!0;return}null!=p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{c(Array.isArray(y.current)?y.current:[y.current]),p.current=null},v)},[v]),disabled:g||!a}),x=(0,S.useCallback)((e,t)=>{if(!!b)t&&(b.unobserve(t),d.current=!1),e&&b.observe(e)},[b]),[w,E]=(0,O.wm)(x),C=(0,O.Ey)(t);return(0,S.useEffect)(()=>{if(!!b&&!!w.current)b.disconnect(),d.current=!1,b.observe(w.current)},[w,b]),(0,S.useEffect)(()=>(l({type:f.RegisterDroppable,element:{id:r,key:o,disabled:n,node:w,rect:h,data:C}}),()=>l({type:f.UnregisterDroppable,key:o,id:r})),[r]),(0,S.useEffect)(()=>{n!==u.current.disabled&&(l({type:f.SetDroppableDisabled,id:r,key:o,disabled:n}),u.current.disabled=n)},[r,o,n,l]),{active:a,rect:h,isOver:(null==s?void 0:s.id)===r,node:w,over:s,setNodeRef:E}}function e9(e){let{animation:t,children:n}=e,[r,i]=(0,S.useState)(null),[o,a]=(0,S.useState)(null),l=(0,O.D9)(n);return!n&&!r&&l&&i(l),(0,O.LI)(()=>{if(!o)return;let e=null==r?void 0:r.key,n=null==r?void 0:r.props.id;if(null==e||null==n){i(null);return}Promise.resolve(t(n,o)).then(()=>{i(null)})},[t,r,o]),S.createElement(S.Fragment,null,n,r?(0,S.cloneElement)(r,{ref:a}):null)}let e5={x:0,y:0,scaleX:1,scaleY:1};function e4(e){let{children:t}=e;return S.createElement(eU.Provider,{value:eB},S.createElement(eY.Provider,{value:e5},t))}let e3={position:"fixed",touchAction:"none"},e6=e=>(0,O.vd)(e)?"transform 250ms ease":void 0,e8=(0,S.forwardRef)((e,t)=>{let{as:n,activatorEvent:r,adjustScale:i,children:o,className:a,rect:l,style:s,transform:c,transition:u=e6}=e;if(!l)return null;let d=i?c:{...c,scaleX:1,scaleY:1},h={...e3,width:l.width,height:l.height,top:l.top,left:l.left,transform:O.ux.Transform.toString(d),transformOrigin:i&&r?function(e,t){let n=(0,O.DC)(e);if(!n)return"0 0";let r={x:(n.x-t.left)/t.width*100,y:(n.y-t.top)/t.height*100};return r.x+"% "+r.y+"%"}(r,l):void 0,transition:"function"==typeof u?u(r):u,...s};return S.createElement(n,{className:a,style:h,ref:t},o)});let e7={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:O.ux.Transform.toString(t)},{transform:O.ux.Transform.toString(n)}]},sideEffects:(r={styles:{active:{opacity:"0"}}},e=>{let{active:t,dragOverlay:n}=e,i={},{styles:o,className:a}=r;if(null!=o&&o.active)for(let[e,n]of Object.entries(o.active)){if(void 0!==n)i[e]=t.node.style.getPropertyValue(e),t.node.style.setProperty(e,n)}if(null!=o&&o.dragOverlay)for(let[e,t]of Object.entries(o.dragOverlay)){if(void 0!==t)n.node.style.setProperty(e,t)}return null!=a&&a.active&&t.node.classList.add(a.active),null!=a&&a.dragOverlay&&n.node.classList.add(a.dragOverlay),function(){for(let[e,n]of Object.entries(i))t.node.style.setProperty(e,n);null!=a&&a.active&&t.node.classList.remove(a.active)}})},te=0,tt=S.memo(e=>{var t;let{adjustScale:n=!1,children:r,dropAnimation:i,style:o,transition:a,modifiers:l,wrapperElement:s="div",className:c,zIndex:u=999}=e,{activatorEvent:d,active:h,activeNodeRect:p,containerNodeRect:f,draggableNodes:g,droppableContainers:m,dragOverlay:v,over:y,measuringConfiguration:b,scrollableAncestors:x,scrollableAncestorRects:w,windowRect:E}=e0(),C=(0,S.useContext)(eY);let k=(t=null==h?void 0:h.id,(0,S.useMemo)(()=>{if(null!=t)return++te},[t])),T=eK(l,{activatorEvent:d,active:h,activeNodeRect:p,containerNodeRect:f,draggingNodeRect:v.rect,over:y,overlayNodeRect:v.rect,scrollableAncestors:x,scrollableAncestorRects:w,transform:C,windowRect:E}),L=eL(p),D=function(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:i}=e;return(0,O.zX)((e,o)=>{if(null===t)return;let a=n.get(e);if(!a)return;let l=a.node.current;if(!l)return;let s=eN(o);if(!s)return;let{transform:c}=(0,O.Jj)(o).getComputedStyle(o),u=J(c);if(!u)return;let d="function"==typeof t?t:function(e){let{duration:t,easing:n,sideEffects:r,keyframes:i}={...e7,...e};return e=>{let{active:o,dragOverlay:a,transform:l,...s}=e;if(!t)return;let c={x:a.rect.left-o.rect.left,y:a.rect.top-o.rect.top},u={scaleX:1!==l.scaleX?o.rect.width*l.scaleX/a.rect.width:1,scaleY:1!==l.scaleY?o.rect.height*l.scaleY/a.rect.height:1},d={x:l.x-c.x,y:l.y-c.y,...u},h=i({...s,active:o,dragOverlay:a,transform:{initial:l,final:d}}),[p]=h,f=h[h.length-1];if(JSON.stringify(p)===JSON.stringify(f))return;let g=null==r?void 0:r({active:o,dragOverlay:a,...s}),m=a.node.animate(h,{duration:t,easing:n,fill:"forwards"});return new Promise(e=>{m.onfinish=()=>{null==g||g(),e()}})}}(t);return el(l,i.draggable.measure),d({active:{id:e,data:a.data,node:l,rect:i.draggable.measure(l)},draggableNodes:n,dragOverlay:{node:o,rect:i.dragOverlay.measure(s)},droppableContainers:r,measuringConfiguration:i,transform:u})})}({config:i,draggableNodes:g,droppableContainers:m,measuringConfiguration:b}),R=L?v.setRef:void 0;return S.createElement(e4,null,S.createElement(e9,{animation:D},h&&k?S.createElement(e8,{key:k,id:h.id,ref:R,as:s,activatorEvent:d,adjustScale:n,className:c,transition:a,rect:L,style:{zIndex:u,...o},transform:T},r):null))})},345096:function(e,t,n){"use strict";t.hashComponents=t.get=void 0;let r=n(842466);Object.defineProperty(t,"get",{enumerable:!0,get:function(){return r.get}});let i=n(66472);Object.defineProperty(t,"hashComponents",{enumerable:!0,get:function(){return i.hashComponents}})},394301:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};e.exports=t.default},826204:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")};e.exports=t.default},427058:function(e,t,n){"use strict";function r(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}n.d(t,{Z:function(){return r}})},731278:function(e,t,n){"use strict";function r(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}n.d(t,{Z:function(){return r}})},866979:function(e,t){"use strict";var n={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}};t.Z=function(e,t,r){var i,o=n[e];if(i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",String(t)),null!=r&&r.addSuffix)return r.comparison&&r.comparison>0?i+"内":i+"前";return i}},873171:function(e,t,n){var r=n(568558),i=n(198412),o=n(849771),a=n(55607),l=n(750537),s=n(544991),c=n(746170);e.exports=function(e,t){return a(e)&&l(t)?s(c(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},236514:function(e,t,n){var r=n(821154),i=n(79594),o=n(517943),a=n(431356);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},952369:function(e,t,n){var r=n(222121),i=n(891779);e.exports=function(e){return r(e,i(e))}},107037:function(e,t,n){"use strict";e.exports=o;var r=n(999878);(o.prototype=Object.create(r.prototype)).constructor=o;var i=n(570581);function o(){r.call(this)}function a(e,t,n){e.length<40?i.utf8.write(e,t,n):t.utf8Write?t.utf8Write(e,n):t.write(e,n)}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(e,t,n){t.set(e,n)}:function(e,t,n){if(e.copy)e.copy(t,n,0,e.length);else for(var r=0;r>>0;return this.uint32(t),t&&this._push(o.writeBytesBuffer,t,e),this},o.prototype.string=function(e){var t=i.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},o._configure()},998470:function(e,t,n){"use strict";n.r(t)},562600:function(e,t,n){"use strict";n.r(t)},736857:function(e,t,n){"use strict";n(490629);var r=n(101199),i=n(725497),o=n(321499),a=n(228968),l=n(209873),s=n(48795);let{PREFIX_DIVIDER:c,PREFIX:u}=a.U,{ROLE:d}=a.j,h=r.memo(e=>{let{chats:t,onMessageBadFeedback:n,onMessageCopy:a,mode:h,onChatsChange:p,onMessageDelete:f,onMessageGoodFeedback:g,onMessageReset:m,roleConfig:v,chatBoxRenderConfig:y,align:b,customMarkDownComponents:x,renderDivider:w,markdownRenderProps:E}=e,[C,S]=s.Toast.useToast();return r.createElement(r.Fragment,null,t.map((e,s)=>{let u=s===t.length-1;return e.role===d.DIVIDER?w?w(e):r.createElement(i.Z,{key:e.id,className:c},r.createElement(l.Z,{componentName:"Chat"},e=>e.clearContext)):r.createElement(o.Z,{previousMessage:s?t[s-1]:void 0,toast:C,align:b,mode:h,key:e.id,message:e,roleConfig:v,onMessageBadFeedback:n,onMessageCopy:a,onChatsChange:p,onMessageDelete:f,onMessageGoodFeedback:g,onMessageReset:m,lastChat:u,customMarkDownComponents:x,chatBoxRenderConfig:y,markdownRenderProps:E})}),r.createElement("div",{className:`${u}-toast`},S))});t.Z=h},748521:function(e,t,n){"use strict";n(932651);var r=n(101199),i=n(469935),o=n.n(i),a=n(622689),l=n.n(a),s=n(48795),c=n(486247),u=n(648682),d=n(272410),h=n(228968),p=n(547071),f=n(733305),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let{PREFIX_INPUT_BOX:m}=h.U,{SEND_HOT_KEY:v}=h.j,y={minRows:1,maxRows:5};class b extends s.BaseComponent{get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyInputChange:e=>{let{onInputChange:t}=this.props;t&&t(e)},setInputValue:e=>{this.setState({content:e})},setAttachment:e=>{this.setState({attachment:e})},notifySend:(e,t)=>{let{onSend:n}=this.props;n&&n(e,t)}})}render(){let{onClearContext:e,renderInputArea:t,onSend:n,style:i,className:a,showClearContext:l}=this.props,s=this.renderClearButton(),c=this.renderUploadButton(),u=this.renderInputArea(),d=this.renderSendButton(),h=r.createElement("div",{className:o()(m,{[a]:a}),style:i},r.createElement("div",{className:`${m}-inner`,onClick:this.onClick},l&&s,r.createElement("div",{className:`${m}-container`},c,u,d)));return t?t({defaultNode:h,onClear:e,onSend:n,detailProps:{clearContextNode:s,uploadNode:c,inputNode:u,sendNode:d,onClick:this.onClick}}):h}constructor(e){super(e),this.onClick=()=>{var e;null===(e=this.inputAreaRef.current)||void 0===e||e.focus()},this.renderUploadButton=()=>{let{uploadProps:e,uploadRef:t,uploadTipProps:n,clickUpload:i}=this.props;if(!i)return null;let{attachment:a}=this.state,{className:l,onChange:u,renderFileItem:d,children:h}=e,p=Object.assign(Object.assign({},g(e,["className","onChange","renderFileItem","children"])),{className:o()(`${m}-upload`,{[l]:l}),onChange:this.foundation.onAttachmentAdd}),f=r.createElement(s.Upload,Object.assign({ref:t,fileList:a},p),h||r.createElement(s.Button,{className:`${m}-uploadButton`,icon:r.createElement(c.Z,{size:"extra-large"}),theme:"borderless"}));return n?r.createElement(s.Tooltip,Object.assign({},n),r.createElement("span",null,f)):f},this.renderInputArea=()=>{let{content:e,attachment:t}=this.state,{placeholder:n,sendHotKey:i}=this.props;return r.createElement("div",{className:`${m}-inputArea`},r.createElement(s.TextArea,{placeholder:n,onEnterPress:this.foundation.onEnterPress,value:e,onChange:this.foundation.onInputAreaChange,ref:this.inputAreaRef,className:`${m}-textarea`,autosize:y,disabledEnterStartNewLine:i===v.ENTER,onPaste:this.foundation.onPaste}),r.createElement(f.ZP,{attachment:t,onClear:this.foundation.onAttachmentDelete}))},this.renderClearButton=()=>{let{onClearContext:e}=this.props;return r.createElement(s.Button,{className:`${m}-clearButton`,theme:"borderless",icon:r.createElement(u.Z,null),onClick:e})},this.renderSendButton=()=>{let e=this.foundation.getDisableSend();return r.createElement(s.Button,{disabled:e,theme:"solid",type:"primary",className:`${m}-sendButton`,icon:r.createElement(d.Z,{size:"large",className:`${m}-sendButton-icon`}),onClick:this.foundation.onSend})},this.inputAreaRef=r.createRef(),this.foundation=new p.Z(this.adapter),this.state={content:"",attachment:[]}}}b.propTypes={uploadProps:l().object},b.defaultProps={uploadProps:{}},t.Z=b},437671:function(e,t,n){"use strict";n(932651),n(679308);var r=n(779020),i=n.n(r),o=n(101199),a=n(469935),l=n.n(a),s=n(622689),c=n.n(s),u=n(711004);n(687100);var d=n(559748),h=n(600436),p=n(749485),f=n(915304),g=n(426337),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let v=u.UX.PREFIX;class y extends g.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{getColumns:()=>{var e,t;return(null===(e=this.props.data)||void 0===e?void 0:e.length)?this.props.data:this.props.children?null===(t=o.Children.toArray(this.props.children))||void 0===t?void 0:t.map(e=>(0,o.isValidElement)(e)?Object.assign({value:e.props.children},e.props):[]):[]}})}render(){let e=this.props,{align:t,row:n,size:r,className:i,style:a,children:s,data:c,layout:u}=e,p=m(e,["align","row","size","className","style","children","data","layout"]),f=l()(v,i,{[`${v}-${t}`]:!n,[`${v}-double`]:n,[`${v}-double-${r}`]:n,[`${v}-horizontal`]:"horizontal"===u,[`${v}-vertical`]:"vertical"===u});return o.createElement("div",Object.assign({className:f,style:a},(0,d.Z)(p)),o.createElement("table",null,o.createElement("tbody",null,o.createElement(h.Z.Provider,{value:{align:t,layout:u}},this.renderChildrenList()))))}constructor(e){super(e),this.renderChildrenList=()=>{let{layout:e,data:t,children:n}=this.props;return"horizontal"===e?this.foundation.getHorizontalList().map((e,t)=>o.createElement("tr",{key:t},e.map((e,n)=>i()(e)?o.createElement(p.Z,Object.assign({itemKey:e.key},e,{key:t+"-"+n}),e.value):null))):t&&t.length?t.map((e,t)=>i()(e)?o.createElement(p.Z,Object.assign({itemKey:e.key},e,{key:t}),e.value):null):n},this.foundation=new f.Z(this.adapter)}}y.Item=p.Z,y.contextType=h.Z,y.propTypes={align:c().oneOf(u.j2.ALIGN_SET),row:c().bool,size:c().oneOf(u.j2.SIZE_SET),style:c().object,className:c().string,data:c().arrayOf(c().shape({key:c().node,value:c().oneOfType([c().node,c().func]),hidden:c().bool,className:c().string,style:c().object})),layout:c().oneOf(u.j2.LAYOUT_SET),column:c().number},y.defaultProps={align:"center",row:!1,size:"medium",data:[],layout:"vertical",column:3},t.Z=y},67495:function(e,t,n){"use strict";let r=n(101199).createContext(null);t.Z=r},104200:function(e,t,n){"use strict";n.d(t,{Z:function(){return J}}),n(932651),n(490629),n(706056);var r=n(876553),i=n.n(r),o=n(390063),a=n.n(o),l=n(85079),s=n.n(l),c=n(853647),u=n.n(c),d=n(285406),h=n.n(d),p=n(198412),f=n.n(p),g=n(795233),m=n.n(g),v=n(908219),y=n.n(v),b=n(101199),x=n(890710),w=n(469935),E=n.n(w),C=n(622689),S=n.n(C),k=n(707852),O=n(182811),T=n(181160),L=n(722977),D=n(780406),R=n(236913),M=n(155553);n(958620);var A=n(426337),I=n(634957),_=n(678503),P=n(900426),N=n(230720),j=n(189921),H=n(9075),W=n(178301),Z=n(371648),F=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let B=R.UX.PREFIX,U=R.j2.POSITION_SET,V=R.j2.TRIGGER_SET,X=["flex","block","table","flow-root","grid"],z=()=>document.body;class J extends A.Z{get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{on:function(){return e.eventManager.on(...arguments)},off:function(){return e.eventManager.off(...arguments)},getAnimatingState:()=>this.isAnimating,insertPortal:(e,t)=>{var{position:n}=t,r=F(t,["position"]);this.setState({isInsert:!0,transitionState:"enter",containerStyle:Object.assign(Object.assign({},this.state.containerStyle),r)},()=>{setTimeout(()=>{this.setState(e=>("enter"===e.transitionState&&this.eventManager.emit("portalInserted"),{}))},0)})},removePortal:()=>{this.setState({isInsert:!1,isPositionUpdated:!1})},getEventName:()=>({mouseEnter:"onMouseEnter",mouseLeave:"onMouseLeave",mouseOut:"onMouseOut",mouseOver:"onMouseOver",click:"onClick",focus:"onFocus",blur:"onBlur",keydown:"onKeyDown",contextMenu:"onContextMenu"}),registerTriggerEvent:e=>{this.setState({triggerEventSet:e})},registerPortalEvent:e=>{this.setState({portalEventSet:e})},getTriggerBounding:()=>{let e=this.adapter.getTriggerNode();return this.triggerEl.current=e,e&&e.getBoundingClientRect()},getPopupContainerRect:()=>{let e=this.getPopupContainer(),t=null;return e&&(0,I.Z)(e)&&(t=Object.assign(Object.assign({},(0,L.I3)(e.getBoundingClientRect())),{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop})),t},containerIsBody:()=>this.getPopupContainer()===document.body,containerIsRelative:()=>{let e=this.getPopupContainer();return"relative"===window.getComputedStyle(e).getPropertyValue("position")},containerIsRelativeOrAbsolute:()=>["relative","absolute"].includes(this.containerPosition),getWrapperBounding:()=>{let e=this.containerEl&&this.containerEl.current;return e&&e.getBoundingClientRect()},getDocumentElementBounding:()=>document.documentElement.getBoundingClientRect(),setPosition:e=>{var{position:t}=e,n=F(e,["position"]);this.setState({containerStyle:Object.assign(Object.assign({},this.state.containerStyle),n),placement:t,isPositionUpdated:!0},()=>{this.eventManager.emit("positionUpdated")})},setDisplayNone:(e,t)=>{this.setState({displayNone:e},t)},updatePlacementAttr:e=>{this.setState({placement:e})},togglePortalVisible:(e,t)=>{let n={};n.transitionState=e?"enter":"leave",n.visible=e,this.mounted&&this.setState(n,()=>{t()})},registerClickOutsideHandler:e=>{this.clickOutsideHandler&&this.adapter.unregisterClickOutsideHandler(),this.clickOutsideHandler=t=>{if(!this.mounted)return!1;let n=this.triggerEl&&this.triggerEl.current,r=this.containerEl&&this.containerEl.current;n=x.findDOMNode(n),r=x.findDOMNode(r);let i=t.target,o=t.composedPath&&t.composedPath()||[i],a=!!this.props.clickTriggerToHide&&(n&&n.contains(i)||o.includes(n));(n&&!n.contains(i)&&r&&!r.contains(i)&&!(o.includes(r)||o.includes(n))||a)&&(this.props.onClickOutSide(t),e())},window.addEventListener("mousedown",this.clickOutsideHandler)},unregisterClickOutsideHandler:()=>{this.clickOutsideHandler&&(window.removeEventListener("mousedown",this.clickOutsideHandler),this.clickOutsideHandler=null)},registerResizeHandler:e=>{this.resizeHandler&&this.adapter.unregisterResizeHandler(),this.resizeHandler=y()(t=>{if(!this.mounted)return!1;e(t)},10),window.addEventListener("resize",this.resizeHandler,!1)},unregisterResizeHandler:()=>{this.resizeHandler&&(window.removeEventListener("resize",this.resizeHandler,!1),this.resizeHandler=null)},notifyVisibleChange:e=>{this.props.onVisibleChange(e)},registerScrollHandler:e=>{this.scrollHandler&&this.adapter.unregisterScrollHandler(),this.scrollHandler=y()(t=>{if(!this.mounted)return!1;let n=this.adapter.getTriggerNode();t.target.contains(n)&&e({x:t.target.scrollLeft,y:t.target.scrollTop})},10),window.addEventListener("scroll",this.scrollHandler,!0)},unregisterScrollHandler:()=>{this.scrollHandler&&(window.removeEventListener("scroll",this.scrollHandler,!0),this.scrollHandler=null)},canMotion:()=>!!this.props.motion,updateContainerPosition:()=>{let e=this.getPopupContainer();if(e&&(0,I.Z)(e)){let t=window.getComputedStyle(e).getPropertyValue("position");this.containerPosition=t}},getContainerPosition:()=>this.containerPosition,getContainer:()=>this.containerEl&&this.containerEl.current,getTriggerNode:()=>{let e=this.triggerEl.current;return!(0,I.Z)(this.triggerEl.current)&&(e=x.findDOMNode(this.triggerEl.current)),e},getFocusableElements:e=>(0,_.GO)(e),getActiveElement:()=>(0,_.vY)(),setInitialFocus:()=>{let{preventScroll:e}=this.props,t=f()(this,"initialFocusRef.current");t&&"focus"in t&&t.focus({preventScroll:e})},notifyEscKeydown:e=>{this.props.onEscKeyDown(e)},setId:()=>{this.setState({id:(0,M.Ms)()})},getTriggerDOM:()=>this.triggerEl.current?x.findDOMNode(this.triggerEl.current):null})}componentDidMount(){this.mounted=!0,this.getPopupContainer=this.props.getPopupContainer||this.context.getPopupContainer||z,this.foundation.init(),(0,_.Tq)(()=>{let e=this.triggerEl.current;e&&!(e instanceof HTMLElement)&&(e=(0,x.findDOMNode)(e)),this.foundation.updateStateIfCursorOnTrigger(e)},1)}componentWillUnmount(){this.mounted=!1,this.foundation.destroy()}focusTrigger(){this.foundation.focusTrigger()}rePosition(){return this.foundation.calcPosition()}componentDidUpdate(e,t){(0,O.Z)(this.props.mouseLeaveDelay{this.triggerEl.current=e;let{ref:t}=l;"function"==typeof t?t(e):t&&"object"==typeof t&&(t.current=e)},tabIndex:l.props.tabIndex||0,"data-popupid":r}));return b.createElement(b.Fragment,null,e?this.renderPortal():null,d)}constructor(e){super(e),this.isAnimating=!1,this.setContainerEl=e=>this.containerEl={current:e},this.isSpecial=e=>{if((0,I.Z)(e))return!!e.disabled;if((0,b.isValidElement)(e)){if(f()(e,"props.disabled"))return R.j2.STATUS_DISABLED;let t=f()(e,"props.loading"),n=!s()(e)&&!s()(e.type)&&("Button"===f()(e,"type.elementType")||"IconButton"===f()(e,"type.elementType"));if(t&&n)return R.j2.STATUS_LOADING}return!1},this.didLeave=()=>{this.props.keepDOM?this.foundation.setDisplayNone(!0):this.foundation.removePortal(),this.foundation.unBindEvent()},this.renderIcon=()=>{let{placement:e}=this.state,{showArrow:t,prefixCls:n,style:r}=this.props,i=null,o=E()([`${n}-icon-arrow`]),a=f()(r,"backgroundColor"),l=(null==e?void 0:e.includes("left"))||(null==e?void 0:e.includes("right"))?b.createElement(H.Z,null):b.createElement(j.Z,null);return t&&(i=(0,b.isValidElement)(t)?t:b.cloneElement(l,{className:o,style:{color:a,fill:"currentColor"}})),i},this.handlePortalInnerClick=e=>{this.props.clickToHide&&this.foundation.hide(),this.props.stopPropagation&&(0,_.UW)(e)},this.handlePortalMouseDown=e=>{this.props.stopPropagation&&(0,_.UW)(e)},this.handlePortalFocus=e=>{this.props.stopPropagation&&(0,_.UW)(e)},this.handlePortalBlur=e=>{this.props.stopPropagation&&(0,_.UW)(e)},this.handlePortalInnerKeyDown=e=>{this.foundation.handleContainerKeydown(e)},this.renderContentNode=e=>{let t={initialFocusRef:this.initialFocusRef};return a()(e)?e(t):e},this.renderPortal=()=>{let{containerStyle:e={},visible:t,portalEventSet:n,placement:r,displayNone:i,transitionState:o,id:a,isPositionUpdated:l}=this.state,{prefixCls:s,content:c,showArrow:u,style:d,motion:p,role:g,zIndex:m}=this.props,v=this.renderContentNode(c),{className:y}=this.props,x=this.context.direction,w=E()(y,{[`${s}-wrapper`]:!0,[`${s}-wrapper-show`]:t,[`${s}-with-arrow`]:!!u,[`${s}-rtl`]:"rtl"===x}),C=this.renderIcon(),S=h()(e,p?["transformOrigin"]:void 0),O=f()(e,"transformOrigin"),T=f()(d,"opacity",null),L=T||1,D=b.createElement(Z.Z,{fillMode:"forwards",animationState:o,motion:p&&l,startClassName:"enter"===o?`${B}-animation-show`:`${B}-animation-hide`,onAnimationStart:()=>this.isAnimating=!0,onAnimationEnd:()=>{var e,t;"leave"===o&&(this.didLeave(),null===(t=(e=this.props).afterClose)||void 0===t||t.call(e)),this.isAnimating=!1}},e=>{let{animationStyle:t,animationClassName:o,animationEventsNeedBind:s}=e;return b.createElement("div",Object.assign({className:E()(w,o),style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},t),i?{display:"none"}:{}),{transformOrigin:O}),d),T?{opacity:l?L:"0"}:{})},n,s,{role:g,"x-placement":r,id:a}),b.createElement("div",{className:`${B}-content`},v),C)});return b.createElement(P.Z,{getPopupContainer:this.props.getPopupContainer,style:{zIndex:m}},b.createElement("div",{tabIndex:-1,className:`${k.T}-portal-inner`,style:S,ref:this.setContainerEl,onClick:this.handlePortalInnerClick,onFocus:this.handlePortalFocus,onBlur:this.handlePortalBlur,onMouseDown:this.handlePortalMouseDown,onKeyDown:this.handlePortalInnerKeyDown},D))},this.wrapSpan=e=>{let{wrapperClassName:t}=this.props,n=f()(e,"props.style.display"),r=f()(e,"props.block"),i={};return"string"!=typeof e&&(i.display="inline-block"),(r||X.includes(n))&&(i.width="100%"),b.createElement("span",{className:t,style:i},e)},this.mergeEvents=(e,t)=>{let n={};return u()(t,(t,r)=>{"function"==typeof t&&(n[r]=function(){t(...arguments),e&&"function"==typeof e[r]&&e[r](...arguments)})}),n},this.getPopupId=()=>this.state.id,this.state={visible:!1,transitionState:"",triggerEventSet:{},portalEventSet:{},containerStyle:{},isInsert:!1,placement:e.position||"top",transitionStyle:{},isPositionUpdated:!1,id:e.wrapperId,displayNone:!1},this.foundation=new D.Z(this.adapter),this.eventManager=new T.Z,this.triggerEl=b.createRef(),this.containerEl=b.createRef(),this.initialFocusRef=b.createRef(),this.clickOutsideHandler=null,this.resizeHandler=null,this.isWrapped=!1,this.containerPosition=void 0}}J.contextType=N.Z,J.propTypes={children:S().node,motion:S().bool,autoAdjustOverflow:S().bool,position:S().oneOf(U),getPopupContainer:S().func,mouseEnterDelay:S().number,mouseLeaveDelay:S().number,trigger:S().oneOf(V).isRequired,className:S().string,wrapperClassName:S().string,clickToHide:S().bool,clickTriggerToHide:S().bool,visible:S().bool,style:S().object,content:S().oneOfType([S().node,S().func]),prefixCls:S().string,onVisibleChange:S().func,onClickOutSide:S().func,spacing:S().oneOfType([S().number,S().object]),margin:S().oneOfType([S().number,S().object]),showArrow:S().oneOfType([S().bool,S().node]),zIndex:S().number,rePosKey:S().oneOfType([S().string,S().number]),arrowBounding:W.Z,transformFromCenter:S().bool,arrowPointAtCenter:S().bool,stopPropagation:S().bool,role:S().string,wrapWhenSpecial:S().bool,guardFocus:S().bool,returnFocusOnClose:S().bool,preventScroll:S().bool,keepDOM:S().bool},J.__SemiComponentName__="Tooltip",J.defaultProps=(0,_.GW)(J.__SemiComponentName__,{arrowBounding:R.KT.ARROW_BOUNDING,autoAdjustOverflow:!0,arrowPointAtCenter:!0,trigger:"hover",transformFromCenter:!0,position:"top",prefixCls:B,role:"tooltip",mouseEnterDelay:R.KT.MOUSE_ENTER_DELAY,mouseLeaveDelay:R.KT.MOUSE_LEAVE_DELAY,motion:!0,onVisibleChange:m(),onClickOutSide:m(),spacing:R.KT.SPACING,margin:R.KT.MARGIN,showArrow:!0,wrapWhenSpecial:!0,zIndex:R.KT.DEFAULT_Z_INDEX,closeOnEsc:!1,guardFocus:!1,returnFocusOnClose:!1,onEscKeyDown:m(),disableFocusListener:!1,disableArrowKeyDown:!1,keepDOM:!1})},289767:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var r=n(480333);n(76375),n(374954),n(190932),n(808483),n(126159),n(100832),n(825666),n(943281),n(82726);var i=n(309991);class o{static getRateIndexByRate(e){return o.FREQ.indexOf(e)}static parseADTS(e,t){let n,r;let i=e.length,a=0;for(;a+2=i)return;let l=a,s=[],c=(60&e[a+2])>>>2,u=o.FREQ[c];if(!u)throw Error(`Invalid sampling index: ${c}`);let d=((192&e[a+2])>>>6)+1,h=(1&e[a+2])<<2|(192&e[a+3])>>>6,{config:p,codec:f}=o._getConfig(c,h,d),g=0,m=o.getFrameDuration(u);for(;a+7>5)||i-a=i?void 0:e.subarray(a),frames:s,samplingFrequencyIndex:c,sampleRate:u,objectType:d,channelCount:h,codec:f,config:p,originCodec:`mp4a.40.${d}`}}static parseAudioSpecificConfig(e){if(!e.length)return;let t=e[0]>>>3,n=(7&e[0])<<1|e[1]>>>7,r=(120&e[1])>>>3,i=o.FREQ[n];if(!i)return;let{config:a,codec:l}=o._getConfig(n,r,t);return{samplingFrequencyIndex:n,sampleRate:i,objectType:t,channelCount:r,config:a,codec:l,originCodec:`mp4a.40.${t}`}}static getFrameDuration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:9e4;return 1024*t/e}static _getConfig(e,t,n){let r,o;let a=[];return i.vU?e>=6?(r=5,o=e-3):(r=2,o=e):i.Dt?(r=2,o=e):(r=5,o=e,e>=6?o=e-3:1===t&&(r=2,o=e)),a[0]=r<<3,a[0]|=(14&e)>>1,a[1]=(1&e)<<7,a[1]|=t<<3,5===r&&(a[1]|=(14&o)>>1,a[2]=(1&o)<<7,a[2]|=8,a[3]=0),{config:a,codec:`mp4a.40.${r}`}}static getSilentFrame(e,t){if("mp4a.40.2"===e){if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}else{if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t||3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}}}(0,r._)(o,"FREQ",[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350])},62740:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(480333);class i{constructor(e,t,n,i){(0,r._)(this,"duration",1024),(0,r._)(this,"flag",{dependsOn:2,isNonSyncSample:0}),(0,r._)(this,"keyframe",!0),this.originPts=this.pts=this.dts=e,this.data=t,this.size=t.byteLength,this.sampleOffset=i,n&&(this.duration=n)}}},835597:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});let r={ERROR:"error",KEYFRAME:"keyframe",CHASE_FRAME:"chase_frame",LOADRETRY:"retry",TTFB:"ttfb",RESPONSEHEADERS:"responseheaders",METADATA:"metadataparsed",SEI:"SEI_PARSED",STREAM_DISCONTINUE:"streamdiscontinue",SWITCH_START:"switch_start",SWITCH_COMPLETE:"switch_completed",SWITCH_ERROR:"switch_error",PROP_SPEED:"flv_prop_speed",PROP_ENDEDSTATUS:"flv_prop_endedstatus",CHANGE_URL:"change_url",DELETE_PCDN_URL:"delete_pcdn_url",CHANGE_BITRATE_SUCCESS:"change_bitrate_success",WAITING_TIMEOUT:"waiting_timeout",RTM_NETWORK:"rtm_network",RTM_TIMING:"rtm_timing",RTM_WEBTS_TIMING:"rtm_webts_timing"}},248767:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}}),n(932651);var r=n(856445),i=n(762155);class o extends r.Z{init(){let{target:e}=this.getProps(),t=e();if(!!t)t.addEventListener("scroll",this.handleScroll),this.handleScroll()}destroy(){let{target:e}=this.getProps(),t=e();t&&t.removeEventListener("scroll",this.handleScroll),this.animation&&this.animation.destroy()}getScroll(e){return this._adapter.isWindowUndefined()?0:this._adapter.targetIsWindow(e)?e.pageYOffset:e.scrollTop}setScrollTop(e){let{target:t}=this.getProps(),n=t(),r=this.getScroll(n);this.scrollTo(n,r,e)}onClick(e){this.setScrollTop(0),this._adapter.notifyClick(e)}constructor(e){super(Object.assign({},e)),this.scrollTo=(e,t,n)=>{let{duration:r}=this.getProps();this.animation=new i.fw({from:{scrollTop:t},to:{scrollTop:n}},{duration:r,easing:"easeInOutCubic"}),this.animation.on("frame",t=>{let{scrollTop:n}=t;this._adapter.targetScrollToTop(e,n)}),this.animation.start()},this.handleScroll=()=>{let{target:e,visibilityHeight:t}=this.getProps(),n=e();requestAnimationFrame(()=>{let e=this.getScroll(n);this._adapter.updateVisible(e>t)})}}}},851670:function(e,t,n){"use strict";n(932651);var r=n(856445);class i extends r.Z{constructor(e){super(Object.assign({},e)),this.updateDOMInRenderTree=e=>{this._adapter.setDOMInRenderTree(e)},this.updateDOMHeight=e=>{this._adapter.setDOMHeight(e)},this.updateVisible=e=>{this._adapter.setVisible(e)},this.updateIsTransitioning=e=>{this._adapter.setIsTransitioning(e)}}}t.Z=i},847440:function(e,t,n){"use strict";n(932651);var r=n(101199);function i(){return(i=Object.assign||function(e){for(var t=1;t{let{url:t}=e;this.logger.reportUrlChange(t),this.destroy(),this.logger=new o.Z(this.options),this.bindUrlChange(),this.logger.reportStartPlay()}),this.options=e,this.logger=new o.Z(e),this.player=this.options.player,this.bindUrlChange(),this.logger.reportStartPlay()}}},46156:function(e,t,n){"use strict";n.d(t,{K:function(){return u}}),n(490629);var r=n(320165),i=n(509608),o=n(299690),a=n(101199),l=n(805939);let s={cache:(0,o.w2)("progress-cache"),played:(0,o.w2)("progress-played")},c=[{percent:1}],u=(0,a.forwardRef)((e,t)=>{let{fragClass:n="",fragments:o=c}=e,{playerRef:u}=(0,a.useContext)(i.E),[d,h]=(0,a.useState)(()=>(0,l.M)(u.current.duration,u.current.buffered));(0,i.T)(()=>{let e=()=>{h((0,l.M)(u.current.duration,u.current.buffered))};return u.current.on("progress",e),()=>{var t;null===(t=u.current)||void 0===t||t.off("progress",e)}});let p=null==o?void 0:o.map((e,i)=>{let o=d[d.length-1];return(0,r.jsxs)("div",{style:{flex:e.percent},className:`douyin-player-progress-inner ${n}`,children:[(0,r.jsx)("div",{className:s.cache,style:{width:`${(null==o?void 0:o.end)||0}%`}}),(0,r.jsx)("div",{className:s.played,ref:t})]},i)});return(0,r.jsx)(r.Fragment,{children:p})})},284007:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=function(e,t,n){if(n&&!n.code)throw Error("date-fns-tz error: Please set a language code on the locale object imported from date-fns, e.g. `locale.code = 'en-US'`");return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=n.length-1;r>=0;--r)if("timeZoneName"===n[r].type)return n[r].value}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)};e.exports=t.default},268851:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(101006);function i(e,t){let n;let i=t.all(e),o=[],a=-1;for(;++a=48&&t<=57}n.d(t,{F:function(){return r}})},516165:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(382243);function i(e,t,n,i){let o=(0,r.l)(n),a='"'===o?"Quote":"Apostrophe",l=n.enter("definition"),s=n.enter("label"),c=n.createTracker(i),u=c.move("[");return u+=c.move(n.safe(n.associationId(e),{before:u,after:"]",...c.current()})),u+=c.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),u+=c.move("<"),u+=c.move(n.safe(e.url,{before:u,after:">",...c.current()}))+c.move(">")):(s=n.enter("destinationRaw"),u+=c.move(n.safe(e.url,{before:u,after:e.title?" ":"\n",...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),u+=c.move(" "+o),u+=c.move(n.safe(e.title,{before:u,after:o,...c.current()}))+c.move(o),s()),l(),u}},38578:function(e,t,n){"use strict";n.d(t,{k:function(){return o}}),n(374954),n(683656),n(759943);var r=n(68154),i=n(68901);let o=()=>({action:i.history.action,location:i.history.location,createHref:i.history.createHref,encodeLocation:r.g,go:e=>{i.history.go(e)},push:e=>{i.history.push(e)},replace:e=>{i.history.replace(e)},listen:e=>i.history.listen(e)})},197428:function(e){"use strict";e.exports=JSON.parse('[{"path":"404","element":"/src/pages/404.tsx"},{"path":"","element":"/src/pages/index.tsx","children":[{"path":"root/live/:webrid","element":"/src/pages/_index/root/live/[webrid].tsx"},{"path":"root/search/:keyword","element":"/src/pages/_index/root/search/[keyword].tsx"}]},{"path":"Activity/:id","element":"/src/pages/Activity/[id].tsx"},{"path":"AiSearch","element":"/src/pages/AiSearch/index.tsx","children":[{"path":"live/:webrid","element":"/src/pages/AiSearch/_index/live/[webrid].tsx"},{"path":"search/:keyword","element":"/src/pages/AiSearch/_index/search/[keyword].tsx"}]},{"path":"AiSearch/share","element":"/src/pages/AiSearch/share/index.tsx","children":[{"path":"search/:keyword","element":"/src/pages/AiSearch/share/_index/search/[keyword].tsx"}]},{"path":"Article/:id","element":"/src/pages/Article/[id].tsx","children":[{"path":"search/:keyword","element":"/src/pages/Article/_[id]/search/[keyword].tsx"}]},{"path":"Article/types/relate","element":"/src/pages/Article/types/relate.ts"},{"path":"Chat","element":"/src/pages/Chat/index.tsx","index":true},{"path":"CreatorVideo/:id","element":"/src/pages/CreatorVideo/[id].tsx"},{"path":"CreatorVideo/typings","element":"/src/pages/CreatorVideo/typings/index.ts","index":true},{"path":"DiscoverReal","element":"/src/pages/DiscoverReal/index.tsx","index":true},{"path":"DiscoverReal/stores/discoverCommonStore","element":"/src/pages/DiscoverReal/stores/discoverCommonStore.tsx"},{"path":"Downloadpage/:pageInfo","element":"/src/pages/Downloadpage/[pageInfo].tsx"},{"path":"Downloadpage","element":"/src/pages/Downloadpage/index.tsx","index":true},{"path":"Follow","element":"/src/pages/Follow/index.tsx","children":[{"path":"live/:webrid","element":"/src/pages/Follow/_index/live/[webrid].tsx"},{"path":"search/:keyword","element":"/src/pages/Follow/_index/search/[keyword].tsx"}]},{"path":"Follow/lib/clientAI","element":"/src/pages/Follow/lib/clientAI.ts"},{"path":"Follow/lib/inference","element":"/src/pages/Follow/lib/inference.ts"},{"path":"Friend","element":"/src/pages/Friend/index.tsx","children":[{"path":"search/:keyword","element":"/src/pages/Friend/_index/search/[keyword].tsx"}]},{"path":"GameActivityDetail","element":"/src/pages/GameActivityDetail/index.tsx","index":true},{"path":"Help","element":"/src/pages/Help/index.tsx","index":true},{"path":"Hot","element":"/src/pages/Hot/index.tsx","index":true},{"path":"Hot/log","element":"/src/pages/Hot/log.ts"},{"path":"Hot/:id/:topic","element":"/src/pages/Hot/[id]/[topic].tsx"},{"path":"Hot/:id","element":"/src/pages/Hot/[id]/index.tsx","index":true},{"path":"Hot/detail/:id","element":"/src/pages/Hot/detail/[id].tsx"},{"path":"Htmlmap/:pageInfo","element":"/src/pages/Htmlmap/[pageInfo].tsx"},{"path":"Jingxuan/:tag?","element":"/src/pages/Jingxuan/[[tag]].tsx","children":[{"path":"search/:keyword","element":"/src/pages/Jingxuan/_[[tag]]/search/[keyword].tsx"}]},{"path":"LVDetail/:id","element":"/src/pages/LVDetail/[id].tsx","children":[{"path":"search/:keyword","element":"/src/pages/LVDetail/_[id]/search/[keyword].tsx"}]},{"path":"Light/:id","element":"/src/pages/Light/[id].tsx"},{"path":"Live/:webrid","element":"/src/pages/Live/[webrid].tsx"},{"path":"LogTrace","element":"/src/pages/LogTrace/index.tsx","index":true},{"path":"LynxFeedBack","element":"/src/pages/LynxFeedBack/index.tsx","index":true},{"path":"LynxImEntry","element":"/src/pages/LynxImEntry/index.tsx","index":true},{"path":"LynxLoading","element":"/src/pages/LynxLoading/index.tsx","children":[{"path":"search/:keyword","element":"/src/pages/LynxLoading/_index/search/[keyword].tsx"}]},{"path":"LynxLogin","element":"/src/pages/LynxLogin/index.tsx","index":true},{"path":"LynxModalVideo","element":"/src/pages/LynxModalVideo/index.tsx","children":[{"path":"live/:webrid","element":"/src/pages/LynxModalVideo/_index/live/[webrid].tsx"},{"path":"search/:keyword","element":"/src/pages/LynxModalVideo/_index/search/[keyword].tsx"}]},{"path":"LynxNoticeEntry","element":"/src/pages/LynxNoticeEntry/index.tsx","index":true},{"path":"LynxPostDropdown/impl","element":"/src/pages/LynxPostDropdown/impl.tsx"},{"path":"LynxPostDropdown","element":"/src/pages/LynxPostDropdown/index.tsx","index":true},{"path":"LynxPrivacy","element":"/src/pages/LynxPrivacy/index.tsx","index":true},{"path":"LynxRecharge","element":"/src/pages/LynxRecharge/index.tsx","index":true},{"path":"LynxReport","element":"/src/pages/LynxReport/index.tsx","index":true},{"path":"LynxRiskControl","element":"/src/pages/LynxRiskControl/index.tsx","index":true},{"path":"LynxSettingsPanel","element":"/src/pages/LynxSettingsPanel/index.tsx","index":true},{"path":"LynxShortcut","element":"/src/pages/LynxShortcut/index.tsx","index":true},{"path":"LynxUserMenuPanel/impl","element":"/src/pages/LynxUserMenuPanel/impl.tsx"},{"path":"LynxUserMenuPanel","element":"/src/pages/LynxUserMenuPanel/index.tsx","index":true},{"path":"LynxWallpaper/impl","element":"/src/pages/LynxWallpaper/impl.tsx"},{"path":"LynxWallpaper","element":"/src/pages/LynxWallpaper/index.tsx","index":true},{"path":"MicroGame","element":"/src/pages/MicroGame/index.tsx","children":[{"path":"live/:webrid","element":"/src/pages/MicroGame/_index/live/[webrid].tsx"},{"path":"search/:keyword","element":"/src/pages/MicroGame/_index/search/[keyword].tsx"}]},{"path":"Music/:id","element":"/src/pages/Music/[id].tsx"},{"path":"Musicplaylist/:id","element":"/src/pages/Musicplaylist/[id].tsx"},{"path":"Note/:id","element":"/src/pages/Note/[id].tsx"},{"path":"Preloadclient","element":"/src/pages/Preloadclient/index.tsx","children":[{"path":"search/:keyword","element":"/src/pages/Preloadclient/_index/search/[keyword].tsx"}]},{"path":"Recommend","element":"/src/pages/Recommend/index.tsx","index":true},{"path":"Search/:keyword","element":"/src/pages/Search/[keyword].tsx"},{"path":"Series","element":"/src/pages/Series/index.tsx","children":[{"path":"search/:keyword","element":"/src/pages/Series/_index/search/[keyword].tsx"}]},{"path":"Shipin/:id","element":"/src/pages/Shipin/[id].tsx"},{"path":"Shipin","element":"/src/pages/Shipin/index.tsx","index":true},{"path":"Shipin/fenlei/:page","element":"/src/pages/Shipin/fenlei/[page].tsx"},{"path":"Topic/:id","element":"/src/pages/Topic/[id].tsx"},{"path":"User/:id","element":"/src/pages/User/[id].tsx","children":[{"path":"search/:keyword","element":"/src/pages/User/_[id]/search/[keyword].tsx"}]},{"path":"VS","element":"/src/pages/VS/index.tsx","children":[{"path":"search/:keyword","element":"/src/pages/VS/_index/search/[keyword].tsx"}]},{"path":"VS/vsTab","element":"/src/pages/VS/vsTab/index.tsx","index":true},{"path":"Video/:id","element":"/src/pages/Video/[id].tsx","children":[{"path":"search/:keyword","element":"/src/pages/Video/_[id]/search/[keyword].tsx"}]},{"path":"Video/types/relate","element":"/src/pages/Video/types/relate.ts"},{"path":"VsChannel/:channel","element":"/src/pages/VsChannel/[channel].tsx","children":[{"path":"search/:keyword","element":"/src/pages/VsChannel/_[channel]/search/[keyword].tsx"}]},{"path":"VsDetail/:id","element":"/src/pages/VsDetail/[id].tsx","children":[{"path":"search/:keyword","element":"/src/pages/VsDetail/_[id]/search/[keyword].tsx"}]},{"path":"Wallpaper/:id","element":"/src/pages/Wallpaper/[id].tsx"},{"path":"Wallpaper","element":"/src/pages/Wallpaper/index.tsx","index":true},{"path":"Wallpaper/hook/useWallpaperInfo","element":"/src/pages/Wallpaper/hook/useWallpaperInfo.ts"},{"path":"ZhuanTi/:id","element":"/src/pages/ZhuanTi/[id].tsx"},{"path":"ZhuanTi","element":"/src/pages/ZhuanTi/index.tsx","index":true},{"path":"ZhuanTi/fenlei/:page","element":"/src/pages/ZhuanTi/fenlei/[page].tsx"},{"path":"ZhuanTi/fenlei/HeadFiltrate","element":"/src/pages/ZhuanTi/fenlei/HeadFiltrate/index.tsx","index":true},{"path":"Collection/:id/:episode","element":"/src/pages/Collection/[id]/[episode].tsx"},{"path":"Collection/:id","element":"/src/pages/Collection/[id]/index.tsx","index":true},{"path":"Hashtag/:id/:page","element":"/src/pages/Hashtag/[id]/[page].tsx"},{"path":"Hashtag/:id","element":"/src/pages/Hashtag/[id]/index.tsx","index":true},{"path":"Hashtag/:id/hot/:page","element":"/src/pages/Hashtag/[id]/hot/[page].tsx"},{"path":"Hashtag/:id/hot","element":"/src/pages/Hashtag/[id]/hot/index.tsx","index":true},{"path":"Hashtag/:id/new/:page","element":"/src/pages/Hashtag/[id]/new/[page].tsx"},{"path":"Hashtag/:id/new","element":"/src/pages/Hashtag/[id]/new/index.tsx","index":true},{"path":"Mall/item/:id","element":"/src/pages/Mall/item/[id].tsx"},{"path":"Mobile/Recommend","element":"/src/pages/Mobile/Recommend/index.tsx","index":true},{"path":"Mobile/Recommend/type","element":"/src/pages/Mobile/Recommend/type.ts"},{"caseSensitive":false,"path":"*","__notFound":true,"element":"/src/pages/404.tsx"}]')}}]);