2 lines
170 KiB
Plaintext
2 lines
170 KiB
Plaintext
/*! For license information please see 70651.09b7f889.js.LICENSE.txt */
|
||
!function(t,e){"object"==typeof module&&"object"==typeof module.exports?e():"function"==typeof define&&define.amd?define([],e):(t="undefined"!=typeof globalThis?globalThis:t||self)&&e()}(this,function(){"use strict";"object"==typeof window&&(window.openRedirect={version:"1.2.20",webpackPluginVersion:"3.4.22",reportOnly:!1})}),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).xss={})}(this,function(t){"use strict";var e=function(){return(e=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var r in e=arguments[i])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function i(t,e,i){if(i||2==arguments.length)for(var s,r=0,a=e.length;r<a;r++)!s&&r in e||(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}var s=/[^a-zA-Z0-9\\_:.-]/gim,r=/</g,a=/>/g,n=/&#([a-zA-Z0-9]*);?/gim,o=/"/g,h=/:?/gim,c=/&newline;?/gim,l=/((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,p=/u\s*r\s*l\s*\(.*/gi,u=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,d=/"/g,f=function(t){return t.replace(r,"<").replace(a,">")},g={indexOf:function(t,e){var i,s;for(i=0,s=t.length;i<s;i++)if(t[i]===e)return i;return -1},forEach:function(t,e,i){var s,r;for(s=0,r=t.length;s<r;s++)e.call(i,t[s],s,t)},some:function(t,e,i){var s,r;for(s=0,r=t.length;s<r;s++)if(e.call(i,t[s],s,t))return!0;return!1},trim:function(t){return t.replace(/(^\s*)|(\s*$)/g,"")},includes:function(t,e){if("string"==typeof t)return -1!==t.indexOf(e);for(var i=0;i<t.length;i++)if(t[i]===e)return!0;return!1},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1},uniq:function(t){for(var e={},i=[],s=0;s<t.length;s++)e[t[s]]||(i.push(t[s]),e[t[s]]=!0);return i},from:function(t){for(var e=[],i=0;i<t.length;i++)e.push(t[i]);return e},keys:function(t){var e=[];for(var i in t)e.push(i);return e}};function m(t){return null==t}function x(t){var e;return'"'===(e=t)[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]?t.substr(1,t.length-2):t}function v(t){var e,i,s,r,a,n,o,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0;for(t=function(t){t=t.replace(/rn/g,"n");for(var e="",i=0;i<t.length;i++){var s=t.charCodeAt(i);s<128?e+=String.fromCharCode(s):s>127&&s<2048?e+=String.fromCharCode(s>>6|192)+String.fromCharCode(63&s|128):e+=String.fromCharCode(s>>12|224)+String.fromCharCode(s>>6&63|128)+String.fromCharCode(63&s|128)}return e}(t);l<t.length;)r=(e=t.charCodeAt(l++))>>2,a=(3&e)<<4|(i=t.charCodeAt(l++))>>4,n=(15&i)<<2|(s=t.charCodeAt(l++))>>6,o=63&s,isNaN(i)?n=o=64:isNaN(s)&&(o=64),c=c+h.charAt(r)+h.charAt(a)+h.charAt(n)+h.charAt(o);return c}function y(t){var e,i,s,r,a,n,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",h="",c=0;for(t=t.replace(/[^A-Za-z0-9+/=]/g,"");c<t.length;)e=o.indexOf(t.charAt(c++))<<2|(r=o.indexOf(t.charAt(c++)))>>4,i=(15&r)<<4|(a=o.indexOf(t.charAt(c++)))>>2,s=(3&a)<<6|(n=o.indexOf(t.charAt(c++))),h+=String.fromCharCode(e),64!==a&&(h+=String.fromCharCode(i)),64!==n&&(h+=String.fromCharCode(s));return function(t){for(var e="",i=0,s=0,r=0,a=0;i<t.length;)(s=t.charCodeAt(i))<128?(e+=String.fromCharCode(s),i++):s>191&&s<224?(e+=String.fromCharCode((31&s)<<6|63&(a=t.charCodeAt(i+1))),i+=2):(a=t.charCodeAt(i+1),e+=String.fromCharCode((15&s)<<12|(63&a)<<6|63&(r=t.charCodeAt(i+2))),i+=3);return e}(h)}function b(t,e,i){var s="",r=0,a=!1,n=!1,o=0,h=t.length,c="",l="";t:for(o=0;o<h;o++){var p=t.charAt(o);if(!1===a){if("<"===p){a=o;continue}}else if(!1===n){if("<"===p){s+=i(t.slice(r,o)),a=o,r=o;continue}if(">"===p||o===h-1){s+=i(t.slice(r,a)),c=function(t){var e,i=g.spaceIndex(t);return e=-1===i?t.slice(1,-1):t.slice(1,i+1),"/"===(e=g.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}(l=t.slice(a,o+1)),s+=e(a,s.length,c,l,"</"===l.slice(0,2)),r=o+1,a=!1;continue}if('"'===p||"'"===p)for(var u=1,d=t.charAt(o-u);""===d.trim()||"="===d;){if("="===d){n=p;continue t}d=t.charAt(o-++u)}}else if(p===n){n=!1;continue}}return r<h&&(s+=i(t.substr(r))),s}function _(t,e){var i=0,r=0,a=[],n=!1,o=t.length;function h(t,i){if(!((t=(t=g.trim(t)).replace(s,"").toLowerCase()).length<1)){var r=e(t,i||"");r&&a.push(r)}}for(var c=0;c<o;c++){var l=t.charAt(c),p=void 0;if(!1!==n||"="!==l){if(!1===n||c!==r){if(/\s|\n|\t/.test(l)){if(t=t.replace(/\s|\n|\t/g," "),!1===n){if(-1===(p=function(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"="===i?e:-1}return -1}(t,c))){h(g.trim(t.slice(i,c))),n=!1,i=c+1;continue}c=p-1;continue}if(-1===(p=function(t,e){for(;e>0;e--){var i=t[e];if(" "!==i)return"="===i?e:-1}return -1}(t,c-1))){h(n,x(g.trim(t.slice(i,c)))),n=!1,i=c+1;continue}}}else{if(-1===(p=t.indexOf(l,c+1)))break;h(n,g.trim(t.slice(r+1,p))),n=!1,i=(c=p)+1}}else n=t.slice(i,c),i=c+1,r='"'===t.charAt(i)||"'"===t.charAt(i)?i:function(t,e){for(;e<t.length;e++){var i=t[e];if(" "!==i)return"'"===i||'"'===i?e:-1}return -1}(t,c+1)}return i<t.length&&(!1===n?h(t.slice(i)):h(n,x(g.trim(t.slice(i))))),g.trim(a.join(" "))}function k(t,e,i){if(i=function(t){return t=function(t){for(var e="",i=0,s=t.length;i<s;i++)e+=32>t.charCodeAt(i)?" ":t.charAt(i);return g.trim(e)}(t=(t=(t=t.replace(o,'"')).replace(n,function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))})).replace(h,":").replace(c," "))}(i),"href"===e||"src"===e){if("#"===(i=g.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===e){if(l.lastIndex=0,l.test(i))return""}else if("style"===e&&(u.lastIndex=0,u.test(i)||(p.lastIndex=0,p.test(i)&&(l.lastIndex=0,l.test(i)))))return"";return i=function(t){return t=f(t=t.replace(d,"""))}(i)}var S=function(t){return"string"==typeof t?t.replace(/'/g,'"').replace('=""',"").replace(/\s+/g,"").toLowerCase():""},w=function(){function t(t){var e=function(t){var e={};for(var i in t)e[i]=t[i];return e}(t||{});e.stripIgnoreTag&&(e.onIgnoreTag,e.onIgnoreTag=function(){return""}),e.whiteList={},e.onTag=function(){},e.onTagAttr=function(){},e.onIgnoreTag=function(){},e.onIgnoreTagAttr=function(){},e.safeAttrValue=k,e.escapeHtml=f,this.options=Object.assign(e,t)}return t.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e,i,s,r,a,n,o=this.options,h=o.whiteList,c=o.onTag,l=o.onIgnoreTag,p=o.onTagAttr,u=o.onIgnoreTagAttr,d=o.safeAttrValue,f=o.escapeHtml;o.stripBlankChar&&(t=(e=(e=t.split("")).filter(function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)})).join("")),o.allowCommentTag||(t=function(t){for(var e="",i=0;i<t.length;){var s=t.indexOf("\x3c!--",i);if(-1===s){e+=t.slice(i);break}e+=t.slice(i,s);var r=t.indexOf("--\x3e",s);if(-1===r)break;i=r+3}return e}(t));var m=!1;o.stripIgnoreTagBody&&(i=o.stripIgnoreTagBody,"function"!=typeof(s=l)&&(s=function(){}),r=!Array.isArray(i),a=[],n=!1,l=(m={onIgnoreTag:function(t,e,o){var h;if(h=t,r||-1!==g.indexOf(i,h)){if(o.isClosing){var c="[/removed]",l=o.position+c.length;return a.push([!1!==n?n:o.position,l]),n=!1,c}return n||(n=o.position),"[removed]"}return s(t,e,o)},remove:function(t){var e="",i=0;return g.forEach(a,function(s){e+=t.slice(i,s[0]),i=s[1]}),e+=t.slice(i)}}).onIgnoreTag);var x=b(t,function(t,e,i,s,r){var a={sourcePosition:t,position:e,isClosing:r,isWhite:Object.prototype.hasOwnProperty.call(h,i)},n=c(i,s,a);if(null!=n)return n;if(a.isWhite){if(a.isClosing)return"</".concat(i,">");var o=function(t){var e=g.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=g.trim(t.slice(e+1,-1)))[t.length-1];return i&&(t=g.trim(t.slice(0,-1))),{html:t,closing:i}}(s),m=h[i],x=_(o.html,function(t,e){var s=-1!==g.indexOf(m,t),r=p(i,t,e,s);return null==r?s?(e=d(i,t,e,null))?"".concat(t,'="').concat(e,'"'):t:null==(r=u(i,t,e,s))?void 0:r:r});return s="<".concat(i),x&&(s+=" ".concat(x)),o.closing&&(s+=" /"),s+=">"}return null==(n=l(i,s,a))?f(s):n},f);return m&&(x=m.remove(x)),x},t}(),C=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")(),E=new(function(){function t(){var t=this;this.batchData=[],this.uniqKeys=new Set,this.timeout=2e3,this.lock=!1,this.getSlardarBid=function(){var e,i,s="douyin_web";if(!g.includes(s,"bid"))return s;if(t.config&&t.config.bid)return t.config.bid;if(C&&C._xssBid)return C._xssBid;if(C&&C.slardar&&"function"==typeof C.slardar.config){var r=(C.slardar.config()||{}).bid;if(r)return r}if(C&&C.Slardar&&"function"==typeof C.Slardar.config){var a=(C.Slardar.config()||{}).bid;if(a)return a}return(null===(i=null===(e=null==C?void 0:C.Slardar)||void 0===e?void 0:e._baseParams)||void 0===i?void 0:i.bid)||"argus"},this.getConfigRegion=function(){var e;return g.includes("cn","region")?t.config&&t.config.region?t.config.region:((null===(e=null==C?void 0:C.gfdatav1)||void 0===e?void 0:e.region)||"cn").toLowerCase():"cn"},this.gerReportUrl=function(){var e={cn:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boe:y("aHR0cHM6Ly9tb24uemlqaWVhcGkuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),ttp:y("aHR0cHM6Ly9tb24udXMudGlrdG9rdi5jb20vbW9uaXRvcl9icm93c2VyL2NvbGxlY3QvYmF0Y2gvc2VjdXJpdHkvP2JpZD0="),va:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),maliva:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),sg:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9"),boei18n:y("aHR0cHM6Ly9tb24tdmEuYnl0ZW92ZXJzZWEuY29tL21vbml0b3JfYnJvd3Nlci9jb2xsZWN0L2JhdGNoL3NlY3VyaXR5Lz9iaWQ9")}[t.getConfigRegion()];if(e)return e+t.getSlardarBid()}}return t.prototype.setConfig=function(t){this.config=t},t.prototype.upload=function(){var t=this,e=this.gerReportUrl();!this.lock&&e&&0!==this.batchData.length&&(this.lock=!0,setTimeout(function(){var i=t.batchData.slice(0,100);t.batchData=t.batchData.slice(100),C.fetch(e,{method:"post",body:JSON.stringify(i),headers:{"Content-Type":"application/json"}}).catch(function(t){}),t.lock=!1,t.upload()},this.timeout))},t.prototype.generateKey=function(t){return t.collectKey?[t.collectMode,t.collectKey].join("___"):""},t.prototype.push=function(t){this.batchData.push(t),this.upload()},t.prototype.report=function(t){var e=this.generateKey(t);if(C.fetch&&t.collectKey){var i="object"==typeof window?window.location.href:"SSR";t.documentUrl=i;var s={age:Math.floor(Date.now()),type:"xss",url:i,body:t,"user-agent":""};"enforce"===t.disposition&&"SSR"!==i||(s.url=e),"SSR"===i&&(s.url="SSR___".concat(s.url),s.body.ssr=!0),this.push(s)}},t}()),A=function(t){for(var e=0,i=function(i){Array.isArray(t[i])?0===t[i].length?delete t[i]:(t[i]=g.from(g.uniq(t[i])),e+=t[i].length):0===g.keys(t[i]).length?delete t[i]:g.keys(t[i]).forEach(function(s){t[i][s]=g.from(g.uniq(t[i][s])),e+=t[i][s].length})},s=0,r=g.keys(t);s<r.length;s++)i(r[s]);return{count:e,ret:t}};function T(t,e){return E.setConfig(e),new w(e).process(t)}function P(t){var e,i=(e=/\s|\n|\t/.exec(t))?e.index:-1;if(-1===i)return{html:"",closing:"/"===t[t.length-2]};var s="/"===(t=t.slice(i+1,-1).trim())[t.length-1];return s&&(t=t.slice(0,-1).trim()),{html:t,closing:s}}var I=function(t){return -1===(t=(t=(t=(t=t.replace(/:/gi,":")).replace(/&tab;/gi,"")).replace(/&newline;/gi,"")).replace(/(\t|\n|\r)/g,"")).indexOf("&#")?t.trim().toLowerCase():t.trim().replace(/&#(?:(x)([0-9a-f]+)|([0-9]+));?/gi,function(t,e,i,s){return String.fromCharCode(e?parseInt(i,16):parseInt(s))}).replace(/(\t|\n|\r)/g,"").toLowerCase()};function N(t,e){if(void 0===t&&(t=""),"string"!=typeof t)return!0;if(t=I(t),g.includes(t,"base64")&&!function(t){if(""===t||""===t.trim())return!0;try{return!g.includes(t,"data:text/html;base64")}catch(t){return!0}}(t))return e&&e("data:text/html;base64"),!1;var i=["expression(","behavior:","view-source:"];if(g.some(i,function(e){return -1!==t.indexOf(e)}))return g.forEach(i,function(i){-1!==t.indexOf(i)&&e&&e(i)}),!1;var s=["data:application","data:javascript","data:text/html","data:texthtml"];if(g.some(s,function(e){return -1!==t.indexOf(e)}))return g.forEach(s,function(i){-1!==t.indexOf(i)&&e&&e(i)}),!1;if(t.indexOf("javascript:")>0)return e&&e("javascript:"),!1;if(/^javascript:/i.test(t)){var r=t.slice(11).replace(/\s/g,"").trim();return!!g.some(["void","void(0)","void0","false","undefined",";"],function(t){return t===r})||(e&&e("javascript:"),!1)}return!0}var L=function(t,e){var i,s,r="<%= isSaveValidUrl =>";if("string"!=typeof t||(s=Number("<%= urlLimit =>"),void 0!==i&&(s=i),"NaN"!==t.toString()&&-1!==s&&t.length>=s)||N(t,e))return t;try{if(!0===(r=JSON.parse(r))||"true"===r){var a=new URL(t);return a.origin+a.pathname}}catch(t){}return"#"};function R(t,e,s){if(void 0===t&&(t=""),void 0===e&&(e=[]),"string"!=typeof t)return!0;if(!N(t=I(t)))return!1;var r,a={url:(r=t.match(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/)||[])[0],scheme:r[1],slash:r[2],host:r[3],port:r[4],path:r[5],query:r[6],hash:r[7]},n=a.scheme,o=a.host;return s?!!s(t):!(!n||!o)&&(!g.includes(["http","https","file"],n)||("object"==typeof window&&window&&(e=i(i([],e,!0),[location.host],!1)),g.some(e,function(t){return!!(t instanceof RegExp&&t.test(o))||t===o})))}var D={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:[]},V={collect:null,initCollect:function(){this.collect={whiteList:{},filterProtocol:[]}},removeCollect:function(){var t=A(this.collect),e=t.count,i=t.ret;return this.collect=null,{collectKey:0===e?null:JSON.stringify(i),collectMode:"white"}},onIgnoreTagAttr:function(t,e,s){return t&&g.indexOf(["href","src"],e)>-1?V.domainWhiteList&&Array.isArray(V.domainWhiteList)&&V.domainWhiteList.length>0&&!R(s,i([],V.domainWhiteList,!0))?"":"".concat(e,'="').concat(L(s,function(t){var e;null===(e=V.collect)||void 0===e||e.filterProtocol.push(t)}),'"'):t&&(g.indexOf(["style","class","id"],e)>-1||e.indexOf("data-")>-1)?"".concat(e,'="').concat(s,'"'):(V.collect.whiteList[t]=V.collect.whiteList[t]||[],void V.collect.whiteList[t].push(e))},onIgnoreTag:function(t,e){if("style"===t)return e;b(e,function(t,e,i,s){_(P(s).html.replace("/",""),function(t){V.collect.whiteList[i]=V.collect.whiteList[i]||[],V.collect.whiteList[i].push(t)})},f)},whiteList:D,mergeWhiteList:function(t){for(var e,i={},s=0,r=g.keys(D);s<r.length;s++)i[e=r[s]]=g.from(D[e]);for(var a=0,n=g.keys(t);a<n.length;a++)i[e=n[a]]=e in D?D[e].concat(t[e]):g.from(t[e]);return i},setWhiteList:function(t){for(var e=0,i=g.keys(t);e<i.length;e++){var s=i[e];this.whiteList[s]=s in D?D[s].concat(t[s]):g.from(t[s])}}};try{var O={},j="merge";g.includes(j,"override")&&(V.whiteList=O.whiteList),g.includes(j,"merge")&&V.setWhiteList(O.whiteList)}catch(t){}var M=function(t,e){for(var i={},s=0,r=g.keys(t);s<r.length;s++){var a=r[s];Array.isArray(t[a])?i[a]=g.from(t[a]):i[a]=M({},t[a])}for(var n=0,o=g.keys(e);n<o.length;n++)(a=o[n])in t?Array.isArray(t[a])?i[a]=t[a].concat(e[a]):i[a]=M(t[a],e[a]):Array.isArray(e[a])?i[a]=g.from(e[a]):i[a]=M({},e[a]);return i},F={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 B={};B.blackAttrRegExps&&(B.blackAttrRegExps=B.blackAttrRegExps.map(function(t){return new RegExp(t.toString().slice(1,t.toString().length-1))}));var U="merge";g.includes(U,"override")&&(F=B),g.includes(U,"merge")&&(F=M(F,B))}catch(t){}var Z={mode:"black",whiteList:{},blackConfig:F,collect:null,initCollect:function(){Z.collect={blackList:{},blackTags:[],blackAttrs:[],blackAttrRegExps:[],filterAttrs:[],filterList:{},filterProtocol:[]}},removeCollect:function(){var t=A(Z.collect),e=t.count,i=t.ret;return Z.collect=null,{collectKey:0===e?null:JSON.stringify(i),collectMode:"black"}},onIgnoreTag:function(t,e){var i;if(!g.includes(F.blackTags,t))return b(e,function(t,e,i,s,r){if(-1!==i.indexOf("/"))return f(s);if(r)return"</".concat(i,">");var a=P(s),n=_(a.html,function(t,e){var s,r=0;if(F.blackList[i]&&g.includes(F.blackList[i],t)&&(Z.collect.blackList[i]=Z.collect.blackList[i]||[],Z.collect.blackList[i].push(t),r++),F.blackAttrRegExps.length&&F.blackAttrRegExps.some(function(e){return e.test(t)})&&g.forEach(F.blackAttrRegExps,function(e){e.test(t)&&(Z.collect.blackAttrRegExps.push("".concat(e.toString(),"->").concat(t)),r++)}),F.blackAttrs.length&&g.includes(F.blackAttrs,t)&&(F.blackAttrs.push(t),r++),!r){if(F.filterList&&F.filterList[i]&&g.includes(F.filterList[i],t)){var a=L(e,function(t){var e;null===(e=Z.collect)||void 0===e||e.filterProtocol.push(t)});return a!==e&&(Z.collect.filterList[i]=Z.collect.filterList[i]||[],Z.collect.filterList[i].push(t)),e?"".concat(t,"='").concat(a,"'"):t}return F.filterAttrs&&g.includes(F.filterAttrs,t)?((a=L(e,function(t){var e;null===(e=Z.collect)||void 0===e||e.filterProtocol.push(t)}))!==e&&(null===(s=Z.collect)||void 0===s||s.filterAttrs.push(t)),e?"".concat(t,"='").concat(a,"'"):t):e?"".concat(t,"='").concat(e,"'"):t}});return s="<".concat(i),n&&(s+=" ".concat(n)),a.closing&&(s+=" /"),s+=">"},f);null===(i=Z.collect)||void 0===i||i.blackTags.push(t)}},Y=function(t){var e=t.reportOnly,i=void 0===e||e,s=t.block;return i&&"all"===i?"report":("string"==typeof i&&("true"===i&&(i=!0),"false"===i&&(i=!1)),s?"enforce":i?"report":"enforce")},H=function(t){return function(i,s,r){if(!i||"string"!=typeof i)return i;var a=s;t===T&&(a=V).initCollect();var n=t(i,a);if(S(n)===S(i))return i;if(!r)return n;var o=r.logType,h=Y(r),c=a.removeCollect();return E.report(e(e({type:o,disposition:h},c),{sourceText:v(i),filterText:v(n)})),"enforce"===h?n:i}},W=H(function(t,e){return void 0===e&&(e={}),e&&e.whiteList||(e.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}),new w(e).process(t)}),q=H(T),z=function(t,e,i){var s=[],r=L(t,function(t){s.push(t)});if(r===t)return t;s=g.from(g.uniq(s));var a=e||i||{};if(!a)return r;var n=a.logType,o=Y(i);return E.report({type:n,disposition:o,collectKey:s.join("___"),collectData:JSON.stringify(s),collectMode:"black",sourceText:v(t),filterText:v(r)}),"enforce"===o?r:t},G=C._xssProject||{},X=C.xssNamespace||{},J="3.0.26",K={FilterXSS:w,version:J,webpackPluginVersion:"<%= webpackPluginVersion =>",reportOnly:"<%= reportOnly =>",filterXSS:W,_filterXSS:q,filterUrl:z,Config:V,BlackConfig:Z,project:G,setProjectName:function(t){G[t]=this,C._xssProjectName=t}};X.douyin_web=K,C.xssNamespace=X,C.Math&&!C.Math.xssNamespace&&(C.Math.xssNamespace=X),G[J]=K,C.globalThis=C,C.getFilterXss=function(){return void 0!==this._xssProjectName?this._xssProject[this._xssProjectName]:K},C.xss=K,C.isSafeUrl=R,C.isSafeDomain=R,C.isSafeProtocol=N,C._xssProject=G,C._xssProjectName&&(G[C._xssProjectName]=K);var Q=K.setProjectName.bind(K);t.BlackConfig=Z,t.Config=V,t.FilterXSS=w,t._filterXSS=q,t.filterUrl=z,t.filterXSS=W,t.isSafeDomain=R,t.isSafeProtocol=N,t.isSafeUrl=R,t.project=G,t.setProjectName=Q,t.setXssNamespace=function(t){var e=t.appId,i=t.bid,s=t.region;X[e]=K;V.bid=i,V.region=s,V.enabled=!0},t.xssNamespace=X,Object.defineProperty(t,"__esModule",{value:!0})}),(self.webpackChunkdouyin_web=self.webpackChunkdouyin_web||[]).push([["70651"],{543773:function(t,e,i){"use strict";var s=i(101199),r=i(994298);let a=(0,r.A)(function(t){return s.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",focusable:!1,"aria-hidden":!0},t),s.createElement("path",{d:"M4.5 4.75a2.75 2.75 0 0 1 5.5 0v14.5a2.75 2.75 0 1 1-5.5 0V4.75Z",fill:"currentColor"}),s.createElement("path",{d:"M14 4.75a2.75 2.75 0 1 1 5.5 0v14.5a2.75 2.75 0 1 1-5.5 0V4.75Z",fill:"currentColor"}))},"pause");e.Z=a},485622:function(t,e,i){"use strict";i.d(e,{L:function(){return a},R:function(){return n}});var s=i(5554),r=i(934057),a=function(t){var e=t.getQueryByKey("__isDouyinPC"),i=t.getQueryByKey("__IS_MAGIC__"),s=t.getQueryByKey("magic");return"true"===e||"true"===i||"1"===s},n=function(t,e,i,a,n){(0,r.L5)(i,!0),e.src=n;try{e.addEventListener("load",function(){try{e.contentWindow&&(0,s.sW)(i,e.contentWindow)}catch(t){}},{once:!0})}catch(t){}}},566049:function(t,e,i){"use strict";i.d(e,{E:function(){return o}});function s(t,e){for(var i=0;i<e.length;i++){var s=e[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var a=function(t){return t&&t.Math==Math&&t},n=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof window&&window)||Function("return this")(),o=new(function(){var t,e,i;function a(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,a),r(this,"batchData",[]),r(this,"config",void 0),r(this,"reportedKeys",new Set)}return t=a,e=[{key:"setConfig",value:function(t){this.config=t}},{key:"reportByFetch",value:function(t,e){n.fetch(t,{method:"post",body:JSON.stringify(e),headers:{"Content-Type":"application/json"}}).catch(function(t){})}},{key:"report",value:function(t){if(!n.fetch||!(null===(e=this.config)||void 0===e?void 0:e.reportUrl))return;var e,i,s,a="".concat(t.logType,"_").concat(t.fieldName);if(!this.reportedKeys.has(a)){this.reportedKeys.add(a);var o=(null===(s=window)||void 0===s?void 0:null===(i=s.location)||void 0===i?void 0:i.href)||"SSR";t.documentURL=o;var h=t.documentURL;h&&"function"==typeof h.split&&(h=h.split("?")[0]);var c={age:Math.floor(Date.now()),type:"argus-bait",url:h,body:{reportString:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},s=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(i).filter(function(t){return Object.getOwnPropertyDescriptor(i,t).enumerable}))),s.forEach(function(e){r(t,e,i[e])})}return t}({},t),reportInt:{a:1}},"user-agent":""};this.send(this.config.reportUrl,[c])}}},{key:"send",value:function(t,e){if("undefined"!=typeof window&&void 0!==window.navigator&&"function"==typeof window.navigator.sendBeacon)try{!window.navigator.sendBeacon(t,JSON.stringify(e))&&this.reportByFetch(t,e)}catch(t){}else this.reportByFetch(t,e)}}],s(t.prototype,e),a}())},821663:function(t,e,i){"use strict";i.d(e,{C:function(){return c},i:function(){return h}});var s=Object.defineProperty,r=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable,o=(t,e,i)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,h=(t,e)=>{for(var i in e||(e={}))a.call(e,i)&&o(t,i,e[i]);if(r)for(var i of r(e))n.call(e,i)&&o(t,i,e[i]);return t},c=(t,e,i)=>new Promise((s,r)=>{var a=t=>{try{o(i.next(t))}catch(t){r(t)}},n=t=>{try{o(i.throw(t))}catch(t){r(t)}},o=t=>t.done?s(t.value):Promise.resolve(t.value).then(a,n);o((i=i.apply(t,e)).next())})},291046:function(t,e){var i;i=0,function(t){"use strict";var e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],s="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},a="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",n={5:a,"5module":a+" export import",6:a+" const class extends export import super"},o=/^in(stanceof)?$/,h=RegExp("["+s+"]"),c=RegExp("["+s+"\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function l(t,e){for(var i=65536,s=0;s<e.length&&!((i+=e[s])>t);s+=2){;if((i+=e[s+1])>=t)return!0}return!1}function p(t,e){return t<65?36===t:!!(t<91)||(t<97?95===t:!!(t<123)||(t<=65535?t>=170&&h.test(String.fromCharCode(t)):!1!==e&&l(t,i)))}function u(t,s){return t<48?36===t:!!(t<58)||!(t<65)&&(!!(t<91)||(t<97?95===t:!!(t<123)||(t<=65535?t>=170&&c.test(String.fromCharCode(t)):!1!==s&&(l(t,i)||l(t,e)))))}var d=function(t,e){void 0===e&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function f(t,e){return new d(t,{beforeExpr:!0,binop:e})}var g={beforeExpr:!0},m={startsExpr:!0},x={};function v(t,e){return void 0===e&&(e={}),e.keyword=t,x[t]=new d(t,e)}var y={num:new d("num",m),regexp:new d("regexp",m),string:new d("string",m),name:new d("name",m),privateId:new d("privateId",m),eof:new d("eof"),bracketL:new d("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new d("]"),braceL:new d("{",{beforeExpr:!0,startsExpr:!0}),braceR:new d("}"),parenL:new d("(",{beforeExpr:!0,startsExpr:!0}),parenR:new d(")"),comma:new d(",",g),semi:new d(";",g),colon:new d(":",g),dot:new d("."),question:new d("?",g),questionDot:new d("?."),arrow:new d("=>",g),template:new d("template"),invalidTemplate:new d("invalidTemplate"),ellipsis:new d("...",g),backQuote:new d("`",m),dollarBraceL:new d("${",{beforeExpr:!0,startsExpr:!0}),eq:new d("=",{beforeExpr:!0,isAssign:!0}),assign:new d("_=",{beforeExpr:!0,isAssign:!0}),incDec:new d("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new d("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:f("||",1),logicalAND:f("&&",2),bitwiseOR:f("|",3),bitwiseXOR:f("^",4),bitwiseAND:f("&",5),equality:f("==/!=/===/!==",6),relational:f("</>/<=/>=",7),bitShift:f("<</>>/>>>",8),plusMin:new d("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:f("%",10),star:f("*",10),slash:f("/",10),starstar:new d("**",{beforeExpr:!0}),coalesce:f("??",1),_break:v("break"),_case:v("case",g),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",g),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",g),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",m),_if:v("if"),_return:v("return",g),_switch:v("switch"),_throw:v("throw",g),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",m),_super:v("super",m),_class:v("class",m),_extends:v("extends",g),_export:v("export"),_import:v("import",m),_null:v("null",m),_true:v("true",m),_false:v("false",m),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},b=/\r\n?|\n|\u2028|\u2029/,_=RegExp(b.source,"g");function k(t){return 10===t||13===t||8232===t||8233===t}function S(t,e,i){void 0===i&&(i=t.length);for(var s=e;s<i;s++){var r=t.charCodeAt(s);if(k(r))return s<i-1&&13===r&&10===t.charCodeAt(s+1)?s+2:s+1}return -1}var w=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,C=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,E=Object.prototype,A=E.hasOwnProperty,T=E.toString,P=Object.hasOwn||function(t,e){return A.call(t,e)},I=Array.isArray||function(t){return"[object Array]"===T.call(t)},N=Object.create(null);function L(t){return N[t]||(N[t]=RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function R(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,(1023&t)+56320)}var D=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,V=function(t,e){this.line=t,this.column=e};V.prototype.offset=function(t){return new V(this.line,this.column+t)};var O=function(t,e,i){this.start=e,this.end=i,null!==t.sourceFile&&(this.source=t.sourceFile)};function j(t,e){for(var i=1,s=0;;){var r=S(t,s,e);if(r<0)return new V(i,e-s);++i,s=r}}var M={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},F=!1,B=259;function U(t,e){return 2|(t?4:0)|(e?8:0)}var Z=function(t,e,i){this.options=t=function(t){var e={};for(var i in M)e[i]=t&&P(t,i)?t[i]:M[i];if("latest"===e.ecmaVersion?e.ecmaVersion=1e8:null==e.ecmaVersion?(!F&&"object"==typeof console&&console.warn&&(F=!0),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),(!t||null==t.allowHashBang)&&(e.allowHashBang=e.ecmaVersion>=14),I(e.onToken)){var s=e.onToken;e.onToken=function(t){return s.push(t)}}return I(e.onComment)&&(e.onComment=function(t,e){return function(i,s,r,a,n,o){var h={type:i?"Block":"Line",value:s,start:r,end:a};t.locations&&(h.loc=new O(this,n,o)),t.ranges&&(h.range=[r,a]),e.push(h)}}(e,e.onComment)),e}(t),this.sourceFile=t.sourceFile,this.keywords=L(n[t.ecmaVersion>=6?6:"module"===t.sourceType?"5module":5]);var s="";!0!==t.allowReserved&&(s=r[t.ecmaVersion>=6?6:5===t.ecmaVersion?5:3],"module"===t.sourceType&&(s+=" await")),this.reservedWords=L(s);var a=(s?s+" ":"")+r.strict;this.reservedWordsStrict=L(a),this.reservedWordsStrictBind=L(a+" "+r.strictBind),this.input=String(e),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(b).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===t.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&t.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},Y={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Z.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},Y.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Y.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},Y.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},Y.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t].flags;if(768&e)return!1;if(2&e)return(4&e)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Y.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},Y.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Y.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Y.allowNewDotTarget.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t].flags;if(768&e||2&e&&!(16&e))return!0}return!1},Y.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},Z.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var i=this,s=0;s<t.length;s++)i=t[s](i);return i},Z.parse=function(t,e){return new this(e,t).parse()},Z.parseExpressionAt=function(t,e,i){var s=new this(i,t,e);return s.nextToken(),s.parseExpression()},Z.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(Z.prototype,Y);var H=Z.prototype,W=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;H.strictDirective=function(t){if(this.options.ecmaVersion<5)return!1;for(;;){C.lastIndex=t,t+=C.exec(this.input)[0].length;var e=W.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2])){C.lastIndex=t+e[0].length;var i=C.exec(this.input),s=i.index+i[0].length,r=this.input.charAt(s);return";"===r||"}"===r||b.test(i[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(r)||"!"===r&&"="===this.input.charAt(s+1))}t+=e[0].length,C.lastIndex=t,t+=C.exec(this.input)[0].length,";"===this.input[t]&&t++}},H.eat=function(t){return this.type===t&&(this.next(),!0)},H.isContextual=function(t){return this.type===y.name&&this.value===t&&!this.containsEsc},H.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},H.expectContextual=function(t){!this.eatContextual(t)&&this.unexpected()},H.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||b.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()},H.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),!e&&this.next(),!0},H.expect=function(t){this.eat(t)||this.unexpected()},H.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")};var q=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};H.checkPatternErrors=function(t,e){if(!!t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var i=e?t.parenthesizedAssign:t.parenthesizedBind;i>-1&&this.raiseRecoverable(i,e?"Assigning to rvalue":"Parenthesized pattern")}},H.checkExpressionErrors=function(t,e){if(!t)return!1;var i=t.shorthandAssign,s=t.doubleProto;if(!e)return i>=0||s>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},H.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var z=Z.prototype;z.parseTopLevel=function(t){var e=Object.create(null);for(!t.body&&(t.body=[]);this.type!==y.eof;){var i=this.parseStatement(null,!0,e);t.body.push(i)}if(this.inModule)for(var s=0,r=Object.keys(this.undefinedExports);s<r.length;s+=1){var a=r[s];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var G={kind:"loop"},X={kind:"switch"};z.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;C.lastIndex=this.pos;var e=C.exec(this.input),i=this.pos+e[0].length,s=this.input.charCodeAt(i);if(91===s||92===s)return!0;if(t)return!1;if(123===s||s>55295&&s<56320)return!0;if(p(s,!0)){for(var r=i+1;u(s=this.input.charCodeAt(r),!0);)++r;if(92===s||s>55295&&s<56320)return!0;var a=this.input.slice(i,r);if(!o.test(a))return!0}return!1},z.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;C.lastIndex=this.pos;var t=C.exec(this.input),e,i=this.pos+t[0].length;return!b.test(this.input.slice(this.pos,i))&&"function"===this.input.slice(i,i+8)&&(i+8===this.input.length||!(u(e=this.input.charCodeAt(i+8))||e>55295&&e<56320))},z.parseStatement=function(t,e,i){var s,r=this.type,a=this.startNode();switch(this.isLet(t)&&(r=y._var,s="let"),r){case y._break:case y._continue:return this.parseBreakContinueStatement(a,r.keyword);case y._debugger:return this.parseDebuggerStatement(a);case y._do:return this.parseDoStatement(a);case y._for:return this.parseForStatement(a);case y._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!t);case y._class:return t&&this.unexpected(),this.parseClass(a,!0);case y._if:return this.parseIfStatement(a);case y._return:return this.parseReturnStatement(a);case y._switch:return this.parseSwitchStatement(a);case y._throw:return this.parseThrowStatement(a);case y._try:return this.parseTryStatement(a);case y._const:case y._var:return s=s||this.value,t&&"var"!==s&&this.unexpected(),this.parseVarStatement(a,s);case y._while:return this.parseWhileStatement(a);case y._with:return this.parseWithStatement(a);case y.braceL:return this.parseBlock(!0,a);case y.semi:return this.parseEmptyStatement(a);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){C.lastIndex=this.pos;var n=C.exec(this.input),o=this.pos+n[0].length,h=this.input.charCodeAt(o);if(40===h||46===h)return this.parseExpressionStatement(a,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(!e&&this.raise(this.start,"'import' and 'export' may only appear at the top level"),!this.inModule&&this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===y._import?this.parseImport(a):this.parseExport(a,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!t);var c=this.value,l=this.parseExpression();if(r===y.name&&"Identifier"===l.type&&this.eat(y.colon))return this.parseLabeledStatement(a,c,l,t);return this.parseExpressionStatement(a,l)}},z.parseBreakContinueStatement=function(t,e){var i="break"===e;this.next(),this.eat(y.semi)||this.insertSemicolon()?t.label=null:this.type!==y.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var r=this.labels[s];if((null==t.label||r.name===t.label.name)&&(null!=r.kind&&(i||"loop"===r.kind)||t.label&&i))break}return s===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,i?"BreakStatement":"ContinueStatement")},z.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},z.parseDoStatement=function(t){return this.next(),this.labels.push(G),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},z.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(G),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var i=this.isLet();if(this.type===y._var||this.type===y._const||i){var s=this.startNode(),r=i?"let":this.value;return(this.next(),this.parseVar(s,!0,r),this.finishNode(s,"VariableDeclaration"),(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===s.declarations.length)?(this.options.ecmaVersion>=9&&(this.type===y._in?e>-1&&this.unexpected(e):t.await=e>-1),this.parseForIn(t,s)):(e>-1&&this.unexpected(e),this.parseFor(t,s))}var a=this.isContextual("let"),n=!1,o=this.containsEsc,h=new q,c=this.start,l=e>-1?this.parseExprSubscripts(h,"await"):this.parseExpression(!0,h);return this.type===y._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))?(e>-1?(this.type===y._in&&this.unexpected(e),t.await=!0):n&&this.options.ecmaVersion>=8&&(l.start!==c||o||"Identifier"!==l.type||"async"!==l.name?this.options.ecmaVersion>=9&&(t.await=!1):this.unexpected()),a&&n&&this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(l,!1,h),this.checkLValPattern(l),this.parseForIn(t,l)):(this.checkExpressionErrors(h,!0),e>-1&&this.unexpected(e),this.parseFor(t,l))},z.parseFunctionStatement=function(t,e,i){return this.next(),this.parseFunction(t,K|(i?0:Q),!1,e)},z.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},z.parseReturnStatement=function(t){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},z.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(y.braceL),this.labels.push(X),this.enterScope(0);for(var e,i=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var s=this.type===y._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),s?e.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,e.test=null),this.expect(y.colon)}else!e&&this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},z.parseThrowStatement=function(t){return this.next(),b.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var J=[];z.parseCatchClauseParam=function(){var t=this.parseBindingAtom(),e="Identifier"===t.type;return this.enterScope(e?32:0),this.checkLValPattern(t,e?4:2),this.expect(y.parenR),t},z.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===y._catch){var e=this.startNode();this.next(),this.eat(y.parenL)?e.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0)),e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(y._finally)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},z.parseVarStatement=function(t,e,i){return this.next(),this.parseVar(t,!1,e,i),this.semicolon(),this.finishNode(t,"VariableDeclaration")},z.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(G),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},z.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},z.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},z.parseLabeledStatement=function(t,e,i,s){for(var r=0,a=this.labels;r<a.length;r+=1)a[r].name===e&&this.raise(i.start,"Label '"+e+"' is already declared");for(var n=this.type.isLoop?"loop":this.type===y._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var h=this.labels[o];if(h.statementStart===t.start)h.statementStart=this.start,h.kind=n;else break}return this.labels.push({name:e,kind:n,statementStart:this.start}),t.body=this.parseStatement(s?-1===s.indexOf("label")?s+"label":s:"label"),this.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")},z.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},z.parseBlock=function(t,e,i){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(y.braceL),t&&this.enterScope(0);this.type!==y.braceR;){var s=this.parseStatement(null);e.body.push(s)}return i&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(e,"BlockStatement")},z.parseFor=function(t,e){return t.init=e,this.expect(y.semi),t.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),t.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},z.parseForIn=function(t,e){var i=this.type===y._in;return this.next(),"VariableDeclaration"===e.type&&null!=e.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==e.kind||"Identifier"!==e.declarations[0].id.type)&&this.raise(e.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),t.left=e,t.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")},z.parseVar=function(t,e,i,s){for(t.declarations=[],t.kind=i;;){var r=this.startNode();if(this.parseVarId(r,i),this.eat(y.eq)?r.init=this.parseMaybeAssign(e):s||"const"!==i||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?s||"Identifier"===r.id.type||e&&(this.type===y._in||this.isContextual("of"))?r.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(y.comma))break}return t},z.parseVarId=function(t,e){t.id=this.parseBindingAtom(),this.checkLValPattern(t.id,"var"===e?1:2,!1)};var K=1,Q=2;z.parseFunction=function(t,e,i,s,r){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s)&&(this.type===y.star&&e&Q&&this.unexpected(),t.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(t.async=!!s),e&K&&(t.id=4&e&&this.type!==y.name?null:this.parseIdent(),t.id&&!(e&Q)&&this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?1:2:3));var a=this.yieldPos,n=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(U(t.async,t.generator)),!(e&K)&&(t.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1,r),this.yieldPos=a,this.awaitPos=n,this.awaitIdentPos=o,this.finishNode(t,e&K?"FunctionDeclaration":"FunctionExpression")},z.parseFunctionParams=function(t){this.expect(y.parenL),t.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},z.parseClass=function(t,e){this.next();var i=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var s=this.enterClassBody(),r=this.startNode(),a=!1;for(r.body=[],this.expect(y.braceL);this.type!==y.braceR;){var n=this.parseClassElement(null!==t.superClass);n&&(r.body.push(n),"MethodDefinition"===n.type&&"constructor"===n.kind?(a&&this.raiseRecoverable(n.start,"Duplicate constructor in the same class"),a=!0):n.key&&"PrivateIdentifier"===n.key.type&&function(t,e){var i=e.key.name,s=t[i],r="true";return("MethodDefinition"===e.type&&("get"===e.kind||"set"===e.kind)&&(r=(e.static?"s":"i")+e.kind),"iget"===s&&"iset"===r||"iset"===s&&"iget"===r||"sget"===s&&"sset"===r||"sset"===s&&"sget"===r)?(t[i]="true",!1):!!s||(t[i]=r,!1)}(s,n)&&this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared"))}return this.strict=i,this.next(),t.body=this.finishNode(r,"ClassBody"),this.exitClassBody(),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},z.parseClassElement=function(t){if(this.eat(y.semi))return null;var e=this.options.ecmaVersion,i=this.startNode(),s="",r=!1,a=!1,n="method",o=!1;if(this.eatContextual("static")){if(e>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(i),i;this.isClassElementNameStart()||this.type===y.star?o=!0:s="static"}if(i.static=o,!s&&e>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===y.star)&&!this.canInsertSemicolon()?a=!0:s="async"),!s&&(e>=9||!a)&&this.eat(y.star)&&(r=!0),!s&&!a&&!r){var h=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?n=h:s=h)}if(s?(i.computed=!1,i.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),i.key.name=s,this.finishNode(i.key,"Identifier")):this.parseClassElementName(i),e<13||this.type===y.parenL||"method"!==n||r||a){var c=!i.static&&$(i,"constructor");c&&"method"!==n&&this.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=c?"constructor":n,this.parseClassMethod(i,r,a,c&&t)}else this.parseClassField(i);return i},z.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword},z.parseClassElementName=function(t){this.type===y.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),t.computed=!1,t.key=this.parsePrivateIdent()):this.parsePropertyName(t)},z.parseClassMethod=function(t,e,i,s){var r=t.key;"constructor"===t.kind?(e&&this.raise(r.start,"Constructor can't be a generator"),i&&this.raise(r.start,"Constructor can't be an async method")):t.static&&$(t,"prototype")&&this.raise(r.start,"Classes may not have a static property named prototype");var a=t.value=this.parseMethod(e,i,s);return"get"===t.kind&&0!==a.params.length&&this.raiseRecoverable(a.start,"getter should have no params"),"set"===t.kind&&1!==a.params.length&&this.raiseRecoverable(a.start,"setter should have exactly one param"),"set"===t.kind&&"RestElement"===a.params[0].type&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(t,"MethodDefinition")},z.parseClassField=function(t){return $(t,"constructor")?this.raise(t.key.start,"Classes can't have a field named 'constructor'"):t.static&&$(t,"prototype")&&this.raise(t.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.eq)?(this.enterScope(576),t.value=this.parseMaybeAssign(),this.exitScope()):t.value=null,this.semicolon(),this.finishNode(t,"PropertyDefinition")},z.parseClassStaticBlock=function(t){t.body=[];var e=this.labels;for(this.labels=[],this.enterScope(320);this.type!==y.braceR;){var i=this.parseStatement(null);t.body.push(i)}return this.next(),this.exitScope(),this.labels=e,this.finishNode(t,"StaticBlock")},z.parseClassId=function(t,e){this.type===y.name?(t.id=this.parseIdent(),e&&this.checkLValSimple(t.id,2,!1)):(!0===e&&this.unexpected(),t.id=null)},z.parseClassSuper=function(t){t.superClass=this.eat(y._extends)?this.parseExprSubscripts(null,!1):null},z.enterClassBody=function(){var t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared},z.exitClassBody=function(){var t=this.privateNameStack.pop(),e=t.declared,i=t.used;if(!!this.options.checkPrivateFields)for(var s=this.privateNameStack.length,r=0===s?null:this.privateNameStack[s-1],a=0;a<i.length;++a){var n=i[a];!P(e,n.name)&&(r?r.used.push(n):this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"))}};function $(t,e){var i=t.computed,s=t.key;return!i&&("Identifier"===s.type&&s.name===e||"Literal"===s.type&&s.value===e)}z.parseExportAllDeclaration=function(t,e){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseModuleExportName(),this.checkExport(e,t.exported,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ExportAllDeclaration")},z.parseExport=function(t,e){if(this.next(),this.eat(y.star))return this.parseExportAllDeclaration(t,e);if(this.eat(y._default))return this.checkExport(e,"default",this.lastTokStart),t.declaration=this.parseExportDefaultDeclaration(),this.finishNode(t,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())t.declaration=this.parseExportDeclaration(t),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id,t.declaration.id.start),t.specifiers=[],t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[]);else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause());else{for(var i=0,s=t.specifiers;i<s.length;i+=1){var r=s[i];this.checkUnreserved(r.local),this.checkLocalExport(r.local),"Literal"===r.local.type&&this.raise(r.local.start,"A string literal cannot be used as an exported binding without `from`.")}t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[])}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},z.parseExportDeclaration=function(t){return this.parseStatement(null)},z.parseExportDefaultDeclaration=function(){if(this.type===y._function||(t=this.isAsyncFunction())){var t,e=this.startNode();return this.next(),t&&this.next(),this.parseFunction(e,4|K,!1,t)}if(this.type===y._class){var i=this.startNode();return this.parseClass(i,"nullableID")}var s=this.parseMaybeAssign();return this.semicolon(),s},z.checkExport=function(t,e,i){if(!!t)"string"!=typeof e&&(e="Identifier"===e.type?e.name:e.value),P(t,e)&&this.raiseRecoverable(i,"Duplicate export '"+e+"'"),t[e]=!0},z.checkPatternExport=function(t,e){var i=e.type;if("Identifier"===i)this.checkExport(t,e,e.start);else if("ObjectPattern"===i)for(var s=0,r=e.properties;s<r.length;s+=1){var a=r[s];this.checkPatternExport(t,a)}else if("ArrayPattern"===i)for(var n=0,o=e.elements;n<o.length;n+=1){var h=o[n];h&&this.checkPatternExport(t,h)}else"Property"===i?this.checkPatternExport(t,e.value):"AssignmentPattern"===i?this.checkPatternExport(t,e.left):"RestElement"===i&&this.checkPatternExport(t,e.argument)},z.checkVariableExport=function(t,e){if(!!t)for(var i=0;i<e.length;i+=1){var s=e[i];this.checkPatternExport(t,s.id)}},z.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},z.parseExportSpecifier=function(t){var e=this.startNode();return e.local=this.parseModuleExportName(),e.exported=this.eatContextual("as")?this.parseModuleExportName():e.local,this.checkExport(t,e.exported,e.exported.start),this.finishNode(e,"ExportSpecifier")},z.parseExportSpecifiers=function(t){var e=[],i=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(i)i=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;e.push(this.parseExportSpecifier(t))}return e},z.parseImport=function(t){return this.next(),this.type===y.string?(t.specifiers=J,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},z.parseImportSpecifier=function(){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.eatContextual("as")?t.local=this.parseIdent():(this.checkUnreserved(t.imported),t.local=t.imported),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportSpecifier")},z.parseImportDefaultSpecifier=function(){var t=this.startNode();return t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportDefaultSpecifier")},z.parseImportNamespaceSpecifier=function(){var t=this.startNode();return this.next(),this.expectContextual("as"),t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportNamespaceSpecifier")},z.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===y.name&&(t.push(this.parseImportDefaultSpecifier()),!this.eat(y.comma)))return t;if(this.type===y.star)return t.push(this.parseImportNamespaceSpecifier()),t;for(this.expect(y.braceL);!this.eat(y.braceR);){if(e)e=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;t.push(this.parseImportSpecifier())}return t},z.parseWithClause=function(){var t=[];if(!this.eat(y._with))return t;this.expect(y.braceL);for(var e={},i=!0;!this.eat(y.braceR);){if(i)i=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var s=this.parseImportAttribute(),r="Identifier"===s.key.type?s.key.name:s.key.value;P(e,r)&&this.raiseRecoverable(s.key.start,"Duplicate attribute key '"+r+"'"),e[r]=!0,t.push(s)}return t},z.parseImportAttribute=function(){var t=this.startNode();return t.key=this.type===y.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(y.colon),this.type!==y.string&&this.unexpected(),t.value=this.parseExprAtom(),this.finishNode(t,"ImportAttribute")},z.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var t=this.parseLiteral(this.value);return D.test(t.value)&&this.raise(t.start,"An export name cannot include a lone surrogate."),t}return this.parseIdent(!0)},z.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},z.isDirectiveCandidate=function(t){return this.options.ecmaVersion>=5&&"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&('"'===this.input[t.start]||"'"===this.input[t.start])};var tt=Z.prototype;tt.toAssignable=function(t,e,i){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var s=0,r=t.properties;s<r.length;s+=1){var a=r[s];this.toAssignable(a,e),"RestElement"===a.type&&("ArrayPattern"===a.argument.type||"ObjectPattern"===a.argument.type)&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":"init"!==t.kind&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",i&&this.checkPatternErrors(i,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),"AssignmentPattern"===t.argument.type&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,i);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else i&&this.checkPatternErrors(i,!0);return t},tt.toAssignableList=function(t,e){for(var i=t.length,s=0;s<i;s++){var r=t[s];r&&this.toAssignable(r,e)}if(i){var a=t[i-1];6===this.options.ecmaVersion&&e&&a&&"RestElement"===a.type&&"Identifier"!==a.argument.type&&this.unexpected(a.argument.start)}return t},tt.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},tt.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==y.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},tt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()},tt.parseBindingList=function(t,e,i,s){for(var r=[],a=!0;!this.eat(t);)if(a?a=!1:this.expect(y.comma),e&&this.type===y.comma)r.push(null);else if(i&&this.afterTrailingComma(t))break;else if(this.type===y.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),r.push(n),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}else r.push(this.parseAssignableListItem(s));return r},tt.parseAssignableListItem=function(t){var e=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(e),e},tt.parseBindingListItem=function(t){return t},tt.parseMaybeDefault=function(t,e,i){if(i=i||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return i;var s=this.startNodeAt(t,e);return s.left=i,s.right=this.parseMaybeAssign(),this.finishNode(s,"AssignmentPattern")},tt.checkLValSimple=function(t,e,i){void 0===e&&(e=0);var s=0!==e;switch(t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(s?"Binding ":"Assigning to ")+t.name+" in strict mode"),s&&(2===e&&"let"===t.name&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),i&&(P(i,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),i[t.name]=!0),5!==e&&this.declareName(t.name,e,t.start));break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":s&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":return s&&this.raiseRecoverable(t.start,"Binding parenthesized expression"),this.checkLValSimple(t.expression,e,i);default:this.raise(t.start,(s?"Binding":"Assigning to")+" rvalue")}},tt.checkLValPattern=function(t,e,i){switch(void 0===e&&(e=0),t.type){case"ObjectPattern":for(var s=0,r=t.properties;s<r.length;s+=1){var a=r[s];this.checkLValInnerPattern(a,e,i)}break;case"ArrayPattern":for(var n=0,o=t.elements;n<o.length;n+=1){var h=o[n];h&&this.checkLValInnerPattern(h,e,i)}break;default:this.checkLValSimple(t,e,i)}},tt.checkLValInnerPattern=function(t,e,i){switch(void 0===e&&(e=0),t.type){case"Property":this.checkLValInnerPattern(t.value,e,i);break;case"AssignmentPattern":this.checkLValPattern(t.left,e,i);break;case"RestElement":this.checkLValPattern(t.argument,e,i);break;default:this.checkLValPattern(t,e,i)}};var te=function(t,e,i,s,r){this.token=t,this.isExpr=!!e,this.preserveSpace=!!i,this.override=s,this.generator=!!r},ti={b_stat:new te("{",!1),b_expr:new te("{",!0),b_tmpl:new te("${",!1),p_stat:new te("(",!1),p_expr:new te("(",!0),q_tmpl:new te("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new te("function",!1),f_expr:new te("function",!0),f_expr_gen:new te("function",!0,!1,null,!0),f_gen:new te("function",!1,!1,null,!0)},ts=Z.prototype;ts.initialContext=function(){return[ti.b_stat]},ts.curContext=function(){return this.context[this.context.length-1]},ts.braceIsBlock=function(t){var e=this.curContext();return e===ti.f_expr||e===ti.f_stat||(t===y.colon&&(e===ti.b_stat||e===ti.b_expr)?!e.isExpr:t===y._return||t===y.name&&this.exprAllowed?b.test(this.input.slice(this.lastTokEnd,this.start)):t===y._else||t===y.semi||t===y.eof||t===y.parenR||t===y.arrow||(t===y.braceL?e===ti.b_stat:t!==y._var&&t!==y._const&&t!==y.name&&!this.exprAllowed))},ts.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if("function"===e.token)return e.generator}return!1},ts.updateContext=function(t){var e,i=this.type;i.keyword&&t===y.dot?this.exprAllowed=!1:(e=i.updateContext)?e.call(this,t):this.exprAllowed=i.beforeExpr},ts.overrideContext=function(t){this.curContext()!==t&&(this.context[this.context.length-1]=t)},y.parenR.updateContext=y.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var t=this.context.pop();t===ti.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr},y.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?ti.b_stat:ti.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(ti.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(t){var e=t===y._if||t===y._for||t===y._with||t===y._while;this.context.push(e?ti.p_stat:ti.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(t){!t.beforeExpr||t===y._else||t===y.semi&&this.curContext()!==ti.p_stat||t===y._return&&b.test(this.input.slice(this.lastTokEnd,this.start))||(t===y.colon||t===y.braceL)&&this.curContext()===ti.b_stat?this.context.push(ti.f_stat):this.context.push(ti.f_expr),this.exprAllowed=!1},y.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},y.backQuote.updateContext=function(){this.curContext()===ti.q_tmpl?this.context.pop():this.context.push(ti.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(t){if(t===y._function){var e=this.context.length-1;this.context[e]===ti.f_expr?this.context[e]=ti.f_expr_gen:this.context[e]=ti.f_gen}this.exprAllowed=!0},y.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==y.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var tr=Z.prototype;tr.checkPropClash=function(t,e,i){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==t.type)&&(!(this.options.ecmaVersion>=6)||!t.computed&&!t.method&&!t.shorthand)){var s,r,a=t.key;switch(a.type){case"Identifier":s=a.name;break;case"Literal":s=String(a.value);break;default:return}var n=t.kind;if(this.options.ecmaVersion>=6){"__proto__"===s&&"init"===n&&(e.proto&&(i?i.doubleProto<0&&(i.doubleProto=a.start):this.raiseRecoverable(a.start,"Redefinition of __proto__ property")),e.proto=!0);return}var o=e[s="$"+s];o?(r="init"===n?this.strict&&o.init||o.get||o.set:o.init||o[n])&&this.raiseRecoverable(a.start,"Redefinition of property"):o=e[s]={init:!1,get:!1,set:!1},o[n]=!0}},tr.parseExpression=function(t,e){var i=this.start,s=this.startLoc,r=this.parseMaybeAssign(t,e);if(this.type===y.comma){var a=this.startNodeAt(i,s);for(a.expressions=[r];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(a,"SequenceExpression")}return r},tr.parseMaybeAssign=function(t,e,i){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var s=!1,r=-1,a=-1,n=-1;e?(r=e.parenthesizedAssign,a=e.trailingComma,n=e.doubleProto,e.parenthesizedAssign=e.trailingComma=-1):(e=new q,s=!0);var o=this.start,h=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===t);var c=this.parseMaybeConditional(t,e);if(i&&(c=i.call(this,c,o,h)),this.type.isAssign){var l=this.startNodeAt(o,h);return l.operator=this.value,this.type===y.eq&&(c=this.toAssignable(c,!1,e)),!s&&(e.parenthesizedAssign=e.trailingComma=e.doubleProto=-1),e.shorthandAssign>=c.start&&(e.shorthandAssign=-1),this.type===y.eq?this.checkLValPattern(c):this.checkLValSimple(c),l.left=c,this.next(),l.right=this.parseMaybeAssign(t),n>-1&&(e.doubleProto=n),this.finishNode(l,"AssignmentExpression")}return s&&this.checkExpressionErrors(e,!0),r>-1&&(e.parenthesizedAssign=r),a>-1&&(e.trailingComma=a),c},tr.parseMaybeConditional=function(t,e){var i=this.start,s=this.startLoc,r=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return r;if(this.eat(y.question)){var a=this.startNodeAt(i,s);return a.test=r,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(t),this.finishNode(a,"ConditionalExpression")}return r},tr.parseExprOps=function(t,e){var i=this.start,s=this.startLoc,r=this.parseMaybeUnary(e,!1,!1,t);return this.checkExpressionErrors(e)?r:r.start===i&&"ArrowFunctionExpression"===r.type?r:this.parseExprOp(r,i,s,-1,t)},tr.parseExprOp=function(t,e,i,s,r){var a=this.type.binop;if(null!=a&&(!r||this.type!==y._in)&&a>s){var n=this.type===y.logicalOR||this.type===y.logicalAND,o=this.type===y.coalesce;o&&(a=y.logicalAND.binop);var h=this.value;this.next();var c=this.start,l=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,r),c,l,a,r),u=this.buildBinary(e,i,t,p,h,n||o);return(n&&this.type===y.coalesce||o&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(u,e,i,s,r)}return t},tr.buildBinary=function(t,e,i,s,r,a){"PrivateIdentifier"===s.type&&this.raise(s.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(t,e);return n.left=i,n.operator=r,n.right=s,this.finishNode(n,a?"LogicalExpression":"BinaryExpression")},tr.parseMaybeUnary=function(t,e,i,s){var r,a=this.start,n=this.startLoc;if(this.isContextual("await")&&this.canAwait)r=this.parseAwait(s),e=!0;else if(this.type.prefix){var o=this.startNode(),h=this.type===y.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,h,s),this.checkExpressionErrors(t,!0),h?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function t(e){return"Identifier"===e.type||"ParenthesizedExpression"===e.type&&t(e.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function t(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&t(e.expression)||"ParenthesizedExpression"===e.type&&t(e.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):e=!0,r=this.finishNode(o,h?"UpdateExpression":"UnaryExpression")}else if(e||this.type!==y.privateId){if(r=this.parseExprSubscripts(t,s),this.checkExpressionErrors(t))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(a,n);c.operator=this.value,c.prefix=!1,c.argument=r,this.checkLValSimple(r),this.next(),r=this.finishNode(c,"UpdateExpression")}}else(s||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),r=this.parsePrivateIdent(),this.type!==y._in&&this.unexpected();if(!(!i&&this.eat(y.starstar)))return r;if(!e)return this.buildBinary(a,n,r,this.parseMaybeUnary(null,!1,!1,s),"**",!1);this.unexpected(this.lastTokStart)};tr.parseExprSubscripts=function(t,e){var i=this.start,s=this.startLoc,r=this.parseExprAtom(t,e);if("ArrowFunctionExpression"===r.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return r;var a=this.parseSubscripts(r,i,s,!1,e);return t&&"MemberExpression"===a.type&&(t.parenthesizedAssign>=a.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=a.start&&(t.parenthesizedBind=-1),t.trailingComma>=a.start&&(t.trailingComma=-1)),a},tr.parseSubscripts=function(t,e,i,s,r){for(var a=this.options.ecmaVersion>=8&&"Identifier"===t.type&&"async"===t.name&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&this.potentialArrowAt===t.start,n=!1;;){var o=this.parseSubscript(t,e,i,s,a,n,r);if(o.optional&&(n=!0),o===t||"ArrowFunctionExpression"===o.type){if(n){var h=this.startNodeAt(e,i);h.expression=o,o=this.finishNode(h,"ChainExpression")}return o}t=o}},tr.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(y.arrow)},tr.parseSubscriptAsyncArrow=function(t,e,i,s){return this.parseArrowExpression(this.startNodeAt(t,e),i,!0,s)},tr.parseSubscript=function(t,e,i,s,r,a,n){var o=this.options.ecmaVersion>=11,h=o&&this.eat(y.questionDot);s&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(y.bracketL);if(c||h&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var l=this.startNodeAt(e,i);l.object=t,c?(l.property=this.parseExpression(),this.expect(y.bracketR)):this.type===y.privateId&&"Super"!==t.type?l.property=this.parsePrivateIdent():l.property=this.parseIdent("never"!==this.options.allowReserved),l.computed=!!c,o&&(l.optional=h),t=this.finishNode(l,"MemberExpression")}else if(!s&&this.eat(y.parenL)){var p=new q,u=this.yieldPos,d=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var g=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,p);if(r&&!h&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=u,this.awaitPos=d,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(e,i,g,n);this.checkExpressionErrors(p,!0),this.yieldPos=u||this.yieldPos,this.awaitPos=d||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var m=this.startNodeAt(e,i);m.callee=t,m.arguments=g,o&&(m.optional=h),t=this.finishNode(m,"CallExpression")}else if(this.type===y.backQuote){(h||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var x=this.startNodeAt(e,i);x.tag=t,x.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(x,"TaggedTemplateExpression")}return t},tr.parseExprAtom=function(t,e,i){this.type===y.slash&&this.readRegexp();var s,r=this.potentialArrowAt===this.start;switch(this.type){case y._super:return!this.allowSuper&&this.raise(this.start,"'super' keyword outside a method"),s=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(s.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(s,"Super");case y._this:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case y.name:var a=this.start,n=this.startLoc,o=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===h.name&&!this.canInsertSemicolon()&&this.eat(y._function))return this.overrideContext(ti.f_expr),this.parseFunction(this.startNodeAt(a,n),0,!1,!0,e);if(r&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(a,n),[h],!1,e);if(this.options.ecmaVersion>=8&&"async"===h.name&&this.type===y.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return h=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,n),[h],!0,e)}return h;case y.regexp:var c=this.value;return(s=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},s;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return(s=this.startNode()).value=this.type===y._null?null:this.type===y._true,s.raw=this.type.keyword,this.next(),this.finishNode(s,"Literal");case y.parenL:var l=this.start,p=this.parseParenAndDistinguishExpression(r,e);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(t.parenthesizedAssign=l),t.parenthesizedBind<0&&(t.parenthesizedBind=l)),p;case y.bracketL:return s=this.startNode(),this.next(),s.elements=this.parseExprList(y.bracketR,!0,!0,t),this.finishNode(s,"ArrayExpression");case y.braceL:return this.overrideContext(ti.b_expr),this.parseObj(!1,t);case y._function:return s=this.startNode(),this.next(),this.parseFunction(s,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(i);return this.unexpected();default:return this.parseExprAtomDefault()}},tr.parseExprAtomDefault=function(){this.unexpected()},tr.parseExprImport=function(t){var e=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===y.parenL&&!t)return this.parseDynamicImport(e);if(this.type===y.dot){var i=this.startNodeAt(e.start,e.loc&&e.loc.start);return i.name="import",e.meta=this.finishNode(i,"Identifier"),this.parseImportMeta(e)}this.unexpected()},tr.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(y.parenR)?t.options=null:(this.expect(y.comma),this.afterTrailingComma(y.parenR)?t.options=null:(t.options=this.parseMaybeAssign(),!this.eat(y.parenR)&&(this.expect(y.comma),!this.afterTrailingComma(y.parenR)&&this.unexpected())));else if(!this.eat(y.parenR)){var e=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(e,"Trailing comma is not allowed in import()"):this.unexpected(e)}return this.finishNode(t,"ImportExpression")},tr.parseImportMeta=function(t){this.next();var e=this.containsEsc;return t.property=this.parseIdent(!0),"meta"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),e&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},tr.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),110===e.raw.charCodeAt(e.raw.length-1)&&(e.bigint=e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal")},tr.parseParenExpression=function(){this.expect(y.parenL);var t=this.parseExpression();return this.expect(y.parenR),t},tr.shouldParseArrow=function(t){return!this.canInsertSemicolon()},tr.parseParenAndDistinguishExpression=function(t,e){var i,s=this.start,r=this.startLoc,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n,o=this.start,h=this.startLoc,c=[],l=!0,p=!1,u=new q,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(l?l=!1:this.expect(y.comma),a&&this.afterTrailingComma(y.parenR,!0)){p=!0;break}if(this.type===y.ellipsis){n=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else c.push(this.parseMaybeAssign(!1,u,this.parseParenItem))}var g=this.lastTokEnd,m=this.lastTokEndLoc;if(this.expect(y.parenR),t&&this.shouldParseArrow(c)&&this.eat(y.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(s,r,c,e);(!c.length||p)&&this.unexpected(this.lastTokStart),n&&this.unexpected(n),this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,c.length>1?((i=this.startNodeAt(o,h)).expressions=c,this.finishNodeAt(i,"SequenceExpression",g,m)):i=c[0]}else i=this.parseParenExpression();if(!this.options.preserveParens)return i;var x=this.startNodeAt(s,r);return x.expression=i,this.finishNode(x,"ParenthesizedExpression")},tr.parseParenItem=function(t){return t},tr.parseParenArrowList=function(t,e,i,s){return this.parseArrowExpression(this.startNodeAt(t,e),i,!1,s)};var ta=[];tr.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===y.dot){var e=this.startNodeAt(t.start,t.loc&&t.loc.start);e.name="new",t.meta=this.finishNode(e,"Identifier"),this.next();var i=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),!this.allowNewDotTarget&&this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var s=this.start,r=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),s,r,!0,!1),this.eat(y.parenL)?t.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):t.arguments=ta,this.finishNode(t,"NewExpression")},tr.parseTemplateElement=function(t){var e=t.isTagged,i=this.startNode();return this.type===y.invalidTemplate?(!e&&this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===y.backQuote,this.finishNode(i,"TemplateElement")},tr.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var i=this.startNode();this.next(),i.expressions=[];var s=this.parseTemplateElement({isTagged:e});for(i.quasis=[s];!s.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(y.braceR),i.quasis.push(s=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(i,"TemplateLiteral")},tr.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!b.test(this.input.slice(this.lastTokEnd,this.start))},tr.parseObj=function(t,e){var i=this.startNode(),s=!0,r={};for(i.properties=[],this.next();!this.eat(y.braceR);){if(s)s=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(t,e);!t&&this.checkPropClash(a,r,e),i.properties.push(a)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},tr.parseProperty=function(t,e){var i,s,r,a,n=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return t?(n.argument=this.parseIdent(!1),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(n,"RestElement")):(n.argument=this.parseMaybeAssign(!1,e),this.type===y.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(n,"SpreadElement"));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(t||e)&&(r=this.start,a=this.startLoc),!t&&(i=this.eat(y.star)));var o=this.containsEsc;return this.parsePropertyName(n),!t&&!o&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(n)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(n)):s=!1,this.parsePropertyValue(n,t,i,s,r,a,e,o),this.finishNode(n,"Property")},tr.parseGetterSetter=function(t){var e=t.key.name;this.parsePropertyName(t),t.value=this.parseMethod(!1),t.kind=e;var i="get"===t.kind?0:1;if(t.value.params.length!==i){var s=t.value.start;"get"===t.kind?this.raiseRecoverable(s,"getter should have no params"):this.raiseRecoverable(s,"setter should have exactly one param")}else"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")},tr.parsePropertyValue=function(t,e,i,s,r,a,n,o){(i||s)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),t.kind="init"):this.options.ecmaVersion>=6&&this.type===y.parenL?(e&&this.unexpected(),t.method=!0,t.value=this.parseMethod(i,s),t.kind="init"):e||o||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===y.comma||this.type===y.braceR||this.type===y.eq?this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((i||s)&&this.unexpected(),this.checkUnreserved(t.key),"await"===t.key.name&&!this.awaitIdentPos&&(this.awaitIdentPos=r),e?t.value=this.parseMaybeDefault(r,a,this.copyNode(t.key)):this.type===y.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),t.value=this.parseMaybeDefault(r,a,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.kind="init",t.shorthand=!0):this.unexpected():((i||s)&&this.unexpected(),this.parseGetterSetter(t))},tr.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(y.bracketR),t.key;t.computed=!1}return t.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},tr.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},tr.parseMethod=function(t,e,i){var s=this.startNode(),r=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.initFunction(s),this.options.ecmaVersion>=6&&(s.generator=t),this.options.ecmaVersion>=8&&(s.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|U(e,s.generator)|(i?128:0)),this.expect(y.parenL),s.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(s,!1,!0,!1),this.yieldPos=r,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(s,"FunctionExpression")},tr.parseArrowExpression=function(t,e,i,s){var r=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(16|U(i,!1)),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1,s),this.yieldPos=r,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(t,"ArrowFunctionExpression")},tr.parseFunctionBody=function(t,e,i,s){var r=e&&this.type!==y.braceL,a=this.strict,n=!1;if(r)t.body=this.parseMaybeAssign(s),t.expression=!0,this.checkParams(t,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);(!a||o)&&(n=this.strictDirective(this.end))&&o&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var h=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(t,!a&&!n&&!e&&!i&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLValSimple(t.id,5),t.body=this.parseBlock(!1,void 0,n&&!a),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=h}this.exitScope()},tr.isSimpleParamList=function(t){for(var e=0;e<t.length;e+=1)if("Identifier"!==t[e].type)return!1;return!0},tr.checkParams=function(t,e){for(var i=Object.create(null),s=0,r=t.params;s<r.length;s+=1){var a=r[s];this.checkLValInnerPattern(a,1,e?null:i)}},tr.parseExprList=function(t,e,i,s){for(var r=[],a=!0;!this.eat(t);){if(a)a=!1;else if(this.expect(y.comma),e&&this.afterTrailingComma(t))break;var n=void 0;i&&this.type===y.comma?n=null:this.type===y.ellipsis?(n=this.parseSpread(s),s&&this.type===y.comma&&s.trailingComma<0&&(s.trailingComma=this.start)):n=this.parseMaybeAssign(!1,s),r.push(n)}return r},tr.checkUnreserved=function(t){var e=t.start,i=t.end,s=t.name;if(this.inGenerator&&"yield"===s&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===s&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&B)&&"arguments"===s&&this.raiseRecoverable(e,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===s||"await"===s)&&this.raise(e,"Cannot use "+s+" in class static initialization block"),this.keywords.test(s)&&this.raise(e,"Unexpected keyword '"+s+"'"),!(this.options.ecmaVersion<6)||-1===this.input.slice(e,i).indexOf("\\"))(this.strict?this.reservedWordsStrict:this.reservedWords).test(s)&&(!this.inAsync&&"await"===s&&this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+s+"' is reserved"))},tr.parseIdent=function(t){var e=this.parseIdentNode();return this.next(!!t),this.finishNode(e,"Identifier"),!t&&(this.checkUnreserved(e),"await"===e.name&&!this.awaitIdentPos&&(this.awaitIdentPos=e.start)),e},tr.parseIdentNode=function(){var t=this.startNode();return this.type===y.name?t.name=this.value:this.type.keyword?(t.name=this.type.keyword,("class"===t.name||"function"===t.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=y.name):this.unexpected(),t},tr.parsePrivateIdent=function(){var t=this.startNode();return this.type===y.privateId?t.name=this.value:this.unexpected(),this.next(),this.finishNode(t,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(t.start,"Private field '#"+t.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(t)),t},tr.parseYield=function(t){!this.yieldPos&&(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(y.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},tr.parseAwait=function(t){!this.awaitPos&&(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0,!1,t),this.finishNode(e,"AwaitExpression")};var tn=Z.prototype;tn.raise=function(t,e){var i=j(this.input,t);e+=" ("+i.line+":"+i.column+")",this.sourceFile&&(e+=" in "+this.sourceFile);var s=SyntaxError(e);throw s.pos=t,s.loc=i,s.raisedAt=this.pos,s},tn.raiseRecoverable=tn.raise,tn.curPosition=function(){if(this.options.locations)return new V(this.curLine,this.pos-this.lineStart)};var to=Z.prototype,th=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};to.enterScope=function(t){this.scopeStack.push(new th(t))},to.exitScope=function(){this.scopeStack.pop()},to.treatFunctionsAsVarInScope=function(t){return 2&t.flags||!this.inModule&&1&t.flags},to.declareName=function(t,e,i){var s=!1;if(2===e){var r=this.currentScope();s=r.lexical.indexOf(t)>-1||r.functions.indexOf(t)>-1||r.var.indexOf(t)>-1,r.lexical.push(t),this.inModule&&1&r.flags&&delete this.undefinedExports[t]}else if(4===e)this.currentScope().lexical.push(t);else if(3===e){var a=this.currentScope();s=this.treatFunctionsAsVar?a.lexical.indexOf(t)>-1:a.lexical.indexOf(t)>-1||a.var.indexOf(t)>-1,a.functions.push(t)}else for(var n=this.scopeStack.length-1;n>=0;--n){var o=this.scopeStack[n];if(o.lexical.indexOf(t)>-1&&!(32&o.flags&&o.lexical[0]===t)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(t)>-1){s=!0;break}if(o.var.push(t),this.inModule&&1&o.flags&&delete this.undefinedExports[t],o.flags&B)break}s&&this.raiseRecoverable(i,"Identifier '"+t+"' has already been declared")},to.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},to.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},to.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&(768|B))return e}},to.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(e.flags&(768|B)&&!(16&e.flags))return e}};var tc=function(t,e,i){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new O(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])},tl=Z.prototype;function tp(t,e,i,s){return t.type=e,t.end=i,this.options.locations&&(t.loc.end=s),this.options.ranges&&(t.range[1]=i),t}tl.startNode=function(){return new tc(this,this.start,this.startLoc)},tl.startNodeAt=function(t,e){return new tc(this,t,e)},tl.finishNode=function(t,e){return tp.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},tl.finishNodeAt=function(t,e,i,s){return tp.call(this,t,e,i,s)},tl.copyNode=function(t){var e=new tc(this,t.start,this.startLoc);for(var i in t)e[i]=t[i];return e};for(var tu="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",td=tu+" Extended_Pictographic",tf=td+" EBase EComp EMod EPres ExtPict",tg={9:tu,10:td,11:td,12:tf,13:tf,14:tf},tm={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},tx="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",tv="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ty=tv+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",tb=ty+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",t_=tb+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",tk=t_+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",tS={9:tv,10:ty,11:tb,12:t_,13:tk,14:tk+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},tw={},tC=0,tE=[9,10,11,12,13,14];tC<tE.length;tC+=1)!function(t){var e=tw[t]={binary:L(tg[t]+" "+tx),binaryOfStrings:L(tm[t]),nonBinary:{General_Category:L(tx),Script:L(tS[t])}};e.nonBinary.Script_Extensions=e.nonBinary.Script,e.nonBinary.gc=e.nonBinary.General_Category,e.nonBinary.sc=e.nonBinary.Script,e.nonBinary.scx=e.nonBinary.Script_Extensions}(tE[tC]);var tA=Z.prototype,tT=function(t,e){this.parent=t,this.base=e||this};tT.prototype.separatedFrom=function(t){for(var e=this;e;e=e.parent)for(var i=t;i;i=i.parent)if(e.base===i.base&&e!==i)return!0;return!1},tT.prototype.sibling=function(){return new tT(this.parent,this.base)};var tP=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=tw[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};tP.prototype.reset=function(t,e,i){var s=-1!==i.indexOf("v"),r=-1!==i.indexOf("u");this.start=0|t,this.source=e+"",this.flags=i,s&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=r&&this.parser.options.ecmaVersion>=9)},tP.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},tP.prototype.at=function(t,e){void 0===e&&(e=!1);var i=this.source,s=i.length;if(t>=s)return -1;var r=i.charCodeAt(t);if(!(e||this.switchU)||r<=55295||r>=57344||t+1>=s)return r;var a=i.charCodeAt(t+1);return a>=56320&&a<=57343?(r<<10)+a-56613888:r},tP.prototype.nextIndex=function(t,e){void 0===e&&(e=!1);var i=this.source,s=i.length;if(t>=s)return s;var r,a=i.charCodeAt(t);return!(e||this.switchU)||a<=55295||a>=57344||t+1>=s||(r=i.charCodeAt(t+1))<56320||r>57343?t+1:t+2},tP.prototype.current=function(t){return void 0===t&&(t=!1),this.at(this.pos,t)},tP.prototype.lookahead=function(t){return void 0===t&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},tP.prototype.advance=function(t){void 0===t&&(t=!1),this.pos=this.nextIndex(this.pos,t)},tP.prototype.eat=function(t,e){return void 0===e&&(e=!1),this.current(e)===t&&(this.advance(e),!0)},tP.prototype.eatChars=function(t,e){void 0===e&&(e=!1);for(var i=this.pos,s=0;s<t.length;s+=1){var r=t[s],a=this.at(i,e);if(-1===a||a!==r)return!1;i=this.nextIndex(i,e)}return this.pos=i,!0},tA.validateRegExpFlags=function(t){for(var e=t.validFlags,i=t.flags,s=!1,r=!1,a=0;a<i.length;a++){var n=i.charAt(a);-1===e.indexOf(n)&&this.raise(t.start,"Invalid regular expression flag"),i.indexOf(n,a+1)>-1&&this.raise(t.start,"Duplicate regular expression flag"),"u"===n&&(s=!0),"v"===n&&(r=!0)}this.options.ecmaVersion>=15&&s&&r&&this.raise(t.start,"Invalid regular expression flag")};tA.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&function(t){for(var e in t)return!0;return!1}(t.groupNames)&&(t.switchN=!0,this.regexp_pattern(t))},tA.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames=Object.create(null),t.backReferenceNames.length=0,t.branchID=null,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,i=t.backReferenceNames;e<i.length;e+=1){var s=i[e];!t.groupNames[s]&&t.raise("Invalid named capture referenced")}},tA.regexp_disjunction=function(t){var e=this.options.ecmaVersion>=16;for(e&&(t.branchID=new tT(t.branchID,null)),this.regexp_alternative(t);t.eat(124);)e&&(t.branchID=t.branchID.sibling()),this.regexp_alternative(t);e&&(t.branchID=t.branchID.parent),this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")},tA.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},tA.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):(t.switchU?!!this.regexp_eatAtom(t):!!this.regexp_eatExtendedAtom(t))&&(this.regexp_eatQuantifier(t),!0)},tA.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var i=!1;if(this.options.ecmaVersion>=9&&(i=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),!t.eat(41)&&t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!i,!0}return t.pos=e,!1},tA.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},tA.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},tA.regexp_eatBracedQuantifier=function(t,e){var i=t.pos;if(t.eat(123)){var s=0,r=-1;if(this.regexp_eatDecimalDigits(t)&&(s=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(r=t.lastIntValue),t.eat(125)))return -1!==r&&r<s&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=i}return!1},tA.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)},tA.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},tA.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)){if(this.options.ecmaVersion>=16){var i=this.regexp_eatModifiers(t),s=t.eat(45);if(i||s){for(var r=0;r<i.length;r++){var a=i.charAt(r);i.indexOf(a,r+1)>-1&&t.raise("Duplicate regular expression modifiers")}if(s){var n=this.regexp_eatModifiers(t);!i&&!n&&58===t.current()&&t.raise("Invalid regular expression modifiers");for(var o=0;o<n.length;o++){var h=n.charAt(o);(n.indexOf(h,o+1)>-1||i.indexOf(h)>-1)&&t.raise("Duplicate regular expression modifiers")}}}}if(t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}}t.pos=e}return!1},tA.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},tA.regexp_eatModifiers=function(t){for(var e="",i=0;-1!==(i=t.current())&&function(t){return 105===t||109===t||115===t}(i);)e+=R(i),t.advance();return e};function tI(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}tA.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},tA.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},tA.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!tI(e)&&(t.lastIntValue=e,t.advance(),!0)},tA.regexp_eatPatternCharacters=function(t){for(var e=t.pos,i=0;-1!==(i=t.current())&&!tI(i);)t.advance();return t.pos!==e},tA.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return -1!==e&&36!==e&&(!(e>=40)||!(e<=43))&&46!==e&&63!==e&&91!==e&&94!==e&&124!==e&&(t.advance(),!0)},tA.regexp_groupSpecifier=function(t){if(t.eat(63)){!this.regexp_eatGroupName(t)&&t.raise("Invalid group");var e=this.options.ecmaVersion>=16,i=t.groupNames[t.lastStringValue];if(i){if(e)for(var s=0;s<i.length;s+=1)!i[s].separatedFrom(t.branchID)&&t.raise("Duplicate capture group name");else t.raise("Duplicate capture group name")}e?(i||(t.groupNames[t.lastStringValue]=[])).push(t.branchID):t.groupNames[t.lastStringValue]=!0}},tA.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},tA.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=R(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=R(t.lastIntValue);return!0}return!1},tA.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return(t.advance(i),92===s&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),function(t){return p(t,!0)||36===t||95===t}(s))?(t.lastIntValue=s,!0):(t.pos=e,!1)};tA.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,i=this.options.ecmaVersion>=11,s=t.current(i);return(t.advance(i),92===s&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(s=t.lastIntValue),function(t){return u(t,!0)||36===t||95===t||8204===t||8205===t}(s))?(t.lastIntValue=s,!0):(t.pos=e,!1)};function tN(t){return t>=65&&t<=90||t>=97&&t<=122}tA.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},tA.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var i=t.lastIntValue;if(t.switchU)return i>t.maxBackReference&&(t.maxBackReference=i),!0;if(i<=t.numCapturingParens)return!0;t.pos=e}return!1},tA.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},tA.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t,!1)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},tA.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},tA.regexp_eatZero=function(t){return!(48!==t.current()||tR(t.lookahead()))&&(t.lastIntValue=0,t.advance(),!0)},tA.regexp_eatControlEscape=function(t){var e=t.current();return 116===e?(t.lastIntValue=9,t.advance(),!0):110===e?(t.lastIntValue=10,t.advance(),!0):118===e?(t.lastIntValue=11,t.advance(),!0):102===e?(t.lastIntValue=12,t.advance(),!0):114===e&&(t.lastIntValue=13,t.advance(),!0)},tA.regexp_eatControlLetter=function(t){var e=t.current();return!!tN(e)&&(t.lastIntValue=e%32,t.advance(),!0)},tA.regexp_eatRegExpUnicodeEscapeSequence=function(t,e){void 0===e&&(e=!1);var i=t.pos,s=e||t.switchU;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var r=t.lastIntValue;if(s&&r>=55296&&r<=56319){var a=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var n=t.lastIntValue;if(n>=56320&&n<=57343)return t.lastIntValue=(r-55296)*1024+(n-56320)+65536,!0}t.pos=a,t.lastIntValue=r}return!0}if(s&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&function(t){return t>=0&&t<=1114111}(t.lastIntValue))return!0;s&&t.raise("Invalid unicode escape"),t.pos=i}return!1};tA.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var e=t.current();return 99!==e&&(!t.switchN||107!==e)&&(t.lastIntValue=e,t.advance(),!0)},tA.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do t.lastIntValue=10*t.lastIntValue+(e-48),t.advance();while((e=t.current())>=48&&e<=57);return!0}return!1};tA.regexp_eatCharacterClassEscape=function(t){var e,i=t.current();if(function(t){return 100===t||68===t||115===t||83===t||119===t||87===t}(i))return t.lastIntValue=-1,t.advance(),1;var s=!1;if(t.switchU&&this.options.ecmaVersion>=9&&((s=80===i)||112===i)){if(t.lastIntValue=-1,t.advance(),t.eat(123)&&(e=this.regexp_eatUnicodePropertyValueExpression(t))&&t.eat(125))return s&&2===e&&t.raise("Invalid property name"),e;t.raise("Invalid property name")}return 0};function tL(t){return tN(t)||95===t}tA.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var i=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var s=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,i,s),1}}if(t.pos=e,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var r=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,r)}return 0},tA.regexp_validateUnicodePropertyNameAndValue=function(t,e,i){!P(t.unicodeProperties.nonBinary,e)&&t.raise("Invalid property name"),!t.unicodeProperties.nonBinary[e].test(i)&&t.raise("Invalid property value")},tA.regexp_validateUnicodePropertyNameOrValue=function(t,e){return t.unicodeProperties.binary.test(e)?1:t.switchV&&t.unicodeProperties.binaryOfStrings.test(e)?2:void t.raise("Invalid property name")},tA.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";tL(e=t.current());)t.lastStringValue+=R(e),t.advance();return""!==t.lastStringValue},tA.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";function(t){return tL(t)||tR(t)}(e=t.current());)t.lastStringValue+=R(e),t.advance();return""!==t.lastStringValue};tA.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},tA.regexp_eatCharacterClass=function(t){if(t.eat(91)){var e=t.eat(94),i=this.regexp_classContents(t);return!t.eat(93)&&t.raise("Unterminated character class"),e&&2===i&&t.raise("Negated character class may contain strings"),!0}return!1},tA.regexp_classContents=function(t){return 93===t.current()?1:t.switchV?this.regexp_classSetExpression(t):(this.regexp_nonEmptyClassRanges(t),1)},tA.regexp_nonEmptyClassRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var i=t.lastIntValue;t.switchU&&(-1===e||-1===i)&&t.raise("Invalid character class"),-1!==e&&-1!==i&&e>i&&t.raise("Range out of order in character class")}}},tA.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var i=t.current();(99===i||tO(i))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var s=t.current();return 93!==s&&(t.lastIntValue=s,t.advance(),!0)},tA.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},tA.regexp_classSetExpression=function(t){var e,i=1;if(this.regexp_eatClassSetRange(t));else if(e=this.regexp_eatClassSetOperand(t)){2===e&&(i=2);for(var s=t.pos;t.eatChars([38,38]);){if(38!==t.current()&&(e=this.regexp_eatClassSetOperand(t))){2!==e&&(i=1);continue}t.raise("Invalid character in character class")}if(s!==t.pos)return i;for(;t.eatChars([45,45]);){if(!this.regexp_eatClassSetOperand(t))t.raise("Invalid character in character class")}if(s!==t.pos)return i}else t.raise("Invalid character in character class");for(;;){if(!this.regexp_eatClassSetRange(t)){if(!(e=this.regexp_eatClassSetOperand(t)))return i;2===e&&(i=2)}}},tA.regexp_eatClassSetRange=function(t){var e=t.pos;if(this.regexp_eatClassSetCharacter(t)){var i=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassSetCharacter(t)){var s=t.lastIntValue;return -1!==i&&-1!==s&&i>s&&t.raise("Range out of order in character class"),!0}t.pos=e}return!1},tA.regexp_eatClassSetOperand=function(t){return this.regexp_eatClassSetCharacter(t)?1:this.regexp_eatClassStringDisjunction(t)||this.regexp_eatNestedClass(t)},tA.regexp_eatNestedClass=function(t){var e=t.pos;if(t.eat(91)){var i=t.eat(94),s=this.regexp_classContents(t);if(t.eat(93))return i&&2===s&&t.raise("Negated character class may contain strings"),s;t.pos=e}if(t.eat(92)){var r=this.regexp_eatCharacterClassEscape(t);if(r)return r;t.pos=e}return null},tA.regexp_eatClassStringDisjunction=function(t){var e=t.pos;if(t.eatChars([92,113])){if(t.eat(123)){var i=this.regexp_classStringDisjunctionContents(t);if(t.eat(125))return i}else t.raise("Invalid escape");t.pos=e}return null},tA.regexp_classStringDisjunctionContents=function(t){for(var e=this.regexp_classString(t);t.eat(124);)2===this.regexp_classString(t)&&(e=2);return e},tA.regexp_classString=function(t){for(var e=0;this.regexp_eatClassSetCharacter(t);)e++;return 1===e?1:2},tA.regexp_eatClassSetCharacter=function(t){var e=t.pos;if(t.eat(92))return!!(this.regexp_eatCharacterEscape(t)||this.regexp_eatClassSetReservedPunctuator(t))||(t.eat(98)?(t.lastIntValue=8,!0):(t.pos=e,!1));var i=t.current();return!(i<0||i===t.lookahead()&&function(t){return 33===t||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t}(i)||function(t){return 40===t||41===t||45===t||47===t||t>=91&&t<=93||t>=123&&t<=125}(i))&&(t.advance(),t.lastIntValue=i,!0)};tA.regexp_eatClassSetReservedPunctuator=function(t){var e=t.current();return!!function(t){return 33===t||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t}(e)&&(t.lastIntValue=e,t.advance(),!0)};function tR(t){return t>=48&&t<=57}function tD(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function tV(t){return t>=65&&t<=70?10+(t-65):t>=97&&t<=102?10+(t-97):t-48}function tO(t){return t>=48&&t<=55}tA.regexp_eatClassControlLetter=function(t){var e=t.current();return(!!tR(e)||95===e)&&(t.lastIntValue=e%32,t.advance(),!0)},tA.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1},tA.regexp_eatDecimalDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;tR(i=t.current());)t.lastIntValue=10*t.lastIntValue+(i-48),t.advance();return t.pos!==e},tA.regexp_eatHexDigits=function(t){var e=t.pos,i=0;for(t.lastIntValue=0;tD(i=t.current());)t.lastIntValue=16*t.lastIntValue+tV(i),t.advance();return t.pos!==e},tA.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var i=t.lastIntValue;e<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=64*e+8*i+t.lastIntValue:t.lastIntValue=8*e+i}else t.lastIntValue=e;return!0}return!1},tA.regexp_eatOctalDigit=function(t){var e=t.current();return tO(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},tA.regexp_eatFixedHexDigits=function(t,e){var i=t.pos;t.lastIntValue=0;for(var s=0;s<e;++s){var r=t.current();if(!tD(r))return t.pos=i,!1;t.lastIntValue=16*t.lastIntValue+tV(r),t.advance()}return!0};var tj=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new O(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},tM=Z.prototype;tM.next=function(t){!t&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new tj(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},tM.getToken=function(){return this.next(),new tj(this)},"undefined"!=typeof Symbol&&(tM[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===y.eof,value:e}}}}),tM.nextToken=function(){var t=this.curContext();return((!t||!t.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(y.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},tM.readToken=function(t){return p(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},tM.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);if(t<=55295||t>=56320)return t;var e=this.input.charCodeAt(this.pos+1);return e<=56319||e>=57344?t:(t<<10)+e-56613888},tM.skipBlockComment=function(){var t=this.options.onComment&&this.curPosition(),e=this.pos,i=this.input.indexOf("*/",this.pos+=2);if(-1===i&&this.raise(this.pos-2,"Unterminated comment"),this.pos=i+2,this.options.locations)for(var s=void 0,r=e;(s=S(this.input,r,this.pos))>-1;)++this.curLine,r=this.lineStart=s;this.options.onComment&&this.options.onComment(!0,this.input.slice(e+2,i),e,this.pos,t,this.curPosition())},tM.skipLineComment=function(t){for(var e=this.pos,i=this.options.onComment&&this.curPosition(),s=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!k(s);)s=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,i,this.curPosition())},tM.skipSpace=function(){e:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(t>8&&t<14||t>=5760&&w.test(String.fromCharCode(t)))++this.pos;else break e}}},tM.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=e,this.updateContext(i)},tM.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},tM.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},tM.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),i=1,s=42===t?y.star:y.modulo;return(this.options.ecmaVersion>=7&&42===t&&42===e&&(++i,s=y.starstar,e=this.input.charCodeAt(this.pos+2)),61===e)?this.finishOp(y.assign,i+1):this.finishOp(s,i)},tM.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(y.assign,3):this.finishOp(124===t?y.logicalOR:y.logicalAND,2);return 61===e?this.finishOp(y.assign,2):this.finishOp(124===t?y.bitwiseOR:y.bitwiseAND,1)},tM.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},tM.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);if(e===t)return 45===e&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||b.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2);return 61===e?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},tM.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),i=1;if(e===t)return(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i))?this.finishOp(y.assign,i+1):this.finishOp(y.bitShift,i);return 33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(i=2),this.finishOp(y.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},tM.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(y.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(61===t?y.eq:y.prefix,1)},tM.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var e=this.input.charCodeAt(this.pos+1);if(46===e){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(y.questionDot,2)}if(63===e)return t>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(y.assign,3):this.finishOp(y.coalesce,2)}return this.finishOp(y.question,1)},tM.readToken_numberSign=function(){var t=this.options.ecmaVersion,e=35;if(t>=13&&(++this.pos,p(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(y.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+R(e)+"'")},tM.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+R(t)+"'")},tM.finishOp=function(t,e){var i=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,i)},tM.readRegexp=function(){for(var t,e,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var s=this.input.charAt(this.pos);if(b.test(s)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if("["===s)e=!0;else if("]"===s&&e)e=!1;else if("/"===s&&!e)break;t="\\"===s}++this.pos}var r=this.input.slice(i,this.pos);++this.pos;var a=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new tP(this));o.reset(i,r,n),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var h=null;try{h=new RegExp(r,n)}catch(t){}return this.finishToken(y.regexp,{pattern:r,flags:n,value:h})},tM.readInt=function(t,e,i){for(var s=this.options.ecmaVersion>=12&&void 0===e,r=i&&48===this.input.charCodeAt(this.pos),a=this.pos,n=0,o=0,h=0,c=null==e?1/0:e;h<c;++h,++this.pos){var l=this.input.charCodeAt(this.pos),p=void 0;if(s&&95===l){r&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===h&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=l;continue}if((p=l>=97?l-97+10:l>=65?l-65+10:l>=48&&l<=57?l-48:1/0)>=t)break;o=l,n=n*t+p}return(s&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||null!=e&&this.pos-a!==e)?null:n};function tF(t){return"function"!=typeof BigInt?null:BigInt(t.replace(/_/g,""))}tM.readRadixNumber=function(t){var e=this.pos;this.pos+=2;var i=this.readInt(t);return null==i&&this.raise(this.start+2,"Expected number in radix "+t),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=tF(this.input.slice(e,this.pos)),++this.pos):p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,i)},tM.readNumber=function(t){var e,i=this.pos;!t&&null===this.readInt(10,void 0,!0)&&this.raise(i,"Invalid number");var s=this.pos-i>=2&&48===this.input.charCodeAt(i);s&&this.strict&&this.raise(i,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!s&&!t&&this.options.ecmaVersion>=11&&110===r){var a=tF(this.input.slice(i,this.pos));return++this.pos,p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,a)}s&&/[89]/.test(this.input.slice(i,this.pos))&&(s=!1),46===r&&!s&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(69===r||101===r)&&!s&&((43===(r=this.input.charCodeAt(++this.pos))||45===r)&&++this.pos,null===this.readInt(10)&&this.raise(i,"Invalid number")),p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var n=(e=this.input.slice(i,this.pos),s?parseInt(e,8):parseFloat(e.replace(/_/g,"")));return this.finishToken(y.num,n)},tM.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var e=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")}else t=this.readHexChar(4);return t},tM.readString=function(t){for(var e="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var s=this.input.charCodeAt(this.pos);if(s===t)break;92===s?(e+=this.input.slice(i,this.pos)+this.readEscapedChar(!1),i=this.pos):8232===s||8233===s?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(k(s)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(i,this.pos++),this.finishToken(y.string,e)};var tB={};tM.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t===tB)this.readInvalidTemplateToken();else throw t}this.inTemplateElement=!1},tM.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw tB;this.raise(t,e)},tM.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)){if(36===i)return this.pos+=2,this.finishToken(y.dollarBraceL);return++this.pos,this.finishToken(y.backQuote)}return t+=this.input.slice(e,this.pos),this.finishToken(y.template,t)}if(92===i)t+=this.input.slice(e,this.pos)+this.readEscapedChar(!0),e=this.pos;else if(k(i)){switch(t+=this.input.slice(e,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},tM.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(y.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},tM.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return R(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),t){var i=this.pos-1;this.invalidStringToken(i,"Invalid escape sequence in template string")}default:if(e>=48&&e<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],r=parseInt(s,8);return r>255&&(r=parseInt(s=s.slice(0,-1),8)),this.pos+=s.length-1,e=this.input.charCodeAt(this.pos),("0"!==s||56===e||57===e)&&(this.strict||t)&&this.invalidStringToken(this.pos-1-s.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)}if(k(e))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(e)}},tM.readHexChar=function(t){var e=this.pos,i=this.readInt(16,t);return null===i&&this.invalidStringToken(e,"Bad character escape sequence"),i},tM.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,i=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var r=this.fullCharCodeAtPos();if(u(r,s))this.pos+=r<=65535?1:2;else if(92===r){this.containsEsc=!0,t+=this.input.slice(i,this.pos);var a=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();!(e?p:u)(n,s)&&this.invalidStringToken(a,"Invalid Unicode escape"),t+=R(n),i=this.pos}else break;e=!1}return t+this.input.slice(i,this.pos)},tM.readWord=function(){var t=this.readWord1(),e=y.name;return this.keywords.test(t)&&(e=x[t]),this.finishToken(e,t)};var tU="8.14.1";Z.acorn={Parser:Z,version:tU,defaultOptions:M,Position:V,SourceLocation:O,getLineInfo:j,Node:tc,TokenType:d,tokTypes:y,keywordTypes:x,TokContext:te,tokContexts:ti,isIdentifierChar:u,isIdentifierStart:p,Token:tj,isNewLine:k,lineBreak:b,lineBreakG:_,nonASCIIwhitespace:w};t.Node=tc,t.Parser=Z,t.Position=V,t.SourceLocation=O,t.TokContext=te,t.Token=tj,t.TokenType=d,t.defaultOptions=M,t.getLineInfo=j,t.isIdentifierChar=u,t.isIdentifierStart=p,t.isNewLine=k,t.keywordTypes=x,t.lineBreak=b,t.lineBreakG=_,t.nonASCIIwhitespace=w,t.parse=function(t,e){return Z.parse(t,e)},t.parseExpressionAt=function(t,e,i){return Z.parseExpressionAt(t,e,i)},t.tokContexts=ti,t.tokTypes=y,t.tokenizer=function(t,e){return Z.tokenizer(t,e)},t.version=tU}(e)},462796:function(t,e,i){"use strict";i.d(e,{Z:function(){return o}});var s=i(726588),r=i(144256),a=i(557094),n=i(588736);function o(t,e){(0,r.Z)(1,arguments);var i,o,h,c,l,p,u,d,f=(0,n.j)(),g=(0,a.Z)(null!==(i=null!==(o=null!==(h=null!==(c=null==e?void 0:e.weekStartsOn)&&void 0!==c?c:null==e?void 0:null===(l=e.locale)||void 0===l?void 0:null===(p=l.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==h?h:f.weekStartsOn)&&void 0!==o?o:null===(u=f.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==i?i:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=(0,s.Z)(t),x=m.getUTCDay();return m.setUTCDate(m.getUTCDate()-((x<g?7:0)+x-g)),m.setUTCHours(0,0,0,0),m}},28299:function(t){"use strict";var e="razdwatrzy";t.exports=function(){return"function"==typeof e.contains&&!0===e.contains("dwa")&&!1===e.contains("foo")}},857513:function(t,e,i){var s=i(956823).Symbol;t.exports=s},127504:function(t,e,i){var s=i(857513),r=i(887316),a=i(725557),n=i(772383),o=i(896833),h=i(98795),c=s?s.prototype:void 0,l=c?c.valueOf:void 0;t.exports=function(t,e,i,s,c,p,u){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!p(new r(t),new r(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var d=o;case"[object Set]":var f=1&s;if(d||(d=h),t.size!=e.size&&!f)break;var g=u.get(t);if(g)return g==e;s|=2,u.set(t,e);var m=n(d(t),d(e),s,c,p,u);return u.delete(t),m;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},980758:function(t,e,i){var s=i(701891),r=i(832612),a=i(732133),n=i(671464),o=i(984288);t.exports=function(t,e,i){var h=t.constructor;switch(e){case"[object ArrayBuffer]":return s(t);case"[object Boolean]":case"[object Date]":return new h(+t);case"[object DataView]":return r(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return o(t,i);case"[object Map]":case"[object Set]":return new h;case"[object Number]":case"[object String]":return new h(t);case"[object RegExp]":return a(t);case"[object Symbol]":return n(t)}}},66425:function(t,e,i){"use strict";i.r(e)},664611:function(t,e,i){"use strict";let s=i(560909),r=/^[\da-fA-F]+$/,a=/^\d+$/,n=new WeakMap;function o(t){t=t.Parser.acorn||t;let e=n.get(t);if(!e){let i=t.tokTypes,s=t.TokContext,r=t.TokenType,a=new s("<tag",!1),o=new s("</tag",!1),h=new s("<tag>...</tag>",!0,!0),c={jsxName:new r("jsxName"),jsxText:new r("jsxText",{beforeExpr:!0}),jsxTagStart:new r("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new r("jsxTagEnd")};c.jsxTagStart.updateContext=function(){this.context.push(h),this.context.push(a),this.exprAllowed=!1},c.jsxTagEnd.updateContext=function(t){let e=this.context.pop();e===a&&t===i.slash||e===o?(this.context.pop(),this.exprAllowed=this.curContext()===h):this.exprAllowed=!0},e={tokContexts:{tc_oTag:a,tc_cTag:o,tc_expr:h},tokTypes:c},n.set(t,e)}return e}function h(t){return t?"JSXIdentifier"===t.type?t.name:"JSXNamespacedName"===t.type?t.namespace.name+":"+t.name.name:"JSXMemberExpression"===t.type?h(t.object)+"."+h(t.property):void 0:t}t.exports=function(t){return t=t||{},function(e){return function(t,e){let n=e.acorn||i(291046),c=o(n),l=n.tokTypes,p=c.tokTypes,u=n.tokContexts,d=c.tokContexts.tc_oTag,f=c.tokContexts.tc_cTag,g=c.tokContexts.tc_expr,m=n.isNewLine,x=n.isIdentifierStart,v=n.isIdentifierChar;return class extends e{static get acornJsx(){return c}jsx_readToken(){let t="",e=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:if(this.pos===this.start){if(60===i&&this.exprAllowed)return++this.pos,this.finishToken(p.jsxTagStart);return this.getTokenFromCode(i)}return t+=this.input.slice(e,this.pos),this.finishToken(p.jsxText,t);case 38:t+=this.input.slice(e,this.pos)+this.jsx_readEntity(),e=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===i?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:m(i)?(t+=this.input.slice(e,this.pos)+this.jsx_readNewLine(!0),e=this.pos):++this.pos}}}jsx_readNewLine(t){let e,i=this.input.charCodeAt(this.pos);return++this.pos,13===i&&10===this.input.charCodeAt(this.pos)?(++this.pos,e=t?"\n":"\r\n"):e=String.fromCharCode(i),this.options.locations&&(++this.curLine,this.lineStart=this.pos),e}jsx_readString(t){let e="",i=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let s=this.input.charCodeAt(this.pos);if(s===t)break;38===s?(e+=this.input.slice(i,this.pos)+this.jsx_readEntity(),i=this.pos):m(s)?(e+=this.input.slice(i,this.pos)+this.jsx_readNewLine(!1),i=this.pos):++this.pos}return e+=this.input.slice(i,this.pos++),this.finishToken(l.string,e)}jsx_readEntity(){let t="",e=0,i,n=this.input[this.pos];"&"!==n&&this.raise(this.pos,"Entity must start with an ampersand");let o=++this.pos;for(;this.pos<this.input.length&&e++<10;){if(";"===(n=this.input[this.pos++])){"#"===t[0]?"x"===t[1]?(t=t.substr(2),r.test(t)&&(i=String.fromCharCode(parseInt(t,16)))):(t=t.substr(1),a.test(t)&&(i=String.fromCharCode(parseInt(t,10)))):i=s[t];break}t+=n}return i?i:(this.pos=o,"&")}jsx_readWord(){let t,e=this.pos;do t=this.input.charCodeAt(++this.pos);while(v(t)||45===t);return this.finishToken(p.jsxName,this.input.slice(e,this.pos))}jsx_parseIdentifier(){let t=this.startNode();return this.type===p.jsxName?t.name=this.value:this.type.keyword?t.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(t,"JSXIdentifier")}jsx_parseNamespacedName(){let e=this.start,i=this.startLoc,s=this.jsx_parseIdentifier();if(!t.allowNamespaces||!this.eat(l.colon))return s;var r=this.startNodeAt(e,i);return r.namespace=s,r.name=this.jsx_parseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===p.jsxTagEnd)return"";let e=this.start,i=this.startLoc,s=this.jsx_parseNamespacedName();for(this.type===l.dot&&"JSXNamespacedName"===s.type&&!t.allowNamespacedObjects&&this.unexpected();this.eat(l.dot);){let t=this.startNodeAt(e,i);t.object=s,t.property=this.jsx_parseIdentifier(),s=this.finishNode(t,"JSXMemberExpression")}return s}jsx_parseAttributeValue(){switch(this.type){case l.braceL:let t=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===t.expression.type&&this.raise(t.start,"JSX attributes must only be assigned a non-empty expression"),t;case p.jsxTagStart:case l.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let t=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(t,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let t=this.startNode();return this.next(),t.expression=this.type===l.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(l.braceR),this.finishNode(t,"JSXExpressionContainer")}jsx_parseAttribute(){let t=this.startNode();return this.eat(l.braceL)?(this.expect(l.ellipsis),t.argument=this.parseMaybeAssign(),this.expect(l.braceR),this.finishNode(t,"JSXSpreadAttribute")):(t.name=this.jsx_parseNamespacedName(),t.value=this.eat(l.eq)?this.jsx_parseAttributeValue():null,this.finishNode(t,"JSXAttribute"))}jsx_parseOpeningElementAt(t,e){let i=this.startNodeAt(t,e);i.attributes=[];let s=this.jsx_parseElementName();for(s&&(i.name=s);this.type!==l.slash&&this.type!==p.jsxTagEnd;)i.attributes.push(this.jsx_parseAttribute());return i.selfClosing=this.eat(l.slash),this.expect(p.jsxTagEnd),this.finishNode(i,s?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(t,e){let i=this.startNodeAt(t,e),s=this.jsx_parseElementName();return s&&(i.name=s),this.expect(p.jsxTagEnd),this.finishNode(i,s?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(t,e){let i=this.startNodeAt(t,e),s=[],r=this.jsx_parseOpeningElementAt(t,e),a=null;if(!r.selfClosing){i:for(;;)switch(this.type){case p.jsxTagStart:if(t=this.start,e=this.startLoc,this.next(),this.eat(l.slash)){a=this.jsx_parseClosingElementAt(t,e);break i}s.push(this.jsx_parseElementAt(t,e));break;case p.jsxText:s.push(this.parseExprAtom());break;case l.braceL:s.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}h(a.name)!==h(r.name)&&this.raise(a.start,"Expected corresponding JSX closing tag for <"+h(r.name)+">")}let n=r.name?"Element":"Fragment";return i["opening"+n]=r,i["closing"+n]=a,i.children=s,this.type===l.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(i,"JSX"+n)}jsx_parseText(){let t=this.parseLiteral(this.value);return t.type="JSXText",t}jsx_parseElement(){let t=this.start,e=this.startLoc;return this.next(),this.jsx_parseElementAt(t,e)}parseExprAtom(t){return this.type===p.jsxText?this.jsx_parseText():this.type===p.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(t)}readToken(t){let e=this.curContext();if(e===g)return this.jsx_readToken();if(e===d||e===f){if(x(t))return this.jsx_readWord();if(62==t)return++this.pos,this.finishToken(p.jsxTagEnd);if((34===t||39===t)&&e==d)return this.jsx_readString(t)}return 60===t&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(p.jsxTagStart)):super.readToken(t)}updateContext(t){if(this.type==l.braceL){var e=this.curContext();e==d?this.context.push(u.b_expr):e==g?this.context.push(u.b_tmpl):super.updateContext(t),this.exprAllowed=!0}else{if(this.type!==l.slash||t!==p.jsxTagStart)return super.updateContext(t);this.context.length-=2,this.context.push(f),this.exprAllowed=!1}}}}({allowNamespaces:!1!==t.allowNamespaces,allowNamespacedObjects:!!t.allowNamespacedObjects},e)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return o(i(291046)).tokTypes},configurable:!0,enumerable:!0})},230720:function(t,e,i){"use strict";let s=i(101199).createContext({});e.Z=s},128248:function(t,e,i){"use strict";i(313036);var s=i(101199),r=i(622689),a=i.n(r),n=i(469935),o=i.n(n),h=i(698805),c=i(724409),l=i(953847),p=i(709544),u={small:"large",default:"extra-large"};let d=t=>{let{prefixCls:e,className:i,size:r,title:a,description:n,status:h,style:d,active:f,done:g,icon:m,stepNumber:x,onClick:v,onChange:y,onKeyDown:b}=t,_=o()(e,`${e}-${h}`,{[`${e}-active`]:f,[`${e}-done`]:g,[`${e}-hover`]:y||t.onClick,[`${e}-clickable`]:y||v,[`${e}-${h}-hover`]:y||t.onClick},i),k=t=>{null==v||v(t),null==y||y()};return s.createElement("div",{role:t.role,"aria-label":t["aria-label"],tabIndex:0,"aria-current":"step",className:_,style:d,onClick:t=>k(t),onKeyDown:t=>{"Enter"===t.key&&(null==b||b(t),null==y||y())}},s.createElement("div",{className:`${e}-container`},s.createElement("div",{className:`${e}-left`},(()=>{let i,a;if("icon"in t)s.isValidElement(m)&&(i=m);else if("status"in t)switch(h){case"error":i=s.createElement(c.Z,{size:u[r]});break;case"wait":i=s.createElement("span",{className:`${e}-number-icon`},x);break;case"process":i=s.createElement("span",{className:`${e}-number-icon`},x),a=!0;break;case"finish":i=s.createElement(l.Z,{size:u[r]});break;case"warning":i=s.createElement(p.Z,{size:u[r]});break;default:i=null}let n=o()({[`${e}-icon`]:!0,[`${e}-custom-icon`]:"icon"in t,[`${e}-icon-process`]:a});return i?s.createElement("span",{className:n},i):null})()),s.createElement("div",{className:`${e}-content`},s.createElement("div",{className:`${e}-title`},s.createElement("div",{className:`${e}-title-text`},a)),n&&s.createElement("div",{className:`${e}-description`},n))))};d.propTypes={prefixCls:a().string,description:a().node,icon:a().node,status:a().oneOf(["wait","process","finish","error","warning"]),title:a().node,className:a().string,style:a().object,onClick:a().func,active:a().bool,done:a().bool},d.defaultProps={prefixCls:h.v.ITEM,active:!1,done:!1,status:"wait",className:""},e.Z=d},729904:function(t,e,i){"use strict";i.d(e,{Q:function(){return n}}),i(706056),i(76375);var s=i(740311),r=i(382753),a=i(204982);class n{static parse(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;if(!t.includes("#EXTM3U"))throw Error("Invalid m3u8 file");let o=(0,a.UM)(t);return n.isMediaPlaylist(t)?(0,r.$)(o,e,i):(0,s.Z)(o,e)}static isMediaPlaylist(t){return t.includes("#EXTINF:")||t.includes("#EXT-X-TARGETDURATION:")}}},67035:function(t,e,i){"use strict";i.d(e,{Z:function(){return N}}),i(490629),i(706056),i(374954),i(932651),i(14275),i(759943),i(228983);var s=i(876553),r=i.n(s),a=i(640525),n=i.n(a),o=i(284118),h=i.n(o),c=i(856445),l=i(109242),p=i(73931),u=i(262669),d=i(820765),f=i(889266),g=i(796697),m=i(209369),x=i(674007),v=i(92184),y=i(994625),b=i(232910),_=i(64360),k=i(806233),S=i(768818),w=i(372038),C=i(380314),E=i(368923),A=i(254456),T=i(67488);let P={month:p.Z,year:u.Z},I={prevMonth:d.Z,nextMonth:f.Z,prevYear:g.Z,nextYear:m.Z};class N extends c.Z{init(){let t=this.getProp("defaultValue");this.initDefaultPickerValue(),this.updateSelectedFromProps(t)}initDefaultPickerValue(){let t=(0,E.h)(this.getProp("defaultPickerValue"));t&&(0,_.Z)(t)&&(this._updatePanelDetail(l.j2.PANEL_TYPE_LEFT,{pickerDate:t}),this._updatePanelDetail(l.j2.PANEL_TYPE_RIGHT,{pickerDate:(0,f.Z)(t,1)}))}updateSelectedFromProps(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],i=this.getProp("type"),{selected:s,rangeStart:r,rangeEnd:a}=this.getStates();if(t&&(null==t?void 0:t.length))switch(i){case"date":this._initDatePickerFromValue(t,e);break;case"dateRange":this._initDateRangePickerFromValue(t);break;case"dateTime":this._initDateTimePickerFromValue(t);break;case"dateTimeRange":this._initDateTimeRangePickerFormValue(t)}else(Array.isArray(t)&&!t.length||!t)&&(n()(s)&&s.size&&this._adapter.updateDaySelected(new Set),r&&this._adapter.setRangeStart(""),a&&this._adapter.setRangeEnd(""))}calcDisabledTime(t){let{disabledTime:e,type:i}=this.getProps();if("function"==typeof e&&t&&["dateTime","dateTimeRange"].includes(i)){let{rangeStart:s,rangeEnd:r,monthLeft:a}=this.getStates(),n=[];"dateTimeRange"===i?(s&&n.push(s),s&&r&&n.push(r)):a&&a.showDate&&n.push(a.showDate);let o=n.map(t=>t instanceof Date?t:(0,x.Z)(t));return e("dateTimeRange"===i?o:o[0],t)}}_initDatePickerFromValue(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{monthLeft:i}=this._adapter.getStates(),s=Object.assign({},i);this._adapter.updateMonthOnLeft(s);let r=new Set,a=this._isMultiple();a?t.forEach(t=>{t&&r.add((0,v.Z)(t,l.j2.FORMAT_FULL_DATE))}):t[0]&&r.add((0,v.Z)(t[0],l.j2.FORMAT_FULL_DATE)),e?a&&(null==t?void 0:t.some(t=>t&&0===(0,p.Z)(t,i.pickerDate)))||this.handleShowDateAndTime(l.j2.PANEL_TYPE_LEFT,t[0]||s.pickerDate):this.handleShowDateAndTime(l.j2.PANEL_TYPE_LEFT,s.pickerDate),this._adapter.updateDaySelected(r)}_initDateRangePickerFromValue(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.getState("monthLeft"),s=this.getState("monthRight"),r=this._autoAdjustMonth(Object.assign(Object.assign({},i),{pickerDate:t[0]||i.pickerDate}),Object.assign(Object.assign({},s),{pickerDate:t[1]||s.pickerDate}));if(Array.isArray(t)&&t.filter(t=>t).length>1)this.handleShowDateAndTime(l.j2.PANEL_TYPE_LEFT,r.monthLeft.pickerDate),this.handleShowDateAndTime(l.j2.PANEL_TYPE_RIGHT,r.monthRight.pickerDate);else{let e=t.find(t=>t);if(e){let t=Math.abs((0,p.Z)(e,i.pickerDate))>0,a=Math.abs((0,p.Z)(e,s.pickerDate))>0;t&&a&&(this.handleShowDateAndTime(l.j2.PANEL_TYPE_LEFT,r.monthLeft.pickerDate),this.handleShowDateAndTime(l.j2.PANEL_TYPE_RIGHT,r.monthRight.pickerDate))}}let a=e?l.j2.FORMAT_DATE_TIME:l.j2.FORMAT_FULL_DATE,n=t[0]&&(0,v.Z)(t[0],a),o=t[1]&&(0,v.Z)(t[1],a);this._isNeedSwap(n,o)&&([n,o]=[o,n]),this._adapter.setRangeStart(n),this._adapter.setRangeEnd(o),this._adapter.setHoverDay(o)}_initDateTimePickerFromValue(t){this._initDatePickerFromValue(t)}_initDateTimeRangePickerFormValue(t){this._initDateRangePickerFromValue(t,!0)}destroy(){}handleSyncChangeMonths(t){let{panelType:e,target:i}=t,{type:s}=this._adapter.getProps(),{monthLeft:r,monthRight:a}=this._adapter.getStates();this.isRangeType(s)&&("right"===e&&0===(0,p.Z)(i,r.pickerDate)?this.handleYearOrMonthChange("prevMonth","left",1,!0):"left"===e&&0===(0,p.Z)(a.pickerDate,i)&&this.handleYearOrMonthChange("nextMonth","right",1,!0))}getTargetChangeDate(t){let e;let{panelType:i,switchType:s}=t,{monthRight:r,monthLeft:a}=this._adapter.getStates(),n="left"===i?a.pickerDate:r.pickerDate;switch(s){case"prevMonth":e=(0,f.Z)(n,-1);break;case"nextMonth":e=(0,f.Z)(n,1);break;case"prevYear":e=(0,m.Z)(n,-1);break;case"nextYear":e=(0,m.Z)(n,1)}return e}toMonth(t,e){let{type:i}=this._adapter.getProps(),s=this._getDiff("month",e,t);this.handleYearOrMonthChange(s<0?"prevMonth":"nextMonth",t,Math.abs(s),!1),this.isRangeType(i)&&this.handleSyncChangeMonths({panelType:t,target:e})}toYear(t,e){let i=this._getDiff("year",e,t);this.handleYearOrMonthChange(i<0?"prevYear":"nextYear",t,Math.abs(i),!1)}toYearMonth(t,e){this.toYear(t,e),this.toMonth(t,e)}isRangeType(t){let{type:e}=this.getProps(),i=t||e;return"string"==typeof i&&/range/i.test(i)}handleSwitchMonthOrYear(t,e){let{type:i,syncSwitchMonth:s}=this.getProps(),r=this.isRangeType(i);if(r&&s)this.handleYearOrMonthChange(t,"left",1,!0),this.handleYearOrMonthChange(t,"right",1,!0);else if(this.handleYearOrMonthChange(t,e),r){let i=this.getTargetChangeDate({panelType:e,switchType:t});this.handleSyncChangeMonths({panelType:e,target:i})}}prevMonth(t){this.handleSwitchMonthOrYear("prevMonth",t)}nextMonth(t){this.handleSwitchMonthOrYear("nextMonth",t)}prevYear(t){this.handleSwitchMonthOrYear("prevYear",t)}nextYear(t){this.handleSwitchMonthOrYear("nextYear",t)}_getDiff(t,e,i){let s=this._getPanelDetail(i);return P[t]&&P[t](e,s.pickerDate)}_getPanelDetail(t){return t===l.j2.PANEL_TYPE_RIGHT?this.getState("monthRight"):this.getState("monthLeft")}localeFormat(t,e){let i=this._adapter.getProp("dateFnsLocale");return(0,v.Z)(t,e,{locale:i})}disposeCallbackArgs(t){let e,i,s=Array.isArray(t)?t:t&&[t]||[],r=this.getProp("timeZone");(0,T.Z)(r)&&(s=s.map(t=>(0,A.W_)(t,r)));let a=this.getProp("type"),n=this.getProp("format")||(0,w.E)(a);switch(a){case"date":case"dateTime":case"month":this._isMultiple()?(e=s.map(t=>t&&this.localeFormat(t,n)),i=[...s]):(e=s[0]&&this.localeFormat(s[0],n),[i]=s);break;case"dateRange":case"dateTimeRange":e=s.map(t=>t&&this.localeFormat(t,n)),i=[...s]}return{notifyValue:e,notifyDate:i}}handleYearOrMonthChange(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.j2.PANEL_TYPE_LEFT,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],{autoSwitchDate:a,type:n}=this.getProps(),{monthLeft:o,monthRight:h}=this.getStates(),c=this.isRangeType(n),p=c&&e===l.j2.PANEL_TYPE_LEFT,{pickerDate:u}=this._getPanelDetail(e),d=(0,I[t])(u,i),f=e===l.j2.PANEL_TYPE_LEFT&&!r()(d,o.pickerDate)||e===l.j2.PANEL_TYPE_RIGHT&&!r()(d,h.pickerDate);if(this._updatePanelDetail(e,{pickerDate:d}),f){if(c){if(p?this.newBiMonthPanelDate[0]=d:this.newBiMonthPanelDate[1]=d,!(p&&s)){let{notifyValue:t,notifyDate:e}=this.disposeCallbackArgs(this.newBiMonthPanelDate);this._adapter.notifyPanelChange(e,t)}}else{let{notifyValue:t,notifyDate:e}=this.disposeCallbackArgs(d);this._adapter.notifyPanelChange(e,t)}}a&&this.updateDateAfterChangeYM(t,d)}updateDateAfterChangeYM(t,e){let{multiple:i,disabledDate:s,type:r}=this.getProps(),{selected:a,rangeStart:n,rangeEnd:o,monthLeft:h}=this.getStates(),c=["dateRange","dateTimeRange"].includes(t);if(!i&&!c&&a.size){let t=new Date(Array.from(a)[0]),i=e.getFullYear(),c=e.getMonth(),l=(0,y.Z)(t,{year:i,month:c});if("dateTime"===r&&(l=this._mergeDateAndTime(l,h.pickerDate)),s(l,{rangeStart:n,rangeEnd:o}))return;this._adapter.notifySelectedChange([l],{closePanel:!1})}}_isMultiple(){return!!this.getProp("multiple")&&"date"===this.getProp("type")}_isRange(){}handleDayClick(t,e){let i=this.getProp("type");switch(!0){case"date"===i||"dateTime"===i:this.handleDateSelected(t,e);break;case"dateRange"===i||"dateTimeRange"===i:this.handleRangeSelected(t)}}handleDateSelected(t,e){let{max:i,type:s,isControlledComponent:r,dateFnsLocale:a}=this.getProps(),n=this._isMultiple(),{selected:o}=this.getStates(),h=this._getPanelDetail(e),c=new Set(n?[...o]:[]),{fullDate:p}=t,u=h.pickerDate;n?c.has(p)?c.delete(p):i&&c.size===i?this._adapter.notifyMaxLimit():c.add(p):c.add(p);let d=[...c].map(t=>"dateTime"===s?this._mergeDateAndTime(t,u):(0,E.h)(t,l.j2.FORMAT_FULL_DATE,void 0,a));this.handleShowDateAndTime(e,u),!r&&this._adapter.updateDaySelected(c),this._adapter.notifySelectedChange(d)}handleShowDateAndTime(t,e,i){let s=i||e;this._updatePanelDetail(t,{showDate:s,pickerDate:e})}_mergeDateAndTime(t,e){let i=this._adapter.getProp("dateFnsLocale"),s=(0,v.Z)((0,_.Z)(t)?t:(0,E.h)(t,l.j2.FORMAT_FULL_DATE,void 0,i),l.j2.FORMAT_FULL_DATE),r=(0,v.Z)((0,_.Z)(e)?e:(0,E.h)(e,l.j2.FORMAT_TIME_PICKER,void 0,i),l.j2.FORMAT_TIME_PICKER),a=this.getValidTimeFormat();return(0,E.h)(`${s} ${r}`,a,void 0,i)}handleRangeSelected(t){let{rangeStart:e,rangeEnd:i}=this.getStates(),{startDateOffset:s,endDateOffset:r,type:a,dateFnsLocale:n,rangeInputFocus:o,triggerRender:h}=this._adapter.getProps(),{fullDate:c}=t,l=!1,p=!1,u=(s||r)&&"dateRange"===a;u?(e=(0,k.Z)(s,c),i=(0,k.Z)(r,c)):"rangeEnd"===o?(i=c,e&&i&&(0,S.Z)(i,e.trim().split(/\s+/)[0])&&(e=null,l=!0)):("rangeStart"===o||!o)&&(e=c)&&i&&(0,S.Z)(i.trim().split(/\s+/)[0],e)&&(i=null,p=!0),/range/i.test(a)&&(u?(this._adapter.setRangeStart(e),this._adapter.setRangeEnd(i)):"rangeEnd"===o?(this._adapter.setRangeEnd(i),l&&this._adapter.setRangeStart(e),(!this._adapter.isAnotherPanelHasOpened("rangeEnd")||!e)&&this._adapter.setRangeInputFocus("rangeStart")):("rangeStart"===o||!o)&&(this._adapter.setRangeStart(e),p&&this._adapter.setRangeEnd(i),(!this._adapter.isAnotherPanelHasOpened("rangeStart")||!i)&&this._adapter.setRangeInputFocus("rangeEnd")));let d=this.getValidDateFormat();if(e||i){let[t,s]=[(0,E.h)(e,d,void 0,n),(0,E.h)(i,d,void 0,n)],r=[t,s];if("dateTimeRange"===a){let a=this.getState("monthLeft").pickerDate,n=this.getState("monthRight").pickerDate,o=e?this._mergeDateAndTime(e,a):null,h=i?this._mergeDateAndTime(i,n):null;r=(0,b.Z)(t,s)&&(0,S.Z)(h,o)?[o,o]:[o,h]}this._adapter.notifySelectedChange(r,{needCheckFocusRecord:!("dateRange"===a&&u)})}}_isNeedSwap(t,e){return t&&e&&(0,S.Z)(e,t)}handleDayHover(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{fullDate:""};arguments.length>1&&arguments[1];let{fullDate:e}=t,{startDateOffset:i,endDateOffset:s,type:r}=this.getProps();if(this._adapter.setHoverDay(e),(i||s)&&"dateRange"===r){let t=(0,k.Z)(i,e),r=(0,k.Z)(s,e);this._adapter.setOffsetRangeStart(t),this._adapter.setOffsetRangeEnd(r)}}_autoAdjustMonth(t,e){let i=t,s=e,r=(0,p.Z)(t.pickerDate,e.pickerDate);return r>0?(i=Object.assign({},e),s=Object.assign({},t)):0===r&&(i=t,s=Object.assign(Object.assign({},e),{pickerDate:(0,f.Z)(e.pickerDate,1)})),{monthLeft:i,monthRight:s}}getValidTimeFormat(){let t=this.getProp("format")||l.j2.FORMAT_TIME_PICKER,e=[];return(h()(t,"h")||h()(t,"H"))&&e.push("HH"),h()(t,"m")&&e.push("mm"),h()(t,"s")&&e.push("ss"),e.join(":")}getValidDateFormat(){return this.getProp("format")||(0,w.Z)(this.getProp("type"))}handleTimeChange(t,e){let i,s,r;let{rangeEnd:a,rangeStart:n}=this.getStates(),o=this.getProp("dateFnsLocale"),h=t.timeStampValue,c=this.getProp("type"),{showDate:p}=this._getPanelDetail(e),u=new Date(h),d=this.getValidDateFormat(),f=e===l.j2.PANEL_TYPE_RIGHT?a:n;if("dateTimeRange"===c&&f){let t=(0,E.h)(f,d,void 0,o);i=t.getFullYear(),s=t.getMonth(),r=t.getDate()}else i=p.getFullYear(),s=p.getMonth(),r=p.getDate();let g=u.getHours(),m=u.getMinutes(),x=u.getSeconds(),v=new Date(...[i,s,r,g,m,x,u.getMilliseconds()]);if("dateTimeRange"===c)this.handleShowDateAndTime(e,v,p),this._updateTimeInDateRange(e,v);else{let t=(0,C.T)(i,s+1,r);this.handleDateSelected({fullDate:t,fullValidDate:v},e),this.handleShowDateAndTime(e,v),this._adapter.notifySelectedChange([v])}}_updateTimeInDateRange(t,e){let{isControlledComponent:i,dateFnsLocale:s}=this.getProps(),r=this.getState("rangeStart"),a=this.getState("rangeEnd"),n=this.getValidDateFormat();if(r&&a){let o=(0,E.h)(r,n,void 0,s),h=(0,E.h)(a,n,void 0,s);t===l.j2.PANEL_TYPE_RIGHT?(h=this._mergeDateAndTime(e,e),a=(0,v.Z)(h,l.j2.FORMAT_DATE_TIME),this._isNeedSwap(r,a)&&([r,a]=[a,r],[o,h]=[h,o]),!i&&this._adapter.setRangeEnd(a)):(o=this._mergeDateAndTime(e,e),r=(0,v.Z)(o,l.j2.FORMAT_DATE_TIME),this._isNeedSwap(r,a)&&([r,a]=[a,r],[o,h]=[h,o]),!i&&this._adapter.setRangeStart(r)),this._adapter.notifySelectedChange([o,h])}}_updatePanelDetail(t,e){let{monthLeft:i,monthRight:s}=this.getStates();t===l.j2.PANEL_TYPE_RIGHT?this._adapter.updateMonthOnRight(Object.assign(Object.assign({},s),e)):this._adapter.updateMonthOnLeft(Object.assign(Object.assign({},i),e))}showYearPicker(t){this._updatePanelDetail(t,{isTimePickerOpen:!1,isYearPickerOpen:!0})}showTimePicker(t,e){if(!this.getProp("disabledTimePicker"))this._updatePanelDetail(t,{isTimePickerOpen:!0,isYearPickerOpen:!1})}showDatePanel(t){this._updatePanelDetail(t,{isTimePickerOpen:!1,isYearPickerOpen:!1})}getYAMOpenType(){let{monthLeft:t,monthRight:e}=this._adapter.getStates(),i=t.isYearPickerOpen,s=e.isYearPickerOpen;if(i&&s)return"both";if(i)return"left";if(s)return"right";else return"none"}constructor(t){super(Object.assign({},t)),this.newBiMonthPanelDate=[this.getState("monthLeft").pickerDate,this.getState("monthRight").pickerDate]}}},507058:function(t,e,i){"use strict";var s=i(320165),r=i(509608),a=i(705998),n=i(299690),o=i(101199),h=i(546186),c=i(693653),l=i(790363);(0,c.r)(t=>{let{reloadPage:e=!1,afterRefresh:i,keyboardCode:n,position:c}=t,{playerRef:p}=(0,o.useContext)(r.E),u=(0,a.DM)(()=>{if(e)return window.location.reload();p.current.refresh(),null==i||i()});(0,a.K7)(u,n);let d=(0,o.useMemo)(()=>n?(0,s.jsxs)(s.Fragment,{children:["刷新",(0,s.jsx)(h.B,{children:n.slice(3)})]}):"刷新",[n]);return(0,s.jsx)(h.u,{content:d,position:c,className:"douyin-player-refresh",children:(0,s.jsx)("div",{className:"douyin-player-icon",children:(0,s.jsx)(l.Z,{onClick:u})})})},{position:n.PZ.CONTROL_LEFT})},261617:function(t,e,i){"use strict";i(76375);var s=i(731343);if(!i(101199).useState)throw Error("mobx-react-lite requires React with Hooks support");if(!s.makeObservable)throw Error("mobx-react-lite@3 requires mobx at least version 6 to be available")},909741:function(t,e,i){"use strict";i(76375),t.exports=(t,e)=>{if(!("string"==typeof t&&"string"==typeof e))throw TypeError("Expected the arguments to be of type `string`");if(""===e)return[t];let i=t.indexOf(e);return -1===i?[t]:[t.slice(0,i),t.slice(i+e.length)]}},654374:function(t,e,i){"use strict";function s(t){let e=t.options.fence||"`";if("`"!==e&&"~"!==e)throw Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}i.d(e,{L:function(){return s}})},100018:function(t,e,i){"use strict";i.d(e,{D:function(){return p}}),i(490629);var s=i(320165),r=i(101199),a=i(818652),n=i(769591),o=i(776246),h=i(440755),c=i(275438);let l="undefined"!=typeof IntersectionObserver,p=t=>{let e=(0,r.useRef)(),[i,p]=(0,r.useState)([]);return(0,r.useEffect)(()=>{{let t=t=>{try{var e,i,s,a,n;let l=t.target,u=null!==(s=null==l?void 0:null===(e=l.tagName)||void 0===e?void 0:e.toLowerCase())&&void 0!==s?s:"",d=null==l?void 0:null===(i=l.dataset)||void 0===i?void 0:i[o.YC];if("a"===u&&d){let t=(null==l?void 0:null===(a=l.dataset)||void 0===a?void 0:a[o.HA])===o.mZ,e=(null==l?void 0:null===(n=l.dataset)||void 0===n?void 0:n[o.uK])===o.mZ;p(i=>(0,h.u)(i.concat([{url:d,preload:e,prefetch:t}]),"url")),(0,c.d)(()=>{(0,r.startTransition)(()=>{p(i=>(0,h.u)(i.concat([{url:d,preload:e,prefetch:t}]),"url"))})},100)}}catch(t){}};return window.document.addEventListener("mouseenter",t,!0),()=>window.document.removeEventListener("mouseenter",t,!0)}},[]),(0,r.useEffect)(()=>{if(!!l){e.current=new IntersectionObserver(t=>{let e=t.map(t=>{var e,i;return{url:t.target.getAttribute("href"),prefetch:!!(null===(e=t.target.dataset)||void 0===e?void 0:e[o.HA]),preload:!!(null===(i=t.target.dataset)||void 0===i?void 0:i[o.uK])}}).filter(t=>!!t.url);(0,r.startTransition)(()=>{p(e)})},{rootMargin:"0px",threshold:1});let t=()=>{(0,a.K)(()=>{e.current&&e.current.disconnect(),document.querySelectorAll(`[${o.dH}="${o.gq}"],[${o.ZS}="${o.gq}"]`).forEach(t=>{var i;null===(i=e.current)||void 0===i||i.observe(t)})})};return"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t,!1):t(),()=>{var i;document.removeEventListener("DOMContentLoaded",t),null===(i=e.current)||void 0===i||i.disconnect()}}},[]),(0,s.jsxs)(s.Fragment,{children:[i.filter(t=>t.preload).map(t=>(0,s.jsx)(n.Preloads,{to:t.url},t.url)),i.filter(t=>t.prefetch).map(t=>(0,s.jsx)(n.Prefetch,{to:t.url},t.url)),t.children]})}},417285:function(t,e,i){"use strict";i.r(e),i.d(e,{useMatchPatterns:function(){return n}});var s=i(339808),r=i(338554),a=i(120335);i(101199),i(320165);let n=()=>{var t;let{pattern:e}=(0,a.useRoute)(),i=null===(t=(0,s.a)())||void 0===t?void 0:t.pathname;return{matchPatterns:(0,r.sH)(i),pattern:e}}},873781:function(t,e,i){"use strict";i.d(e,{Cy:function(){return h},Ic:function(){return r},Px:function(){return c},XY:function(){return s},di:function(){return o},pU:function(){return a}}),i(490629),i(932651),i(374954),i(190932),i(808483),i(126159),i(100832),i(825666),i(943281),i(82726),i(414931),i(527553),i(76375);class s{static create(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return new this(...e)}mixIn(t){return Object.assign(this,t)}clone(){let t=new this.constructor;return Object.assign(t,this),t}}class r extends s{static random(t){let e=[],i=t=>{let e=t,i=987654321;return()=>{let t=((i=36969*(65535&i)+(i>>16)&4294967295)<<16)+(e=18e3*(65535&e)+(e>>16)&4294967295)&4294967295;return t/=4294967296,(t+=.5)*(Math.random()>.5?1:-1)}};for(let s=0,r;s<t;s+=4){let t=i(4294967296*(r||Math.random()));r=987654071*t(),e.push(4294967296*t()|0)}return new r(e,t)}toString(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return t.stringify(this)}concat(t){let e=this.words,i=t.words,s=this.sigBytes,r=t.sigBytes;if(this.clamp(),s%4)for(let t=0;t<r;t+=1){let r=i[t>>>2]>>>24-t%4*8&255;e[s+t>>>2]|=r<<24-(s+t)%4*8}else for(let t=0;t<r;t+=4)e[s+t>>>2]=i[t>>>2];return this.sigBytes+=r,this}clamp(){let{words:t,sigBytes:e}=this;t[e>>>2]&=4294967295<<32-e%4*8,t.length=Math.ceil(e/4)}clone(){let t=super.clone.call(this);return t.words=this.words.slice(0),t}constructor(t=[],e=4*t.length){super();let i=t;if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){let t=i.byteLength,e=[];for(let s=0;s<t;s+=1)e[s>>>2]|=i[s]<<24-s%4*8;this.words=e,this.sigBytes=t}else this.words=t,this.sigBytes=e}}let a={stringify(t){let{words:e,sigBytes:i}=t,s=[];for(let t=0;t<i;t+=1){let i=e[t>>>2]>>>24-t%4*8&255;s.push((i>>>4).toString(16)),s.push((15&i).toString(16))}return s.join("")},parse(t){let e=t.length,i=[];for(let s=0;s<e;s+=2)i[s>>>3]|=parseInt(t.substr(s,2),16)<<24-s%8*4;return new r(i,e/2)}},n={stringify(t){let{words:e,sigBytes:i}=t,s=[];for(let t=0;t<i;t+=1){let i=e[t>>>2]>>>24-t%4*8&255;s.push(String.fromCharCode(i))}return s.join("")},parse(t){let e=t.length,i=[];for(let s=0;s<e;s+=1)i[s>>>2]|=(255&t.charCodeAt(s))<<24-s%4*8;return new r(i,e)}},o={stringify(t){try{return decodeURIComponent(escape(n.stringify(t)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:t=>n.parse(unescape(encodeURIComponent(t)))};class h extends s{reset(){this._data=new r,this._nDataBytes=0}_append(t){let e=t;"string"==typeof e&&(e=o.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(t){let e;let{_data:i,blockSize:s}=this,a=i.words,n=i.sigBytes,o=n/(4*s),h=(o=t?Math.ceil(o):Math.max((0|o)-this._minBufferSize,0))*s,c=Math.min(4*h,n);if(h){for(let t=0;t<h;t+=s)this._doProcessBlock(a,t);e=a.splice(0,h),i.sigBytes-=c}return new r(e,c)}clone(){let t=super.clone.call(this);return t._data=this._data.clone(),t}constructor(){super(),this._minBufferSize=0}}class c extends h{static _createHelper(t){return(e,i)=>new t(i).finalize(e)}static _createHmacHelper(t){return(e,i)=>new l(t,i).finalize(e)}reset(){super.reset.call(this),this._doReset()}update(t){return this._append(t),this._process(),this}finalize(t){return t&&this._append(t),this._doFinalize()}constructor(t){super(),this.blockSize=16,this.cfg=Object.assign(new s,t),this.reset()}}class l extends s{reset(){let t=this._hasher;t.reset(),t.update(this._iKey)}update(t){return this._hasher.update(t),this}finalize(t){let e=this._hasher,i=e.finalize(t);return e.reset(),e.finalize(this._oKey.clone().concat(i))}constructor(t,e){super();let i=new t;this._hasher=i;let s=e;"string"==typeof s&&(s=o.parse(s));let r=i.blockSize,a=4*r;s.sigBytes>a&&(s=i.finalize(e)),s.clamp();let n=s.clone();this._oKey=n;let h=s.clone();this._iKey=h;let c=n.words,l=h.words;for(let t=0;t<r;t+=1)c[t]^=1549556828,l[t]^=909522486;n.sigBytes=a,h.sigBytes=a,this.reset()}}}}]); |