/*! For license information please see 48994.223034ef.js.LICENSE.txt */ !function(e,t){"object"==typeof module&&"object"==typeof module.exports?t():"function"==typeof define&&define.amd?define([],t):(e="undefined"!=typeof globalThis?globalThis:e||self)&&t()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).xss={})}(this,function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n/g,a=/&#([a-zA-Z0-9]*);?/gim,s=/"/g,l=/:?/gim,c=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,d=/u\s*r\s*l\s*\(.*/gi,h=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,f=/"/g,p=function(e){return e.replace(i,"<").replace(o,">")},m={indexOf:function(e,t){var n,r;for(n=0,r=e.length;n127&&r<2048?t+=String.fromCharCode(r>>6|192)+String.fromCharCode(63&r|128):t+=String.fromCharCode(r>>12|224)+String.fromCharCode(r>>6&63|128)+String.fromCharCode(63&r|128)}return t}(e);u>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,a=(15&n)<<2|(r=e.charCodeAt(u++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),c=c+l.charAt(i)+l.charAt(o)+l.charAt(a)+l.charAt(s);return c}function y(e){var t,n,r,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,n=(15&i)<<4|(o=s.indexOf(e.charAt(c++)))>>2,r=(3&o)<<6|(a=s.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(n)),64!==a&&(l+=String.fromCharCode(r));return function(e){for(var t="",n=0,r=0,i=0,o=0;n191&&r<224?(t+=String.fromCharCode((31&r)<<6|63&(o=e.charCodeAt(n+1))),n+=2):(o=e.charCodeAt(n+1),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&(i=e.charCodeAt(n+2))),n+=3);return t}(l)}function w(e,t,n){var r="",i=0,o=!1,a=!1,s=0,l=e.length,c="",u="";e:for(s=0;s"===d||s===l-1){r+=n(e.slice(i,o)),c=function(e){var t,n=m.spaceIndex(e);return t=-1===n?e.slice(1,-1):e.slice(1,n+1),"/"===(t=m.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}(u=e.slice(o,s+1)),r+=t(o,r.length,c,u,"0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,c-1))){l(a,b(m.trim(e.slice(n,c)))),a=!1,n=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;l(a,m.trim(e.slice(i+1,d))),a=!1,n=(c=d)+1}}else a=e.slice(n,c),n=c+1,i='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;te.charCodeAt(n)?" ":e.charAt(n);return m.trim(t)}(e=(e=(e=e.replace(s,'"')).replace(a,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(l,":").replace(c," "))}(n),"href"===t||"src"===t){if("#"===(n=m.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=p(e=e.replace(f,"""))}(n)}var P=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},k=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=O,t.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,r,i,o,a,s=this.options,l=s.whiteList,c=s.onTag,u=s.onIgnoreTag,d=s.onTagAttr,h=s.onIgnoreTagAttr,f=s.safeAttrValue,p=s.escapeHtml;s.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),s.allowCommentTag||(e=function(e){for(var t="",n=0;n");var s=function(e){var t=m.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=m.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=m.trim(e.slice(0,-1))),{html:e,closing:n}}(r),g=l[n],b=x(s.html,function(e,t){var r=-1!==m.indexOf(g,e),i=d(n,e,t,r);return null==i?r?(t=f(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(i=h(n,e,t,r))?void 0:i:i});return r="<".concat(n),b&&(r+=" ".concat(b)),s.closing&&(r+=" /"),r+=">"}return null==(a=u(n,r,o))?p(r):a},p);return g&&(b=g.remove(b)),b},e}(),E=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),C=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(!m.includes(r,"bid"))return r;if(e.config&&e.config.bid)return e.config.bid;if(E&&E._xssBid)return E._xssBid;if(E&&E.slardar&&"function"==typeof E.slardar.config){var i=(E.slardar.config()||{}).bid;if(i)return i}if(E&&E.Slardar&&"function"==typeof E.Slardar.config){var o=(E.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==E?void 0:E.Slardar)||void 0===t?void 0:t._baseParams)||void 0===n?void 0:n.bid)||"argus"},this.getConfigRegion=function(){var t;return m.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==E?void 0:E.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var n=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),E.fetch(t,{method:"post",body:JSON.stringify(n),headers:{"Content-Type":"application/json"}}).catch(function(e){}),e.lock=!1,e.upload()},this.timeout))},e.prototype.generateKey=function(e){return e.collectKey?[e.collectMode,e.collectKey].join("___"):""},e.prototype.push=function(e){this.batchData.push(e),this.upload()},e.prototype.report=function(e){var t=this.generateKey(e);if(E.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var 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}()),S=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=m.from(m.uniq(e[n])),t+=e[n].length):0===m.keys(e[n]).length?delete e[n]:m.keys(e[n]).forEach(function(r){e[n][r]=m.from(m.uniq(e[n][r])),t+=e[n][r].length})},r=0,i=m.keys(e);r0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var i=e.slice(11).replace(/\s/g,"").trim();return!!m.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===i})||(t&&t("javascript:"),!1)}return!0}var L=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)||A(e,t))return e;try{if(!0===(i=JSON.parse(i))||"true"===i){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function N(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!A(e=_(e)))return!1;var i,o={url:(i=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:i[1],slash:i[2],host:i[3],port:i[4],path:i[5],query:i[6],hash:i[7]},a=o.scheme,s=o.host;return r?!!r(e):!(!a||!s)&&(!m.includes(["http","https","file"],a)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),m.some(t,function(e){return!!(e instanceof RegExp&&e.test(s))||e===s})))}var R={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},D={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=S(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&&m.indexOf(["href","src"],t)>-1?D.domainWhiteList&&Array.isArray(D.domainWhiteList)&&D.domainWhiteList.length>0&&!N(r,n([],D.domainWhiteList,!0))?"":"".concat(t,'="').concat(L(r,function(e){var t;null===(t=D.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(m.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(D.collect.whiteList[e]=D.collect.whiteList[e]||[],void D.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;w(t,function(e,t,n,r){x(T(r).html.replace("/",""),function(e){D.collect.whiteList[n]=D.collect.whiteList[n]||[],D.collect.whiteList[n].push(e)})},p)},whiteList:R,mergeWhiteList:function(e){for(var t,n={},r=0,i=m.keys(R);r");var o=T(r),a=x(o.html,function(e,t){var r,i=0;if($.blackList[n]&&m.includes($.blackList[n],e)&&(H.collect.blackList[n]=H.collect.blackList[n]||[],H.collect.blackList[n].push(e),i++),$.blackAttrRegExps.length&&$.blackAttrRegExps.some(function(t){return t.test(e)})&&m.forEach($.blackAttrRegExps,function(t){t.test(e)&&(H.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),$.blackAttrs.length&&m.includes($.blackAttrs,e)&&($.blackAttrs.push(e),i++),!i){if($.filterList&&$.filterList[n]&&m.includes($.filterList[n],e)){var o=L(t,function(e){var t;null===(t=H.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(H.collect.filterList[n]=H.collect.filterList[n]||[],H.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return $.filterAttrs&&m.includes($.filterAttrs,e)?((o=L(t,function(e){var t;null===(t=H.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=H.collect)||void 0===r||r.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return r="<".concat(n),a&&(r+=" ".concat(a)),o.closing&&(r+=" /"),r+=">"},p);null===(n=H.collect)||void 0===n||n.blackTags.push(e)}},B=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")},F=function(e){return function(n,r,i){if(!n||"string"!=typeof n)return n;var o=r;e===j&&(o=D).initCollect();var a=e(n,o);if(P(a)===P(n))return n;if(!i)return a;var s=i.logType,l=B(i),c=o.removeCollect();return C.report(t(t({type:s,disposition:l},c),{sourceText:v(n),filterText:v(a)})),"enforce"===l?a:n}},X=F(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 k(t).process(e)}),G=F(j),W=function(e,t,n){var r=[],i=L(e,function(e){r.push(e)});if(i===e)return e;r=m.from(m.uniq(r));var o=t||n||{};if(!o)return i;var a=o.logType,s=B(n);return C.report({type:a,disposition:s,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:v(e),filterText:v(i)}),"enforce"===s?i:e},Y=E._xssProject||{},J=E.xssNamespace||{},V="3.0.26",q={FilterXSS:k,version:V,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:X,_filterXSS:G,filterUrl:W,Config:D,BlackConfig:H,project:Y,setProjectName:function(e){Y[e]=this,E._xssProjectName=e}};J.douyin_web=q,E.xssNamespace=J,E.Math&&!E.Math.xssNamespace&&(E.Math.xssNamespace=J),Y[V]=q,E.globalThis=E,E.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:q},E.xss=q,E.isSafeUrl=N,E.isSafeDomain=N,E.isSafeProtocol=A,E._xssProject=Y,E._xssProjectName&&(Y[E._xssProjectName]=q);var K=q.setProjectName.bind(q);e.BlackConfig=H,e.Config=D,e.FilterXSS=k,e._filterXSS=G,e.filterUrl=W,e.filterXSS=X,e.isSafeDomain=N,e.isSafeProtocol=A,e.isSafeUrl=N,e.project=Y,e.setProjectName=K,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;J[t]=q;D.bid=n,D.region=r,D.enabled=!0},e.xssNamespace=J,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["48994"],{614096:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.1 2.58A1 1 0 0 1 2 2h20a1 1 0 0 1 .76 1.65l-8.2 9.18V21a1 1 0 0 1-1.44.9l-3.07-2a1 1 0 0 1-.55-.9v-6.17L1.24 3.65a1 1 0 0 1-.15-1.07Z",fill:"currentColor"}))},"filter");t.Z=o},497506:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm-.17-8.4c-.86 0-1.3-.53-1.3-1.23 0-1.05.53-1.72 1.74-2.64l.06-.05c.83-.62 1.4-1.06 1.4-1.85 0-.9-.83-1.4-1.76-1.4-.76 0-1.34.28-1.8.87-.33.34-.6.53-1.05.53C8.38 8.83 8 8.3 8 7.7c0-.6.34-1.22.88-1.68A5.15 5.15 0 0 1 12.28 5c2.71 0 4.62 1.34 4.62 3.64 0 1.68-1 2.5-2.2 3.31-.8.59-1.17.93-1.48 1.62-.33.6-.58 1.04-1.4 1.04Zm-.02 4.17c-.94 0-1.71-.6-1.71-1.54 0-.94.77-1.55 1.7-1.55.95 0 1.7.6 1.7 1.55 0 .93-.75 1.54-1.7 1.54Z",fill:"currentColor"}))},"help_circle");t.Z=o},100578:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("circle",{cx:12,cy:12,r:5,fill:"currentColor"}))},"radio");t.Z=o},326621:function(e,t,n){"use strict";var r=n(101199),i=n(994298);let o=(0,i.A)(function(e){return r.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),r.createElement("path",{d:"M4.5 2C3.67 2 3 2.67 3 3.5v17a1.5 1.5 0 0 0 3 0v-17C6 2.67 5.33 2 4.5 2Z",fill:"currentColor"}),r.createElement("path",{d:"m8 11.21 11.38-8.94a1 1 0 0 1 1.62.79v17.88a1 1 0 0 1-1.62.79L8 12.79a1 1 0 0 1 0-1.58Z",fill:"currentColor"}))},"restart");t.Z=o},511714:function(e,t,n){"use strict";n.d(t,{F:function(){return c}});var r=n(42251),i=n(63069),o=n(286508);let a=[],s=[],l=[];function c(e){if(!e)return 0;let t=function(e){if(e===r.O.Intel&&a.length)return a;if(e===r.O.Nvidia&&s.length)return s;if(e===r.O.Amd&&l.length)return l;try{let t=(0,o.Z)(e),n=(0,i._L)(t,e);return e===r.O.Intel&&(a=n),e===r.O.Nvidia&&(s=n),e===r.O.Amd&&(l=n),n}catch(e){}return[]}(e.vendor);return(0,i.M8)((0,i.vC)(t,e))}},366741:function(e,t,n){"use strict";function r(e){var t=e||new Map;return{all:t,on:function(e,n){var r=t.get(e);!(r&&r.push(n))&&t.set(e,[n])},off:function(e,n){var r=t.get(e);r&&r.splice(r.indexOf(n)>>>0,1)},emit:function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;it in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,v=(e,t)=>{for(var n in t||(t={}))m.call(t,n)&&b(e,n,t[n]);if(p)for(var n of p(t))g.call(t,n)&&b(e,n,t[n]);return e},y=(e,t)=>h(e,f(t)),w=(e,t)=>{var n={};for(var r in e)m.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&p)for(var r of p(e))0>t.indexOf(r)&&g.call(e,r)&&(n[r]=e[r]);return n},x=(e,t,n)=>new Promise((r,i)=>{var o=e=>{try{s(n.next(e))}catch(e){i(e)}},a=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,a);s((n=n.apply(e,t)).next())}),O=class e{constructor(t){let n=e._getSocketParams(t);"undefined"!=typeof WebSocket&&(this.socket=new WebSocket(n),this.socket.binaryType="arraybuffer")}onError(e){this.socket.addEventListener("error",e)}onMessage(e){this.socket.addEventListener("message",e)}onOpen(e){this.socket.addEventListener("open",e)}onClose(e){this.socket.addEventListener("close",e)}send(e){return this.socket.readyState===WebSocket.OPEN&&(this.socket.send(e),!0)}};O.VERSION="1.0.15",O._getSocketParams=e=>{let{app_name:t,routeParams:n,pushServer:r,websocket_key:o}=e,a=w(e,["app_name","routeParams","pushServer","websocket_key"]),s=v(v({app_name:t,version_code:i.ry,webcast_sdk_version:O.VERSION,update_version_code:O.VERSION,compress:"gzip"},n),a),l=(0,c.j)(s,o);return`${r}?${u.P(v(v({},s),l))}`};var P=l()("im:socket"),k=class{constructor(e,t,n=2){this.heartbeatDuration=i.XM,this.pingStarted=!1,this.lastProps=void 0,this.pingTimer=void 0,this.transport=r.J.instance,this.pingCount=0,this.downgradePingCount=2,this.lastReceiveTime=Date.now(),this.emitter=e,this.cursor=t,this.downgradePingCount=n}stop(){P("socket terminating"),this.pingStarted=!1,clearTimeout(this.pingTimer),this.cursor.clear(),this.client&&(this.client.socket.close(),this.client=void 0)}start(e){var t,n;return(this.pingCount=0,(null==(n=null==(t=this.client)?void 0:t.socket)?void 0:n.readyState)===WebSocket.OPEN)?(P("socket client is open"),()=>void 0):(P("socket start"),(t,n)=>{if(!("WebSocket"in window))return n(Error("not support websocket"));try{this.lastProps=e,this.client=new O(v(y(v({},(0,o.K)()),{cursor:this.cursor.cursor,internal_ext:this.cursor.internal_ext}),e)),this.client.onMessage(e=>this._receiveMessage(e,n)),this.client.onError(e=>{P("socket error",e),this.emitter.emit("stop-driver","websocket","error"),this.emitter.emit("error","socket-driver",e),n(Error(e.type)),this.pingStarted=!1}),this.client.onClose(e=>{P("socket closed",e),this.emitter.emit("stop-driver","websocket"),this.pingStarted&&(n(Error(e.type)),this.pingStarted=!1)}),this.client.onOpen(()=>{P("socket established"),this.emitter.emit("start-driver","websocket"),t(),this.pingStarted=!0,this.ping()})}catch(e){P("socket error",e),this.emitter.emit("stop-driver","websocket","error"),this.emitter.emit("error","socket-driver",e),n(e),this.pingStarted=!1}})}restart(){let e=()=>{this._reconnect(),this.emitter.off("stop-driver",e)};this.pingStarted&&(this.stop(),this.emitter.on("stop-driver",e))}_reconnect(e="websocket"){this.lastProps&&"websocket"===e&&this.start(this.lastProps)(()=>{P("socket restart")},()=>{P("socket fail")})}ping(){return x(this,null,function*(){var e,t;let n=Math.max(i.E1,Number(this.heartbeatDuration));if((null==(t=null==(e=this.client)?void 0:e.socket)?void 0:t.readyState)===WebSocket.OPEN&&(P("send heart beat"),this.client.send((yield this.transport.ping())),this.pingCount++,this.pingCount>1&&(P(`cannot receive downstream message, ${this.pingCount} times`),this.emitter.emit("error","socket-driver",Error(`cannot receive downstream message, ${this.pingCount} times`))),this.pingCount>=this.downgradePingCount))return this._cannotReceiveMessage();this.pingTimer=window.setTimeout(()=>{this.pingStarted&&this.ping()},n)})}_cannotReceiveMessage(){var e;null==(e=this.client)||e.socket.close(),this.pingStarted=!1;let t=Date.now()-this.lastReceiveTime;this.emitter.emit("error","socket-driver",Error(`cannot receive downstream message, after ${t}ms`)),this.emitter.emit("downgrade","polling")}_receiveMessage(e,t){return x(this,null,function*(){var n,r,o,s;this.pingCount=0,this.lastReceiveTime=Date.now();let l=yield x(this,null,function*(){try{return yield this.transport.decode(new Uint8Array(e.data))}catch(e){return e.message&&(e.message=`decode socket response failed: ${e.message}`),this.emitter.emit("error","decode",e),null}});if(!l)return;let{response:c,frame:u,cursor:d,needAck:h,internalExt:f}=l;if(h){let e=yield this.transport.ack(u,c);this.cursor.set(d,f),P("sending ack"),!(null==(n=this.client)?void 0:n.send(e))&&(this.emitter.emit("error","socket-driver",Error(`socket already close [logid: ${null!=(r=null==u?void 0:u.LogID)?r:""}]`)),this.pingStarted=!1,this.emitter.emit("downgrade","polling"))}if((null==u?void 0:u.payload_type)===i.AG.Msg&&(this.emitter.emit("message",c),this.emitter.emit("header","socket",(0,a.d)(null!=(o=u.headers)?o:[]))),(null==u?void 0:u.payload_type)===i.AG.Close)return this.emitter.emit("stop-driver","websocket"),null==(s=this.client)||s.socket.close(),t(Error("close by payloadtype"))})}}},971025:function(e,t,n){"use strict";var r=n(177405).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(1,arguments);var n,r,l,c,u,d,h,f,p=(0,s.getDefaultOptions)(),m=(0,a.default)(null!==(n=null!==(r=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==r?r:null===(h=p.locale)||void 0===h?void 0:null===(f=h.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,i.default)(e),b=g.getUTCDay();return g.setUTCDate(g.getUTCDate()-((b=1&&t<=7}},{key:"set",value:function(e,t,n){return(e=(0,d.Z)(e,n)).setUTCHours(0,0,0,0),e}}]),n}(c._)},434500:function(e,t,n){"use strict";n.d(t,{C:function(){return h}});var r=n(315355),i=n(919209),o=n(732905),a=n(625813),s=n(92833),l=n(272787),c=n(483803),u=n(19470),d=n(707804),h=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;(0,r.Z)(this,n);for(var i=arguments.length,a=Array(i),s=0;s=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=(0,d.Z)(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(c._)},509667:function(e,t,n){"use strict";n.d(t,{T:function(){return d}});var r=n(315355),i=n(919209),o=n(732905),a=n(625813),s=n(92833),l=n(272787),c=n(483803),u=n(19470),d=function(e){(0,a.Z)(n,e);var t=(0,s.Z)(n);function n(){var e;(0,r.Z)(this,n);for(var i=arguments.length,a=Array(i),s=0;sMath.abs((t-this.props.height)*a)?t=e/a:e=t*a}var s=e,l=t,c=this.slack||[0,0],u=c[0],d=c[1];return e+=u,t+=d,r&&(e=Math.max(r[0],e),t=Math.max(r[1],t)),i&&(e=Math.min(i[0],e),t=Math.min(i[1],t)),this.slack=[u+(s-e),d+(l-t)],[e,t]},l.resizeHandler=function(e,t){var n=this;return function(r,i){var o=i.node,a=i.deltaX,s=i.deltaY;"onResizeStart"===e&&n.resetData();var l=("both"===n.props.axis||"x"===n.props.axis)&&"n"!==t&&"s"!==t,c=("both"===n.props.axis||"y"===n.props.axis)&&"e"!==t&&"w"!==t;if(l||c){var u=t[0],d=t[t.length-1],h=o.getBoundingClientRect();null!=n.lastHandleRect&&("w"===d&&(a+=h.left-n.lastHandleRect.left),"n"===u&&(s+=h.top-n.lastHandleRect.top)),n.lastHandleRect=h,"w"===d&&(a=-a),"n"===u&&(s=-s);var f=n.props.width+(l?a/n.props.transformScale:0),p=n.props.height+(c?s/n.props.transformScale:0),m=n.runConstraints(f,p);f=m[0],p=m[1];var g=f!==n.props.width||p!==n.props.height,b="function"==typeof n.props[e]?n.props[e]:null;b&&!("onResize"===e&&!g)&&(null==r.persist||r.persist(),b(r,{node:o,size:{width:f,height:p},handle:t})),"onResizeStop"===e&&n.resetData()}}},l.renderResizeHandle=function(e,t){var n=this.props.handle;if(!n)return r.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+e,ref:t});if("function"==typeof n)return n(e,t);var i=d({ref:t},"string"==typeof n.type?{}:{handleAxis:e});return r.cloneElement(n,i)},l.render=function(){var e=this,t=this.props,n=t.children,a=t.className,l=t.draggableOpts,u=(t.width,t.height,t.handle,t.handleSize,t.lockAspectRatio,t.axis,t.minConstraints,t.maxConstraints,t.onResize,t.onResizeStop,t.onResizeStart,t.resizeHandles),h=(t.transformScale,function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r=0)&&(i[n]=e[n]);return i}(t,s));return(0,o.cloneElement)(n,d(d({},h),{},{className:(a?a+" ":"")+"react-resizable",children:[].concat(n.props.children,u.map(function(t){var n,o=null!=(n=e.handleRefs[t])?n:e.handleRefs[t]=r.createRef();return r.createElement(i.DraggableCore,c({},l,{nodeRef:o,key:"resizableHandle-"+t,onStop:e.resizeHandler("onResizeStop",t),onStart:e.resizeHandler("onResizeStart",t),onDrag:e.resizeHandler("onResize",t)}),e.renderResizeHandle(t,o))}))}))},t}(r.Component);t.default=f,f.propTypes=a.resizableProps,f.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},954090:function(e,t,n){"use strict";n.d(t,{CR:function(){return d},FC:function(){return m},Jh:function(){return c},KL:function(){return g},XA:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return f},fl:function(){return h},gn:function(){return s},mG:function(){return l},pi:function(){return o},qq:function(){return p}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function c(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function d(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function h(){for(var e=[],t=0;t1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(function(e){e.value instanceof p?Promise.resolve(e.value.v).then(l,c):u(o[0][2],e)})(i[e](t))}catch(e){u(o[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function u(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function g(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=u(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}},176746:function(e,t,n){"use strict";n.r(t)},564873:function(e,t,n){"use strict";n.r(t)},251060:function(e,t,n){"use strict";n.r(t)},671195:function(e,t,n){"use strict";n.r(t)},841986:function(e,t,n){"use strict";n.r(t)},101767:function(e,t,n){"use strict";n.r(t)},150636:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}}),n(932651),n(313036);var r=n(101199),i=n(469935),o=n.n(i),a=n(622689),s=n.n(a),l=n(158871),c=n(761532),u=n(135751);n(343032);var d=n(392129),h=n(170651),f=n(709544),p=n(953847),m=n(279426),g=n(724409),b=n(182811),v=n(426337);let y=c.U.PREFIX,w=c.j.TYPE;class x extends v.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{setVisible:()=>{this.setState({visible:!1})},notifyClose:e=>{let{onClose:t}=this.props;t(e)}})}componentDidMount(){this.foundation=new u.Z(this.adapter),this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}renderCloser(){let{closeIcon:e}=this.props;return null===e?e:r.createElement(l.Z,{className:`${y}-close`,onClick:this.remove,icon:e||r.createElement(h.Z,{"x-semi-prop":"closeIcon","aria-hidden":!0}),theme:"borderless",size:"small",type:"tertiary","aria-label":"Close"})}renderIcon(){let{type:e,icon:t}=this.props,n={warning:r.createElement(f.Z,{size:"large","aria-label":"warning"}),success:r.createElement(p.Z,{size:"large","aria-label":"success"}),info:r.createElement(m.Z,{size:"large","aria-label":"info"}),danger:r.createElement(g.Z,{size:"large","aria-label":"danger"})}[e],i=o()({[`${y}-icon`]:!0});return(void 0!==t&&(n=t),n)?r.createElement("div",{className:i,"x-semi-prop":"icon"},n):null}render(){let{children:e,type:t,className:n,style:i,bordered:a,title:s,description:l,fullMode:c}=this.props,{visible:u}=this.state,h=o()(y,n,{[`${y}-${t}`]:t,[`${y}-full`]:c,[`${y}-in-container`]:!c,[`${y}-bordered`]:!c&&a});return u?r.createElement("div",Object.assign({className:h,style:i,role:"alert"},this.getDataAttr(this.props)),r.createElement("div",{className:`${y}-content-wrapper`},r.createElement("div",{className:`${y}-content`},this.renderIcon(),r.createElement("div",{className:`${y}-content-body`},s?r.createElement(d.Z.Title,{heading:5,className:`${y}-title`,component:"div","x-semi-prop":"title"},s):null,l?r.createElement(d.Z.Paragraph,{className:`${y}-description`,component:"div","x-semi-prop":"description"},l):null)),this.renderCloser()),e?r.createElement("div",{className:`${y}-extra`,"x-semi-prop":"children"},e):null):null}constructor(e){super(e),this.remove=e=>{e&&e.stopPropagation(),this.foundation.removeBanner(e)},this.state={visible:!0},(0,b.Z)("target"in this.props,"[Semi Banner] 'target' has been deprecated, please write JSX directly instead.")}}x.propTypes={fullMode:s().bool,type:s().oneOf(w),title:s().node,description:s().node,icon:s().node,closeIcon:s().node,children:s().node,style:s().object,className:s().string,onClose:s().func,bordered:s().bool},x.defaultProps={onClose:()=>{},type:"info",fullMode:!0}},713243:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}}),n(932651),n(490629);var r=n(61766),i=n.n(r),o=n(92122),a=n.n(o),s=n(869014),l=n.n(s),c=n(101199),u=n(469935),d=n.n(u),h=n(622689),f=n.n(h),p=n(461693),m=n(910165),g=n(426337),b=n(786202),v=n(610655),y=n(392129);let w=p.U.PREFIX;class x extends g.Z{get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{notifyClick:function(){e.props.onClick(...arguments)},notifyParent:function(){e.context.onClick(...arguments)}})}componentDidMount(){this.foundation.init()}componentWillUnmount(){this.foundation.destroy()}render(){let{active:e,shouldRenderSeparator:t}=this.props,n=this.renderItem(),r=this.props.separator||c.createElement("span",{className:`${w}-separator`},this.context.separator),i=d()({[`${w}-item-wrap`]:!0});return c.createElement("span",Object.assign({className:i},e?{"aria-current":"page"}:{},this.getDataAttr(this.props)),n,t&&r)}constructor(e){super(e),this.renderIcon=()=>{let e=this.props.icon,{compact:t}=this.context,n=`${w}-item-icon`;return c.isValidElement(e)?c.cloneElement(e,{className:n,size:t?"small":"default"}):e},this.getTooltipOpt=()=>{let{showTooltip:e}=this.context;if(!e)return{width:150,ellipsisPos:"end"};let t={width:150,ellipsisPos:"end",opts:{autoAdjustOverflow:!0,position:"top"}};return"object"==typeof e?l()(t,e):t},this.getItemInfo=()=>{let e={},{route:t,children:n,href:r}=this.props,o=!a()(r)&&!i()(r);return t?e=t:(e.name=n,o&&(e.href=r)),e},this.renderBreadItem=()=>{let{children:e}=this.props,{compact:t}=this.context,n=this.getTooltipOpt(),r=this.renderIcon();if(e&&"string"==typeof e){let{opts:i,ellipsisPos:o,width:a}=n;return c.createElement(c.Fragment,null,r,c.createElement("span",{className:`${w}-item-title`},c.createElement(y.Z.Text,{ellipsis:{showTooltip:!!i&&{opts:i},pos:o},style:{maxWidth:a},size:t?"small":"normal"},e)))}return c.createElement(c.Fragment,null,r,e?c.createElement("span",{className:`${w}-item-title ${w}-item-title-inline`},e):null)},this.renderItem=()=>{let{href:e,active:t,noLink:n}=this.props,r=null!=e,i=d()({[`${w}-item`]:!0,[`${w}-item-active`]:t,[`${w}-item-link`]:!n}),o=this.renderBreadItem(),a=t||!r?"span":"a",s=this.getItemInfo();return c.createElement(a,{className:i,onClick:e=>this.foundation.handleClick(s,e),href:e},o)},this.foundation=new m.Z(this.adapter)}}x.isBreadcrumbItem=!0,x.contextType=v.Z,x.propTypes={onClick:f().func,route:f().oneOfType([f().object,f().string]),name:f().string,children:f().node,active:f().bool,shouldRenderSeparator:f().bool,icon:f().node,separator:f().node,noLink:f().bool},x.defaultProps={onClick:b.Z,shouldRenderSeparator:!0}},285696:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(795233),i=n.n(r),o=n(101199),a=n(622689),s=n.n(a),l=n(158871),c=n(9444),u=n(109242),d=n(890035),h=n(151943),f=n(63793),p=n(503830);let m=u.UX.NAVIGATION;class g extends o.PureComponent{render(){let{forwardRef:e,monthText:t,onMonthClick:n,onNextMonth:r,onPrevMonth:i,onPrevYear:a,onNextYear:s,density:g,shouldBimonthSwitch:b,panelType:v}=this.props,y="borderless",w="compact"===g?"default":"large",x="compact"===g?"small":"default",O=v===u.j2.PANEL_TYPE_LEFT,P=v===u.j2.PANEL_TYPE_RIGHT,k={},E={};b&&P&&(k.visibility="hidden"),b&&O&&(E.visibility="hidden");let C=e||this.navRef;return o.createElement("div",{className:m,ref:C},o.createElement(l.Z,{key:"double-chevron-left","aria-label":"Previous year",icon:o.createElement(d.Z,{"aria-hidden":!0,size:w}),size:x,theme:y,noHorizontalPadding:!0,onClick:a,style:k}),o.createElement(l.Z,{key:"chevron-left","aria-label":"Previous month",icon:o.createElement(h.Z,{"aria-hidden":!0,size:w}),size:x,onClick:i,theme:y,noHorizontalPadding:!0,style:k}),o.createElement("div",{className:`${m}-month`},o.createElement(c.Z,{onClick:n,theme:y,size:x},o.createElement("span",null,t))),o.createElement(l.Z,{key:"chevron-right","aria-label":"Next month",icon:o.createElement(f.Z,{"aria-hidden":!0,size:w}),size:x,onClick:r,theme:y,noHorizontalPadding:!0,style:E}),o.createElement(l.Z,{key:"double-chevron-right","aria-label":"Next year",icon:o.createElement(p.Z,{"aria-hidden":!0,size:w}),size:x,theme:y,noHorizontalPadding:!0,onClick:s,style:E}))}constructor(e){super(e),this.navRef=o.createRef()}}g.propTypes={monthText:s().string,density:s().string,onMonthClick:s().func,onNextMonth:s().func,onPrevMonth:s().func,onNextYear:s().func,onPrevYear:s().func,navPrev:s().node,navNext:s().node,shouldBimonthSwitch:s().bool,panelType:s().oneOf([u.j2.PANEL_TYPE_LEFT,u.j2.PANEL_TYPE_RIGHT])},g.defaultProps={monthText:"",onMonthClick:i(),onNextMonth:i(),onPrevMonth:i(),onNextYear:i(),onPrevYear:i()}},583085:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}}),n(932651),n(302356);var r=n(795233),i=n.n(r),o=n(390063),a=n.n(o),s=n(198412),l=n.n(s),c=n(101199),u=n(622689),d=n.n(u),h=n(469935),f=n.n(h),p=n(905729),m=n(230720),g=n(158871),b=n(392129),v=n(426337),y=n(334750),w=n(170651),x=n(244994),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let P=0;class k extends v.Z{get adapter(){return Object.assign(Object.assign({},super.adapter),{notifyClose:e=>{this.props.onClose(e)},notifyDialogMouseDown:()=>{this.setState({dialogMouseDown:!0})},notifyDialogMouseUp:()=>{this.state.dialogMouseDown&&(this.timeoutId=setTimeout(()=>{this.setState({dialogMouseDown:!1})},0))},addKeyDownEventListener:()=>{this.props.closeOnEsc&&document.addEventListener("keydown",this.foundation.handleKeyDown)},removeKeyDownEventListener:()=>{this.props.closeOnEsc&&document.removeEventListener("keydown",this.foundation.handleKeyDown)},getMouseState:()=>this.state.dialogMouseDown,modalDialogFocus:()=>{var e,t,n;let r;let{preventScroll:i}=this.props;if(this.modalDialogRef){let t=x.Z.getActiveElement();r=this.modalDialogRef.current.contains(t),null===(e=this.focusTrapHandle)||void 0===e||e.destroy(),this.focusTrapHandle=new x.Z(this.modalDialogRef.current,{preventScroll:i})}!r&&(null===(n=null===(t=this.modalDialogRef)||void 0===t?void 0:t.current)||void 0===n||n.focus({preventScroll:i}))},modalDialogBlur:()=>{var e,t;null===(e=this.modalDialogRef)||void 0===e||e.current.blur(),null===(t=this.focusTrapHandle)||void 0===t||t.destroy()},prevFocusElementReFocus:()=>{let{prevFocusElement:e}=this.state,{preventScroll:t}=this.props,n=l()(e,"focus");a()(n)&&e.focus({preventScroll:t})}})}componentDidMount(){var e;this.foundation.handleKeyDownEventListenerMount(),this.foundation.modalDialogFocus();let t=x.Z.getFocusableElements(this.modalDialogRef.current);!this.modalDialogRef.current.contains(document.activeElement)&&(null===(e=t[0])||void 0===e||e.focus())}componentWillUnmount(){clearTimeout(this.timeoutId),this.foundation.destroy()}render(){var e;let t=this.props,{maskClosable:n,className:r,getPopupContainer:i,maskFixed:o,getContainerContext:a}=t,s=O(t,["maskClosable","className","getPopupContainer","maskFixed","getContainerContext"]),{direction:l}=this.context,u=f()(r,{[`${p.U.DIALOG}-popup`]:i&&i()!==(null===(e=null==globalThis?void 0:globalThis.document)||void 0===e?void 0:e.body)&&!o,[`${p.U.DIALOG}-fixed`]:o,[`${p.U.DIALOG}-rtl`]:"rtl"===l}),d=a(),h=this.getDataAttr(s),m=c.createElement("div",Object.assign({className:u},h),this.getMaskElement(),c.createElement("div",Object.assign({role:"none",className:f()({[`${p.U.DIALOG}-wrap`]:!0,[`${p.U.DIALOG}-wrap-center`]:this.props.centered}),onClick:n?this.onMaskClick:null,onMouseUp:n?this.onMaskMouseUp:null},this.props.contentExtraProps),this.getDialogElement()));return d&&d.Provider?c.createElement(d.Provider,{value:d.value},m):m}constructor(e){super(e),this.onKeyDown=e=>{this.foundation.handleKeyDown(e)},this.onDialogMouseDown=()=>{this.foundation.handleDialogMouseDown()},this.onMaskMouseUp=()=>{this.foundation.handleMaskMouseUp()},this.onMaskClick=e=>{this.foundation.handleMaskClick(e)},this.close=e=>{this.foundation.close(e)},this.getMaskElement=()=>{let e=O(this.props,[]),{mask:t,maskClassName:n}=e;if(t){let t=f()(`${p.U.DIALOG}-mask`,{});return c.createElement("div",Object.assign({key:"mask"},this.props.maskExtraProps,{className:f()(t,n),style:e.maskStyle}))}return null},this.renderCloseBtn=()=>{let e;let{closable:t,closeIcon:n}=this.props;if(t){let t=n||c.createElement(w.Z,{"x-semi-prop":"closeIcon"});e=c.createElement(g.Z,{"aria-label":"close",className:`${p.U.DIALOG}-close`,key:"close-btn",onClick:this.close,type:"tertiary",icon:t,theme:"borderless",size:"small"})}return e},this.renderIcon=()=>{let{icon:e}=this.props;return e?c.createElement("span",{className:`${p.U.DIALOG}-icon-wrapper`,"x-semi-prop":"icon"},e):null},this.renderHeader=()=>{if("header"in this.props)return this.props.header;let{title:e}=this.props,t=this.renderCloseBtn(),n=this.renderIcon();return null==e?null:c.createElement("div",{className:`${p.U.DIALOG}-header`},n,c.createElement(b.Z.Title,{heading:5,className:`${p.U.DIALOG}-title`,id:`${p.U.DIALOG}-title`,"x-semi-prop":"title"},e),t)},this.renderBody=()=>{let{bodyStyle:e,children:t,title:n}=this.props,r=f()(`${p.U.DIALOG}-body`,{[`${p.U.DIALOG}-withIcon`]:this.props.icon}),i=this.renderCloseBtn(),o=this.renderIcon();return null!=n||"header"in this.props?c.createElement("div",{className:r,id:`${p.U.DIALOG}-body`,style:e,"x-semi-prop":"children"},t):c.createElement("div",{className:`${p.U.DIALOG}-body-wrapper`},o,c.createElement("div",{className:r,style:e,"x-semi-prop":"children"},t),i)},this.getDialogElement=()=>{let e=O(this.props,[]),t={},n=f()(`${p.U.DIALOG}`,{[`${p.U.DIALOG}-centered`]:e.centered,[`${p.U.DIALOG}-${e.size}`]:e.size});e.width&&(t.width=e.width),e.height&&(t.height=e.height),e.isFullScreen&&(t.width="100%",t.height="100%",t.margin="unset");let r=this.renderBody(),i=this.renderHeader(),o=e.footer?c.createElement("div",{className:`${p.U.DIALOG}-footer`,"x-semi-prop":"footer"},e.footer):null;return c.createElement("div",{key:"dialog-element",className:n,onMouseDown:this.onDialogMouseDown,style:Object.assign(Object.assign({},e.style),t),id:this.dialogId},c.createElement("div",{role:"dialog",ref:this.modalDialogRef,"aria-modal":"true","aria-labelledby":`${p.U.DIALOG}-title`,"aria-describedby":`${p.U.DIALOG}-body`,onAnimationEnd:e.onAnimationEnd,className:f()([`${p.U.DIALOG}-content`,e.contentClassName,{[`${p.U.DIALOG}-content-fullScreen`]:e.isFullScreen}])},i,r,o))},this.state={dialogMouseDown:!1,prevFocusElement:x.Z.getActiveElement()},this.foundation=new y.Z(this.adapter),this.dialogId=`dialog-${P++}`,this.modalDialogRef=c.createRef()}}k.contextType=m.Z,k.propTypes={close:d().func,getContainerContext:d().func,contentClassName:d().string,maskClassName:d().string,onAnimationEnd:d().func,preventScroll:d().bool},k.defaultProps={close:i(),getContainerContext:i(),contentClassName:"",maskClassName:""}},847322:function(e,t,n){"use strict";n(490629),n(932651);var r=n(101199),i=n(16142),o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};t.Z=r.forwardRef((e,t)=>{var{afterClose:n}=e,a=o(e,["afterClose"]);let[s,l]=(0,r.useState)(!0);return r.useImperativeHandle(t,()=>({close:()=>{l(!1)}})),(0,r.useEffect)(()=>{!s&&n(String(a.id))},[s]),s?r.createElement(i.Z,Object.assign({},a,{onHookClose:()=>{l(!1)}})):null})},956324:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}}),n(932651),n(490629);var r=n(795233),i=n.n(r),o=n(101199),a=n(622689),s=n.n(a),l=n(469935),c=n.n(l),u=n(14009),d=n(158871),h=n(170651),f=n(559748),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let m=0,g=u.U.PREFIX;class b extends o.PureComponent{componentDidMount(){this.sideSheetId=`sidesheet-${m++}`}componentWillUnmount(){clearTimeout(this.timeoutId)}getMaskElement(){var e;let{mask:t,maskStyle:n,maskClosable:r}=this.props;return t?o.createElement("div",Object.assign({"aria-hidden":!0,key:"mask",className:c()(`${g}-mask`,null!==(e=this.props.maskClassName)&&void 0!==e?e:""),style:n,onClick:r?this.onMaskClick:null},this.props.maskExtraProps)):null}renderHeader(){let e,t;let{title:n,closable:r,headerStyle:i,closeIcon:a}=this.props;if(n&&(e=o.createElement("div",{className:`${g}-title`,"x-semi-prop":"title"},this.props.title)),r){let e=a||o.createElement(h.Z,null);t=o.createElement(d.Z,{className:`${g}-close`,key:"close-btn",onClick:this.close,type:"tertiary",icon:e,theme:"borderless",size:"small"})}return o.createElement("div",{className:`${g}-header`,role:"heading","aria-level":1,style:Object.assign({},i)},e,t)}getDialogElement(){var e;let t=p(this.props,[]),n={};t.width&&(n.width=t.width,!t.mask&&(n.width="100%")),t.height&&(n.height=t.height);let r=this.renderHeader();return o.createElement("div",Object.assign({key:"dialog-element",role:"dialog",tabIndex:-1,className:c()(`${g}-inner`,`${g}-inner-wrap`,null!==(e=this.props.dialogClassName)&&void 0!==e?e:"",`${g}-size-${t.size}`),style:Object.assign(Object.assign({},t.style),n)},this.props.wrapperExtraProps),o.createElement("div",{className:`${g}-content`},r,o.createElement("div",{className:`${g}-body`,style:t.bodyStyle,"x-semi-prop":"children"},t.children),t.footer?o.createElement("div",{className:`${g}-footer`,"x-semi-prop":"footer"},t.footer):null))}render(){let e=this.props,{mask:t,className:n,width:r,onClose:i,maskStyle:a,maskClosable:s,maskClassName:l,title:u,closable:d,headerStyle:h,height:m,style:b,size:v,bodyStyle:y,dialogClassName:w,children:x,footer:O,maskExtraProps:P,wrapperExtraProps:k}=e,E=p(e,["mask","className","width","onClose","maskStyle","maskClosable","maskClassName","title","closable","headerStyle","height","style","size","bodyStyle","dialogClassName","children","footer","maskExtraProps","wrapperExtraProps"]),C=c()(n,{[`${g}-fixed`]:!t,[`${g}-size-${this.props.size}`]:!t}),S={};!t&&r&&(S.width=r);let j=(0,f.Z)(E);return o.createElement("div",Object.assign({className:C,style:S},j),this.getMaskElement(),this.getDialogElement())}constructor(){super(...arguments),this.onMaskClick=e=>{e.target===e.currentTarget&&this.close(e)},this.close=e=>{let{onClose:t}=this.props;t&&t(e)}}}b.propTypes={onClose:s().func,closeIcon:s().node},b.defaultProps={onClose:i()}},259933:function(e,t,n){"use strict";n(932651);var r=n(101199),i=n(128248),o=n(613312),a=n(301563),s=n(572843);t.Z=e=>{let{type:t}=(0,r.useContext)(s.Z);return(()=>{switch(t){case"fill":return r.createElement(o.Z,Object.assign({},e));case"basic":return r.createElement(i.Z,Object.assign({},e));case"nav":return r.createElement(a.Z,Object.assign({},e));default:return null}})()}},980156:function(e,t,n){"use strict";n(932651),n(490629);var r=n(795233),i=n.n(r),o=n(101199),a=n(622689),s=n.n(a),l=n(469935),c=n.n(l),u=n(335346),d=n(975044),h=n(426337),f=n(417823),p=n(10096),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);it.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};class g extends h.Z{componentDidMount(){super.componentDidMount();let{focusOnOpen:e,preventScroll:t}=this.props;e&&(window.requestAnimationFrame||window.setTimeout)(()=>{let e=this.adapter.getCache("inputNode");e&&(e.focus({preventScroll:t}),e.select())})}componentDidUpdate(e){let{timeStampValue:t}=this.props;this.isControlled("timeStampValue")&&t!==this.state.timeStampValue&&this.foundation.restoreCursor(),this.props.value!==e.value&&this.foundation.restoreCursor()}get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{notifyChange:function(){return e.props.onChange(...arguments)},notifyFocus:function(){return e.props.onFocus(...arguments)},notifyBlur:function(){return e.props.onBlur(...arguments)}})}getInput(){let e=this.props,{prefixCls:t,placeholder:n,inputReadOnly:r,onFocus:i,disabled:a,type:s,locale:l,localeCode:u,insetLabel:h,validateStatus:f,value:g,onChange:b,invalid:v,format:y,clearText:w,disabledHours:x,disabledMinutes:O,disabledSeconds:P,onEsc:k,defaultOpenValue:E,currentSelectPanel:C,focusOnOpen:S,timeStampValue:j,timeZone:T,defaultOpen:_,dateFnsLocale:A}=e,L=m(e,["prefixCls","placeholder","inputReadOnly","onFocus","disabled","type","locale","localeCode","insetLabel","validateStatus","value","onChange","invalid","format","clearText","disabledHours","disabledMinutes","disabledSeconds","onEsc","defaultOpenValue","currentSelectPanel","focusOnOpen","timeStampValue","timeZone","defaultOpen","dateFnsLocale"]),N=c()(`${t}-input`,{[`${t}-input-invalid`]:v,[`${t}-input-readonly`]:r}),R=v?"error":f;return o.createElement(d.Z,Object.assign({},L,{hideSuffix:!0,className:N,ref:this.setRef,value:g,placeholder:n||l.placeholder[s],readonly:!!r,onChange:this.handleChange,onFocus:this.handleFocus,onBlur:this.handleBlur,suffix:o.createElement(p.Z,{onClick:this.handleClick}),validateStatus:R,disabled:a,insetLabel:h}))}render(){let{prefixCls:e}=this.props;return o.createElement("div",{className:`${e}-input-wrap`},this.getInput())}constructor(e){super(e),this.setRef=e=>this.adapter.setCache("inputNode",e),this.handleClick=e=>this.props.onClick(e),this.handleFocus=e=>this.foundation.handleFocus(e),this.handleBlur=e=>this.foundation.handleBlur(e),this.handleChange=e=>this.foundation.handleChange(e),this.foundation=new f.Z(this.adapter),this.state={}}}g.propTypes={borderless:s().bool,format:s().string,prefixCls:s().string,placeholder:s().string,clearText:s().string,inputReadOnly:s().bool,hourOptions:s().array,minuteOptions:s().array,secondOptions:s().array,disabledHours:s().func,disabledMinutes:s().func,disabledSeconds:s().func,onChange:s().func,onFocus:s().func,onBlur:s().func,onEsc:s().func,onClick:s().func,defaultOpenValue:s().object,currentSelectPanel:s().string,focusOnOpen:s().bool,timeStampValue:s().any,locale:s().object,localeCode:s().string,insetLabel:s().node,validateStatus:s().string,preventScroll:s().bool},g.defaultProps={borderless:!1,inputReadOnly:!1,onChange:i(),onBlur:i(),onFocus:i(),onClick:i(),disabledHours:i(),disabledMinutes:i(),disabledSeconds:i(),format:u.j2.DEFAULT_FORMAT},t.Z=g},864793:function(e,t,n){"use strict";n.d(t,{KT:function(){return l},UX:function(){return a},j2:function(){return s}});var r=n(707852),i=n(601820),o=n(236913);let a={PREFIX:`${r.T}-select`,PREFIX_OPTION:`${r.T}-select-option`,PREFIX_GROUP:`${r.T}-select-group`},s={SIZE_SET:["small","large","default"],POSITION_SET:o.j2.POSITION_SET,MODE_SELECT:"select",MODE_AUTOCOMPLETE:"autoComplete",STATUS:i.L,SEARCH_POSITION_TRIGGER:"trigger",SEARCH_POSITION_DROPDOWN:"dropdown"},l={LIST_HEIGHT:270}},662774:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(707852);let i={PREFIX:`${r.T}-slider`,DISABLED:`${r.T}-slider-disabled`,VERTICAL:`${r.T}-slider-vertical`,TRACK:`${r.T}-slider-track`,DOTS:`${r.T}-slider-dots`,MARKS:`${r.T}-slider-marks`,HANDLE:`${r.T}-slider-handle`,HANDLE_DOT:`${r.T}-slider-handle-dot`}},134245:function(e,t,n){"use strict";n.d(t,{U:function(){return i},j:function(){return o}});var r=n(707852);let i={PREFIX:`${r.T}-tagInput`},o={SIZE_SET:["large","default","small"],STATUS:["success","default","error","warning"]}},891393:function(e,t,n){"use strict";n.d(t,{Cm:function(){return m},FS:function(){return u},ZX:function(){return d},b_:function(){return p},i0:function(){return f},mq:function(){return h},sC:function(){return g}}),n(490629),n(374285),n(566071),n(759943),n(414931),n(228983),n(683656),n(14275);var r=n(724521),i=n.n(r),o=n(852626),a=n(92184),s=n(335346),l=n(109841),c=n(226712);let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.j2.DEFAULT_FORMAT,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.Z;if(e instanceof Date)return e;if("number"==typeof e)return new Date(i()(e));if("string"==typeof e){if(""===e)return;let r=new Date;return r=(0,o.Z)(e,t,r,{locale:n})}else if(void 0===e)return;return new Date},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.j2.DEFAULT_FORMAT,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.Z;return(0,a.Z)(e,t,{locale:n})},h=(e,t)=>{if("function"==typeof e){let n=e();if(Array.isArray(n)&&!(0,l.Z)(t)&&n.some(e=>i()(e)===i()(t)))return!0}return!1},f=(e,t,n)=>{if("function"==typeof e){let r=e(t);if(Array.isArray(r)&&!(0,l.Z)(t)&&!(0,l.Z)(n)&&r.some(e=>i()(e)===i()(n)))return!0}return!1},p=(e,t,n,r)=>{if("function"==typeof e){let o=e(t,n);if(Array.isArray(o)&&!(0,l.Z)(t)&&!(0,l.Z)(n)&&!(0,l.Z)(r)&&o.some(e=>i()(e)===i()(r)))return!0}return!1},m=e=>Array.isArray(e)?[...e]:[],g=(e,t)=>{let n=!0,r="BDEGHKLMOPQRSTXYabcehimopqstuwxyz",i=RegExp(`[${r}]`,"g"),o=RegExp(`[^${r}]`,"g"),a=/[H|m|s]{1,2}/,s=t.split(o),l=t.replace(i,""),c=RegExp(`[${l}]`,"g"),u=e.split(c);if(s.length!==u.length)n=!1;else for(let e=0,t=u.length;e{this.close()},1e3*e))}close(e){e&&e.stopPropagation(),this._adapter.notifyWrapperToRemove(this._id),this._adapter.notifyClose()}clearCloseTimer_(){this._timer&&(clearTimeout(this._timer),this._timer=null)}restartCloseTimer(){this.clearCloseTimer_(),this.startCloseTimer_()}constructor(e){super(Object.assign(Object.assign({},a.defaultAdapter),e)),this._timer=null,this._id=null}}},5729:function(e,t,n){"use strict";n(932651);var r=n(101199);function i(){return(i=Object.assign||function(e){for(var t=1;t{let{oomOptimize:t=!1,framerate:n=1/60,maskBg:i="rgba(0,0,0,0.7)",target:s,defaultImage:l,reduceDrawing:c=!1}=e,{playerRef:u,el:d}=(0,o.useContext)(r.E),h=(0,o.useRef)(),f=(0,o.useRef)(),p=(0,o.useRef)(!0),m=(0,o.useRef)();return(0,r.T)(()=>{let e;let r=s||d,o=f.current=document.createElement("div");o.classList.add("douyin-player-dynamic-background"),r.prepend(o);let l=document.createElement("canvas");h.current=l,o.appendChild(l);let p=document.createElement("div");p.style.background=i,o.appendChild(p);let g=u.current;e=new a.Z(g.messageChannel.port2),m.current=e,e.postMessage({plugin:"dynamic-background",type:"init",canvas:l,framerate:n,oomOptimize:t,reduceDrawing:c},[l]);let b=t=>{let{width:n,height:r}=t;e.postMessage({plugin:"dynamic-background",type:"resize",rect:{width:n,height:r}})};b(r.getBoundingClientRect());let v=new ResizeObserver(e=>{b(e[0].contentRect)});v.observe(l);let y=()=>{e.postMessage({plugin:"dynamic-background",type:"stop"})},w=[g.on("play",()=>{e.postMessage({plugin:"dynamic-background",type:"start"})}),g.on("pause",y),g.on("ended",y),g.on("error",y)];return()=>{e.postMessage({type:"destroy",plugin:"dynamic-background"}),o.remove(),v.disconnect(),w.forEach(e=>e())}}),(0,o.useEffect)(()=>{if(p.current){p.current=!1;return}(s||d).prepend(f.current)},[s]),(0,o.useEffect)(()=>{m.current&&l&&m.current.postMessage({type:"draw-default-img",url:l})},[l]),null})},639531:function(e,t,n){"use strict";n.d(t,{Q:function(){return h}}),n(490629);var r=n(320165),i=n(509608),o=n(705998),a=n(101199),s=n(693653),l=n(546186),c=n(299690),u=n(781675),d=n(131729);let h=(0,s.r)(e=>{let{beforeScreenChange:t,disabled:n,keyboardCode:s,position:c,IconExitFullscreen:h=u.Z,IconFullscreen:f=d.Z}=e,{playerRef:p}=(0,a.useContext)(i.E),[m,g]=(0,a.useState)(p.current.fullscreen),b=(0,o.DM)(e=>{if(e.stopPropagation(),n)return;let r=p.current;if(r.emitUserAction(e,"switch_fullscreen",{pluginName:"fullscreen",props:{prop:"fullscreen",from:m,to:!m}}),!t||!!t())m?r.exitFullscreen():r.requestFullscreen()});(0,o.K7)(b,s);let v=m?h:f,y=(0,a.useMemo)(()=>{let e=m?"退出全屏":"进入全屏";return s?(0,r.jsxs)(r.Fragment,{children:[e,(0,r.jsx)(l.B,{children:s.slice(3)})]}):e},[s,m]);return(0,i.T)(()=>{let e=p.current.on("fullscreenchange",()=>{let{fullscreen:e}=p.current;g(e)}),t=()=>{!document.fullscreenElement&&g(!1)};return document.addEventListener("fullscreenchange",t),()=>{e(),document.removeEventListener("fullscreenchange",t)}}),(0,r.jsx)(l.u,{content:y,position:c,className:"douyin-player-fullscreen",children:(0,r.jsx)("div",{className:`douyin-player-icon ${n?"douyin-player-icon-disabled":""}`,children:(0,r.jsx)(v,{onClick:b})})})},{position:c.PZ.CONTROL_RIGHT})},486088:function(e,t,n){"use strict";n.d(t,{F:function(){return s},w:function(){return a}});var r=n(629686),i=n(402748),o=n(805289);let a="player_error_log",s=(0,i._)((0,r._)({},o.ce,o.oU),{FULLSCREEN_CHANGE:"fullscreenchange",DESTROY:"destroy",USER_ACTION:"user_action",USER_ACTIVE_CHANGE:"user_active_change",NEXT_INST_CHANGE:"next_inst_change",BLUR:"blur",FOCUS:"focus",VIDEO_RESIZE:"video_resize",REPLAY:"replay",ROTATE:"rotate",MINI_STATE_CHANGE:"mini_state_change",DEFINITION_CHANGE:"definition_change"})},522367:function(e,t,n){"use strict";n(679308),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,522573)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,735608)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,825710)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,671195)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,66425)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,787831)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,595980)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,619619)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,138440)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,915669)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,571508)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,869275)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,26604)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,415134)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,945173)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,621401)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,695755)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,526317)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,530266)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,586441)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,983190)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,304495)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,310443)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,105345)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,180388)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,766903)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,364759)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,631214)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,24913)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,893933)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,140939)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,524491)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,315659)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,51600)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,522030)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,865525)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,593870)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,130289)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,497409)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,631056)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,588386)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,93458)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,225479)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,769591)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,124653)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("18287"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("80557")]).then(n.bind(n,521251))},286572:function(e,t,n){"use strict";n(679308),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,665005)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,522573)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,735608)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,825710)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,671195)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,66425)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,787831)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,595980)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,619619)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,138440)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,915669)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,571508)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,869275)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,26604)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,415134)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,945173)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,621401)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,695755)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,526317)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,530266)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,586441)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,983190)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,304495)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,310443)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,105345)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,180388)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,766903)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,364759)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,631214)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,24913)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,893933)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,140939)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,524491)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,315659)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,51600)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,522030)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,865525)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,593870)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,130289)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,497409)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,631056)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,588386)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,93458)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,225479)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,769591)),Promise.all([n.e("74792"),n.e("73286"),n.e("42422"),n.e("96537"),n.e("30933"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("19452"),n.e("21185"),n.e("61565"),n.e("26098")]).then(n.bind(n,124653))},238719:function(e,t,n){"use strict";n(679308),n.e("66246").then(n.bind(n,522573)),n.e("66246").then(n.bind(n,735608)),n.e("66246").then(n.bind(n,825710)),n.e("66246").then(n.bind(n,671195)),n.e("66246").then(n.bind(n,66425)),n.e("66246").then(n.bind(n,787831)),n.e("66246").then(n.bind(n,595980)),n.e("66246").then(n.bind(n,619619)),n.e("66246").then(n.bind(n,138440)),n.e("66246").then(n.bind(n,915669)),n.e("66246").then(n.bind(n,571508)),n.e("66246").then(n.bind(n,869275)),n.e("66246").then(n.bind(n,26604)),n.e("66246").then(n.bind(n,415134)),n.e("66246").then(n.bind(n,945173)),n.e("66246").then(n.bind(n,621401)),n.e("66246").then(n.bind(n,695755)),n.e("66246").then(n.bind(n,526317)),n.e("66246").then(n.bind(n,530266)),n.e("66246").then(n.bind(n,586441)),n.e("66246").then(n.bind(n,983190)),n.e("66246").then(n.bind(n,304495)),n.e("66246").then(n.bind(n,310443)),n.e("66246").then(n.bind(n,105345)),n.e("66246").then(n.bind(n,180388)),n.e("66246").then(n.bind(n,766903)),n.e("66246").then(n.bind(n,364759)),n.e("66246").then(n.bind(n,631214)),n.e("66246").then(n.bind(n,24913)),n.e("66246").then(n.bind(n,893933)),n.e("66246").then(n.bind(n,140939)),n.e("66246").then(n.bind(n,524491)),n.e("66246").then(n.bind(n,315659)),n.e("66246").then(n.bind(n,51600)),n.e("66246").then(n.bind(n,522030)),n.e("66246").then(n.bind(n,865525)),n.e("66246").then(n.bind(n,593870)),n.e("66246").then(n.bind(n,130289)),n.e("66246").then(n.bind(n,497409)),n.e("66246").then(n.bind(n,631056)),n.e("66246").then(n.bind(n,588386)),n.e("66246").then(n.bind(n,93458)),n.e("66246").then(n.bind(n,225479)),n.e("66246").then(n.bind(n,769591)),n.e("66246").then(n.bind(n,124653)),n.e("66246").then(n.bind(n,639547))},562599:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("string"==typeof e&&!e.match(o.default)){var l=(0,r.default)(n);return l.timeZone=t,(0,i.default)(e,l)}var c=(0,i.default)(e,n),u=(0,s.default)(c.getFullYear(),c.getMonth(),c.getDate(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds()).getTime(),d=(0,a.default)(t,new Date(u));return new Date(u+d)};var r=l(n(233044)),i=l(n(538801)),o=l(n(513972)),a=l(n(526514)),s=l(n(66221));function l(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},801927:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(151950);function i(e,t){(0,r._)(e,t),t.add(e)}},216649:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(32449),i=n(474143),o=n(282875);function a(e,t,n){return(0,i._)(e,t),(0,o._)(n,"get"),(0,r._)(e,n)}},357509:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(574392);function i(e,t){let n=e.data&&e.data.estree,i=n&&n.comments||[];n&&(t.comments.push(...i),(0,r.S)(n,i),t.esm.push(...n.body))}},359778:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var r=n(261626),i=n(953088),o=n(368183),a=n(187486);let s="https://github.com/micromark/micromark-extension-mdx-jsx";function l(e,t,n,l,c,u,d,h,f,p,m,g,b,v,y,w,x,O,P,k,E,C,S,j,T,_,A,L,N,R,D,Z){let I,M;let $=this;return function(t){return e.enter(h),e.enter(f),e.consume(t),e.exit(f),z};function z(e){return(0,o.z3)(e)?n(e):(I=U,ec(e))}function U(t){return 47===t?(e.enter(p),e.consume(t),e.exit(p),I=H,ec):62===t?el(t):null!==t&&t>=0&&(0,r.BL)(t)?(e.enter(g),e.enter(b),e.consume(t),B):void ed(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function H(t){return 62===t?el(t):null!==t&&t>=0&&(0,r.BL)(t)?(e.enter(g),e.enter(b),e.consume(t),B):void ed(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function B(t){return null!==t&&t>=0&&(0,r.Og)(t,{jsx:!0})?(e.consume(t),B):46===t||47===t||58===t||62===t||123===t||(0,o.z3)(t)||(0,o.B8)(t)?(e.exit(b),I=F,ec(t)):void ed(t,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function F(t){return 46===t?(e.enter(v),e.consume(t),e.exit(v),I=X,ec):58===t?(e.enter(w),e.consume(t),e.exit(w),I=Y,ec):47===t||62===t||123===t||null!==t&&t>=0&&(0,r.BL)(t)?(e.exit(g),q(t)):void ed(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function X(t){if(null!==t&&t>=0&&(0,r.BL)(t))return e.enter(y),e.consume(t),G;ed(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function G(t){return null!==t&&t>=0&&(0,r.Og)(t,{jsx:!0})?(e.consume(t),G):46===t||47===t||62===t||123===t||(0,o.z3)(t)||(0,o.B8)(t)?(e.exit(y),I=W,ec(t)):void ed(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function W(t){return 46===t?(e.enter(v),e.consume(t),e.exit(v),I=X,ec):47===t||62===t||123===t||null!==t&&t>=0&&(0,r.BL)(t)?(e.exit(g),q(t)):void ed(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Y(t){if(null!==t&&t>=0&&(0,r.BL)(t))return e.enter(x),e.consume(t),J;ed(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function J(t){return null!==t&&t>=0&&(0,r.Og)(t,{jsx:!0})?(e.consume(t),J):47===t||62===t||123===t||(0,o.z3)(t)||(0,o.B8)(t)?(e.exit(x),I=V,ec(t)):void ed(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function V(t){if(47===t||62===t||123===t||null!==t&&t>=0&&(0,r.BL)(t))return e.exit(g),q(t);ed(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function q(t){return 47===t?(e.enter(m),e.consume(t),e.exit(m),I=es,ec):62===t?el(t):123===t?i.L.call($,e,K,O,P,k,l,c,u,!0,!1,d)(t):null!==t&&t>=0&&(0,r.BL)(t)?(e.enter(E),e.enter(C),e.enter(S),e.consume(t),Q):void ed(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function K(e){return I=q,ec(e)}function Q(t){return null!==t&&t>=0&&(0,r.Og)(t,{jsx:!0})?(e.consume(t),Q):47===t||58===t||61===t||62===t||123===t||(0,o.z3)(t)||(0,o.B8)(t)?(e.exit(S),I=ee,ec(t)):void ed(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function ee(t){return 58===t?(e.enter(j),e.consume(t),e.exit(j),I=et,ec):61===t?(e.exit(C),e.enter(_),e.consume(t),e.exit(_),I=ei,ec):47===t||62===t||123===t||(0,o.z3)(t)||(0,o.B8)(t)||null!==t&&t>=0&&(0,r.BL)(t)?(e.exit(C),e.exit(E),I=q,ec(t)):void ed(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function et(t){if(null!==t&&t>=0&&(0,r.BL)(t))return e.enter(T),e.consume(t),en;ed(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function en(t){return null!==t&&t>=0&&(0,r.Og)(t,{jsx:!0})?(e.consume(t),en):47===t||61===t||62===t||123===t||(0,o.z3)(t)||(0,o.B8)(t)?(e.exit(T),e.exit(C),I=er,ec(t)):void ed(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function er(t){return 61===t?(e.enter(_),e.consume(t),e.exit(_),I=ei,ec):47===t||62===t||123===t||null!==t&&t>=0&&(0,r.BL)(t)?(e.exit(E),q(t)):void ed(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function ei(t){return 34===t||39===t?(e.enter(A),e.enter(L),e.consume(t),e.exit(L),M=t,ea):123===t?i.L.call($,e,eo,R,D,Z,l,c,u,!1,!1,d)(t):void ed(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{}`)":""))}function eo(t){return e.exit(E),I=q,ec(t)}function ea(t){return(null===t&&ed(t,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(M)+"`"),t===M)?(e.enter(L),e.consume(t),e.exit(L),e.exit(A),e.exit(E),M=void 0,I=q,ec):(0,o.Ch)(t)?(I=ea,ec(t)):(e.enter(N),function t(n){return null===n||n===M||(0,o.Ch)(n)?(e.exit(N),ea(n)):(e.consume(n),t)}(t))}function es(e){if(62===e)return el(e);ed(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function el(n){return e.enter(f),e.consume(n),e.exit(f),e.exit(h),t}function ec(t){return(0,o.Ch)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eu):(0,o.xz)(t)||(0,o.B8)(t)?(e.enter("esWhitespace"),function t(n){return(0,o.Ch)(n)?(e.exit("esWhitespace"),ec(n)):(0,o.xz)(n)||(0,o.B8)(n)?(e.consume(n),t):(e.exit("esWhitespace"),I(n))}(t)):I(t)}function eu(e){if(!d&&$.parser.lazy[$.now().line]){let e=new a.$("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",$.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=s+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return ec(e)}function ed(e,t,n){let r=new a.$("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` ("+function(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}(e)+")")+" "+t+", expected "+n,$.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw r.url=s+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),r}}},391257:function(e,t,n){"use strict";function r(){}n.d(t,{n:function(){return r}})},316176:function(e,t,n){"use strict";function r(e){return new Promise(function(t,n,r){(r=new XMLHttpRequest).open("GET",e,r.withCredentials=!0),r.onload=function(){200===r.status?t():n()},r.send()})}n.d(t,{f:function(){return u},s:function(){return c}}),n(679308),n(490629),n(76375),n(14275),n(759943),n(656562),n(992871),n(414931);var i,o="undefined"!=typeof document&&(i=document.createElement("link")).relList&&i.relList.supports&&i.relList.supports("prefetch")?function(e){return new Promise(function(t,n,r){(r=document.createElement("link")).rel="prefetch",r.href=e,r.onload=t,r.onerror=n,document.head.appendChild(r)})}:r,a=new Set,s=new Set;function l(e){if(e){if(e.saveData)return Error("Save-Data is enabled");if(/2g/.test(e.effectiveType))return Error("network conditions are poor")}return!0}function c(e,t,n){var i=l(navigator.connection);return i instanceof Error?Promise.reject(Error("Cannot prefetch, "+i.message)):(s.size,Promise.all([].concat(e).map(function(e){if(!a.has(e))return a.add(e),(t?function(e){return window.fetch?fetch(e,{credentials:"include"}):r(e)}:o)(new URL(e,location.href).toString())})))}function u(e,t){var n=l(navigator.connection);if(n instanceof Error)return Promise.reject(Error("Cannot prerender, "+n.message));if(!HTMLScriptElement.supports("speculationrules"))return c(e),Promise.reject(Error("This browser does not support the speculation rules API. Falling back to prefetch."));for(var r=0,i=[].concat(e);r