2 lines
102 KiB
Plaintext
2 lines
102 KiB
Plaintext
/*! For license information please see 25380.7617d95b.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<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t,n){if(n||2==arguments.length)for(var r,i=0,s=t.length;i<s;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var r=/[^a-zA-Z0-9\\_:.-]/gim,i=/</g,s=/>/g,o=/&#([a-zA-Z0-9]*);?/gim,a=/"/g,l=/:?/gim,c=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,d=/u\s*r\s*l\s*\(.*/gi,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(s,">")},g={indexOf:function(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1},forEach:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},some:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,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=[],r=0;r<e.length;r++)t[e[r]]||(n.push(e[r]),t[e[r]]=!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 x(e){var t,n,r,i,s,o,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 r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&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<e.length;)i=(t=e.charCodeAt(u++))>>2,s=(3&t)<<4|(n=e.charCodeAt(u++))>>4,o=(15&n)<<2|(r=e.charCodeAt(u++))>>6,a=63&r,isNaN(n)?o=a=64:isNaN(r)&&(a=64),c=c+l.charAt(i)+l.charAt(s)+l.charAt(o)+l.charAt(a);return c}function y(e){var t,n,r,i,s,o,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c<e.length;)t=a.indexOf(e.charAt(c++))<<2|(i=a.indexOf(e.charAt(c++)))>>4,n=(15&i)<<4|(s=a.indexOf(e.charAt(c++)))>>2,r=(3&s)<<6|(o=a.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==s&&(l+=String.fromCharCode(n)),64!==o&&(l+=String.fromCharCode(r));return function(e){for(var t="",n=0,r=0,i=0,s=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(t+=String.fromCharCode((31&r)<<6|63&(s=e.charCodeAt(n+1))),n+=2):(s=e.charCodeAt(n+1),t+=String.fromCharCode((15&r)<<12|(63&s)<<6|63&(i=e.charCodeAt(n+2))),n+=3);return t}(l)}function b(e,t,n){var r="",i=0,s=!1,o=!1,a=0,l=e.length,c="",u="";e:for(a=0;a<l;a++){var d=e.charAt(a);if(!1===s){if("<"===d){s=a;continue}}else if(!1===o){if("<"===d){r+=n(e.slice(i,a)),s=a,i=a;continue}if(">"===d||a===l-1){r+=n(e.slice(i,s)),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(s,a+1)),r+=t(s,r.length,c,u,"</"===u.slice(0,2)),i=a+1,s=!1;continue}if('"'===d||"'"===d)for(var h=1,p=e.charAt(a-h);""===p.trim()||"="===p;){if("="===p){o=d;continue e}p=e.charAt(a-++h)}}else if(d===o){o=!1;continue}}return i<l&&(r+=n(e.substr(i))),r}function S(e,t){var n=0,i=0,s=[],o=!1,a=e.length;function l(e,n){if(!((e=(e=g.trim(e)).replace(r,"").toLowerCase()).length<1)){var i=t(e,n||"");i&&s.push(i)}}for(var c=0;c<a;c++){var u=e.charAt(c),d=void 0;if(!1!==o||"="!==u){if(!1===o||c!==i){if(/\s|\n|\t/.test(u)){if(e=e.replace(/\s|\n|\t/g," "),!1===o){if(-1===(d=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))),o=!1,n=c+1;continue}c=d-1;continue}if(-1===(d=function(e,t){for(;t>0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){l(o,v(g.trim(e.slice(n,c)))),o=!1,n=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;l(o,g.trim(e.slice(i+1,d))),o=!1,n=(c=d)+1}}else o=e.slice(n,c),n=c+1,i='"'===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===o?l(e.slice(n)):l(o,v(g.trim(e.slice(n))))),g.trim(s.join(" "))}function w(e,t,n){if(n=function(e){return e=function(e){for(var t="",n=0,r=e.length;n<r;n++)t+=32>e.charCodeAt(n)?" ":e.charAt(n);return g.trim(t)}(e=(e=(e=e.replace(a,'"')).replace(o,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&&(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 E=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},C=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=w,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,s,o,a=this.options,l=a.whiteList,c=a.onTag,u=a.onIgnoreTag,d=a.onTagAttr,h=a.onIgnoreTagAttr,p=a.safeAttrValue,f=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 r=e.indexOf("\x3c!--",n);if(-1===r){t+=e.slice(n);break}t+=e.slice(n,r);var i=e.indexOf("--\x3e",r);if(-1===i)break;n=i+3}return t}(e));var m=!1;a.stripIgnoreTagBody&&(n=a.stripIgnoreTagBody,"function"!=typeof(r=u)&&(r=function(){}),i=!Array.isArray(n),s=[],o=!1,u=(m={onIgnoreTag:function(e,t,a){var l;if(l=e,i||-1!==g.indexOf(n,l)){if(a.isClosing){var c="[/removed]",u=a.position+c.length;return s.push([!1!==o?o:a.position,u]),o=!1,c}return o||(o=a.position),"[removed]"}return r(e,t,a)},remove:function(e){var t="",n=0;return g.forEach(s,function(r){t+=e.slice(n,r[0]),n=r[1]}),t+=e.slice(n)}}).onIgnoreTag);var v=b(e,function(e,t,n,r,i){var s={sourcePosition:e,position:t,isClosing:i,isWhite:Object.prototype.hasOwnProperty.call(l,n)},o=c(n,r,s);if(null!=o)return o;if(s.isWhite){if(s.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}}(r),m=l[n],v=S(a.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)),a.closing&&(r+=" /"),r+=">"}return null==(o=u(n,r,s))?f(r):o},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")(),T=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 s=(k.Slardar.config()||{}).bid;if(s)return s}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: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),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}()),_=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);r<i.length;r++)n(i[r]);return{count:t,ret:e}};function O(e,t){return T.setConfig(t),new C(t).process(e)}function R(e){var t,n=(t=/\s|\n|\t/.exec(e))?t.index:-1;if(-1===n)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=e.slice(n+1,-1).trim())[e.length-1];return r&&(e=e.slice(0,-1).trim()),{html:e,closing:r}}var P=function(e){return -1===(e=(e=(e=(e=e.replace(/:/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,r){return String.fromCharCode(t?parseInt(n,16):parseInt(r))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function I(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=P(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 r=["data:application","data:javascript","data:text/html","data:texthtml"];if(g.some(r,function(t){return -1!==e.indexOf(t)}))return g.forEach(r,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 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)||I(e,t))return e;try{if(!0===(i=JSON.parse(i))||"true"===i){var s=new URL(e);return s.origin+s.pathname}}catch(e){}return"#"};function L(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!I(e=P(e)))return!1;var i,s={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]},o=s.scheme,a=s.host;return r?!!r(e):!(!o||!a)&&(!g.includes(["http","https","file"],o)||("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 N={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},j={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=_(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?j.domainWhiteList&&Array.isArray(j.domainWhiteList)&&j.domainWhiteList.length>0&&!L(r,n([],j.domainWhiteList,!0))?"":"".concat(t,'="').concat(A(r,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(r,'"'):(j.collect.whiteList[e]=j.collect.whiteList[e]||[],void j.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;b(t,function(e,t,n,r){S(R(r).html.replace("/",""),function(e){j.collect.whiteList[n]=j.collect.whiteList[n]||[],j.collect.whiteList[n].push(e)})},f)},whiteList:N,mergeWhiteList:function(e){for(var t,n={},r=0,i=g.keys(N);r<i.length;r++)n[t=i[r]]=g.from(N[t]);for(var s=0,o=g.keys(e);s<o.length;s++)n[t=o[s]]=t in N?N[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 r=n[t];this.whiteList[r]=r in N?N[r].concat(e[r]):g.from(e[r])}}};try{var J={},M="merge";g.includes(M,"override")&&(j.whiteList=J.whiteList),g.includes(M,"merge")&&j.setWhiteList(J.whiteList)}catch(e){}var D=function(e,t){for(var n={},r=0,i=g.keys(e);r<i.length;r++){var s=i[r];Array.isArray(e[s])?n[s]=g.from(e[s]):n[s]=D({},e[s])}for(var o=0,a=g.keys(t);o<a.length;o++)(s=a[o])in e?Array.isArray(e[s])?n[s]=e[s].concat(t[s]):n[s]=D(e[s],t[s]):Array.isArray(t[s])?n[s]=g.from(t[s]):n[s]=D({},t[s]);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 Z={};Z.blackAttrRegExps&&(Z.blackAttrRegExps=Z.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var F="merge";g.includes(F,"override")&&($=Z),g.includes(F,"merge")&&($=D($,Z))}catch(e){}var V={mode:"black",whiteList:{},blackConfig:$,collect:null,initCollect:function(){V.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=_(V.collect),t=e.count,n=e.ret;return V.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"black"}},onIgnoreTag:function(e,t){var n;if(!g.includes($.blackTags,e))return b(t,function(e,t,n,r,i){if(-1!==n.indexOf("/"))return f(r);if(i)return"</".concat(n,">");var s=R(r),o=S(s.html,function(e,t){var r,i=0;if($.blackList[n]&&g.includes($.blackList[n],e)&&(V.collect.blackList[n]=V.collect.blackList[n]||[],V.collect.blackList[n].push(e),i++),$.blackAttrRegExps.length&&$.blackAttrRegExps.some(function(t){return t.test(e)})&&g.forEach($.blackAttrRegExps,function(t){t.test(e)&&(V.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),$.blackAttrs.length&&g.includes($.blackAttrs,e)&&($.blackAttrs.push(e),i++),!i){if($.filterList&&$.filterList[n]&&g.includes($.filterList[n],e)){var s=A(t,function(e){var t;null===(t=V.collect)||void 0===t||t.filterProtocol.push(e)});return s!==t&&(V.collect.filterList[n]=V.collect.filterList[n]||[],V.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(s,"'"):e}return $.filterAttrs&&g.includes($.filterAttrs,e)?((s=A(t,function(e){var t;null===(t=V.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=V.collect)||void 0===r||r.filterAttrs.push(e)),t?"".concat(e,"='").concat(s,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return r="<".concat(n),o&&(r+=" ".concat(o)),s.closing&&(r+=" /"),r+=">"},f);null===(n=V.collect)||void 0===n||n.blackTags.push(e)}},K=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")},B=function(e){return function(n,r,i){if(!n||"string"!=typeof n)return n;var s=r;e===O&&(s=j).initCollect();var o=e(n,s);if(E(o)===E(n))return n;if(!i)return o;var a=i.logType,l=K(i),c=s.removeCollect();return T.report(t(t({type:a,disposition:l},c),{sourceText:x(n),filterText:x(o)})),"enforce"===l?o:n}},H=B(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 C(t).process(e)}),X=B(O),W=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 s=t||n||{};if(!s)return i;var o=s.logType,a=K(n);return T.report({type:o,disposition:a,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:x(e),filterText:x(i)}),"enforce"===a?i:e},U=k._xssProject||{},z=k.xssNamespace||{},Y="3.0.26",q={FilterXSS:C,version:Y,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:H,_filterXSS:X,filterUrl:W,Config:j,BlackConfig:V,project:U,setProjectName:function(e){U[e]=this,k._xssProjectName=e}};z.douyin_web=q,k.xssNamespace=z,k.Math&&!k.Math.xssNamespace&&(k.Math.xssNamespace=z),U[Y]=q,k.globalThis=k,k.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:q},k.xss=q,k.isSafeUrl=L,k.isSafeDomain=L,k.isSafeProtocol=I,k._xssProject=U,k._xssProjectName&&(U[k._xssProjectName]=q);var G=q.setProjectName.bind(q);e.BlackConfig=V,e.Config=j,e.FilterXSS=C,e._filterXSS=X,e.filterUrl=W,e.filterXSS=H,e.isSafeDomain=L,e.isSafeProtocol=I,e.isSafeUrl=L,e.project=U,e.setProjectName=G,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;z[t]=q;j.bid=n,j.region=r,j.enabled=!0},e.xssNamespace=z,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["25380"],{844609:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let s=(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 4C5 4 1 10 1 12s4 8 11 8 11-6 11-8-4-8-11-8Zm5 8a5 5 0 1 1-10 0 5 5 0 0 1 10 0Zm-5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",fill:"currentColor"}))},"eye_opened");t.Z=s},394287:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let s=(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.66 3.44 8.97 7.8a1 1 0 0 1 0 1.51l-8.97 7.81A1 1 0 0 1 8 19.81V4.19a1 1 0 0 1 1.66-.75Z",fill:"currentColor"}))},"tree_triangle_right");t.Z=s},600737:function(e,t,n){"use strict";n.d(t,{TO:function(){return i},km:function(){return o},wB:function(){return s}});var r=0,i="@annie/web",s=function(){return"".concat(i,"_").concat(Math.random().toString(36).slice(2),"_").concat(r++)},o=Math.random().toString(36).slice(2)},893876:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(101199),i=n(59850),s=(0,n(366741).J)();function o(e,t){var n=s.on,o=s.off,a=s.emit,l=(0,r.useRef)(!1),c=(0,i.Z)(function(){t&&t.apply(void 0,arguments)}),u=(0,i.Z)(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];a.apply(void 0,[e].concat(n))}),d=(0,i.Z)(function(){!l.current&&(n(e,c),l.current=!0)}),h=(0,i.Z)(function(){o(e,c),l.current=!1});return((0,r.useEffect)(function(){return d(),function(){h()}},[]),t)?{trigger:u,unsubscribe:h,subscribe:d}:{trigger:u}}},280647:function(e,t,n){"use strict";var r=n(101199);t.Z=function(e,t){var n=(0,r.useRef)(!1);(0,r.useEffect)(function(){return n.current?e():(n.current=!0,function(){})},t)}},503770:function(e,t){"use strict";var n=!!("undefined"!=typeof window&&window.document&&window.document.createElement);t.Z=n},892563:function(e,t,n){var r,i;r=0,i=function(e){var t,n;t=e.lib.Base,n=e.enc.Utf8,e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=n.parse(t));var r=e.blockSize,i=4*r;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var s=this._oKey=t.clone(),o=this._iKey=t.clone(),a=s.words,l=o.words,c=0;c<r;c++)a[c]^=1549556828,l[c]^=909522486;s.sigBytes=o.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})},e.exports=i(n(776340))},201208:function(e,t,n){"use strict";var r=n(177405).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(1,arguments);var t=(0,i.default)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,s.default)(n)};var i=r(n(475235)),s=r(n(24247)),o=r(n(826204));e.exports=t.default},370588:function(e,t){"use strict";var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.Z=function(e,t,r,i){return n[e]}},58136:function(e){"use strict";e.exports=function(){}},325146:function(e,t,n){var r=n(440226);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},694859:function(e,t,n){var r=n(857513),i=n(821154),s=n(431356),o=n(187985),a=1/0,l=r?r.prototype:void 0,c=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(s(t))return i(t,e)+"";if(o(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n}},412818:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},971057:function(e,t,n){var r=n(585126);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},71079:function(e){var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+t+"]",s="(?:\ud83c[\udde6-\uddff]){2}",o="[\ud800-\udbff][\udc00-\udfff]",a="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",c="(?:\\u200d(?:"+[i,s,o].join("|")+")"+l+a+")*",u=RegExp(r+"(?="+r+")|"+("(?:"+[i+n+"?",n,s,o,"["+t+"]"].join("|")+")")+(l+a+c),"g");e.exports=function(e){for(var t=u.lastIndex=0;u.test(e);)++t;return t}},410082:function(e,t,n){var r=n(710603);e.exports=function(e,t){return r(e,5,t="function"==typeof t?t:void 0)}},85079:function(e,t,n){var r=n(370477),i=n(867924),s=n(749148),o=n(431356),a=n(293137),l=n(20833),c=n(861577),u=n(778457),d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(a(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||s(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(c(e))return!r(e).length;for(var n in e)if(d.call(e,n))return!1;return!0}},212515:function(e,t,n){"use strict";e.exports=s;var r=n(78155);(s.prototype=Object.create(r.prototype)).constructor=s;var i=n(570581);function s(e){r.call(this,e)}s._configure=function(){i.Buffer&&(s.prototype._slice=i.Buffer.prototype.slice)},s.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},s._configure()},65573:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},419084:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(let n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.int=function(e){return parseInt(e,10)},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)}},341429:function(e,t,n){"use strict";n.d(t,{Z:function(){return o},w:function(){return a}});var r="undefined"!=typeof window&&window.location&&window.location.href.indexOf("xgplayerdebugger=1")>-1,i={info:"color: #525252; background-color: #90ee90;",error:"color: #525252; background-color: red;",warn:"color: #525252; background-color: yellow; "},s="%c[xgplayer]",o={config:{debug:r?3:1},logInfo:function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this.config.debug>=3&&(t=console).log.apply(t,[s,i.info,e].concat(r))},logWarn:function(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this.config.debug>=1&&(t=console).warn.apply(t,[s,i.warn,e].concat(r))},logError:function(e){if(!(this.config.debug<1)){for(var t,n=this.config.debug>=2?"trace":"error",r=arguments.length,o=Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];(t=console)[n].apply(t,[s,i.error,e].concat(o))}}};function a(e){e.logInfo=o.logInfo.bind(e),e.logWarn=o.logWarn.bind(e),e.logError=o.logError.bind(e)}},981896:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,r={android:/(Android)\s([\d.]+)/,ios:/(Version)\/([\d.]+)/},i=["avc1.42E01E, mp4a.40.2","avc1.58A01E, mp4a.40.2","avc1.4D401E, mp4a.40.2","avc1.64001E, mp4a.40.2","avc1.42E01E","mp4v.20.8","avc1.42E01E, mp4a.40.2","avc1.58A01E, mp4a.40.2","avc1.4D401E, mp4a.40.2","avc1.64001E, mp4a.40.2","mp4v.20.8, mp4a.40.2","mp4v.20.240, mp4a.40.2"],s={get device(){return s.os.isPc?"pc":"mobile"},get browser(){if("undefined"==typeof navigator)return"";var o=navigator.userAgent.toLowerCase(),a={ie:/rv:([\d.]+)\) like gecko/,firefox:/firefox\/([\d.]+)/,chrome:/chrome\/([\d.]+)/,opera:/opera.([\d.]+)/,safari:/version\/([\d.]+).*safari/};return[].concat(Object.keys(a).filter(function(e){return a[e].test(o)}))[0]},get os(){if("undefined"==typeof navigator)return{};var l=navigator.userAgent,c=/(?:Windows Phone)/.test(l),u=/(?:SymbianOS)/.test(l)||c,d=/(?:Android)/.test(l),h=/(?:Firefox)/.test(l),p=/(?:iPad|PlayBook)/.test(l)||d&&!/(?:Mobile)/.test(l)||h&&/(?:Tablet)/.test(l),f=/(?:iPhone)/.test(l)&&!p,g=/(?:iPad|PlayBook)/.test(l);return{isTablet:p,isPhone:f,isIpad:g,isIos:f||g,isAndroid:d,isPc:!f&&!d&&!u&&!p,isSymbian:u,isWindowsPhone:c,isFireFox:h}},get osVersion(){if("undefined"==typeof navigator)return 0;var m=navigator.userAgent,v="",x=(v=/(?:iPhone)|(?:iPad|PlayBook)/.test(m)?r.ios:r.android)?v.exec(m):[];if(x&&x.length>=3){var y=x[2].split(".");return y.length>0?parseInt(y[0]):0}return 0},get isWeixin(){if("undefined"==typeof navigator)return!1;if(/(micromessenger)\/([\d.]+)/.exec(navigator.userAgent.toLocaleLowerCase()))return!0;return!1},isSupportMP4:function(){var e={isSupport:!1,mime:""};if("undefined"==typeof document)return e;if(this.supportResult)return this.supportResult;var t=document.createElement("video");return"function"==typeof t.canPlayType&&i.map(function(n){"probably"===t.canPlayType('video/mp4; codecs="'.concat(n,'"'))&&(e.isSupport=!0,e.mime+="||".concat(n))}),this.supportResult=e,t=null,e},isHevcSupported:function(){return"undefined"!=typeof MediaSource&&!!MediaSource.isTypeSupported&&(MediaSource.isTypeSupported('video/mp4;codecs="hev1.1.6.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.2.4.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.3.E.L120.90"')||MediaSource.isTypeSupported('video/mp4;codecs="hev1.4.10.L120.90"'))},probeConfigSupported:function(e){var t={supported:!1,smooth:!1,powerEfficient:!1};if(!e||"undefined"==typeof navigator)return Promise.resolve(t);if(navigator.mediaCapabilities&&navigator.mediaCapabilities.decodingInfo)return navigator.mediaCapabilities.decodingInfo(e);var n=e.video||{},r=e.audio||{};try{var i=MediaSource.isTypeSupported(n.contentType),s=MediaSource.isTypeSupported(r.contentType);return Promise.resolve({supported:i&&s,smooth:!1,powerEfficient:!1})}catch(e){return Promise.resolve(t)}},isHdrSupported:function(){if("function"==typeof matchMedia){var e=matchMedia("(dynamic-range: high)"),t=matchMedia("not supported query");return e.media!==t.media&&!0===e.matches}return!1},isDolbyHdrSupported:function(){if("undefined"==typeof MediaSource||!MediaSource.isTypeSupported)return!1;var e=function(){if("undefined"!=typeof navigator){var e=null;if(void 0===n){var t=navigator.userAgent.toLowerCase();n=/chrome\/([\d.]+)/.exec(t)}if((e=n)&&e[1]&&parseInt(e[1].split(".")[0])>=122)return!0}return!1};return s.isHdrSupported()&&(MediaSource.isTypeSupported('video/mp4;codecs="dvh1.08.07"')||MediaSource.isTypeSupported('video/mp4;codecs="hvc1.2.4.L150.90"')&&e())}};t.default=s},885534:function(e,t,n){"use strict";n.r(t)},588386:function(e,t,n){"use strict";n.r(t)},865525:function(e,t,n){"use strict";n.r(t)},735608:function(e,t,n){"use strict";n.r(t)},560909:function(e){e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},42531:function(e,t,n){"use strict";n(706056),n(932651),n(490629),n(679308),n(374954),n(591964),n(112459),n(759943);var r=n(812958),i=n.n(r),s=n(795233),o=n.n(s),a=n(243392),l=n.n(a),c=n(390063),u=n.n(c),d=n(85079),h=n.n(d),p=n(22186),f=n.n(p),g=n(876553),m=n.n(g),v=n(640525),x=n.n(v),y=n(101199),b=n(890710),S=n(469935),w=n.n(S),E=n(622689),C=n.n(E),k=n(184849),T=n(363029),_=n(932083);n(176746);var O=n(329206),R=n(343388),P=n(140428),I=n(933057),A=n(230720),L=n(426337),N=n(975044),j=n(619050),J=n(960408),M=n(111748),D=n(235806),$=n(496414),Z=n(678503);let F=T.UX.PREFIX;class V extends L.Z{get adapter(){var e=this;return Object.assign(Object.assign(Object.assign(Object.assign({},super.adapter),{updateInputValue:e=>{this.setState({inputValue:e})},updateInputPlaceHolder:e=>{this.setState({inputPlaceHolder:e})},focusInput:()=>{let{preventScroll:e}=this.props;this.inputRef&&this.inputRef.current&&this.inputRef.current.focus({preventScroll:e})},blurInput:()=>{this.inputRef&&this.inputRef.current&&this.inputRef.current.blur()}}),{registerClickOutsideHandler:e=>{let t=t=>{let n=this.optionsRef&&this.optionsRef.current,r=this.triggerRef&&this.triggerRef.current,i=b.findDOMNode(n),s=t.target,o=t.composedPath&&t.composedPath()||[s];i&&(!i.contains(s)||!i.contains(s.parentNode))&&r&&!r.contains(s)&&!(o.includes(r)||o.includes(i))&&e(t)};this.clickOutsideHandler=t,document.addEventListener("mousedown",t,!1)},unregisterClickOutsideHandler:()=>{document.removeEventListener("mousedown",this.clickOutsideHandler,!1)},rePositionDropdown:()=>{let{rePosKey:e}=this.state;e+=1,this.setState({rePosKey:e})}}),{setEmptyContentMinWidth:e=>{this.setState({emptyContentMinWidth:e})},getTriggerWidth:()=>{let e=this.triggerRef.current;return e&&e.getBoundingClientRect().width},updateStates:e=>{this.setState(Object.assign({},e))},openMenu:()=>{this.setState({isOpen:!0})},closeMenu:e=>{this.setState({isOpen:!1},()=>{e&&e()})},updateSelection:e=>this.setState({selectedKeys:e}),notifyChange:e=>{this.props.onChange&&this.props.onChange(e)},notifySelect:e=>{this.props.onSelect&&this.props.onSelect(e)},notifyOnSearch:e=>{this.props.onSearch&&this.props.onSearch(e)},notifyFocus:function(){e.props.onFocus&&e.props.onFocus(...arguments)},notifyBlur:function(){e.props.onBlur&&e.props.onBlur(...arguments)},notifyDropdownVisibleChange:e=>{this.props.onDropdownVisibleChange(e)},toggleHovering:e=>{this.setState({isHovering:e})},notifyLoadData:(e,t)=>{let{loadData:n}=this.props;n&&new Promise(r=>{n(e).then(()=>{setTimeout(()=>{t(),this.setState({loading:!1}),r()})})})},notifyOnLoad:(e,t)=>{let{onLoad:n}=this.props;n&&n(e,t)},notifyListScroll:(e,t)=>{let{panelIndex:n,activeNode:r}=t;this.props.onListScroll(e,{panelIndex:n,activeNode:r})},notifyOnExceed:e=>this.props.onExceed(e),notifyClear:()=>this.props.onClear(),toggleInputShow:(e,t)=>{this.setState({showInput:e},()=>{t()})},updateFocusState:e=>{this.setState({isFocus:e})},updateLoadingKeyRefValue:e=>{this.loadingKeysRef.current=e},getLoadingKeyRefValue:()=>this.loadingKeysRef.current,updateLoadedKeyRefValue:e=>{this.loadedKeysRef.current=e},getLoadedKeyRefValue:()=>this.loadedKeysRef.current})}static getDerivedStateFromProps(e,t){let{multiple:n,value:r,defaultValue:s,onChangeWithObject:o,leafOnly:a,autoMergeValue:l,checkRelation:c,searchPlaceholder:u,placeholder:d}=e,{prevProps:p}=t,f=t.keyEntities||{},g={},v=u||d;v!==t.inputPlaceHolder&&(g.inputPlaceHolder=v);let y=t=>{let n=h()(p)&&t in e,r=p&&!m()(p[t],e[t]);return n||r},b=(e,t)=>{let n=[];Array.isArray(e)?n=Array.isArray(e[0])?e:[e]:void 0!==e&&(n=[[e]]);let r=[];return n.forEach(e=>{let t=o&&i()(e[0])?e.map(e=>null==e?void 0:e.value):e;t.length>0&&r.push(t)}),r.reduce((e,n)=>{let r=(0,P.J1)(n);return t[r]&&e.push(r),e},[])};if(n){let n=y("treeData")||(()=>{let t=!p&&"treeData"in e,n=p&&p.treeData!==e.treeData;return t||n})(),i=y("value")||h()(p)&&s;if(n||i){n&&(g.treeData=e.treeData,f=(0,P.I8)(e.treeData),g.keyEntities=f);let o=t.checkedKeys;if(i?o=b(y("value")?r:s,f):n&&"value"in e&&(o=b(r,f)),x()(o)&&(o=[...o]),c===T.j2.RELATED){let t=(0,I.fM)(o,f),n=new Set(t.checkedKeys),r=new Set(t.halfCheckedKeys);e.disableStrictly&&(g.disabledKeys=(0,I.vP)(f));let i=(0,P.XT)(l,a)===T.j2.LEAF_ONLY_MERGE_TYPE;g.checkedKeys=n,g.halfCheckedKeys=r,g.resolvedCheckedKeys=new Set((0,I.yI)(n,f,i))}else g.checkedKeys=new Set(o);g.prevProps=e}}return g}componentDidMount(){this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}componentDidUpdate(e){if(this.props.multiple)return;let t=!1;!m()(e.treeData,this.props.treeData)&&(t=!0,this.foundation.collectOptions()),e.value!==this.props.value&&!t&&this.foundation.handleValueChange(this.props.value)}renderTagInput(){let{size:e,disabled:t,placeholder:n,maxTagCount:r,showRestTagsPopover:i,restTagsPopoverProps:s,checkRelation:o}=this.props,{inputValue:a,checkedKeys:l,keyEntities:c,resolvedCheckedKeys:u,inputPlaceHolder:d}=this.state,h=w()(`${F}-tagInput-wrapper`),p=this.mergeType===T.j2.NONE_MERGE_TYPE||o===T.j2.UN_RELATED?l:u;return y.createElement($.Z,{className:h,ref:this.inputRef,disabled:t,size:e,value:[...p],showRestTagsPopover:i,restTagsPopoverProps:s,maxTagCount:r,renderTagItem:this.renderTagItem,inputValue:a,onInputChange:this.handleInputChange,onRemove:this.onRemoveInTagInput,placeholder:d,expandRestTagsOnClick:!1})}renderInput(){let{size:e,disabled:t}=this.props,n=w()(`${F}-input`),{inputValue:r,inputPlaceHolder:i,showInput:s}=this.state,o={disabled:t,value:r,className:n,onChange:this.handleInputChange},a=w()({[`${F}-search-wrapper`]:!0,[`${F}-search-wrapper-${e}`]:"default"!==e}),l=this.renderDisplayText(),c=w()({[`${F}-selection-placeholder`]:!l,[`${F}-selection-text-hide`]:s&&r,[`${F}-selection-text-inactive`]:s&&!r});return y.createElement("div",{className:a},y.createElement("span",{className:c},l||i),s&&y.createElement(N.Z,Object.assign({ref:this.inputRef,size:e},o)))}close(){this.foundation.close()}open(){this.foundation.open()}focus(){this.foundation.focus()}blur(){this.foundation.blur()}render(){let{zIndex:e,getPopupContainer:t,autoAdjustOverflow:n,stopPropagation:r,mouseLeaveDelay:i,mouseEnterDelay:s,position:o,motion:a,dropdownMargin:l}=this.props,{isOpen:c,rePosKey:u}=this.state,{direction:d}=this.context,h=this.renderContent(),p=this.renderSelection();return y.createElement(j.Z,{getPopupContainer:t,zIndex:e,motion:a,margin:l,ref:this.optionsRef,content:h,visible:c,trigger:"custom",rePosKey:u,position:null!=o?o:"rtl"===d?"bottomRight":"bottomLeft",autoAdjustOverflow:n,stopPropagation:r,mouseLeaveDelay:i,mouseEnterDelay:s,afterClose:()=>this.foundation.updateSearching(!1)},p)}constructor(e){super(e),this.search=e=>{this.handleInputChange(e)},this.handleInputChange=e=>{this.foundation.handleInputChange(e)},this.handleTagRemoveInTrigger=e=>{this.foundation.handleTagRemoveInTrigger(e)},this.handleTagClose=(e,t,n)=>{t.preventDefault(),this.foundation.handleTagRemoveByKey(n)},this.renderTagItem=(e,t)=>{let{keyEntities:n,disabledKeys:r}=this.state,{size:i,disabled:s,displayProp:o,displayRender:a,disableStrictly:l}=this.props;if(n[e]){let c=s||n[e].data.disabled||l&&r.has(e),d=w()(`${F}-selection-tag`,{[`${F}-selection-tag-disabled`]:c});return u()(a)?a(n[e],t):y.createElement(D.Z,{size:"default"===i?"large":i,key:`tag-${e}-${t}`,color:"white",tagKey:e,className:d,closable:!0,onClose:this.handleTagClose},n[e].data[o])}return null},this.onRemoveInTagInput=e=>{this.foundation.handleTagRemoveByKey(e)},this.handleItemClick=(e,t)=>{this.foundation.handleItemClick(e,t)},this.handleItemHover=(e,t)=>{this.foundation.handleItemHover(e,t)},this.onItemCheckboxClick=e=>{this.foundation.onItemCheckboxClick(e)},this.handleListScroll=(e,t)=>{this.foundation.handleListScroll(e,t)},this.renderContent=()=>{let{inputValue:e,isSearching:t,activeKeys:n,selectedKeys:r,checkedKeys:i,halfCheckedKeys:s,loadedKeys:o,loadingKeys:a}=this.state,{filterTreeNode:l,dropdownClassName:c,dropdownStyle:u,loadData:d,emptyContent:h,separator:p,topSlot:f,bottomSlot:g,showNext:m,multiple:v,filterRender:x,virtualizeInSearch:b,expandIcon:S}=this.props,E=w()(c,`${F}-popover`),C=this.foundation.getRenderData(),k=C&&C.length?u:Object.assign(Object.assign({},u),{minWidth:this.state.emptyContentMinWidth});return y.createElement("div",{className:E,role:"listbox",style:k,onKeyDown:this.foundation.handleKeyDown},f,y.createElement(J.Z,{activeKeys:n,selectedKeys:r,separator:p,loadedKeys:o,loadingKeys:a,onItemClick:this.handleItemClick,onItemHover:this.handleItemHover,showNext:m,onItemCheckboxClick:this.onItemCheckboxClick,onListScroll:this.handleListScroll,searchable:!!l&&t,keyword:e,emptyContent:h,loadData:d,data:C,multiple:v,checkedKeys:i,halfCheckedKeys:s,filterRender:x,virtualize:b,expandIcon:S}),g)},this.renderPlusN=e=>{let{disabled:t,showRestTagsPopover:n,restTagsPopoverProps:r}=this.props,i=w()(`${F}-selection-n`,{[`${F}-selection-n-disabled`]:t}),s=y.createElement("span",{className:i},"+",e.length);return n?y.createElement(j.Z,Object.assign({content:e,showArrow:!0,trigger:"hover",position:"top",autoAdjustOverflow:!0},r),s):s},this.renderMultipleTags=()=>{let{autoMergeValue:e,maxTagCount:t,checkRelation:n}=this.props,{checkedKeys:r,resolvedCheckedKeys:i}=this.state,s=this.mergeType===T.j2.NONE_MERGE_TYPE||n===T.j2.UN_RELATED?r:i,o=[],a=[];return[...s].forEach((e,n)=>{let r=!l()(t)||t>=n+1,i=this.renderTagItem(e,n);r?o.push(i):a.push(i)}),y.createElement(y.Fragment,null,o,!h()(a)&&this.renderPlusN(a))},this.renderDisplayText=()=>{let{displayProp:e,separator:t,displayRender:n}=this.props,{selectedKeys:r}=this.state,i="";if(r.size){let s=this.foundation.getItemPropPath([...r][0],e);i=n&&"function"==typeof n?n(s):s.map((e,n)=>y.createElement(y.Fragment,{key:`${e}-${n}`},n<s.length-1?y.createElement(y.Fragment,null,e,t):e))}return i},this.renderSelectContent=()=>{let{placeholder:e,filterTreeNode:t,multiple:n,searchPosition:r}=this.props,{checkedKeys:i}=this.state;if(!(t&&r===T.j2.SEARCH_POSITION_TRIGGER)){if(n)return 0===i.size?y.createElement("span",{className:`${F}-selection-placeholder`},e):this.renderMultipleTags();{let t=this.renderDisplayText(),n=w()({[`${F}-selection-placeholder`]:!t});return y.createElement("span",{className:n},t||e)}}return n?this.renderTagInput():this.renderInput()},this.renderSuffix=()=>{let{suffix:e}=this.props,t=w()({[`${F}-suffix`]:!0,[`${F}-suffix-text`]:e&&f()(e),[`${F}-suffix-icon`]:(0,Z.ID)(e)});return y.createElement("div",{className:t,"x-semi-prop":"suffix"},e)},this.renderPrefix=()=>{let{prefix:e,insetLabel:t,insetLabelId:n}=this.props,r=e||t,i=w()({[`${F}-prefix`]:!0,[`${F}-inset-label`]:t,[`${F}-prefix-text`]:r&&f()(r),[`${F}-prefix-icon`]:(0,Z.ID)(r)});return y.createElement("div",{className:i,id:n,"x-semi-prop":"prefix,insetLabel"},r)},this.renderCustomTrigger=()=>{var e;let t;let{disabled:n,triggerRender:r,multiple:i}=this.props,{selectedKeys:s,inputValue:o,inputPlaceHolder:a,resolvedCheckedKeys:l,checkedKeys:c,keyEntities:u}=this.state;return i?this.mergeType===T.j2.NONE_MERGE_TYPE?(t=new Set,c.forEach(e=>{var n;t.add(null===(n=u[e])||void 0===n?void 0:n.pos)})):(t=new Set,l.forEach(e=>{var n;t.add(null===(n=u[e])||void 0===n?void 0:n.pos)})):t=null===(e=u[[...s][0]])||void 0===e?void 0:e.pos,y.createElement(M.Z,{value:t,inputValue:o,onChange:this.handleInputChange,onClear:this.handleClear,placeholder:a,disabled:n,triggerRender:r,componentName:"Cascader",componentProps:Object.assign({},this.props),onSearch:this.handleInputChange,onRemove:this.handleTagRemoveInTrigger})},this.handleMouseOver=()=>{this.foundation.toggleHoverState(!0)},this.handleMouseLeave=()=>{this.foundation.toggleHoverState(!1)},this.handleClear=e=>{e&&e.stopPropagation(),this.foundation.handleClear()},this.handleClearEnterPress=e=>{e&&e.stopPropagation(),this.foundation.handleClearEnterPress(e)},this.showClearBtn=()=>{let{showClear:e,disabled:t,multiple:n}=this.props,{selectedKeys:r,isOpen:i,isHovering:s,checkedKeys:o,inputValue:a}=this.state,l=r.size,c=n&&o.size;return e&&(a||l||c)&&!t&&(i||s)},this.renderClearBtn=()=>{let e=w()(`${F}-clearbtn`),{clearIcon:t}=this.props;return this.showClearBtn()?y.createElement("div",{className:e,onClick:this.handleClear,onKeyPress:this.handleClearEnterPress,role:"button",tabIndex:0},t||y.createElement(O.Z,null)):null},this.renderArrow=()=>{let{arrowIcon:e}=this.props;return this.showClearBtn()?null:e?y.createElement("div",{className:w()(`${F}-arrow`),"x-semi-prop":"arrowIcon"},e):null},this.renderSelection=()=>{let{disabled:e,multiple:t,filterTreeNode:n,style:r,size:i,className:s,validateStatus:o,prefix:a,suffix:l,insetLabel:c,triggerRender:u,showClear:d,id:p,borderless:f}=this.props,{isOpen:g,isFocus:m,isInput:v,checkedKeys:x}=this.state,b="function"==typeof u,S=b?w()(s):w()(F,s,{[`${F}-borderless`]:f,[`${F}-focus`]:m||g&&!v,[`${F}-disabled`]:e,[`${F}-single`]:!0,[`${F}-filterable`]:!!n,[`${F}-error`]:"error"===o,[`${F}-warning`]:"warning"===o,[`${F}-small`]:"small"===i,[`${F}-large`]:"large"===i,[`${F}-with-prefix`]:a||c,[`${F}-with-suffix`]:l}),E=w()(`${F}-selection`,{[`${F}-selection-multiple`]:t&&!h()(x)}),C=b?this.renderCustomTrigger():[y.createElement(y.Fragment,{key:"prefix"},a||c?this.renderPrefix():null),y.createElement(y.Fragment,{key:"selection"},y.createElement("div",{className:E},this.renderSelectContent())),y.createElement(y.Fragment,{key:"suffix"},l?this.renderSuffix():null),y.createElement(y.Fragment,{key:"clearbtn"},this.renderClearBtn()),y.createElement(y.Fragment,{key:"arrow"},this.renderArrow())];return y.createElement("div",Object.assign({className:S,style:r,ref:this.triggerRef,onClick:e=>this.foundation.handleClick(e),onKeyPress:e=>this.foundation.handleSelectionEnterPress(e),"aria-invalid":this.props["aria-invalid"],"aria-errormessage":this.props["aria-errormessage"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-describedby":this.props["aria-describedby"],"aria-required":this.props["aria-required"],id:p,onKeyDown:this.foundation.handleKeyDown},d?{onMouseEnter:()=>this.handleMouseOver(),onMouseLeave:()=>this.handleMouseLeave()}:{},{role:"combobox",tabIndex:0},this.getDataAttr(this.props)),C)},this.state={emptyContentMinWidth:null,disabledKeys:new Set,isOpen:e.defaultOpen,rePosKey:0,keyEntities:{},selectedKeys:new Set([]),activeKeys:new Set([]),filteredKeys:new Set([]),inputValue:"",isSearching:!1,inputPlaceHolder:e.searchPlaceholder||e.placeholder,prevProps:{},isHovering:!1,checkedKeys:new Set([]),halfCheckedKeys:new Set([]),resolvedCheckedKeys:new Set([]),loadedKeys:new Set,loadingKeys:new Set,loading:!1,showInput:!1},this.options={},this.isEmpty=!1,this.mergeType=(0,P.XT)(e.autoMergeValue,e.leafOnly),this.inputRef=y.createRef(),this.triggerRef=y.createRef(),this.optionsRef=y.createRef(),this.clickOutsideHandler=null,this.foundation=new k.Z(this.adapter),this.loadingKeysRef=y.createRef(),this.loadedKeysRef=y.createRef()}}V.__SemiComponentName__="Cascader",V.contextType=A.Z,V.propTypes={"aria-labelledby":C().string,"aria-invalid":C().bool,"aria-errormessage":C().string,"aria-describedby":C().string,"aria-required":C().bool,"aria-label":C().string,arrowIcon:C().node,borderless:C().bool,clearIcon:C().node,changeOnSelect:C().bool,defaultValue:C().oneOfType([C().string,C().array]),disabled:C().bool,dropdownClassName:C().string,dropdownStyle:C().object,dropdownMargin:C().oneOfType([C().number,C().object]),emptyContent:C().node,motion:C().bool,filterTreeNode:C().oneOfType([C().func,C().bool]),filterLeafOnly:C().bool,placeholder:C().string,searchPlaceholder:C().string,size:C().oneOf(T.j2.SIZE_SET),style:C().object,className:C().string,treeData:C().arrayOf(C().shape({value:C().oneOfType([C().string,C().number]),label:C().any})),treeNodeFilterProp:C().string,suffix:C().node,prefix:C().node,insetLabel:C().node,insetLabelId:C().string,id:C().string,displayProp:C().string,displayRender:C().func,onChange:C().func,onSearch:C().func,onSelect:C().func,onBlur:C().func,onFocus:C().func,children:C().node,getPopupContainer:C().func,zIndex:C().number,value:C().oneOfType([C().string,C().number,C().array]),validateStatus:C().oneOf(T.j2.VALIDATE_STATUS),showNext:C().oneOf([T.j2.SHOW_NEXT_BY_CLICK,T.j2.SHOW_NEXT_BY_HOVER]),stopPropagation:C().oneOfType([C().bool,C().string]),showClear:C().bool,defaultOpen:C().bool,autoAdjustOverflow:C().bool,onDropdownVisibleChange:C().func,triggerRender:C().func,onListScroll:C().func,onChangeWithObject:C().bool,bottomSlot:C().node,topSlot:C().node,multiple:C().bool,autoMergeValue:C().bool,maxTagCount:C().number,showRestTagsPopover:C().bool,restTagsPopoverProps:C().object,max:C().number,separator:C().string,onExceed:C().func,onClear:C().func,loadData:C().func,onLoad:C().func,loadedKeys:C().array,disableStrictly:C().bool,leafOnly:C().bool,enableLeafClick:C().bool,preventScroll:C().bool,position:C().string,searchPosition:C().string},V.defaultProps=(0,Z.GW)(V.__SemiComponentName__,{borderless:!1,leafOnly:!1,arrowIcon:y.createElement(R.Z,null),stopPropagation:!0,motion:!0,defaultOpen:!1,zIndex:_.KT.DEFAULT_Z_INDEX,showClear:!1,autoClearSearchValue:!0,changeOnSelect:!1,disableStrictly:!1,autoMergeValue:!0,multiple:!1,filterTreeNode:!1,filterLeafOnly:!0,showRestTagsPopover:!1,restTagsPopoverProps:{},separator:" / ",size:"default",treeNodeFilterProp:"label",displayProp:"label",treeData:[],showNext:T.j2.SHOW_NEXT_BY_CLICK,onExceed:o(),onClear:o(),onDropdownVisibleChange:o(),onListScroll:o(),enableLeafClick:!1,"aria-label":"Cascader",searchPosition:T.j2.SEARCH_POSITION_TRIGGER,checkRelation:T.j2.RELATED}),t.Z=V},773410:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(101199),i=n(492839);function s(){return(0,r.useContext)(i.kn)}},595727:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(101199),i=n(469935),s=n.n(i),o=n(622689),a=n.n(o);let l=n(413868).UX.PREFIX;class c extends r.PureComponent{render(){let{text:e,className:t,style:n,children:i}=this.props,o=s()({[l+"-section"]:!0},t);return r.createElement("section",{className:o,style:n},r.createElement("h5",{className:l+"-section-text"},e),i)}}c.propTypes={text:a().node,className:a().string,style:a().object,children:a().node}},506592:function(e,t,n){"use strict";var r=n(601284);n(766410),t.ZP=r.Z},838790:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}}),n(932651);var r=n(795233),i=n.n(r),s=n(101199),o=n(426337),a=n(622689),l=n.n(a),c=n(900426),u=n(469935),d=n.n(u),h=n(230720),p=n(14009),f=n(956324),g=n(717086);n(725882);var m=n(371648),v=n(678503),x=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);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let y=p.U.PREFIX;p.j.WIDTH;let b=p.j.HEIGHT;class S extends o.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{disabledBodyScroll:()=>{let{getPopupContainer:e}=this.props;this.bodyOverflow=document.body.style.overflow||"",!e&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow="hidden",document.body.style.width=`calc(${this.originBodyWidth||"100%"} - ${this.scrollBarWidth}px)`)},enabledBodyScroll:()=>{let{getPopupContainer:e}=this.props;!e&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow,document.body.style.width=this.originBodyWidth)},notifyCancel:e=>{this.props.onCancel&&this.props.onCancel(e)},notifyVisibleChange:e=>{this.props.afterVisibleChange(e)},setOnKeyDownListener:()=>{window&&window.addEventListener("keydown",this.handleKeyDown)},removeKeyDownListener:()=>{window&&window.removeEventListener("keydown",this.handleKeyDown)},toggleDisplayNone:e=>{e!==this.state.displayNone&&this.setState({displayNone:e})}})}static getDerivedStateFromProps(e,t){let n={};return e.visible&&t.displayNone&&(n.displayNone=!1),!e.visible&&!e.motion&&!t.displayNone&&(n.displayNone=!0),n}componentDidMount(){this.scrollBarWidth=(0,v.np)(),this.originBodyWidth=document.body.style.width,this.props.visible&&this.foundation.beforeShow()}componentDidUpdate(e,t,n){!e.visible&&this.props.visible&&this.foundation.beforeShow(),e.visible&&!this.props.visible&&this.foundation.afterHide(),t.displayNone!==this.state.displayNone&&this.foundation.onVisibleChange(!this.state.displayNone)}componentWillUnmount(){this.props.visible&&this.foundation.destroy()}renderContent(){let e=this.props,{placement:t,className:n,children:r,width:i,height:o,motion:a,visible:l,style:u,maskStyle:h,size:p,zIndex:g,getPopupContainer:v,keepDOM:S}=e,w=x(e,["placement","className","children","width","height","motion","visible","style","maskStyle","size","zIndex","getPopupContainer","keepDOM"]),E={zIndex:g};v&&(E={zIndex:g,position:"static"});let{direction:C}=this.context,k="left"===t||"right"===t,T="top"===t||"bottom"===t,_=T?o||b:"100%",O=d()(y,n,{[`${y}-${t}`]:t,[`${y}-popup`]:v,[`${y}-horizontal`]:T,[`${y}-rtl`]:"rtl"===C,[`${y}-hidden`]:S&&this.state.displayNone}),R=Object.assign(Object.assign(Object.assign({},k?i?{width:i}:{}:{width:"100%"}),w),{visible:l,motion:!1,size:p,className:O,height:_,onClose:this.handleCancel}),P=this.props.visible||this.props.keepDOM||this.props.motion&&!this.state.displayNone;return s.createElement(m.Z,{motion:this.props.motion,animationState:l?"enter":"leave",startClassName:l?`${y}-animation-mask_show`:`${y}-animation-mask_hide`,onAnimationEnd:this.updateState},e=>{let{animationClassName:t,animationEventsNeedBind:n}=e;return s.createElement(m.Z,{motion:this.props.motion,animationState:l?"enter":"leave",startClassName:l?`${y}-animation-content_show_${this.props.placement}`:`${y}-animation-content_hide_${this.props.placement}`,onAnimationEnd:this.updateState},e=>{let{animationClassName:i,animationStyle:o,animationEventsNeedBind:a}=e;return P?s.createElement(c.Z,{getPopupContainer:v,style:E},s.createElement(f.Z,Object.assign({},R,{maskExtraProps:n,wrapperExtraProps:a,dialogClassName:i,maskClassName:t,maskStyle:Object.assign({},h),style:Object.assign(Object.assign({},o),u)}),r)):s.createElement(s.Fragment,null)})})}render(){let{zIndex:e,getPopupContainer:t,visible:n}=this.props;return this.renderContent()}constructor(e){super(e),this.handleCancel=e=>{this.foundation.handleCancel(e)},this.handleKeyDown=e=>{this.foundation.handleKeyDown(e)},this.updateState=()=>{this.foundation.toggleDisplayNone(!this.props.visible)},this.state={displayNone:!this.props.visible},this.foundation=new g.Z(this.adapter),this.bodyOverflow="",this.scrollBarWidth=0,this.originBodyWidth="100%"}}S.contextType=h.Z,S.propTypes={bodyStyle:l().object,headerStyle:l().object,children:l().node,className:l().string,closable:l().bool,disableScroll:l().bool,getPopupContainer:l().func,height:l().oneOfType([l().number,l().string]),mask:l().bool,maskClosable:l().bool,maskStyle:l().object,motion:l().oneOfType([l().bool,l().object,l().func]),onCancel:l().func,placement:l().oneOf(p.j.PLACEMENT),size:l().oneOf(p.j.SIZE),style:l().object,title:l().node,visible:l().bool,width:l().oneOfType([l().number,l().string]),zIndex:l().number,afterVisibleChange:l().func,closeOnEsc:l().bool,footer:l().node,keepDOM:l().bool,"aria-label":l().string},S.__SemiComponentName__="SideSheet",S.defaultProps=(0,v.GW)(S.__SemiComponentName__,{visible:!1,motion:!0,mask:!0,placement:"right",closable:!0,footer:null,zIndex:1e3,maskClosable:!0,size:"small",disableScroll:!0,closeOnEsc:!1,afterVisibleChange:i(),keepDOM:!1})},586278:function(e,t,n){"use strict";n(490629),n(591964),n(374954),n(932651);var r=n(390063),i=n.n(r),s=n(795233),o=n.n(s),a=n(101199),l=n(622689),c=n.n(l),u=n(426337),d=n(278766),h=n(553827),p=n(917575);class f extends u.Z{get adapter(){return Object.assign({},super.adapter)}render(){let{components:e,columns:t,prefixCls:n,fixed:r,onHeaderRow:s,forwardedRef:o,selectedRowKeysSet:l}=this.props,c=function(e){let t=[];!function e(n,r){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;t[o]=t[o]||[];let l=r;return n.map(n=>{let r={key:n.key,className:n.className||"",children:i()(n.title)?n.title():n.title,column:n,colStart:l,level:a,parents:s},c=1,u=n.children;u&&u.length>0&&(c=e(u,l,[...s,r],o+1,a+1).reduce((e,t)=>e+t,0),r.hasSubColumns=!0),"colSpan"in n&&({colSpan:c}=n),"rowSpan"in n&&(r.rowSpan=n.rowSpan),n.key===d.j2.DEFAULT_KEY_COLUMN_SCROLLBAR&&(r["x-type"]=d.j2.DEFAULT_KEY_COLUMN_SCROLLBAR),r.colSpan=c,r.colEnd=r.colStart+c-1,t[o].push(r),l+=c;let p=null==n?void 0:n.ellipsis;return(0,h.Bi)(p)&&"string"==typeof r.children&&(r.title=r.children),c})}(e,0);let n=t.length;for(let e=0;e<n;e+=1)t[e].forEach(t=>{!("rowSpan"in t)&&!t.hasSubColumns&&(t.rowSpan=n-e)});return t}(t),u=e.header.wrapper;return a.createElement(u,{className:`${n}-thead`,ref:o},c.map((i,o)=>a.createElement(p.Z,{prefixCls:n,key:o,index:o,fixed:r,columns:t,row:i,components:e,onHeaderRow:s,selectedRowKeysSet:l})))}}f.propTypes={components:c().any,columns:c().array,columnManager:c().object,prefixCls:c().string,onHeaderRow:c().func,onDidUpdate:c().func,fixed:c().oneOfType([c().bool,c().string]),selectedRowKeysSet:c().instanceOf(Set).isRequired},f.defaultProps={columns:[],prefixCls:d.UX.PREFIX,onHeaderRow:o(),onDidUpdate:o(),components:{header:{wrapper:"thead",row:"tr",cell:"th"}}},t.Z=a.forwardRef((e,t)=>a.createElement(f,Object.assign({},e,{forwardedRef:t})))},260813:function(e,t,n){"use strict";var r=n(795233),i=n.n(r);let s=n(101199).createContext({headWidths:[],setHeadWidths:i(),handleRowExpanded:i()});t.Z=s},154553:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}}),n(932651),n(490629),n(374954);var r=n(795233),i=n.n(r),s=n(101199),o=n(469935),a=n.n(o);n(293714);var l=n(573797),c=n(112933),u=n(104200),d=n(732399),h=n(426337);class p extends h.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{getSliderRef:()=>this.sliderRef.current,getMarkersList:()=>this.markersList,setIsDragging:e=>this.setState({isDragging:e}),setIsHandleHovering:e=>this.setState({isHandleHovering:e}),setActiveIndex:e=>this.setState({activeIndex:e}),setMovingInfo:e=>this.setState({movingInfo:e})})}render(){let{showTooltip:e,max:t,value:n}=this.props,{movingInfo:r,isHandleHovering:i,isDragging:o,activeIndex:c}=this.state,d=s.createElement("div",{role:"slider",tabIndex:0,"aria-valuenow":n,ref:this.sliderRef,className:a()(`${l.UX.PREFIX_PROGRESS}`),onMouseDown:this.foundation.handleMouseDown,onMouseUp:this.foundation.handleMouseUp,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove},s.createElement("div",{className:a()(`${l.UX.PREFIX_PROGRESS}-markers`)},this.markersList.map((e,t)=>s.createElement("div",{key:`${e.start}-${t}`,className:a()(`${l.UX.PREFIX_PROGRESS}-slider`,{[`${l.UX.PREFIX_PROGRESS}-slider-active`]:t===c&&o}),style:{left:e.left,width:e.width},onMouseEnter:()=>this.foundation.handleSliderMouseEnter(t),onMouseLeave:()=>this.foundation.handleSliderMouseLeave(t)},s.createElement("div",{className:a()(`${l.UX.PREFIX_PROGRESS}-slider-list`)}),s.createElement("div",{className:a()(`${l.UX.PREFIX_PROGRESS}-slider-buffered`),style:{width:this.foundation.getLoadedWidth(e)}}),s.createElement("div",{className:a()(`${l.UX.PREFIX_PROGRESS}-slider-played`),style:{width:this.foundation.getPlayedWidth(e)}})))),s.createElement("div",{ref:this.handleRef,className:a()(`${l.UX.PREFIX_PROGRESS}-handle`),style:{left:`calc(${(t?(n||1)/t:0)*100}% - 8px)`,transform:"translateY(-50%)",opacity:i||o?1:0,transition:"opacity 0.3s",pointerEvents:"none"}}));return e?s.createElement(u.Z,{position:"top",className:a()(`${l.UX.PREFIX_PROGRESS}-tooltip`),content:this.renderTooltipContent(),style:{left:null==r?void 0:r.offset}},d):d}constructor(e){super(e),this.initMarkerList=()=>{let{markers:e,max:t}=this.props,n=e&&e.length>0,r={start:0,end:t,left:"0",title:"",width:"100%"},i=n?[...e]:[r],s=[];return n?i.forEach((e,n)=>{let r=n===i.length-1?t:i[n+1].start;if(!(e.start>t||r>t)){let n={left:`${e.start/t*100}%`,width:`${t?(r-e.start)/t*100:100}%`,end:r,start:e.start,title:e.title};s.push(n)}}):s.push(r),s},this.handleMouseEnter=e=>{this.foundation.handleMouseEvent(e,!1)},this.handleMouseMove=e=>{this.foundation.handleMouseEvent(e,!0)},this.renderTooltipContent=()=>{var e;let{movingInfo:t}=this.state;if(this.markersList.length>0&&t){let n=this.markersList.findIndex(e=>(null==t?void 0:t.value)>e.start&&(null==t?void 0:t.value)<e.end);return s.createElement(s.Fragment,null,s.createElement("div",{className:a()(`${l.UX.PREFIX_PROGRESS}-tooltip-content`)},null===(e=this.markersList[n])||void 0===e?void 0:e.title),s.createElement("div",{className:a()(`${l.UX.PREFIX_PROGRESS}-tooltip-content`)},(0,d.m)(t.progress*this.props.max)))}return t&&(0,d.m)(t.progress*this.props.max)},this.state={isDragging:!1,isHandleHovering:!1,movingInfo:null,activeIndex:-1},this.sliderRef=s.createRef(),this.handleRef=s.createRef(),this.markersList=this.initMarkerList(),this.foundation=new c.Z(this.adapter)}}p.defaultProps={value:0,onChange:i(),max:100,showTooltip:!0}},459282:function(e,t,n){"use strict";n.d(t,{F:function(){return s}});var r=n(480333);let i=new(n(487359)).ZP("playlist");class s{get lastSegment(){return this.segments.length?this.segments[this.segments.length-1]:null}get segmentDuration(){var e;return this.targetDuration||(null===(e=this.segments[0])||void 0===e?void 0:e.duration)||0}get liveEdge(){return this.endTime}set liveEdge(e){this.endTime=e}get endTime(){var e;return(null===(e=this.lastSegment)||void 0===e?void 0:e.end)||0}set endTime(e){let t=this.lastSegment;t&&(t.duration=e-t.start)}get currentSubtitleEndSn(){var e;return(null===(e=this.currentSubtitleStream)||void 0===e?void 0:e.endSN)||0}clearOldSegment(e,t){return this.currentAudioStream&&this._clearSegments(e,t),this._clearSegments(e,t)}getAudioSegment(e){if(!e||!this.currentAudioStream)return;let t=e.sn-this.snDiff;return this.currentAudioStream.segments.find(e=>e.sn===t)}update(e,t){this.url=e.url,Array.isArray(e.segments)?((null===this.live||void 0===this.live)&&(this.live=e.live),this._updateSegments(e,this),this.startCC=e.startCC,this.endCC=e.endCC,this.startSN=e.startSN,this.endSN=e.endSN||-1,this.totalDuration=e.totalDuration,this.targetDuration=e.targetDuration,this.live=e.live,this.lowLatency=e.lowLatency,this.canBlockReload=e.canBlockReload,this.canSkipDateRanges=e.canSkipDateRanges,this.canSkipUntil=e.canSkipUntil,this.partHoldBack=e.partHoldBack,this.partTargetDuration=e.partTargetDuration,this.skippedSegments=e.skippedSegments,this.endPartIndex=e.endPartIndex,t&&this.currentAudioStream&&Array.isArray(t.segments)&&(this._updateSegments(t,this.currentAudioStream),(null===this.snDiff||void 0===this.snDiff)&&e.segments.length&&t.segments.length&&(this.snDiff=e.segments[0].sn-t.segments[0].sn))):(this.id=e.id,this.bitrate=e.bitrate,this.width=e.width,this.height=e.height,this.name=e.name,this.audioCodec=e.audioCodec,this.videoCodec=e.videoCodec,this.textCodec=e.textCodec,this.audioStreams=e.audioStreams,this.subtitleStreams=e.subtitleStreams,!this.currentAudioStream&&this.audioStreams.length&&(this.currentAudioStream=this.audioStreams.find(e=>e.default)||this.audioStreams[0]),!this.currentSubtitleStream&&this.subtitleStreams.length&&(this.currentSubtitleStream=this.subtitleStreams.find(e=>e.default)||this.subtitleStreams[0]))}updateSubtitle(e){if(!(e&&this.currentSubtitleStream&&Array.isArray(e.segments)))return;let t=this._updateSegments(e,this.currentSubtitleStream),n=this.currentSubtitleStream.segments;if(n.length>100&&(this.currentSubtitleStream.segments=n.slice(100)),t)return t.map(e=>({sn:e.sn,url:e.url,duration:e.duration,start:e.start,end:e.end,lang:this.currentSubtitleStream.lang}))}switchSubtitle(e){let t=this.subtitleStreams.find(t=>t.lang===e),n=this.currentSubtitleStream;t&&(this.currentSubtitleStream=t,n.segments=[])}_setLLPlaybackPoint(e){if(!e.lowLatency||!e.segments.length)return e;let t=e.totalDuration-e.partHoldBack,n=e.segments,r=0;for(let e=0,i=n.length;e<i;e++)n[e].start<=t&&n[e].independent&&(r=e);let s=n.slice(r),o=0;return s.forEach(e=>{e.start=o,o=e.end}),e.segments=s,e.totalDuration=o,e.startSN=s[0].sn,e.startCC=s[0].cc,i.log(`set ll-hls playback point: SN=${e.startSN} partIndex=${s[0].partIndex}, duration=${o}`),e}_clearSegments(e,t){let n=0,r=this.segments;for(let t=0,i=r.length;t<i;t++)if(r[t].end>=e){n=t;break}return n>t&&(n=t),n&&(this.segments=this.segments.slice(n),this.currentAudioStream&&(this.currentAudioStream.segments=this.currentAudioStream.segments.slice(n))),t-n}_updateSegments(e,t){let n=t.segments;if(this.live){var r;let s=e.lowLatency,o=n[n.length-1],a=null!==(r=null==o?void 0:o.sn)&&void 0!==r?r:-1,l=(null==o?void 0:o.partIndex)||0,c=a<e.endSN&&e.segments.length;if(s&&(c=c||l<e.endPartIndex),c){i.log(`update segments: endSN:${a}, partIndex:${l} --> endSN:${e.endSN}, partIndex:${e.endPartIndex}`);let r=e.segments.findIndex(e=>e.sn===a&&e.partIndex===l),s=r<0?e.segments:e.segments.slice(r+1);if(n.length&&s.length){let e=o.end,t=e;s.forEach(t=>{t.start=e,e=t.end}),i.log(`liveEdge: ${t} -> ${e}`);let n=(null==o?void 0:o.cc)||-1;n>s[0].cc&&s.forEach(e=>e.cc+=n)}return t.endSN=e.endSN,t.segments=n.concat(s),s}}else t.segments=e.segments}constructor(e,t,n){(0,r._)(this,"live",void 0),(0,r._)(this,"id",0),(0,r._)(this,"bitrate",0),(0,r._)(this,"width",0),(0,r._)(this,"height",0),(0,r._)(this,"name",""),(0,r._)(this,"url",""),(0,r._)(this,"audioCodec",""),(0,r._)(this,"videoCodec",""),(0,r._)(this,"textCodec",""),(0,r._)(this,"startCC",0),(0,r._)(this,"endCC",0),(0,r._)(this,"startSN",0),(0,r._)(this,"endSN",-1),(0,r._)(this,"totalDuration",0),(0,r._)(this,"targetDuration",0),(0,r._)(this,"partTargetDuration",0),(0,r._)(this,"canSkipUntil",0),(0,r._)(this,"canSkipDateRanges",!1),(0,r._)(this,"skippedSegments",0),(0,r._)(this,"canBlockReload",!1),(0,r._)(this,"partHoldBack",0),(0,r._)(this,"lowLatency",!1),(0,r._)(this,"endPartIndex",0),(0,r._)(this,"snDiff",null),(0,r._)(this,"segments",[]),(0,r._)(this,"audioStreams",[]),(0,r._)(this,"subtitleStreams",[]),(0,r._)(this,"closedCaptions",[]),(0,r._)(this,"currentAudioStream",null),(0,r._)(this,"currentSubtitleStream",null),this.update(this._setLLPlaybackPoint(e),t,n)}}},970420:function(e,t,n){"use strict";function r(e,t,n){return t>n&&(n=t),Math.min(Math.max(e,t),n)}n.d(t,{u:function(){return r}})},590926:function(e,t,n){"use strict";n.d(t,{Bc:function(){return l.Bc},FO:function(){return a.FO},Vc:function(){return l.Vc},WP:function(){return i.W},Xw:function(){return o.X},_A:function(){return s._},_e:function(){return l._e},m$:function(){return a.m$},qT:function(){return r.q}});var r=n(572369),i=n(538979),s=n(402129),o=n(62740),a=n(605578),l=n(835054)},808270:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(480333);n(76375);class i extends Error{constructor(e,t,n,i){super(i),(0,r._)(this,"retryCount",0),(0,r._)(this,"isTimeout",!1),(0,r._)(this,"startTime",0),(0,r._)(this,"endTime",0),(0,r._)(this,"options",{}),(0,r._)(this,"url",void 0),(0,r._)(this,"request",void 0),(0,r._)(this,"response",void 0),(0,r._)(this,"message",void 0),this.url=e,this.request=t,this.response=n,this.message=i}}},579438:function(e,t,n){"use strict";n.d(t,{G7:function(){return o},Gu:function(){return i},rO:function(){return a}}),n(683656),n(759943),n(362051);var r=n(997588);function i(e){if(!e||null===e[0]||void 0===e[0]||0===e[0]&&(null===e[1]||void 0===e[1]))return;let t="bytes="+e[0]+"-";return e[1]&&e[1]!==1/0&&(t+=e[1]),t}function s(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function o(e,t){let n;if(!e)return"";if(!t)return e;let i=Object.keys(t).map(e=>{if(null!=(n=t[e]))return Array.isArray(n)?e+="[]":n=[n],n.map(t=>((0,r.J_)(t)?t=t.toISOString():(0,r.Kn)(t)&&(t=JSON.stringify(t)),`${s(e)}=${s(t)}`)).join("&")}).filter(Boolean).join("&");if(i){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}function a(e,t,n,r){return(r=r||{}).endTime=Date.now(),{data:e,done:t,response:n,options:r}}},893507:function(e,t,n){"use strict";n.d(t,{FO:function(){return a},_$:function(){return o},m$:function(){return l}});var r=n(480333),i=n(553119);class s{constructor(e,t){(0,r._)(this,"time",0),this.data=e,this.originPts=this.pts=t}}class o extends s{}class a extends s{}class l{exist(){return!!((this.flvScriptSamples.length||this.seiSamples.length)&&this.timescale)}reset(){this.timescale=0,this.flvScriptSamples=[],this.seiSamples=[]}hasSample(){return!!(this.flvScriptSamples.length||this.seiSamples.length)}constructor(){(0,r._)(this,"id",3),(0,r._)(this,"type",i.Vc.METADATA),(0,r._)(this,"timescale",0),(0,r._)(this,"flvScriptSamples",[]),(0,r._)(this,"seiSamples",[])}}},395664:function(e,t,n){"use strict";function r(e,t){let n=new Date().getFullYear(),r=new Date().getMonth(),i=t.right||r+2,s=e.right||(i<=12?n:n+1);return{year:{left:e.left||n,right:s},month:{left:t.left||r+1,right:i<=12?i:1}}}n.d(t,{Z:function(){return r}})},949696:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(707852);let i={PREFIX:`${r.T}`}},406944:function(e,t,n){"use strict";n.d(t,{K:function(){return s},U:function(){return i}});var r=n(707852);let i={PREFIX:`${r.T}-image`},s={DEFAULT_Z_INDEX:1070}},905729:function(e,t,n){"use strict";n.d(t,{U:function(){return i},j:function(){return s}});var r=n(707852);let i={DIALOG:`${r.T}-modal`},s={cancelKey:"cancel",confirmKey:"confirm",SIZE:["small","medium","large","full-width"],directions:["ltr","rtl"]}},271036:function(e,t,n){"use strict";n(490629),n(932651);var r=n(198412),i=n.n(r),s=n(856445),o=n(648517),a=n(214684);let l=o.j2.BOUNDARY_MAP;o.j2.OVERFLOW_DIR;class c extends s.Z{getOverflowItem(){let{items:e}=this.getProps(),{visibleState:t,overflow:n}=this.getStates();if(!this.isScrollMode())return n;let r=e.map(e=>{let{key:n}=e;return!!t.get(n)}),i=r.indexOf(!0),s=r.lastIndexOf(!0),o=[];return o[0]=i>=0?e.slice(0,i):[],o[1]=s>=0?e.slice(s+1,e.length):e.slice(),o}handleIntersect(e){let t=(0,a.ZP)(this.getState("visibleState")),n={};e.forEach(e=>{let r=i()(e,"target.dataset.scrollkey"),s=e.isIntersecting;n[r]=e,t.set(r,s)});let r=!1;for(let e of t.values())if(e){r=!0;break}let s=r,[o]=e,l=o.boundingClientRect.y;if(!s&&void 0!==this.previousY&&l!==this.previousY){this.previousY=l;return}this.previousY=l,this._adapter.updateVisibleState(t),this._adapter.notifyIntersect(n)}handleCollapseOverflow(){let{minVisibleItems:e,collapseFrom:t}=this.getProps(),{overflowWidth:n,containerWidth:r,pivot:i,overflowStatus:s}=this.getStates(),{items:o,onOverflow:a}=this.getProps(),c=n,u=0,d=!1;for(let e of this._adapter.getItemSizeMap().values()){if((c+=e)>r){d=!0;break}if(u===o.length-1){this._adapter.updateStates({overflowStatus:"normal",pivot:o.length-1,visible:o,overflow:[]});break}u++}if(d){let n=Math.max(e,u),r=t===l.START,s=r?this.getReversedItems().slice(0,n).reverse():o.slice(0,n),c=r?this.getReversedItems().slice(n).reverse():o.slice(n);this._adapter.updateStates({overflowStatus:"overflowed",pivot:n,visible:s,overflow:c}),i!==n&&a(c);return}}constructor(e){super(Object.assign({},e)),this.previousY=void 0,this.isScrollMode=()=>{let{renderMode:e}=this.getProps();return"scroll"===e},this.getReversedItems=()=>{let{items:e}=this.getProps();return(0,a.ZP)(e).reverse()}}}t.Z=c},698913:function(e,t,n){"use strict";n(679308),n(932651),n(490629),n(14275),n(759943),n(374285),n(566071),n(414931);var r=n(856445),i=function(e,t,n,r){return new(n||(n=Promise))(function(i,s){function o(e){try{l(r.next(e))}catch(e){s(e)}}function a(e){try{l(r.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((r=r.apply(e,t||[])).next())})};class s extends r.Z{constructor(e){var t;super(Object.assign({},e)),t=this,this.handleCurrentActiveIndexChange=(e,t)=>{"focus"===t&&this._adapter.onCurrentActiveIndexChange(e)},this.completeSingleInput=(e,t)=>i(this,void 0,void 0,function*(){var n;let r=this._isInProps("value");yield this._adapter.onCurrentActiveIndexChange(e+1);let i=[...this.getState("valueList")];i[e]=t,this._adapter.notifyValueChange(i),!r&&(yield this.updateValueList(i)),e+1>this.getProp("count")-1?(this._adapter.changeSpecificInputFocusState(e,"blur"),null===(n=this.getProp("onComplete"))||void 0===n||n(i.join(""))):this._adapter.changeSpecificInputFocusState(e+1,"focus")}),this.validateValue=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t.getProp("format"),r=e=>!0;return"string"==typeof n?"number"===n?r=e=>0===e.length||s.numberReg.test(e):"mixed"===n&&(r=e=>0===e.length||s.mixedReg.test(e)):n instanceof RegExp?r=e=>n.test(e):"function"==typeof n&&(r=n),r(e)},this.updateValueList=e=>i(this,void 0,void 0,function*(){this._adapter.updateValueList(e)}),this.handlePaste=(e,t)=>i(this,void 0,void 0,function*(){let n=e.clipboardData.getData("text"),r=this.getProp("count");for(let e=t,i=0;e<r&&i<n.length;e++,i++){let t=n[i];if(this.validateValue(t))yield this.completeSingleInput(e,t);else break}e.preventDefault()}),this.handleKeyDownOnSingleInput=(e,t)=>{let n=[...this.getState("valueList")];"Backspace"===e.key?(n[t]="",this.updateValueList(n),this._adapter.notifyValueChange(n),this._adapter.changeSpecificInputFocusState(Math.max(0,t-1),"focus"),e.preventDefault()):"Delete"===e.key?(n[t]="",this.updateValueList(n),this._adapter.notifyValueChange(n),this._adapter.changeSpecificInputFocusState(Math.min(n.length-1,t+1),"focus"),e.preventDefault()):"ArrowLeft"===e.key?(this._adapter.changeSpecificInputFocusState(Math.max(0,t-1),"focus"),e.preventDefault()):"ArrowRight"===e.key&&(this._adapter.changeSpecificInputFocusState(Math.min(n.length-1,t+1),"focus"),e.preventDefault())}}}s.numberReg=/^\d*$/,s.mixedReg=/^[0-9a-zA-Z]$/,t.Z=s},645120:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(856445);class i extends r.Z{handleClick(e){this._adapter.notifyClick(this.getProp("record"),e)}}},844572:function(e,t,n){"use strict";n.d(t,{UX:function(){return s},j2:function(){return o}});var r=n(707852),i=n(601820);let s={PREFIX:`${r.T}-tree-select`,PREFIX_TREE:`${r.T}-tree`,PREFIX_OPTION:`${r.T}-tree-select-option`},o={SIZE_SET:["small","large","default"],SEARCH_POSITION_DROPDOWN:"dropdown",SEARCH_POSITION_TRIGGER:"trigger",STATUS:i.L}},422855:function(e,t,n){"use strict";function r(e){return"string"==typeof e}n.d(t,{Z:function(){return r}})},182811:function(e,t,n){"use strict";function r(e,t){}n.d(t,{Z:function(){return r}})},826673: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<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s=r.forwardRef(function(e,t){return r.createElement("svg",i({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,ref:t},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.75 16C7.75 15.5858 8.08579 15.25 8.5 15.25H23.5C23.9142 15.25 24.25 15.5858 24.25 16C24.25 16.4142 23.9142 16.75 23.5 16.75H8.5C8.08579 16.75 7.75 16.4142 7.75 16Z",fill:"currentColor"}))});s.elementType="Icon",t.Z=s},509608:function(e,t,n){"use strict";n.d(t,{E:function(){return i},T:function(){return s}}),n(374954);var r=n(101199);let i=(0,r.createContext)({childrenEffectClearFun:[]}),s=e=>{let t=(0,r.useContext)(i);(0,r.useEffect)(()=>{let n=e();if("function"!=typeof n)return;let r=!1,{childrenEffectClearFun:i=[]}=t,s=()=>{if(r)return;r=!0,n();let e=i.indexOf(s);e>=0&&i.splice(e,1)};return i.push(s),s},[])}},505455:function(e,t,n){"use strict";n.d(t,{E:function(){return u}});var r=n(629686),i=n(402748);n(490629);var s=n(320165),o=n(509608),a=n(693653),l=n(784252),c=n(101199);let u=(0,a.n)(e=>{let[t,n]=(0,c.useState)(!0),{playerRef:a}=(0,c.useContext)(o.E),u=(0,c.useRef)(null);return(0,c.useEffect)(()=>(a.current.plugins.rotate={hide(){n(!1)},show(){n(!0)},get rotateDeg(){var e;return(null===(e=u.current)||void 0===e?void 0:e.getRotateDeg())||0},updateRotateDeg(e){var t;null===(t=u.current)||void 0===t||t.rotate(e)}},()=>{var e;null===(e=a.current)||void 0===e||delete e.plugins.rotate}),[]),t&&(0,s.jsx)(l.p,(0,i._)((0,r._)({},e),{ref:u}))})},618115:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(629686),i=n(402748),s=n(320165);n(101199);var o=e=>(0,s.jsx)("svg",(0,i._)((0,r._)({xmlns:"http://www.w3.org/2000/svg",width:33,height:33,fill:"none",viewBox:"0 0 33 33"},e),{children:(0,s.jsx)("path",{fill:"#fff",fillOpacity:.9,fillRule:"evenodd",d:"m11.833 8.895-.707-.707-1.414 1.414.707.708 13.435 13.435.707.707 1.414-1.415-.707-.707-2.482-2.482v-8.416c0-2.33-2.54-3.771-4.54-2.575l-4.036 2.415-2.377-2.377Zm3.835 3.835 5.118 5.118v-6.416a1 1 0 0 0-1.513-.858l-3.605 2.156Zm4.763 10.412 1.416 1.417c-.921.864-2.365 1.132-3.601.392l-6.236-3.73H9.786a3 3 0 0 1-3-3v-2.633a3 3 0 0 1 3-3h.091l2 2H9.786a1 1 0 0 0-1 1v2.632a1 1 0 0 0 1 1h2.224a2 2 0 0 1 1.027.284l6.236 3.731a.995.995 0 0 0 1.158-.093Z",clipRule:"evenodd"})}))},428488:function(e,t,n){"use strict";n.d(t,{b:function(){return r}}),n(656562),n(992871),n(490629),n(299690);let r=e=>{var t;null===(t=e._plugin_worker)||void 0===t||t.terminate(),delete e._plugin_worker}},142355:function(e,t,n){"use strict";n.d(t,{N:function(){return i.N},c:function(){return r.c}});var r=n(519234),i=n(746126)},480525:function(e){"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),s=0;s<r.length;s++){var o=r[s],a=e[o];(i?-1!==t.indexOf(o):t(o,a,e))&&(n[o]=a)}return n}},406848:function(e,t,n){"use strict";n.d(t,{EZ:function(){return r},Yb:function(){return i},eu:function(){return s}});let r="/",i="/__rsc",s="/__server_action"},798021:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var r=n(975530),i=n(189566);function s(e,t){var n=(0,i._)(e,t,"update");return(0,r._)(e,n)}},404473:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(538660),i=n(474143),s=n(282875);function o(e,t,n,o){return(0,i._)(e,t),(0,s._)(n,"set"),(0,r._)(e,n,o),o}},99186:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(198128);function i(e,{enter:t,leave:n}){return new r.r(t,n).visit(e,null)}n(303583)},394055:function(e,t,n){"use strict";function r(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}n.d(t,{Z:function(){return r}})},465838:function(e,t,n){"use strict";n.d(t,{X:function(){return c},q:function(){return u}});var r=n(50199),i=n(882742),s=n(879498),o=n(863088),a=n(356574),l=n(187486);function c(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:o,mdxJsxFlowTagAttribute:g,mdxJsxFlowTagExpressionAttribute:m,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:u,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:o,mdxJsxTextTagAttribute:g,mdxJsxTextTagExpressionAttribute:m,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:u},exit:{mdxJsxFlowTagClosingMarker:d,mdxJsxFlowTagNamePrimary:h,mdxJsxFlowTagNameMember:p,mdxJsxFlowTagNameLocal:f,mdxJsxFlowTagExpressionAttribute:v,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:x,mdxJsxFlowTagAttributeNameLocal:y,mdxJsxFlowTagAttributeValueLiteral:b,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:S,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:w,mdxJsxFlowTag:E,mdxJsxTextTagClosingMarker:d,mdxJsxTextTagNamePrimary:h,mdxJsxTextTagNameMember:p,mdxJsxTextTagNameLocal:f,mdxJsxTextTagExpressionAttribute:v,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:x,mdxJsxTextTagAttributeNameLocal:y,mdxJsxTextTagAttributeValueLiteral:b,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:S,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:w,mdxJsxTextTag:E}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function r(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};!this.data.mdxJsxTagStack&&(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function o(e){let t=this.data.mdxJsxTagStack;if((0,i.ok)(t,"expected `mdxJsxTagStack`"),0===t.length)throw new l.$("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function c(e){let t=this.data.mdxJsxTag;if((0,i.ok)(t,"expected `mdxJsxTag`"),t.close)throw new l.$("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function u(e){let t=this.data.mdxJsxTag;if((0,i.ok)(t,"expected `mdxJsxTag`"),t.close)throw new l.$("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function d(){let e=this.data.mdxJsxTag;(0,i.ok)(e,"expected `mdxJsxTag`"),e.close=!0}function h(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`"),t.name=this.sliceSerialize(e)}function p(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`"),t.name+="."+this.sliceSerialize(e)}function f(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`"),t.name+=":"+this.sliceSerialize(e)}function g(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`"),c.call(this,e),n.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function m(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`"),c.call(this,e),n.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function v(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxExpressionAttribute"===r.type);let s=e.estree;r.value=this.resume(),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end),s&&(r.data={estree:s})}function x(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxAttribute"===r.type),r.name=this.sliceSerialize(e),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function y(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxAttribute"===r.type),r.name+=":"+this.sliceSerialize(e),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function b(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];r.value=(0,s.L)(this.resume(),{nonTerminated:!1}),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function S(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxAttribute"===r.type);let s={type:"mdxJsxAttributeValueExpression",value:this.resume()},o=e.estree;o&&(s.data={estree:o}),r.value=s,(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function w(){let e=this.data.mdxJsxTag;(0,i.ok)(e,"expected `mdxJsxTag`"),e.selfClosing=!0}function E(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`");let n=this.data.mdxJsxTagStack;(0,i.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];if(t.close&&r.name!==t.name)throw new l.$("Unexpected closing tag `"+T(t)+"`, expected corresponding closing tag for `"+T(r)+"` ("+(0,a.y)(r)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?n.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,C),t.selfClosing||t.close?this.exit(e,k):n.push(t)}function C(e,t){let n=this.data.mdxJsxTagStack;(0,i.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];(0,i.ok)(r,"expected `mdxJsxTag`");let s=e?" before the end of `"+e.type+"`":"",o=e?{start:e.start,end:e.end}:void 0;throw new l.$("Expected a closing tag for `"+T(r)+"` ("+(0,a.y)({start:t.start,end:t.end})+")"+s,o,"mdast-util-mdx-jsx:end-tag-mismatch")}function k(e,t){let n=this.data.mdxJsxTag;throw(0,i.ok)(n,"expected `mdxJsxTag`"),new l.$("Expected the closing tag `"+T(n)+"` either after the end of `"+t.type+"` ("+(0,a.y)(t.end)+") or another opening tag after the start of `"+t.type+"` ("+(0,a.y)(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function T(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}function u(e){let t=e||{},n=t.quote||'"',i=t.quoteSmart||!1,s=t.tightSelfClosing||!1,a=t.printWidth||Number.POSITIVE_INFINITY,l='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");return c.peek=p,{handlers:{mdxJsxFlowElement:c,mdxJsxTextElement:c},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function c(e,t,c,u){let p="mdxJsxFlowElement"===e.type,f=!!e.name&&(!e.children||0===e.children.length),g=void 0,m=h(d(c)),v=c.createTracker(u),x=c.createTracker(u),y=[],b=(p?m:"")+"<"+(e.name||""),S=c.enter(e.type);if(v.move(b),x.move(b),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++t<e.attributes.length;){let s;let a=e.attributes[t];if("mdxJsxExpressionAttribute"===a.type)s="{"+(a.value||"")+"}";else{if(!a.name)throw Error("Cannot serialize attribute w/o name");let e=a.value,t=a.name,c="";if(null==e);else if("object"==typeof e)c="{"+(e.value||"")+"}";else{let t=i&&(0,r.w)(e,n)>(0,r.w)(e,l)?l:n;c=t+(0,o.q)(e,{subset:[t]})+t}s=t+(c?"=":"")+c}y.push(s)}}let w=!1,E=y.join(" ");p&&(/\r?\n|\r/.test(E)||v.current().now.column+E.length+(f?s?2:3:1)>a)&&(w=!0);let C=v,k=b;if(w){C=x;let e=-1;for(;++e<y.length;)y[e]=m+" "+y[e];k+=C.move("\n"+y.join("\n")+"\n"+m)}else E&&(k+=C.move(" "+E));return f&&(k+=C.move((s||w?"":" ")+"/")),k+=C.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?k+=C.move(c.containerPhrasing(e,{...C.current(),before:">",after:"<"})):(C.shift(2),k+=C.move("\n")+C.move(function(e,t,n){let r=t.indexStack,i=e.children,s=t.createTracker(n),o=h(d(t)),a=[],l=-1;for(r.push(-1);++l<i.length;){let n=i[l];r[r.length-1]=l;let c={before:"\n",after:"\n",...s.current()},u=t.handle(n,e,t,c),d="mdxJsxFlowElement"===n.type?u:t.indentLines(u,function(e,t,n){return(n?"":o)+e});a.push(s.move(d)),"list"!==n.type&&(t.bulletLastUsed=void 0),l<i.length-1&&a.push(s.move("\n\n"))}return r.pop(),a.join("")}(e,c,C.current()))+C.move("\n"))),!f&&(k+=C.move((p?m:"")+"</"+(e.name||"")+">")),S(),k}}function d(e){let t=0,n=e.stack.length;for(;--n>-1;){let r=e.stack[n];if("blockquote"===r||"listItem"===r)break;"mdxJsxFlowElement"===r&&t++}return t}function h(e){return" ".repeat(e)}function p(){return"<"}},483286:function(e,t,n){"use strict";function r(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}n.d(t,{A:function(){return r}})},953088:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(890131),i=n(368183),s=n(463334),o=n(13202),a=n(187486);let l="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",c="#unexpected-type-in-code-expected-an-object-spread-spread";function u(e,t,n,s,o,c,u,h,p,f,g){let m,v;let x=this,y=this.events.length+3,b=0;return function(t){return e.enter(n),e.enter(s),e.consume(t),e.exit(s),m=x.now(),S};function S(r){if(null===r){if(v)throw v;let e=new a.$("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:x.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=l+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if((0,i.Ch)(r))return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),E;if(125===r&&0===b){let i=c?d.call(x,c,u,o,y,m,f||!1,p||!1):{type:"ok",estree:void 0};if("ok"===i.type){e.enter(s),e.consume(r),e.exit(s);let o=e.exit(n);return h&&i.estree&&Object.assign(o,{estree:i.estree}),t}return v=i.message,e.enter(o),e.consume(r),w}return e.enter(o),w(r)}function w(t){return 125===t&&0===b||null===t||(0,i.Ch)(t)?(e.exit(o),S(t)):(123!==t||c?125===t&&(b-=1):b+=1,e.consume(t),w)}function E(t){let n=x.now();if(n.line!==m.line&&!g&&x.parser.lazy[n.line]){let e=new a.$("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:x.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=l+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return(0,i.xz)(t)?(0,r.f)(e,S,"linePrefix",3)(t):S(t)}}function d(e,t,n,r,i,u,d){let h=(0,s.A)(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:u,prefix:d?"({":"",suffix:d?"})":""}),p=h.estree;if(d&&p){let e=p.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=(0,o.t)(e),n=new a.$("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=l+c,n}if(e.expression.properties[1]){let t=(0,o.t)(e.expression.properties[1]),n=new a.$("Unexpected extra content in spread: only a single spread is supported",{place:t.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw n.url=l+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",n}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=(0,o.t)(e.expression.properties[0]),n=new a.$("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=l+c,n}}if(h.error){let e=new a.$("Could not parse expression with acorn",{cause:h.error,place:{line:h.error.loc.line,column:h.error.loc.column+1,offset:h.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=l+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:p}}},774088:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(942558);function i(e){let t=this;t.parser=function(n){return(0,r.V)(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}},13202:function(e,t,n){"use strict";function r(e){let t=e||{},n=t.loc||{},r=t.range||[void 0,void 0],s=i(n.start,r[0]||t.start),o=i(n.end,r[1]||t.end);if(s&&o)return{start:s,end:o}}function i(e,t){if(e&&"object"==typeof e){let n="line"in e?s(e.line):void 0,r="column"in e?s(e.column):void 0;if(n&&void 0!==r)return{line:n,column:r+1,offset:s(t)}}}function s(e){return"number"==typeof e&&e>-1?e:void 0}n.d(t,{t:function(){return r}})},320742:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(187486),i=n(976838),s=n(25305),o=n(585417),a=n(66217);let l=["history","path","basename","stem","extname","dirname"];class c{constructor(e){let t,n;t=e?(0,o.C)(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":s.S.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<l.length;){let e=l[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)!l.includes(n)&&(this[n]=t[n])}get basename(){return"string"==typeof this.path?i.V.basename(this.path):void 0}set basename(e){d(e,"basename"),u(e,"basename"),this.path=i.V.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?i.V.dirname(this.path):void 0}set dirname(e){h(this.basename,"dirname"),this.path=i.V.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?i.V.extname(this.path):void 0}set extname(e){if(u(e,"extname"),h(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=i.V.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){(0,o.C)(e)&&(e=(0,a.Z)(e)),d(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?i.V.basename(this.path,this.extname):void 0}set stem(e){d(e,"stem"),u(e,"stem"),this.path=i.V.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let i=new r.$(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function u(e,t){if(e&&e.includes(i.V.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+i.V.sep+"`")}function d(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function h(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}},809798:function(e,t,n){"use strict";n.r(t),n.d(t,{Outlet:function(){return a}});var r=n(120335),i=n(124653),s=n(884051),o=n(339808);n(320165),n(101199);let a=()=>{let{pattern:e}=(0,r.useRoute)(),{serverProps:t}=(0,s.useServerProps)(),{serverRouteCache:n}=(0,i.useServerRouteCache)(),a=(0,o.b)();return(null==t?void 0:t.type)==="initial"?(e&&(null==n||n.current.set(`${e}|outlet`,a)),a):e&&(null==n?void 0:n.current.get(`${e}|outlet`))?null==n?void 0:n.current.get(`${e}|outlet`):a}},855138:function(e,t,n){"use strict";n.d(t,{e:function(){return y}});var r=n(215303);let i=[],s=[],o=[],a=[],l=[],c=[],u=[],d=[],h=[],p=[],f=[];for(let e=0;e<256;e+=1)e<128?f[e]=e<<1:f[e]=e<<1^283;let g=0,m=0;for(let e=0;e<256;e+=1){let e=m^m<<1^m<<2^m<<3^m<<4;e=e>>>8^255&e^99,i[g]=e,s[e]=g;let t=f[g],n=f[t],r=f[n],v=257*f[e]^16843008*e;o[g]=v<<24|v>>>8,a[g]=v<<16|v>>>16,l[g]=v<<8|v>>>24,c[g]=v,v=16843009*r^65537*n^257*t^16843008*g,u[e]=v<<24|v>>>8,d[e]=v<<16|v>>>16,h[e]=v<<8|v>>>24,p[e]=v,g?(g=t^f[f[f[r^t]]],m^=f[f[m]]):g=m=1}let v=[0,1,2,4,8,16,32,64,128,27,54];class x extends r.Gn{_doReset(){let e;if(this._nRounds&&this._keyPriorReset===this._key)return;this._keyPriorReset=this._key;let t=this._keyPriorReset,n=t.words,r=t.sigBytes/4;this._nRounds=r+6;let s=(this._nRounds+1)*4;this._keySchedule=[];let o=this._keySchedule;for(let t=0;t<s;t+=1)t<r?o[t]=n[t]:(e=o[t-1],t%r?r>6&&t%r==4&&(e=i[e>>>24]<<24|i[e>>>16&255]<<16|i[e>>>8&255]<<8|i[255&e]):e=(i[(e=e<<8|e>>>24)>>>24]<<24|i[e>>>16&255]<<16|i[e>>>8&255]<<8|i[255&e])^v[t/r|0]<<24,o[t]=o[t-r]^e);this._invKeySchedule=[];let a=this._invKeySchedule;for(let t=0;t<s;t+=1){let n=s-t;e=t%4?o[n]:o[n-4],t<4||n<=4?a[t]=e:a[t]=u[i[e>>>24]]^d[i[e>>>16&255]]^h[i[e>>>8&255]]^p[i[255&e]]}}encryptBlock(e,t){this._doCryptBlock(e,t,this._keySchedule,o,a,l,c,i)}decryptBlock(e,t){let n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,h,p,s),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n}_doCryptBlock(e,t,n,r,i,s,o,a){let l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],p=4;for(let e=1;e<l;e+=1){let e=r[c>>>24]^i[u>>>16&255]^s[d>>>8&255]^o[255&h]^n[p];p+=1;let t=r[u>>>24]^i[d>>>16&255]^s[h>>>8&255]^o[255&c]^n[p];p+=1;let a=r[d>>>24]^i[h>>>16&255]^s[c>>>8&255]^o[255&u]^n[p];p+=1;let l=r[h>>>24]^i[c>>>16&255]^s[u>>>8&255]^o[255&d]^n[p];p+=1,c=e,u=t,d=a,h=l}let f=(a[c>>>24]<<24|a[u>>>16&255]<<16|a[d>>>8&255]<<8|a[255&h])^n[p];p+=1;let g=(a[u>>>24]<<24|a[d>>>16&255]<<16|a[h>>>8&255]<<8|a[255&c])^n[p];p+=1;let m=(a[d>>>24]<<24|a[h>>>16&255]<<16|a[c>>>8&255]<<8|a[255&u])^n[p];p+=1;let v=(a[h>>>24]<<24|a[c>>>16&255]<<16|a[u>>>8&255]<<8|a[255&d])^n[p];p+=1,e[t]=f,e[t+1]=g,e[t+2]=m,e[t+3]=v}}x.keySize=8;let y=r.Gn._createHelper(x)},304174:function(e,t,n){"use strict";n.d(t,{pt:function(){return c}});var r=n(873781);let i=[];for(let e=0;e<64;e+=1)i[e]=4294967296*Math.abs(Math.sin(e+1))|0;let s=(e,t,n,r,i,s,o)=>{let a=e+(t&n|~t&r)+i+o;return(a<<s|a>>>32-s)+t},o=(e,t,n,r,i,s,o)=>{let a=e+(t&r|n&~r)+i+o;return(a<<s|a>>>32-s)+t},a=(e,t,n,r,i,s,o)=>{let a=e+(t^n^r)+i+o;return(a<<s|a>>>32-s)+t},l=(e,t,n,r,i,s,o)=>{let a=e+(n^(t|~r))+i+o;return(a<<s|a>>>32-s)+t};class c extends r.Px{_doReset(){this._hash=new r.Ic([1732584193,4023233417,2562383102,271733878])}_doProcessBlock(e,t){for(let n=0;n<16;n+=1){let r=t+n,i=e[r];e[r]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360}let n=this._hash.words,r=e[t+0],c=e[t+1],u=e[t+2],d=e[t+3],h=e[t+4],p=e[t+5],f=e[t+6],g=e[t+7],m=e[t+8],v=e[t+9],x=e[t+10],y=e[t+11],b=e[t+12],S=e[t+13],w=e[t+14],E=e[t+15],C=n[0],k=n[1],T=n[2],_=n[3];C=s(C,k,T,_,r,7,i[0]),_=s(_,C,k,T,c,12,i[1]),T=s(T,_,C,k,u,17,i[2]),k=s(k,T,_,C,d,22,i[3]),C=s(C,k,T,_,h,7,i[4]),_=s(_,C,k,T,p,12,i[5]),T=s(T,_,C,k,f,17,i[6]),k=s(k,T,_,C,g,22,i[7]),C=s(C,k,T,_,m,7,i[8]),_=s(_,C,k,T,v,12,i[9]),T=s(T,_,C,k,x,17,i[10]),k=s(k,T,_,C,y,22,i[11]),C=s(C,k,T,_,b,7,i[12]),_=s(_,C,k,T,S,12,i[13]),T=s(T,_,C,k,w,17,i[14]),k=s(k,T,_,C,E,22,i[15]),C=o(C,k,T,_,c,5,i[16]),_=o(_,C,k,T,f,9,i[17]),T=o(T,_,C,k,y,14,i[18]),k=o(k,T,_,C,r,20,i[19]),C=o(C,k,T,_,p,5,i[20]),_=o(_,C,k,T,x,9,i[21]),T=o(T,_,C,k,E,14,i[22]),k=o(k,T,_,C,h,20,i[23]),C=o(C,k,T,_,v,5,i[24]),_=o(_,C,k,T,w,9,i[25]),T=o(T,_,C,k,d,14,i[26]),k=o(k,T,_,C,m,20,i[27]),C=o(C,k,T,_,S,5,i[28]),_=o(_,C,k,T,u,9,i[29]),T=o(T,_,C,k,g,14,i[30]),k=o(k,T,_,C,b,20,i[31]),C=a(C,k,T,_,p,4,i[32]),_=a(_,C,k,T,m,11,i[33]),T=a(T,_,C,k,y,16,i[34]),k=a(k,T,_,C,w,23,i[35]),C=a(C,k,T,_,c,4,i[36]),_=a(_,C,k,T,h,11,i[37]),T=a(T,_,C,k,g,16,i[38]),k=a(k,T,_,C,x,23,i[39]),C=a(C,k,T,_,S,4,i[40]),_=a(_,C,k,T,r,11,i[41]),T=a(T,_,C,k,d,16,i[42]),k=a(k,T,_,C,f,23,i[43]),C=a(C,k,T,_,v,4,i[44]),_=a(_,C,k,T,b,11,i[45]),T=a(T,_,C,k,E,16,i[46]),k=a(k,T,_,C,u,23,i[47]),C=l(C,k,T,_,r,6,i[48]),_=l(_,C,k,T,g,10,i[49]),T=l(T,_,C,k,w,15,i[50]),k=l(k,T,_,C,p,21,i[51]),C=l(C,k,T,_,b,6,i[52]),_=l(_,C,k,T,d,10,i[53]),T=l(T,_,C,k,x,15,i[54]),k=l(k,T,_,C,c,21,i[55]),C=l(C,k,T,_,m,6,i[56]),_=l(_,C,k,T,E,10,i[57]),T=l(T,_,C,k,f,15,i[58]),k=l(k,T,_,C,S,21,i[59]),C=l(C,k,T,_,h,6,i[60]),_=l(_,C,k,T,y,10,i[61]),T=l(T,_,C,k,u,15,i[62]),k=l(k,T,_,C,v,21,i[63]),n[0]=n[0]+C|0,n[1]=n[1]+k|0,n[2]=n[2]+T|0,n[3]=n[3]+_|0}_doFinalize(){let e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32;let i=Math.floor(n/4294967296);t[(r+64>>>9<<4)+15]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,t[(r+64>>>9<<4)+14]=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,e.sigBytes=(t.length+1)*4,this._process();let s=this._hash,o=s.words;for(let e=0;e<4;e+=1){let t=o[e];o[e]=(t<<8|t>>>24)&16711935|(t<<24|t>>>8)&4278255360}return s}clone(){let e=super.clone.call(this);return e._hash=this._hash.clone(),e}}r.Px._createHelper(c),r.Px._createHmacHelper(c)}}]); |