douxiaoyun.js/profiles/douyin-profile/Default/Cache/Cache_Data/f_000393
2026-07-17 22:23:39 +08:00

2 lines
87 KiB
Plaintext

/*! For license information please see 66673.3da5008b.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,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function n(e,t,n){if(n||2==arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var i=/[^a-zA-Z0-9\\_:.-]/gim,r=/</g,o=/>/g,s=/&#([a-zA-Z0-9]*);?/gim,a=/&quot;/g,l=/&colon;?/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,h=/u\s*r\s*l\s*\(.*/gi,d=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,f=/"/g,p=function(e){return e.replace(r,"&lt;").replace(o,"&gt;")},g={indexOf:function(e,t){var n,i;for(n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return -1},forEach:function(e,t,n){var i,r;for(i=0,r=e.length;i<r;i++)t.call(n,e[i],i,e)},some:function(e,t,n){var i,r;for(i=0,r=e.length;i<r;i++)if(t.call(n,e[i],i,e))return!0;return!1},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},includes:function(e,t){if("string"==typeof e)return -1!==e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1},uniq:function(e){for(var t={},n=[],i=0;i<e.length;i++)t[e[i]]||(n.push(e[i]),t[e[i]]=!0);return n},from:function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},keys:function(e){var t=[];for(var n in e)t.push(n);return t}};function m(e){return null==e}function v(e){var t;return'"'===(t=e)[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]?e.substr(1,e.length-2):e}function b(e){var t,n,i,r,o,s,a,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0;for(e=function(e){e=e.replace(/rn/g,"n");for(var t="",n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):i>127&&i<2048?t+=String.fromCharCode(i>>6|192)+String.fromCharCode(63&i|128):t+=String.fromCharCode(i>>12|224)+String.fromCharCode(i>>6&63|128)+String.fromCharCode(63&i|128)}return t}(e);u<e.length;)r=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(i=e.charCodeAt(u++))>>6,a=63&i,isNaN(n)?s=a=64:isNaN(i)&&(a=64),c=c+l.charAt(r)+l.charAt(o)+l.charAt(s)+l.charAt(a);return c}function y(e){var t,n,i,r,o,s,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c<e.length;)t=a.indexOf(e.charAt(c++))<<2|(r=a.indexOf(e.charAt(c++)))>>4,n=(15&r)<<4|(o=a.indexOf(e.charAt(c++)))>>2,i=(3&o)<<6|(s=a.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(n)),64!==s&&(l+=String.fromCharCode(i));return function(e){for(var t="",n=0,i=0,r=0,o=0;n<e.length;)(i=e.charCodeAt(n))<128?(t+=String.fromCharCode(i),n++):i>191&&i<224?(t+=String.fromCharCode((31&i)<<6|63&(o=e.charCodeAt(n+1))),n+=2):(o=e.charCodeAt(n+1),t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&(r=e.charCodeAt(n+2))),n+=3);return t}(l)}function C(e,t,n){var i="",r=0,o=!1,s=!1,a=0,l=e.length,c="",u="";e:for(a=0;a<l;a++){var h=e.charAt(a);if(!1===o){if("<"===h){o=a;continue}}else if(!1===s){if("<"===h){i+=n(e.slice(r,a)),o=a,r=a;continue}if(">"===h||a===l-1){i+=n(e.slice(r,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,a+1)),i+=t(o,i.length,c,u,"</"===u.slice(0,2)),r=a+1,o=!1;continue}if('"'===h||"'"===h)for(var d=1,f=e.charAt(a-d);""===f.trim()||"="===f;){if("="===f){s=h;continue e}f=e.charAt(a-++d)}}else if(h===s){s=!1;continue}}return r<l&&(i+=n(e.substr(r))),i}function _(e,t){var n=0,r=0,o=[],s=!1,a=e.length;function l(e,n){if(!((e=(e=g.trim(e)).replace(i,"").toLowerCase()).length<1)){var r=t(e,n||"");r&&o.push(r)}}for(var c=0;c<a;c++){var u=e.charAt(c),h=void 0;if(!1!==s||"="!==u){if(!1===s||c!==r){if(/\s|\n|\t/.test(u)){if(e=e.replace(/\s|\n|\t/g," "),!1===s){if(-1===(h=function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c))){l(g.trim(e.slice(n,c))),s=!1,n=c+1;continue}c=h-1;continue}if(-1===(h=function(e,t){for(;t>0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){l(s,v(g.trim(e.slice(n,c)))),s=!1,n=c+1;continue}}}else{if(-1===(h=e.indexOf(u,c+1)))break;l(s,g.trim(e.slice(r+1,h))),s=!1,n=(c=h)+1}}else s=e.slice(n,c),n=c+1,r='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"'"===n||'"'===n?t:-1}return -1}(e,c+1)}return n<e.length&&(!1===s?l(e.slice(n)):l(s,v(g.trim(e.slice(n))))),g.trim(o.join(" "))}function x(e,t,n){if(n=function(e){return e=function(e){for(var t="",n=0,i=e.length;n<i;n++)t+=32>e.charCodeAt(n)?" ":e.charAt(n);return g.trim(t)}(e=(e=(e=e.replace(a,'"')).replace(s,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(l,":").replace(c," "))}(n),"href"===t||"src"===t){if("#"===(n=g.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"data:image/"!==n.substr(0,11)&&"ftp://"!==n.substr(0,6)&&"./"!==n.substr(0,2)&&"../"!==n.substr(0,3)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===t){if(u.lastIndex=0,u.test(n))return""}else if("style"===t&&(d.lastIndex=0,d.test(n)||(h.lastIndex=0,h.test(n)&&(u.lastIndex=0,u.test(n)))))return"";return n=function(e){return e=p(e=e.replace(f,"&quot;"))}(n)}var w=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=x,t.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,i,r,o,s,a=this.options,l=a.whiteList,c=a.onTag,u=a.onIgnoreTag,h=a.onTagAttr,d=a.onIgnoreTagAttr,f=a.safeAttrValue,p=a.escapeHtml;a.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),a.allowCommentTag||(e=function(e){for(var t="",n=0;n<e.length;){var i=e.indexOf("\x3c!--",n);if(-1===i){t+=e.slice(n);break}t+=e.slice(n,i);var r=e.indexOf("--\x3e",i);if(-1===r)break;n=r+3}return t}(e));var m=!1;a.stripIgnoreTagBody&&(n=a.stripIgnoreTagBody,"function"!=typeof(i=u)&&(i=function(){}),r=!Array.isArray(n),o=[],s=!1,u=(m={onIgnoreTag:function(e,t,a){var l;if(l=e,r||-1!==g.indexOf(n,l)){if(a.isClosing){var c="[/removed]",u=a.position+c.length;return o.push([!1!==s?s:a.position,u]),s=!1,c}return s||(s=a.position),"[removed]"}return i(e,t,a)},remove:function(e){var t="",n=0;return g.forEach(o,function(i){t+=e.slice(n,i[0]),n=i[1]}),t+=e.slice(n)}}).onIgnoreTag);var v=C(e,function(e,t,n,i,r){var o={sourcePosition:e,position:t,isClosing:r,isWhite:Object.prototype.hasOwnProperty.call(l,n)},s=c(n,i,o);if(null!=s)return s;if(o.isWhite){if(o.isClosing)return"</".concat(n,">");var a=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}}(i),m=l[n],v=_(a.html,function(e,t){var i=-1!==g.indexOf(m,e),r=h(n,e,t,i);return null==r?i?(t=f(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(r=d(n,e,t,i))?void 0:r:r});return i="<".concat(n),v&&(i+=" ".concat(v)),a.closing&&(i+=" /"),i+=">"}return null==(s=u(n,i,o))?p(i):s},p);return m&&(v=m.remove(v)),v},e}(),E=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")(),A=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,i="douyin_web";if(!g.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(E&&E._xssBid)return E._xssBid;if(E&&E.slardar&&"function"==typeof E.slardar.config){var r=(E.slardar.config()||{}).bid;if(r)return r}if(E&&E.Slardar&&"function"==typeof E.Slardar.config){var o=(E.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==E?void 0:E.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==E?void 0:E.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var n=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),E.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(E.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var i={age:Math.floor(Date.now()),type:"xss",url:n,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==n||(i.url=t),"SSR"===n&&(i.url="SSR___".concat(i.url),i.body.ssr=!0),this.push(i)}},e}()),k=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(i){e[n][i]=g.from(g.uniq(e[n][i])),t+=e[n][i].length})},i=0,r=g.keys(e);i<r.length;i++)n(r[i]);return{count:t,ret:e}};function I(e,t){return A.setConfig(t),new S(t).process(e)}function O(e){var t,n=(t=/\s|\n|\t/.exec(e))?t.index:-1;if(-1===n)return{html:"",closing:"/"===e[e.length-2]};var i="/"===(e=e.slice(n+1,-1).trim())[e.length-1];return i&&(e=e.slice(0,-1).trim()),{html:e,closing:i}}var T=function(e){return -1===(e=(e=(e=(e=e.replace(/&colon;/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?e.trim().toLowerCase():e.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(e,t,n,i){return String.fromCharCode(t?parseInt(n,16):parseInt(i))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function L(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=T(e),g.includes(e,"base64")&&!function(e){if(""===e||""===e.trim())return!0;try{return!g.includes(e,"data:text/html;base64")}catch(e){return!0}}(e))return t&&t("data:text/html;base64"),!1;var n=["expression(","behavior:","view-source:"];if(g.some(n,function(t){return -1!==e.indexOf(t)}))return g.forEach(n,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;var i=["data:application","data:javascript","data:text/html","data:texthtml"];if(g.some(i,function(t){return -1!==e.indexOf(t)}))return g.forEach(i,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;if(e.indexOf("javascript:")>0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var r=e.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===r})||(t&&t("javascript:"),!1)}return!0}var P=function(e,t){var n,i,r="<%= isSaveValidUrl =>";if("string"!=typeof e||(i=Number("<%= urlLimit =>"),void 0!==n&&(i=n),"NaN"!==e.toString()&&-1!==i&&e.length>=i)||L(e,t))return e;try{if(!0===(r=JSON.parse(r))||"true"===r){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function M(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!L(e=T(e)))return!1;var r,o={url:(r=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:r[1],slash:r[2],host:r[3],port:r[4],path:r[5],query:r[6],hash:r[7]},s=o.scheme,a=o.host;return i?!!i(e):!(!s||!a)&&(!g.includes(["http","https","file"],s)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),g.some(t,function(e){return!!(e instanceof RegExp&&e.test(a))||e===a})))}var Z={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:[]},j={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=k(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,i){return e&&g.indexOf(["href","src"],t)>-1?j.domainWhiteList&&Array.isArray(j.domainWhiteList)&&j.domainWhiteList.length>0&&!M(i,n([],j.domainWhiteList,!0))?"":"".concat(t,'="').concat(P(i,function(e){var t;null===(t=j.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(g.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):(j.collect.whiteList[e]=j.collect.whiteList[e]||[],void j.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;C(t,function(e,t,n,i){_(O(i).html.replace("/",""),function(e){j.collect.whiteList[n]=j.collect.whiteList[n]||[],j.collect.whiteList[n].push(e)})},p)},whiteList:Z,mergeWhiteList:function(e){for(var t,n={},i=0,r=g.keys(Z);i<r.length;i++)n[t=r[i]]=g.from(Z[t]);for(var o=0,s=g.keys(e);o<s.length;o++)n[t=s[o]]=t in Z?Z[t].concat(e[t]):g.from(e[t]);return n},setWhiteList:function(e){for(var t=0,n=g.keys(e);t<n.length;t++){var i=n[t];this.whiteList[i]=i in Z?Z[i].concat(e[i]):g.from(e[i])}}};try{var R={},N="merge";g.includes(N,"override")&&(j.whiteList=R.whiteList),g.includes(N,"merge")&&j.setWhiteList(R.whiteList)}catch(e){}var H=function(e,t){for(var n={},i=0,r=g.keys(e);i<r.length;i++){var o=r[i];Array.isArray(e[o])?n[o]=g.from(e[o]):n[o]=H({},e[o])}for(var s=0,a=g.keys(t);s<a.length;s++)(o=a[s])in e?Array.isArray(e[o])?n[o]=e[o].concat(t[o]):n[o]=H(e[o],t[o]):Array.isArray(t[o])?n[o]=g.from(t[o]):n[o]=H({},t[o]);return n},$={blackList:{a:["folder"],meta:["content"],iframe:["srcdoc"],input:["pattern"],vmlframe:["xmlns"]},blackTags:["script","xml","embed","isindex","object","base","set","handler","animate","payload","import"],blackAttrs:["charset","ns","namespace","formaction","xlink:href","xmlns:xlink","handler","repeat","repeat-start","repeat-end"],blackAttrRegExps:[/^on/],filterList:{param:["value"],video:["poster"],form:["action"]},filterAttrs:["href","src","background","style","dynsrc","lowsrc","content"]};try{var D={};D.blackAttrRegExps&&(D.blackAttrRegExps=D.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var W="merge";g.includes(W,"override")&&($=D),g.includes(W,"merge")&&($=H($,D))}catch(e){}var U={mode:"black",whiteList:{},blackConfig:$,collect:null,initCollect:function(){U.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=k(U.collect),t=e.count,n=e.ret;return U.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"black"}},onIgnoreTag:function(e,t){var n;if(!g.includes($.blackTags,e))return C(t,function(e,t,n,i,r){if(-1!==n.indexOf("/"))return p(i);if(r)return"</".concat(n,">");var o=O(i),s=_(o.html,function(e,t){var i,r=0;if($.blackList[n]&&g.includes($.blackList[n],e)&&(U.collect.blackList[n]=U.collect.blackList[n]||[],U.collect.blackList[n].push(e),r++),$.blackAttrRegExps.length&&$.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach($.blackAttrRegExps,function(t){t.test(e)&&(U.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),r++)}),$.blackAttrs.length&&g.includes($.blackAttrs,e)&&($.blackAttrs.push(e),r++),!r){if($.filterList&&$.filterList[n]&&g.includes($.filterList[n],e)){var o=P(t,function(e){var t;null===(t=U.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(U.collect.filterList[n]=U.collect.filterList[n]||[],U.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return $.filterAttrs&&g.includes($.filterAttrs,e)?((o=P(t,function(e){var t;null===(t=U.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=U.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(n),s&&(i+=" ".concat(s)),o.closing&&(i+=" /"),i+=">"},p);null===(n=U.collect)||void 0===n||n.blackTags.push(e)}},V=function(e){var t=e.reportOnly,n=void 0===t||t,i=e.block;return n&&"all"===n?"report":("string"==typeof n&&("true"===n&&(n=!0),"false"===n&&(n=!1)),i?"enforce":n?"report":"enforce")},X=function(e){return function(n,i,r){if(!n||"string"!=typeof n)return n;var o=i;e===I&&(o=j).initCollect();var s=e(n,o);if(w(s)===w(n))return n;if(!r)return s;var a=r.logType,l=V(r),c=o.removeCollect();return A.report(t(t({type:a,disposition:l},c),{sourceText:b(n),filterText:b(s)})),"enforce"===l?s:n}},z=X(function(e,t){return void 0===t&&(t={}),t&&t.whiteList||(t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new S(t).process(e)}),F=X(I),K=function(e,t,n){var i=[],r=P(e,function(e){i.push(e)});if(r===e)return e;i=g.from(g.uniq(i));var o=t||n||{};if(!o)return r;var s=o.logType,a=V(n);return A.report({type:s,disposition:a,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:b(e),filterText:b(r)}),"enforce"===a?r:e},B=E._xssProject||{},J=E.xssNamespace||{},Y="3.0.26",G={FilterXSS:S,version:Y,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:z,_filterXSS:F,filterUrl:K,Config:j,BlackConfig:U,project:B,setProjectName:function(e){B[e]=this,E._xssProjectName=e}};J.douyin_web=G,E.xssNamespace=J,E.Math&&!E.Math.xssNamespace&&(E.Math.xssNamespace=J),B[Y]=G,E.globalThis=E,E.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:G},E.xss=G,E.isSafeUrl=M,E.isSafeDomain=M,E.isSafeProtocol=L,E._xssProject=B,E._xssProjectName&&(B[E._xssProjectName]=G);var Q=G.setProjectName.bind(G);e.BlackConfig=U,e.Config=j,e.FilterXSS=S,e._filterXSS=F,e.filterUrl=K,e.filterXSS=z,e.isSafeDomain=M,e.isSafeProtocol=L,e.isSafeUrl=M,e.project=B,e.setProjectName=Q,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,i=e.region;J[t]=G;j.bid=n,j.region=i,j.enabled=!0},e.xssNamespace=J,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["66673"],{343388:function(e,t,n){"use strict";var i=n(101199),r=n(994298);let o=(0,r.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.08 7.6a1.5 1.5 0 0 1 2.12 0l5.66 5.65 5.66-5.65a1.5 1.5 0 1 1 2.12 2.12l-6.72 6.72a1.5 1.5 0 0 1-2.12 0L4.08 9.72a1.5 1.5 0 0 1 0-2.12Z",fill:"currentColor"}))},"chevron_down");t.Z=o},831610:function(e,t,n){"use strict";var i=n(101199),r=n(994298);let o=(0,r.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2a1 1 0 0 0-1-1H6a2 2 0 0 0-2 2v18c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V10a1 1 0 0 0-1-1h-5a2 2 0 0 1-2-2V2ZM7 8a1 1 0 0 1 1-1h1a1 1 0 0 1 0 2H8a1 1 0 0 1-1-1Zm0 5a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Zm1 4a1 1 0 1 0 0 2h8a1 1 0 1 0 0-2H8Zm11.07-9.5H14.5a1 1 0 0 1-1-1V1.93a.8.8 0 0 1 1.37-.56l4.76 4.76a.8.8 0 0 1-.56 1.37Z",fill:"currentColor"}))},"file");t.Z=o},98013:function(e,t,n){"use strict";n.d(t,{MU:function(){return i},Vp:function(){return r},bG:function(){return o}});var i={KEY_NOT_FOUND:2,SUCCESS:1,FAIL:0,UNAUTHORIZED:-1,UNREGISTERED:-2,INVALID_PARAM:-3,UNKNOWN_HOST:-4,INVALID_RESULT:-5,UNAUTHORIZED_ACCESS:-6,CANCELLED:-7,OPERATION_TIMEOUT:-8,NOT_FOUND:-9,NOT_IMPLEMENTED:-10,HANDLE_ERROR:-11,EXCEPTION_THROWN:-999,UNKNOWN_ERROR:-1e3,NETWORK_UNREACHABLE:-1001,NETWORK_TIMEOUT:-1002,MALFORMED_RESPONSE:-1003,APPID_EMPTY:1001},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{code:i.SUCCESS,data:e,msg:t}},o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{code:e,data:n,msg:t}}},771134:function(e,t,n){"use strict";var i=n(954090),r=n(868620),o=n(193078);!function(){function e(){this.crc32=new o.Bi}e.prototype.update=function(e){!(0,r.rA)(e)&&this.crc32.update((0,r.i$)(e))},e.prototype.digest=function(){return(0,i.mG)(this,void 0,void 0,function(){return(0,i.Jh)(this,function(e){return[2,(0,r.LT)(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new o.Bi}}()},435747:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(45898),r=n(729898),o=n(150174);let s=Object.assign(Object.assign({},r.Z.default),{precision:.01});function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,o.Z)(t)){let e=(0,i.Z)(t.easing),n="number"==typeof t.duration&&t.duration>0?t.duration:1e3;t=Object.assign(Object.assign({},t),{easing:e,duration:n})}let n=Object.assign(Object.assign(Object.assign({},s),t),{done:!1});if(e&&"object"==typeof e&&"val"in e){if((0,o.Z)(e)){let n=(0,i.Z)(e.easing),r="number"==typeof e.duration&&e.duration>0?e.duration:parseInt(t.duration)||1e3;e=Object.assign(Object.assign({},e),{easing:n,duration:r})}n=Object.assign(Object.assign({},n),e)}else n=Object.assign(Object.assign({},n),{val:e});return n}},646317:function(e,t,n){"use strict";n.d(t,{J:function(){return d}});var i=n(739054),r=n(734835),o=n(392982),s=n(970509),a=n.n(s),l=n(587934);n(832996);var c=a()("im:idl:transport"),u=a()("im:idl:transport-raw"),h=class e{constructor(){this.cachedType={},this.loading=null,this.loadSchema=()=>{if("undefined"!=typeof window)window.requestIdleCallback(()=>{this._loadSchema()})},this._loadSchema=()=>this.loading?this.loading:(this.loading=(0,i.C)(this,null,function*(){if(l.roots.transport){this.root=l.roots.transport,this.loading=Promise.resolve();return}yield(0,r.y)(),yield n.e("14352").then(n.bind(n,193987)),this.root=l.roots.transport,this.loading=Promise.resolve()}),this.loading)}static get instance(){return e.__instance?e.__instance:e.__instance=new e}static addRelation(t,n){e.relation[t]=n,e.relation[n]=t}static setRelation(t){e.relation=(0,i.i)((0,i.i)({},e.relation),null!=t?t:{})}getType(t){let n=t.replace(o.nl,""),i=this.cachedType[n];if(i)return i;try{let i=[e.relation[t],e.relation[n],n,t].filter(e=>e),r=i.map(t=>e.typeHintPrefix.map(e=>`${e}.${t}`)).reduce((e,t)=>e.concat(t)).concat(i);c("search types",r);let o=r.reduce((e,t)=>e&&"function"==typeof e?e:t.split(".").reduce((e,t)=>null==e?void 0:e[t],this.root),void 0);if("function"!=typeof o)throw Error("cannot find type");return o}catch(e){return c(`no current schema[${String(n)}]`),null}}decode(e,t){return(0,i.C)(this,null,function*(){var n,i,r,o,s,a,l,c,u;if(yield this._loadSchema(),t)return this._decode(e,t);let[h,d]=yield this._decodeFrameOrResponse(e),f=null!=(o=null!=(r=null==(i=null==(n=null==d?void 0:d.headers)?void 0:n.find(e=>"X-ByteLink-Cursor"===e.key))?void 0:i.value)?r:h.cursor)?o:"",p=null!=(c=null!=(l=null==(a=null==(s=null==d?void 0:d.headers)?void 0:s.find(e=>"X-ByteLink-InternalExt"===e.key))?void 0:a.value)?l:h.internal_ext)?c:"";return{response:h,frame:d,needAck:null!=(u=h.need_ack)&&u,cursor:f,internalExt:p}})}encode(e,t){return(0,i.C)(this,null,function*(){return yield this._loadSchema(),this._encode(e,t)})}ack(e,t,n){return(0,i.C)(this,null,function*(){var i,r,s,a;let l=null!=(a=null!=(s=null==(r=null==(i=e.headers)?void 0:i.find(e=>"X-ByteLink-InternalExt"===e.key))?void 0:r.value)?s:t.internal_ext)?a:"";return yield this.encode({SeqID:e.SeqID,LogID:e.LogID,service:9999,headers:[{key:"X-ByteLink-InternalExt",value:l},{key:"client_recv_times_ms",value:n.toString()},{key:"client_ack_time_ms",value:Date.now().toString()}],method:1,payload_encoding:"pb",payload_type:o.AG.Ack},"PushFrame")})}ping(e,t){return this.encode({SeqID:e,LogID:e,headers:t?Object.entries(t).map(([e,t])=>({key:e,value:t})):[],service:9999,method:1,payload_type:o.AG.Hb},"PushFrame")}_decodeFrameOrResponse(e){return(0,i.C)(this,null,function*(){try{let t=this._decode(e,"PushFrame"),n=yield this._extractResponse(t);return[this._decode(n,"Response"),t]}catch(t){return[this._decode(e,"Response")]}})}_extractResponse(t){return(0,i.C)(this,null,function*(){var n;return(null==(n=t.headers)?void 0:n.some(e=>"compress_type"===e.key&&"gzip"===e.value))?yield e.unGzip(t.payload):t.payload})}_decode(e,t){let n=this.getType(t);if(!n)return;let i=n.decode(e);return c("decoded success",t,i),u("decoded success",e),i}_encode(e,t){let n=this.getType(t);if(!n)return;let i=n.encode(e).finish();return c("encoded success",t,e),u("encoded success",i),i}};h.VERSION='"0.0.3"',h.relation={},h.typeHintPrefix=["webcast.im"],h.unGzip=(...e)=>(0,i.C)(h,null,function*(){return!h.pako&&(h.pako=n.e("76205").then(n.bind(n,216896))),h.pako.then(t=>t.ungzip(...e))});var d=h},38361:function(e,t,n){"use strict";n.d(t,{GT:function(){return h},gr:function(){return u}});var i=n(732905),r=n(625813),o=n(92833),s=n(315355),a=n(919209),l=n(272787),c=function(){function e(){(0,s.Z)(this,e),(0,l.Z)(this,"priority",void 0),(0,l.Z)(this,"subPriority",0)}return(0,a.Z)(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),u=function(e){(0,r.Z)(n,e);var t=(0,o.Z)(n);function n(e,i,r,o,a){var l;return(0,s.Z)(this,n),(l=t.call(this)).value=e,l.validateValue=i,l.setValue=r,l.priority=o,a&&(l.subPriority=a),l}return(0,a.Z)(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(c),h=function(e){(0,r.Z)(n,e);var t=(0,o.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return e=t.call.apply(t,[this].concat(o)),(0,l.Z)((0,i.Z)(e),"priority",10),(0,l.Z)((0,i.Z)(e),"subPriority",-1),e}return(0,a.Z)(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(c)},830928:function(e,t,n){"use strict";n.d(t,{i:function(){return h}});var i=n(315355),r=n(919209),o=n(732905),s=n(625813),a=n(92833),l=n(272787),c=n(483803),u=n(19470),h=function(e){(0,s.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s)),(0,l.Z)((0,o.Z)(e),"priority",80),(0,l.Z)((0,o.Z)(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return(0,r.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours((0,u.RQ)(n),0,0,0),e}}]),n}(c._)},793827:function(e,t,n){"use strict";n.d(t,{F:function(){return d}});var i=n(315355),r=n(919209),o=n(732905),s=n(625813),a=n(92833),l=n(272787),c=n(483803),u=n(443826),h=n(19470),d=function(e){(0,s.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s)),(0,l.Z)((0,o.Z)(e),"priority",10),(0,l.Z)((0,o.Z)(e),"incompatibleTokens",["t","T","x"]),e}return(0,r.Z)(n,[{key:"parse",value:function(e,t){switch(t){case"X":return(0,h.DA)(u.s.basicOptionalMinutes,e);case"XX":return(0,h.DA)(u.s.basic,e);case"XXXX":return(0,h.DA)(u.s.basicOptionalSeconds,e);case"XXXXX":return(0,h.DA)(u.s.extendedOptionalSeconds,e);default:return(0,h.DA)(u.s.extended,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(c._)},410024:function(e,t,n){"use strict";n.d(t,{d:function(){return d}});var i=n(315355),r=n(919209),o=n(732905),s=n(625813),a=n(92833),l=n(272787),c=n(483803),u=n(443826),h=n(19470),d=function(e){(0,s.Z)(n,e);var t=(0,a.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var r=arguments.length,s=Array(r),a=0;a<r;a++)s[a]=arguments[a];return e=t.call.apply(t,[this].concat(s)),(0,l.Z)((0,o.Z)(e),"priority",50),(0,l.Z)((0,o.Z)(e),"incompatibleTokens",["t","T"]),e}return(0,r.Z)(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return(0,h.ie)(u.z.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,h.ZL)(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(c._)},78430:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(557094),r=n(726588),o=n(144256);function s(e,t){(0,o.Z)(2,arguments);var n=(0,r.Z)(e),s=(0,i.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(s),n)}},615526:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}};e.exports=t.default},558036:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.default=function(e,t,i){var r,o=n[e];if(r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix)return i.comparison&&i.comparison>0?"in "+r:r+" ago";return r},e.exports=t.default},105723:function(e,t,n){var i=n(340378),r=n(333655)(i);e.exports=r},907524:function(e,t,n){var i=n(294089),r=n(431356);e.exports=function(e,t,n){var o=t(e);return r(e)?o:i(o,n(e))}},472458:function(e,t,n){var i=n(557012),r=n(325146),o=n(993902),s=n(728377),a=n(331109),l=n(98795);e.exports=function(e,t,n){var c=-1,u=r,h=e.length,d=!0,f=[],p=f;if(n)d=!1,u=o;else if(h>=200){var g=t?null:a(e);if(g)return l(g);d=!1,u=s,p=new i}else p=t?[]:f;t:for(;++c<h;){var m=e[c],v=t?t(m):m;if(m=n||0!==m?m:0,d&&v==v){for(var b=p.length;b--;)if(p[b]===v)continue t;t&&p.push(v),f.push(m)}else!u(p,v,n)&&(p!==f&&p.push(v),f.push(m))}return f}},222121:function(e,t,n){var i=n(469616),r=n(584897);e.exports=function(e,t,n,o){var s=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var c=t[a],u=o?o(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),s?r(n,c,u):i(n,c,u)}return n}},224595:function(e,t,n){var i=n(14568)(Object.getPrototypeOf,Object);e.exports=i},876553:function(e,t,n){var i=n(568558);e.exports=function(e,t){return i(e,t)}},72137:function(e,t,n){var i=n(756384),r=n(607480)(function(e,t){return null==e?{}:i(e,t)});e.exports=r},745627:function(e,t,n){var i=n(575375);e.exports=function(e){var t=i(e),n=t%1;return t==t?n?t-n:t:0}},356297:function(e,t,n){"use strict";n.r(t)},607981:function(e,t,n){"use strict";n.r(t)},52012:function(e,t,n){"use strict";n.r(t)},140939:function(e,t,n){"use strict";n.r(t)},556202:function(e,t,n){"use strict";e.exports=n.p+"media/processor.484420942a5b9bfc.js"},381990:function(e,t,n){"use strict";n(932651),n(374954);var i=n(22186),r=n.n(i),o=n(101199),s=n(469935),a=n.n(s),l=n(373410),c=n(413868),u=n(669067),h=n(662801),d=n(844949),f=n(492839),p=n(998334),g=n(96158),m=n(612601),v=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};let b=c.UX.PREFIX,y=e=>{let{fieldSet:t}=e,n=(0,p.Z)(),i=t.map(e=>u.U2(n.errors,e));return(0,l.JY)(i)?null:o.createElement(h.Z,{error:i,showValidateIcon:e.showValidateIcon,isInInputGroup:e.isInInputGroup})};class C extends o.Component{renderLabel(e,t){if(e)return r()(e)?o.createElement(d.Z,{width:t.labelWidth,text:e}):o.createElement(d.Z,Object.assign({width:t.labelWidth},e));return null}render(){let e;let t=this.props,{children:n,label:i,extraText:r,extraTextPosition:s}=t,l=v(t,["children","label","extraText","extraTextPosition"]),c=this.context.getFormProps(["labelPosition","labelWidth","labelAlign","showValidateIcon","wrapperCol","labelCol","disabled"]),u=this.props.labelPosition||c.labelPosition,h=[],d=o.Children.map(n,e=>e&&e.props&&e.props.field?(h.push(e.props.field),o.cloneElement(e,{isInInputGroup:!0})):null),f=a()({[`${b}-field-group`]:!0}),p=c.labelCol,C=c.wrapperCol,_=c.labelAlign,x=p&&C,w=p?`${b}-col-${_}`:"",S=this.renderLabel(i,c),E=o.createElement(g.Z,Object.assign({disabled:c.disabled},l),d),A=o.createElement(y,{fieldSet:h,showValidateIcon:c.showValidateIcon,isInInputGroup:!0}),k=a()(`${b}-field-extra`,{[`${b}-field-extra-string`]:"string"==typeof r,[`${b}-field-extra-middle`]:"middle"===s,[`${b}-field-extra-bottom`]:"bottom"===s}),I=r?o.createElement("div",{className:k,"x-semi-prop":"extraText"},r):null;switch(!0){case!x:e=o.createElement(o.Fragment,null,S,o.createElement("div",null,"middle"===s?I:null,E,"bottom"===s?I:null,A));break;case x&&"top"===u:e=o.createElement(o.Fragment,null,o.createElement("div",{style:{overflow:"hidden"}},o.createElement(m.Z,Object.assign({},p,{className:w}),S)),o.createElement(m.Z,Object.assign({},C),"middle"===s?I:null,E,"bottom"===s?I:null,A));break;case x&&"top"!==u:e=o.createElement(o.Fragment,null,o.createElement(m.Z,Object.assign({},p,{className:w}),S),o.createElement(m.Z,Object.assign({},C),"middle"===s?I:null,E,"bottom"===s?I:null,A))}return o.createElement("div",{"x-label-pos":u,className:f},e)}}C.contextType=f.kn,C.defaultProps={extraTextPosition:"bottom"},t.Z=C},431023:function(e,t,n){"use strict";n(932651);var i=n(812958),r=n.n(i),o=n(243392),s=n.n(o),a=n(22186),l=n.n(a),c=n(101199),u=n(469935),h=n.n(u),d=n(413868),f=n(844949),p=n(612601),g=n(492839),m=n(662801),v=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)0>t.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n};let b=d.UX.PREFIX;t.Z=e=>{let t,n,i,o,a;let u="top";try{let e=(0,c.useContext)(g.kn).getFormProps(["labelPosition","labelWidth","labelAlign","labelCol","wrapperCol"]);t=e.labelCol,n=e.wrapperCol,i=e.labelWidth,o=e.labelAlign,u=e.labelPosition?e.labelPosition:u}catch(e){}e.labelPosition&&(u=e.labelPosition);let{children:d,label:y,className:C,style:_,error:x,noLabel:w}=e;v(e,["children","label","className","style","error","noLabel"]);let S=t&&n,E=h()({[`${b}-field`]:!0,[`${b}-slot`]:!0},C),A=h()({[`${b}-col-${o}`]:!0});switch(!0){case r()(y)&&!c.isValidElement(y):break;case l()(y)||s()(y):case c.isValidElement(y):y={text:y}}let k=null;{let e={};switch(!0){case r()(x)&&!c.isValidElement(x):e=x;break;case l()(x)||s()(x):case c.isValidElement(x):e={error:x}}k=c.createElement(m.Z,Object.assign({},e))}let I=Object.assign({align:o,width:i},y),O=h()({[`${b}-field-main`]:!0,[`${b}-slot-main`]:!0});switch(!0){case!S&&!w:a=c.createElement(c.Fragment,null,c.createElement(f.Z,Object.assign({},I)),c.createElement("div",{className:O},d,k));break;case!S&&w:a=c.createElement(c.Fragment,null,c.createElement("div",{className:O},d,k));break;case S&&"top"===u:a=c.createElement(c.Fragment,null,c.createElement("div",{style:{overflow:"hidden"}},c.createElement(p.Z,Object.assign({},t,{className:A}),c.createElement(f.Z,Object.assign({},I)))),c.createElement(p.Z,null,d,k));break;case S&&"top"!==u:a=c.createElement(c.Fragment,null,c.createElement(p.Z,Object.assign({},t,{className:A}),c.createElement(f.Z,Object.assign({},I))),c.createElement(p.Z,null,d,k))}return c.createElement("div",{className:E,"x-label-pos":u,style:_},a)}},833958:function(e,t,n){"use strict";n(932651);var i=n(795233),r=n.n(i),o=n(101199),s=n(622689),a=n.n(s),l=n(245897),c=n(426337),u=n(680093),h=n(67495),d=n(469935),f=n.n(d),p=n(100578);class g extends c.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{setNativeControlChecked:e=>{this.setState({checked:e})},notifyChange:e=>{this.props.onChange(e)}})}componentDidMount(){this.foundation.init()}componentDidUpdate(e){e.checked!==this.props.checked&&this.foundation.setChecked(this.props.checked)}componentWillUnmount(){this.foundation.destroy()}blur(){this.inputEntity.blur()}focus(){let{preventScroll:e}=this.props;this.inputEntity.focus({preventScroll:e})}onChange(e){this.foundation.handleChange(e)}render(){let{disabled:e,mode:t,autoFocus:n,name:i,isButtonRadio:r,isPureCardRadioGroup:s,addonId:a,extraId:l,"aria-label":c,focusInner:h,onInputFocus:d,onInputBlur:g}=this.props,{checked:m}=this.state,v=this.props.prefixCls||u.Gv.PREFIX,b=f()({[`${v}-inner`]:!0,[`${v}-inner-checked`]:!!m,[`${v}-inner-buttonRadio`]:r,[`${v}-inner-pureCardRadio`]:s}),y=f()({[`${v}-focus`]:h,[`${v}-focus-border`]:h&&!m,[`${v}-inner-display`]:!r});return o.createElement("span",{className:b},o.createElement("input",{ref:e=>{this.inputEntity=e},autoFocus:n,type:"advanced"===t?"checkbox":"radio",checked:!!m,disabled:e,onChange:this.onChange,name:i,"aria-label":c,"aria-labelledby":a,"aria-describedby":l,onFocus:d,onBlur:g}),o.createElement("span",{className:y},m?o.createElement(p.Z,null):null))}constructor(e){super(e),this.state={checked:!1},this.foundation=new l.Z(this.adapter),this.onChange=this.onChange.bind(this)}}g.contextType=h.Z,g.propTypes={checked:a().bool,disabled:a().bool,isButtonRadio:a().bool,onChange:a().func,mode:a().oneOf(["advanced",""]),"aria-label":a().string,focusInner:a().bool,onInputFocus:a().func,onInputBlur:a().func,preventScroll:a().bool},g.defaultProps={onChange:r(),isButtonRadio:!1},t.Z=g},571446:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(t){if(t){let n=[];return a.Children.forEach(t,t=>{if(a.isValidElement(t)&&(t.type===l.Z||"Column"===s()(t,"type.elementType"))){let i=r()(t.props,["children"]);Array.isArray(t.props.children)&&t.props.children.length&&(i.children=e(t.props.children)),n.push(Object.assign({key:t.key},i))}}),n}return[]}}}),n(374954),n(932651);var i=n(285406),r=n.n(i),o=n(198412),s=n.n(o),a=n(101199),l=n(63245)},37827:function(e,t,n){"use strict";let i,r;n.d(t,{OG:function(){return b},Vv:function(){return _},kg:function(){return C},mC:function(){return x},xM:function(){return y}}),n(932651),n(374954);var o=n(236514),s=n.n(o),a=n(260611),l=n.n(a),c=n(497860),u=n.n(c),h=n(869014),d=n.n(h),f=n(979542),p=n(278766),g=n(678503),m=n(553827);let v={position:"absolute",top:"-9999px",width:"50px",height:"50px"};function b(e){return"number"==typeof e?e-p.KT.DEFAULT_CELL_PADDING_LEFT-p.KT.DEFAULT_CELL_PADDING_RIGHT-p.KT.DEFAULT_CELL_BORDER_WIDTH_LEFT-p.KT.DEFAULT_CELL_BORDER_WIDTH_RIGHT-function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"vertical";if("undefined"==typeof document||"undefined"==typeof window)return 0;let t="vertical"===e;if(t&&i)return i;if(!t&&r)return r;let n=document.createElement("div");Object.keys(v).forEach(e=>{n.style[e]=v[e]}),t?n.style.overflowY="scroll":n.style.overflowX="scroll",document.body.appendChild(n);let o=0;return t?i=o=n.offsetWidth-n.clientWidth:r=o=n.offsetHeight-n.clientHeight,document.body.removeChild(n),o}("vertical"):void 0}function y(e,t){return d()({},{table:"table",header:{outer:"table",wrapper:"thead",row:"tr",cell:"th"},body:t?{outer:"div",wrapper:"div",row:"div",cell:"div",colgroup:{wrapper:"div",col:"div"}}:{outer:"table",wrapper:"tbody",row:"tr",cell:"td",colgroup:{wrapper:"colgroup",col:"col"}},footer:{wrapper:"tfoot",row:"tr",cell:"td"}},e)}let C=new f.Z("[@douyinfe/semi-ui Table]");function _(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=!(arguments.length>3)||void 0===arguments[3]||arguments[3],r=[],o=i?g.Xh:u();return s()(t,t=>{t=Object.assign({},t);let i=(0,m.ai)(t,n),s=null!=i&&l()(e,e=>(0,m.ai)(e,n)===i);s?r.push(o(Object.assign(Object.assign({},s),t))):r.push(o(t))}),r}function x(e){switch(e){case p.j2.SORT_DIRECTIONS["0"]:return p.j2.SORT_DIRECTIONS["1"];case p.j2.SORT_DIRECTIONS["1"]:return"cancelSort";default:return p.j2.SORT_DIRECTIONS["0"]}}},219627:function(e,t,n){"use strict";n(932651);var i=n(795233),r=n.n(i),o=n(101199),s=n(469935),a=n.n(s),l=n(622689),c=n.n(l),u=n(230720),h=n(90340),d=n(428924),f=n(426337),p=n(158871),g=n(709544),m=n(953847),v=n(279426),b=n(724409),y=n(170651),C=n(678503);let _=d.UX.PREFIX;class x extends f.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyWrapperToRemove:e=>{this.props.close(e)},notifyClose:()=>{this.props.onClose()}})}componentDidMount(){this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}close(e){this.foundation.close(e)}renderIcon(){let{type:e,icon:t}=this.props,n={warning:o.createElement(g.Z,null),success:o.createElement(m.Z,null),info:o.createElement(v.Z,null),error:o.createElement(b.Z,null)}[e],i="large",r=a()(`${_}-icon`,`${_}-icon-${e}`);return t?(0,C.ID)(t)?o.cloneElement(t,{size:i,className:`${_}-icon`}):t:e&&n?o.cloneElement(n,{size:i,className:r}):null}render(){let{content:e,type:t,theme:n,showClose:i,textMaxWidth:r,className:s,style:l}=this.props,c=this.props.direction||this.context.direction,u=a()(_,s,{[`${_}-${t}`]:!0,[`${_}-${n}`]:"light"===n,[`${_}-rtl`]:"rtl"===c}),h={};h.maxWidth=r;let d=this.props.positionInList?this.props.positionInList.length-this.props.positionInList.index-1:0,f=o.createElement("div",{ref:this.toastEle,role:"alert","aria-label":`${t||"default"} type`,className:u,style:Object.assign(Object.assign({},l),{transform:`translate3d(0,0,${-10*d}px)`}),onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onAnimationStart:this.props.onAnimationStart,onAnimationEnd:this.props.onAnimationEnd},o.createElement("div",{className:`${_}-content`},this.renderIcon(),o.createElement("span",{className:`${_}-content-text`,style:h,"x-semi-prop":"content"},e),i&&o.createElement("div",{className:`${_}-close-button`},o.createElement(p.Z,{onClick:e=>this.close(e),type:"tertiary",icon:o.createElement(y.Z,{"x-semi-prop":"icon"}),theme:"borderless",size:"small"}))));if(!this.props.stack)return f;{let e=this.props.stackExpanded&&this.toastEle.current&&getComputedStyle(this.toastEle.current).height||0;return o.createElement("div",{className:`${_}-zero-height-wrapper`,style:{height:e}},f)}}constructor(e){super(e),this.toastEle=o.createRef(),this.clearCloseTimer=()=>{this.foundation.clearCloseTimer_()},this.startCloseTimer=()=>{this.foundation.startCloseTimer_()},this.restartCloseTimer=()=>{this.foundation.restartCloseTimer()},this.state={},this.foundation=new h.Z(this.adapter)}}x.contextType=u.Z,x.propTypes={onClose:c().func,content:c().node,close:c().func,duration:c().number,theme:c().oneOf(d.j2.themes),type:c().oneOf(d.j2.types),textMaxWidth:c().oneOfType([c().string,c().number]),style:c().object,className:c().string,showClose:c().bool,stack:c().bool,stackExpanded:c().bool,icon:c().node,direction:c().oneOf(d.j2.directions)},x.__SemiComponentName__="Toast",x.defaultProps=(0,C.GW)(x.__SemiComponentName__,{onClose:r(),content:"",close:r(),duration:d.KT.duration,textMaxWidth:450,showClose:!0,stack:!1,stackExpanded:!1,theme:"normal"}),t.Z=x},220442:function(e,t,n){"use strict";n.d(t,{y:function(){return i.y}});var i=n(262126)},125471:function(e,t,n){"use strict";n.d(t,{P:function(){return r},b:function(){return o}});var i=n(480333);class r{set(e,t){this[`_${e}`]=t}start(e){this[`_${e}Start`]=Date.now()}end(e){this[`_${e}End`]=Date.now(),this[`_${e}Cost`]=this[`_${e}Cost`]+(this[`_${e}End`]-this[`_${e}Start`])}get transferCost(){return{ttfbCost:this._ttfb,demuxCost:this._demuxCost,remuxCost:this._remuxCost,appendCost:this._appendCost}}constructor(){(0,i._)(this,"_ttfb",0),(0,i._)(this,"_demuxStart",0),(0,i._)(this,"_demuxEnd",0),(0,i._)(this,"_demuxCost",0),(0,i._)(this,"_remuxStart",0),(0,i._)(this,"_remuxEnd",0),(0,i._)(this,"_remuxCost",0),(0,i._)(this,"_appendStart",0),(0,i._)(this,"_appendEnd",0),(0,i._)(this,"_appendCost",0)}}let o={TTFB:"ttfb",DEMUX:"demux",REMUX:"remux",APPEND:"append"}},70401:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var i=n(480333),r=n(629686),o=n(141773),s=n(34768),a=n(773897),l=n(603846);class c extends o.v{init(e){if(this._media=e,e.addEventListener("timeupdate",this.handleTimeupdate),e.autoplay){let t=()=>{e.removeEventListener("canplay",t),e.play().catch(()=>{null==e||e.dispatchEvent(new CustomEvent(l.c.AUTOPLAY_WAS_PREVENTED,{}))})};e.addEventListener("canplay",t)}this.initPlugins()}initPlugins(){let{plugins:e}=this.config;e&&(this.plugins=e.map(e=>new e(this))),this.plugins.forEach(e=>{e.afterPlayerInit()})}playBy(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{url:n}=t;this.updateProtoConfig(t),this.emit(s.Zo.URLCHANGE,{url:n}),this._onSwitchURL(t.url),null===(e=this.media)||void 0===e||e.dispatchEvent(new CustomEvent("loadstart",{}))}updateProtoConfig(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,a.i)((0,r._)({},this.config,e));return this.config=t,t}reset(){this.destroy()}get src(){var e;return null===(e=this._media)||void 0===e?void 0:e.src}get buffered(){var e;return null===(e=this.media)||void 0===e?void 0:e.buffered}get currentTime(){var e;return null===(e=this.media)||void 0===e?void 0:e.currentTime}get duration(){var e;return null===(e=this.media)||void 0===e?void 0:e.duration}get media(){return this._media}get speed(){var e;return null===(e=this.media)||void 0===e?void 0:e.playbackRate}set speed(e){this.speed!==e&&(this.media.playbackRate=e)}get bufferLength(){let{currentTime:e=0,buffered:t}=this._media||{};if(!t)return 0;for(let n=0;n<t.length;n++){let i=t.end(n);if(t.start(n)<=e&&i>=e)return(i-e)*1e3}return 0}play(){var e;return null===(e=this._media)||void 0===e?void 0:e.play()}constructor(e,t){super(),(0,i._)(this,"_media",null),(0,i._)(this,"config",{}),(0,i._)(this,"plugins",[]),(0,i._)(this,"destroy",()=>{var e;this.removeAllListeners(),null===(e=this._media)||void 0===e||e.removeEventListener("timeupdate",this.handleTimeupdate),this.plugins.forEach(e=>{e.destroy()})}),(0,i._)(this,"_onSwitchURL",e=>{var t;this._media&&(this._media.src=e,(null===(t=this.config)||void 0===t?void 0:t.keepStatusAfterSwitch)&&this._keepPauseStatus())}),(0,i._)(this,"_keepPauseStatus",()=>{var e,t;if(!(null===(e=this._media)||void 0===e?void 0:e.paused))return;let n=()=>{var e,t;null===(e=this.media)||void 0===e||e.removeEventListener("canplay",n),null===(t=this._media)||void 0===t||t.pause()};null===(t=this.media)||void 0===t||t.addEventListener("canplay",n)}),(0,i._)(this,"handleTimeupdate",()=>{let e=this.bufferLength;1.1===this.speed?e<=1800&&(this.speed=1):1===this.speed&&e>=2500&&(this.speed=1.1)}),this.config=this.updateProtoConfig(t),this.init(e)}}},455195:function(e,t,n){"use strict";n.d(t,{Eo:function(){return r},Qc:function(){return a},f6:function(){return c},gJ:function(){return s},je:function(){return l},lp:function(){return o}}),n(480333),n(190932),n(808483),n(126159),n(100832),n(825666),n(943281),n(82726),n(591964),n(374954),n(527553),n(414931);var i=n(495312);function r(e){let{loadModuleError:t,lowVideoDecodeCnt:n,workerDisableCnt:r}=i.T.getWebCodecStates();return"undefined"!=typeof MediaStreamTrackGenerator&&"undefined"!=typeof VideoDecoder&&"undefined"!=typeof AudioDecoder&&"undefined"!=typeof EncodedVideoChunk&&"undefined"!=typeof EncodedAudioChunk&&"undefined"!=typeof AudioContext&&!t&&n<((null==e?void 0:e.limitLowVideoDecodeCnt)||Number.MAX_VALUE)&&r<((null==e?void 0:e.limitWorkerDisableCnt)||Number.MAX_VALUE)}function o(){let{preWorkerReady:e}=i.T.getWebCodecStates();return e}function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if((t=t.filter(Boolean)).length<2)return t[0];let i=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;return t.forEach(e=>{i.set(e,r),r+=e.byteLength}),i}function a(e){if(!Array.isArray(e)){let t=[],n="";for(let i=0;i<e.length;i++)i%2&&(n=e[i-1]+e[i],t.push(parseInt(n,16)));return t}return e.map(e=>parseInt(e,16))}function l(){try{return parseInt(`${performance.now()}`,10)}catch(e){return new Date().getTime()}}function c(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}n(469561)},899983:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}}),n(490629),n(932651);var i=n(856445);class r extends i.Z{initActiveKey(){let{defaultActiveKey:e,activeKey:t,accordion:n}=this.getProps(),i=t||e;return(n&&(i=Array.isArray(i)?i[0]:i),i&&i.length)?i=Array.isArray(i)?i:[i]:[]}handleChange(e,t){let{activeKey:n,accordion:i}=this.getProps(),{activeSet:r}=this.getStates(),o=new Set(r);o.has(e)?o.delete(e):i?o=new Set([e]):o.add(e),this._adapter.handleChange([...o.values()],t),void 0===n&&this._adapter.addActiveKey(o)}constructor(e){super(Object.assign({},e))}}},793545:function(e,t,n){"use strict";n(932651),n(76375);var i=n(856445),r=n(829840);class o extends i.Z{constructor(e){super(Object.assign({},e)),this.handleChangeH=(e,t)=>{let n=Object.assign(Object.assign({},e.hsva),{h:t}),i=(0,r.MA)(n),o=(0,r.A)(n),s={rgba:i,hsva:n,hex:o};this._adapter.notifyChange(s),!this.getProp("value")&&this._adapter.setState({currentColor:s})},this.handleChangeA=(e,t)=>{let n=this._adapter.getProp("alpha");!n&&(t=1);let i=Object.assign(Object.assign({},e.rgba),{a:t}),o=(0,r.s)(i);e={rgba:i,hex:n?o:o.slice(0,7),hsva:Object.assign(Object.assign({},e.hsva),{a:t})},this._adapter.notifyChange(e),!this.getProp("value")&&this._adapter.setState({currentColor:e})},this.getCurrentColor=()=>{let e=this.getProp("value"),t=this.getState("currentColor");return e||t},this.handleChange=(e,t)=>{let n;if("hsva"===t)n={hsva:e,rgba:o.hsvaToRgba(e),hex:o.hsvaToHex(e)};else if("rgba"===t)n={rgba:e,hsva:o.rgbaToHsva(e),hex:o.rgbaToHex(e)};else if("hex"===t)n={hex:e,hsva:o.hexToHsva(e),rgba:o.hexToRgba(e)};else throw Error("format error");this._adapter.notifyChange(n),!this.getProp("value")&&this._adapter.setState({currentColor:n})},this.handleAlphaChangeByHandle=e=>{this.handleChangeA(this.getCurrentColor(),e.a)},this.handleColorChangeByHandle=e=>{this.handleChangeH(this.getCurrentColor(),e.h)},this.getHandlePositionByHSVA=(e,t,n)=>{let{width:i,height:r}=t,o={x:e.s/100*i,y:(1-e.v/100)*r};return{x:o.x-n/2,y:o.y-n/2}},this.getHandlePositionByMousePosition=(e,t,n)=>{let{width:i,height:r}=t;return e.x>i||e.x<0||e.y>r||e.y<0?null:{x:e.x-n/2,y:e.y-n/2}},this.getAlphaHandlePositionByMousePosition=(e,t,n)=>e<0||e>t?null:e-n/2,this.getColorHandlePositionByMousePosition=(e,t,n)=>e<0||e>t?null:e-n/2}}o.hsvaToRgba=r.MA,o.rgbaToHsva=r.S7,o.rgbaToHex=r.s,o.hsvaToHex=r.A,o.hexToRgba=r.a7,o.hexToHsva=r.HW,o.hsvaToHslaString=r.Gg,o.hsvaToHslString=r.ZI,o.rgbaStringToHsva=r.QU,o.rgbaStringToRgba=r.fT,t.Z=o},646073:function(e,t,n){"use strict";function i(e){let t,n,i,r;let{inputValue:o="",rangeSeparator:s,type:a}=e,l={monthLeft:{dateInput:"",timeInput:""},monthRight:{dateInput:"",timeInput:""}};switch(a){case"date":case"month":case"monthRange":l.monthLeft.dateInput=o;break;case"dateRange":[t="",i=""]=o.split(s),l.monthLeft.dateInput=t,l.monthRight.dateInput=i;break;case"dateTime":[t="",n=""]=o.split(" "),l.monthLeft.dateInput=t,l.monthLeft.timeInput=n;break;case"dateTimeRange":let[c="",u=""]=o.split(s);[t="",n=""]=c.split(" "),[i="",r=""]=u.split(" "),l.monthLeft.dateInput=t,l.monthLeft.timeInput=n,l.monthRight.dateInput=i,l.monthRight.timeInput=r}return l}n.d(t,{Z:function(){return i}}),n(490629),n(228983),n(759943)},590608:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}}),n(374954),n(490629),n(706056),n(932651);var i=n(198412),r=n.n(i),o=n(856445),s=n(116183),a=n(318330),l=n(109841);class c extends o.Z{static getZeroParentKeys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[];for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];if(i.length){for(let n of i)if(Array.isArray(e[n])&&e[n].length){let i=e[n][0];!(0,l.Z)(i)&&t.push(i)}}return t}static buildItemKeysMap(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"itemKey";if(Array.isArray(t)&&t.length)for(let o of t)if(Array.isArray(o))c.buildItemKeysMap(o,n,[...i],r);else{let t;if(o&&"object"==typeof o&&(t=o[r]||o.props&&o.props[r]),t){n[t]=[...i];let s=null===(e=o.props)||void 0===e?void 0:e.children;if(Array.isArray(o.items)&&o.items.length)c.buildItemKeysMap(o.items,n,[...i,t],r);else if(s){let e=Array.isArray(s)?s:[s];c.buildItemKeysMap(e,n,[...i,t],r)}}}return n}init(e){let{defaultSelectedKeys:t,selectedKeys:n}=this.getProps(),i=n||t||[],{itemKeysMap:r,willOpenKeys:o,formattedItems:s}=this.getCalcState(),a=this.selectLevelZeroParentKeys(r,i);if(i=i.concat(a),"constructor"===e)return{selectedKeys:i,itemKeysMap:r,openKeys:o,items:s};this._adapter.updateSelectedKeys(i,!1),this._adapter.setItemKeysMap(r),this._adapter.updateOpenKeys(o),this._adapter.updateItems(s),this._adapter.setItemsChanged(!0)}getCalcState(){let{itemKeysMap:e,formattedItems:t}=this.getFormattedItems(),n=this.getWillOpenKeys(e);return{itemKeysMap:e,willOpenKeys:n,formattedItems:t}}getFormattedItems(){let{items:e,children:t}=this.getProps(),n=this.formatItems(e),i=Array.isArray(e)&&e.length?n:t;return{itemKeysMap:c.buildItemKeysMap(i),formattedItems:n}}getWillOpenKeys(e){let{defaultOpenKeys:t,openKeys:n,defaultSelectedKeys:i,selectedKeys:r,mode:o}=this.getProps(),{openKeys:s=[]}=this.getStates(),l=n||t||[];if(!(Array.isArray(t)||Array.isArray(n))&&o===a.j2.MODE_VERTICAL&&(Array.isArray(i)||Array.isArray(r))){let t=Array.isArray(r)?r:i;l=Array.from(new Set(l=s.concat(this.getShouldOpenKeys(e,t))))}return[...l]}getShouldOpenKeys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set;return Array.isArray(t)&&t.length&&t.forEach(t=>{if(t){let i=r()(e,t);Array.isArray(i)&&i.forEach(e=>n.add(e))}}),[...n]}destroy(){}selectLevelZeroParentKeys(e,t){let n=(0,l.Z)(e)?this.getState("itemKeysMap"):e,i=[];if(t.length){for(let e of t)if(Array.isArray(n[e])&&n[e].length){let t=n[e][0];!(0,l.Z)(t)&&i.push(t)}}return i.length?i:[]}formatItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];for(let n of e)t.push(new s.Z(n));return t}handleSelect(e){this._adapter.notifySelect(e)}judgeIfOpen(e,t){let n=!1,i=Array.isArray(e)?e:e&&[e];if(i&&Array.isArray(t)&&t.length){for(let e of t)if(n=i.includes(e.itemKey)||this.judgeIfOpen(i,e.items))break}return n}handleCollapseChange(){let e=!this.getState("isCollapsed");!this._isControlledComponent("isCollapsed")&&this._adapter.setIsCollapsed(e),this._adapter.notifyCollapseChange(e)}handleItemsChange(e){this._adapter.setItemsChanged(e)}constructor(e){super(Object.assign({},e))}}},10334:function(e,t,n){"use strict";n(490629),n(932651);var i=n(856445),r=n(192231);class o extends i.Z{init(){let{currentPage:e,total:t,pageSize:n}=this.getStates();this._updateDisabled({currentPage:e,total:t,pageSize:n}),this._updatePageList({currentPage:e,total:t,pageSize:n}),this._registerEventHandler()}destroy(){this._unregisterEventHandler()}_registerEventHandler(){this._adapter.registerKeyDownHandler(this.handleKeyDown)}_unregisterEventHandler(){this._adapter.unregisterKeyDownHandler(this.handleKeyDown)}_updateDisabled(e){let{currentPage:t,total:n,pageSize:i}=e,r=this._getTotalPageNumber(n,i),o=!1,s=!1;1===t?(o=!0,s=r<2):t===r&&(o=!1,s=!0),this._adapter.setDisabled(o,s)}goPage(e){if("..."===e)return;let{pageSize:t,currentPage:n}=this.getStates(),i=this._isInProps("currentPage");if(e!==n)i||this.updatePage(e),this._adapter.notifyPageChange(e),this._adapter.notifyChange(e,t)}updatePage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;null==t&&(t=this.getState("total")),null==n&&(n=this.getState("pageSize")),this._updateDisabled({currentPage:e,total:t,pageSize:n}),this._updatePageList({currentPage:e,total:t,pageSize:n}),this._adapter.updateTotal(t),this._adapter.setCurrentPage(e),this._adapter.updatePageSize(n)}updateAllPageNumbers(e,t){let{size:n,hoverShowPageSelect:i,disabled:r}=this.getProps();if("small"===n&&!!i&&!r){let n=Array.from({length:Math.ceil(e/t)},(e,t)=>t+1);this._adapter.updateAllPageNumbers(n)}}goPrev(){let{currentPage:e}=this.getStates();e>1&&this.goPage(e-1)}goNext(){let{currentPage:e,total:t,pageSize:n}=this.getStates();e<=this._getTotalPageNumber(t,n)-1&&this.goPage(e+1)}_updatePageList(e){let{currentPage:t,total:n,pageSize:i}=e,o=[],s=[],a=[],l=this._getTotalPageNumber(n,i),{PAGE_SHOW_MAX:c,REST_PAGE_MAX_SIZE:u}=r.KT;if(l<=c)o=Array.from({length:l},(e,t)=>t+1),s=[],a=[];else switch(!0){case t<4:o=[1,2,3,4,"...",l-1,l],a=Array.from({length:Math.min(l-6,u)},(e,t)=>t+5),s=[];break;case 4===t:o=[1,2,3,4,5,"...",l],a=Array.from({length:Math.min(l-6,u)},(e,t)=>t+6),s=[];break;case 4<t&&t<l-3:o=[1].concat("...",Array.from({length:3},(e,n)=>t+(n-1)),"...",l),a=Array.from({length:Math.min(l-t-2,u)},(e,n)=>t+n+2),s=Array.from({length:Math.min(t-3,u)},(e,t)=>t+2);break;case t-3<=t&&t<=l:let h=Array.from({length:5},(e,t)=>l-(4-t));o=[1,"..."].concat(h),a=[],s=Array.from({length:Math.min(h[0]-2,u)},(e,t)=>t+2)}this._adapter.setPageList({pageList:o,restLeftPageList:s,restRightPageList:a})}changePageSize(e){let{pageSize:t}=this.getStates();this._adapter.updatePageSize(e),this._adapter.notifyPageSizeChange(e);let{total:n,currentPage:i}=this.getStates(),r=Math.ceil(((i-1)*t+1)/e);this.updatePage(r,n,e),i!==r&&this._adapter.notifyPageChange(r),this._adapter.notifyChange(r,e)}handleKeyDown(){}pageSizeInOpts(){let{pageSizeOpts:e}=this.getProps(),{pageSize:t}=this.getStates(),n=[...e];if(-1===n.indexOf(t)){let e=n.findIndex(e=>e>t);n.splice(e,0,t)}return n}handleQuickJumpNumberChange(e){this._adapter.updateQuickJumpPage(e)}_handleQuickJump(e){let t=Number(e),{pageSize:n,total:i}=this.getStates(),r=this._getTotalPageNumber(i,n);if(!Number.isNaN(t))t>r&&(t=r),t<=0&&(t=1),this._adapter.updateQuickJumpPage(""),this.goPage(t)}handleQuickJumpBlur(){let{quickJumpPage:e}=this.getStates();("string"==typeof e&&e||"number"==typeof e)&&this._handleQuickJump(e)}handleQuickJumpEnterPress(e){this._handleQuickJump(e)}_getTotalPageNumber(e,t){return Math.ceil(e/t)}constructor(e){super(Object.assign({},e))}}t.Z=o},51050:function(e,t,n){"use strict";n.d(t,{v:function(){return r}}),n(117232),n(490629),n(228983),n(759943),n(527553),n(414931),n(374954),n(14275),n(683656);var i=n(508187);function r(e,t,n){try{let r=function(e,t,n){if(e.sort((e,t)=>e.percent-t.percent),e[0].percent>t)return i.j.STROKE_DEFAULT;let r=e[e.length-1];if(r.percent<t)return o(r.color);for(let[i,r]of e.entries()){if(r.percent===t)return o(r.color);if(t>r.percent)continue;let a=e[i-1];if(!n)return o(a.color);return function(e,t){let{startColor:n,endColor:i,size:r}=e,o=n.split(""),a=i.split(""),l=[parseInt(`${o[1]}${o[2]}`,16),parseInt(`${a[1]}${a[2]}`,16)],c=[parseInt(`${o[3]}${o[4]}`,16),parseInt(`${a[3]}${a[4]}`,16)],u=[parseInt(`${o[5]}${o[6]}`,16),parseInt(`${a[5]}${a[6]}`,16)],h=[parseInt(`${o[7]}${o[8]}`,16),parseInt(`${a[7]}${a[8]}`,16)],d=(l[0]-l[1])/(r+1),f=(c[0]-c[1])/(r+1),p=(u[0]-u[1])/(r+1),g=(h[0]-h[1])/(r+1);function m(e){let t=Math.round(l[0]-d*(e+1)).toString(16),n=Math.round(c[0]-f*(e+1)).toString(16),i=Math.round(u[0]-p*(e+1)).toString(16),r=`${v(t)}${v(n)}${v(i)}`,o=Math.floor(g*(e+1)+h[1]).toString(16);return s.Hex(`#${r}`,o)}function v(e){return 1===e.length?`0${e}`:0===e.length?"00":e}if(void 0===t){let e=[n];for(let t=0;t<r;t+=1)e.push(m(t));return e}return m(t)}({startColor:o(a.color),endColor:o(r.color),size:r.percent-a.percent-1},t-a.percent-1)}}(e,t,n);if(0!==r.length)return r}catch(e){}}function o(e){if(e=e.trim().toLowerCase(),a.hex.test(e))return s.Hex(e,void 0);if(a.hslA.test(e))return s.Hex(s.HslA(e),void 0);if(a.rgbA.test(e))return s.Hex(s.RgbA(e),void 0);if(a.semiDesignTokens.test(e))return -1!==l.ALONG.indexOf(e)?s.SemiDesignToken(e):-1!==l.SEQUENCE.indexOf(e)?s.SemiDesignToken(`${e}-5`):s.SemiDesignToken(`${e}`)}let s={Hex:(e,t)=>8===(e=e.replace("#","")).length?`#${e}`:6===e.length?`#${e}${t||"ff"}`:(3===e.length&&(e=e.split("").map(e=>e+e).join("")),`#${e}${t||"ff"}`),SemiDesignToken(e){if("undefined"==typeof window)return;let t=getComputedStyle(document.body).getPropertyValue(`--semi-${e}`);if(""===t)return;let n=`rgba(${t}, 1)`;return s.RgbA(n)},HslA(e){let t=a.hslA.exec(e),n=parseInt(t[2]),i=parseInt(t[3])/100,r=parseInt(t[4])/100,o=t[5],l=(1-Math.abs(2*r-1))*i,c=l*(1-Math.abs(n/60%2-1)),u=r-l/2,h=0,d=0,f=0;return 0<=n&&n<60?(h=l,d=c,f=0):60<=n&&n<120?(h=c,d=l,f=0):120<=n&&n<180?(h=0,d=l,f=c):180<=n&&n<240?(h=0,d=c,f=l):240<=n&&n<300?(h=c,d=0,f=l):300<=n&&n<360&&(h=l,d=0,f=c),h=Math.round((h+u)*255).toString(16),d=Math.round((d+u)*255).toString(16),f=Math.round((f+u)*255).toString(16),s.utils.pAL(h,d,f,o)},RgbA(e){let t=a.rgbA.exec(e),n=parseInt(t[2],10).toString(16),i=parseInt(t[3],10).toString(16),r=parseInt(t[4],10).toString(16),o=t[5];return s.utils.pAL(n,i,r,o)},utils:{pAL:(e,t,n,i)=>(1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),void 0!==i)?(1==(i=Math.round(255*parseInt(i)).toString(16)).length&&(i="0"+i),"#"+e+t+n+i):"#"+e+t+n}},a={hex:/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,hslA:/(hsl)a?\(\s*?(\d+),?\s*?(\d+)%,?\s*?(\d+)%,?\s*?\/?(\s*?[\d.]+)?\s*?\)/,rgbA:/(rgb)a?\(\s*?(\d+),?\s*?(\d+),?\s*?(\d+),?\s*?\/?(\s*?[\d.]+)?\s*?\)/,semiDesignTokens:/(\w+)?-?(\w+)-?(\d)?/},l={ALONG:["black","white"],SEQUENCE:["amber","blue","cyan","green","grey","indigo","light-blue","light-green","lime","orange","pink","purple","red","teal","violet","yellow"]}},423340:function(e,t,n){"use strict";n.d(t,{Sn:function(){return l},TQ:function(){return a},qY:function(){return c}}),n(932651),n(490629),n(559561),n(780582),n(14275),n(759943);var i=n(350856),r=n.n(i),o=n(104167),s=n(856445);class a extends s.Z{init(){this._adapter.registerEvents()}destroy(){this._adapter.unregisterEvents()}constructor(e){super(Object.assign({},e))}}class l extends s.Z{init(){}destroy(){}constructor(e){super(Object.assign({},e))}}class c extends s.Z{get groupRef(){return this._adapter.getGroupRef()}get groupSize(){let{direction:e}=this.getProps();return"horizontal"===e?this.groupRef.offsetWidth:this.groupRef.offsetHeight}init(){this.direction=this.getProp("direction"),this.itemMinusMap=new Map,this.itemPercentMap=new Map,this.initSpace()}get window(){var e;return null!==(e=this.groupRef.ownerDocument.defaultView)&&void 0!==e?e:null}destroy(){}constructor(e){super(Object.assign({},e)),this.registerEvents=()=>{this._adapter.registerEvents(this.type)},this.unregisterEvents=()=>{this._adapter.unregisterEvents(this.type)},this.onResizeStart=(e,t,n)=>{let i,r;this.type=n;let{clientX:s,clientY:a}=t,l=this._adapter.getItem(e),c=this._adapter.getItem(e+1),u=this.window.getComputedStyle(l),h=this.window.getComputedStyle(c);i=(0,o.os)(u,this.direction)+this.itemMinusMap.get(e),r=(0,o.os)(h,this.direction)+this.itemMinusMap.get(e+1);let d=("horizontal"===this.direction?l.offsetWidth:l.offsetHeight)+this.itemMinusMap.get(e),f=("horizontal"===this.direction?c.offsetWidth:c.offsetHeight)+this.itemMinusMap.get(e+1),p=this.getStates();this.setState({isResizing:!0,originalPosition:{x:s,y:a,lastItemSize:d,nextItemSize:f,lastOffset:i,nextOffset:r},backgroundStyle:Object.assign(Object.assign({},p.backgroundStyle),{cursor:this.window.getComputedStyle(t.target).cursor||"auto"}),curHandler:e}),this.registerEvents();let g=this._adapter.getItemStart(e),m=this._adapter.getItemStart(e+1),[v,b]=(0,o.fl)(this.direction);g&&g(t,v),m&&m(t,b)},this.onMouseMove=e=>{this.onResizing(e)},this.onTouchMove=e=>{e.preventDefault(),this.onResizing(e)},this.onResizing=e=>{let t=this.getStates();if(!t.isResizing)return;let{curHandler:n,originalPosition:i}=t,{x:r,y:s,lastItemSize:a,nextItemSize:l,lastOffset:c,nextOffset:u}=i,{clientX:h,clientY:d}="mouse"===this.type?e:e.targetTouches[0],{direction:f}=this.getProps(),p=this._adapter.getItem(n),g=this._adapter.getItem(n+1),m=this.groupSize,v="horizontal"===f?h-r:d-s,b=a+v,y=l-v,C=(0,o.kQ)(b,this._adapter.getItemMin(n),this._adapter.getItemMax(n),m,c),_=(0,o.kQ)(y,this._adapter.getItemMin(n+1),this._adapter.getItemMax(n+1),m,u);C&&(y=a+l-(b=(0,o.Bl)(b,this._adapter.getItemMin(n),this._adapter.getItemMax(n),m,c))),_&&(b=a+l-(y=(0,o.Bl)(y,this._adapter.getItemMin(n+1),this._adapter.getItemMax(n+1),m,u)));let x=this.itemPercentMap.get(n),w=this.itemPercentMap.get(n+1),S=b/m*100,E=x+w-S;this.itemPercentMap.set(n,S),this.itemPercentMap.set(n+1,E),"horizontal"===f?(p.style.width=`calc(${S}% - ${this.itemMinusMap.get(n)}px)`,g.style.width=`calc(${E}% - ${this.itemMinusMap.get(n+1)}px)`):"vertical"===f&&(p.style.height=`calc(${S}% - ${this.itemMinusMap.get(n)}px)`,g.style.height=`calc(${E}% - ${this.itemMinusMap.get(n+1)}px)`);let A=this._adapter.getItemChange(n),k=this._adapter.getItemChange(n+1),[I,O]=(0,o.fl)(this.direction);A&&A({width:p.offsetWidth,height:p.offsetHeight},e,I),k&&k({width:g.offsetWidth,height:g.offsetHeight},e,O)},this.onResizeEnd=e=>{let{curHandler:t}=this.getStates(),n=this._adapter.getItem(t),i=this._adapter.getItem(t+1),r=this._adapter.getItemEnd(t),s=this._adapter.getItemEnd(t+1),[a,l]=(0,o.fl)(this.direction);r&&r({width:n.offsetWidth,height:n.offsetHeight},e,a),s&&s({width:i.offsetWidth,height:i.offsetHeight},e,l),this.setState({isResizing:!1,curHandler:null}),this.unregisterEvents()},this.initSpace=()=>{let{direction:e}=this.getProps(),t=Array(this._adapter.getHandlerCount()).fill(0),n=this.groupSize;this.totalMinus=0;for(let n=0;n<this._adapter.getHandlerCount();n++){let i="horizontal"===e?this._adapter.getHandler(n).offsetWidth:this._adapter.getHandler(n).offsetHeight;t[n]=i,this.totalMinus+=i}let i=0,r=new Map,s=0;for(let a=0;a<this._adapter.getItemCount();a++){0===a?this.itemMinusMap.set(a,t[a]/2):a===this._adapter.getItemCount()-1?this.itemMinusMap.set(a,t[a-1]/2):this.itemMinusMap.set(a,t[a-1]/2+t[a]/2);let l=this._adapter.getItem(a),c=this._adapter.getItemMin(a),u=this._adapter.getItemMax(a),h=c?(0,o.jb)(c,n)/n*100:0,d=u?(0,o.jb)(u,n)/n*100:100,f=this._adapter.getItemDefaultSize(a);if(f){let t;if("string"==typeof f){if(f.endsWith("%"))t=parseFloat(f.slice(0,-1)),this.itemPercentMap.set(a,t);else if(f.endsWith("px"))t=parseFloat(f.slice(0,-2))/n*100,this.itemPercentMap.set(a,t);else if(/^-?\d+(\.\d+)?$/.test(f)){r.set(a,parseFloat(f)),s+=parseFloat(f);continue}}else if("number"==typeof f){r.set(a,f),s+=f;continue}i+=t,"horizontal"===e?l.style.width=`calc(${t}% - ${this.itemMinusMap.get(a)}px)`:l.style.height=`calc(${t}% - ${this.itemMinusMap.get(a)}px)`}else r.set(a,1),s+=1}let a=100-i;i>100&&(a=10),r.forEach((t,n)=>{let i=this._adapter.getItem(n),r=t/s*a;this.itemPercentMap.set(n,r),"horizontal"===e?i.style.width=`calc(${r}% - ${this.itemMinusMap.get(n)}px)`:i.style.height=`calc(${r}% - ${this.itemMinusMap.get(n)}px)`})},this.ensureConstraint=r()(()=>{let{direction:e}=this.getProps(),t=this._adapter.getItemCount(),n=!0;for(let i=0;i<t;i++){let r=this._adapter.getItem(i),s="horizontal"===e?r.offsetWidth:r.offsetHeight;if((0,o.kQ)(s,this._adapter.getItemMin(i),this._adapter.getItemMax(i),this.groupSize,this.itemMinusMap.get(i))){let a=(0,o.Bl)(s,this._adapter.getItemMin(i),this._adapter.getItemMax(i),this.groupSize,this.itemMinusMap.get(i));for(let s=i+1;s<t;s++){let l=this._adapter.getItem(s),c="horizontal"===e?l.offsetWidth:l.offsetHeight;if((0,o.kQ)(c,this._adapter.getItemMin(s),this._adapter.getItemMax(s),this.groupSize,this.itemMinusMap.get(s)))s===t-1&&(n=!1);else{let t=this.itemPercentMap.get(i),n=this.itemPercentMap.get(s),o=a/this.groupSize*100,c=t+n-o;this.itemPercentMap.set(i,o),this.itemPercentMap.set(s,c),"horizontal"===e?(r.style.width=`calc(${o}% - ${this.itemMinusMap.get(i)}px)`,l.style.width=`calc(${c}% - ${this.itemMinusMap.get(s)}px)`):(r.style.height=`calc(${o}% - ${this.itemMinusMap.get(i)}px)`,l.style.height=`calc(${c}% - ${this.itemMinusMap.get(s)}px)`);break}}}if(!n)break}},200)}}},166173:function(e,t,n){"use strict";n.d(t,{UX:function(){return r},j2:function(){return o}});var i=n(707852);let r={PREFIX:`${i.T}-transfer`},o={TYPE_GROUP_LIST:"groupList",TYPE_LIST:"list",TYPE_TREE_TO_LIST:"treeList"}},323320:function(e,t,n){"use strict";n(932651);var i=n(101199);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}let o=i.forwardRef(function(e,t){return i.createElement("svg",r({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,ref:t},e),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.373 9.83142C16.2869 9.83142 17.6218 9.83355 18.6289 9.96895C19.6073 10.1005 20.1254 10.3411 20.4944 10.7101C20.8634 11.0791 21.104 11.5972 21.2355 12.5756C21.3129 13.1512 21.3468 13.8337 21.3616 14.6703H21.8778C22.4697 14.6703 22.9541 14.6703 23.3622 14.6815C23.3467 13.7768 23.3091 12.9887 23.2177 12.3091C23.0563 11.1089 22.7111 10.0984 21.9086 9.29589C21.106 8.49334 20.0955 8.14814 18.8954 7.98679C17.7394 7.83138 16.2697 7.8314 14.4463 7.83142H14.4463H14.4462L14.373 7.83142H13.123L13.0738 7.83142C11.8299 7.83141 10.8268 7.8314 10.0186 7.9069C9.18538 7.98473 8.45861 8.14955 7.80253 8.54278C7.09726 8.96551 6.50713 9.55564 6.08441 10.2609C5.69117 10.917 5.52636 11.6438 5.44852 12.477C5.37303 13.2852 5.37303 14.2883 5.37305 15.5321V15.5321V15.5322V15.5814V15.6307V15.6307V15.6307C5.37303 16.8745 5.37303 17.8777 5.44852 18.6858C5.52636 19.5191 5.69117 20.2459 6.08441 20.9019C6.50713 21.6072 7.09726 22.1973 7.80253 22.6201C8.45861 23.0133 9.18539 23.1781 10.0186 23.256C10.8268 23.3314 11.8299 23.3314 13.0738 23.3314H13.1231H15.3051C15.1699 22.8486 15.1391 22.2571 15.1321 21.3314H13.1231C11.8184 21.3314 10.9089 21.3304 10.2047 21.2646C9.51491 21.2002 9.12413 21.0805 8.83074 20.9046C8.40758 20.651 8.0535 20.2969 7.79986 19.8737C7.62401 19.5803 7.50428 19.1896 7.43985 18.4998C7.37407 17.7956 7.37305 16.8861 7.37305 15.5814C7.37305 14.2768 7.37407 13.3672 7.43985 12.663C7.50428 11.9733 7.62401 11.5825 7.79986 11.2891C8.0535 10.866 8.40758 10.5119 8.83074 10.2582C9.12413 10.0824 9.51491 9.96266 10.2047 9.89823C10.9089 9.83244 11.8184 9.83142 13.123 9.83142H14.373ZM20.0756 16.6703L20.13 16.6703H22.627L22.6814 16.6703C23.1054 16.6702 23.5176 16.6701 23.8575 16.7158C24.2407 16.7673 24.678 16.8929 25.0412 17.2561C25.4044 17.6193 25.5299 18.0566 25.5814 18.4398C25.6271 18.7797 25.627 19.1918 25.627 19.6159L25.627 19.6703V21.1687L25.627 21.2231C25.627 21.6471 25.6271 22.0593 25.5814 22.3992C25.5299 22.7824 25.4044 23.2197 25.0412 23.5829C24.678 23.9461 24.2407 24.0716 23.8575 24.1231C23.5176 24.1688 23.1055 24.1688 22.6814 24.1687H22.6814L22.627 24.1687H20.13L20.0756 24.1687H20.0755C19.6515 24.1688 19.2394 24.1688 18.8995 24.1231C18.5163 24.0716 18.079 23.9461 17.7158 23.5829C17.3526 23.2197 17.2271 22.7824 17.1755 22.3992C17.1298 22.0593 17.1299 21.6472 17.13 21.2231V21.2231V21.2231L17.13 21.1687V19.6703L17.13 19.6159V19.6159V19.6159C17.1299 19.1918 17.1298 18.7797 17.1755 18.4398C17.2271 18.0566 17.3526 17.6193 17.7158 17.2561C18.079 16.8929 18.5163 16.7673 18.8995 16.7158C19.2394 16.6701 19.6515 16.6702 20.0756 16.6703H20.0756H20.0756ZM19.1587 18.699L19.1577 18.7063C19.1321 18.8965 19.13 19.1706 19.13 19.6703V21.1687C19.13 21.6683 19.1321 21.9425 19.1577 22.1327L19.1587 22.14L19.166 22.141C19.3562 22.1665 19.6303 22.1687 20.13 22.1687H22.627C23.1266 22.1687 23.4008 22.1665 23.591 22.141L23.5983 22.14L23.5993 22.1327C23.6248 21.9425 23.627 21.6683 23.627 21.1687V19.6703C23.627 19.1706 23.6248 18.8965 23.5993 18.7063L23.5983 18.699L23.591 18.698C23.4008 18.6724 23.1266 18.6703 22.627 18.6703H20.13C19.6303 18.6703 19.3562 18.6724 19.166 18.698L19.1587 18.699ZM9.67161 12.8317L10.8737 11.6296L13.5848 14.3407V13.0946V12.2446H15.2848V13.0946V14.3946L15.2848 14.4434C15.2848 14.8726 15.2849 15.2755 15.2406 15.6051C15.1913 15.9717 15.0736 16.372 14.7429 16.7027C14.4122 17.0334 14.0119 17.1511 13.6453 17.2004C13.3157 17.2447 12.9128 17.2447 12.4836 17.2446L12.4348 17.2446H11.1348H10.2848V15.5446H11.1348H12.3845L9.67161 12.8317Z",fill:"currentColor"}))});o.elementType="Icon",t.Z=o},108751:function(e,t,n){"use strict";n(932651);var i=n(101199);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}let o=i.forwardRef(function(e,t){return i.createElement("svg",r({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,ref:t},e),i.createElement("path",{d:"M9 12C7.89543 12 7 12.8955 7 14V18C7 19.1046 7.89543 20 9 20H10L14.3598 23.6332C15.0111 24.176 16 23.7128 16 22.865V9.13509C16 8.28725 15.0111 7.8241 14.3598 8.36687L10 12H9Z",fill:"currentColor"}),i.createElement("path",{d:"M18 13.0001L18 19C19.6569 19 21 17.6569 21 16.0001C21 14.3432 19.6569 13.0001 18 13.0001Z",fill:"currentColor"}),i.createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M18 8.26587C22.0472 8.52358 25.25 11.8878 25.25 16C25.25 20.1122 22.0472 23.4764 18 23.7341V21.2265C20.665 20.9747 22.75 18.7309 22.75 16C22.75 13.2691 20.665 11.0253 18 10.7735V8.26587Z",fill:"currentColor"}))});o.elementType="Icon",t.Z=o},781675:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(629686),r=n(402748),o=n(320165);n(101199);var s=e=>(0,o.jsx)("svg",(0,r._)((0,i._)({xmlns:"http://www.w3.org/2000/svg",width:33,height:32,fill:"none",viewBox:"0 0 33 32"},e),{children:(0,o.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M10.142 13.75a4 4 0 0 0 4-4v-1.5h-2v1.5a2 2 0 0 1-2 2h-1.5v2h1.5Zm13.5 0a4 4 0 0 1-4-4v-1.5h2v1.5a2 2 0 0 0 2 2h1.5v2h-1.5Zm-9.5 8.5a4 4 0 0 0-4-4h-1.5v2h1.5a2 2 0 0 1 2 2v1.5h2v-1.5Zm9.5-4a4 4 0 0 0-4 4v1.5h2v-1.5a2 2 0 0 1 2-2h1.5v-2h-1.5Z",clipRule:"evenodd"})}))},374371:function(e,t,n){"use strict";n(679308),n.e("36049").then(n.bind(n,801923)),n.e("36049").then(n.bind(n,522573)),n.e("36049").then(n.bind(n,735608)),n.e("36049").then(n.bind(n,825710)),n.e("36049").then(n.bind(n,671195)),n.e("36049").then(n.bind(n,66425)),n.e("36049").then(n.bind(n,787831)),n.e("36049").then(n.bind(n,595980)),n.e("36049").then(n.bind(n,619619)),n.e("36049").then(n.bind(n,138440)),n.e("36049").then(n.bind(n,915669)),n.e("36049").then(n.bind(n,571508)),n.e("36049").then(n.bind(n,869275)),n.e("36049").then(n.bind(n,26604)),n.e("36049").then(n.bind(n,415134)),n.e("36049").then(n.bind(n,945173)),n.e("36049").then(n.bind(n,621401)),n.e("36049").then(n.bind(n,695755)),n.e("36049").then(n.bind(n,526317)),n.e("36049").then(n.bind(n,530266)),n.e("36049").then(n.bind(n,586441)),n.e("36049").then(n.bind(n,983190)),n.e("36049").then(n.bind(n,304495)),n.e("36049").then(n.bind(n,310443)),n.e("36049").then(n.bind(n,105345)),n.e("36049").then(n.bind(n,180388)),n.e("36049").then(n.bind(n,766903)),n.e("36049").then(n.bind(n,364759)),n.e("36049").then(n.bind(n,631214)),n.e("36049").then(n.bind(n,24913)),n.e("36049").then(n.bind(n,893933)),n.e("36049").then(n.bind(n,140939)),n.e("36049").then(n.bind(n,524491)),n.e("36049").then(n.bind(n,315659)),n.e("36049").then(n.bind(n,51600)),n.e("36049").then(n.bind(n,522030)),n.e("36049").then(n.bind(n,865525)),n.e("36049").then(n.bind(n,593870)),n.e("36049").then(n.bind(n,130289)),n.e("36049").then(n.bind(n,497409)),n.e("36049").then(n.bind(n,631056)),n.e("36049").then(n.bind(n,588386)),n.e("36049").then(n.bind(n,93458)),n.e("36049").then(n.bind(n,225479)),n.e("36049").then(n.bind(n,769591)),n.e("36049").then(n.bind(n,124653))},334803:function(e,t,n){"use strict";n(679308),n.e("49447").then(n.bind(n,522573)),n.e("49447").then(n.bind(n,735608)),n.e("49447").then(n.bind(n,825710)),n.e("49447").then(n.bind(n,671195)),n.e("49447").then(n.bind(n,66425)),n.e("49447").then(n.bind(n,787831)),n.e("49447").then(n.bind(n,595980)),n.e("49447").then(n.bind(n,619619)),n.e("49447").then(n.bind(n,138440)),n.e("49447").then(n.bind(n,915669)),n.e("49447").then(n.bind(n,571508)),n.e("49447").then(n.bind(n,869275)),n.e("49447").then(n.bind(n,26604)),n.e("49447").then(n.bind(n,415134)),n.e("49447").then(n.bind(n,945173)),n.e("49447").then(n.bind(n,621401)),n.e("49447").then(n.bind(n,695755)),n.e("49447").then(n.bind(n,526317)),n.e("49447").then(n.bind(n,530266)),n.e("49447").then(n.bind(n,586441)),n.e("49447").then(n.bind(n,983190)),n.e("49447").then(n.bind(n,304495)),n.e("49447").then(n.bind(n,310443)),n.e("49447").then(n.bind(n,105345)),n.e("49447").then(n.bind(n,180388)),n.e("49447").then(n.bind(n,766903)),n.e("49447").then(n.bind(n,364759)),n.e("49447").then(n.bind(n,631214)),n.e("49447").then(n.bind(n,24913)),n.e("49447").then(n.bind(n,893933)),n.e("49447").then(n.bind(n,140939)),n.e("49447").then(n.bind(n,524491)),n.e("49447").then(n.bind(n,315659)),n.e("49447").then(n.bind(n,51600)),n.e("49447").then(n.bind(n,522030)),n.e("49447").then(n.bind(n,865525)),n.e("49447").then(n.bind(n,593870)),n.e("49447").then(n.bind(n,130289)),n.e("49447").then(n.bind(n,497409)),n.e("49447").then(n.bind(n,631056)),n.e("49447").then(n.bind(n,588386)),n.e("49447").then(n.bind(n,93458)),n.e("49447").then(n.bind(n,225479)),n.e("49447").then(n.bind(n,769591)),n.e("49447").then(n.bind(n,124653)),n.e("49447").then(n.bind(n,570150))},198128:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var i=n(27543);class r extends i.R{constructor(e,t){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e},this.enter=e,this.leave=t}visit(e,t,n,i){if(e){let r;if(this.enter){let r=this.should_skip,o=this.should_remove,s=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,n,i),this.replacement&&(e=this.replacement,this.replace(t,n,i,e)),this.should_remove&&this.remove(t,n,i);let a=this.should_skip,l=this.should_remove;if(this.should_skip=r,this.should_remove=o,this.replacement=s,a)return e;if(l)return null}for(r in e){let t=e[r];if(t&&"object"==typeof t){if(Array.isArray(t))for(let n=0;n<t.length;n+=1){let i=t[n];o(i)&&!this.visit(i,e,r,n)&&n--}else o(t)&&this.visit(t,e,r,null)}}if(this.leave){let r=this.replacement,o=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,n,i),this.replacement&&(e=this.replacement,this.replace(t,n,i,e)),this.should_remove&&this.remove(t,n,i);let s=this.should_remove;if(this.replacement=r,this.should_remove=o,s)return null}}return e}}function o(e){return null!==e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type}},421027:function(e,t,n){"use strict";function i(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)e[i]=n[i]}return e}n.d(t,{Z:function(){return r}});var r=function e(t,n){function r(e,r,o){if("undefined"!=typeof document){"number"==typeof(o=i({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in o){if(!o[a])continue;if(s+="; "+a,!0!==o[a])s+="="+o[a].split(";")[0]}return document.cookie=e+"="+t.write(r,e)+s}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||!!e)){for(var n=document.cookie?document.cookie.split("; "):[],i={},r=0;r<n.length;r++){var o=n[r].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(i[a]=t.read(s,a),e===a)break}catch(e){}}return e?i[e]:i}},remove:function(e,t){r(e,"",i({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,i({},this.attributes,t))},withConverter:function(t){return e(i({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},753116:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var i=n(900312);function r(e,t){let n={href:(0,i.F)(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}},469980:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var i=n(145552);function r(e,t,n,r){return(e.children.some(function(e){return(0,i.w)(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}},355965:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var i=n(918395),r=n(166950),o=n(158489);function s(e){let t={},n={};for(let[o,s]of Object.entries(e.properties)){let a=new r.I(o,e.transform(e.attributes||{},o),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(a.mustUseProperty=!0),t[o]=a,n[(0,i.F)(o)]=o,n[(0,i.F)(a.attribute)]=o}return new o.V(t,n,e.space)}},47005:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});let i=function(e){let t=this.constructor.prototype,n=t[e],i=function(){return n.apply(i,arguments)};return Object.setPrototypeOf(i,t),i}},816705:function(e,t,n){"use strict";n.d(t,{e:function(){return r},g:function(){return i}}),n(112459),n(759943),n(362051);let i=e=>{let{pathname:t,search:n,timestamp:i,type:r,intersection:o=0}=e;return JSON.stringify({pathname:t,search:n,timestamp:i,type:r,intersection:"initial"===r?0:o})},r=e=>encodeURIComponent(JSON.stringify({pathname:e.pathname,search:e.search,type:e.type,intersection:e.intersection}))},440755:function(e,t,n){"use strict";n.d(t,{u:function(){return l}}),n(490629),n(374954);var i=n(353833),r=n(239501),o=n(711924),s=n(391257),a=i.S&&1/(0,i.s)(new i.S([,-0]))[1]==1/0?function(e){return new i.S(e)}:s.n;function l(e,t){return e&&e.length?function(e,t,n){var s=-1,l=o.b,c=e.length,u=!0,h=[],d=h;if(c>=200){var f=t?null:a(e);if(f)return(0,i.s)(f);u=!1,l=r.f,d=new r.S}else d=t?[]:h;t:for(;++s<c;){var p=e[s],g=t?t(p):p;if(p=n||0!==p?p:0,u&&g==g){for(var m=d.length;m--;)if(d[m]===g)continue t;t&&d.push(g),h.push(p)}else!l(d,g,n)&&(d!==h&&d.push(g),h.push(p))}return h}(e,(0,i.b)(t)):[]}},411372:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var i=n(818652);function r(e){(0,i.K)(e)}},492806:function(e,t,n){"use strict";n.d(t,{M:function(){return r}}),n(679308),n(490629);var i=n(660672);let r=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{let{to:t}=e;if(t)return(0,i.f)({to:t}).then(e=>{Promise.all(e.map(e=>n.e(e)))}).catch(e=>{})}catch(e){}}},196155:function(e,t,n){"use strict";n.d(t,{K:function(){return r},W:function(){return o}}),n(679308);let i=Object.getPrototypeOf(r).constructor;async function r(e,t){return new i(String(e))(t)}function o(e,t){return Function(String(e))(t)}}}]);