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

2 lines
91 KiB
Plaintext

/*! For license information please see 75422.bbab0519.js.LICENSE.txt */
!function(e,t){"object"==typeof module&&"object"==typeof module.exports?t():"function"==typeof define&&define.amd?define([],t):(e="undefined"!=typeof globalThis?globalThis:e||self)&&t()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).xss={})}(this,function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var r=/[^a-zA-Z0-9\\_:.-]/gim,i=/</g,o=/>/g,u=/&#([a-zA-Z0-9]*);?/gim,a=/&quot;/g,c=/&colon;?/gim,l=/&newline;?/gim,s=/((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,f=/u\s*r\s*l\s*\(.*/gi,p=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,d=/"/g,h=function(e){return e.replace(i,"&lt;").replace(o,"&gt;")},m={indexOf:function(e,t){var n,r;for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1},forEach:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},some:function(e,t,n){var r,i;for(r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return!0;return!1},trim:function(e){return e.replace(/(^\s*)|(\s*$)/g,"")},includes:function(e,t){if("string"==typeof e)return -1!==e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1},uniq:function(e){for(var t={},n=[],r=0;r<e.length;r++)t[e[r]]||(n.push(e[r]),t[e[r]]=!0);return n},from:function(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n]);return t},keys:function(e){var t=[];for(var n in e)t.push(n);return t}};function g(e){return null==e}function y(e){var t;return'"'===(t=e)[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]?e.substr(1,e.length-2):e}function v(e){var t,n,r,i,o,u,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",s=0;for(e=function(e){e=e.replace(/rn/g,"n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?t+=String.fromCharCode(r>>6|192)+String.fromCharCode(63&r|128):t+=String.fromCharCode(r>>12|224)+String.fromCharCode(r>>6&63|128)+String.fromCharCode(63&r|128)}return t}(e);s<e.length;)i=(t=e.charCodeAt(s++))>>2,o=(3&t)<<4|(n=e.charCodeAt(s++))>>4,u=(15&n)<<2|(r=e.charCodeAt(s++))>>6,a=63&r,isNaN(n)?u=a=64:isNaN(r)&&(a=64),l=l+c.charAt(i)+c.charAt(o)+c.charAt(u)+c.charAt(a);return l}function b(e){var t,n,r,i,o,u,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(i=a.indexOf(e.charAt(l++)))>>4,n=(15&i)<<4|(o=a.indexOf(e.charAt(l++)))>>2,r=(3&o)<<6|(u=a.indexOf(e.charAt(l++))),c+=String.fromCharCode(t),64!==o&&(c+=String.fromCharCode(n)),64!==u&&(c+=String.fromCharCode(r));return function(e){for(var t="",n=0,r=0,i=0,o=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(t+=String.fromCharCode((31&r)<<6|63&(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}(c)}function D(e,t,n){var r="",i=0,o=!1,u=!1,a=0,c=e.length,l="",s="";e:for(a=0;a<c;a++){var f=e.charAt(a);if(!1===o){if("<"===f){o=a;continue}}else if(!1===u){if("<"===f){r+=n(e.slice(i,a)),o=a,i=a;continue}if(">"===f||a===c-1){r+=n(e.slice(i,o)),l=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}(s=e.slice(o,a+1)),r+=t(o,r.length,l,s,"</"===s.slice(0,2)),i=a+1,o=!1;continue}if('"'===f||"'"===f)for(var p=1,d=e.charAt(a-p);""===d.trim()||"="===d;){if("="===d){u=f;continue e}d=e.charAt(a-++p)}}else if(f===u){u=!1;continue}}return i<c&&(r+=n(e.substr(i))),r}function F(e,t){var n=0,i=0,o=[],u=!1,a=e.length;function c(e,n){if(!((e=(e=m.trim(e)).replace(r,"").toLowerCase()).length<1)){var i=t(e,n||"");i&&o.push(i)}}for(var l=0;l<a;l++){var s=e.charAt(l),f=void 0;if(!1!==u||"="!==s){if(!1===u||l!==i){if(/\s|\n|\t/.test(s)){if(e=e.replace(/\s|\n|\t/g," "),!1===u){if(-1===(f=function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,l))){c(m.trim(e.slice(n,l))),u=!1,n=l+1;continue}l=f-1;continue}if(-1===(f=function(e,t){for(;t>0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}return -1}(e,l-1))){c(u,y(m.trim(e.slice(n,l)))),u=!1,n=l+1;continue}}}else{if(-1===(f=e.indexOf(s,l+1)))break;c(u,m.trim(e.slice(i+1,f))),u=!1,n=(l=f)+1}}else u=e.slice(n,l),n=l+1,i='"'===e.charAt(n)||"'"===e.charAt(n)?n:function(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"'"===n||'"'===n?t:-1}return -1}(e,l+1)}return n<e.length&&(!1===u?c(e.slice(n)):c(u,y(m.trim(e.slice(n))))),m.trim(o.join(" "))}function E(e,t,n){if(n=function(e){return e=function(e){for(var t="",n=0,r=e.length;n<r;n++)t+=32>e.charCodeAt(n)?" ":e.charAt(n);return m.trim(t)}(e=(e=(e=e.replace(a,'"')).replace(u,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})).replace(c,":").replace(l," "))}(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(s.lastIndex=0,s.test(n))return""}else if("style"===t&&(p.lastIndex=0,p.test(n)||(f.lastIndex=0,f.test(n)&&(s.lastIndex=0,s.test(n)))))return"";return n=function(e){return e=h(e=e.replace(d,"&quot;"))}(n)}var C=function(e){return"string"==typeof e?e.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},x=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=E,t.escapeHtml=h,this.options=Object.assign(t,e)}return e.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t,n,r,i,o,u,a=this.options,c=a.whiteList,l=a.onTag,s=a.onIgnoreTag,f=a.onTagAttr,p=a.onIgnoreTagAttr,d=a.safeAttrValue,h=a.escapeHtml;a.stripBlankChar&&(e=(t=(t=e.split("")).filter(function(e){var t=e.charCodeAt(0);return!(127===t||t<=31&&10!==t&&13!==t)})).join("")),a.allowCommentTag||(e=function(e){for(var t="",n=0;n<e.length;){var r=e.indexOf("\x3c!--",n);if(-1===r){t+=e.slice(n);break}t+=e.slice(n,r);var i=e.indexOf("--\x3e",r);if(-1===i)break;n=i+3}return t}(e));var g=!1;a.stripIgnoreTagBody&&(n=a.stripIgnoreTagBody,"function"!=typeof(r=s)&&(r=function(){}),i=!Array.isArray(n),o=[],u=!1,s=(g={onIgnoreTag:function(e,t,a){var c;if(c=e,i||-1!==m.indexOf(n,c)){if(a.isClosing){var l="[/removed]",s=a.position+l.length;return o.push([!1!==u?u:a.position,s]),u=!1,l}return u||(u=a.position),"[removed]"}return r(e,t,a)},remove:function(e){var t="",n=0;return m.forEach(o,function(r){t+=e.slice(n,r[0]),n=r[1]}),t+=e.slice(n)}}).onIgnoreTag);var y=D(e,function(e,t,n,r,i){var o={sourcePosition:e,position:t,isClosing:i,isWhite:Object.prototype.hasOwnProperty.call(c,n)},u=l(n,r,o);if(null!=u)return u;if(o.isWhite){if(o.isClosing)return"</".concat(n,">");var a=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=c[n],y=F(a.html,function(e,t){var r=-1!==m.indexOf(g,e),i=f(n,e,t,r);return null==i?r?(t=d(n,e,t,null))?"".concat(e,'="').concat(t,'"'):e:null==(i=p(n,e,t,r))?void 0:i:i});return r="<".concat(n),y&&(r+=" ".concat(y)),a.closing&&(r+=" /"),r+=">"}return null==(u=s(n,r,o))?h(r):u},h);return g&&(y=g.remove(y)),y},e}(),A=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")(),w=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(A&&A._xssBid)return A._xssBid;if(A&&A.slardar&&"function"==typeof A.slardar.config){var i=(A.slardar.config()||{}).bid;if(i)return i}if(A&&A.Slardar&&"function"==typeof A.Slardar.config){var o=(A.Slardar.config()||{}).bid;if(o)return o}return(null===(n=null===(t=null==A?void 0:A.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==A?void 0:A.gfdatav1)||void 0===t?void 0:t.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var t={cn:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:b("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:b("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:b("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:b("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),A.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(A.fetch&&e.collectKey){var n="object"==typeof window?window.location.href:"SSR";e.documentUrl=n;var r={age:Math.floor(Date.now()),type:"xss",url:n,body:e,"user-agent":""};"enforce"===e.disposition&&"SSR"!==n||(r.url=t),"SSR"===n&&(r.url="SSR___".concat(r.url),r.body.ssr=!0),this.push(r)}},e}()),S=function(e){for(var t=0,n=function(n){Array.isArray(e[n])?0===e[n].length?delete e[n]:(e[n]=m.from(m.uniq(e[n])),t+=e[n].length):0===m.keys(e[n]).length?delete e[n]:m.keys(e[n]).forEach(function(r){e[n][r]=m.from(m.uniq(e[n][r])),t+=e[n][r].length})},r=0,i=m.keys(e);r<i.length;r++)n(i[r]);return{count:t,ret:e}};function k(e,t){return w.setConfig(t),new x(t).process(e)}function O(e){var t,n=(t=/\s|\n|\t/.exec(e))?t.index:-1;if(-1===n)return{html:"",closing:"/"===e[e.length-2]};var r="/"===(e=e.slice(n+1,-1).trim())[e.length-1];return r&&(e=e.slice(0,-1).trim()),{html:e,closing:r}}var I=function(e){return -1===(e=(e=(e=(e=e.replace(/&colon;/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?e.trim().toLowerCase():e.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(e,t,n,r){return String.fromCharCode(t?parseInt(n,16):parseInt(r))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function B(e,t){if(void 0===e&&(e=""),"string"!=typeof e)return!0;if(e=I(e),m.includes(e,"base64")&&!function(e){if(""===e||""===e.trim())return!0;try{return!m.includes(e,"data:text/html;base64")}catch(e){return!0}}(e))return t&&t("data:text/html;base64"),!1;var n=["expression(","behavior:","view-source:"];if(m.some(n,function(t){return -1!==e.indexOf(t)}))return m.forEach(n,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;var r=["data:application","data:javascript","data:text/html","data:texthtml"];if(m.some(r,function(t){return -1!==e.indexOf(t)}))return m.forEach(r,function(n){-1!==e.indexOf(n)&&t&&t(n)}),!1;if(e.indexOf("javascript:")>0)return t&&t("javascript:"),!1;if(/^javascript:/i.test(e)){var i=e.slice(11).replace(/\s/g,"").trim();return!!m.some(["void","void(0)","void0","false","undefined",";"],function(e){return e===i})||(t&&t("javascript:"),!1)}return!0}var j=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)||B(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 P(e,t,r){if(void 0===e&&(e=""),void 0===t&&(t=[]),"string"!=typeof e)return!0;if(!B(e=I(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]},u=o.scheme,a=o.host;return r?!!r(e):!(!u||!a)&&(!m.includes(["http","https","file"],u)||("object"==typeof window&&window&&(t=n(n([],t,!0),[location.host],!1)),m.some(t,function(e){return!!(e instanceof RegExp&&e.test(a))||e===a})))}var _={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:[]},T={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var e=S(this.collect),t=e.count,n=e.ret;return this.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"white"}},onIgnoreTagAttr:function(e,t,r){return e&&m.indexOf(["href","src"],t)>-1?T.domainWhiteList&&Array.isArray(T.domainWhiteList)&&T.domainWhiteList.length>0&&!P(r,n([],T.domainWhiteList,!0))?"":"".concat(t,'="').concat(j(r,function(e){var t;null===(t=T.collect)||void 0===t||t.filterProtocol.push(e)}),'"'):e&&(m.indexOf(["style","class","id"],t)>-1||t.indexOf("data-")>-1)?"".concat(t,'="').concat(r,'"'):(T.collect.whiteList[e]=T.collect.whiteList[e]||[],void T.collect.whiteList[e].push(t))},onIgnoreTag:function(e,t){if("style"===e)return t;D(t,function(e,t,n,r){F(O(r).html.replace("/",""),function(e){T.collect.whiteList[n]=T.collect.whiteList[n]||[],T.collect.whiteList[n].push(e)})},h)},whiteList:_,mergeWhiteList:function(e){for(var t,n={},r=0,i=m.keys(_);r<i.length;r++)n[t=i[r]]=m.from(_[t]);for(var o=0,u=m.keys(e);o<u.length;o++)n[t=u[o]]=t in _?_[t].concat(e[t]):m.from(e[t]);return n},setWhiteList:function(e){for(var t=0,n=m.keys(e);t<n.length;t++){var r=n[t];this.whiteList[r]=r in _?_[r].concat(e[r]):m.from(e[r])}}};try{var L={},N="merge";m.includes(N,"override")&&(T.whiteList=L.whiteList),m.includes(N,"merge")&&T.setWhiteList(L.whiteList)}catch(e){}var R=function(e,t){for(var n={},r=0,i=m.keys(e);r<i.length;r++){var o=i[r];Array.isArray(e[o])?n[o]=m.from(e[o]):n[o]=R({},e[o])}for(var u=0,a=m.keys(t);u<a.length;u++)(o=a[u])in e?Array.isArray(e[o])?n[o]=e[o].concat(t[o]):n[o]=R(e[o],t[o]):Array.isArray(t[o])?n[o]=m.from(t[o]):n[o]=R({},t[o]);return n},M={blackList:{a:["folder"],meta:["content"],iframe:["srcdoc"],input:["pattern"],vmlframe:["xmlns"]},blackTags:["script","xml","embed","isindex","object","base","set","handler","animate","payload","import"],blackAttrs:["charset","ns","namespace","formaction","xlink:href","xmlns:xlink","handler","repeat","repeat-start","repeat-end"],blackAttrRegExps:[/^on/],filterList:{param:["value"],video:["poster"],form:["action"]},filterAttrs:["href","src","background","style","dynsrc","lowsrc","content"]};try{var W={};W.blackAttrRegExps&&(W.blackAttrRegExps=W.blackAttrRegExps.map(function(e){return new RegExp(e.toString().slice(1,e.toString().length-1))}));var X="merge";m.includes(X,"override")&&(M=W),m.includes(X,"merge")&&(M=R(M,W))}catch(e){}var U={mode:"black",whiteList:{},blackConfig:M,collect:null,initCollect:function(){U.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var e=S(U.collect),t=e.count,n=e.ret;return U.collect=null,{collectKey:0===t?null:JSON.stringify(n),collectMode:"black"}},onIgnoreTag:function(e,t){var n;if(!m.includes(M.blackTags,e))return D(t,function(e,t,n,r,i){if(-1!==n.indexOf("/"))return h(r);if(i)return"</".concat(n,">");var o=O(r),u=F(o.html,function(e,t){var r,i=0;if(M.blackList[n]&&m.includes(M.blackList[n],e)&&(U.collect.blackList[n]=U.collect.blackList[n]||[],U.collect.blackList[n].push(e),i++),M.blackAttrRegExps.length&&M.blackAttrRegExps.some(function(t){return t.test(e)})&&m.forEach(M.blackAttrRegExps,function(t){t.test(e)&&(U.collect.blackAttrRegExps.push("".concat(t.toString(),"->").concat(e)),i++)}),M.blackAttrs.length&&m.includes(M.blackAttrs,e)&&(M.blackAttrs.push(e),i++),!i){if(M.filterList&&M.filterList[n]&&m.includes(M.filterList[n],e)){var o=j(t,function(e){var t;null===(t=U.collect)||void 0===t||t.filterProtocol.push(e)});return o!==t&&(U.collect.filterList[n]=U.collect.filterList[n]||[],U.collect.filterList[n].push(e)),t?"".concat(e,"='").concat(o,"'"):e}return M.filterAttrs&&m.includes(M.filterAttrs,e)?((o=j(t,function(e){var t;null===(t=U.collect)||void 0===t||t.filterProtocol.push(e)}))!==t&&(null===(r=U.collect)||void 0===r||r.filterAttrs.push(e)),t?"".concat(e,"='").concat(o,"'"):e):t?"".concat(e,"='").concat(t,"'"):e}});return r="<".concat(n),u&&(r+=" ".concat(u)),o.closing&&(r+=" /"),r+=">"},h);null===(n=U.collect)||void 0===n||n.blackTags.push(e)}},J=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===k&&(o=T).initCollect();var u=e(n,o);if(C(u)===C(n))return n;if(!i)return u;var a=i.logType,c=J(i),l=o.removeCollect();return w.report(t(t({type:a,disposition:c},l),{sourceText:v(n),filterText:v(u)})),"enforce"===c?u:n}},z=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 x(t).process(e)}),H=Z(k),Y=function(e,t,n){var r=[],i=j(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 u=o.logType,a=J(n);return w.report({type:u,disposition:a,collectKey:r.join("___"),collectData:JSON.stringify(r),collectMode:"black",sourceText:v(e),filterText:v(i)}),"enforce"===a?i:e},V=A._xssProject||{},q=A.xssNamespace||{},$="3.0.26",G={FilterXSS:x,version:$,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:z,_filterXSS:H,filterUrl:Y,Config:T,BlackConfig:U,project:V,setProjectName:function(e){V[e]=this,A._xssProjectName=e}};q.douyin_web=G,A.xssNamespace=q,A.Math&&!A.Math.xssNamespace&&(A.Math.xssNamespace=q),V[$]=G,A.globalThis=A,A.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:G},A.xss=G,A.isSafeUrl=P,A.isSafeDomain=P,A.isSafeProtocol=B,A._xssProject=V,A._xssProjectName&&(V[A._xssProjectName]=G);var Q=G.setProjectName.bind(G);e.BlackConfig=U,e.Config=T,e.FilterXSS=x,e._filterXSS=H,e.filterUrl=Y,e.filterXSS=z,e.isSafeDomain=P,e.isSafeProtocol=B,e.isSafeUrl=P,e.project=V,e.setProjectName=Q,e.setXssNamespace=function(e){var t=e.appId,n=e.bid,r=e.region;q[t]=G;T.bid=n,T.region=r,T.enabled=!0},e.xssNamespace=q,Object.defineProperty(e,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["75422"],{994298:function(e,t,n){"use strict";n.d(t,{A:function(){return c},Z:function(){return l}});var r=n("101199"),i=n("469935"),o=n.n(i);n("266972");var u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let a=r.forwardRef((e,t)=>{let{svg:n,spin:i=!1,rotate:a,style:c,className:l,prefixCls:s="semi",type:f,size:p="default"}=e,d=u(e,["svg","spin","rotate","style","className","prefixCls","type","size"]),h=o()(`${s}-icon`,{[`${s}-icon-extra-small`]:"extra-small"===p,[`${s}-icon-small`]:"small"===p,[`${s}-icon-default`]:"default"===p,[`${s}-icon-large`]:"large"===p,[`${s}-icon-extra-large`]:"extra-large"===p,[`${s}-icon-spinning`]:!0===i,[`${s}-icon-${f}`]:!!f},l),m={};return Number.isSafeInteger(a)&&(m.transform=`rotate(${a}deg)`),Object.assign(m,c),r.createElement("span",Object.assign({role:"img",ref:t,"aria-label":f,className:h,style:m},d),n)});a.elementType="Icon";let c=(e,t)=>{let n=r.forwardRef((n,i)=>r.createElement(a,Object.assign({svg:r.createElement(e),type:t,ref:i},n)));return n.elementType="Icon",n};var l=a},140381:function(e,t,n){"use strict";n.d(t,{Xw:function(){return v},Z1:function(){return m},ln:function(){return g},pH:function(){return y}});var r,i,o=n(98013),u=n(685114),a=n(18296),c=n(796616),l=n(600737),s=n(239202);function f(e,t,n,r,i,o,u){try{var a=e[o](u),c=a.value}catch(e){n(e);return}a.done?t(c):Promise.resolve(c).then(r,i)}function p(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function u(e){f(o,r,i,u,a,"next",e)}function a(e){f(o,r,i,u,a,"throw",e)}u(void 0)})}}function d(e,t){var n,r,i,o,u={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return u.label++,{value:o[1],done:!1};case 5:u.label++,r=o[1],o=[0];continue;case 7:o=u.ops.pop(),u.trys.pop();continue;default:if(!(i=(i=u.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){u=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){u.label=o[1];break}if(6===o[0]&&u.label<i[1]){u.label=i[1],i=o;break}if(i&&u.label<i[2]){u.label=i[2],u.ops.push(o);break}i[2]&&u.ops.pop(),u.trys.pop();continue}o=t.call(e,u)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}var h=new s.Yd("jsb"),m=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.H5.PUBLIC,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u.lS.default,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";!a.$z[r]&&(a.$z[r]=Object.create(null));var o=a.$z[r];if(i&&(e=[e,i].join(c.bA)),e in o){h.error("同名 JSB 已经注册");return}o[e]={access:n,handler:t}},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.lS.default,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=a.$z[t];n&&(e=[e,n].join(c.bA)),e in r?delete r[e]:h.warn("JSB 已在别处删除")};var y=(r=p(function(e,t,n){var r,i;return d(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,e(n,t.params)];case 1:return r=u.sent(),h.debug("callBridge",e.toString(),r),[3,3];case 2:return i=u.sent(),h.error("[EXCEPTION_THROWN]",i.toString()),n.callback((0,o.bG)(o.MU.EXCEPTION_THROWN,"the JSBridge method throws exceptions")),[3,3];case 3:return[2]}})}),function(e,t,n){return r.apply(this,arguments)});var v=(i=p(function(e,t,n){var r,i,c,s,f,p,m,g,y,v,b,D,F,E,C,x,A,w,S,k,O,I,B,j=arguments;return d(this,function(d){var P,_,T,L;switch(d.label){case 0:;if(r=j.length>3&&void 0!==j[3]?j[3]:u.lS.default,!(i=a.$z[r][e]))return h.error("JSB 未实现",e),n.callback((0,o.bG)(o.MU.UNREGISTERED,"UnregisteredMethod, the called method isn't registered")),[2];if(c=i.access,s=i.handler,P=c,_=n.containerID,P!==u.H5.PUBLIC&&_!==l.km)return n.callback((0,o.bG)(o.MU.UNAUTHORIZED,"UnauthorizedInvocation, the current page URL isn't authorized to call this method")),[2];d.label=1;case 1:d.trys.push([1,10,,11]),p=void 0===(f=t.params)?{}:f,!a.tq[r]&&(a.tq[r]=Object.create(null)),g=!0,y=!1,v=void 0,d.label=2;case 2:d.trys.push([2,7,8,9]),b=(null!==(m=a.tq[r][e])&&void 0!==m?m:[])[Symbol.iterator](),d.label=3;case 3:if(g=(D=b.next()).done)return[3,6];return[4,(0,D.value)(n,p)];case 4:p=d.sent(),d.label=5;case 5:return g=!0,[3,3];case 6:return[3,9];case 7:return F=d.sent(),y=!0,v=F,[3,9];case 8:try{!g&&null!=b.return&&b.return()}finally{if(y)throw v}return[7];case 9:;return T=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r,i,o;r=e,i=t,o=n[t],i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o})}return e}({},t),L=(L={params:p},L),Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(L)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(L)).forEach(function(e){Object.defineProperty(T,e,Object.getOwnPropertyDescriptor(L,e))}),t=T,[3,11];case 10:return E=d.sent(),h.error(e,"[PreHook EXCEPTION_THROWN]",E.toString()),n.callback((0,o.bG)(o.MU.EXCEPTION_THROWN,"the JSBridge method PreHook throws exceptions")),[2];case 11:return d.trys.push([11,13,,14]),[4,s(n,t.params,r)];case 12:return C=d.sent(),h.debug("callBridge",e,C),[3,14];case 13:return x=d.sent(),h.error("[EXCEPTION_THROWN]",x.toString()),n.callback((0,o.bG)(o.MU.EXCEPTION_THROWN,"the JSBridge method throws exceptions")),[2];case 14:d.trys.push([14,23,,24]),!a.bl[r]&&(a.bl[r]=Object.create(null)),w=!0,S=!1,k=void 0,d.label=15;case 15:d.trys.push([15,20,21,22]),O=(null!==(A=a.bl[r][e])&&void 0!==A?A:[])[Symbol.iterator](),d.label=16;case 16:if(w=(I=O.next()).done)return[3,19];return[4,(0,I.value)(n,t.params,C)];case 17:C=d.sent(),d.label=18;case 18:return w=!0,[3,16];case 19:return[3,22];case 20:return F=d.sent(),S=!0,k=F,[3,22];case 21:try{!w&&null!=O.return&&O.return()}finally{if(S)throw k}return[7];case 22:return[3,24];case 23:return B=d.sent(),h.error(e,"[AfterHook EXCEPTION_THROWN]",B.toString()),n.callback((0,o.bG)(o.MU.EXCEPTION_THROWN,"the JSBridge method AfterHook throws exceptions")),[2];case 24:return n.callback(C),[2]}})}),function(e,t,n){return i.apply(this,arguments)})},685114:function(e,t,n){"use strict";n.d(t,{H5:function(){return u},lS:function(){return a},mC:function(){return c}});var r,i,o,u=((r=u||{}).PUBLIC="PUBLIC",r.PROTECT="PROTECT",r.PRIVATE="PRIVATE",r.SECURE="SECURE",r);var a=((i=a||{}).default="default",i.host="host",i);var c=((o=c||{}).LYNXVIEW="LYNXVIEW",o.WEBVIEW="WEBVIEW",o.HOSTWINDOW="HOSTWINDOW",o)},23989:function(e,t,n){"use strict";n.d(t,{FW:function(){return s},NR:function(){return d},Ov:function(){return l},RM:function(){return u},aK:function(){return a},qp:function(){return p}});var r=n(796616),i=n(129296),o={},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.lS.default;o[t]=e},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.lS.default;return o[e]||{}},c={},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.lS.default;c[t]=Object.assign({lynxRuntime:r.bZ},e)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.lS.default;return c[e]||{lynxRuntime:r.bZ}},f={},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.lS.default;f[t]=e},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.lS.default,n=f[t];if("function"==typeof n){var r=n(e);if("string"==typeof r)try{return JSON.parse(r)}catch(e){return{}}return r}return n||{}}},39282:function(e,t,n){"use strict";n.r(t),n.d(t,{clsx:function(){return r}});function r(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(r&&(r+=" "),r+=t);return r}t.default=r},123371:function(e,t,n){"use strict";var r=n(177405).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(1,arguments);var n,r,l,s,f,p,d,h,m=(0,c.getDefaultOptions)(),g=(0,a.default)(null!==(n=null!==(r=null!==(l=null!==(s=null==t?void 0:t.firstWeekContainsDate)&&void 0!==s?s:null==t?void 0:null===(f=t.locale)||void 0===f?void 0:null===(p=f.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==l?l:m.firstWeekContainsDate)&&void 0!==r?r:null===(d=m.locale)||void 0===d?void 0:null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),y=(0,i.default)(e,t),v=new Date(0);return v.setUTCFullYear(y,0,g),v.setUTCHours(0,0,0,0),(0,u.default)(v,t)};var i=r(n(256843)),o=r(n(826204)),u=r(n(971025)),a=r(n(678296)),c=n(423305);e.exports=t.default},388067:function(e,t,n){"use strict";var r=n(177405).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(599562)),o={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,i.default)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,i.default)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,i.default)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,i.default)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,i.default)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};t.default=o,e.exports=t.default},329090:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,u){if("function"!=typeof r)throw TypeError("The listener must be a function");var a=new i(r,o||e,u),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],a]:e._events[c].push(a):(e._events[c]=a,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),!new r().__proto__&&(n=!1)),a.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},a.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,u=Array(o);i<o;i++)u[i]=r[i].fn;return u},a.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},a.prototype.emit=function(e,t,r,i,o,u){var a=n?n+e:e;if(!this._events[a])return!1;var c,l,s=this._events[a],f=arguments.length;if(s.fn){switch(s.once&&this.removeListener(e,s.fn,void 0,!0),f){case 1:return s.fn.call(s.context),!0;case 2:return s.fn.call(s.context,t),!0;case 3:return s.fn.call(s.context,t,r),!0;case 4:return s.fn.call(s.context,t,r,i),!0;case 5:return s.fn.call(s.context,t,r,i,o),!0;case 6:return s.fn.call(s.context,t,r,i,o,u),!0}for(l=1,c=Array(f-1);l<f;l++)c[l-1]=arguments[l];s.fn.apply(s.context,c)}else{var p,d=s.length;for(l=0;l<d;l++)switch(s[l].once&&this.removeListener(e,s[l].fn,void 0,!0),f){case 1:s[l].fn.call(s[l].context);break;case 2:s[l].fn.call(s[l].context,t);break;case 3:s[l].fn.call(s[l].context,t,r);break;case 4:s[l].fn.call(s[l].context,t,r,i);break;default:if(!c)for(p=1,c=Array(f-1);p<f;p++)c[p-1]=arguments[p];s[l].fn.apply(s[l].context,c)}}return!0},a.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},a.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},a.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return u(this,o),this;var a=this._events[o];if(a.fn)a.fn===t&&(!i||a.once)&&(!r||a.context===r)&&u(this,o);else{for(var c=0,l=[],s=a.length;c<s;c++)(a[c].fn!==t||i&&!a[c].once||r&&a[c].context!==r)&&l.push(a[c]);l.length?this._events[o]=1===l.length?l[0]:l:u(this,o)}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&u(this,t)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a;e.exports=a},770187:function(e,t,n){"use strict";var r,i;function o(e,t=!1){let n=e.length,r=0,i="",l=0,s=16,f=0,p=0,d=0,h=0,m=0;function g(){if(i="",m=0,l=r,p=f,h=d,r>=n)return l=n,s=17;let t=e.charCodeAt(r);if(u(t)){do r++,i+=String.fromCharCode(t),t=e.charCodeAt(r);while(u(t));return s=15}if(a(t))return r++,i+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,i+="\n"),f++,d=r,s=14;switch(t){case 123:return r++,s=1;case 125:return r++,s=2;case 91:return r++,s=3;case 93:return r++,s=4;case 58:return r++,s=6;case 44:return r++,s=5;case 34:return r++,i=function(){let t="",i=r;for(;;){if(r>=n){t+=e.substring(i,r),m=2;break}let o=e.charCodeAt(r);if(34===o){t+=e.substring(i,r),r++;break}if(92===o){if(t+=e.substring(i,r),++r>=n){m=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:let o=function(t,n){let i=0,o=0;for(;i<4||!n;){let t=e.charCodeAt(r);if(t>=48&&t<=57)o=16*o+t-48;else if(t>=65&&t<=70)o=16*o+t-65+10;else if(t>=97&&t<=102)o=16*o+t-97+10;else break;r++,i++}return i<t&&(o=-1),o}(4,!0);o>=0?t+=String.fromCharCode(o):m=4;break;default:m=5}i=r;continue}if(o>=0&&o<=31){if(a(o)){t+=e.substring(i,r),m=2;break}m=6}r++}return t}(),s=10;case 47:let o=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<n&&!a(e.charCodeAt(r));){;r++}return i=e.substring(o,r),s=12}if(42===e.charCodeAt(r+1)){r+=2;let t=n-1,u=!1;for(;r<t;){let t=e.charCodeAt(r);if(42===t&&47===e.charCodeAt(r+1)){r+=2,u=!0;break}r++,a(t)&&(13===t&&10===e.charCodeAt(r)&&r++,f++,d=r)}return!u&&(r++,m=1),i=e.substring(o,r),s=13}return i+=String.fromCharCode(t),r++,s=16;case 45:if(i+=String.fromCharCode(t),++r===n||!c(e.charCodeAt(r)))return s=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=function(){let t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&c(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(!(++r<e.length&&c(e.charCodeAt(r))))return m=3,e.substring(t,r);for(r++;r<e.length&&c(e.charCodeAt(r));)r++}let n=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r))){if((++r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&c(e.charCodeAt(r))){for(r++;r<e.length&&c(e.charCodeAt(r));)r++;n=r}else m=3}return e.substring(t,n)}(),s=11;default:for(;r<n&&function(e){if(u(e)||a(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}(t);)r++,t=e.charCodeAt(r);if(l!==r){switch(i=e.substring(l,r)){case"true":return s=8;case"false":return s=9;case"null":return s=7}return s=16}return i+=String.fromCharCode(t),r++,s=16}}return{setPosition:function(e){r=e,i="",l=0,s=16,m=0},getPosition:()=>r,scan:t?function(){let e;do e=g();while(e>=12&&e<=15);return e}:g,getToken:()=>s,getTokenValue:()=>i,getTokenOffset:()=>l,getTokenLength:()=>r-l,getTokenStartLine:()=>p,getTokenStartCharacter:()=>l-h,getTokenError:()=>m}}function u(e){return 32===e||9===e}function a(e){return 10===e||13===e}function c(e){return e>=48&&e<=57}n.d(t,{t:function(){return o}}),(i=r||(r={}))[i.lineFeed=10]="lineFeed",i[i.carriageReturn=13]="carriageReturn",i[i.space=32]="space",i[i._0=48]="_0",i[i._1=49]="_1",i[i._2=50]="_2",i[i._3=51]="_3",i[i._4=52]="_4",i[i._5=53]="_5",i[i._6=54]="_6",i[i._7=55]="_7",i[i._8=56]="_8",i[i._9=57]="_9",i[i.a=97]="a",i[i.b=98]="b",i[i.c=99]="c",i[i.d=100]="d",i[i.e=101]="e",i[i.f=102]="f",i[i.g=103]="g",i[i.h=104]="h",i[i.i=105]="i",i[i.j=106]="j",i[i.k=107]="k",i[i.l=108]="l",i[i.m=109]="m",i[i.n=110]="n",i[i.o=111]="o",i[i.p=112]="p",i[i.q=113]="q",i[i.r=114]="r",i[i.s=115]="s",i[i.t=116]="t",i[i.u=117]="u",i[i.v=118]="v",i[i.w=119]="w",i[i.x=120]="x",i[i.y=121]="y",i[i.z=122]="z",i[i.A=65]="A",i[i.B=66]="B",i[i.C=67]="C",i[i.D=68]="D",i[i.E=69]="E",i[i.F=70]="F",i[i.G=71]="G",i[i.H=72]="H",i[i.I=73]="I",i[i.J=74]="J",i[i.K=75]="K",i[i.L=76]="L",i[i.M=77]="M",i[i.N=78]="N",i[i.O=79]="O",i[i.P=80]="P",i[i.Q=81]="Q",i[i.R=82]="R",i[i.S=83]="S",i[i.T=84]="T",i[i.U=85]="U",i[i.V=86]="V",i[i.W=87]="W",i[i.X=88]="X",i[i.Y=89]="Y",i[i.Z=90]="Z",i[i.asterisk=42]="asterisk",i[i.backslash=92]="backslash",i[i.closeBrace=125]="closeBrace",i[i.closeBracket=93]="closeBracket",i[i.colon=58]="colon",i[i.comma=44]="comma",i[i.dot=46]="dot",i[i.doubleQuote=34]="doubleQuote",i[i.minus=45]="minus",i[i.openBrace=123]="openBrace",i[i.openBracket=91]="openBracket",i[i.plus=43]="plus",i[i.slash=47]="slash",i[i.formFeed=12]="formFeed",i[i.tab=9]="tab"},96525:function(e,t,n){var r=n(881504),i=n(566048),o=n(167500),u=n(390748),a=n(406339);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=u,c.prototype.set=a,e.exports=c},849747:function(e,t,n){var r=n(867924),i=n(610972);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},79594:function(e,t,n){var r=n(81810),i=n(873171),o=n(368529),u=n(431356),a=n(656367);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?u(e)?i(e[0],e[1]):r(e):a(e)}},984288:function(e,t,n){var r=n(701891);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},518869:function(e,t,n){var r=n(55177),i=n(162481);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},14568:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},575375:function(e,t,n){var r=n(724521),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},730084:function(e,t,n){"use strict";n.d(t,{F7:function(){return f},P2:function(){return l},VQ:function(){return s},ZP:function(){return a}});var r=n(341429),i=n(746510);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a={};a.createDom=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=document.createElement(e);return i.className=r,i.innerHTML=t,Object.keys(n).forEach(function(t){var r=n[t];"video"===e||"audio"===e||"live-video"===e?r&&i.setAttribute(t,r):i.setAttribute(t,r)}),i},a.createDomFromHtml=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var i=document.createElement("div");i.innerHTML=e;var o=i.children;if(i=null,o.length>0)return o=o[0],n&&a.addClass(o,n),t&&Object.keys(t).forEach(function(e){o.setAttribute(e,t[e])}),o;return null}catch(e){return r.Z.logError("util.createDomFromHtml",e),null}},a.hasClass=function(e,t){if(!e||!t)return!1;try{return Array.prototype.some.call(e.classList,function(e){return e===t})}catch(r){var n=e.className&&"object"===u(e.className)?e.getAttribute("class"):e.className;return n&&!!n.match(RegExp("(\\s|^)"+t+"(\\s|$)"))}},a.addClass=function(e,t){if(!!e&&!!t)try{t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach(function(t){t&&e.classList.add(t)})}catch(n){!a.hasClass(e,t)&&(e.className&&"object"===u(e.className)?e.setAttribute("class",e.getAttribute("class")+" "+t):e.className+=" "+t)}},a.removeClass=function(e,t){if(!!e&&!!t)try{t.replace(/(^\s+|\s+$)/g,"").split(/\s+/g).forEach(function(t){t&&e.classList.remove(t)})}catch(n){a.hasClass(e,t)&&t.split(/\s+/g).forEach(function(t){var n=RegExp("(\\s|^)"+t+"(\\s|$)");e.className&&"object"===u(e.className)?e.setAttribute("class",e.getAttribute("class").replace(n," ")):e.className=e.className.replace(n," ")})}},a.toggleClass=function(e,t){if(!!e)t.split(/\s+/g).forEach(function(t){a.hasClass(e,t)?a.removeClass(e,t):a.addClass(e,t)})},a.classNames=function(){for(var e=arguments,t=[],n=function(n){"String"===a.typeOf(e[n])?t.push(e[n]):"Object"===a.typeOf(e[n])&&Object.keys(e[n]).map(function(r){e[n][r]&&t.push(r)})},r=0;r<arguments.length;r++)n(r);return t.join(" ")},a.findDom=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,n=arguments.length>1?arguments[1]:void 0;try{e=t.querySelector(n)}catch(i){r.Z.logError("util.findDom",i),0===n.indexOf("#")&&(e=t.getElementById(n.slice(1)))}return e},a.getCss=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,!1)[t]},a.padStart=function(e,t,n){for(var r=String(n),i=t>>0,o=Math.ceil(i/r.length),u=[],a=String(e);o--;)u.push(r);return u.join("").substring(0,i-a.length)+a},a.format=function(e){if(window.isNaN(e))return"";e=Math.round(e);var t=a.padStart(Math.floor(e/3600),2,0),n=a.padStart(Math.floor((e-3600*t)/60),2,0),r=a.padStart(Math.floor(e-3600*t-60*n),2,0);return("00"===t?[n,r]:[t,n,r]).join(":")},a.event=function(e){if(e.touches){var t=e.touches[0]||e.changedTouches[0];e.clientX=t.clientX||0,e.clientY=t.clientY||0,e.offsetX=t.pageX-t.target.offsetLeft,e.offsetY=t.pageY-t.target.offsetTop}e._target=e.target||e.srcElement},a.typeOf=function(e){return Object.prototype.toString.call(e).match(/([^\s.*]+)(?=]$)/g)[0]},a.deepCopy=function(e,t){if("Object"===a.typeOf(t)&&"Object"===a.typeOf(e))return Object.keys(t).forEach(function(n){"Object"!==a.typeOf(t[n])||t[n]instanceof Node?"Array"===a.typeOf(t[n])?e[n]="Array"===a.typeOf(e[n])?e[n].concat(t[n]):t[n]:e[n]=t[n]:void 0===e[n]||void 0===e[n]?e[n]=t[n]:a.deepCopy(e[n],t[n])}),e},a.deepMerge=function(e,t){return Object.keys(t).map(function(n){if("Array"===a.typeOf(t[n])&&"Array"===a.typeOf(e[n])){if("Array"===a.typeOf(e[n])){var r,i;(r=e[n]).push.apply(r,function(e){if(Array.isArray(e))return o(e)}(i=t[n])||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}}(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}else a.typeOf(e[n])!==a.typeOf(t[n])||null===e[n]||"Object"!==a.typeOf(e[n])||t[n]instanceof window.Node?null!==t[n]&&(e[n]=t[n]):a.deepMerge(e[n],t[n])}),e},a.getBgImage=function(e){var t=(e.currentStyle||window.getComputedStyle(e,null)).backgroundImage;if(!t||"none"===t)return"";var n=document.createElement("a");return n.href=t.replace(/url\("|"\)/g,""),n.href},a.copyDom=function(e){if(!e||1!==e.nodeType)return"";var t=document.createElement(e.tagName);return Array.prototype.forEach.call(e.attributes,function(e){t.setAttribute(e.name,e.value)}),e.innerHTML&&(t.innerHTML=e.innerHTML),t},a.setInterval=function(e,t,n,r){!e._interval[t]&&(e._interval[t]=window.setInterval(n.bind(e),r))},a.clearInterval=function(e,t){clearInterval(e._interval[t]),e._interval[t]=null},a.setTimeout=function(e,t,n){!e._timers&&(e._timers=[]);var r=setTimeout(function(){t(),a.clearTimeout(e,r)},n);return e._timers.push(r),r},a.clearTimeout=function(e,t){var n=e._timers;if("Array"===a.typeOf(n)){for(var r=0;r<n.length;r++)if(n[r]===t){n.splice(r,1),clearTimeout(t);break}}else clearTimeout(t)},a.clearAllTimers=function(e){var t=e._timers;"Array"===a.typeOf(t)&&(t.map(function(e){clearTimeout(e)}),e._timerIds=[])},a.createImgBtn=function(e,t,n,r){var i,o,u,c=a.createDom("xg-".concat(e),"",{},"xgplayer-".concat(e,"-img"));return c.style.backgroundImage='url("'.concat(t,'")'),n&&r&&(["px","rem","em","pt","dp","vw","vh","vm","%"].every(function(e){return!(n.indexOf(e)>-1&&r.indexOf(e)>-1)||(i=parseFloat(n.slice(0,n.indexOf(e)).trim()),o=parseFloat(r.slice(0,r.indexOf(e)).trim()),u=e,!1)}),c.style.width="".concat(i).concat(u),c.style.height="".concat(o).concat(u),c.style.backgroundSize="".concat(i).concat(u," ").concat(o).concat(u),"start"===e?c.style.margin="-".concat(o/2).concat(u," auto auto -").concat(i/2).concat(u):c.style.margin="auto 5px auto 5px"),c},a.Hex2RGBA=function(e,t){var n=[];if(/^\#[0-9A-F]{3}$/i.test(e)){var r="#";e.replace(/[0-9A-F]/ig,function(e){r+=e+e}),e=r}return/^#[0-9A-F]{6}$/i.test(e)?(e.replace(/[0-9A-F]{2}/ig,function(e){n.push(parseInt(e,16))}),"rgba(".concat(n.join(","),", ").concat(t,")")):"rgba(255, 255, 255, 0.1)"},a.getFullScreenEl=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},a.checkIsFunction=function(e){return e&&"function"==typeof e},a.checkIsObject=function(e){return null!==e&&"object"===u(e)},a.hide=function(e){e.style.display="none"},a.show=function(e,t){e.style.display=t||"block"},a.isUndefined=function(e){if(null==e)return!0},a.setStyleFromCsstext=function(e,t){if(!!t)"String"===a.typeOf(t)?t.replace(/\s+/g,"").split(";").map(function(t){if(t){var n=t.split(":");n.length>1&&(e.style[n[0]]=n[1])}}):Object.keys(t).map(function(n){e.style[n]=t[n]})};function c(e){var t=u(e);return null!==e&&("object"===t||"function"===t)}a.filterStyleFromText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["width","height","top","left","bottom","right","position","z-index","padding","margin","transform"],n=e.style.cssText;if(!n)return{};var r=n.replace(/\s+/g,"").split(";"),i={},o={};return r.map(function(e){if(e){var n=e.split(":");n.length>1&&(function(e,t){for(var n=0,r=t.length;n<r;n++)if(e.indexOf(t[n])>-1)return!0;return!1}(n[0],t)?i[n[0]]=n[1]:o[n[0]]=n[1])}}),e.setAttribute("style",""),Object.keys(o).map(function(t){e.style[t]=o[t]}),i},a.getStyleFromCsstext=function(e){var t=e.style.cssText;if(!t)return{};var n=t.replace(/\s+/g,"").split(";"),r={};return n.map(function(e){if(e){var t=e.split(":");t.length>1&&(r[t[0]]=t[1])}}),r},a.preloadImg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if(!!e){var r=new window.Image;r.onload=function(e){r=null,t&&t(e)},r.onerror=function(e){r=null,n&&n(e)},r.src=e}},a.stopPropagation=function(e){e&&(e.stopPropagation(),e.cancelable&&e.preventDefault())},a.scrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},a.scrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0},a.checkTouchSupport=function(){return"ontouchstart"in window},a.getBuffered2=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=[],r=0;r<e.length;r++)n.push({start:.5>e.start(r)?0:e.start(r),end:e.end(r)});n.sort(function(e,t){var n=e.start-t.start;return n?n:t.end-e.end});var o=[];if(t)for(var u=0;u<n.length;u++){var a=o.length;if(a){var c=o[a-1].end;n[u].start-c<t?n[u].end>c&&(o[a-1].end=n[u].end):o.push(n[u])}else o.push(n[u])}else o=n;return new i.Z(o)},a.getBufferByCurrentTime=function(e,t){var n={start:0,end:0,include:0,diff:0,cur:t};if(!e||e.length<1)return n;for(var r=-1,i=-1,o=parseInt(1e3*t,10),u=e.length-1;u>-1;u--){var a=parseInt(1e3*e.start(u),10),c=parseInt(1e3*e.end(u),10);if(o>=a&&o<=c){n.include=1,n.start=a/1e3,n.end=c/1e3,n.diff=(c-o)/1e3;break}o<a&&(r<0||a-o<r)?(r=(a-o)/1e3,i=u):o>c&&(r<0||o-c<r)&&(r=(o-c)/1e3,i=u)}return 1!==n.include&&(i<0&&(i=e.length-1),n.start=parseInt(1e3*e.start(i),10)/1e3,n.end=parseInt(1e3*e.end(i),10)/1e3,n.diff=(parseInt(1e3*n.end,10)-o)/1e3),n},a.getEventPos=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.touches&&e.touches.length>0&&(e=e.touches[0]),{x:e.x/t,y:e.y/t,clientX:e.clientX/t,clientY:e.clientY/t,offsetX:e.offsetX/t,offsetY:e.offsetY/t,pageX:e.pageX/t,pageY:e.pageY/t}},a.requestAnimationFrame=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame;if(t)return t(e)},a.getHostFromUrl=function(e){if("String"!==a.typeOf(e))return"";var t=e.split("/"),n="";return t.length>3&&t[2]&&(n=t[2]),n},a.cancelAnimationFrame=function(e){var t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.cancelRequestAnimationFrame;t&&t(e)},a.isMSE=function(e){return e.media&&(e=e.media),!!(e&&e instanceof HTMLMediaElement)&&(/^blob/.test(e.currentSrc)||/^blob/.test(e.src))},a.isBlob=function(e){return"string"==typeof e&&/^blob/.test(e)},a.generateSessionId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=new Date().getTime();try{e=parseInt(e)}catch(t){e=0}return t+=e,window.performance&&"function"==typeof window.performance.now&&(t+=parseInt(window.performance.now())),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:3&n|8).toString(16)})},a.adjustTimeByDuration=function(e,t,n){return t&&e?e>t||n&&e<t?t:e:e},a.getTransformStyle=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{x:0,y:0,scale:1,rotate:0},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={scale:"".concat(e.scale||1),translate:"".concat(e.x||0,"%, ").concat(e.y||0,"%"),rotate:"".concat(e.rotate||0,"deg")};return Object.keys(n).forEach(function(e){var r=RegExp("".concat(e,"\\([^\\(]+\\)"),"g"),i="".concat(e,"(").concat(n[e],")");r.test(t)?(r.lastIndex=-1,t=t.replace(r,i)):t+="".concat(i," ")}),t},a.convertDeg=function(e){return 1>=Math.abs(e)?360*e:e%360};function l(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw TypeError("Expected a function");return c(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),function(e,t,n){var r,i,o,u,a,l,s=0,f=!1,p=!1,d=!0,h=!t&&0!==t&&"function"==typeof window.requestAnimationFrame;if("function"!=typeof e)throw TypeError("Expected a function");function m(t){var n=r,o=i;return r=i=void 0,s=t,u=e.apply(o,n)}function g(e,t){return h?(window.cancelAnimationFrame(a),window.requestAnimationFrame(e)):setTimeout(e,t)}t=+t||0,c(n)&&(f=!!n.leading,o=(p="maxWait"in n)?Math.max(+n.maxWait||0,t):o,d="trailing"in n?!!n.trailing:d);function y(e){var n=e-l,r=e-s;return void 0===l||n>=t||n<0||p&&r>=o}function v(){var e,n,r,i,u=Date.now();if(y(u))return b(u);a=g(v,(n=(e=u)-l,r=e-s,i=t-n,p?Math.min(i,o-r):i))}function b(e){return(a=void 0,d&&r)?m(e):(r=i=void 0,u)}function D(){for(var e,n=Date.now(),o=y(n),c=arguments.length,d=Array(c),h=0;h<c;h++)d[h]=arguments[h];if(r=d,i=this,l=n,o){if(void 0===a){;return s=e=l,a=g(v,t),f?m(e):u}if(p)return a=g(v,t),m(l)}return void 0===a&&(a=g(v,t)),u}return D.cancel=function(){void 0!==a&&!function(e){if(h)return window.cancelAnimationFrame(e);clearTimeout(e)}(a),s=0,r=l=i=a=void 0},D.flush=function(){return void 0===a?u:b(Date.now())},D.pending=function(){return void 0!==a},D}(e,t,{leading:r,trailing:i,maxWait:t})}function s(){var e=(document.documentElement.getAttribute("lang")||navigator.language||"zh-cn").toLocaleLowerCase();return"zh-cn"===e&&(e="zh"),e}function f(e,t,n){if(!!e){var r=e.getAttribute(n);return!!r&&r===t&&("VIDEO"===e.tagName||"AUDIO"===e.tagName)||!1}}},868976:function(e,t,n){"use strict";var r=n(101199),i=n(170651),o=n(406944),u=n(469935),a=n.n(u),c=n(261606);let l=`${o.U.PREFIX}-preview-header`,s=(0,r.forwardRef)((e,t)=>{let{onClose:n,titleStyle:o,className:u,renderHeader:s,closable:f}=e;return r.createElement(c.X.Consumer,null,e=>{let c,{currentIndex:p,titles:d}=e;return d&&"number"==typeof p&&(c=d[p]),r.createElement("section",{ref:t,className:a()(l,u)},r.createElement("section",{className:`${l}-title`,style:o},s?s(c):c),f&&r.createElement("section",{className:`${l}-close`,onMouseUp:n},r.createElement(i.Z,null)))})});t.Z=s},703473:function(e,t,n){"use strict";n(932651);var r=n(101199),i=n(622689),o=n.n(i),u=n(469935),a=n.n(u),c=n(864793),l=n(426337),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};let f=c.UX.PREFIX_GROUP;class p extends l.Z{render(){let e=this.props,{label:t,className:n,style:i}=e,o=s(e,["label","className","style"]),u=a()(n,{[f]:!0});return t||"number"==typeof t?r.createElement("div",Object.assign({className:u,style:i},this.getDataAttr(o)),t):null}}p.isSelectOptionGroup=!0,p.propTypes={children:o().oneOfType([o().array,o().node]),label:o().node,className:o().string,style:o().object},t.Z=p},101607:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(674007),i=n(883401),o=n(521414),u=n(973372),a=n(422855);function c(e,t){let{start:n,end:c}=t,l=(0,a.Z)(e)?(0,r.Z)(e):e,s=(0,a.Z)(n)?(0,r.Z)(n):n,f=(0,a.Z)(c)?(0,r.Z)(c):c;return(0,i.Z)(s,f)&&(0,o.Z)(l,{start:s,end:f})&&!(0,u.Z)(l,s)&&!(0,u.Z)(l,f)}},64360:function(e,t,n){"use strict";function r(e){return e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e)}n.d(t,{Z:function(){return r}}),n(414931)},266173:function(e,t,n){"use strict";n.d(t,{U:function(){return i},j:function(){return o}});var r=n(707852);let i={PREFIX:`${r.T}-rating`},o={SIZE_SET:["default","small"]}},642449:function(e,t,n){"use strict";n.d(t,{KT:function(){return u},UX:function(){return i},j2:function(){return o}});var r=n(707852);let i={PREFIX:`${r.T}-userGuide`,PREFIX_MODAL:`${r.T}-userGuide-modal`},o={MODE:["popup","modal"],POSITION_SET:["top","topLeft","topRight","left","leftTop","leftBottom","right","rightTop","rightBottom","bottom","bottomLeft","bottomRight","leftTopOver","rightTopOver"],THEME:["default","primary"]},u={DEFAULT_CURRENT:0,DEFAULT_SPOTLIGHT_PADDING:5,DEFAULT_Z_INDEX:1030}},268474:function(e,t,n){"use strict";n.d(t,{Xn:function(){return o},dz:function(){return a},j2:function(){return c},l6:function(){return i},pf:function(){return u}}),n(992871),n(490629),n(228983),n(759943);var r=n(299690);function i(e,t){if("string"!=typeof e)return"unknown";if(e.indexOf(".flv")>-1)return"flv";if(e.indexOf(".m3u8")>-1)return"m3u8";if(e.indexOf(".mp4")>-1)return"mp4";if(e.indexOf(".sdp")>-1)return t===r.b$.RTM_WEBTS?"rtm-webts":"rtm";return"unknown"}function o(){return Date.now()}function u(e,t){if("string"==typeof e)return new URLSearchParams(e.split("?")[1]).get(t)}function a(){let e={cpu_core_number:-1,memory_usage:-1,network_downlink:-1};try{var t;e.cpu_core_number=navigator.hardwareConcurrency||-1,e.memory_usage=navigator.deviceMemory||-1,e.network_downlink=null===(t=navigator.connection)||void 0===t?void 0:t.downlink,void 0==e.network_downlink&&(e.network_downlink=-1)}catch(e){}return e}function c(e){var t,n,r,i,o;for(t="",r=e.length,n=0;n<r;)switch((i=e[n++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=String.fromCharCode(i);break;case 12:case 13:t+=String.fromCharCode((31&i)<<6|63&(o=e[n++]));break;case 14:o=e[n++],t+=String.fromCharCode((15&i)<<12|(63&o)<<6|(63&e[n++])<<0)}return t}},275017:function(e,t,n){"use strict";n.d(t,{u:function(){return f}});var r=n(629686),i=n(402748);n(490629),n(706056),n(374954);var o=n(320165),u=n(509608),a=n(693653),c=n(101199),l=n(319628);let s=(e,t)=>(0,c.useCallback)(n=>{let r=t.current[e];if(!!r)r.forEach(e=>{e(n)})},[]),f=(0,a.n)(e=>{let{playerRef:t}=(0,c.useContext)(u.E),n=(0,c.useRef)({}),[a,f]=(0,c.useState)({});(0,c.useEffect)(()=>(t.current.plugins.progress={addCallBack:(e,t)=>{let r=n.current;if(!r[e]&&(r[e]=[]),!r[e].includes(t))r[e].push(t)},removeCallBack:(e,t)=>{let r=n.current;if(!!r[e])r[e]=r[e].filter(e=>e!==t)},updateConfig(e){f(t=>(0,r._)({},t,e))}},()=>{var e;null===(e=t.current)||void 0===e||delete e.plugins.progress}),[]);let p=s("dragend",n),d=s("click",n),h=s("mouseleave",n),m=s("dragstart",n),g=s("dragmove",n),y=s("mouseenter",n);return(0,o.jsx)(l.i,(0,i._)((0,r._)({},a,e),{onDragend:p,onClick:d,onMouseLeave:h,onDragStart:m,onDragMove:g,onMouseenter:y}))})},249426:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r=n(101199);let i=(e,t)=>(0,r.useMemo)(()=>e?t?t.width&&t.height?t:t.width?{width:t.width,height:e.height*t.width/e.width|0}:{width:e.width*t.height/e.height|0,height:t.height}:{width:e.width,height:e.height}:{width:0,height:0},[e,t])},738797:function(e,t,n){"use strict";n(679308),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,522573)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,735608)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,825710)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,671195)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,66425)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,787831)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,595980)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,619619)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,138440)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,915669)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,571508)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,869275)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,26604)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,415134)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,945173)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,621401)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,695755)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,526317)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,530266)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,586441)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,983190)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,304495)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,310443)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,105345)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,180388)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,766903)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,364759)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,631214)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,24913)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,893933)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,140939)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,524491)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,315659)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,51600)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,522030)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,865525)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,593870)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,130289)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,497409)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,631056)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,588386)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,93458)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,225479)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,769591)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,124653)),Promise.all([n.e("74792"),n.e("41162"),n.e("42794"),n.e("27195"),n.e("27336")]).then(n.bind(n,238738))},99953:function(e,t,n){"use strict";n(679308),n.e("66129").then(n.bind(n,113250))},601327:function(e,t,n){"use strict";n(679308),Promise.all([n.e("12442"),n.e("89021")]).then(n.bind(n,258212))},732905:function(e,t,n){"use strict";function r(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},370131:function(e,t,n){"use strict";function r(e){if(e)throw e}n.d(t,{N:function(){return r}})},214684:function(e,t,n){"use strict";n.d(t,{ZP:function(){return _}});var r=Function.prototype.toString,i=Object.create,o=Object.prototype.toString,u=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}(),a="undefined"!=typeof WeakMap?function(){return new WeakMap}:function(){return new u};function c(e){if(!e)return i(null);var t=e.constructor;if(t===Object)return e===Object.prototype?{}:i(e);if(t&&~r.call(t).indexOf("[native code]"))try{return new t}catch(e){}return i(e)}var l="g"===/test/g.flags?function(e){return e.flags}:function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function s(e){var t=o.call(e);return t.substring(8,t.length-1)}var f="undefined"!=typeof Symbol?function(e){return e[Symbol.toStringTag]||s(e)}:s,p=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,g=Object.prototype,y=g.hasOwnProperty,v=g.propertyIsEnumerable,b="function"==typeof m,D=b?function(e){return h(e).concat(m(e))}:h;function F(e,t,n){for(var r=D(e),i=0,o=r.length,u=void 0,a=void 0;i<o;++i){if("callee"!==(u=r[i])&&"caller"!==u){if(!(a=d(e,u))){t[u]=n.copier(e[u],n);continue}!a.get&&!a.set&&(a.value=n.copier(a.value,n));try{p(t,u,a)}catch(e){t[u]=a.value}}}return t}function E(e,t){return e.slice(0)}function C(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach(function(e,r){n.set(r,t.copier(e,t))}),n}var x=b?function(e,t){var n=c(t.prototype);for(var r in t.cache.set(e,n),e)y.call(e,r)&&(n[r]=t.copier(e[r],t));for(var i=m(e),o=0,u=i.length,a=void 0;o<u;++o)a=i[o],v.call(e,a)&&(n[a]=t.copier(e[a],t));return n}:function(e,t){var n=c(t.prototype);for(var r in t.cache.set(e,n),e)y.call(e,r)&&(n[r]=t.copier(e[r],t));return n};function A(e,t){return new t.Constructor(e.valueOf())}function w(e,t){return e}function S(e,t){var n=new t.Constructor;return t.cache.set(e,n),e.forEach(function(e){n.add(t.copier(e,t))}),n}var k=Array.isArray,O=Object.assign,I=Object.getPrototypeOf||function(e){return e.__proto__},B={array:function(e,t){var n=new t.Constructor;t.cache.set(e,n);for(var r=0,i=e.length;r<i;++r)n[r]=t.copier(e[r],t);return n},arrayBuffer:E,blob:function(e,t){return e.slice(0,e.size,e.type)},dataView:function(e,t){return new t.Constructor(E(e.buffer))},date:function(e,t){return new t.Constructor(e.getTime())},error:w,map:C,object:x,regExp:function(e,t){var n=new t.Constructor(e.source,l(e));return n.lastIndex=e.lastIndex,n},set:S},j=O({},B,{array:function(e,t){var n=new t.Constructor;return t.cache.set(e,n),F(e,n,t)},map:function(e,t){return F(e,C(e,t),t)},object:function(e,t){var n=c(t.prototype);return t.cache.set(e,n),F(e,n,t)},set:function(e,t){return F(e,S(e,t),t)}});function P(e){var t,n={Arguments:(t=O({},B,e)).object,Array:t.array,ArrayBuffer:t.arrayBuffer,Blob:t.blob,Boolean:A,DataView:t.dataView,Date:t.date,Error:t.error,Float32Array:t.arrayBuffer,Float64Array:t.arrayBuffer,Int8Array:t.arrayBuffer,Int16Array:t.arrayBuffer,Int32Array:t.arrayBuffer,Map:t.map,Number:A,Object:t.object,Promise:w,RegExp:t.regExp,Set:t.set,String:A,WeakMap:w,WeakSet:w,Uint8Array:t.arrayBuffer,Uint8ClampedArray:t.arrayBuffer,Uint16Array:t.arrayBuffer,Uint32Array:t.arrayBuffer,Uint64Array:t.arrayBuffer},r=n.Array,i=n.Object;function o(e,t){if(t.prototype=t.Constructor=void 0,!e||"object"!=typeof e)return e;if(t.cache.has(e))return t.cache.get(e);if(t.prototype=I(e),t.Constructor=t.prototype&&t.prototype.constructor,!t.Constructor||t.Constructor===Object)return i(e,t);if(k(e))return r(e,t);var o=n[f(e)];return o?o(e,t):"function"==typeof e.then?e:i(e,t)}return function(e){return o(e,{Constructor:void 0,cache:a(),copier:o,prototype:void 0})}}P(O({},j,{}));var _=P({})},771579:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var r=n(890131),i=n(368183),o=n(29394),u=n(103709);let a={continuation:{tokenize:function(e,t,n){let u=this;return u.containerState._closeFlow=void 0,e.check(o.w,function(n){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,(0,r.f)(e,t,"listItemIndent",u.containerState.size+1)(n)},function(n){return u.containerState.furtherBlankLines||!(0,i.xz)(n)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,c(n)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,e.attempt(l,t,c)(n))});function c(i){return u.containerState._closeFlow=!0,u.interrupt=void 0,(0,r.f)(e,e.attempt(a,t,n),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,a=r.events[r.events.length-1],l=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,s=0;return function(t){let o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:(0,i.pY)(t)){if(!r.containerState.type&&(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(u.C,n,f)(t):f(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(o){return(0,i.pY)(o)&&++s<10?(e.consume(o),t):(!r.interrupt||s<2)&&(r.containerState.marker?o===r.containerState.marker:41===o||46===o)?(e.exit("listItemValue"),f(o)):n(o)}(t)}return n(t)};function f(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(o.w,r.interrupt?n:p,e.attempt(c,h,d))}function p(e){return r.containerState.initialBlankLine=!0,l++,h(e)}function d(t){return(0,i.xz)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},c={partial:!0,tokenize:function(e,t,n){let o=this;return(0,r.f)(e,function(e){let r=o.events[o.events.length-1];return!(0,i.xz)(e)&&r&&"listItemPrefixWhitespace"===r[1].type?t(e):n(e)},"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},l={partial:!0,tokenize:function(e,t,n){let i=this;return(0,r.f)(e,function(e){let r=i.events[i.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===i.containerState.size?t(e):n(e)},"listItemIndent",i.containerState.size+1)}}},512740:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});class r{constructor(){this.map=[]}add(e,t,n){(function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}})(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}},463334:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(309513),i=n(187486);function o(e,t){let n,o;let a=t.prefix||"",c=t.suffix||"",l=Object.assign({},t.acornOptions),s=[],f=[],p=l.onComment,d=l.onToken,h=!1,m=Object.assign({},l,{onComment:s,preserveParens:!0});d&&(m.onToken=f);let g=function(e,t){let n={value:"",stops:[]},r=-1;for(;++r<e.length;){let i=e[r];if("enter"===i[0]){let e=i[1].type;if("lineEnding"===e||t.includes(e)){let e=i[2].sliceStream(i[1]);for(;e.length>0&&-1===e[0];)e.shift();let t=function(e){let t,n=-1,r=[];for(;++n<e.length;){let i;let o=e[n];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=" ";break;case -1:if(t)continue;i=" ";break;default:i=String.fromCharCode(o)}t=-2===o,r.push(i)}return r.join("")}(e);n.stops.push([n.value.length,i[1].start]),n.value+=t,n.stops.push([n.value.length,i[1].end])}}}return n}(e,t.tokenTypes),y=g.value,v=a+y+c,b=t.expression&&u(y);if(b&&!t.allowEmpty)throw new i.$("Unexpected empty expression",{place:F(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{n=t.expression&&!b?t.acorn.parseExpressionAt(v,0,m):t.acorn.parse(v,m)}catch(t){let e=F(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,""),t.pos=e.offset,t.loc={line:e.line,column:e.column-1},o=t,h=t.raisedAt>=a.length+y.length||"Unterminated comment"===t.message}if(n&&t.expression&&!b){if(u(v.slice(n.end,v.length-c.length)))n={type:"Program",start:0,end:a.length+y.length,body:[{type:"ExpressionStatement",expression:n,start:0,end:a.length+y.length}],sourceType:"module",comments:[]};else{let e=F(n.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},o=t,n=void 0}}if(n){if(n.comments=s,(0,r.Vn)(n,function(e,t,n,r){let i=r[r.length-1],o=t;"ParenthesizedExpression"===e.type&&i&&o&&("number"==typeof n&&(i=i[o],o=n),i[o]=e.expression),D(e)}),Array.isArray(p))p.push(...s);else if("function"==typeof p)for(let e of s)p("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(let e of f){if(!(e.end<=a.length)&&!(e.start-a.length>=y.length))D(e),Array.isArray(d)?d.push(e):d(e)}}return{estree:n,error:o,swallow:h};function D(e){let t=F(e.start),n=F(e.end);e.start=t.offset,e.end=n.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:n.line,column:n.column-1,offset:n.offset}},e.range=[e.start,e.end]}function F(e){let n=e-a.length;n<0?n=0:n>y.length&&(n=y.length);let r=function(e,t){let n=0;for(;n<e.length&&e[n][0]<=t;)n+=1;if(0===n)return;let[r,i]=e[n-1],o=t-r;return{line:i.line,column:i.column+o,offset:i.offset+o}}(g.stops,n);return!r&&(r={line:t.start.line,column:t.start.column,offset:t.start.offset}),r}}function u(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}},121530:function(e,t,n){"use strict";n.d(t,{G:function(){return r},L:function(){return i}});let r=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],i=["pre","script","style","textarea"]},368183:function(e,t,n){"use strict";n.d(t,{AF:function(){return c},Av:function(){return u},B8:function(){return h},Ch:function(){return s},H$:function(){return i},Xh:function(){return d},jv:function(){return r},n9:function(){return o},pY:function(){return a},sR:function(){return l},xz:function(){return p},z3:function(){return f}});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),o=m(/[#-'*+\--9=?A-Z^-~]/);function u(e){return null!==e&&(e<32||127===e)}let a=m(/\d/),c=m(/[\dA-Fa-f]/),l=m(/[!-/:-@[-`{-~]/);function s(e){return null!==e&&e<-2}function f(e){return null!==e&&(e<0||32===e)}function p(e){return -2===e||-1===e||32===e}let d=m(/(?:[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F])|(?:[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDD00-\uDEB3\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF])/),h=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},608614:function(e,t,n){"use strict";n.d(t,{V:function(){return d}}),n(76375),n(228983),n(759943),n(374954),n(490629),n(656562),n(992871),n(968336),n(683656),n(559352);var r=n(882742),i=n(365584),o=n(99186),u=n(13202),a=n(356574),c=n(44277),l=n(136298),s=n(18150),f=n(930357),p=n(757275);function d(e){let t=e.baseUrl||void 0,n="object"==typeof t?t.href:t,d=e.outputFormat||"program",m=void 0===e.pragma?"React.createElement":e.pragma,g=void 0===e.pragmaFrag?"React.Fragment":e.pragmaFrag,y=e.pragmaImportSource||"react",v=e.jsxImportSource||"react",b=e.jsxRuntime||"automatic";return function(e,t){let F,E,C;let x=[],A=[],w=0;if("classic"===b&&g&&h(e,"@jsxFrag",g),"classic"===b&&m&&h(e,"@jsx",m),"automatic"===b&&v&&h(e,"@jsxImportSource",v),b&&h(e,"@jsxRuntime",b),"classic"===b&&y){if(!m)throw Error("Missing `pragma` in classic runtime with `pragmaImportSource`");I({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:m.split(".")[0]}}],source:{type:"Literal",value:y}})}for(C of e.body)if("ExportDefaultDeclaration"===C.type)F&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+(0,a.y)((0,u.t)(F))+")",{ancestors:[e,C],place:(0,u.t)(C),ruleId:"duplicate-layout",source:"recma-document"}),F=C,A.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:(0,s.M)(C.declaration)?(0,l.k)(C.declaration):C.declaration}]});else if("ExportNamedDeclaration"===C.type&&C.source){let n=C.source;C.specifiers=C.specifiers.filter(function(r){if("Identifier"===r.exported.type&&"default"===r.exported.name){F&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+(0,a.y)((0,u.t)(F))+")",{ancestors:[e,C,r],place:(0,u.t)(C),ruleId:"duplicate-layout",source:"recma-document"}),F=r;let i=[];if("Identifier"===r.local.type&&"default"===r.local.name)i.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{let e={type:"ImportSpecifier",imported:r.local,local:{type:"Identifier",name:"MDXLayout"}};(0,c.U)(r.local,e),i.push(e)}let o={type:"Literal",value:n.value};(0,c.U)(n,o);let l={type:"ImportDeclaration",specifiers:i,source:o};return(0,c.U)(r,l),I(l),!1}return!0}),C.specifiers.length>0&&O(C)}else"ExportNamedDeclaration"===C.type||"ExportAllDeclaration"===C.type?O(C):"ImportDeclaration"===C.type?I(C):"ExpressionStatement"===C.type&&("JSXElement"===C.expression.type||"JSXFragment"===C.expression.type)?(E=!0,A.push(...D(C.expression,d,!!F))):A.push(C);!E&&A.push(...D(void 0,d,!!F)),x.push(["MDXContent","default"]),"function-body"===d&&A.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:w}).map(function(e,t){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(t+1)}}}),...x.map(function(e){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:"string"==typeof e,key:{type:"Identifier",name:"string"==typeof e?e:e[1]},value:{type:"Identifier",name:"string"==typeof e?e:e[0]}}})]}}),e.body=A;let S=!1,k=!1;function O(e){if("ExportNamedDeclaration"===e.type){if(e.declaration){let t=(0,i.f)();(0,o._)(e,{enter(e){t.enter(e),("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)&&(this.skip(),t.exit(e))},leave:t.exit}),x.push(...t.scopes[0].defined)}for(C of e.specifiers)"Identifier"===C.exported.type?x.push(C.exported.name):((0,r.ok)("string"==typeof C.exported.value),x.push(C.exported.value))}I(e)}function I(e){let t,n;if("function-body"===d){if("ImportDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type&&e.source){(0,r.ok)(e.source,"expected `node.source` to be defined");let i={type:"ImportExpression",source:e.source};(0,c.U)(e,i),n={type:"AwaitExpression",argument:i},t=("ImportDeclaration"===e.type||"ExportNamedDeclaration"===e.type)&&0===e.specifiers.length?{type:"ExpressionStatement",expression:n}:{type:"VariableDeclaration",kind:"const",declarations:"ExportAllDeclaration"===e.type?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++w},init:n}]:(0,f.t)(e.specifiers,n)}}else if(e.declaration)t=e.declaration;else{let n=[];for(let t of e.specifiers)"Identifier"===t.exported.type&&"Identifier"===t.local.type&&t.local.name!==t.exported.name&&n.push({type:"VariableDeclarator",id:t.exported,init:t.local});n.length>0&&(t={type:"VariableDeclaration",kind:"const",declarations:n})}}else t=e;t&&A.push(t)}(n||"function-body"===d)&&(0,o._)(e,{enter(e){if(("ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ImportDeclaration"===e.type)&&e.source){(0,r.ok)(n,"unexpected missing `baseHref` in branch");let t=e.source.value;(0,r.ok)("string"==typeof t,"expected string source");try{new URL(t)}catch(e){(t.startsWith("/")||t.startsWith("./")||t.startsWith("../"))&&(t=new URL(t,n).href)}let i={type:"Literal",value:t};(0,c.U)(e.source,i),e.source=i;return}if("ImportExpression"===e.type){k=!0;let t={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[e.source],optional:!1};e.source=t;return}if("MemberExpression"===e.type&&"object"in e&&"MetaProperty"===e.object.type&&"Identifier"===e.property.type&&"import"===e.object.meta.name&&"meta"===e.object.property.name&&"url"===e.property.name){S=!0;let t={type:"Identifier",name:"_importMetaUrl"};(0,c.U)(e,t),this.replace(t)}}}),k&&(!n&&(S=!0),e.body.push(function(e){return{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:(0,p.Y)(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:(0,p.Y)(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:(0,p.Y)(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},e]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}}(n?{type:"Literal",value:n}:{type:"Identifier",name:"_importMetaUrl"}))),S&&((0,r.ok)("function-body"===d,"expected `function-body` when using dynamic url injection"),e.body.unshift(...function(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:(0,p.Y)(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export … from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null}]}()))};function D(e,t,n){let r={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};!n&&(r={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:r,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let i=e||{type:"Identifier",name:"undefined"};"JSXFragment"===i.type&&1===i.children.length&&"JSXElement"===i.children[0].type&&(i=i.children[0]);let u=!1;(0,o._)(i,{enter(e){if("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)return this.skip();("AwaitExpression"===e.type||"ForOfStatement"===e.type&&e.await)&&(u=!0)}});let a={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"},right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:r}]}};return[{type:"FunctionDeclaration",async:u,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:i}]}},"program"===t?{type:"ExportDefaultDeclaration",declaration:a}:a]}}function h(e,t,n){var r;null===(r=e.comments)||void 0===r||r.unshift({type:"Block",value:t+" "+n,data:{_mdxIsPragmaComment:!0}})}}}]);