/*! For license information please see 73909.a4a1f6e4.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 _(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,v(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 T=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},w=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=A,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],v=E(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),v&&(r+=" ".concat(v)),s.closing&&(r+=" /"),r+=">"}return null==(a=u(n,r,o))?p(r):a},p);return g&&(v=g.remove(v)),v},e}(),S=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")(),P=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(S&&S._xssBid)return S._xssBid;if(S&&S.slardar&&"function"==typeof S.slardar.config){var i=(S.slardar.config()||{}).bid;if(i)return i}if(S&&S.Slardar&&"function"==typeof S.Slardar.config){var o=(S.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==S?void 0:S.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==S?void 0:S.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),S.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(S.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}()),R=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 k=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)||O(e,t))return e;try{if(!0===(i=JSON.parse(i))||"true"===i){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function I(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!O(e=N(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 L={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:[]},M={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=R(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?M.domainWhiteList&&Array.isArray(M.domainWhiteList)&&M.domainWhiteList.length>0&&!I(r,n([],M.domainWhiteList,!0))?"":"".concat(t,'="').concat(k(r,function(e){var t;null===(t=M.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(m.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(M.collect.whiteList[e]=M.collect.whiteList[e]||[],void M.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;_(t,function(e,t,n,r){E(C(r).html.replace("/",""),function(e){M.collect.whiteList[n]=M.collect.whiteList[n]||[],M.collect.whiteList[n].push(e)})},p)},whiteList:L,mergeWhiteList:function(e){for(var t,n={},r=0,i=m.keys(L);r");var o=C(r),a=E(o.html,function(e,t){var r,i=0;if(Z.blackList[n]&&m.includes(Z.blackList[n],e)&&(W.collect.blackList[n]=W.collect.blackList[n]||[],W.collect.blackList[n].push(e),i++),Z.blackAttrRegExps.length&&Z.blackAttrRegExps.some(function(t){return t.test(e)})&&m.forEach(Z.blackAttrRegExps,function(t){t.test(e)&&(W.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),Z.blackAttrs.length&&m.includes(Z.blackAttrs,e)&&(Z.blackAttrs.push(e),i++),!i){if(Z.filterList&&Z.filterList[n]&&m.includes(Z.filterList[n],e)){var o=k(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(W.collect.filterList[n]=W.collect.filterList[n]||[],W.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return Z.filterAttrs&&m.includes(Z.filterAttrs,e)?((o=k(t,function(e){var t;null===(t=W.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=W.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=W.collect)||void 0===n||n.blackTags.push(e)}},H=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")},z=function(e){return function(n,r,i){if(!n||"string"!=typeof n)return n;var o=r;e===x&&(o=M).initCollect();var a=e(n,o);if(T(a)===T(n))return n;if(!i)return a;var s=i.logType,l=H(i),c=o.removeCollect();return P.report(t(t({type:s,disposition:l},c),{sourceText:b(n),filterText:b(a)})),"enforce"===l?a:n}},$=z(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 w(t).process(e)}),K=z(x),V=function(e,t,n){var r=[],i=k(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=H(n);return P.report({type:a,disposition:s,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:b(e),filterText:b(i)}),"enforce"===s?i:e},X=S._xssProject||{},Y=S.xssNamespace||{},G="3.0.26",J={FilterXSS:w,version:G,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:$,_filterXSS:K,filterUrl:V,Config:M,BlackConfig:W,project:X,setProjectName:function(e){X[e]=this,S._xssProjectName=e}};Y.douyin_web=J,S.xssNamespace=Y,S.Math&&!S.Math.xssNamespace&&(S.Math.xssNamespace=Y),X[G]=J,S.globalThis=S,S.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:J},S.xss=J,S.isSafeUrl=I,S.isSafeDomain=I,S.isSafeProtocol=O,S._xssProject=X,S._xssProjectName&&(X[S._xssProjectName]=J);var q=J.setProjectName.bind(J);e.BlackConfig=W,e.Config=M,e.FilterXSS=w,e._filterXSS=K,e.filterUrl=V,e.filterXSS=$,e.isSafeDomain=I,e.isSafeProtocol=O,e.isSafeUrl=I,e.project=X,e.setProjectName=q,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;Y[t]=J;M.bid=n,M.region=r,M.enabled=!0},e.xssNamespace=Y,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["73909"],{319693: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:"m8.06 9.39 3.71-6.96c.13-.24.42-.33.64-.18.58.41 1.42 1.2 1.42 2.13 0 .5-.13 1.4-.27 2.33a23.55 23.55 0 0 0-.31 2.79h7.58c.45 0 1.17.45 1.17 1.5 0 .9-1 5.09-1.7 8.04l-.3 1.3c0 .22-.27.66-1.33.66H8.5a.5.5 0 0 1-.5-.5V9.63a.5.5 0 0 1 .06-.24ZM3.5 9.5a.5.5 0 0 0-.5.5v10.5c0 .28.22.5.5.5h2a.5.5 0 0 0 .5-.5V10a.5.5 0 0 0-.5-.5h-2Z",fill:"currentColor"}))},"like_thumb");t.Z=o},857144:function(e){var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n>>0,this.hi=t>>>0}var o=i.zero=new i(0,0);o.toNumber=function(){return 0},o.zzEncode=o.zzDecode=function(){return this},o.length=function(){return 1};var a=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(e){if(0===e)return o;var t=e<0;t&&(e=-e);var n=e>>>0,r=(e-n)/4294967296>>>0;return t&&(r=~r>>>0,n=~n>>>0,++n>4294967295&&(n=0,++r>4294967295&&(r=0))),new i(n,r)},i.from=function(e){if("number"==typeof e)return i.fromNumber(e);if(r.isString(e)){if(!r.Long)return i.fromNumber(parseInt(e,10));e=r.Long.fromString(e)}return e.low||e.high?new i(e.low>>>0,e.high>>>0):o},i.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=~this.lo+1>>>0,n=~this.hi>>>0;return!t&&(n=n+1>>>0),-(t+4294967296*n)}return this.lo+4294967296*this.hi},i.prototype.toLong=function(e){return r.Long?new r.Long(0|this.lo,0|this.hi,!!e):{low:0|this.lo,high:0|this.hi,unsigned:!!e}};var s=String.prototype.charCodeAt;i.fromHash=function(e){return e===a?o:new i((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},i.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},i.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,n=this.hi>>>24;return 0===n?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:n<128?9:10}},815065:function(e){e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l-1&&(t=this.playerConfig.domEventType),t}},{key:"on",value:function(e,t){var n=this;if(!e||!t||!this.player){d(this.pluginName,"plugin.on(event, callback)");return}"string"==typeof e?(this.__events[e]=t,this.player.on(e,t)):Array.isArray(e)&&e.forEach(function(e){n.__events[e]=t,n.player.on(e,t)})}},{key:"once",value:function(e,t){var n=this;if(!e||!t||!this.player){d(this.pluginName,"plugin.once(event, callback)");return}"string"==typeof e?(this.__onceEvents[e]=t,this.player.once(e,t)):Array.isArray(e)&&e.forEach(function(r){n.__onceEvents[r]=t,n.player.once(e,t)})}},{key:"off",value:function(e,t){var n=this;if(!e||!t||!this.player){d(this.pluginName,"plugin.off(event, callback)");return}"string"==typeof e?(delete this.__events[e],this.player.off(e,t)):Array.isArray(e)&&e.forEach(function(r){delete n.__events[e],n.player.off(r,t)})}},{key:"offAll",value:function(){var e=this;["__events","__onceEvents"].forEach(function(t){Object.keys(e[t]).forEach(function(n){e[t][n]&&e.off(n,e[t][n]),n&&delete e[t][n]})}),this.__events={},this.__onceEvents={}}},{key:"emit",value:function(e){var t;if(!!this.player){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i2&&void 0!==arguments[2]?arguments[2]:{};if(!!this.player){var r=l(l({},n),{},{pluginName:this.pluginName});this.player.emitUserAction(e,t,r)}}},{key:"hook",value:function(e,t){return arguments.length>2&&void 0!==arguments[2]&&arguments[2],o.z3.call.apply(o.z3,[this].concat(Array.prototype.slice.call(arguments)))}},{key:"useHooks",value:function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!!this.player)return n&&(t.pluginName=n),this.player.registerPlugin({plugin:e,options:t})}},{key:"getPlugin",value:function(e){return this.player?this.player.getPlugin(e):null}},{key:"__destroy",value:function(){var e=this,t=this.player,n=this.pluginName;this.offAll(),r.ZP.clearAllTimers(this),r.ZP.checkIsFunction(this.destroy)&&this.destroy(),["player","playerConfig","pluginName","logger","__args","__hooks"].map(function(t){e[t]=null}),t.unRegisterPlugin(n),(0,o.Qs)(this)}}],n=[{key:"defineGetterOrSetter",value:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&Object.defineProperty(e,n,t[n])}},{key:"defaultConfig",get:function(){return{}}},{key:"pluginName",get:function(){return"pluginName"}}],t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),i}()},703205:function(e,t,n){"use strict";n.r(t)},985650:function(e,t,n){"use strict";n.r(t)},766903:function(e,t,n){"use strict";n.r(t)},656855:function(e,t,n){"use strict";n.r(t)},433850:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}}),n(932651),n(490629);var r=n(390063),i=n.n(r),o=n(876553),a=n.n(o),s=n(101199),l=n(426337),c=n(622689),u=n.n(c),d=n(406944),h=n(469935),f=n.n(h),p=n(900426),m=n(697752),g=n(289516),v=n(868976),b=n(565506),y=n(783250),_=n(650065),E=n(261606),A=n(678503);let T=d.U.PREFIX;class w extends l.Z{get adapter(){var e=this;return Object.assign(Object.assign({},super.adapter),{getIsInGroup:()=>this.isInGroup(),disabledBodyScroll:()=>{let{getPopupContainer:e}=this.props;this.bodyOverflow=document.body.style.overflow||"",!e&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow="hidden",document.body.style.width=`calc(${this.originBodyWidth||"100%"} - ${this.scrollBarWidth}px)`)},enabledBodyScroll:()=>{let{getPopupContainer:e}=this.props;!e&&"hidden"!==this.bodyOverflow&&(document.body.style.overflow=this.bodyOverflow,document.body.style.width=this.originBodyWidth)},notifyChange:(e,t)=>{let{onChange:n,onPrev:r,onNext:o}=this.props;i()(n)&&n(e),"prev"===t?r&&r(e):o&&o(e)},notifyZoom:(e,t)=>{let{onZoomIn:n,onZoomOut:r}=this.props;t?i()(n)&&n(e):i()(r)&&r(e)},notifyClose:()=>{let{onClose:e}=this.props;i()(e)&&e()},notifyVisibleChange:e=>{let{onVisibleChange:t}=this.props;i()(t)&&t(e)},notifyRatioChange:e=>{let{onRatioChange:t}=this.props;i()(t)&&t(e)},notifyRotateChange:e=>{let{onRotateLeft:t}=this.props;i()(t)&&t(e)},notifyDownload:(e,t)=>{let{onDownload:n}=this.props;i()(n)&&n(e,t)},notifyDownloadError:e=>{let{onDownloadError:t}=this.props;i()(t)&&t(e)},registerKeyDownListener:()=>{window&&window.addEventListener("keydown",this.handleKeyDown)},unregisterKeyDownListener:()=>{window&&window.removeEventListener("keydown",this.handleKeyDown)},getSetDownloadFunc:()=>{var e,t;return null!==(t=null===(e=this.context)||void 0===e?void 0:e.setDownloadName)&&void 0!==t?t:this.props.setDownloadName},isValidTarget:e=>{let t=this.headerRef&&this.headerRef.current,n=this.footerRef&&this.footerRef.current,r=this.leftIconRef&&this.leftIconRef.current,i=this.rightIconRef&&this.rightIconRef.current,o=e.target;return!(t&&t.contains(o)||n&&n.contains(o)||r&&r.contains(o)||i&&i.contains(o))&&!0},changeImageZoom:function(){var t;(null===(t=e.imageRef)||void 0===t?void 0:t.current)&&e.imageRef.current.foundation.changeZoom(...arguments)}})}static getDerivedStateFromProps(e,t){let n={},r=[];return e.visible&&(r=Array.isArray(e.src)?e.src:[e.src]),!a()(r,t.imgSrc)&&(n.imgSrc=r),e.visible!==t.visible&&(n.visible=e.visible,e.visible&&(n.preloadAfterVisibleChange=!0,n.viewerVisible=!0,n.rotation=0,n.ratio="adaptation")),"currentIndex"in e&&e.currentIndex!==t.currentIndex&&(n.currentIndex=e.currentIndex,n.ratio="adaptation"),n}componentDidMount(){this.scrollBarWidth=(0,A.np)(),this.originBodyWidth=document.body.style.width,this.props.visible&&this.foundation.beforeShow()}componentDidUpdate(e,t){e.src!==this.props.src&&this.foundation.updateTimer(),!e.visible&&this.props.visible&&this.foundation.beforeShow(),e.visible&&!this.props.visible&&this.foundation.afterHide()}componentWillUnmount(){this.foundation.clearTimer()}isInGroup(){return!!(this.context&&this.context.isGroup)}render(){let{getPopupContainer:e,closable:t,zIndex:n,visible:r,className:i,style:o,infinite:a,zoomStep:l,crossOrigin:c,prevTip:u,nextTip:d,zoomInTip:h,zoomOutTip:_,rotateTip:E,downloadTip:A,adaptiveTip:w,originTip:S,showTooltip:P,disableDownload:R,renderPreviewMenu:x,renderHeader:C}=this.props,{currentIndex:N,imgSrc:O,zoom:k,ratio:I,rotation:L,viewerVisible:M}=this.state,j={zIndex:n};e&&(j={zIndex:n,position:"static"});let D=`${T}-preview`,B=f()(D,{[`${T}-hide`]:!r,[`${D}-popup`]:e},i),Z=M?"":`${D}-hide`,U=O.length,F=1!==U&&(a||0!==N),W=1!==U&&(a||N!==U-1);return r&&s.createElement(p.Z,{getPopupContainer:e,style:j},s.createElement("div",{className:B,style:o,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,ref:this.registryImageWrapRef,onMouseMove:this.handleMouseMove},s.createElement(v.Z,{ref:this.headerRef,className:f()(Z),onClose:this.handlePreviewClose,renderHeader:C,closable:t}),s.createElement(y.Z,{ref:this.imageRef,src:O[N],onZoom:this.handleZoomImage,disableDownload:R,setRatio:this.handleAdjustRatio,zoom:k,ratio:I,rotation:L,crossOrigin:c,onError:this.onImageError,onLoad:this.onImageLoad}),F&&s.createElement("div",{ref:this.leftIconRef,className:f()(`${D}-icon`,`${D}-prev`,Z),onClick:()=>this.handleSwitchImage("prev")},s.createElement(m.Z,{size:"large"})),W&&s.createElement("div",{ref:this.rightIconRef,className:f()(`${D}-icon`,`${D}-next`,Z),onClick:()=>this.handleSwitchImage("next")},s.createElement(g.Z,{size:"large"})),s.createElement(b.Z,{forwardRef:this.footerRef,className:Z,totalNum:U,curPage:N+1,disabledPrev:!F,disabledNext:!W,zoom:100*k,step:100*l,showTooltip:P,ratio:I,prevTip:u,nextTip:d,zIndex:n,zoomInTip:h,zoomOutTip:_,rotateTip:E,downloadTip:A,disableDownload:R,adaptiveTip:w,originTip:S,onPrev:()=>this.handleSwitchImage("prev"),onNext:()=>this.handleSwitchImage("next"),onZoomIn:this.handleZoomImage,onZoomOut:this.handleZoomImage,onDownload:this.handleDownload,onRotate:this.handleRotateImage,onAdjustRatio:this.handleAdjustRatio,renderPreviewMenu:x})))}constructor(e){var t;super(e),t=this,this.viewVisibleChange=()=>{this.foundation.handleViewVisibleChange()},this.handleSwitchImage=e=>{this.foundation.handleSwitchImage(e)},this.handleDownload=()=>{this.foundation.handleDownload()},this.handlePreviewClose=e=>{this.foundation.handlePreviewClose(e)},this.handleAdjustRatio=e=>{this.foundation.handleAdjustRatio(e)},this.handleRotateImage=e=>{this.foundation.handleRotateImage(e)},this.handleZoomImage=function(e){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];t.foundation.handleZoomImage(e,n)},this.handleMouseUp=e=>{this.foundation.handleMouseUp(e.nativeEvent)},this.handleMouseMove=e=>{this.foundation.handleMouseMove(e)},this.handleKeyDown=e=>{this.foundation.handleKeyDown(e)},this.onImageError=()=>{this.foundation.preloadSingleImage()},this.onImageLoad=e=>{this.foundation.onImageLoad(e)},this.handleMouseDown=e=>{this.foundation.handleMouseDown(e)},this.handleWheel=e=>{this.foundation.handleWheel(e)},this.registryImageWrapRef=e=>{this.imageWrapRef&&this.imageWrapRef.removeEventListener("wheel",this.handleWheel),e&&e.addEventListener("wheel",this.handleWheel,{passive:!1}),this.imageWrapRef=e},this.state={imgSrc:[],imgLoadStatus:new Map,zoom:.1,currentIndex:0,ratio:"adaptation",rotation:0,viewerVisible:!0,visible:!1,preloadAfterVisibleChange:!0,direction:""},this.foundation=new _.Z(this.adapter),this.bodyOverflow="",this.originBodyWidth="100%",this.scrollBarWidth=0,this.imageWrapRef=null,this.imageRef=s.createRef(),this.headerRef=s.createRef(),this.footerRef=s.createRef(),this.leftIconRef=s.createRef(),this.rightIconRef=s.createRef()}}w.contextType=E.X,w.propTypes={style:u().object,className:u().string,visible:u().bool,src:u().oneOfType([u().string,u().array]),currentIndex:u().number,defaultCurrentIndex:u().number,defaultVisible:u().bool,maskClosable:u().bool,closable:u().bool,zoomStep:u().number,infinite:u().bool,showTooltip:u().bool,closeOnEsc:u().bool,prevTip:u().string,nextTip:u().string,zoomInTip:u().string,zoomOutTip:u().string,downloadTip:u().string,adaptiveTip:u().string,originTip:u().string,lazyLoad:u().bool,preLoad:u().bool,preLoadGap:u().number,disableDownload:u().bool,viewerVisibleDelay:u().number,zIndex:u().number,maxZoom:u().number,minZoom:u().number,renderHeader:u().func,renderPreviewMenu:u().func,getPopupContainer:u().func,onVisibleChange:u().func,onChange:u().func,onClose:u().func,onZoomIn:u().func,onZoomOut:u().func,onPrev:u().func,onNext:u().func,onDownload:u().func,onRatioChange:u().func,onRotateLeft:u().func},w.defaultProps={showTooltip:!1,zoomStep:.1,infinite:!1,closeOnEsc:!0,lazyLoad:!1,preLoad:!0,preLoadGap:2,zIndex:d.K.DEFAULT_Z_INDEX,maskClosable:!0,viewerVisibleDelay:1e4,maxZoom:5,minZoom:.1}},387132:function(e,t,n){"use strict";n(228983),n(759943);var r=n(494629),i=n.n(r),o=n(101199),a=n(448714),s=n(859725);t.Z=e=>{var t;let n=i()(null===(t=e.className)||void 0===t?void 0:t.split("-"),-1);return n?o.createElement(a.Z,{code:e.children,language:n,lineNumber:!0}):o.createElement("span",{className:`${s.U.PREFIX}-simple-code`},e.children)}},449386:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}}),n(932651);var r=n(795233),i=n.n(r),o=n(101199),a=n(38542),s=n(9444),l=n(104200);function c(e){let{prefixCls:t,locale:n,collapseText:r,isCollapsed:c,onClick:u=i()}=e,d={icon:o.createElement(a.Z,null),type:"tertiary",theme:"borderless",onClick:()=>{"function"==typeof u&&u(!c)}},h=c?null==n?void 0:n.expandText:null==n?void 0:n.collapseText;return"function"==typeof r&&(h=r(c)),o.createElement("div",{className:`${t}-collapse-btn`},c?o.createElement(l.Z,{content:h,position:"right"},o.createElement(s.Z,Object.assign({},d))):o.createElement(s.Z,Object.assign({},d),h))}},537641:function(e,t,n){"use strict";n(932651);var r=n(101199),i=n(469935),o=n.n(i),a=n(622689),s=n.n(a),l=n(423340),c=n(361965),u=n(426337),d=n(59691),h=n(817924);let f=c.U.PREFIX;class p extends u.Z{componentDidMount(){this.foundation.init(),-1===this.handlerIndex&&(this.handlerIndex=this.context.registerHandler(this.handlerRef))}componentDidUpdate(e){}componentWillUnmount(){this.foundation.destroy()}get adapter(){return Object.assign(Object.assign({},super.adapter),{registerEvents:()=>{this.handlerRef.current.addEventListener("mousedown",this.onMouseDown),this.handlerRef.current.addEventListener("touchstart",this.onTouchStart)},unregisterEvents:()=>{this.handlerRef.current.removeEventListener("mousedown",this.onMouseDown),this.handlerRef.current.removeEventListener("touchstart",this.onTouchStart)}})}render(){let{style:e,className:t,children:n}=this.props,{direction:i}=this.context;return r.createElement("div",{className:o()(t,f+"-handler",f+"-handler-"+i),style:e,ref:this.handlerRef},null!=n?n:r.createElement(h.Z,{size:"inherit",style:{rotate:"horizontal"===this.context.direction?"0deg":"90deg"}}))}constructor(e){super(e),this.onMouseDown=e=>{let{notifyResizeStart:t}=this.context;t(this.handlerIndex,e,"mouse")},this.onTouchStart=e=>{let{notifyResizeStart:t}=this.context;t(this.handlerIndex,e.targetTouches[0],"touch")},this.getHandler=()=>this.handlerRef.current,this.state={},this.handlerRef=(0,r.createRef)(),this.foundation=new l.TQ(this.adapter),this.handlerIndex=-1}}p.propTypes={children:s().node,direction:s().string,onResizeStart:s().func,className:s().string,disabled:s().bool,style:s().object},p.defaultProps={},p.contextType=d.M,t.Z=p},754931:function(e,t,n){"use strict";n(932651);var r=n(101199),i=n(622689),o=n.n(i);n(535074);var a=n(259933),s=n(634239),l=n(380189),c=n(256108),u=n(572843),d=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 h extends r.Component{renderComponent(){let e=this.props,{type:t}=e,n=d(e,["type"]);switch(t){case"fill":return r.createElement(s.Z,Object.assign({},n));case"basic":return r.createElement(l.Z,Object.assign({},n));case"nav":return r.createElement(c.Z,Object.assign({},n));default:return null}}render(){let{type:e}=this.props;return r.createElement(u.Z.Provider,{value:{type:e}},this.renderComponent())}}h.Step=a.Z,h.propTypes={onChange:o().func,type:o().oneOf(["fill","basic","nav"]),size:o().oneOf(["small","default"])},h.defaultProps={type:"fill",size:"default"},t.Z=h},500264:function(e,t,n){"use strict";n.d(t,{j:function(){return r}});let r={STREAM_PARSED:"streamparsed",NO_AUDIO_TRACK:"noaudiotrack",SUBTITLE_SEGMENTS:"subtitlesegments",SUBTITLE_PLAYLIST:"subtitleplaylist",SEI_PAYLOAD_TIME:"seipayloadtime",APPEND_COST:"appendcost"}},289982:function(e,t,n){"use strict";n.d(t,{Fc:function(){return a}});var r=n(480333);n(76375);let i={NETWORK:"network",NETWORK_TIMEOUT:"network_timeout",NETWORK_FORBIDDEN:"network_forbidden",NETWORK_NOTFOUND:"network_notfound",DEMUX:"demux",OTHER:"other",RUNTIME:"runtime"},o={[i.NETWORK]:2100,[i.NETWORK_TIMEOUT]:2101,[i.NETWORK_FORBIDDEN]:2103,[i.NETWORK_NOTFOUND]:2104,[i.DEMUX]:{FLV:3100},[i.OTHER]:8e3,[i.RUNTIME]:{NO_CANPLAY_ERROR:9001,BUFFERBREAK_ERROR:9002,WAITING_TIMEOUT_ERROR:9003}};class a extends Error{static network(e){var t;return new a((null==e?void 0:e.isTimeout)?i.NETWORK_TIMEOUT:i.NETWORK,null,e instanceof Error?e:null,{url:null==e?void 0:e.url,response:null==e?void 0:e.response,httpCode:null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.status})}constructor(e,t,n,a,s){super(s||(null==n?void 0:n.message)),(0,r._)(this,"errorType",void 0),(0,r._)(this,"originError",void 0),(0,r._)(this,"ext",void 0),(0,r._)(this,"errorCode",void 0),this.errorType=e===i.NETWORK_TIMEOUT?i.NETWORK:e,this.originError=n,this.ext=a,this.errorCode=o[e][t]||o[e],!this.errorCode&&(this.errorType=i.OTHER,this.errorCode=o[this.errorType])}}},952655:function(e,t,n){"use strict";n.d(t,{Iv:function(){return s},MR:function(){return a},Xe:function(){return o},ct:function(){return i},ef:function(){return r},hD:function(){return l},vv:function(){return c}});let r={NEW:"new",NEW2:"new2",PRELOAD_Hit:"preloadHit",SEND_CONFIG:"send_config",INIT_RENDER:"init_render",AUDIO_TRACK:"audio_track",AUDIO_TRACK_ERR:"audio_track_err",SEND_WRITABLE:"send_writeable",CTX_RUNNING:"audioCtx_running",CTX_PAUSE:"audioCtx_pause",PLAY:"play",AUTOPLAY_STARTED:"autoplay_started",AUTOPLAY_WAS_PREVENTED:"autoplay_was_prevented",TIMEUPDATE:"timeupdate",SOURCE_ERROR:"source_error",VR_ERROR:"ve_error",LOAD_START:"loadstart",LOADED_DATA:"loadeddata",CANPLAY:"canplay",FIRST_FRAME:"first_frame",RESET:"reset",WAITING:"waiting",LOAD_MODULE_ERROR:"load_module_error",CLOSE_WORKER:"close_worker",PLAYING:"playing"},i={PLAYER_LOG:"playerlog"},o={ADD_INFO_TO_LOG:"addExtInfoToLog",PROGRESS:"progress",SEGMENT_DONE:"webcodec_segment_done",PRELOAD_CACHE:"webcodec_preload_cache"};var a={MEDIA:"media",MediaStream:"mediastream"};let s={META_READY:"meta_ready",INIT:"init",MANUAL:"manual"},l=44100,c=2},813211:function(e,t,n){"use strict";let r;n.d(t,{wd:function(){return c},z8:function(){return u}}),n(302356),n(76375),n(679308);var i=n(487359);let o="https://unpkg.byted-static.com/byted/webplayer-extensions/0.0.17-2026060101/dist/rtm-session.js",a=new i.ZP("RtmWebTsManager"),s=!1,l=null;function c(){if(s||!function(){if(void 0===r){let e;try{e=new MessageChannel;let{readable:t}=new TransformStream;e.port1.postMessage(t,[t]),r=!0}catch(e){a.log("transferable stream is not supported:",e),r=!1}finally{null==e||e.port1.close(),null==e||e.port2.close()}}return r}())return;s=!0;let e=performance.now();a.log("start prefetch rtm-session sdk on main thread, url: ",o);let t=new TransformStream(void 0,void 0,new ByteLengthQueuingStrategy({highWaterMark:262144}));fetch(o).then(n=>{if(!n.ok||!n.body)throw Error(`HTTP ${n.status}`);return a.log("prefetch rtm-session sdk response arrived, spent time:",performance.now()-e,"ms"),n.body.pipeTo(t.writable).then(()=>{a.log("prefetch rtm-session sdk drained by worker, spent time:",performance.now()-e,"ms")})}).catch(e=>{a.warn("prefetch rtm-session sdk failed:",e),t.writable.abort(e).catch(()=>{})}),l=t.readable}function u(){let e=l;return l=null,e}},484414:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(480333),i=n(629686),o=n(402748);n(362051);var a=n(34768),s=n(805250),l=n(549816),c=n(487359);class u{bindWorkerListeners(){var e;if(null===(e=this._cfg.ab)||void 0===e?!void 0:!e.rtm_main_thread_connect)this.mediaStreamAdaptor.on(a.Zo.SDP_LOAD,this.load),this.mediaStreamAdaptor.on(a.Zo.SDP_DISCONNECT,this.disconnect)}get url(){var e;return null===(e=this._peer)||void 0===e?void 0:e.url}_bindPeerListeners(e){e.on("readable_writable",e=>{var t,n;let{type:r,readable:i,writable:o}=e;i.locked||o.locked?null===(t=this.mediaStreamAdaptor._workerSink)||void 0===t||t.postMessage({type:a.Zo.ERROR,error:{code:l.t.OTHER,message:"readable or writable is locked"}}):null===(n=this.mediaStreamAdaptor._workerSink)||void 0===n||n.postMessage({type:a.Zo.SDP_TRANSFORM,[r]:{readable:i,writable:o}},[i,o])}),e.on("avCodecInfo",e=>{var t;null===(t=this.mediaStreamAdaptor._workerSink)||void 0===t||t.postMessage((0,o._)((0,i._)({type:a.Zo.AV_CODEC_INFO},e),{enableFastSync:!!e.fastSyncNegotiated}))}),e.on("stats",e=>{var t;null===(t=this.mediaStreamAdaptor._workerSink)||void 0===t||t.postMessage({type:a.Zo.RTM_STATS,stats:e})}),e.on("responseHeaders",e=>{var t;null===(t=this.mediaStreamAdaptor._workerSink)||void 0===t||t.postMessage({type:a.Zo.RTM_RESPONSE_HEADERS,response:e})}),e.on("ttfb",e=>{var t;null===(t=this.mediaStreamAdaptor._workerSink)||void 0===t||t.postMessage({type:a.Zo.RTM_TTFB,elapsed:e})}),e.on("rtm_timing",e=>{this.mediaStreamAdaptor.emit("rtm_timing",e)}),e.on("stateChange",e=>{if("disconnected"===e){var t;null===(t=this.mediaStreamAdaptor._workerSink)||void 0===t||t.postMessage({type:a.Zo.ERROR,error:{code:l.t.RTM_ICE_FAILED,message:"rtm ice disconnect"}})}})}constructor(e,t){(0,r._)(this,"mediaStreamAdaptor",void 0),(0,r._)(this,"_cfg",void 0),(0,r._)(this,"_peer",void 0),(0,r._)(this,"_logger",new c.ZP("RtmLoader")),(0,r._)(this,"load",async e=>{let{url:t}=e;if(this._logger.log("load",t),!!t)this._peer&&this._peer.disconnect(),this._peer=new s.gp,this._bindPeerListeners(this._peer),await this._peer.connect(t,this._cfg).catch(e=>{var n,r;if(e.message!==s.yZ)this._logger.warn("load error",e),null===(r=this.mediaStreamAdaptor._workerSink)||void 0===r||r.postMessage({type:a.Zo.ERROR,error:{errorType:e.errorType,code:e.code||e.errorCode,message:e.message,ext:e.ext,httpCode:null===(n=e.ext)||void 0===n?void 0:n.httpCode,url:t}})})}),(0,r._)(this,"disconnect",()=>{var e;this._logger.log("disconnect"),null===(e=this._peer)||void 0===e||e.disconnect(),this._peer=void 0}),this.mediaStreamAdaptor=e,this._cfg=t,this._logger.log("constructor",JSON.stringify(this._cfg)),this.mediaStreamAdaptor=e,this.bindWorkerListeners()}}},235226:function(e,t,n){"use strict";n.d(t,{$F:function(){return d},kB:function(){return h}});var r=n(480333),i=n(629686),o=n(402748);n(706056),n(374954),n(274352),n(490629),n(228983),n(759943),n(591964),n(968336),n(683656),n(76375);var a=n(759691),s=n(405825),l=n(487359),c={AAC:"MP4A-LATM",H264:"H264",H265:"H265"};let u=new l.ZP("RTMSdp");class d{genOfferSdp(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=s.parse(e);return this.hasNativeAAC=e.includes(c.AAC),this._cropOfferSdp(r,this.hasNativeAAC),!this.hasNativeAAC&&(this._needConvertToAAC=!0,this._opus2aac(r,t)),this.hasNativeAAC&&this._addAACExtension(r),this._addBframe(r),n&&this._addFastSyncExtensions(r),this._filterVideoProfile(r),this._genLocalPayloadMap(r),this._logSdp("offer(http-send)",r),s.write(r)}_addFastSyncExtensions(e){let t={value:18,uri:"http://www.webrtc.org/experiments/rtp-hdrext/decoding-timestamp"},n={value:19,uri:"uri:webrtc:rtc:rtp-hdrext:video:CompositionTime"};e.media=e.media.map(e=>"audio"!==e.type&&"video"!==e.type?e:(!e.ext&&(e.ext=[]),!e.ext.some(e=>e.uri===t.uri)&&e.ext.push(t),"video"===e.type&&!e.ext.some(e=>e.uri===n.uri)&&e.ext.push(n),e))}parseAnswerSdp(e){let t=s.parse(e);return this._logSdp("answer(http-recv)",t),this._genRemotePayloadMap(t),this._checkFastSyncNegotiated(t),this._upperFingerprint(t),this._removeBframe(t),this._needConvertToAAC&&this._aac2opus(t),this._logSdp("answer(set)",t),s.write(t)}_checkFastSyncNegotiated(e){let t=!1,n=!1;e.media.forEach(e=>{if(!e.ext)return;let r=e.ext.some(e=>"http://www.webrtc.org/experiments/rtp-hdrext/decoding-timestamp"===e.uri);"audio"===e.type&&r&&(t=!0),"video"===e.type&&r&&(n=!0)}),this._fastSyncNegotiated=t&&n}get fastSyncNegotiated(){return this._fastSyncNegotiated}get hasAudio(){return Object.values(this._audioPayloadMap).some(e=>e.enabled)}get hasVideo(){return Object.values(this._videoPayloadMap).some(e=>e.enabled)}get videoPayloadMap(){return Object.fromEntries(Object.entries(this._videoPayloadMap).filter(e=>{let[t,n]=e;return n.enabled}))}get audioPayloadMap(){return Object.fromEntries(Object.entries(this._audioPayloadMap).filter(e=>{let[t,n]=e;return n.enabled}))}_genLocalPayloadMap(e){e.media.forEach(e=>{var t;let n="audio"===e.type?this._audioPayloadMap:this._videoPayloadMap;null===(t=e.rtp)||void 0===t||t.forEach(t=>{n[t.payload]={enabled:!1,payloadType:t.payload,mimetype:"audio"===e.type?"mp4a.40.2":"",codec:t.codec,sampleRate:t.rate||void 0}})})}_genRemotePayloadMap(e){e.media.forEach(e=>{var t,n;let r="audio"===e.type?this._audioPayloadMap:this._videoPayloadMap;null===(t=e.rtp)||void 0===t||t.forEach(e=>{let t=r[e.payload];t&&t.codec===e.codec&&(t.enabled=!0)}),null===(n=e.fmtp)||void 0===n||n.forEach(t=>{var n;let s=r[t.payload],l=null===(n=t.config)||void 0===n?void 0:n.split(";").reduce((e,t)=>{let[n,r]=t.split("=");return(0,o._)((0,i._)({},e),{[n]:r})},{});if(s){if("audio"===e.type){if(null==l?void 0:l.config)try{let{audioSpecificConfig:e}=(0,a.ZP)(l.config)||{};e&&(s.mimetype=e.codec,s.config=e.array,s.objectType=Number(s.mimetype[s.mimetype.length-1])||2,s.sampleRate&&s.sampleRate>=44100&&(e.sbrPresentFlag||e.psPresentFlag)&&(s.sampleRate=s.sampleRate/2))}catch(e){u.warn("parse aac config error",e)}if(!s.mimetype&&s.codec===c.AAC){let e=+l.object;1==+l["SBR-enabled"]&&(e=5),1==+l["SBR-enabled"]&&1==+l["PS-enabled"]&&(e=29),s.objectType=+e||2,s.mimetype=`mp4a.40.${s.objectType}`}}else s.mimetype=this._genVideoMimeType(s.codec,l["profile-level-id"])}})})}_logSdp(e,t){let n=[];t.media.forEach(e=>{var t,r,i;let o={};if(null===(t=e.rtp)||void 0===t||t.forEach(t=>{o[t.payload]=[e.type,t.payload,t.codec,t.rate||""]}),null===(r=e.fmtp)||void 0===r||r.forEach(e=>{var t;null===(t=o[e.payload])||void 0===t||t.push(e.config||"")}),Object.values(o).forEach((e,t)=>n.push(`${t}. ${e.join(" ")}`)),null===(i=e.ext)||void 0===i?void 0:i.length){let t=e.ext.map(e=>`[${e.value}]${e.uri.split(/[:/]/).filter(Boolean).pop()}`).join(" ");n.push(` ext: ${t}`)}}),u.log(e,"\n"+n.join("\n"))}_cropOfferSdp(e,t){e.media=e.media.map(e=>e="audio"===e.type?this._keepCodec(e,t?["MP4A-LATM"]:["opus"]):this._keepCodec(e,["H264","H265"]))}_opus2aac(e,t){e.media=e.media.map(e=>{if("audio"===e.type){var n;e.rtp=null===(n=e.rtp)||void 0===n?void 0:n.map(e=>("opus"===e.codec&&(e.codec=c.AAC,e.rate=t),e))}return e})}_aac2opus(e){e.media=e.media.map(e=>{if("audio"===e.type){var t;e.rtp=null===(t=e.rtp)||void 0===t?void 0:t.map(e=>(e.codec===c.AAC&&(e.codec="opus",e.rate=48e3),e))}return e})}_addAACExtension(e){let t="uri:webrtc:rtc:rtp-hdrext:audio:aac-config";e.media=e.media.map(e=>("audio"===e.type&&(!e.ext&&(e.ext=[]),!e.ext.some(e=>e.uri===t)&&e.ext.push({value:27,uri:t})),e))}_filterVideoProfile(e){e.media=e.media.map(e=>{if("video"===e.type){var t,n,r,a,s;let l=[];((null===(t=e.rtp)||void 0===t?void 0:t.filter(e=>e.codec===c.H264).map(e=>e.payload))||[]).forEach(t=>{var n,r;let a=null===(n=e.fmtp)||void 0===n?void 0:n.find(e=>e.payload===t);if(null==a?void 0:a.config){let e=a.config.split(";").reduce((e,t)=>{let[n,r]=t.split("=");return(0,o._)((0,i._)({},e),{[n]:r})},{}),n=null===(r=e["profile-level-id"])||void 0===r?void 0:r.toLowerCase(),s=e["packetization-mode"];(!n||!n.startsWith("42")||"1"!==s)&&l.push(t)}else l.push(t)}),null===(n=e.fmtp)||void 0===n||n.forEach(e=>{var t;if(null===(t=e.config)||void 0===t?void 0:t.startsWith("apt=")){let t=Number(e.config.slice(4));l.includes(t)&&l.push(e.payload)}}),e.rtp=null===(r=e.rtp)||void 0===r?void 0:r.filter(e=>!l.includes(e.payload)),e.fmtp=null===(a=e.fmtp)||void 0===a?void 0:a.filter(e=>!l.includes(e.payload)),e.rtcpFb=null===(s=e.rtcpFb)||void 0===s?void 0:s.filter(e=>!l.includes(Number(e.payload))),e.payloads&&(e.payloads=e.payloads.split(" ").filter(e=>!l.includes(Number(e))).join(" "))}return e})}_addBframe(e){e.media=e.media.map(e=>{if("video"===e.type){var t;e.fmtp=null===(t=e.fmtp)||void 0===t?void 0:t.map(e=>{var t;return e.config=[d.B_FRAME_ENABLED,...(null===(t=e.config)||void 0===t?void 0:t.split(";"))||[]].join(";"),e})}return e})}_removeBframe(e){e.media=e.media.map(e=>{if("video"===e.type){var t;e.fmtp=null===(t=e.fmtp)||void 0===t?void 0:t.map(e=>{var t;return e.config=null===(t=e.config)||void 0===t?void 0:t.replace(`${d.B_FRAME_ENABLED};`,""),e})}return e})}_genVideoMimeType(e,t){switch(e){case c.H264:return`avc1.${(null==t?void 0:t.toUpperCase())||"42002a"}`;case c.H265:return"hev1.1.6.L93.B0";default:return""}}_keepCodec(e,t){var n,r,a,s;let l=null===(n=e.rtp)||void 0===n?void 0:n.filter(e=>t.includes(e.codec)),c=[];null===(r=e.fmtp)||void 0===r||r.forEach(e=>{l.some(t=>t.payload===e.payload)&&e.config.startsWith("apt=")&&c.push(+e.config.slice(4))});let u=null===(a=e.fmtp)||void 0===a?void 0:a.filter(e=>!!(l.some(t=>t.payload===e.payload)||c.includes(e.payload))||!1),d=null===(s=e.rtcpFb)||void 0===s?void 0:s.filter(e=>!!(l.some(t=>t.payload===e.payload)||c.includes(+e.payload))||!1);return(0,o._)((0,i._)({},e),{payloads:[...l.map(e=>e.payload),...c].join(" "),rtp:l,fmtp:u,rtcpFb:d})}_upperFingerprint(e){e.media=e.media.map(e=>{if(e.fingerprint){var t,n;e.fingerprint.hash=null===(n=e.fingerprint)||void 0===n?void 0:null===(t=n.hash)||void 0===t?void 0:t.toUpperCase()}return e})}constructor(){(0,r._)(this,"_needConvertToAAC",!1),(0,r._)(this,"hasNativeAAC",!1),(0,r._)(this,"_videoPayloadMap",{}),(0,r._)(this,"_audioPayloadMap",{}),(0,r._)(this,"_fastSyncNegotiated",!1)}}(0,r._)(d,"B_FRAME_ENABLED","BFrame-enabled=1");let h=(e,t)=>{let n=s.parse(e),r=s.parse(t);for(let e of n.media){let t=r.media.find(t=>t.type===e.type&&0!==t.port);if(t){var i,o,a,l;let n={};null===(i=e.rtp)||void 0===i||i.forEach(e=>{n[e.payload]=e.codec});let r={};for(let e in null===(o=t.rtp)||void 0===o||o.forEach(e=>{r[e.payload]=e.codec}),r){let t=r[Number(e)];if(!n[Number(e)])throw Error(`Payload ${e} (codec: ${t}) in answer not found in offer`);let i=n[Number(e)];if(t!==i)throw Error(`Codec mismatch for payload ${e}: offer has ${i}, answer has ${t}`)}let s=new Set((null===(a=e.rtp)||void 0===a?void 0:a.map(e=>e.codec))||[]);for(let e of new Set((null===(l=t.rtp)||void 0===l?void 0:l.map(e=>e.codec))||[]))if(!s.has(e))throw Error(`Codec ${e} in answer not found in offer`)}}}},67488:function(e,t,n){"use strict";function r(e){return["string","number"].includes(typeof e)&&""!==e}n.d(t,{Z:function(){return r}}),n(706056)},912077:function(e,t,n){"use strict";n.d(t,{UX:function(){return i},j2:function(){return o}});var r=n(707852);let i={TABS:`${r.T}-tabs`,TABS_BAR:`${r.T}-tabs-bar`,TABS_BAR_LINE:`${r.T}-tabs-bar-line`,TABS_BAR_CARD:`${r.T}-tabs-bar-card`,TABS_BAR_BUTTON:`${r.T}-tabs-bar-button`,TABS_BAR_SLASH:`${r.T}-tabs-bar-slash`,TABS_BAR_EXTRA:`${r.T}-tabs-bar-extra`,TABS_TAB:`${r.T}-tabs-tab`,TABS_TAB_ACTIVE:`${r.T}-tabs-tab-active`,TABS_TAB_DISABLED:`${r.T}-tabs-tab-disabled`,TABS_CONTENT:`${r.T}-tabs-content`,TABS_CONTENT_ANIMATED:`${r.T}-tabs-content-animated`,TABS_CONTENT_NO_ANIMATED:`${r.T}-tabs-content-no-animated`,TABS_PANE:`${r.T}-tabs-pane`,TABS_PANE_INACTIVE:`${r.T}-tabs-pane-inactive`,TABS_PANE_ACTIVE:`${r.T}-tabs-pane-active`,TABS_PANE_MOTION_OVERLAY:`${r.T}-tabs-pane-motion-overlay`,TABS_PANE_ANIMATING:`${r.T}-tabs-pane-animating`,TABS_PANE_ANIMATE_LEFT_SHOW:`${r.T}-tabs-pane-animate-leftShow`,TABS_PANE_ANIMATE_RIGHT_SHOW:`${r.T}-tabs-pane-animate-rightShow`,TABS_PANE_ANIMATE_TOP_SHOW:`${r.T}-tabs-pane-animate-topShow`,TABS_PANE_ANIMATE_BOTTOM_SHOW:`${r.T}-tabs-pane-animate-bottomShow`},o={TYPE_MAP:["line","card","button","slash"],SIZE:["small","medium","large"],POSITION_MAP:["top","left"]}},668825:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}}),n(932651);var r=n(856445),i=n(642449);class o extends r.Z{init(){}destroy(){this._adapter.enabledBodyScroll()}_notifyChange(e){let{current:t}=this.getStates();t!==e&&this._adapter.notifyChange(e)}getIsControlledComponent(){return this._isInProps("current")}beforeShow(){this._adapter.disabledBodyScroll()}afterHide(){this._adapter.enabledBodyScroll()}getFinalPaading(){var e;let{spotlightPadding:t,steps:n}=this.getProps(),{current:r}=this.getStates(),o=null===(e=n[r])||void 0===e?void 0:e.spotlightPadding;return"number"==typeof o?o:"number"==typeof t?t:i.KT.DEFAULT_SPOTLIGHT_PADDING}constructor(e){super(Object.assign({},e)),this.handlePrev=()=>{let{current:e}=this.getStates(),t=e-1;!this.getIsControlledComponent()&&this._adapter.setCurrent(t),this._notifyChange(t),this._adapter.notifyPrev(t)},this.handleNext=()=>{let{steps:e}=this.getProps(),{current:t}=this.getStates(),n=t===e.length-1,r=n?t:t+1;n?this._adapter.notifyFinish():(this._notifyChange(r),this._adapter.notifyNext(r),!this.getIsControlledComponent()&&this._adapter.setCurrent(r))},this.handleSkip=()=>{this._adapter.notifySkip()}}}},370389:function(e,t,n){"use strict";n.d(t,{c:function(){return i},f:function(){return o}}),n(490629);var r=n(878255);function i(e,t){if(null!==e&&e.length&&null!==t&&t.length){let n=new Set(e),i=new Set(t);return Array.from((0,r.c)(n,i))}return e}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ascend";if("descend"===t)return(n,r)=>{let i=Number(e(n,r,t));return 0!==i?-i:i};return(n,r)=>e(n,r,t)}},108220:function(e,t,n){"use strict";n.d(t,{DG:function(){return i},q7:function(){return r}});let r="Enter",i="Escape";t.ZP={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229}},964591:function(e,t,n){"use strict";n.d(t,{DT:function(){return s.D},Pi:function(){return l.P}}),n(261617);var r,i=n(679622),o=n(609301);n(404307),n(228901);var a=n(302483),s=n(835952),l=n(165022);n(355562),n(409842),n(516233),n(172178),(0,o.z0)(i.m),a.O.finalizeAllImmediately},942809:function(e,t,n){"use strict";n(679308),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("64942"),n.e("93354"),n.e("15967")]).then(n.bind(n,579511)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("64942"),n.e("93354"),n.e("15967")]).then(n.bind(n,522573)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("64942"),n.e("93354"),n.e("15967")]).then(n.bind(n,735608)),Promise.all([n.e("23634"),n.e("73286"),n.e("42422"),n.e("21133"),n.e("28161"),n.e("73356"),n.e("69855"),n.e("5974"),n.e("15915"),n.e("72230"),n.e("68055"),n.e("51705"),n.e("6593"),n.e("6757"),n.e("44882"),n.e("64942"),n.e("93354"),n.e("15967")]).then(n.bind(n,825710))},166386:function(e,t,n){"use strict";n(679308),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,522573)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,735608)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,825710)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,671195)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,66425)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,787831)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,595980)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,619619)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,138440)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,915669)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,571508)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,869275)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,26604)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,415134)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,945173)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,621401)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,695755)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,526317)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,530266)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,586441)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,983190)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,304495)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,310443)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,105345)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,180388)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,766903)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,364759)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,631214)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,24913)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,893933)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,140939)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,524491)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,315659)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,51600)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,522030)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,865525)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,593870)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,130289)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,497409)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,631056)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,588386)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,93458)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,225479)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,769591)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,124653)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("97894")]).then(n.bind(n,79770))},471608:function(e,t,n){"use strict";n(679308),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,411807)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,522573)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,735608)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,825710)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,671195)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,66425)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,787831)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,595980)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,619619)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,138440)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,915669)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,571508)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,869275)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,26604)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,415134)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,945173)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,621401)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,695755)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,526317)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,530266)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,586441)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,983190)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,304495)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,310443)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,105345)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,180388)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,766903)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,364759)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,631214)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,24913)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,893933)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,140939)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,524491)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,315659)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,51600)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,522030)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,865525)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,593870)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,130289)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,497409)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,631056)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,588386)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,93458)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,225479)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,769591)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("61639")]).then(n.bind(n,124653))},297243:function(e,t,n){"use strict";n(679308),n.e("48454").then(n.bind(n,186035)),n.e("48454").then(n.bind(n,522573)),n.e("48454").then(n.bind(n,735608)),n.e("48454").then(n.bind(n,825710)),n.e("48454").then(n.bind(n,671195)),n.e("48454").then(n.bind(n,66425)),n.e("48454").then(n.bind(n,787831)),n.e("48454").then(n.bind(n,595980)),n.e("48454").then(n.bind(n,619619)),n.e("48454").then(n.bind(n,138440)),n.e("48454").then(n.bind(n,915669)),n.e("48454").then(n.bind(n,571508)),n.e("48454").then(n.bind(n,869275)),n.e("48454").then(n.bind(n,26604)),n.e("48454").then(n.bind(n,415134)),n.e("48454").then(n.bind(n,945173)),n.e("48454").then(n.bind(n,621401)),n.e("48454").then(n.bind(n,695755)),n.e("48454").then(n.bind(n,526317)),n.e("48454").then(n.bind(n,530266)),n.e("48454").then(n.bind(n,586441)),n.e("48454").then(n.bind(n,983190)),n.e("48454").then(n.bind(n,304495)),n.e("48454").then(n.bind(n,310443)),n.e("48454").then(n.bind(n,105345)),n.e("48454").then(n.bind(n,180388)),n.e("48454").then(n.bind(n,766903)),n.e("48454").then(n.bind(n,364759)),n.e("48454").then(n.bind(n,631214)),n.e("48454").then(n.bind(n,24913)),n.e("48454").then(n.bind(n,893933)),n.e("48454").then(n.bind(n,140939)),n.e("48454").then(n.bind(n,524491)),n.e("48454").then(n.bind(n,315659)),n.e("48454").then(n.bind(n,51600)),n.e("48454").then(n.bind(n,522030)),n.e("48454").then(n.bind(n,865525)),n.e("48454").then(n.bind(n,593870)),n.e("48454").then(n.bind(n,130289)),n.e("48454").then(n.bind(n,497409)),n.e("48454").then(n.bind(n,631056)),n.e("48454").then(n.bind(n,588386)),n.e("48454").then(n.bind(n,93458)),n.e("48454").then(n.bind(n,225479)),n.e("48454").then(n.bind(n,769591)),n.e("48454").then(n.bind(n,124653))},991279:function(e,t,n){"use strict";n(679308),n.e("3625").then(n.bind(n,522573)),n.e("3625").then(n.bind(n,735608)),n.e("3625").then(n.bind(n,825710)),n.e("3625").then(n.bind(n,671195)),n.e("3625").then(n.bind(n,66425)),n.e("3625").then(n.bind(n,787831)),n.e("3625").then(n.bind(n,595980)),n.e("3625").then(n.bind(n,619619)),n.e("3625").then(n.bind(n,138440)),n.e("3625").then(n.bind(n,915669)),n.e("3625").then(n.bind(n,571508)),n.e("3625").then(n.bind(n,869275)),n.e("3625").then(n.bind(n,26604)),n.e("3625").then(n.bind(n,415134)),n.e("3625").then(n.bind(n,945173)),n.e("3625").then(n.bind(n,621401)),n.e("3625").then(n.bind(n,695755)),n.e("3625").then(n.bind(n,526317)),n.e("3625").then(n.bind(n,530266)),n.e("3625").then(n.bind(n,586441)),n.e("3625").then(n.bind(n,983190)),n.e("3625").then(n.bind(n,304495)),n.e("3625").then(n.bind(n,310443)),n.e("3625").then(n.bind(n,105345)),n.e("3625").then(n.bind(n,180388)),n.e("3625").then(n.bind(n,766903)),n.e("3625").then(n.bind(n,364759)),n.e("3625").then(n.bind(n,631214)),n.e("3625").then(n.bind(n,24913)),n.e("3625").then(n.bind(n,893933)),n.e("3625").then(n.bind(n,140939)),n.e("3625").then(n.bind(n,524491)),n.e("3625").then(n.bind(n,315659)),n.e("3625").then(n.bind(n,51600)),n.e("3625").then(n.bind(n,522030)),n.e("3625").then(n.bind(n,865525)),n.e("3625").then(n.bind(n,593870)),n.e("3625").then(n.bind(n,130289)),n.e("3625").then(n.bind(n,497409)),n.e("3625").then(n.bind(n,631056)),n.e("3625").then(n.bind(n,588386)),n.e("3625").then(n.bind(n,93458)),n.e("3625").then(n.bind(n,225479)),n.e("3625").then(n.bind(n,769591)),n.e("3625").then(n.bind(n,124653)),n.e("3625").then(n.bind(n,302611))},290481:function(e,t,n){"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}n.d(t,{Z:function(){return r}})},135156:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});let r={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}},783636:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(305161),i=n(628053),o=n(400423),a=n(342160),s=n(357509),l=n(268851),c=n(728927);let u={comment:r.U,doctype:function(){},element:i.b,mdxFlowExpression:o.n,mdxJsxFlowElement:a.D,mdxJsxTextElement:a.D,mdxTextExpression:o.n,mdxjsEsm:s.X,root:l.J,text:c.f}},13064:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(166950),i=n(766418),o=n(918395);let a=/[A-Z]/g,s=/-[a-z]/g,l=/^data[-\w.:]+$/i;function c(e,t){let n=(0,o.F)(t),c=t,h=i.k;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&l.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(s,d);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!s.test(e)){let n=e.replace(a,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}h=r.I}return new h(c,t)}function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},204765:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(158489);function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r.V(n,i,t)}},958560:function(e,t,n){"use strict";n.d(t,{v:function(){return l}});let r=/["&'<>`]/g,i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,a=/[|\\{}()[\]^$+*?.]/g,s=new WeakMap;function l(e,t){if(e=e.replace(t.subset?function(e){let t=s.get(e);return!t&&(t=function(e){let t=[],n=-1;for(;++n{null==e||e(n),!n.defaultPrevented&&t(n)}}let E=e=>{let t={observer:!1,hover:!1};return y(e)&&(e?t.observer=!0:t.hover=!1),(0,b.i)(e)&&(y(e.observer)&&(t.observer=e.observer),y(e.hover)&&(t.hover=e.hover)),t},A=e=>{let{to:t,replace:n,prefetch:u,prerender:d=!1,children:h,onClick:p}=e,m=(0,o._)(e,["to","replace","prefetch","prerender","children","onClick"]),g=e.target,v=(0,c.useMemo)(()=>E(u),[u]),[b,y]=(0,c.useState)(!1),[A,S]=(0,c.useState)(!1),[P,R]=(0,c.useState)(!1),x=(0,s.k)(),C=(0,c.useCallback)(e=>{var r;if(p&&p(e),!t.startsWith("http")&&0===e.button&&(!g||"_self"===g)&&!((r=e).metaKey||r.altKey||r.ctrlKey||r.shiftKey))e.preventDefault(),n?x.replace(t):x.push(t)},[p,t,g,n,x]),N=()=>{v.hover&&t&&S(!0),d&&t&&R(!0)},O=()=>{v.hover&&S(!1),d&&R(!1)};(0,c.useEffect)(()=>{if(A||P){let e=setTimeout(()=>{A&&y(!0),P&&(null===l.f||void 0===l.f||(0,l.f)([t]))},100);return()=>{clearTimeout(e)}}},[A,P,t]);let k=_(e.onMouseEnter,N),I=_(e.onMouseLeave,O),L=_(e.onFocus,N),M=_(e.onBlur,O),j=_(e.onTouchStart,N);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",(0,i._)((0,r._)((0,i._)((0,r._)({},m),{onClick:C,onMouseEnter:k,onMouseLeave:I,onFocus:L,onBlur:M,onTouchStart:j,href:t}),v.observer?{[f.dH]:f.gq}:{},v.observer?{[f.ZS]:f.gq}:{}),{children:h})),b&&(0,a.jsx)(T,{to:t}),b&&(0,a.jsx)(w,{to:t})]})};function T(e){let{to:t}=e,[n]=t.split("?"),{matchPatterns:r}=(0,m.FR)(n),{matchPatternsCache:i}=(0,h.useServerRouteCache)(),o=(0,m.iU)(null==i?void 0:i.current,r);if(n.startsWith("http")||document.location.pathname===n)return null;let s=new URL(t,window.location.href),l={pathname:s.pathname,search:s.search,type:"navigate",intersection:o},c=`${u.Yb}?state=${(0,p.e)(l)}`;return(0,a.jsx)("link",{rel:"prefetch",as:"fetch",href:c})}function w(e){let{to:t}=e,[n]=t.split("?"),[r,i]=(0,c.useState)([]),o=n.startsWith("http")||document.location.pathname===n;return((0,c.useEffect)(()=>o?()=>{}:((0,d.K)(()=>{(0,g.S)({to:t}).then(async e=>{(0,c.startTransition)(()=>{i(e)})})}),()=>{}),[t,o]),o)?null:(0,a.jsx)(a.Fragment,{children:r.map(e=>(0,a.jsx)("link",{rel:"preload",as:e.scriptType,href:e.url},e.url))})}},921839:function(e,t,n){"use strict";n.r(t),n.d(t,{RSCRoute:function(){return a}}),n(679308);var r=n(101199),i=n(406848),o=n(124653);n(320165);let a=(0,r.memo)(e=>{let{cacheKey:t,as:n}=e,a=function(e){let t=self.__pace_rsc_cache.get(e);if(t)return t;let n=`${i.Yb}?state=${encodeURIComponent(e)}`;return t=self.__createFromFetch(fetch(n)),self.__pace_rsc_cache.set(e,t),t}(t),{patternToCacheKeyCache:s}=(0,o.useServerRouteCache)();return s.current.set(n,t),(0,r.use)(a)})},257183:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var r=n(845909);function i(){return function(e){(0,r.Vn)(e,"raw",function(e,t,n){if(n&&"number"==typeof t)return n.children.splice(t,1),t})}}},757275:function(e,t,n){"use strict";n.d(t,{$:function(){return a},Y:function(){return o}});var r=n(882742),i=n(261626);function o(e){let t,n=-1;for(;++n>>8^255&e^99,i[m]=e,o[e]=m;let t=p[m],n=p[t],r=p[n],v=257*p[e]^16843008*e;a[m]=v<<24|v>>>8,s[m]=v<<16|v>>>16,l[m]=v<<8|v>>>24,c[m]=v,v=16843009*r^65537*n^257*t^16843008*m,u[e]=v<<24|v>>>8,d[e]=v<<16|v>>>16,h[e]=v<<8|v>>>24,f[e]=v,m?(m=t^p[p[p[r^t]]],g^=p[p[g]]):m=g=1}let v=[0,1,2,4,8,16,32,64,128,27,54];class b extends r.Gn{_doReset(){let e;if(this._nRounds&&this._keyPriorReset===this._key)return;this._keyPriorReset=this._key;let t=this._keyPriorReset,n=t.words,r=t.sigBytes/4;this._nRounds=r+6;let o=(this._nRounds+1)*4;this._keySchedule=[];let a=this._keySchedule;for(let t=0;t6&&t%r==4&&(e=i[e>>>24]<<24|i[e>>>16&255]<<16|i[e>>>8&255]<<8|i[255&e]):e=(i[(e=e<<8|e>>>24)>>>24]<<24|i[e>>>16&255]<<16|i[e>>>8&255]<<8|i[255&e])^v[t/r|0]<<24,a[t]=a[t-r]^e);this._invKeySchedule=[];let s=this._invKeySchedule;for(let t=0;t>>24]]^d[i[e>>>16&255]]^h[i[e>>>8&255]]^f[i[255&e]]}}encryptBlock(e,t){this._doCryptBlock(e,t,this._keySchedule,a,s,l,c,i)}decryptBlock(e,t){let n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,u,d,h,f,o),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n}_doCryptBlock(e,t,n,r,i,o,a,s){let l=this._nRounds,c=e[t]^n[0],u=e[t+1]^n[1],d=e[t+2]^n[2],h=e[t+3]^n[3],f=4;for(let e=1;e>>24]^i[u>>>16&255]^o[d>>>8&255]^a[255&h]^n[f];f+=1;let t=r[u>>>24]^i[d>>>16&255]^o[h>>>8&255]^a[255&c]^n[f];f+=1;let s=r[d>>>24]^i[h>>>16&255]^o[c>>>8&255]^a[255&u]^n[f];f+=1;let l=r[h>>>24]^i[c>>>16&255]^o[u>>>8&255]^a[255&d]^n[f];f+=1,c=e,u=t,d=s,h=l}let p=(s[c>>>24]<<24|s[u>>>16&255]<<16|s[d>>>8&255]<<8|s[255&h])^n[f];f+=1;let m=(s[u>>>24]<<24|s[d>>>16&255]<<16|s[h>>>8&255]<<8|s[255&c])^n[f];f+=1;let g=(s[d>>>24]<<24|s[h>>>16&255]<<16|s[c>>>8&255]<<8|s[255&u])^n[f];f+=1;let v=(s[h>>>24]<<24|s[c>>>16&255]<<16|s[u>>>8&255]<<8|s[255&d])^n[f];f+=1,e[t]=p,e[t+1]=m,e[t+2]=g,e[t+3]=v}}b.keySize=8;let y=r.Gn._createHelper(b)},223981:function(e,t,n){"use strict";n.d(t,{pt:function(){return c}});var r=n(324219);let i=[];for(let e=0;e<64;e+=1)i[e]=4294967296*Math.abs(Math.sin(e+1))|0;let o=(e,t,n,r,i,o,a)=>{let s=e+(t&n|~t&r)+i+a;return(s<>>32-o)+t},a=(e,t,n,r,i,o,a)=>{let s=e+(t&r|n&~r)+i+a;return(s<>>32-o)+t},s=(e,t,n,r,i,o,a)=>{let s=e+(t^n^r)+i+a;return(s<>>32-o)+t},l=(e,t,n,r,i,o,a)=>{let s=e+(n^(t|~r))+i+a;return(s<>>32-o)+t};class c extends r.Px{_doReset(){this._hash=new r.Ic([1732584193,4023233417,2562383102,271733878])}_doProcessBlock(e,t){for(let n=0;n<16;n+=1){let r=t+n,i=e[r];e[r]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360}let n=this._hash.words,r=e[t+0],c=e[t+1],u=e[t+2],d=e[t+3],h=e[t+4],f=e[t+5],p=e[t+6],m=e[t+7],g=e[t+8],v=e[t+9],b=e[t+10],y=e[t+11],_=e[t+12],E=e[t+13],A=e[t+14],T=e[t+15],w=n[0],S=n[1],P=n[2],R=n[3];w=o(w,S,P,R,r,7,i[0]),R=o(R,w,S,P,c,12,i[1]),P=o(P,R,w,S,u,17,i[2]),S=o(S,P,R,w,d,22,i[3]),w=o(w,S,P,R,h,7,i[4]),R=o(R,w,S,P,f,12,i[5]),P=o(P,R,w,S,p,17,i[6]),S=o(S,P,R,w,m,22,i[7]),w=o(w,S,P,R,g,7,i[8]),R=o(R,w,S,P,v,12,i[9]),P=o(P,R,w,S,b,17,i[10]),S=o(S,P,R,w,y,22,i[11]),w=o(w,S,P,R,_,7,i[12]),R=o(R,w,S,P,E,12,i[13]),P=o(P,R,w,S,A,17,i[14]),S=o(S,P,R,w,T,22,i[15]),w=a(w,S,P,R,c,5,i[16]),R=a(R,w,S,P,p,9,i[17]),P=a(P,R,w,S,y,14,i[18]),S=a(S,P,R,w,r,20,i[19]),w=a(w,S,P,R,f,5,i[20]),R=a(R,w,S,P,b,9,i[21]),P=a(P,R,w,S,T,14,i[22]),S=a(S,P,R,w,h,20,i[23]),w=a(w,S,P,R,v,5,i[24]),R=a(R,w,S,P,A,9,i[25]),P=a(P,R,w,S,d,14,i[26]),S=a(S,P,R,w,g,20,i[27]),w=a(w,S,P,R,E,5,i[28]),R=a(R,w,S,P,u,9,i[29]),P=a(P,R,w,S,m,14,i[30]),S=a(S,P,R,w,_,20,i[31]),w=s(w,S,P,R,f,4,i[32]),R=s(R,w,S,P,g,11,i[33]),P=s(P,R,w,S,y,16,i[34]),S=s(S,P,R,w,A,23,i[35]),w=s(w,S,P,R,c,4,i[36]),R=s(R,w,S,P,h,11,i[37]),P=s(P,R,w,S,m,16,i[38]),S=s(S,P,R,w,b,23,i[39]),w=s(w,S,P,R,E,4,i[40]),R=s(R,w,S,P,r,11,i[41]),P=s(P,R,w,S,d,16,i[42]),S=s(S,P,R,w,p,23,i[43]),w=s(w,S,P,R,v,4,i[44]),R=s(R,w,S,P,_,11,i[45]),P=s(P,R,w,S,T,16,i[46]),S=s(S,P,R,w,u,23,i[47]),w=l(w,S,P,R,r,6,i[48]),R=l(R,w,S,P,m,10,i[49]),P=l(P,R,w,S,A,15,i[50]),S=l(S,P,R,w,f,21,i[51]),w=l(w,S,P,R,_,6,i[52]),R=l(R,w,S,P,d,10,i[53]),P=l(P,R,w,S,b,15,i[54]),S=l(S,P,R,w,c,21,i[55]),w=l(w,S,P,R,g,6,i[56]),R=l(R,w,S,P,T,10,i[57]),P=l(P,R,w,S,p,15,i[58]),S=l(S,P,R,w,E,21,i[59]),w=l(w,S,P,R,h,6,i[60]),R=l(R,w,S,P,y,10,i[61]),P=l(P,R,w,S,u,15,i[62]),S=l(S,P,R,w,v,21,i[63]),n[0]=n[0]+w|0,n[1]=n[1]+S|0,n[2]=n[2]+P|0,n[3]=n[3]+R|0}_doFinalize(){let e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32;let i=Math.floor(n/4294967296);t[(r+64>>>9<<4)+15]=(i<<8|i>>>24)&16711935|(i<<24|i>>>8)&4278255360,t[(r+64>>>9<<4)+14]=(n<<8|n>>>24)&16711935|(n<<24|n>>>8)&4278255360,e.sigBytes=(t.length+1)*4,this._process();let o=this._hash,a=o.words;for(let e=0;e<4;e+=1){let t=a[e];a[e]=(t<<8|t>>>24)&16711935|(t<<24|t>>>8)&4278255360}return o}clone(){let e=super.clone.call(this);return e._hash=this._hash.clone(),e}}r.Px._createHelper(c),r.Px._createHmacHelper(c)}}]);