/*! For license information please see 42288.6b15cac9.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,r=1,i=arguments.length;r/g,s=/&#([a-zA-Z0-9]*);?/gim,a=/"/g,l=/:?/gim,c=/&newline;?/gim,u=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,d=/u\s*r\s*l\s*\(.*/gi,h=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,f=/"/g,p=function(e){return e.replace(n,"<").replace(o,">")},m={indexOf:function(e,t){var r,i;for(r=0,i=e.length;r127&&i<2048?t+=String.fromCharCode(i>>6|192)+String.fromCharCode(63&i|128):t+=String.fromCharCode(i>>12|224)+String.fromCharCode(i>>6&63|128)+String.fromCharCode(63&i|128)}return t}(e);u>2,o=(3&t)<<4|(r=e.charCodeAt(u++))>>4,s=(15&r)<<2|(i=e.charCodeAt(u++))>>6,a=63&i,isNaN(r)?s=a=64:isNaN(i)&&(a=64),c=c+l.charAt(n)+l.charAt(o)+l.charAt(s)+l.charAt(a);return c}function y(e){var t,r,i,n,o,s,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c>4,r=(15&n)<<4|(o=a.indexOf(e.charAt(c++)))>>2,i=(3&o)<<6|(s=a.indexOf(e.charAt(c++))),l+=String.fromCharCode(t),64!==o&&(l+=String.fromCharCode(r)),64!==s&&(l+=String.fromCharCode(i));return function(e){for(var t="",r=0,i=0,n=0,o=0;r191&&i<224?(t+=String.fromCharCode((31&i)<<6|63&(o=e.charCodeAt(r+1))),r+=2):(o=e.charCodeAt(r+1),t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&(n=e.charCodeAt(r+2))),r+=3);return t}(l)}function b(e,t,r){var i="",n=0,o=!1,s=!1,a=0,l=e.length,c="",u="";e:for(a=0;a"===d||a===l-1){i+=r(e.slice(n,o)),c=function(e){var t,r=m.spaceIndex(e);return t=-1===r?e.slice(1,-1):e.slice(1,r+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,a+1)),i+=t(o,i.length,c,u,"0;t--){var r=e[t];if(" "!==r)return"="===r?t:-1}return -1}(e,c-1))){l(s,v(m.trim(e.slice(r,c)))),s=!1,r=c+1;continue}}}else{if(-1===(d=e.indexOf(u,c+1)))break;l(s,m.trim(e.slice(n+1,d))),s=!1,r=(c=d)+1}}else s=e.slice(r,c),r=c+1,n='"'===e.charAt(r)||"'"===e.charAt(r)?r:function(e,t){for(;te.charCodeAt(r)?" ":e.charAt(r);return m.trim(t)}(e=(e=(e=e.replace(a,'"')).replace(s,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(l,":").replace(c," "))}(r),"href"===t||"src"===t){if("#"===(r=m.trim(r)))return"#";if("http://"!==r.substr(0,7)&&"https://"!==r.substr(0,8)&&"mailto:"!==r.substr(0,7)&&"tel:"!==r.substr(0,4)&&"data:image/"!==r.substr(0,11)&&"ftp://"!==r.substr(0,6)&&"./"!==r.substr(0,2)&&"../"!==r.substr(0,3)&&"#"!==r[0]&&"/"!==r[0])return""}else if("background"===t){if(u.lastIndex=0,u.test(r))return""}else if("style"===t&&(h.lastIndex=0,h.test(r)||(d.lastIndex=0,d.test(r)&&(u.lastIndex=0,u.test(r)))))return"";return r=function(e){return e=p(e=e.replace(f,"""))}(r)}var S=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},E=function(){function e(e){var t=function(e){var t={};for(var r in e)t[r]=e[r];return t}(e||{});t.stripIgnoreTag&&(t.onIgnoreTag,t.onIgnoreTag=function(){return""}),t.whiteList={},t.onTag=function(){},t.onTagAttr=function(){},t.onIgnoreTag=function(){},t.onIgnoreTagAttr=function(){},t.safeAttrValue=x,t.escapeHtml=p,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,r,i,n,o,s,a=this.options,l=a.whiteList,c=a.onTag,u=a.onIgnoreTag,d=a.onTagAttr,h=a.onIgnoreTagAttr,f=a.safeAttrValue,p=a.escapeHtml;a.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),a.allowCommentTag||(e=function(e){for(var t="",r=0;r");var a=function(e){var t=m.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=m.trim(e.slice(t+1,-1)))[e.length-1];return r&&(e=m.trim(e.slice(0,-1))),{html:e,closing:r}}(i),g=l[r],v=_(a.html,function(e,t){var i=-1!==m.indexOf(g,e),n=d(r,e,t,i);return null==n?i?(t=f(r,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(n=h(r,e,t,i))?void 0:n:n});return i="<".concat(r),v&&(i+=" ".concat(v)),a.closing&&(i+=" /"),i+=">"}return null==(s=u(r,i,o))?p(i):s},p);return g&&(v=g.remove(v)),v},e}(),k=Function("\nvar _checkXSS = function (it) {\n return it && it.Math == Math && it;\n};\nreturn _checkXSS(typeof globalThis === 'object' && globalThis) ||\n_checkXSS(typeof window === 'object' && window) ||\n_checkXSS(typeof self === 'object' && self) ||\n_checkXSS(typeof global === 'object' && global) ||\nFunction('return this')();\n")(),A=new(function(){function e(){var e=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var t,r,i="douyin_web";if(!m.includes(i,"bid"))return i;if(e.config&&e.config.bid)return e.config.bid;if(k&&k._xssBid)return k._xssBid;if(k&&k.slardar&&"function"==typeof k.slardar.config){var n=(k.slardar.config()||{}).bid;if(n)return n}if(k&&k.Slardar&&"function"==typeof k.Slardar.config){var o=(k.Slardar.config()||{}).bid;if(o)return o}return(null===(r=null===(t=null==k?void 0:k.Slardar)||void 0===t?void 0:t._baseParams)||void 0===r?void 0:r.bid)||"argus"},this.getConfigRegion=function(){var t;return m.includes("cn","region")?e.config&&e.config.region?e.config.region:((null===(t=null==k?void 0:k.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[e.getConfigRegion()];if(t)return t+e.getSlardarBid()}}return e.prototype.setConfig=function(e){this.config=e},e.prototype.upload=function(){var e=this,t=this.gerReportUrl();!this.lock&&t&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var r=e.batchData.slice(0,100);e.batchData=e.batchData.slice(100),k.fetch(t,{method:"post",body:JSON.stringify(r),headers:{"Content-Type":"application/json"}}).catch(function(e){}),e.lock=!1,e.upload()},this.timeout))},e.prototype.generateKey=function(e){return e.collectKey?[e.collectMode,e.collectKey].join("___"):""},e.prototype.push=function(e){this.batchData.push(e),this.upload()},e.prototype.report=function(e){var t=this.generateKey(e);if(k.fetch&&e.collectKey){var r="object"==typeof window?window.location.href:"SSR";e.documentUrl=r;var i={age:Math.floor(Date.now()),type:"xss",url:r,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==r||(i.url=t),"SSR"===r&&(i.url="SSR___".concat(i.url),i.body.ssr=!0),this.push(i)}},e}()),C=function(e){for(var t=0,r=function(r){Array.isArray(e[r])?0===e[r].length?delete e[r]:(e[r]=m.from(m.uniq(e[r])),t+=e[r].length):0===m.keys(e[r]).length?delete e[r]:m.keys(e[r]).forEach(function(i){e[r][i]=m.from(m.uniq(e[r][i])),t+=e[r][i].length})},i=0,n=m.keys(e);i0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var n=e.slice(11).replace(/\s/g,"").trim();return!!m.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===n})||(t&&t("javascript:"),!1)}return!0}var R=function(e,t){var r,i,n="<%= isSaveValidUrl =>";if("string"!=typeof e||(i=Number("<%= urlLimit =>"),void 0!==r&&(i=r),"NaN"!==e.toString()&&-1!==i&&e.length>=i)||L(e,t))return e;try{if(!0===(n=JSON.parse(n))||"true"===n){var o=new URL(e);return o.origin+o.pathname}}catch(e){}return"#"};function D(e,t,i){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!L(e=O(e)))return!1;var n,o={url:(n=e.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:n[1],slash:n[2],host:n[3],port:n[4],path:n[5],query:n[6],hash:n[7]},s=o.scheme,a=o.host;return i?!!i(e):!(!s||!a)&&(!m.includes(["http","https","file"],s)||("object"==typeof window&&window&&(t=r(r([],t,!0),[location.host],!1)),m.some(t,function(e){return!!(e instanceof RegExp&&e.test(a))||e===a})))}var N={a:["target","title","spellcheck","rel"],canvas:[],abbr:["title"],address:[],area:["shape","coords","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:["dir"],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["alt","title","width","height","decoding"],ins:["datetime"],li:[],mark:[],nav:[],ol:["start"],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],delete:[],form:[],strong:[],mask:["maskunits","x","y","width","height","fill"],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],wbr:[],video:["autoplay","controls","loop","preload","height","width"],svg:["viewBox","version","xmlns","fill","width","height","stroke","stroke-width","style"],path:["d","fill","opacity","stroke","p-id","fill-rule","clip-rule","stroke-width","stroke-linecap","stroke-linejoin","fill-opacity","mask"],rect:["x","y","width","height","fill","stroke","rx"],g:[]},j={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=C(this.collect),t=e.count,r=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(r),collectMode:"white"}},onIgnoreTagAttr:function(e,t,i){return e&&m.indexOf(["href","src"],t)>-1?j.domainWhiteList&&Array.isArray(j.domainWhiteList)&&j.domainWhiteList.length>0&&!D(i,r([],j.domainWhiteList,!0))?"":"".concat(t,'="').concat(R(i,function(e){var t;null===(t=j.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(m.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(i,'"'):(j.collect.whiteList[e]=j.collect.whiteList[e]||[],void j.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;b(t,function(e,t,r,i){_(P(i).html.replace("/",""),function(e){j.collect.whiteList[r]=j.collect.whiteList[r]||[],j.collect.whiteList[r].push(e)})},p)},whiteList:N,mergeWhiteList:function(e){for(var t,r={},i=0,n=m.keys(N);i");var o=P(i),s=_(o.html,function(e,t){var i,n=0;if(B.blackList[r]&&m.includes(B.blackList[r],e)&&(F.collect.blackList[r]=F.collect.blackList[r]||[],F.collect.blackList[r].push(e),n++),B.blackAttrRegExps.length&&B.blackAttrRegExps.some(function(t){return t.test(e)})&&m.forEach(B.blackAttrRegExps,function(t){t.test(e)&&(F.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),n++)}),B.blackAttrs.length&&m.includes(B.blackAttrs,e)&&(B.blackAttrs.push(e),n++),!n){if(B.filterList&&B.filterList[r]&&m.includes(B.filterList[r],e)){var o=R(t,function(e){var t;null===(t=F.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(F.collect.filterList[r]=F.collect.filterList[r]||[],F.collect.filterList[r].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return B.filterAttrs&&m.includes(B.filterAttrs,e)?((o=R(t,function(e){var t;null===(t=F.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(i=F.collect)||void 0===i||i.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return i="<".concat(r),s&&(i+=" ".concat(s)),o.closing&&(i+=" /"),i+=">"},p);null===(r=F.collect)||void 0===r||r.blackTags.push(e)}},V=function(e){var t=e.reportOnly,r=void 0===t||t,i=e.block;return r&&"all"===r?"report":("string"==typeof r&&("true"===r&&(r=!0),"false"===r&&(r=!1)),i?"enforce":r?"report":"enforce")},W=function(e){return function(r,i,n){if(!r||"string"!=typeof r)return r;var o=i;e===T&&(o=j).initCollect();var s=e(r,o);if(S(s)===S(r))return r;if(!n)return s;var a=n.logType,l=V(n),c=o.removeCollect();return A.report(t(t({type:a,disposition:l},c),{sourceText:w(r),filterText:w(s)})),"enforce"===l?s:r}},H=W(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 E(t).process(e)}),X=W(T),z=function(e,t,r){var i=[],n=R(e,function(e){i.push(e)});if(n===e)return e;i=m.from(m.uniq(i));var o=t||r||{};if(!o)return n;var s=o.logType,a=V(r);return A.report({type:s,disposition:a,collectKey:i.join("___"),collectData:JSON.stringify(i),collectMode:"black",sourceText:w(e),filterText:w(n)}),"enforce"===a?n:e},Y=k._xssProject||{},G=k.xssNamespace||{},J="3.0.26",K={FilterXSS:E,version:J,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:H,_filterXSS:X,filterUrl:z,Config:j,BlackConfig:F,project:Y,setProjectName:function(e){Y[e]=this,k._xssProjectName=e}};G.douyin_web=K,k.xssNamespace=G,k.Math&&!k.Math.xssNamespace&&(k.Math.xssNamespace=G),Y[J]=K,k.globalThis=k,k.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:K},k.xss=K,k.isSafeUrl=D,k.isSafeDomain=D,k.isSafeProtocol=L,k._xssProject=Y,k._xssProjectName&&(Y[k._xssProjectName]=K);var q=K.setProjectName.bind(K);e.BlackConfig=F,e.Config=j,e.FilterXSS=E,e._filterXSS=X,e.filterUrl=z,e.filterXSS=H,e.isSafeDomain=D,e.isSafeProtocol=L,e.isSafeUrl=D,e.project=Y,e.setProjectName=q,e.setXssNamespace=function(e){var t=e.appId,r=e.bid,i=e.region;G[t]=K;j.bid=r,j.region=i,j.enabled=!0},e.xssNamespace=G,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["42288"],{6642:function(e,t,r){"use strict";var i=r(101199),n=r(994298);let o=(0,n.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{d:"M5 12.5c0-.83.67-1.5 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 5 12.5Z",fill:"currentColor"}))},"checkbox_indeterminate");t.Z=o},138806:function(e,t,r){"use strict";var i=r(101199),n=r(994298);let o=(0,n.A)(function(e){return i.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},e),i.createElement("path",{d:"m20.56 9.66-7.8 8.97a1 1 0 0 1-1.51 0L3.44 9.66A1 1 0 0 1 4.19 8h15.62a1 1 0 0 1 .75 1.66Z",fill:"currentColor"}))},"tree_triangle_down");t.Z=o},282802:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],i=t[1];return(r+i)*3/4-i},t.toByteArray=function(e){var t,r,o,s,a=l(e),c=a[0],u=a[1];var d=new n((t=0,(c+(r=u))*3/4-r)),h=0,f=u>0?c-4:c;for(s=0;s>16&255,d[h++]=o>>8&255,d[h++]=255&o;return 2===u&&(o=i[e.charCodeAt(s)]<<2|i[e.charCodeAt(s+1)]>>4,d[h++]=255&o),1===u&&(o=i[e.charCodeAt(s)]<<10|i[e.charCodeAt(s+1)]<<4|i[e.charCodeAt(s+2)]>>2,d[h++]=o>>8&255,d[h++]=255&o),d},t.fromByteArray=function(e){for(var t,i=e.length,n=i%3,o=[],s=0,a=i-n;s>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n])}return s.join("")}(e,s,s+16383>a?a:s+16383));return 1===n?(t=e[i-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===n&&(t=(e[i-2]<<8)+e[i-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),o.join("")};for(var r=[],i=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var i=r===t?0:4-r%4;return[r,i]}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},158920:function(e,t,r){"use strict";var i=r(838025);t.Z={y:function(e,t){var r=e.getUTCFullYear(),n=r>0?r:1-r;return(0,i.Z)("yy"===t?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return"M"===t?String(r+1):(0,i.Z)(r+1,2)},d:function(e,t){return(0,i.Z)(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:function(e,t){return(0,i.Z)(e.getUTCHours()%12||12,t.length)},H:function(e,t){return(0,i.Z)(e.getUTCHours(),t.length)},m:function(e,t){return(0,i.Z)(e.getUTCMinutes(),t.length)},s:function(e,t){return(0,i.Z)(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=Math.floor(e.getUTCMilliseconds()*Math.pow(10,r-3));return(0,i.Z)(n,t.length)}}},226712:function(e,t,r){"use strict";var i=r(866979),n=r(714145),o=r(781954),s=r(660725),a=r(61117),l={code:"zh-CN",formatDistance:i.Z,formatLong:n.Z,formatRelative:o.Z,localize:s.Z,match:a.Z,options:{weekStartsOn:1,firstWeekContainsDate:4}};t.Z=l},852626:function(e,t,r){"use strict";r.d(t,{Z:function(){return S}});var i=r(634771),n=r(69534),o=r(672097),s=r(647566),a=r(726588),l=r(427058),c=r(519879),u=r(731278),d=r(768587),h=r(557094),f=r(144256),p=r(38361),m=r(186707),g=r(588736),v=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,w=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,y=/^'([^]*?)'?$/,b=/''/g,_=/\S/,x=/[a-zA-Z]/;function S(e,t,r,S){(0,f.Z)(3,arguments);var E=String(e),k=String(t),A=(0,g.j)(),C=null!==(N=null!==(j=null==S?void 0:S.locale)&&void 0!==j?j:A.locale)&&void 0!==N?N:o.Z;if(!C.match)throw RangeError("locale must contain match property");var T=(0,h.Z)(null!==(I=null!==(M=null!==(Z=null!==(B=null==S?void 0:S.firstWeekContainsDate)&&void 0!==B?B:null==S?void 0:null===(U=S.locale)||void 0===U?void 0:null===($=U.options)||void 0===$?void 0:$.firstWeekContainsDate)&&void 0!==Z?Z:A.firstWeekContainsDate)&&void 0!==M?M:null===(F=A.locale)||void 0===F?void 0:null===(V=F.options)||void 0===V?void 0:V.firstWeekContainsDate)&&void 0!==I?I:1);if(!(T>=1&&T<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=(0,h.Z)(null!==(W=null!==(H=null!==(X=null!==(z=null==S?void 0:S.weekStartsOn)&&void 0!==z?z:null==S?void 0:null===(Y=S.locale)||void 0===Y?void 0:null===(G=Y.options)||void 0===G?void 0:G.weekStartsOn)&&void 0!==X?X:A.weekStartsOn)&&void 0!==H?H:null===(J=A.locale)||void 0===J?void 0:null===(K=J.options)||void 0===K?void 0:K.weekStartsOn)&&void 0!==W?W:0);if(!(P>=0&&P<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===k)return""===E?(0,a.Z)(r):new Date(NaN);var O={firstWeekContainsDate:T,weekStartsOn:P,locale:C},L=[new p.GT],R=k.match(w).map(function(e){var t=e[0];return t in c.Z?(0,c.Z[t])(e,C.formatLong):e}).join("").match(v),D=[],N,j,I,M,Z,B,U,$,F,V,W,H,X,z,Y,G,J,K,q,Q=(0,n.Z)(R);try{for(Q.s();!(q=Q.n()).done;){var ee=function(){var t=q.value;!(null!=S&&S.useAdditionalWeekYearTokens)&&(0,d.Do)(t)&&(0,d.qp)(t,k,e),!(null!=S&&S.useAdditionalDayOfYearTokens)&&(0,d.Iu)(t)&&(0,d.qp)(t,k,e);var r=t[0],i=m.f[r];if(i){var n=i.incompatibleTokens;if(Array.isArray(n)){var o=D.find(function(e){return n.includes(e.token)||e.token===r});if(o)throw RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===i.incompatibleTokens&&D.length>0)throw RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));D.push({token:r,fullToken:t});var s=i.run(E,t,C.match,O);if(!s)return{v:new Date(NaN)};L.push(s.setter),E=s.rest}else{if(r.match(x))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===t?t="'":"'"===r&&(t=function(e){return e.match(y)[1].replace(b,"'")}(t)),0!==E.indexOf(t))return{v:new Date(NaN)};E=E.slice(t.length)}}();if("object"===(0,i.Z)(ee))return ee.v}}catch(e){Q.e(e)}finally{Q.f()}if(E.length>0&&_.test(E))return new Date(NaN);var et=L.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,r){return r.indexOf(e)===t}).map(function(e){return L.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),er=(0,a.Z)(r);if(isNaN(er.getTime()))return new Date(NaN);var ei=(0,s.Z)(er,(0,u.Z)(er)),en={},eo,es=(0,n.Z)(et);try{for(es.s();!(eo=es.n()).done;){var ea=eo.value;if(!ea.validate(ei,O))return new Date(NaN);var el=ea.set(ei,en,O);Array.isArray(el)?(ei=el[0],(0,l.Z)(en,el[1])):ei=el}}catch(e){es.e(e)}finally{es.f()}return ei}},89894:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.default=function(e,t,i,n){return r[e]},e.exports=t.default},294089:function(e){e.exports=function(e,t){for(var r=-1,i=t.length,n=e.length;++r0)},t.Buffer=function(){try{var e=t.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(e){return null}}(),t._Buffer_from=null,t._Buffer_allocUnsafe=null,t.newBuffer=function(e){return"number"==typeof e?t.Buffer?t._Buffer_allocUnsafe(e):new t.Array(e):t.Buffer?t._Buffer_from(e):"undefined"==typeof Uint8Array?e:new Uint8Array(e)},t.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,t.Long=t.global.dcodeIO&&t.global.dcodeIO.Long||t.global.Long||t.inquire("long"),t.key2Re=/^true|false|0|1$/,t.key32Re=/^-?(?:0|[1-9][0-9]*)$/,t.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,t.longToHash=function(e){return e?t.LongBits.from(e).toHash():t.LongBits.zeroHash},t.longFromHash=function(e,r){var i=t.LongBits.fromHash(e);return t.Long?t.Long.fromBits(i.lo,i.hi,r):i.toNumber(!!r)},t.merge=i,t.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},t.newError=n,t.ProtocolError=n("ProtocolError"),t.oneOfGetter=function(e){for(var t={},r=0;r-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},t.oneOfSetter=function(e){return function(t){for(var r=0;re.replace("${time}",String(t));return i.createElement(l.Z,{componentName:"Calendar",key:`locale-${e}`},r=>{let i=e<12?t(r.AM,e):t(r.PM,e-12);return 12===e&&(i=t(r.PM,e)),i})}}renderTime(){let{className:e}=this.props,t=o()(e,`${d}`),r=[...Array(24).keys()].map(e=>this.formatTime(e));r.splice(0,1,"");let n=r.map((e,t)=>i.createElement("li",{key:`time-${t}`,className:`${d}-item`},i.createElement("span",null,e)));return i.createElement("div",{className:t},i.createElement("ul",{className:`${d}-items`},n))}render(){return this.renderTime()}}h.propTypes={className:a().string,renderTimeDisplay:a().func},h.contextType=c.Z},846321:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}}),r("932651"),r("112459"),r("759943"),r("683656"),r("121926"),r("490629");var i=r("876553"),n=r.n(i),o=r("101199"),s=r("469935"),a=r.n(s),l=r("340184"),c=r("856445");class u extends c.Z{init(){let e=this.getProps(),t=this._adapter.getEditorRef();this.jsonViewer=new l.h(t,e.value,e.options),this.jsonViewer.emitter.on("customRender",e=>{this._adapter.notifyCustomRender(e.customRenderMap)}),this.jsonViewer.layout(),this.jsonViewer.emitter.on("contentChanged",e=>{var t;this._adapter.notifyChange(null===(t=this.jsonViewer)||void 0===t?void 0:t.getModel().getValue()),this.getState("showSearchBar")&&this.search(this._adapter.getSearchRef().value)})}search(e,t,r,i){var n;let o;let{caseSensitive:s,wholeWord:a,regex:l}=o=void 0!==t||void 0!==r||void 0!==i?{caseSensitive:null!=t&&t,wholeWord:null!=r&&r,regex:null!=i&&i}:this.getState("searchOptions");null===(n=this.jsonViewer)||void 0===n||n.getSearchWidget().search(e,s,a,l)}prevSearch(e){var t,r;void 0===e?null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().navigateResults(-1):null===(r=this.jsonViewer)||void 0===r||r.getSearchWidget().navigateResults(-e)}nextSearch(e){var t,r;void 0===e?null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().navigateResults(1):null===(r=this.jsonViewer)||void 0===r||r.getSearchWidget().navigateResults(e)}replace(e){var t;if(!this.getProps().options.readOnly)null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().replace(e)}replaceAll(e){var t;if(!this.getProps().options.readOnly)null===(t=this.jsonViewer)||void 0===t||t.getSearchWidget().replaceAll(e)}setSearchOptions(e){this._adapter.setSearchOptions(e)}showSearchBar(){this._adapter.showSearchBar()}getSearchResults(){var e;return null===(e=this.jsonViewer)||void 0===e?void 0:e.getSearchWidget().searchResults}constructor(e){super(Object.assign(Object.assign({},u),e)),this.jsonViewer=null}}r("286891");var d=r("448175"),h=r("755673"),f=r("9444"),p=r("975044"),m=r("193122"),g=r("191493"),v=r("508372"),w=r("994298");let y=(0,w.A)(function(e){return o.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),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 5c.63 0 1.2.4 1.41.99l4 11A1.5 1.5 0 1 1 10.09 18l-.55-1.51H5.46l-.55 1.51A1.5 1.5 0 1 1 2.09 17l4-11c.22-.6.78-.99 1.41-.99Zm-.95 8.5h1.9l-.95-2.61-.95 2.61Z",fill:"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 3a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Z",fill:"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.99 21a1 1 0 0 1 1-1H21a1 1 0 1 1 0 2H2.99a1 1 0 0 1-1-1Z",fill:"currentColor"}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 5c.83 0 1.5.67 1.5 1.5V10c1.23 0 2.46.34 3.41 1.1 1 .8 1.59 1.98 1.59 3.4s-.6 2.6-1.59 3.4A5.43 5.43 0 0 1 17 19h-2a1 1 0 0 1-1-1V6.5c0-.83.67-1.5 1.5-1.5Zm1.5 8v3c.7 0 1.23-.2 1.54-.45.27-.21.46-.53.46-1.05s-.19-.84-.46-1.06A2.46 2.46 0 0 0 17 13Z",fill:"currentColor"}))},"whole_word");var b=r("151943"),_=r("63793"),x=r("170651"),S=r("877004"),E=r("426337"),k=r("890710"),A=r("209873"),C=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);nt.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};let T=d.U.PREFIX;class P extends E.Z{componentDidMount(){this.foundation.init()}componentDidUpdate(e){(!n()(e.options,this.props.options)||this.props.value!==e.value)&&(this.foundation.jsonViewer.dispose(),this.foundation.init())}get adapter(){return Object.assign(Object.assign({},super.adapter),{getEditorRef:()=>this.editorRef.current,getSearchRef:()=>this.searchInputRef.current,notifyChange:e=>{var t,r;null===(r=(t=this.props).onChange)||void 0===r||r.call(t,e)},notifyHover:(e,t)=>{var r,i;return null===(i=(r=this.props).renderTooltip)||void 0===i?void 0:i.call(r,e,t)},notifyCustomRender:e=>{this.setState({customRenderMap:e})},setSearchOptions:e=>{this.setState({searchOptions:Object.assign(Object.assign({},this.state.searchOptions),{[e]:!this.state.searchOptions[e]})},()=>{this.searchHandler()})},showSearchBar:()=>{this.setState({showSearchBar:!this.state.showSearchBar}),this.setState({searchOptions:{caseSensitive:!1,wholeWord:!1,regex:!1}})}})}getValue(){return this.foundation.jsonViewer.getModel().getValue()}format(){this.foundation.jsonViewer.format()}search(e,t,r,i){this.foundation.search(e,t,r,i)}getSearchResults(){return this.foundation.getSearchResults()}prevSearch(e){this.foundation.prevSearch(e)}nextSearch(e){this.foundation.nextSearch(e)}replace(e){this.foundation.replace(e)}replaceAll(e){this.foundation.replaceAll(e)}getStyle(){let{width:e,height:t}=this.props;return{width:e,height:t}}renderSearchBox(){return o.createElement("div",{className:`${T}-search-bar-container`,style:{position:"absolute",top:20,right:20}},this.renderSearchBar(),this.renderReplaceBar())}renderSearchOptions(){let e=[{key:"caseSensitive",icon:g.Z},{key:"regex",icon:v.Z},{key:"wholeWord",icon:y}];return o.createElement("ul",{className:`${T}-search-options`},e.map(e=>{let{key:t,icon:r}=e;return o.createElement("li",{key:t,className:a()(`${T}-search-options-item`,{[`${T}-search-options-item-active`]:this.state.searchOptions[t]})},o.createElement(r,{onClick:()=>this.changeSearchOptions(t)}))}))}renderSearchBar(){return o.createElement(A.Z,{componentName:"JsonViewer"},(e,t)=>o.createElement("div",{className:`${T}-search-bar`},o.createElement(p.Z,{placeholder:e.search,className:`${T}-search-bar-input`,onChange:(e,t)=>{var r;t.preventDefault(),!this.isComposing&&this.searchHandler(),null===(r=this.searchInputRef.current)||void 0===r||r.focus()},onCompositionStart:()=>{this.isComposing=!0},onCompositionEnd:()=>{var e;this.isComposing=!1,this.searchHandler(),null===(e=this.searchInputRef.current)||void 0===e||e.focus()},ref:this.searchInputRef}),this.renderSearchOptions(),o.createElement(h.Z,null,o.createElement(f.Z,{icon:o.createElement(b.Z,null),onClick:e=>{e.preventDefault(),this.foundation.prevSearch()}}),o.createElement(f.Z,{icon:o.createElement(_.Z,null),onClick:e=>{e.preventDefault(),this.foundation.nextSearch()}})),o.createElement(f.Z,{icon:o.createElement(x.Z,null),size:"small",theme:"borderless",type:"tertiary",onClick:()=>this.foundation.showSearchBar()})))}renderReplaceBar(){let{readOnly:e}=this.props.options;return o.createElement(A.Z,{componentName:"JsonViewer"},(t,r)=>o.createElement("div",{className:`${T}-replace-bar`},o.createElement(p.Z,{placeholder:t.replace,className:`${T}-replace-bar-input`,onChange:(e,t)=>{t.preventDefault()},ref:this.replaceInputRef}),o.createElement(f.Z,{style:{width:"fit-content"},disabled:e,onClick:()=>{var e;let t=null===(e=this.replaceInputRef.current)||void 0===e?void 0:e.value;this.foundation.replace(t)}},t.replace),o.createElement(f.Z,{style:{width:"fit-content"},disabled:e,onClick:()=>{var e;let t=null===(e=this.replaceInputRef.current)||void 0===e?void 0:e.value;this.foundation.replaceAll(t)}},t.replaceAll)))}render(){let e=!1,t=this.props,{width:r,className:i,style:n,showSearch:s=!0}=t,l=C(t,["width","className","style","showSearch"]);return o.createElement(o.Fragment,null,o.createElement("div",Object.assign({style:Object.assign(Object.assign(Object.assign({},this.getStyle()),{position:"relative"}),n),className:i},this.getDataAttr(l)),o.createElement("div",{style:Object.assign(Object.assign({},this.getStyle()),{padding:"12px 0"}),ref:this.editorRef,className:a()(T,`${T}-background`)}),s&&o.createElement(m.Z,{onMouseDown:()=>{e=!1},onMouseMove:()=>{e=!0}},o.createElement("div",{style:{position:"absolute",top:0,left:r}},this.state.showSearchBar?this.renderSearchBox():o.createElement(f.Z,{className:`${T}-search-bar-trigger`,onClick:t=>{if(t.preventDefault(),e){t.stopPropagation(),t.preventDefault();return}this.foundation.showSearchBar()},icon:o.createElement(S.Z,null),style:{position:"absolute",top:20,right:20}})))),Array.from(this.state.customRenderMap.entries()).map(e=>{let[t,r]=e;return(0,k.createPortal)(r,t)}))}constructor(e){super(e),this.isComposing=!1,this.searchHandler=()=>{var e;let t=null===(e=this.searchInputRef.current)||void 0===e?void 0:e.value;this.foundation.search(t)},this.changeSearchOptions=e=>{this.foundation.setSearchOptions(e)},this.editorRef=o.createRef(),this.searchInputRef=o.createRef(),this.replaceInputRef=o.createRef(),this.foundation=new u(this.adapter),this.state={searchOptions:{caseSensitive:!1,wholeWord:!1,regex:!1},showSearchBar:!1,customRenderMap:new Map}}}P.defaultProps={width:400,height:400,value:"",options:{readOnly:!1,autoWrap:!0}};var O=P},119353:function(e,t,r){"use strict";let i=r(101199).createContext("normal");t.Z=i},262126:function(e,t,r){"use strict";r.d(t,{y:function(){return m}});var i=r(480333);r(679308),r(374954),r(490629);var n=r(762462),o=r(933647),s=r(822564),a=r(455195),l=r(487359),c=r(906331),u=r(347862),d=r(125471),h=r(742744),f=r(715784);let p=new l.ZP("BufferService");class m{get baseDts(){var e,t;return null===(t=this._demuxer)||void 0===t?void 0:null===(e=t._fixer)||void 0===e?void 0:e._baseDts}get blobUrl(){var e;return null===(e=this._mse)||void 0===e?void 0:e.url}isFull(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.d1.VIDEO;return this._mse.isFull(e)}seamlessSwitch(){this._needInitSegment=!0,this._discontinuity=!0,this._contiguous=!0,this._initSegmentId=""}unContiguous(e){this._contiguous=!1,this._demuxStartTime=e}async reset(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._mse&&!e&&(await this._mse.unbindMedia(),await this._mse.bindMedia(this.flv.media)),this._seiService.reset(),this._needInitSegment=!0,this._discontinuity=!0,this._contiguous=!1,this._sourceCreated=!1,this._initSegmentId=""}async endOfStream(){this._mse&&this._sourceCreated&&await this._mse.endOfStream()}async updateDuration(e){this._mse&&(!this._mse.isOpened&&await this._mse.open(),p.debug("update duration",e),await this._mse.updateDuration(e))}async destroy(){this._mse&&await this._mse.unbindMedia(),this._seiService.reset(),this._mse=void 0,this._softVideo=null,this._remuxer=void 0}async appendBuffer(e){if(this._cachedBuffer&&(e=(0,a.gJ)(this._cachedBuffer,e),this._cachedBuffer=null),this.flv._opts.awManager&&!this.flv._opts.awManager.inited){this._cachedBuffer=e;return}let t=this._demuxer;if(!e||!e.length||!t)return;try{this.flv._transferCost.start(d.b.DEMUX),t.demuxAndFix(e,this._discontinuity,this._contiguous,this._demuxStartTime),this.flv._transferCost.end(d.b.DEMUX)}catch(t){let e=new u.Fc(u.wb.DEMUX,u.wb.SUB_TYPES.FLV,t,null,"");this.flv._emitError({errorType:e.errorType,code:e.errorCode,message:e.message},!0);return}let{videoTrack:r,audioTrack:i,metadataTrack:n}=t,o=r.exist(),s=i.exist();if(this._opts.onlyAudio&&(o=!1,r.present=!1),this._opts.onlyVideo&&(s=!1,i.present=!1),!o&&r.present||!s&&i.present){let t=0,n=o?r:s?i:void 0;if(n&&n.samples.length&&(t=(n.samples[n.samples.length-1].originPts-n.samples[0].originPts)/n.timescale*1e3),t>this._opts.analyzeDuration)p.warn(`analyze duration exceeded, ${t}ms`,n),r.present=o,i.present=s;else{this._cachedBuffer=e;return}}let l=r.type,c=i.type;this._fireEvents(r,i,n),this._discontinuity=!1,this._contiguous=!0,this._demuxStartTime=0;let h=this._mse,f=`${r.codec}/${r.width}/${r.height}/${i.codec}/${i.config}`;if((f!==this._initSegmentId||r.metaChange)&&(this._needInitSegment=!0,this._initSegmentId=f,this._emitMetaParsedEvent(r,i),r.metaChange=!1),h){let e;this._sourceCreated?this._needInitSegment&&(await h.open(),o&&(p.log(`codec: video/mp4;codecs=${r.codec}`),h.createOrChangeSource(l,`video/mp4;codecs=${r.codec}`))):(await h.open(),o&&(p.log(`codec: video/mp4;codecs=${r.codec}`),h.createSource(l,`video/mp4;codecs=${r.codec}`)),s&&(p.log(`codec: audio/mp4;codecs=${i.codec}`),h.createSource(c,`audio/mp4;codecs=${i.codec}`)),this._sourceCreated=!0);try{this._needInitSegment&&!this._opts.mseLowLatency&&(r.duration=this._opts.durationForMSELowLatencyOff*r.timescale,i.duration=this._opts.durationForMSELowLatencyOff*s.timescale),this.flv._transferCost.start(d.b.REMUX),e=this._remuxer.remux(this._needInitSegment),this.flv._transferCost.end(d.b.REMUX)}catch(e){throw new u.Fc(u.wb.REMUX,u.wb.SUB_TYPES.FMP4,e)}if(this._needInitSegment&&!e.videoInitSegment&&!e.audioInitSegment)return;this._needInitSegment=!1;let t=[];return e.videoInitSegment&&t.push(h.append(l,e.videoInitSegment,void 0)),e.audioInitSegment&&t.push(h.append(c,e.audioInitSegment,void 0)),e.videoSegment&&t.push(h.append(l,e.videoSegment,void 0)),e.audioSegment&&t.push(h.append(c,e.audioSegment,void 0)),this.flv._transferCost.start(d.b.APPEND),Promise.all(t).then(()=>{this.flv._transferCost.end(d.b.APPEND)})}}async evictBuffer(e){let t=this.flv.media;if(!this._mse||!this._demuxer||!t||!e||e<0)return;let r=t.currentTime-e;if(!(r<=0)){if(!(c.l.start(c.l.get(t))+1>=r))return this._mse.clearBuffer(0,r).then(()=>{})}}_emitMetaParsedEvent(e,t){var r;let i=!!(null===(r=this._demuxer)||void 0===r?void 0:r.descryptor);e.exist()&&this.flv._player.emit(h.le.METADATA,{trackType:"video",codec:e.codec,codecHeight:e.width,codecWidth:e.height,presentWidth:e.width,presentHeight:e.height,sarRatio:e.sarRatio,isEncrypted:i}),t.exist(),p.debug("track parsed",e,t)}_fireEvents(e,t,r){r.flvScriptSamples.forEach(e=>{p.debug("flvScriptData",e)}),e.samples.forEach(e=>{e.keyframe&&this.flv._player.emit(h.le.KEYFRAME,{pts:e.originPts})}),r.seiSamples.forEach(e=>{if(e.data.size<10)return;if(this._opts.seiOnDemand){this._seiService.addSample(e);return}let t={code:e.data.type,content:e.data.payload,dts:e.originPts,time:e.time};5===t.code&&(t.uuid=e.data.uuid),this.flv._player.emit(h.le.SEI,t)})}constructor(e,t,r={}){(0,i._)(this,"flv",void 0),(0,i._)(this,"_demuxer",new n.NQ),(0,i._)(this,"_remuxer",void 0),(0,i._)(this,"_mse",void 0),(0,i._)(this,"_softVideo",void 0),(0,i._)(this,"_seiService",void 0),(0,i._)(this,"_sourceCreated",!1),(0,i._)(this,"_needInitSegment",!0),(0,i._)(this,"_discontinuity",!0),(0,i._)(this,"_contiguous",!1),(0,i._)(this,"_initSegmentId",""),(0,i._)(this,"_cachedBuffer",void 0),(0,i._)(this,"_demuxStartTime",0),(0,i._)(this,"_opts",void 0),this.flv=e,this._opts=r,this._seiService=new f.Z(this.flv._player),t?this._softVideo=null:(this._demuxer._awManager=e._opts.awManager,this._remuxer=new o.N(this._demuxer.videoTrack,this._demuxer.audioTrack,{}),this._mse=new s.d1(e.media,{preferMMS:!1}),this._mse.bindMedia(e.media))}}},917648:function(e,t,r){"use strict";r.d(t,{g:function(){return f}});var i=r(480333),n=r(629686),o=r(402748);r(104882);var s=r(455195),a=r(289982),l=r(487359),c=r(933647),u=r(86578),d=r(500264);let h=new l.ZP("Transmuxer");class f{transmux(e,t,r,i,l,c){let u=this._demuxer;try{u.demuxAndFix((0,s.gJ)(e,t),r,i,l)}catch(e){throw new a.Fc("demux","HLS",e)}let{videoTrack:h,audioTrack:f,metadataTrack:p}=u,m={codec:h.codec,timescale:h.timescale,firstDts:h.firstDts/h.timescale,firstPts:h.firstPts/h.timescale,duration:h.samplesDuration/h.timescale},g={codec:f.codec,timescale:f.timescale,firstDts:f.firstDts/h.timescale,firstPts:f.firstPts/h.timescale,duration:f.samplesDuration/h.timescale,container:f.container},v=`${h.codec}/${h.width}/${h.height}/${f.codec}/${f.config}`;if(v!==this._initSegmentId&&(this._initSegmentId=v,c=!0),this._fireEvents(h,f,p,r||c),this.hls.emit(d.j.DEMUXED_TRACK,{videoTrack:h,audioTrack:f}),!this._remuxer)return[h,f];c&&this.hls.isLive&&!this.hls.config.mseLowLatency&&(h.duration=this.hls.totalDuration*h.timescale,f.duration=this.hls.totalDuration*f.timescale);try{let{videoInitSegment:e,videoSegment:t,audioInitSegment:r,audioSegment:i}=this._remuxer.remux(c),a=(0,s.gJ)(e,t),l=(0,s.gJ)(r,i);return[a?(0,o._)((0,n._)({},m),{data:a}):void 0,l?(0,o._)((0,n._)({},g),{data:l}):void 0]}catch(e){throw new a.Fc("remux","FMP4",e)}}_fireEvents(e,t,r,i){let s=`discontinuity: ${i}`;[e,t].forEach(e=>{var t;(null===(t=e.samples)||void 0===t?void 0:t.length)&&(s+=`; ${e.samples.length} ${e.type===u.Vc.VIDEO?"video":"audio"} samples, firstDts/firstPts/duration: ${(e.firstDts/e.timescale).toFixed(3)}/${(e.firstPts/e.timescale).toFixed(3)}/${(e.samplesDuration/e.timescale).toFixed(3)}`),i&&e.exist()&&this.hls.emit(d.j.METADATA_PARSED,{type:e.type,track:e,meta:(0,n._)({codec:e.codec,timescale:e.timescale,baseDts:e.baseDts},e.type===u.Vc.VIDEO?{width:e.width,height:e.height,sarRatio:e.sarRatio}:{codec:e.codec,channelCount:e.channelCount,sampleRate:e.sampleRate})})}),h.debug(s),e.warnings.forEach(e=>{let t;switch(e.type){case u.Bc.LARGE_AV_SHIFT:t=d.j.LARGE_AV_FIRST_FRAME_GAP_DETECT;break;case u.Bc.LARGE_VIDEO_GAP:t=d.j.LARGE_VIDEO_DTS_GAP_DETECT;break;case u.Bc.LARGE_VIDEO_GAP_BETWEEN_CHUNK:t=d.j.MAX_DTS_DELTA_WITH_NEXT_SEGMENT_DETECT}t&&this.hls.emit(d.j.STREAM_EXCEPTION,(0,o._)((0,n._)({},e),{type:t})),h.warn("video exception",e)}),t.warnings.forEach(e=>{let t;switch(e.type){case u.Bc.LARGE_AUDIO_GAP:t=d.j.LARGE_AUDIO_DTS_GAP_DETECT;break;case u.Bc.AUDIO_FILLED:t=d.j.AUDIO_GAP_DETECT;break;case u.Bc.AUDIO_DROPPED:t=d.j.AUDIO_OVERLAP_DETECT}t&&this.hls.emit(d.j.STREAM_EXCEPTION,(0,o._)((0,n._)({},e),{type:t})),h.warn("audio exception",e)}),e.samples.forEach(e=>{e.keyframe&&this.hls.emit(d.j.KEYFRAME,{pts:e.pts})}),r.seiSamples.forEach(e=>{this.hls.emit(d.j.SEI,(0,o._)((0,n._)({},e),{originPts:e.originPts/90,sei:{code:e.data.type,content:e.data.payload,dts:e.pts}}))})}constructor(e,t,r,n){(0,i._)(this,"_initSegmentId",""),this.hls=e,this._demuxer=new u.ht(null,null,null,n),this._isMP4=t,r&&(this._remuxer=new c.N(this._demuxer.videoTrack,this._demuxer.audioTrack))}}},906331:function(e,t,r){"use strict";r.d(t,{l:function(){return i}}),r(374954),r(591964);class i{static start(e){return!e||!e.length||1===e.length&&e.end(0)-e.start(0)<1e-6||1===e.length&&0>e.start(0)?0:e.start(0)}static end(e){return!e||!e.length||1===e.length&&e.end(0)-e.start(0)<1e-6?0:e.end(e.length-1)}static get(e){if(e)try{return e.buffered}catch(e){}}static buffers(e,t){if(!e||!e.length)return[];let r=[];for(let i=0,n=e.length;is&&(o[1]=t)}else r.push([e.start(i),e.end(i)])}else r.push([e.start(i),e.end(i)])}return r}static totalLength(e){return e&&e.length?e.reduce((e,t)=>e+=t[1]-t[0],0):0}static info(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||!e.length)return{start:0,end:0,buffers:[]};let n=0,o=0,s=0,a=0,l=0,c=0,u=0,d=i.buffers(e,r);for(let e=0,i=d.length;e=i[0]&&t<=i[1])n=i[0],o=i[1],s=e;else if(t+ri[1]&&(c=i[0],u=i[1])}return{start:n,end:o,index:s,buffers:d,nextStart:a,nextEnd:l,prevStart:c,prevEnd:u,currentTime:t,behind:t-n,remaining:o?o-t:0,length:i.totalLength&&i.totalLength(d)}}static isBuffered(e,t){if(e){let r=i.get(e);if(null==r?void 0:r.length){for(let e=0;e=r.start(e)&&t<=r.end(e))return!0}}return!1}}},547227:function(e,t,r){"use strict";r.d(t,{Qu:function(){return m},lS:function(){return g}});var i=r(629686),n=r(402748);r(490629),r(228983),r(759943),r(683656),r(362051);var o=r(549816),s=r(274402),a=r(870466),l=r(990958),c=r(235226),u=r(487359),d=r(487792);let h=new u.ZP("RtmPreload"),f=new Map,p="answer sdp has no audio",m=function(e,t){var r;let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{isPreload:c=!0,preferredSampleRate:u}=l,m=!!(null===(r=t.ab)||void 0===r?void 0:r.enable_aac_codecs);h.log("loadRTM",`{ loadTime: ${t.loadTimeout}, isPreload: ${c}, preferredSampleRate: ${u} }, enableAACCodecs: ${m}`);let v=d.K.startSession(e);!c&&d.K.mark(e,"playStart");let w=u||48e3,y=!1,b=new o.Z(o.t.RTM_NOT_SUPPORTED,"loadRTM aborted"),_={pc:new RTCPeerConnection((0,i._)({encodedInsertableStreams:!0},m?{enableAACDecode:!0}:{})),fetchLoader:new a.FetchLoader,url:e},x=g((0,n._)((0,i._)({},_),{aacSampleRate:w}),t).catch(r=>{if(y)throw b;if((null==r?void 0:r.message)===p){var o;let a=44100===w?48e3:44100;if(h.log(`get answer sdp ${w} error, fallback to ${a}`,r),null===(o=_.pc)||void 0===o||o.close(),_.pc=new RTCPeerConnection((0,i._)({encodedInsertableStreams:!0},m?{enableAACDecode:!0}:{})),y)throw _.pc.close(),b;let l=(0,s.zN)(e)._session_id;return g((0,n._)((0,i._)({},_),{url:l?e.replace(l,`${l}-${a/100}`):e,aacSampleRate:a}),t)}throw r}).then(e=>{if(y)throw e.peer.close(),b;return e});return{url:e,timingInstanceId:v,preloadPromise:x,cancel:()=>{if(y)return;y=!0,h.log("cancel preloadRTM");let t=e.split("?")[0];f.delete(t),_.pc.close(),_.fetchLoader.cancel()}}},g=async(e,t)=>{var r,i,n,a,u,f,m;let g,{url:v,aacSampleRate:w,pc:y,fetchLoader:b}=e,_="1"===(0,s.zN)(v).only_audio,x=y.addTransceiver("audio",{direction:"recvonly"});!_&&(g=y.addTransceiver("video",{direction:"recvonly"})),d.K.mark(v,"createOfferStart");let S=await y.createOffer();if(d.K.mark(v,"createOfferEnd"),!S.sdp)throw new o.Z(o.t.RTM_NOT_SUPPORTED,"offer sdp is empty");d.K.mark(v,"setLocalStart"),await y.setLocalDescription({type:"offer",sdp:S.sdp}),d.K.mark(v,"setLocalEnd");let E=new c.$F,k=/_?session_id=([^&$]+)/.exec(v),A=k?k[1]:Date.now()+"",C=(0,s.v7)();h.log("fastSync check — ab.enable_fast_sync:",null===(r=t.ab)||void 0===r?void 0:r.enable_fast_sync,"hdrExtSupported:",C);let T=E.genOfferSdp(S.sdp,w,!!(null===(i=t.ab)||void 0===i?void 0:i.enable_fast_sync)&&C);d.K.mark(v,"httpStart");let P=await b.load({url:v,method:"POST",headers:{"Content-Type":"application/json"},responseType:l.UN.JSON,body:JSON.stringify({sessionId:A,version:"1.0-html",localSdp:{type:"offer",sdp:T}}),timeout:t.loadTimeout,retry:t.retryCount,retryDelay:t.retryDelay}).catch(e=>{var t,r;throw new o.Z(o.t.NETWORK,`http code ${null==e?void 0:null===(t=e.response)||void 0===t?void 0:t.status}(${(null==e?void 0:null===(r=e.response)||void 0===r?void 0:r.statusText)||e.message})`)});if(d.K.mark(v,"httpEnd"),(null==P?void 0:null===(n=P.data)||void 0===n?void 0:n.code)!==200||"string"!=typeof(null==P?void 0:null===(u=P.data)||void 0===u?void 0:null===(a=u.remoteSdp)||void 0===a?void 0:a.sdp))throw new o.Z(o.t.NETWORK,`code: ${null==P?void 0:null===(f=P.data)||void 0===f?void 0:f.code}, message:${null==P?void 0:null===(m=P.data)||void 0===m?void 0:m.message}`);try{(0,c.kB)(T,P.data.remoteSdp.sdp)}catch(e){throw new o.Z(o.t.RTM_NOT_SUPPORTED,e.message)}let O=E.parseAnswerSdp(P.data.remoteSdp.sdp);if(!E.hasAudio)throw new o.Z(o.t.RTM_NOT_SUPPORTED,p);if(!_&&!E.hasVideo)throw new o.Z(o.t.RTM_NOT_SUPPORTED,"answer sdp has no video");return{peer:y,url:v,audioTransceicer:x,videoTransceicer:g,response:P.response,sdp:O,videoPayloadMap:E.videoPayloadMap,audioPayloadMap:E.audioPayloadMap,aacSampleRate:w,hasNativeAAC:E.hasNativeAAC,fastSyncNegotiated:E.fastSyncNegotiated}}},53803:function(e,t,r){"use strict";r.d(t,{OG:function(){return o},gX:function(){return n},j2:function(){return s}});var i=r(707852);let n={PREFIX:`${i.T}-checkbox`,INNER:`${i.T}-checkbox-inner`,TEXT:`${i.T}-checkbox-text`,INPUT:`${i.T}-checkbox-input`,CHECKED:`${i.T}-checkbox-checked`,DISABLED:`${i.T}-checkbox-disabled`,BUTTON:`${i.T}-checkbox-button`,WRAPPER:""},o={PREFIX:`${i.T}-checkboxGroup`,INNER:`${i.T}-checkboxGroup-inner`,TEXT:`${i.T}-checkboxGroup-text`,INPUT:`${i.T}-checkboxGroup-input`,CHECKED:`${i.T}-checkboxGroup-checked`,DISABLED:`${i.T}-checkboxGroup-disabled`},s={DIRECTION_SET:["horizontal","vertical"],TYPE_DEFAULT:"default",TYPE_CARD:"card",TYPE_PURECARD:"pureCard",DEFAULT_DIRECTION:"vertical"}},318330:function(e,t,r){"use strict";r.d(t,{KT:function(){return l},UX:function(){return s},j2:function(){return a}});var i=r(707852);let n="horizontal",o="vertical",s={PREFIX:`${i.T}-navigation`},a={MODE:[o,n],MODE_VERTICAL:o,MODE_HORIZONTAL:n,ICON_POS_LEFT:"left",ICON_POS_RIGHT:"right",DEFAULT_LOGO_ICON_SIZE:"extra-large",TOGGLE_ICON_LEFT:"left",TOGGLE_ICON_RIGHT:"right"},l={DEFAULT_SUBNAV_MAX_HEIGHT:999,DEFAULT_TOOLTIP_SHOW_DELAY:0,DEFAULT_TOOLTIP_HIDE_DELAY:100,DEFAULT_SUBNAV_OPEN_DELAY:0,DEFAULT_SUBNAV_CLOSE_DELAY:100}},331609:function(e,t,r){"use strict";r.d(t,{Z:function(){return o},_:function(){return s}}),r(706056),r(490629),r(932651);var i=r(856445),n=r(182811);class o extends i.Z{init(){let{autoFocus:e,disabled:t}=this.getProps();e&&!t&&this._adapter.focus()}_getScroll(e,t){let r=t?e.pageYOffset:e.pageXOffset,i=t?"scrollTop":"scrollLeft";if("number"!=typeof r){let t=e.document;"number"!=typeof(r=t.documentElement[i])&&(r=t.body[i])}return r}_getClientPosition(e){let t,r;let i=e.ownerDocument,{body:n}=i,o=i&&i.documentElement,s=e.getBoundingClientRect();return t=s.left,r=s.top,t-=o.clientLeft||n.clientLeft||0,{left:t,top:r-=o.clientTop||n.clientTop||0}}_getOffsetLeft(e){let t=this._getClientPosition(e),r=e.ownerDocument,i=r.defaultView||r.parentWindow;return t.left+=this._getScroll(i),t.left}getStarValue(e,t){let{allowHalf:r}=this.getProps(),i="rtl"===this._adapter.getContext("direction"),n=e+1;if(r){let r=this._adapter.getStarDOM(e),o=this._getOffsetLeft(r),s=r.clientWidth;i&&t-o>s/2?n-=.5:!i&&t-oo?0:r<0?o:r,["ArrowRight","ArrowUp","ArrowLeft","ArrowDown"].includes(n)&&(this._adapter.notifyKeyDown(e),this._adapter.updateValue(i),this.changeFocusStar(i,e),e.preventDefault(),this._adapter.notifyHoverChange(void 0,null))}changeFocusStar(e,t){let{count:r,allowHalf:i,preventScroll:n}=this.getProps(),o=Math.ceil(e)-1,s=[...t.currentTarget.childNodes].map(e=>e.childNodes[0].childNodes);o<0?s[r][0].focus({preventScroll:n}):s[o][i?10*e%10==5?0:1:0].focus({preventScroll:n})}constructor(e){super(Object.assign(Object.assign({},o.defaultAdapter),e)),this.handleStarFocusVisible=e=>{let{target:t}=e,{count:r}=this.getProps();try{t.matches(":focus-visible")&&this._adapter.setEmptyStarFocusVisible(!0)}catch(e){(0,n.Z)(!0,"Warning: [Semi Rating] The current browser does not support the focus-visible")}},this.handleStarBlur=e=>{let{emptyStarFocusVisible:t}=this.getStates();t&&this._adapter.setEmptyStarFocusVisible(!1)}}}class s extends i.Z{constructor(e){super(Object.assign(Object.assign({},s.defaultAdapter),e)),this.handleFocusVisible=(e,t)=>{let{target:r}=e;try{r.matches(":focus-visible")&&("first"===t?this._adapter.setFirstStarFocus(!0):this._adapter.setSecondStarFocus(!0))}catch(e){(0,n.Z)(!0,"Warning: [Semi Rating] The current browser does not support the focus-visible")}},this.handleBlur=(e,t)=>{let{firstStarFocus:r,secondStarFocus:i}=this.getStates();"first"===t?r&&this._adapter.setFirstStarFocus(!1):i&&this._adapter.setSecondStarFocus(!1)}}}},878255:function(e,t,r){"use strict";r.d(t,{c:function(){return o}}),r(490629);var i=r(640525),n=r.n(i);function o(e,t){if(e===t)t=new Set(t);if(n()(e)&&e.size&&n()(t)&&t.size)for(let r of t)e.has(r)&&e.delete(r);return e}},705998:function(e,t,r){"use strict";r.d(t,{DM:function(){return o},K7:function(){return s},rf:function(){return n}}),r(490629);var i=r(101199);let n=(e,t)=>{let r=(0,i.useRef)(!1);(0,i.useEffect)(()=>r.current?e():(r.current=!0,()=>{}),t)};function o(e){let t=(0,i.useRef)(e);return t.current=e,(0,i.useCallback)(function(){for(var e,r=arguments.length,i=Array(r),n=0;n{(0,i.useEffect)(()=>{if(!t)return;let r=r=>{let{tagName:i,contentEditable:n}=r.target;if("INPUT"!==i&&"TEXTAREA"!==i&&"true"!==n)r.code===t&&e(r)};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[t,e])}},457108:function(e,t,r){"use strict";r(679308),Promise.all([r.e("23634"),r.e("21133"),r.e("48970")]).then(r.bind(r,924843))},536688:function(e,t,r){"use strict";r(679308),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,522573)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,735608)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,825710)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,671195)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,66425)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,787831)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,595980)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,619619)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,138440)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,915669)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,571508)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,869275)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,26604)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,415134)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,945173)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,621401)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,695755)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,526317)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,530266)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,586441)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,983190)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,304495)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,310443)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,105345)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,180388)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,766903)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,364759)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,631214)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,24913)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,893933)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,140939)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,524491)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,315659)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,51600)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,522030)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,865525)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,593870)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,130289)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,497409)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,631056)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,588386)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,93458)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,225479)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,769591)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,124653)),Promise.all([r.e("98636"),r.e("83731"),r.e("44629"),r.e("9586"),r.e("24819"),r.e("58510")]).then(r.bind(r,605527))},319135:function(e,t,r){"use strict";let i,n,o,s,a,l;r.d(t,{R_:function(){return b},en:function(){return v}});let{stringify:c}=JSON;if(!String.prototype.repeat)throw Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");let u={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},d={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function h(e,t){let{generator:r}=e;if(e.write("("),null!=t&&t.length>0){r[t[0].type](t[0],e);let{length:i}=t;for(let n=1;n0){e.write(i);for(let t=1;t0){r.VariableDeclarator(i[0],e);for(let t=1;t0){t.write(i),n&&null!=e.comments&&m(t,e.comments,o,i);let{length:a}=s;for(let e=0;e0){for(;o0&&t.write(", ");let e=r[o],i=e.type[6];if("D"===i)t.write(e.local.name,e),o++;else if("N"===i)t.write("* as "+e.local.name,e),o++;else break}if(o0){t.write(" with { ");for(let e=0;e0)for(let e=0;;){let n=r[e],{name:o}=n.local;if(t.write(o,n),o!==n.exported.name&&t.write(" as "+n.exported.name),++e0){t.write(" with { ");for(let r=0;r0){t.write(" with { ");for(let r=0;r "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:o=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:o,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),p(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:r,expressions:i}=e;t.write("`");let{length:n}=i;for(let e=0;e0){let{elements:r}=e,{length:i}=r;for(let e=0;;){let n=r[e];if(null!=n&&this[n.type](n,t),++e0){t.write(i),n&&null!=e.comments&&m(t,e.comments,o,i);let s=","+i,{properties:a}=e,{length:l}=a;for(let e=0;;){let r=a[e];if(n&&null!=r.comments&&m(t,r.comments,o,i),t.write(o),this[r.type](r,t),++e0){let{properties:r}=e,{length:i}=r;for(let e=0;;)if(this[r[e].type](r[e],t),++e1||"U"===n[0]&&("n"===n[1]||"p"===n[1])&&i.prefix&&i.operator[0]===r&&("+"===r||"-"===r))&&t.write(" "),o?(t.write(r.length>1?" (":"("),this[n](i,t),t.write(")")):this[n](i,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:s=function(e,t){let r="in"===e.operator;r&&t.write("("),p(t,e.left,e,!1),t.write(" "+e.operator+" "),p(t,e.right,e,!0),r&&t.write(")")},LogicalExpression:s,ConditionalExpression(e,t){let{test:r}=e,i=t.expressionsPrecedence[r.type];17===i||i<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[r.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let r=t.expressionsPrecedence[e.callee.type];17===r||r0&&(this.lineEndSize>0&&(1===i.length?e[r-1]===i:e.endsWith(i))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}}function b(e,t){let r=new y(t);return r.generator[e.type](e,r),r.output}},728927:function(e,t,r){"use strict";function i(e,t){let r=String(e.value||"");if(r){let i={type:"Literal",value:r};t.inherit(e,i);let n={type:"JSXExpressionContainer",expression:i};return t.patch(e,n),n}}r.d(t,{f:function(){return i}})},480650:function(e,t,r){"use strict";function i(e,t){let r=String(e),i=r.indexOf(t),n=i,o=0,s=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==i;)i===n?++o>s&&(s=o):o=1,n=i+t.length,i=r.indexOf(t,n);return s}r.d(t,{J:function(){return i}})},243231:function(e,t,r){"use strict";r.d(t,{$:function(){return s},t:function(){return a}});var i=r(735939),n=r(465838),o=r(600687);function s(){return[(0,i.T)(),(0,n.X)(),(0,o.V)()]}function a(e){return{extensions:[(0,i.n)(),(0,n.q)(e),(0,o.U)()]}}},246941:function(e,t,r){"use strict";function i(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}r.d(t,{K:function(){return i}})},984015:function(e,t,r){"use strict";r.d(t,{K:function(){return n}});var i=r(343894);function n(e,t){let r=e.all(t),n=r.shift(),o=[];if(n){let r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),o.push(r)}if(r.length>0){let n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},s=(0,i.Pk)(t.children[1]),a=(0,i.rb)(t.children[t.children.length-1]);s&&a&&(n.position={start:s,end:a}),o.push(n)}let s={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,s),e.applyData(t,s)}},713313:function(e,t,r){"use strict";r.d(t,{T:function(){return n}});var i=r(419416);function n(e,t,r){let n=(0,i.r)(e),o=(0,i.r)(t);return void 0===n?void 0===o?"_"===r?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===n?void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===o?{inside:!1,outside:!1}:1===o?{inside:!0,outside:!1}:{inside:!1,outside:!1}}},34159:function(e,t,r){"use strict";r.d(t,{o:function(){return n}});var i=r(587957);function n(e,t){let r=(0,i.B)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}},872072:function(e,t,r){"use strict";r.d(t,{F:function(){return i}});let i={name:"labelStartLink",resolveAll:r(473818).Z.resolveAll,tokenize:function(e,t,r){let i=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),n};function n(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?r(e):t(e)}}}},506887:function(e,t,r){"use strict";r.d(t,{z:function(){return s}});var i=r(629686),n=r(811603);r(490629);var o=r(368229);let s=new class e{mark(e,t){try{if((0,o.g)())return this.tags.add(e),window.performance.mark(e,t)}catch(e){}return null}markStart(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{once:!1,detail:{entryType:"custom"}};var{once:r=!1,detail:s={entryType:"custom"}}=t,a=(0,n._)(t,["once","detail"]);try{let{entryType:t}=s,{startMark:n}=(0,o.e)(e,{entryType:t}),l=(0,i._)({once:r,detail:s},a);return r?this.markOnce(n,l):this.mark(n,l)}catch(e){}return null}markEnd(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{once:!1,detail:{entryType:"custom"}};var{once:r=!1,detail:s={entryType:"custom"}}=t,a=(0,n._)(t,["once","detail"]);try{let{entryType:t}=s,n=(0,i._)({once:r,detail:s},a),{endMark:l,startMark:c,durationMark:u}=(0,o.e)(e,{entryType:t}),d=r?this.markOnce(l,n):this.mark(l,n);return d&&(this.tags.add(u),window.performance.measure(u,{start:c,end:l,detail:s})),d}catch(e){}return null}markOnce(e,t){if(!this.tags.has(e))return this.mark(e,t)}takeRecords(){try{if((0,o.g)()){let e=window.performance.getEntriesByType("mark"),t=window.performance.getEntriesByType("measure");return[...e,...t].filter(e=>this.tags.has(e.name))}}catch(e){}return[]}constructor(){this.tags=new Set}}},398206:function(e,t,r){"use strict";r.r(t),r.d(t,{NotFoundPage:function(){return d}}),r(302356),r(759943),r(320165),r(101199);var i=r(411343),n=r(406848),o=r(440755);let s=()=>`

404

Available routes

Looks like not found.

    list
`,a=/(?:[a-zA-Z]:\\|\/).*?:\d+:\d+/g,{HTMLElement:l=class{}}=globalThis;class c extends l{html(e,t){this.root.querySelector(e).innerHTML=t}text(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.root.querySelector(e);if(r){let e,r=0;for(a.lastIndex=0;e=a.exec(t);){let{0:n,index:o}=e;if(null!=o){let e=t.slice(r,o);i.appendChild(document.createTextNode(e));let s=document.createElement("a");s.textContent=n,s.className="file-link",i.appendChild(s),r+=e.length+n.length}}}else i.textContent=t}close(){var e;null===(e=this.parentNode)||void 0===e||e.removeChild(this)}constructor(e,t){super(),this.root=this.attachShadow({mode:"open"}),this.root.innerHTML=s();let r=(0,o.u)((0,i.f)(e),"path").map(e=>{var t;return`
  • ${(0,i.j)(n.EZ,null!==(t=e.path)&&void 0!==t?t:"")}
  • `});this.html(".routes",r.join("\n")),this.text(".pathname",t),this.root.querySelector(".notfound").addEventListener("click",e=>{e.stopPropagation()}),this.addEventListener("click",()=>{this.close()})}}let u="pace-not-found",d=e=>null},566928:function(e,t,r){"use strict";r.d(t,{M:function(){return o},d:function(){return s}});var i=r(654481),n=r(392625);function o(e,t){let{file:r,options:o}=(0,i.r)(e,t);return(0,n.A)(o).process(r)}function s(e,t){let{file:r,options:o}=(0,i.r)(e,t);return(0,n.A)(o).processSync(r)}},32879:function(e,t,r){"use strict";r.d(t,{E:function(){return o}}),r(932651);var i=r(324219),n=r(223981);class o extends i.XY{compute(e,t){let r;let{cfg:n}=this,o=n.hasher.create(),s=i.Ic.create(),a=s.words,{keySize:l,iterations:c}=n;for(;a.length