mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 02:51:52 +02:00
146 lines
629 KiB
JavaScript
146 lines
629 KiB
JavaScript
var Gb=Object.create;var Gi=Object.defineProperty;var Hb=Object.getOwnPropertyDescriptor;var Kb=Object.getOwnPropertyNames;var Yb=Object.getPrototypeOf,Qb=Object.prototype.hasOwnProperty;var D=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),Zb=(n,t)=>{for(var r in t)Gi(n,r,{get:t[r],enumerable:!0})},td=(n,t,r,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Kb(t))!Qb.call(n,i)&&i!==r&&Gi(n,i,{get:()=>t[i],enumerable:!(e=Hb(t,i))||e.enumerable});return n};var ye=(n,t,r)=>(r=n!=null?Gb(Yb(n)):{},td(t||!n||!n.__esModule?Gi(r,"default",{value:n,enumerable:!0}):r,n)),ex=n=>td(Gi({},"__esModule",{value:!0}),n);var vn=D((V2,vo)=>{var tx=require("tty"),rx=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||tx.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),ue=(n,t,r=n)=>e=>{let i=""+e,a=i.indexOf(t,n.length);return~a?n+rd(i,t,r,a)+t:n+i+t},rd=(n,t,r,e)=>{let i=n.substring(0,e)+r,a=n.substring(e+t.length),s=a.indexOf(t);return~s?i+rd(a,t,r,s):i+a},nd=(n=rx)=>({isColorSupported:n,reset:n?t=>`\x1B[0m${t}\x1B[0m`:String,bold:n?ue("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:n?ue("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:n?ue("\x1B[3m","\x1B[23m"):String,underline:n?ue("\x1B[4m","\x1B[24m"):String,inverse:n?ue("\x1B[7m","\x1B[27m"):String,hidden:n?ue("\x1B[8m","\x1B[28m"):String,strikethrough:n?ue("\x1B[9m","\x1B[29m"):String,black:n?ue("\x1B[30m","\x1B[39m"):String,red:n?ue("\x1B[31m","\x1B[39m"):String,green:n?ue("\x1B[32m","\x1B[39m"):String,yellow:n?ue("\x1B[33m","\x1B[39m"):String,blue:n?ue("\x1B[34m","\x1B[39m"):String,magenta:n?ue("\x1B[35m","\x1B[39m"):String,cyan:n?ue("\x1B[36m","\x1B[39m"):String,white:n?ue("\x1B[37m","\x1B[39m"):String,gray:n?ue("\x1B[90m","\x1B[39m"):String,bgBlack:n?ue("\x1B[40m","\x1B[49m"):String,bgRed:n?ue("\x1B[41m","\x1B[49m"):String,bgGreen:n?ue("\x1B[42m","\x1B[49m"):String,bgYellow:n?ue("\x1B[43m","\x1B[49m"):String,bgBlue:n?ue("\x1B[44m","\x1B[49m"):String,bgMagenta:n?ue("\x1B[45m","\x1B[49m"):String,bgCyan:n?ue("\x1B[46m","\x1B[49m"):String,bgWhite:n?ue("\x1B[47m","\x1B[49m"):String});vo.exports=nd();vo.exports.createColors=nd});var yo=D((W2,od)=>{"use strict";var go="'".charCodeAt(0),id='"'.charCodeAt(0),Hi="\\".charCodeAt(0),ad="/".charCodeAt(0),Ki=`
|
|
`.charCodeAt(0),gn=" ".charCodeAt(0),Yi="\f".charCodeAt(0),Qi=" ".charCodeAt(0),Zi="\r".charCodeAt(0),nx="[".charCodeAt(0),ix="]".charCodeAt(0),ax="(".charCodeAt(0),sx=")".charCodeAt(0),ox="{".charCodeAt(0),lx="}".charCodeAt(0),ux=";".charCodeAt(0),cx="*".charCodeAt(0),fx=":".charCodeAt(0),dx="@".charCodeAt(0),ea=/[\t\n\f\r "#'()/;[\\\]{}]/g,ta=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,px=/.[\n"'(/\\]/,sd=/[\da-f]/i;od.exports=function(t,r={}){let e=t.css.valueOf(),i=r.ignoreErrors,a,s,l,c,p,f,v,m,o,u,d=e.length,h=0,g=[],y=[];function b(){return h}function x(T){throw t.error("Unclosed "+T,h)}function w(){return y.length===0&&h>=d}function E(T){if(y.length)return y.pop();if(h>=d)return;let M=T?T.ignoreUnclosed:!1;switch(a=e.charCodeAt(h),a){case Ki:case gn:case Qi:case Zi:case Yi:{s=h;do s+=1,a=e.charCodeAt(s);while(a===gn||a===Ki||a===Qi||a===Zi||a===Yi);u=["space",e.slice(h,s)],h=s-1;break}case nx:case ix:case ox:case lx:case fx:case ux:case sx:{let U=String.fromCharCode(a);u=[U,U,h];break}case ax:{if(m=g.length?g.pop()[1]:"",o=e.charCodeAt(h+1),m==="url"&&o!==go&&o!==id&&o!==gn&&o!==Ki&&o!==Qi&&o!==Yi&&o!==Zi){s=h;do{if(f=!1,s=e.indexOf(")",s+1),s===-1)if(i||M){s=h;break}else x("bracket");for(v=s;e.charCodeAt(v-1)===Hi;)v-=1,f=!f}while(f);u=["brackets",e.slice(h,s+1),h,s],h=s}else s=e.indexOf(")",h+1),c=e.slice(h,s+1),s===-1||px.test(c)?u=["(","(",h]:(u=["brackets",c,h,s],h=s);break}case go:case id:{l=a===go?"'":'"',s=h;do{if(f=!1,s=e.indexOf(l,s+1),s===-1)if(i||M){s=h+1;break}else x("string");for(v=s;e.charCodeAt(v-1)===Hi;)v-=1,f=!f}while(f);u=["string",e.slice(h,s+1),h,s],h=s;break}case dx:{ea.lastIndex=h+1,ea.test(e),ea.lastIndex===0?s=e.length-1:s=ea.lastIndex-2,u=["at-word",e.slice(h,s+1),h,s],h=s;break}case Hi:{for(s=h,p=!0;e.charCodeAt(s+1)===Hi;)s+=1,p=!p;if(a=e.charCodeAt(s+1),p&&a!==ad&&a!==gn&&a!==Ki&&a!==Qi&&a!==Zi&&a!==Yi&&(s+=1,sd.test(e.charAt(s)))){for(;sd.test(e.charAt(s+1));)s+=1;e.charCodeAt(s+1)===gn&&(s+=1)}u=["word",e.slice(h,s+1),h,s],h=s;break}default:{a===ad&&e.charCodeAt(h+1)===cx?(s=e.indexOf("*/",h+2)+1,s===0&&(i||M?s=e.length:x("comment")),u=["comment",e.slice(h,s+1),h,s],h=s):(ta.lastIndex=h+1,ta.test(e),ta.lastIndex===0?s=e.length-1:s=ta.lastIndex-2,u=["word",e.slice(h,s+1),h,s],g.push(u),h=s);break}}return h++,u}function C(T){y.push(T)}return{back:C,nextToken:E,endOfFile:w,position:b}}});var bo=D((J2,cd)=>{"use strict";var Ie=vn(),hx=yo(),ld;function mx(n){ld=n}var vx={brackets:Ie.cyan,"at-word":Ie.cyan,comment:Ie.gray,string:Ie.green,class:Ie.yellow,hash:Ie.magenta,call:Ie.cyan,"(":Ie.cyan,")":Ie.cyan,"{":Ie.yellow,"}":Ie.yellow,"[":Ie.yellow,"]":Ie.yellow,":":Ie.yellow,";":Ie.yellow};function gx([n,t],r){if(n==="word"){if(t[0]===".")return"class";if(t[0]==="#")return"hash"}if(!r.endOfFile()){let e=r.nextToken();if(r.back(e),e[0]==="brackets"||e[0]==="(")return"call"}return n}function ud(n){let t=hx(new ld(n),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let e=t.nextToken(),i=vx[gx(e,t)];i?r+=e[1].split(/\r?\n/).map(a=>i(a)).join(`
|
|
`):r+=e[1]}return r}ud.registerInput=mx;cd.exports=ud});var ra=D((X2,pd)=>{"use strict";var fd=vn(),dd=bo(),nr=class extends Error{constructor(t,r,e,i,a,s){super(t),this.name="CssSyntaxError",this.reason=t,a&&(this.file=a),i&&(this.source=i),s&&(this.plugin=s),typeof r<"u"&&typeof e<"u"&&(typeof r=="number"?(this.line=r,this.column=e):(this.line=r.line,this.column=r.column,this.endLine=e.line,this.endColumn=e.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,nr)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let r=this.source;t==null&&(t=fd.isColorSupported),dd&&t&&(r=dd(r));let e=r.split(/\r?\n/),i=Math.max(this.line-3,0),a=Math.min(this.line+2,e.length),s=String(a).length,l,c;if(t){let{bold:p,red:f,gray:v}=fd.createColors(!0);l=m=>p(f(m)),c=m=>v(m)}else l=c=p=>p;return e.slice(i,a).map((p,f)=>{let v=i+1+f,m=" "+(" "+v).slice(-s)+" | ";if(v===this.line){let o=c(m.replace(/\d/g," "))+p.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+c(m)+p+`
|
|
`+o+l("^")}return" "+c(m)+p}).join(`
|
|
`)}toString(){let t=this.showSourceCode();return t&&(t=`
|
|
|
|
`+t+`
|
|
`),this.name+": "+this.message+t}};pd.exports=nr;nr.default=nr});var na=D(($2,xo)=>{"use strict";xo.exports.isClean=Symbol("isClean");xo.exports.my=Symbol("my")});var So=D((G2,md)=>{"use strict";var hd={colon:": ",indent:" ",beforeDecl:`
|
|
`,beforeRule:`
|
|
`,beforeOpen:" ",beforeClose:`
|
|
`,beforeComment:`
|
|
`,after:`
|
|
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function yx(n){return n[0].toUpperCase()+n.slice(1)}var yn=class{constructor(t){this.builder=t}stringify(t,r){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,r)}document(t){this.body(t)}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}comment(t){let r=this.raw(t,"left","commentLeft"),e=this.raw(t,"right","commentRight");this.builder("/*"+r+t.text+e+"*/",t)}decl(t,r){let e=this.raw(t,"between","colon"),i=t.prop+e+this.rawValue(t,"value");t.important&&(i+=t.raws.important||" !important"),r&&(i+=";"),this.builder(i,t)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}atrule(t,r){let e="@"+t.name,i=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?e+=t.raws.afterName:i&&(e+=" "),t.nodes)this.block(t,e+i);else{let a=(t.raws.between||"")+(r?";":"");this.builder(e+i+a,t)}}body(t){let r=t.nodes.length-1;for(;r>0&&t.nodes[r].type==="comment";)r-=1;let e=this.raw(t,"semicolon");for(let i=0;i<t.nodes.length;i++){let a=t.nodes[i],s=this.raw(a,"before");s&&this.builder(s),this.stringify(a,r!==i||e)}}block(t,r){let e=this.raw(t,"between","beforeOpen");this.builder(r+e+"{",t,"start");let i;t.nodes&&t.nodes.length?(this.body(t),i=this.raw(t,"after")):i=this.raw(t,"after","emptyBody"),i&&this.builder(i),this.builder("}",t,"end")}raw(t,r,e){let i;if(e||(e=r),r&&(i=t.raws[r],typeof i<"u"))return i;let a=t.parent;if(e==="before"&&(!a||a.type==="root"&&a.first===t||a&&a.type==="document"))return"";if(!a)return hd[e];let s=t.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[e]<"u")return s.rawCache[e];if(e==="before"||e==="after")return this.beforeAfter(t,e);{let l="raw"+yx(e);this[l]?i=this[l](s,t):s.walk(c=>{if(i=c.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=hd[e]),s.rawCache[e]=i,i}rawSemicolon(t){let r;return t.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"&&(r=e.raws.semicolon,typeof r<"u"))return!1}),r}rawEmptyBody(t){let r;return t.walk(e=>{if(e.nodes&&e.nodes.length===0&&(r=e.raws.after,typeof r<"u"))return!1}),r}rawIndent(t){if(t.raws.indent)return t.raws.indent;let r;return t.walk(e=>{let i=e.parent;if(i&&i!==t&&i.parent&&i.parent===t&&typeof e.raws.before<"u"){let a=e.raws.before.split(`
|
|
`);return r=a[a.length-1],r=r.replace(/\S/g,""),!1}}),r}rawBeforeComment(t,r){let e;return t.walkComments(i=>{if(typeof i.raws.before<"u")return e=i.raws.before,e.includes(`
|
|
`)&&(e=e.replace(/[^\n]+$/,"")),!1}),typeof e>"u"?e=this.raw(r,null,"beforeDecl"):e&&(e=e.replace(/\S/g,"")),e}rawBeforeDecl(t,r){let e;return t.walkDecls(i=>{if(typeof i.raws.before<"u")return e=i.raws.before,e.includes(`
|
|
`)&&(e=e.replace(/[^\n]+$/,"")),!1}),typeof e>"u"?e=this.raw(r,null,"beforeRule"):e&&(e=e.replace(/\S/g,"")),e}rawBeforeRule(t){let r;return t.walk(e=>{if(e.nodes&&(e.parent!==t||t.first!==e)&&typeof e.raws.before<"u")return r=e.raws.before,r.includes(`
|
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeClose(t){let r;return t.walk(e=>{if(e.nodes&&e.nodes.length>0&&typeof e.raws.after<"u")return r=e.raws.after,r.includes(`
|
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(t){let r;return t.walk(e=>{if(e.type!=="decl"&&(r=e.raws.between,typeof r<"u"))return!1}),r}rawColon(t){let r;return t.walkDecls(e=>{if(typeof e.raws.between<"u")return r=e.raws.between.replace(/[^\s:]/g,""),!1}),r}beforeAfter(t,r){let e;t.type==="decl"?e=this.raw(t,null,"beforeDecl"):t.type==="comment"?e=this.raw(t,null,"beforeComment"):r==="before"?e=this.raw(t,null,"beforeRule"):e=this.raw(t,null,"beforeClose");let i=t.parent,a=0;for(;i&&i.type!=="root";)a+=1,i=i.parent;if(e.includes(`
|
|
`)){let s=this.raw(t,null,"indent");if(s.length)for(let l=0;l<a;l++)e+=s}return e}rawValue(t,r){let e=t[r],i=t.raws[r];return i&&i.value===e?i.raw:e}};md.exports=yn;yn.default=yn});var bn=D((H2,vd)=>{"use strict";var bx=So();function wo(n,t){new bx(t).stringify(n)}vd.exports=wo;wo.default=wo});var Sn=D((K2,gd)=>{"use strict";var{isClean:ia,my:xx}=na(),Sx=ra(),wx=So(),Ex=bn();function Eo(n,t){let r=new n.constructor;for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e)||e==="proxyCache")continue;let i=n[e],a=typeof i;e==="parent"&&a==="object"?t&&(r[e]=t):e==="source"?r[e]=i:Array.isArray(i)?r[e]=i.map(s=>Eo(s,r)):(a==="object"&&i!==null&&(i=Eo(i)),r[e]=i)}return r}var xn=class{constructor(t={}){this.raws={},this[ia]=!1,this[xx]=!0;for(let r in t)if(r==="nodes"){this.nodes=[];for(let e of t[r])typeof e.clone=="function"?this.append(e.clone()):this.append(e)}else this[r]=t[r]}error(t,r={}){if(this.source){let{start:e,end:i}=this.rangeBy(r);return this.source.input.error(t,{line:e.line,column:e.column},{line:i.line,column:i.column},r)}return new Sx(t)}warn(t,r,e){let i={node:this};for(let a in e)i[a]=e[a];return t.warn(r,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(t=Ex){t.stringify&&(t=t.stringify);let r="";return t(this,e=>{r+=e}),r}assign(t={}){for(let r in t)this[r]=t[r];return this}clone(t={}){let r=Eo(this);for(let e in t)r[e]=t[e];return r}cloneBefore(t={}){let r=this.clone(t);return this.parent.insertBefore(this,r),r}cloneAfter(t={}){let r=this.clone(t);return this.parent.insertAfter(this,r),r}replaceWith(...t){if(this.parent){let r=this,e=!1;for(let i of t)i===this?e=!0:e?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);e||this.remove()}return this}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}before(t){return this.parent.insertBefore(this,t),this}after(t){return this.parent.insertAfter(this,t),this}root(){let t=this;for(;t.parent&&t.parent.type!=="document";)t=t.parent;return t}raw(t,r){return new wx().raw(this,t,r)}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}toJSON(t,r){let e={},i=r==null;r=r||new Map;let a=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let l=this[s];if(Array.isArray(l))e[s]=l.map(c=>typeof c=="object"&&c.toJSON?c.toJSON(null,r):c);else if(typeof l=="object"&&l.toJSON)e[s]=l.toJSON(null,r);else if(s==="source"){let c=r.get(l.input);c==null&&(c=a,r.set(l.input,a),a++),e[s]={inputId:c,start:l.start,end:l.end}}else e[s]=l}return i&&(e.inputs=[...r.keys()].map(s=>s.toJSON())),e}positionInside(t){let r=this.toString(),e=this.source.start.column,i=this.source.start.line;for(let a=0;a<t;a++)r[a]===`
|
|
`?(e=1,i+=1):e+=1;return{line:i,column:e}}positionBy(t){let r=this.source.start;if(t.index)r=this.positionInside(t.index);else if(t.word){let e=this.toString().indexOf(t.word);e!==-1&&(r=this.positionInside(e))}return r}rangeBy(t){let r={line:this.source.start.line,column:this.source.start.column},e=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:r.line,column:r.column+1};if(t.word){let i=this.toString().indexOf(t.word);i!==-1&&(r=this.positionInside(i),e=this.positionInside(i+t.word.length))}else t.start?r={line:t.start.line,column:t.start.column}:t.index&&(r=this.positionInside(t.index)),t.end?e={line:t.end.line,column:t.end.column}:t.endIndex?e=this.positionInside(t.endIndex):t.index&&(e=this.positionInside(t.index+1));return(e.line<r.line||e.line===r.line&&e.column<=r.column)&&(e={line:r.line,column:r.column+1}),{start:r,end:e}}getProxyProcessor(){return{set(t,r,e){return t[r]===e||(t[r]=e,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&t.markDirty()),!0},get(t,r){return r==="proxyOf"?t:r==="root"?()=>t.root().toProxy():t[r]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let r=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return t}markDirty(){if(this[ia]){this[ia]=!1;let t=this;for(;t=t.parent;)t[ia]=!1}}get proxyOf(){return this}};gd.exports=xn;xn.default=xn});var En=D((Y2,yd)=>{"use strict";var Dx=Sn(),wn=class extends Dx{constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};yd.exports=wn;wn.default=wn});var xd=D(Do=>{var bd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Do.encode=function(n){if(0<=n&&n<bd.length)return bd[n];throw new TypeError("Must be between 0 and 63: "+n)};Do.decode=function(n){var t=65,r=90,e=97,i=122,a=48,s=57,l=43,c=47,p=26,f=52;return t<=n&&n<=r?n-t:e<=n&&n<=i?n-e+p:a<=n&&n<=s?n-a+f:n==l?62:n==c?63:-1}});var _o=D(Ao=>{var Sd=xd(),Co=5,wd=1<<Co,Ed=wd-1,Dd=wd;function Cx(n){return n<0?(-n<<1)+1:(n<<1)+0}function Ax(n){var t=(n&1)===1,r=n>>1;return t?-r:r}Ao.encode=function(t){var r="",e,i=Cx(t);do e=i&Ed,i>>>=Co,i>0&&(e|=Dd),r+=Sd.encode(e);while(i>0);return r};Ao.decode=function(t,r,e){var i=t.length,a=0,s=0,l,c;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(c=Sd.decode(t.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));l=!!(c&Dd),c&=Ed,a=a+(c<<s),s+=Co}while(l);e.value=Ax(a),e.rest=r}});var Ar=D(Ce=>{function _x(n,t,r){if(t in n)return n[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}Ce.getArg=_x;var Cd=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Tx=/^data:.+\,.+$/;function Dn(n){var t=n.match(Cd);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}Ce.urlParse=Dn;function Cr(n){var t="";return n.scheme&&(t+=n.scheme+":"),t+="//",n.auth&&(t+=n.auth+"@"),n.host&&(t+=n.host),n.port&&(t+=":"+n.port),n.path&&(t+=n.path),t}Ce.urlGenerate=Cr;var kx=32;function Fx(n){var t=[];return function(r){for(var e=0;e<t.length;e++)if(t[e].input===r){var i=t[0];return t[0]=t[e],t[e]=i,t[0].result}var a=n(r);return t.unshift({input:r,result:a}),t.length>kx&&t.pop(),a}}var To=Fx(function(t){var r=t,e=Dn(t);if(e){if(!e.path)return t;r=e.path}for(var i=Ce.isAbsolute(r),a=[],s=0,l=0;;)if(s=l,l=r.indexOf("/",s),l===-1){a.push(r.slice(s));break}else for(a.push(r.slice(s,l));l<r.length&&r[l]==="/";)l++;for(var c,p=0,l=a.length-1;l>=0;l--)c=a[l],c==="."?a.splice(l,1):c===".."?p++:p>0&&(c===""?(a.splice(l+1,p),p=0):(a.splice(l,2),p--));return r=a.join("/"),r===""&&(r=i?"/":"."),e?(e.path=r,Cr(e)):r});Ce.normalize=To;function Ad(n,t){n===""&&(n="."),t===""&&(t=".");var r=Dn(t),e=Dn(n);if(e&&(n=e.path||"/"),r&&!r.scheme)return e&&(r.scheme=e.scheme),Cr(r);if(r||t.match(Tx))return t;if(e&&!e.host&&!e.path)return e.host=t,Cr(e);var i=t.charAt(0)==="/"?t:To(n.replace(/\/+$/,"")+"/"+t);return e?(e.path=i,Cr(e)):i}Ce.join=Ad;Ce.isAbsolute=function(n){return n.charAt(0)==="/"||Cd.test(n)};function Ox(n,t){n===""&&(n="."),n=n.replace(/\/$/,"");for(var r=0;t.indexOf(n+"/")!==0;){var e=n.lastIndexOf("/");if(e<0||(n=n.slice(0,e),n.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(n.length+1)}Ce.relative=Ox;var _d=function(){var n=Object.create(null);return!("__proto__"in n)}();function Td(n){return n}function Px(n){return kd(n)?"$"+n:n}Ce.toSetString=_d?Td:Px;function Mx(n){return kd(n)?n.slice(1):n}Ce.fromSetString=_d?Td:Mx;function kd(n){if(!n)return!1;var t=n.length;if(t<9||n.charCodeAt(t-1)!==95||n.charCodeAt(t-2)!==95||n.charCodeAt(t-3)!==111||n.charCodeAt(t-4)!==116||n.charCodeAt(t-5)!==111||n.charCodeAt(t-6)!==114||n.charCodeAt(t-7)!==112||n.charCodeAt(t-8)!==95||n.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(n.charCodeAt(r)!==36)return!1;return!0}function Ix(n,t,r){var e=Pt(n.source,t.source);return e!==0||(e=n.originalLine-t.originalLine,e!==0)||(e=n.originalColumn-t.originalColumn,e!==0||r)||(e=n.generatedColumn-t.generatedColumn,e!==0)||(e=n.generatedLine-t.generatedLine,e!==0)?e:Pt(n.name,t.name)}Ce.compareByOriginalPositions=Ix;function Nx(n,t,r){var e;return e=n.originalLine-t.originalLine,e!==0||(e=n.originalColumn-t.originalColumn,e!==0||r)||(e=n.generatedColumn-t.generatedColumn,e!==0)||(e=n.generatedLine-t.generatedLine,e!==0)?e:Pt(n.name,t.name)}Ce.compareByOriginalPositionsNoSource=Nx;function Lx(n,t,r){var e=n.generatedLine-t.generatedLine;return e!==0||(e=n.generatedColumn-t.generatedColumn,e!==0||r)||(e=Pt(n.source,t.source),e!==0)||(e=n.originalLine-t.originalLine,e!==0)||(e=n.originalColumn-t.originalColumn,e!==0)?e:Pt(n.name,t.name)}Ce.compareByGeneratedPositionsDeflated=Lx;function Bx(n,t,r){var e=n.generatedColumn-t.generatedColumn;return e!==0||r||(e=Pt(n.source,t.source),e!==0)||(e=n.originalLine-t.originalLine,e!==0)||(e=n.originalColumn-t.originalColumn,e!==0)?e:Pt(n.name,t.name)}Ce.compareByGeneratedPositionsDeflatedNoLine=Bx;function Pt(n,t){return n===t?0:n===null?1:t===null?-1:n>t?1:-1}function qx(n,t){var r=n.generatedLine-t.generatedLine;return r!==0||(r=n.generatedColumn-t.generatedColumn,r!==0)||(r=Pt(n.source,t.source),r!==0)||(r=n.originalLine-t.originalLine,r!==0)||(r=n.originalColumn-t.originalColumn,r!==0)?r:Pt(n.name,t.name)}Ce.compareByGeneratedPositionsInflated=qx;function Rx(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}Ce.parseSourceMapInput=Rx;function jx(n,t,r){if(t=t||"",n&&(n[n.length-1]!=="/"&&t[0]!=="/"&&(n+="/"),t=n+t),r){var e=Dn(r);if(!e)throw new Error("sourceMapURL could not be parsed");if(e.path){var i=e.path.lastIndexOf("/");i>=0&&(e.path=e.path.substring(0,i+1))}t=Ad(Cr(e),t)}return To(t)}Ce.computeSourceURL=jx});var Oo=D(Fd=>{var ko=Ar(),Fo=Object.prototype.hasOwnProperty,ir=typeof Map<"u";function Mt(){this._array=[],this._set=ir?new Map:Object.create(null)}Mt.fromArray=function(t,r){for(var e=new Mt,i=0,a=t.length;i<a;i++)e.add(t[i],r);return e};Mt.prototype.size=function(){return ir?this._set.size:Object.getOwnPropertyNames(this._set).length};Mt.prototype.add=function(t,r){var e=ir?t:ko.toSetString(t),i=ir?this.has(t):Fo.call(this._set,e),a=this._array.length;(!i||r)&&this._array.push(t),i||(ir?this._set.set(t,a):this._set[e]=a)};Mt.prototype.has=function(t){if(ir)return this._set.has(t);var r=ko.toSetString(t);return Fo.call(this._set,r)};Mt.prototype.indexOf=function(t){if(ir){var r=this._set.get(t);if(r>=0)return r}else{var e=ko.toSetString(t);if(Fo.call(this._set,e))return this._set[e]}throw new Error('"'+t+'" is not in the set.')};Mt.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};Mt.prototype.toArray=function(){return this._array.slice()};Fd.ArraySet=Mt});var Md=D(Pd=>{var Od=Ar();function Ux(n,t){var r=n.generatedLine,e=t.generatedLine,i=n.generatedColumn,a=t.generatedColumn;return e>r||e==r&&a>=i||Od.compareByGeneratedPositionsInflated(n,t)<=0}function aa(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}aa.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};aa.prototype.add=function(t){Ux(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};aa.prototype.toArray=function(){return this._sorted||(this._array.sort(Od.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Pd.MappingList=aa});var Po=D(Id=>{var Cn=_o(),xe=Ar(),sa=Oo().ArraySet,zx=Md().MappingList;function Ze(n){n||(n={}),this._file=xe.getArg(n,"file",null),this._sourceRoot=xe.getArg(n,"sourceRoot",null),this._skipValidation=xe.getArg(n,"skipValidation",!1),this._sources=new sa,this._names=new sa,this._mappings=new zx,this._sourcesContents=null}Ze.prototype._version=3;Ze.fromSourceMap=function(t){var r=t.sourceRoot,e=new Ze({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var a={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(a.source=i.source,r!=null&&(a.source=xe.relative(r,a.source)),a.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(a.name=i.name)),e.addMapping(a)}),t.sources.forEach(function(i){var a=i;r!==null&&(a=xe.relative(r,i)),e._sources.has(a)||e._sources.add(a);var s=t.sourceContentFor(i);s!=null&&e.setSourceContent(i,s)}),e};Ze.prototype.addMapping=function(t){var r=xe.getArg(t,"generated"),e=xe.getArg(t,"original",null),i=xe.getArg(t,"source",null),a=xe.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,e,i,a),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:e!=null&&e.line,originalColumn:e!=null&&e.column,source:i,name:a})};Ze.prototype.setSourceContent=function(t,r){var e=t;this._sourceRoot!=null&&(e=xe.relative(this._sourceRoot,e)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[xe.toSetString(e)]=r):this._sourcesContents&&(delete this._sourcesContents[xe.toSetString(e)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Ze.prototype.applySourceMap=function(t,r,e){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var a=this._sourceRoot;a!=null&&(i=xe.relative(a,i));var s=new sa,l=new sa;this._mappings.unsortedForEach(function(c){if(c.source===i&&c.originalLine!=null){var p=t.originalPositionFor({line:c.originalLine,column:c.originalColumn});p.source!=null&&(c.source=p.source,e!=null&&(c.source=xe.join(e,c.source)),a!=null&&(c.source=xe.relative(a,c.source)),c.originalLine=p.line,c.originalColumn=p.column,p.name!=null&&(c.name=p.name))}var f=c.source;f!=null&&!s.has(f)&&s.add(f);var v=c.name;v!=null&&!l.has(v)&&l.add(v)},this),this._sources=s,this._names=l,t.sources.forEach(function(c){var p=t.sourceContentFor(c);p!=null&&(e!=null&&(c=xe.join(e,c)),a!=null&&(c=xe.relative(a,c)),this.setSourceContent(c,p))},this)};Ze.prototype._validateMapping=function(t,r,e,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!e&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&e)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:e,original:r,name:i}))}};Ze.prototype._serializeMappings=function(){for(var t=0,r=1,e=0,i=0,a=0,s=0,l="",c,p,f,v,m=this._mappings.toArray(),o=0,u=m.length;o<u;o++){if(p=m[o],c="",p.generatedLine!==r)for(t=0;p.generatedLine!==r;)c+=";",r++;else if(o>0){if(!xe.compareByGeneratedPositionsInflated(p,m[o-1]))continue;c+=","}c+=Cn.encode(p.generatedColumn-t),t=p.generatedColumn,p.source!=null&&(v=this._sources.indexOf(p.source),c+=Cn.encode(v-s),s=v,c+=Cn.encode(p.originalLine-1-i),i=p.originalLine-1,c+=Cn.encode(p.originalColumn-e),e=p.originalColumn,p.name!=null&&(f=this._names.indexOf(p.name),c+=Cn.encode(f-a),a=f)),l+=c}return l};Ze.prototype._generateSourcesContent=function(t,r){return t.map(function(e){if(!this._sourcesContents)return null;r!=null&&(e=xe.relative(r,e));var i=xe.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};Ze.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};Ze.prototype.toString=function(){return JSON.stringify(this.toJSON())};Id.SourceMapGenerator=Ze});var Nd=D(ar=>{ar.GREATEST_LOWER_BOUND=1;ar.LEAST_UPPER_BOUND=2;function Mo(n,t,r,e,i,a){var s=Math.floor((t-n)/2)+n,l=i(r,e[s],!0);return l===0?s:l>0?t-s>1?Mo(s,t,r,e,i,a):a==ar.LEAST_UPPER_BOUND?t<e.length?t:-1:s:s-n>1?Mo(n,s,r,e,i,a):a==ar.LEAST_UPPER_BOUND?s:n<0?-1:n}ar.search=function(t,r,e,i){if(r.length===0)return-1;var a=Mo(-1,r.length,t,r,e,i||ar.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&e(r[a],r[a-1],!0)===0;)--a;return a}});var qd=D(Bd=>{function Vx(n){function t(i,a,s){var l=i[a];i[a]=i[s],i[s]=l}function r(i,a){return Math.round(i+Math.random()*(a-i))}function e(i,a,s,l){if(s<l){var c=r(s,l),p=s-1;t(i,c,l);for(var f=i[l],v=s;v<l;v++)a(i[v],f,!1)<=0&&(p+=1,t(i,p,v));t(i,p+1,v);var m=p+1;e(i,a,s,m-1),e(i,a,m+1,l)}}return e}function Wx(n){let t=Vx.toString();return new Function(`return ${t}`)()(n)}var Ld=new WeakMap;Bd.quickSort=function(n,t,r=0){let e=Ld.get(t);e===void 0&&(e=Wx(t),Ld.set(t,e)),e(n,t,r,n.length-1)}});var Ud=D(oa=>{var q=Ar(),No=Nd(),_r=Oo().ArraySet,Jx=_o(),An=qd().quickSort;function ae(n,t){var r=n;return typeof n=="string"&&(r=q.parseSourceMapInput(n)),r.sections!=null?new pt(r,t):new _e(r,t)}ae.fromSourceMap=function(n,t){return _e.fromSourceMap(n,t)};ae.prototype._version=3;ae.prototype.__generatedMappings=null;Object.defineProperty(ae.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});ae.prototype.__originalMappings=null;Object.defineProperty(ae.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});ae.prototype._charIsMappingSeparator=function(t,r){var e=t.charAt(r);return e===";"||e===","};ae.prototype._parseMappings=function(t,r){throw new Error("Subclasses must implement _parseMappings")};ae.GENERATED_ORDER=1;ae.ORIGINAL_ORDER=2;ae.GREATEST_LOWER_BOUND=1;ae.LEAST_UPPER_BOUND=2;ae.prototype.eachMapping=function(t,r,e){var i=r||null,a=e||ae.GENERATED_ORDER,s;switch(a){case ae.GENERATED_ORDER:s=this._generatedMappings;break;case ae.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var l=this.sourceRoot,c=t.bind(i),p=this._names,f=this._sources,v=this._sourceMapURL,m=0,o=s.length;m<o;m++){var u=s[m],d=u.source===null?null:f.at(u.source);d=q.computeSourceURL(l,d,v),c({source:d,generatedLine:u.generatedLine,generatedColumn:u.generatedColumn,originalLine:u.originalLine,originalColumn:u.originalColumn,name:u.name===null?null:p.at(u.name)})}};ae.prototype.allGeneratedPositionsFor=function(t){var r=q.getArg(t,"line"),e={source:q.getArg(t,"source"),originalLine:r,originalColumn:q.getArg(t,"column",0)};if(e.source=this._findSourceIndex(e.source),e.source<0)return[];var i=[],a=this._findMapping(e,this._originalMappings,"originalLine","originalColumn",q.compareByOriginalPositions,No.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(t.column===void 0)for(var l=s.originalLine;s&&s.originalLine===l;)i.push({line:q.getArg(s,"generatedLine",null),column:q.getArg(s,"generatedColumn",null),lastColumn:q.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==c;)i.push({line:q.getArg(s,"generatedLine",null),column:q.getArg(s,"generatedColumn",null),lastColumn:q.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i};oa.SourceMapConsumer=ae;function _e(n,t){var r=n;typeof n=="string"&&(r=q.parseSourceMapInput(n));var e=q.getArg(r,"version"),i=q.getArg(r,"sources"),a=q.getArg(r,"names",[]),s=q.getArg(r,"sourceRoot",null),l=q.getArg(r,"sourcesContent",null),c=q.getArg(r,"mappings"),p=q.getArg(r,"file",null);if(e!=this._version)throw new Error("Unsupported version: "+e);s&&(s=q.normalize(s)),i=i.map(String).map(q.normalize).map(function(f){return s&&q.isAbsolute(s)&&q.isAbsolute(f)?q.relative(s,f):f}),this._names=_r.fromArray(a.map(String),!0),this._sources=_r.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(f){return q.computeSourceURL(s,f,t)}),this.sourceRoot=s,this.sourcesContent=l,this._mappings=c,this._sourceMapURL=t,this.file=p}_e.prototype=Object.create(ae.prototype);_e.prototype.consumer=ae;_e.prototype._findSourceIndex=function(n){var t=n;if(this.sourceRoot!=null&&(t=q.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==n)return r;return-1};_e.fromSourceMap=function(t,r){var e=Object.create(_e.prototype),i=e._names=_r.fromArray(t._names.toArray(),!0),a=e._sources=_r.fromArray(t._sources.toArray(),!0);e.sourceRoot=t._sourceRoot,e.sourcesContent=t._generateSourcesContent(e._sources.toArray(),e.sourceRoot),e.file=t._file,e._sourceMapURL=r,e._absoluteSources=e._sources.toArray().map(function(o){return q.computeSourceURL(e.sourceRoot,o,r)});for(var s=t._mappings.toArray().slice(),l=e.__generatedMappings=[],c=e.__originalMappings=[],p=0,f=s.length;p<f;p++){var v=s[p],m=new jd;m.generatedLine=v.generatedLine,m.generatedColumn=v.generatedColumn,v.source&&(m.source=a.indexOf(v.source),m.originalLine=v.originalLine,m.originalColumn=v.originalColumn,v.name&&(m.name=i.indexOf(v.name)),c.push(m)),l.push(m)}return An(e.__originalMappings,q.compareByOriginalPositions),e};_e.prototype._version=3;Object.defineProperty(_e.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function jd(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var Io=q.compareByGeneratedPositionsDeflatedNoLine;function Rd(n,t){let r=n.length,e=n.length-t;if(!(e<=1))if(e==2){let i=n[t],a=n[t+1];Io(i,a)>0&&(n[t]=a,n[t+1]=i)}else if(e<20)for(let i=t;i<r;i++)for(let a=i;a>t;a--){let s=n[a-1],l=n[a];if(Io(s,l)<=0)break;n[a-1]=l,n[a]=s}else An(n,Io,t)}_e.prototype._parseMappings=function(t,r){var e=1,i=0,a=0,s=0,l=0,c=0,p=t.length,f=0,v={},m={},o=[],u=[],d,h,g,y,b;let x=0;for(;f<p;)if(t.charAt(f)===";")e++,f++,i=0,Rd(u,x),x=u.length;else if(t.charAt(f)===",")f++;else{for(d=new jd,d.generatedLine=e,y=f;y<p&&!this._charIsMappingSeparator(t,y);y++);for(h=t.slice(f,y),g=[];f<y;)Jx.decode(t,f,m),b=m.value,f=m.rest,g.push(b);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");if(d.generatedColumn=i+g[0],i=d.generatedColumn,g.length>1&&(d.source=l+g[1],l+=g[1],d.originalLine=a+g[2],a=d.originalLine,d.originalLine+=1,d.originalColumn=s+g[3],s=d.originalColumn,g.length>4&&(d.name=c+g[4],c+=g[4])),u.push(d),typeof d.originalLine=="number"){let E=d.source;for(;o.length<=E;)o.push(null);o[E]===null&&(o[E]=[]),o[E].push(d)}}Rd(u,x),this.__generatedMappings=u;for(var w=0;w<o.length;w++)o[w]!=null&&An(o[w],q.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...o)};_e.prototype._findMapping=function(t,r,e,i,a,s){if(t[e]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[e]);if(t[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[i]);return No.search(t,r,a,s)};_e.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var r=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var e=this._generatedMappings[t+1];if(r.generatedLine===e.generatedLine){r.lastGeneratedColumn=e.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};_e.prototype.originalPositionFor=function(t){var r={generatedLine:q.getArg(t,"line"),generatedColumn:q.getArg(t,"column")},e=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",q.compareByGeneratedPositionsDeflated,q.getArg(t,"bias",ae.GREATEST_LOWER_BOUND));if(e>=0){var i=this._generatedMappings[e];if(i.generatedLine===r.generatedLine){var a=q.getArg(i,"source",null);a!==null&&(a=this._sources.at(a),a=q.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=q.getArg(i,"name",null);return s!==null&&(s=this._names.at(s)),{source:a,line:q.getArg(i,"originalLine",null),column:q.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};_e.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};_e.prototype.sourceContentFor=function(t,r){if(!this.sourcesContent)return null;var e=this._findSourceIndex(t);if(e>=0)return this.sourcesContent[e];var i=t;this.sourceRoot!=null&&(i=q.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=q.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if(a.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!a.path||a.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};_e.prototype.generatedPositionFor=function(t){var r=q.getArg(t,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var e={source:r,originalLine:q.getArg(t,"line"),originalColumn:q.getArg(t,"column")},i=this._findMapping(e,this._originalMappings,"originalLine","originalColumn",q.compareByOriginalPositions,q.getArg(t,"bias",ae.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===e.source)return{line:q.getArg(a,"generatedLine",null),column:q.getArg(a,"generatedColumn",null),lastColumn:q.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};oa.BasicSourceMapConsumer=_e;function pt(n,t){var r=n;typeof n=="string"&&(r=q.parseSourceMapInput(n));var e=q.getArg(r,"version"),i=q.getArg(r,"sections");if(e!=this._version)throw new Error("Unsupported version: "+e);this._sources=new _r,this._names=new _r;var a={line:-1,column:0};this._sections=i.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var l=q.getArg(s,"offset"),c=q.getArg(l,"line"),p=q.getArg(l,"column");if(c<a.line||c===a.line&&p<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=l,{generatedOffset:{generatedLine:c+1,generatedColumn:p+1},consumer:new ae(q.getArg(s,"map"),t)}})}pt.prototype=Object.create(ae.prototype);pt.prototype.constructor=ae;pt.prototype._version=3;Object.defineProperty(pt.prototype,"sources",{get:function(){for(var n=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)n.push(this._sections[t].consumer.sources[r]);return n}});pt.prototype.originalPositionFor=function(t){var r={generatedLine:q.getArg(t,"line"),generatedColumn:q.getArg(t,"column")},e=No.search(r,this._sections,function(a,s){var l=a.generatedLine-s.generatedOffset.generatedLine;return l||a.generatedColumn-s.generatedOffset.generatedColumn}),i=this._sections[e];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};pt.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};pt.prototype.sourceContentFor=function(t,r){for(var e=0;e<this._sections.length;e++){var i=this._sections[e],a=i.consumer.sourceContentFor(t,!0);if(a)return a}if(r)return null;throw new Error('"'+t+'" is not in the SourceMap.')};pt.prototype.generatedPositionFor=function(t){for(var r=0;r<this._sections.length;r++){var e=this._sections[r];if(e.consumer._findSourceIndex(q.getArg(t,"source"))!==-1){var i=e.consumer.generatedPositionFor(t);if(i){var a={line:i.line+(e.generatedOffset.generatedLine-1),column:i.column+(e.generatedOffset.generatedLine===i.line?e.generatedOffset.generatedColumn-1:0)};return a}}}return{line:null,column:null}};pt.prototype._parseMappings=function(t,r){this.__generatedMappings=[],this.__originalMappings=[];for(var e=0;e<this._sections.length;e++)for(var i=this._sections[e],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var l=a[s],c=i.consumer._sources.at(l.source);c=q.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var p=null;l.name&&(p=i.consumer._names.at(l.name),this._names.add(p),p=this._names.indexOf(p));var f={source:c,generatedLine:l.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(i.generatedOffset.generatedLine===l.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:p};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}An(this.__generatedMappings,q.compareByGeneratedPositionsDeflated),An(this.__originalMappings,q.compareByOriginalPositions)};oa.IndexedSourceMapConsumer=pt});var Vd=D(zd=>{var Xx=Po().SourceMapGenerator,la=Ar(),$x=/(\r?\n)/,Gx=10,Tr="$$$isSourceNode$$$";function We(n,t,r,e,i){this.children=[],this.sourceContents={},this.line=n==null?null:n,this.column=t==null?null:t,this.source=r==null?null:r,this.name=i==null?null:i,this[Tr]=!0,e!=null&&this.add(e)}We.fromStringWithSourceMap=function(t,r,e){var i=new We,a=t.split($x),s=0,l=function(){var m=u(),o=u()||"";return m+o;function u(){return s<a.length?a[s++]:void 0}},c=1,p=0,f=null;return r.eachMapping(function(m){if(f!==null)if(c<m.generatedLine)v(f,l()),c++,p=0;else{var o=a[s]||"",u=o.substr(0,m.generatedColumn-p);a[s]=o.substr(m.generatedColumn-p),p=m.generatedColumn,v(f,u),f=m;return}for(;c<m.generatedLine;)i.add(l()),c++;if(p<m.generatedColumn){var o=a[s]||"";i.add(o.substr(0,m.generatedColumn)),a[s]=o.substr(m.generatedColumn),p=m.generatedColumn}f=m},this),s<a.length&&(f&&v(f,l()),i.add(a.splice(s).join(""))),r.sources.forEach(function(m){var o=r.sourceContentFor(m);o!=null&&(e!=null&&(m=la.join(e,m)),i.setSourceContent(m,o))}),i;function v(m,o){if(m===null||m.source===void 0)i.add(o);else{var u=e?la.join(e,m.source):m.source;i.add(new We(m.originalLine,m.originalColumn,u,o,m.name))}}};We.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(r){this.add(r)},this);else if(t[Tr]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};We.prototype.prepend=function(t){if(Array.isArray(t))for(var r=t.length-1;r>=0;r--)this.prepend(t[r]);else if(t[Tr]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};We.prototype.walk=function(t){for(var r,e=0,i=this.children.length;e<i;e++)r=this.children[e],r[Tr]?r.walk(t):r!==""&&t(r,{source:this.source,line:this.line,column:this.column,name:this.name})};We.prototype.join=function(t){var r,e,i=this.children.length;if(i>0){for(r=[],e=0;e<i-1;e++)r.push(this.children[e]),r.push(t);r.push(this.children[e]),this.children=r}return this};We.prototype.replaceRight=function(t,r){var e=this.children[this.children.length-1];return e[Tr]?e.replaceRight(t,r):typeof e=="string"?this.children[this.children.length-1]=e.replace(t,r):this.children.push("".replace(t,r)),this};We.prototype.setSourceContent=function(t,r){this.sourceContents[la.toSetString(t)]=r};We.prototype.walkSourceContents=function(t){for(var r=0,e=this.children.length;r<e;r++)this.children[r][Tr]&&this.children[r].walkSourceContents(t);for(var i=Object.keys(this.sourceContents),r=0,e=i.length;r<e;r++)t(la.fromSetString(i[r]),this.sourceContents[i[r]])};We.prototype.toString=function(){var t="";return this.walk(function(r){t+=r}),t};We.prototype.toStringWithSourceMap=function(t){var r={code:"",line:1,column:0},e=new Xx(t),i=!1,a=null,s=null,l=null,c=null;return this.walk(function(p,f){r.code+=p,f.source!==null&&f.line!==null&&f.column!==null?((a!==f.source||s!==f.line||l!==f.column||c!==f.name)&&e.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name}),a=f.source,s=f.line,l=f.column,c=f.name,i=!0):i&&(e.addMapping({generated:{line:r.line,column:r.column}}),a=null,i=!1);for(var v=0,m=p.length;v<m;v++)p.charCodeAt(v)===Gx?(r.line++,r.column=0,v+1===m?(a=null,i=!1):i&&e.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name})):r.column++}),this.walkSourceContents(function(p,f){e.setSourceContent(p,f)}),{code:r.code,map:e}};zd.SourceNode=We});var ca=D(ua=>{ua.SourceMapGenerator=Po().SourceMapGenerator;ua.SourceMapConsumer=Ud().SourceMapConsumer;ua.SourceNode=Vd().SourceNode});var Jd=D((uM,Wd)=>{var Hx="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Kx=(n,t=21)=>(r=t)=>{let e="",i=r;for(;i--;)e+=n[Math.random()*n.length|0];return e},Yx=(n=21)=>{let t="",r=n;for(;r--;)t+=Hx[Math.random()*64|0];return t};Wd.exports={nanoid:Yx,customAlphabet:Kx}});var Bo=D((cM,Gd)=>{"use strict";var{SourceMapConsumer:Xd,SourceMapGenerator:$d}=ca(),{existsSync:Qx,readFileSync:Zx}=require("fs"),{dirname:Lo,join:eS}=require("path");function tS(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}var _n=class{constructor(t,r){if(r.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let e=r.map?r.map.prev:void 0,i=this.loadMap(r.from,e);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=Lo(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Xd(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(t,r){return t?t.substr(0,r.length)===r:!1}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(t){let r=t.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let e=t.lastIndexOf(r.pop()),i=t.indexOf("*/",e);e>-1&&i>-1&&(this.annotation=this.getAnnotationURL(t.substring(e,i)))}decodeInline(t){let r=/^data:application\/json;charset=utf-?8;base64,/,e=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,a=/^data:application\/json,/;if(i.test(t)||a.test(t))return decodeURIComponent(t.substr(RegExp.lastMatch.length));if(r.test(t)||e.test(t))return tS(t.substr(RegExp.lastMatch.length));let s=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}loadFile(t){if(this.root=Lo(t),Qx(t))return this.mapFile=t,Zx(t,"utf-8").toString().trim()}loadMap(t,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let e=r(t);if(e){let i=this.loadFile(e);if(!i)throw new Error("Unable to load previous source map: "+e.toString());return i}}else{if(r instanceof Xd)return $d.fromSourceMap(r).toString();if(r instanceof $d)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let e=this.annotation;return t&&(e=eS(Lo(t),e)),this.loadFile(e)}}}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}};Gd.exports=_n;_n.default=_n});var Tn=D((fM,Qd)=>{"use strict";var{SourceMapConsumer:rS,SourceMapGenerator:nS}=ca(),{fileURLToPath:Hd,pathToFileURL:fa}=require("url"),{resolve:jo,isAbsolute:Uo}=require("path"),{nanoid:iS}=Jd(),qo=bo(),Kd=ra(),aS=Bo(),Ro=Symbol("fromOffsetCache"),sS=Boolean(rS&&nS),Yd=Boolean(jo&&Uo),kr=class{constructor(t,r={}){if(t===null||typeof t>"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!Yd||/^\w+:\/\//.test(r.from)||Uo(r.from)?this.file=r.from:this.file=jo(r.from)),Yd&&sS){let e=new aS(this.css,r);if(e.text){this.map=e;let i=e.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+iS(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(t){let r,e;if(this[Ro])e=this[Ro];else{let a=this.css.split(`
|
|
`);e=new Array(a.length);let s=0;for(let l=0,c=a.length;l<c;l++)e[l]=s,s+=a[l].length+1;this[Ro]=e}r=e[e.length-1];let i=0;if(t>=r)i=e.length-1;else{let a=e.length-2,s;for(;i<a;)if(s=i+(a-i>>1),t<e[s])a=s-1;else if(t>=e[s+1])i=s+1;else{i=s;break}}return{line:i+1,col:t-e[i]+1}}error(t,r,e,i={}){let a,s,l;if(r&&typeof r=="object"){let p=r,f=e;if(typeof r.offset=="number"){let v=this.fromOffset(p.offset);r=v.line,e=v.col}else r=p.line,e=p.column;if(typeof f.offset=="number"){let v=this.fromOffset(f.offset);s=v.line,l=v.col}else s=f.line,l=f.column}else if(!e){let p=this.fromOffset(r);r=p.line,e=p.col}let c=this.origin(r,e,s,l);return c?a=new Kd(t,c.endLine===void 0?c.line:{line:c.line,column:c.column},c.endLine===void 0?c.column:{line:c.endLine,column:c.endColumn},c.source,c.file,i.plugin):a=new Kd(t,s===void 0?r:{line:r,column:e},s===void 0?e:{line:s,column:l},this.css,this.file,i.plugin),a.input={line:r,column:e,endLine:s,endColumn:l,source:this.css},this.file&&(fa&&(a.input.url=fa(this.file).toString()),a.input.file=this.file),a}origin(t,r,e,i){if(!this.map)return!1;let a=this.map.consumer(),s=a.originalPositionFor({line:t,column:r});if(!s.source)return!1;let l;typeof e=="number"&&(l=a.originalPositionFor({line:e,column:i}));let c;Uo(s.source)?c=fa(s.source):c=new URL(s.source,this.map.consumer().sourceRoot||fa(this.map.mapFile));let p={url:c.toString(),line:s.line,column:s.column,endLine:l&&l.line,endColumn:l&&l.column};if(c.protocol==="file:")if(Hd)p.file=Hd(c);else throw new Error("file: protocol is not available in this PostCSS build");let f=a.sourceContentFor(s.source);return f&&(p.source=f),p}mapResolve(t){return/^\w+:\/\//.test(t)?t:jo(this.map.consumer().sourceRoot||this.map.root||".",t)}get from(){return this.file||this.id}toJSON(){let t={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(t[r]=this[r]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}};Qd.exports=kr;kr.default=kr;qo&&qo.registerInput&&qo.registerInput(kr)});var Vo=D((dM,ip)=>{"use strict";var{SourceMapConsumer:ep,SourceMapGenerator:da}=ca(),{dirname:pa,resolve:tp,relative:rp,sep:np}=require("path"),{pathToFileURL:Zd}=require("url"),oS=Tn(),lS=Boolean(ep&&da),uS=Boolean(pa&&tp&&rp&&np),zo=class{constructor(t,r,e,i){this.stringify=t,this.mapOpts=e.map||{},this.root=r,this.opts=e,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let r=t.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let t=new oS(this.css,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let r=this.root.nodes.length-1;r>=0;r--)t=this.root.nodes[r],t.type==="comment"&&t.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let t={};if(this.root)this.root.walk(r=>{if(r.source){let e=r.source.input.from;if(e&&!t[e]){t[e]=!0;let i=this.usesFileUrls?this.toFileUrl(e):this.toUrl(this.path(e));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}applyPrevMaps(){for(let t of this.previous()){let r=this.toUrl(this.path(t.file)),e=t.root||pa(t.file),i;this.mapOpts.sourcesContent===!1?(i=new ep(t.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=t.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(e)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let r=`
|
|
`;this.css.includes(`\r
|
|
`)&&(r=`\r
|
|
`),this.css+=r+"/*# sourceMappingURL="+t+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=da.fromSourceMap(t)}else this.map=new da({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(t){if(t.indexOf("<")===0||/^\w+:\/\//.test(t)||this.mapOpts.absolute)return t;let r=this.opts.to?pa(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(r=pa(tp(r,this.mapOpts.annotation))),t=rp(r,t),t}toUrl(t){return np==="\\"&&(t=t.replace(/\\/g,"/")),encodeURI(t).replace(/[#?]/g,encodeURIComponent)}toFileUrl(t){if(Zd)return Zd(t).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}generateString(){this.css="",this.map=new da({file:this.outputFile()});let t=1,r=1,e="<no source>",i={source:"",generated:{line:0,column:0},original:{line:0,column:0}},a,s;this.stringify(this.root,(l,c,p)=>{if(this.css+=l,c&&p!=="end"&&(i.generated.line=t,i.generated.column=r-1,c.source&&c.source.start?(i.source=this.sourcePath(c),i.original.line=c.source.start.line,i.original.column=c.source.start.column-1,this.map.addMapping(i)):(i.source=e,i.original.line=1,i.original.column=0,this.map.addMapping(i))),a=l.match(/\n/g),a?(t+=a.length,s=l.lastIndexOf(`
|
|
`),r=l.length-s):r+=l.length,c&&p!=="start"){let f=c.parent||{raws:{}};(c.type!=="decl"||c!==f.last||f.raws.semicolon)&&(c.source&&c.source.end?(i.source=this.sourcePath(c),i.original.line=c.source.end.line,i.original.column=c.source.end.column-1,i.generated.line=t,i.generated.column=r-2,this.map.addMapping(i)):(i.source=e,i.original.line=1,i.original.column=0,i.generated.line=t,i.generated.column=r-1,this.map.addMapping(i)))}})}generate(){if(this.clearAnnotation(),uS&&lS&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,r=>{t+=r}),[t]}}};ip.exports=zo});var Fn=D((pM,ap)=>{"use strict";var cS=Sn(),kn=class extends cS{constructor(t){super(t),this.type="comment"}};ap.exports=kn;kn.default=kn});var Ut=D((hM,hp)=>{"use strict";var{isClean:sp,my:op}=na(),lp=En(),up=Fn(),fS=Sn(),cp,Wo,Jo,fp;function dp(n){return n.map(t=>(t.nodes&&(t.nodes=dp(t.nodes)),delete t.source,t))}function pp(n){if(n[sp]=!1,n.proxyOf.nodes)for(let t of n.proxyOf.nodes)pp(t)}var Je=class extends fS{push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}each(t){if(!this.proxyOf.nodes)return;let r=this.getIterator(),e,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(e=this.indexes[r],i=t(this.proxyOf.nodes[e],e),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}walk(t){return this.each((r,e)=>{let i;try{i=t(r,e)}catch(a){throw r.addToError(a)}return i!==!1&&r.walk&&(i=r.walk(t)),i})}walkDecls(t,r){return r?t instanceof RegExp?this.walk((e,i)=>{if(e.type==="decl"&&t.test(e.prop))return r(e,i)}):this.walk((e,i)=>{if(e.type==="decl"&&e.prop===t)return r(e,i)}):(r=t,this.walk((e,i)=>{if(e.type==="decl")return r(e,i)}))}walkRules(t,r){return r?t instanceof RegExp?this.walk((e,i)=>{if(e.type==="rule"&&t.test(e.selector))return r(e,i)}):this.walk((e,i)=>{if(e.type==="rule"&&e.selector===t)return r(e,i)}):(r=t,this.walk((e,i)=>{if(e.type==="rule")return r(e,i)}))}walkAtRules(t,r){return r?t instanceof RegExp?this.walk((e,i)=>{if(e.type==="atrule"&&t.test(e.name))return r(e,i)}):this.walk((e,i)=>{if(e.type==="atrule"&&e.name===t)return r(e,i)}):(r=t,this.walk((e,i)=>{if(e.type==="atrule")return r(e,i)}))}walkComments(t){return this.walk((r,e)=>{if(r.type==="comment")return t(r,e)})}append(...t){for(let r of t){let e=this.normalize(r,this.last);for(let i of e)this.proxyOf.nodes.push(i)}return this.markDirty(),this}prepend(...t){t=t.reverse();for(let r of t){let e=this.normalize(r,this.first,"prepend").reverse();for(let i of e)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+e.length}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let r of this.nodes)r.cleanRaws(t)}insertBefore(t,r){let e=this.index(t),i=e===0?"prepend":!1,a=this.normalize(r,this.proxyOf.nodes[e],i).reverse();e=this.index(t);for(let l of a)this.proxyOf.nodes.splice(e,0,l);let s;for(let l in this.indexes)s=this.indexes[l],e<=s&&(this.indexes[l]=s+a.length);return this.markDirty(),this}insertAfter(t,r){let e=this.index(t),i=this.normalize(r,this.proxyOf.nodes[e]).reverse();e=this.index(t);for(let s of i)this.proxyOf.nodes.splice(e+1,0,s);let a;for(let s in this.indexes)a=this.indexes[s],e<a&&(this.indexes[s]=a+i.length);return this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let r;for(let e in this.indexes)r=this.indexes[e],r>=t&&(this.indexes[e]=r-1);return this.markDirty(),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(t,r,e){return e||(e=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(t,e))}),this.markDirty(),this}every(t){return this.nodes.every(t)}some(t){return this.nodes.some(t)}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}get first(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(t,r){if(typeof t=="string")t=dp(cp(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new lp(t)]}else if(t.selector)t=[new Wo(t)];else if(t.name)t=[new Jo(t)];else if(t.text)t=[new up(t)];else throw new Error("Unknown node type in node creation");return t.map(i=>(i[op]||Je.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[sp]&&pp(i),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}getProxyProcessor(){return{set(t,r,e){return t[r]===e||(t[r]=e,(r==="name"||r==="params"||r==="selector")&&t.markDirty()),!0},get(t,r){return r==="proxyOf"?t:t[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...e)=>t[r](...e.map(i=>typeof i=="function"?(a,s)=>i(a.toProxy(),s):i)):r==="every"||r==="some"?e=>t[r]((i,...a)=>e(i.toProxy(),...a)):r==="root"?()=>t.root().toProxy():r==="nodes"?t.nodes.map(e=>e.toProxy()):r==="first"||r==="last"?t[r].toProxy():t[r]:t[r]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t=this.lastEach;return this.indexes[t]=0,t}};Je.registerParse=n=>{cp=n};Je.registerRule=n=>{Wo=n};Je.registerAtRule=n=>{Jo=n};Je.registerRoot=n=>{fp=n};hp.exports=Je;Je.default=Je;Je.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,Jo.prototype):n.type==="rule"?Object.setPrototypeOf(n,Wo.prototype):n.type==="decl"?Object.setPrototypeOf(n,lp.prototype):n.type==="comment"?Object.setPrototypeOf(n,up.prototype):n.type==="root"&&Object.setPrototypeOf(n,fp.prototype),n[op]=!0,n.nodes&&n.nodes.forEach(t=>{Je.rebuild(t)})}});var ha=D((mM,gp)=>{"use strict";var dS=Ut(),mp,vp,sr=class extends dS{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new mp(new vp,this,t).stringify()}};sr.registerLazyResult=n=>{mp=n};sr.registerProcessor=n=>{vp=n};gp.exports=sr;sr.default=sr});var Xo=D((vM,bp)=>{"use strict";var yp={};bp.exports=function(t){yp[t]||(yp[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var $o=D((gM,xp)=>{"use strict";var On=class{constructor(t,r={}){if(this.type="warning",this.text=t,r.node&&r.node.source){let e=r.node.rangeBy(r);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in r)this[e]=r[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};xp.exports=On;On.default=On});var ma=D((yM,Sp)=>{"use strict";var pS=$o(),Pn=class{constructor(t,r,e){this.processor=t,this.messages=[],this.root=r,this.opts=e,this.css=void 0,this.map=void 0}toString(){return this.css}warn(t,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let e=new pS(t,r);return this.messages.push(e),e}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}};Sp.exports=Pn;Pn.default=Pn});var va=D((bM,Ep)=>{"use strict";var wp=Ut(),Fr=class extends wp{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};Ep.exports=Fr;Fr.default=Fr;wp.registerAtRule(Fr)});var Or=D((xM,_p)=>{"use strict";var Dp=Ut(),Cp,Ap,zt=class extends Dp{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}removeChild(t,r){let e=this.index(t);return!r&&e===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[e].raws.before),super.removeChild(t)}normalize(t,r,e){let i=super.normalize(t);if(r){if(e==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let a of i)a.raws.before=r.raws.before}return i}toResult(t={}){return new Cp(new Ap,this,t).stringify()}};zt.registerLazyResult=n=>{Cp=n};zt.registerProcessor=n=>{Ap=n};_p.exports=zt;zt.default=zt;Dp.registerRoot(zt)});var Go=D((SM,Tp)=>{"use strict";var Mn={split(n,t,r){let e=[],i="",a=!1,s=0,l=!1,c="",p=!1;for(let f of n)p?p=!1:f==="\\"?p=!0:l?f===c&&(l=!1):f==='"'||f==="'"?(l=!0,c=f):f==="("?s+=1:f===")"?s>0&&(s-=1):s===0&&t.includes(f)&&(a=!0),a?(i!==""&&e.push(i.trim()),i="",a=!1):i+=f;return(r||i!=="")&&e.push(i.trim()),e},space(n){let t=[" ",`
|
|
`," "];return Mn.split(n,t)},comma(n){return Mn.split(n,[","],!0)}};Tp.exports=Mn;Mn.default=Mn});var ga=D((wM,Fp)=>{"use strict";var kp=Ut(),hS=Go(),Pr=class extends kp{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return hS.comma(this.selector)}set selectors(t){let r=this.selector?this.selector.match(/,\s*/):null,e=r?r[0]:","+this.raw("between","beforeOpen");this.selector=t.join(e)}};Fp.exports=Pr;Pr.default=Pr;kp.registerRule(Pr)});var Ip=D((EM,Mp)=>{"use strict";var mS=En(),vS=yo(),gS=Fn(),yS=va(),bS=Or(),Op=ga(),Pp={empty:!0,space:!0};function xS(n){for(let t=n.length-1;t>=0;t--){let r=n[t],e=r[3]||r[2];if(e)return e}}var Ho=class{constructor(t){this.input=t,this.root=new bS,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=vS(this.input)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}comment(t){let r=new gS;this.init(r,t[2]),r.source.end=this.getPosition(t[3]||t[2]);let e=t[1].slice(2,-2);if(/^\s*$/.test(e))r.text="",r.raws.left=e,r.raws.right="";else{let i=e.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}emptyRule(t){let r=new Op;this.init(r,t[2]),r.selector="",r.raws.between="",this.current=r}other(t){let r=!1,e=null,i=!1,a=null,s=[],l=t[1].startsWith("--"),c=[],p=t;for(;p;){if(e=p[0],c.push(p),e==="("||e==="[")a||(a=p),s.push(e==="("?")":"]");else if(l&&i&&e==="{")a||(a=p),s.push("}");else if(s.length===0)if(e===";")if(i){this.decl(c,l);return}else break;else if(e==="{"){this.rule(c);return}else if(e==="}"){this.tokenizer.back(c.pop()),r=!0;break}else e===":"&&(i=!0);else e===s[s.length-1]&&(s.pop(),s.length===0&&(a=null));p=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),s.length>0&&this.unclosedBracket(a),r&&i){if(!l)for(;c.length&&(p=c[c.length-1][0],!(p!=="space"&&p!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,l)}else this.unknownWord(c)}rule(t){t.pop();let r=new Op;this.init(r,t[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(r,"selector",t),this.current=r}decl(t,r){let e=new mS;this.init(e,t[0][2]);let i=t[t.length-1];for(i[0]===";"&&(this.semicolon=!0,t.pop()),e.source.end=this.getPosition(i[3]||i[2]||xS(t));t[0][0]!=="word";)t.length===1&&this.unknownWord(t),e.raws.before+=t.shift()[1];for(e.source.start=this.getPosition(t[0][2]),e.prop="";t.length;){let p=t[0][0];if(p===":"||p==="space"||p==="comment")break;e.prop+=t.shift()[1]}e.raws.between="";let a;for(;t.length;)if(a=t.shift(),a[0]===":"){e.raws.between+=a[1];break}else a[0]==="word"&&/\w/.test(a[1])&&this.unknownWord([a]),e.raws.between+=a[1];(e.prop[0]==="_"||e.prop[0]==="*")&&(e.raws.before+=e.prop[0],e.prop=e.prop.slice(1));let s=[],l;for(;t.length&&(l=t[0][0],!(l!=="space"&&l!=="comment"));)s.push(t.shift());this.precheckMissedSemicolon(t);for(let p=t.length-1;p>=0;p--){if(a=t[p],a[1].toLowerCase()==="!important"){e.important=!0;let f=this.stringFrom(t,p);f=this.spacesFromEnd(t)+f,f!==" !important"&&(e.raws.important=f);break}else if(a[1].toLowerCase()==="important"){let f=t.slice(0),v="";for(let m=p;m>0;m--){let o=f[m][0];if(v.trim().indexOf("!")===0&&o!=="space")break;v=f.pop()[1]+v}v.trim().indexOf("!")===0&&(e.important=!0,e.raws.important=v,t=f)}if(a[0]!=="space"&&a[0]!=="comment")break}t.some(p=>p[0]!=="space"&&p[0]!=="comment")&&(e.raws.between+=s.map(p=>p[1]).join(""),s=[]),this.raw(e,"value",s.concat(t),r),e.value.includes(":")&&!r&&this.checkMissedSemicolon(t)}atrule(t){let r=new yS;r.name=t[1].slice(1),r.name===""&&this.unnamedAtrule(r,t),this.init(r,t[2]);let e,i,a,s=!1,l=!1,c=[],p=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),e=t[0],e==="("||e==="["?p.push(e==="("?")":"]"):e==="{"&&p.length>0?p.push("}"):e===p[p.length-1]&&p.pop(),p.length===0)if(e===";"){r.source.end=this.getPosition(t[2]),this.semicolon=!0;break}else if(e==="{"){l=!0;break}else if(e==="}"){if(c.length>0){for(a=c.length-1,i=c[a];i&&i[0]==="space";)i=c[--a];i&&(r.source.end=this.getPosition(i[3]||i[2]))}this.end(t);break}else c.push(t);else c.push(t);if(this.tokenizer.endOfFile()){s=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(r.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(r,"params",c),s&&(t=c[c.length-1],r.source.end=this.getPosition(t[3]||t[2]),this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),l&&(r.nodes=[],this.current=r)}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let r=this.input.fromOffset(t);return{offset:t,line:r.line,column:r.col}}init(t,r){this.current.push(t),t.source={start:this.getPosition(r),input:this.input},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}raw(t,r,e,i){let a,s,l=e.length,c="",p=!0,f,v;for(let m=0;m<l;m+=1)a=e[m],s=a[0],s==="space"&&m===l-1&&!i?p=!1:s==="comment"?(v=e[m-1]?e[m-1][0]:"empty",f=e[m+1]?e[m+1][0]:"empty",!Pp[v]&&!Pp[f]?c.slice(-1)===","?p=!1:c+=a[1]:p=!1):c+=a[1];if(!p){let m=e.reduce((o,u)=>o+u[1],"");t.raws[r]={value:c,raw:m}}t[r]=c}spacesAndCommentsFromEnd(t){let r,e="";for(;t.length&&(r=t[t.length-1][0],!(r!=="space"&&r!=="comment"));)e=t.pop()[1]+e;return e}spacesAndCommentsFromStart(t){let r,e="";for(;t.length&&(r=t[0][0],!(r!=="space"&&r!=="comment"));)e+=t.shift()[1];return e}spacesFromEnd(t){let r,e="";for(;t.length&&(r=t[t.length-1][0],r==="space");)e=t.pop()[1]+e;return e}stringFrom(t,r){let e="";for(let i=r;i<t.length;i++)e+=t[i][1];return t.splice(r,t.length-r),e}colon(t){let r=0,e,i,a;for(let[s,l]of t.entries()){if(e=l,i=e[0],i==="("&&(r+=1),i===")"&&(r-=1),r===0&&i===":")if(!a)this.doubleColon(e);else{if(a[0]==="word"&&a[1]==="progid")continue;return s}a=e}return!1}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}unnamedAtrule(t,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(t){let r=this.colon(t);if(r===!1)return;let e=0,i;for(let a=r-1;a>=0&&(i=t[a],!(i[0]!=="space"&&(e+=1,e===2)));a--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}};Mp.exports=Ho});var ba=D((DM,Np)=>{"use strict";var SS=Ut(),wS=Ip(),ES=Tn();function ya(n,t){let r=new ES(n,t),e=new wS(r);try{e.parse()}catch(i){throw process.env.NODE_ENV!=="production"&&i.name==="CssSyntaxError"&&t&&t.from&&(/\.scss$/i.test(t.from)?i.message+=`
|
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(t.from)?i.message+=`
|
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(t.from)&&(i.message+=`
|
|
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return e.root}Np.exports=ya;ya.default=ya;SS.registerParse(ya)});var Qo=D((CM,Rp)=>{"use strict";var{isClean:bt,my:DS}=na(),CS=Vo(),AS=bn(),_S=Ut(),TS=ha(),kS=Xo(),Lp=ma(),FS=ba(),OS=Or(),PS={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},MS={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},IS={postcssPlugin:!0,prepare:!0,Once:!0},Mr=0;function In(n){return typeof n=="object"&&typeof n.then=="function"}function qp(n){let t=!1,r=PS[n.type];return n.type==="decl"?t=n.prop.toLowerCase():n.type==="atrule"&&(t=n.name.toLowerCase()),t&&n.append?[r,r+"-"+t,Mr,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:n.append?[r,Mr,r+"Exit"]:[r,r+"Exit"]}function Bp(n){let t;return n.type==="document"?t=["Document",Mr,"DocumentExit"]:n.type==="root"?t=["Root",Mr,"RootExit"]:t=qp(n),{node:n,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Ko(n){return n[bt]=!1,n.nodes&&n.nodes.forEach(t=>Ko(t)),n}var Yo={},xt=class{constructor(t,r,e){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=Ko(r);else if(r instanceof xt||r instanceof Lp)i=Ko(r.root),r.map&&(typeof e.map>"u"&&(e.map={}),e.map.inline||(e.map.inline=!1),e.map.prev=r.map);else{let a=FS;e.syntax&&(a=e.syntax.parse),e.parser&&(a=e.parser),a.parse&&(a=a.parse);try{i=a(r,e)}catch(s){this.processed=!0,this.error=s}i&&!i[DS]&&_S.rebuild(i)}this.result=new Lp(t,i,e),this.helpers={...Yo,result:this.result,postcss:Yo},this.plugins=this.processor.plugins.map(a=>typeof a=="object"&&a.prepare?{...a,...a.prepare(this.result)}:a)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(t,r){return process.env.NODE_ENV!=="production"&&("from"in this.opts||kS("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,r)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let r=this.runOnRoot(t);if(In(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[bt];)t[bt]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let r of t.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,t)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,r=AS;t.syntax&&(r=t.syntax.stringify),t.stringifier&&(r=t.stringifier),r.stringify&&(r=r.stringify);let i=new CS(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}walkSync(t){t[bt]=!0;let r=qp(t);for(let e of r)if(e===Mr)t.nodes&&t.each(i=>{i[bt]||this.walkSync(i)});else{let i=this.listeners[e];if(i&&this.visitSync(i,t.toProxy()))return}}visitSync(t,r){for(let[e,i]of t){this.result.lastPlugin=e;let a;try{a=i(r,this.helpers)}catch(s){throw this.handleError(s,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(In(a))throw this.getAsyncError()}}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(e=>t.Once(e,this.helpers));return In(r[0])?Promise.all(r):r}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(r){throw this.handleError(r)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,r){let e=this.result.lastPlugin;try{if(r&&r.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=e.postcssPlugin,t.setMessage();else if(e.postcssVersion&&process.env.NODE_ENV!=="production"){let i=e.postcssPlugin,a=e.postcssVersion,s=this.result.processor.version,l=a.split("."),c=s.split(".");(l[0]!==c[0]||parseInt(l[1])>parseInt(c[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+i+" uses "+a+". Perhaps this is the source of the error below.")}}catch(i){console&&console.error&&console.error(i)}return t}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let r=this.plugins[t],e=this.runOnRoot(r);if(In(e))try{await e}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[bt];){t[bt]=!0;let r=[Bp(t)];for(;r.length>0;){let e=this.visitTick(r);if(In(e))try{await e}catch(i){let a=r[r.length-1].node;throw this.handleError(i,a)}}}if(this.listeners.OnceExit)for(let[r,e]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(t.type==="document"){let i=t.nodes.map(a=>e(a,this.helpers));await Promise.all(i)}else await e(t,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let t=(r,e,i)=>{this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let e in r){if(!MS[e]&&/^[A-Z]/.test(e))throw new Error(`Unknown event ${e} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!IS[e])if(typeof r[e]=="object")for(let i in r[e])i==="*"?t(r,e,r[e][i]):t(r,e+"-"+i.toLowerCase(),r[e][i]);else typeof r[e]=="function"&&t(r,e,r[e])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(t){let r=t[t.length-1],{node:e,visitors:i}=r;if(e.type!=="root"&&e.type!=="document"&&!e.parent){t.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[s,l]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=s;try{return l(e.toProxy(),this.helpers)}catch(c){throw this.handleError(c,e)}}if(r.iterator!==0){let s=r.iterator,l;for(;l=e.nodes[e.indexes[s]];)if(e.indexes[s]+=1,!l[bt]){l[bt]=!0,t.push(Bp(l));return}r.iterator=0,delete e.indexes[s]}let a=r.events;for(;r.eventIndex<a.length;){let s=a[r.eventIndex];if(r.eventIndex+=1,s===Mr){e.nodes&&e.nodes.length&&(e[bt]=!0,r.iterator=e.getIterator());return}else if(this.listeners[s]){r.visitors=this.listeners[s];return}}t.pop()}};xt.registerPostcss=n=>{Yo=n};Rp.exports=xt;xt.default=xt;OS.registerLazyResult(xt);TS.registerLazyResult(xt)});var Up=D((AM,jp)=>{"use strict";var NS=Vo(),LS=bn(),BS=Xo(),qS=ba(),RS=ma(),Nn=class{constructor(t,r,e){r=r.toString(),this.stringified=!1,this._processor=t,this._css=r,this._opts=e,this._map=void 0;let i,a=LS;this.result=new RS(this._processor,i,this._opts),this.result.css=r;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let l=new NS(a,i,this._opts,r);if(l.isMap()){let[c,p]=l.generate();c&&(this.result.css=c),p&&(this.result.map=p)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let t,r=qS;try{t=r(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=t,t}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(t,r){return process.env.NODE_ENV!=="production"&&("from"in this._opts||BS("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,r)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};jp.exports=Nn;Nn.default=Nn});var Vp=D((_M,zp)=>{"use strict";var jS=Up(),US=Qo(),zS=ha(),VS=Or(),or=class{constructor(t=[]){this.version="8.4.19",this.plugins=this.normalize(t)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}process(t,r={}){return this.plugins.length===0&&typeof r.parser>"u"&&typeof r.stringifier>"u"&&typeof r.syntax>"u"?new jS(this,t,r):new US(this,t,r)}normalize(t){let r=[];for(let e of t)if(e.postcss===!0?e=e():e.postcss&&(e=e.postcss),typeof e=="object"&&Array.isArray(e.plugins))r=r.concat(e.plugins);else if(typeof e=="object"&&e.postcssPlugin)r.push(e);else if(typeof e=="function")r.push(e);else if(typeof e=="object"&&(e.parse||e.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(e+" is not a PostCSS plugin");return r}};zp.exports=or;or.default=or;VS.registerProcessor(or);zS.registerProcessor(or)});var Jp=D((TM,Wp)=>{"use strict";var WS=En(),JS=Bo(),XS=Fn(),$S=va(),GS=Tn(),HS=Or(),KS=ga();function Ln(n,t){if(Array.isArray(n))return n.map(i=>Ln(i));let{inputs:r,...e}=n;if(r){t=[];for(let i of r){let a={...i,__proto__:GS.prototype};a.map&&(a.map={...a.map,__proto__:JS.prototype}),t.push(a)}}if(e.nodes&&(e.nodes=n.nodes.map(i=>Ln(i,t))),e.source){let{inputId:i,...a}=e.source;e.source=a,i!=null&&(e.source.input=t[i])}if(e.type==="root")return new HS(e);if(e.type==="decl")return new WS(e);if(e.type==="rule")return new KS(e);if(e.type==="comment")return new XS(e);if(e.type==="atrule")return new $S(e);throw new Error("Unknown node type: "+n.type)}Wp.exports=Ln;Ln.default=Ln});var St=D((kM,Qp)=>{"use strict";var YS=ra(),Xp=En(),QS=Qo(),ZS=Ut(),Zo=Vp(),ew=bn(),tw=Jp(),$p=ha(),rw=$o(),Gp=Fn(),Hp=va(),nw=ma(),iw=Tn(),aw=ba(),sw=Go(),Kp=ga(),Yp=Or(),ow=Sn();function Z(...n){return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new Zo(n)}Z.plugin=function(t,r){let e=!1;function i(...s){console&&console.warn&&!e&&(e=!0,console.warn(t+`: postcss.plugin was deprecated. Migration guide:
|
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(t+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
https://www.w3ctech.com/topic/2226`));let l=r(...s);return l.postcssPlugin=t,l.postcssVersion=new Zo().version,l}let a;return Object.defineProperty(i,"postcss",{get(){return a||(a=i()),a}}),i.process=function(s,l,c){return Z([i(c)]).process(s,l)},i};Z.stringify=ew;Z.parse=aw;Z.fromJSON=tw;Z.list=sw;Z.comment=n=>new Gp(n);Z.atRule=n=>new Hp(n);Z.decl=n=>new Xp(n);Z.rule=n=>new Kp(n);Z.root=n=>new Yp(n);Z.document=n=>new $p(n);Z.CssSyntaxError=YS;Z.Declaration=Xp;Z.Container=ZS;Z.Processor=Zo;Z.Document=$p;Z.Comment=Gp;Z.Warning=rw;Z.AtRule=Hp;Z.Result=nw;Z.Input=iw;Z.Rule=Kp;Z.Root=Yp;Z.Node=ow;QS.registerPostcss(Z);Qp.exports=Z;Z.default=Z});var eh=D((FM,Zp)=>{Zp.exports=function(n,t,r,e,i){for(t=t.split?t.split("."):t,e=0;e<t.length;e++)n=n?n[t[e]]:i;return n===i?r:n}});var Sa=D((xa,th)=>{"use strict";xa.__esModule=!0;xa.default=cw;function lw(n){for(var t=n.toLowerCase(),r="",e=!1,i=0;i<6&&t[i]!==void 0;i++){var a=t.charCodeAt(i),s=a>=97&&a<=102||a>=48&&a<=57;if(e=a===32,!s)break;r+=t[i]}if(r.length!==0){var l=parseInt(r,16),c=l>=55296&&l<=57343;return c||l===0||l>1114111?["\uFFFD",r.length+(e?1:0)]:[String.fromCodePoint(l),r.length+(e?1:0)]}}var uw=/\\/;function cw(n){var t=uw.test(n);if(!t)return n;for(var r="",e=0;e<n.length;e++){if(n[e]==="\\"){var i=lw(n.slice(e+1,e+7));if(i!==void 0){r+=i[0],e+=i[1];continue}if(n[e+1]==="\\"){r+="\\",e++;continue}n.length===e+1&&(r+=n[e]);continue}r+=n[e]}return r}th.exports=xa.default});var nh=D((wa,rh)=>{"use strict";wa.__esModule=!0;wa.default=fw;function fw(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),e=1;e<t;e++)r[e-1]=arguments[e];for(;r.length>0;){var i=r.shift();if(!n[i])return;n=n[i]}return n}rh.exports=wa.default});var ah=D((Ea,ih)=>{"use strict";Ea.__esModule=!0;Ea.default=dw;function dw(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),e=1;e<t;e++)r[e-1]=arguments[e];for(;r.length>0;){var i=r.shift();n[i]||(n[i]={}),n=n[i]}}ih.exports=Ea.default});var oh=D((Da,sh)=>{"use strict";Da.__esModule=!0;Da.default=pw;function pw(n){for(var t="",r=n.indexOf("/*"),e=0;r>=0;){t=t+n.slice(e,r);var i=n.indexOf("*/",r+2);if(i<0)return t;e=i+2,r=n.indexOf("/*",e)}return t=t+n.slice(e),t}sh.exports=Da.default});var Bn=D(wt=>{"use strict";wt.__esModule=!0;wt.stripComments=wt.ensureObject=wt.getProp=wt.unesc=void 0;var hw=Ca(Sa());wt.unesc=hw.default;var mw=Ca(nh());wt.getProp=mw.default;var vw=Ca(ah());wt.ensureObject=vw.default;var gw=Ca(oh());wt.stripComments=gw.default;function Ca(n){return n&&n.__esModule?n:{default:n}}});var It=D((qn,ch)=>{"use strict";qn.__esModule=!0;qn.default=void 0;var lh=Bn();function uh(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function yw(n,t,r){return t&&uh(n.prototype,t),r&&uh(n,r),n}var bw=function n(t,r){if(typeof t!="object"||t===null)return t;var e=new t.constructor;for(var i in t)if(!!t.hasOwnProperty(i)){var a=t[i],s=typeof a;i==="parent"&&s==="object"?r&&(e[i]=r):a instanceof Array?e[i]=a.map(function(l){return n(l,e)}):e[i]=n(a,e)}return e},xw=function(){function n(r){r===void 0&&(r={}),Object.assign(this,r),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=n.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(e){e===void 0&&(e={});var i=bw(this);for(var a in e)i[a]=e[a];return i},t.appendToPropertyAndEscape=function(e,i,a){this.raws||(this.raws={});var s=this[e],l=this.raws[e];this[e]=s+i,l||a!==i?this.raws[e]=(l||s)+a:delete this.raws[e]},t.setPropertyAndEscape=function(e,i,a){this.raws||(this.raws={}),this[e]=i,this.raws[e]=a},t.setPropertyWithoutEscape=function(e,i){this[e]=i,this.raws&&delete this.raws[e]},t.isAtPosition=function(e,i){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e||this.source.end.line<e||this.source.start.line===e&&this.source.start.column>i||this.source.end.line===e&&this.source.end.column<i)},t.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},yw(n,[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return e===void 0&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,lh.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return e===void 0&&(e=this.spaces.after),e||""},set:function(e){(0,lh.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}]),n}();qn.default=xw;ch.exports=qn.default});var Te=D(ne=>{"use strict";ne.__esModule=!0;ne.UNIVERSAL=ne.ATTRIBUTE=ne.CLASS=ne.COMBINATOR=ne.COMMENT=ne.ID=ne.NESTING=ne.PSEUDO=ne.ROOT=ne.SELECTOR=ne.STRING=ne.TAG=void 0;var Sw="tag";ne.TAG=Sw;var ww="string";ne.STRING=ww;var Ew="selector";ne.SELECTOR=Ew;var Dw="root";ne.ROOT=Dw;var Cw="pseudo";ne.PSEUDO=Cw;var Aw="nesting";ne.NESTING=Aw;var _w="id";ne.ID=_w;var Tw="comment";ne.COMMENT=Tw;var kw="combinator";ne.COMBINATOR=kw;var Fw="class";ne.CLASS=Fw;var Ow="attribute";ne.ATTRIBUTE=Ow;var Pw="universal";ne.UNIVERSAL=Pw});var Aa=D((Rn,hh)=>{"use strict";Rn.__esModule=!0;Rn.default=void 0;var Mw=Nw(It()),Nt=Iw(Te());function ph(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return ph=function(){return n},n}function Iw(n){if(n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var t=ph();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var a=e?Object.getOwnPropertyDescriptor(n,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=n[i]}return r.default=n,t&&t.set(n,r),r}function Nw(n){return n&&n.__esModule?n:{default:n}}function Lw(n,t){var r;if(typeof Symbol>"u"||n[Symbol.iterator]==null){if(Array.isArray(n)||(r=Bw(n))||t&&n&&typeof n.length=="number"){r&&(n=r);var e=0;return function(){return e>=n.length?{done:!0}:{done:!1,value:n[e++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return r=n[Symbol.iterator](),r.next.bind(r)}function Bw(n,t){if(!!n){if(typeof n=="string")return fh(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);if(r==="Object"&&n.constructor&&(r=n.constructor.name),r==="Map"||r==="Set")return Array.from(n);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fh(n,t)}}function fh(n,t){(t==null||t>n.length)&&(t=n.length);for(var r=0,e=new Array(t);r<t;r++)e[r]=n[r];return e}function dh(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function qw(n,t,r){return t&&dh(n.prototype,t),r&&dh(n,r),n}function Rw(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,el(n,t)}function el(n,t){return el=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},el(n,t)}var jw=function(n){Rw(t,n);function t(e){var i;return i=n.call(this,e)||this,i.nodes||(i.nodes=[]),i}var r=t.prototype;return r.append=function(i){return i.parent=this,this.nodes.push(i),this},r.prepend=function(i){return i.parent=this,this.nodes.unshift(i),this},r.at=function(i){return this.nodes[i]},r.index=function(i){return typeof i=="number"?i:this.nodes.indexOf(i)},r.removeChild=function(i){i=this.index(i),this.at(i).parent=void 0,this.nodes.splice(i,1);var a;for(var s in this.indexes)a=this.indexes[s],a>=i&&(this.indexes[s]=a-1);return this},r.removeAll=function(){for(var i=Lw(this.nodes),a;!(a=i()).done;){var s=a.value;s.parent=void 0}return this.nodes=[],this},r.empty=function(){return this.removeAll()},r.insertAfter=function(i,a){a.parent=this;var s=this.index(i);this.nodes.splice(s+1,0,a),a.parent=this;var l;for(var c in this.indexes)l=this.indexes[c],s<=l&&(this.indexes[c]=l+1);return this},r.insertBefore=function(i,a){a.parent=this;var s=this.index(i);this.nodes.splice(s,0,a),a.parent=this;var l;for(var c in this.indexes)l=this.indexes[c],l<=s&&(this.indexes[c]=l+1);return this},r._findChildAtPosition=function(i,a){var s=void 0;return this.each(function(l){if(l.atPosition){var c=l.atPosition(i,a);if(c)return s=c,!1}else if(l.isAtPosition(i,a))return s=l,!1}),s},r.atPosition=function(i,a){if(this.isAtPosition(i,a))return this._findChildAtPosition(i,a)||this},r._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},r.each=function(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var a=this.lastEach;if(this.indexes[a]=0,!!this.length){for(var s,l;this.indexes[a]<this.length&&(s=this.indexes[a],l=i(this.at(s),s),l!==!1);)this.indexes[a]+=1;if(delete this.indexes[a],l===!1)return!1}},r.walk=function(i){return this.each(function(a,s){var l=i(a,s);if(l!==!1&&a.length&&(l=a.walk(i)),l===!1)return!1})},r.walkAttributes=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.ATTRIBUTE)return i.call(a,s)})},r.walkClasses=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.CLASS)return i.call(a,s)})},r.walkCombinators=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.COMBINATOR)return i.call(a,s)})},r.walkComments=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.COMMENT)return i.call(a,s)})},r.walkIds=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.ID)return i.call(a,s)})},r.walkNesting=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.NESTING)return i.call(a,s)})},r.walkPseudos=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.PSEUDO)return i.call(a,s)})},r.walkTags=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.TAG)return i.call(a,s)})},r.walkUniversals=function(i){var a=this;return this.walk(function(s){if(s.type===Nt.UNIVERSAL)return i.call(a,s)})},r.split=function(i){var a=this,s=[];return this.reduce(function(l,c,p){var f=i.call(a,c);return s.push(c),f?(l.push(s),s=[]):p===a.length-1&&l.push(s),l},[])},r.map=function(i){return this.nodes.map(i)},r.reduce=function(i,a){return this.nodes.reduce(i,a)},r.every=function(i){return this.nodes.every(i)},r.some=function(i){return this.nodes.some(i)},r.filter=function(i){return this.nodes.filter(i)},r.sort=function(i){return this.nodes.sort(i)},r.toString=function(){return this.map(String).join("")},qw(t,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),t}(Mw.default);Rn.default=jw;hh.exports=Rn.default});var rl=D((jn,vh)=>{"use strict";jn.__esModule=!0;jn.default=void 0;var Uw=Vw(Aa()),zw=Te();function Vw(n){return n&&n.__esModule?n:{default:n}}function mh(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function Ww(n,t,r){return t&&mh(n.prototype,t),r&&mh(n,r),n}function Jw(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,tl(n,t)}function tl(n,t){return tl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},tl(n,t)}var Xw=function(n){Jw(t,n);function t(e){var i;return i=n.call(this,e)||this,i.type=zw.ROOT,i}var r=t.prototype;return r.toString=function(){var i=this.reduce(function(a,s){return a.push(String(s)),a},[]).join(",");return this.trailingComma?i+",":i},r.error=function(i,a){return this._error?this._error(i,a):new Error(i)},Ww(t,[{key:"errorGenerator",set:function(i){this._error=i}}]),t}(Uw.default);jn.default=Xw;vh.exports=jn.default});var il=D((Un,gh)=>{"use strict";Un.__esModule=!0;Un.default=void 0;var $w=Hw(Aa()),Gw=Te();function Hw(n){return n&&n.__esModule?n:{default:n}}function Kw(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,nl(n,t)}function nl(n,t){return nl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},nl(n,t)}var Yw=function(n){Kw(t,n);function t(r){var e;return e=n.call(this,r)||this,e.type=Gw.SELECTOR,e}return t}($w.default);Un.default=Yw;gh.exports=Un.default});var _a=D((MM,yh)=>{"use strict";var Qw={},Zw=Qw.hasOwnProperty,eE=function(t,r){if(!t)return r;var e={};for(var i in r)e[i]=Zw.call(t,i)?t[i]:r[i];return e},tE=/[ -,\.\/:-@\[-\^`\{-~]/,rE=/[ -,\.\/:-@\[\]\^`\{-~]/,nE=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,al=function n(t,r){r=eE(r,n.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var e=r.quotes=="double"?'"':"'",i=r.isIdentifier,a=t.charAt(0),s="",l=0,c=t.length;l<c;){var p=t.charAt(l++),f=p.charCodeAt(),v=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&l<c){var m=t.charCodeAt(l++);(m&64512)==56320?f=((f&1023)<<10)+(m&1023)+65536:l--}v="\\"+f.toString(16).toUpperCase()+" "}else r.escapeEverything?tE.test(p)?v="\\"+p:v="\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(p)?v="\\"+f.toString(16).toUpperCase()+" ":p=="\\"||!i&&(p=='"'&&e==p||p=="'"&&e==p)||i&&rE.test(p)?v="\\"+p:v=p;s+=v}return i&&(/^-[-\d]/.test(s)?s="\\-"+s.slice(1):/\d/.test(a)&&(s="\\3"+a+" "+s.slice(1))),s=s.replace(nE,function(o,u,d){return u&&u.length%2?o:(u||"")+d}),!i&&r.wrap?e+s+e:s};al.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};al.version="3.0.0";yh.exports=al});var ol=D((zn,Sh)=>{"use strict";zn.__esModule=!0;zn.default=void 0;var iE=xh(_a()),aE=Bn(),sE=xh(It()),oE=Te();function xh(n){return n&&n.__esModule?n:{default:n}}function bh(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function lE(n,t,r){return t&&bh(n.prototype,t),r&&bh(n,r),n}function uE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,sl(n,t)}function sl(n,t){return sl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},sl(n,t)}var cE=function(n){uE(t,n);function t(e){var i;return i=n.call(this,e)||this,i.type=oE.CLASS,i._constructed=!0,i}var r=t.prototype;return r.valueToString=function(){return"."+n.prototype.valueToString.call(this)},lE(t,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var a=(0,iE.default)(i,{isIdentifier:!0});a!==i?((0,aE.ensureObject)(this,"raws"),this.raws.value=a):this.raws&&delete this.raws.value}this._value=i}}]),t}(sE.default);zn.default=cE;Sh.exports=zn.default});var ul=D((Vn,wh)=>{"use strict";Vn.__esModule=!0;Vn.default=void 0;var fE=pE(It()),dE=Te();function pE(n){return n&&n.__esModule?n:{default:n}}function hE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,ll(n,t)}function ll(n,t){return ll=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},ll(n,t)}var mE=function(n){hE(t,n);function t(r){var e;return e=n.call(this,r)||this,e.type=dE.COMMENT,e}return t}(fE.default);Vn.default=mE;wh.exports=Vn.default});var fl=D((Wn,Eh)=>{"use strict";Wn.__esModule=!0;Wn.default=void 0;var vE=yE(It()),gE=Te();function yE(n){return n&&n.__esModule?n:{default:n}}function bE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,cl(n,t)}function cl(n,t){return cl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},cl(n,t)}var xE=function(n){bE(t,n);function t(e){var i;return i=n.call(this,e)||this,i.type=gE.ID,i}var r=t.prototype;return r.valueToString=function(){return"#"+n.prototype.valueToString.call(this)},t}(vE.default);Wn.default=xE;Eh.exports=Wn.default});var Ta=D((Jn,Ah)=>{"use strict";Jn.__esModule=!0;Jn.default=void 0;var SE=Ch(_a()),wE=Bn(),EE=Ch(It());function Ch(n){return n&&n.__esModule?n:{default:n}}function Dh(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function DE(n,t,r){return t&&Dh(n.prototype,t),r&&Dh(n,r),n}function CE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,dl(n,t)}function dl(n,t){return dl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},dl(n,t)}var AE=function(n){CE(t,n);function t(){return n.apply(this,arguments)||this}var r=t.prototype;return r.qualifiedName=function(i){return this.namespace?this.namespaceString+"|"+i:i},r.valueToString=function(){return this.qualifiedName(n.prototype.valueToString.call(this))},DE(t,[{key:"namespace",get:function(){return this._namespace},set:function(i){if(i===!0||i==="*"||i==="&"){this._namespace=i,this.raws&&delete this.raws.namespace;return}var a=(0,SE.default)(i,{isIdentifier:!0});this._namespace=i,a!==i?((0,wE.ensureObject)(this,"raws"),this.raws.namespace=a):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(i){this.namespace=i}},{key:"namespaceString",get:function(){if(this.namespace){var i=this.stringifyProperty("namespace");return i===!0?"":i}else return""}}]),t}(EE.default);Jn.default=AE;Ah.exports=Jn.default});var hl=D((Xn,_h)=>{"use strict";Xn.__esModule=!0;Xn.default=void 0;var _E=kE(Ta()),TE=Te();function kE(n){return n&&n.__esModule?n:{default:n}}function FE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,pl(n,t)}function pl(n,t){return pl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},pl(n,t)}var OE=function(n){FE(t,n);function t(r){var e;return e=n.call(this,r)||this,e.type=TE.TAG,e}return t}(_E.default);Xn.default=OE;_h.exports=Xn.default});var vl=D(($n,Th)=>{"use strict";$n.__esModule=!0;$n.default=void 0;var PE=IE(It()),ME=Te();function IE(n){return n&&n.__esModule?n:{default:n}}function NE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,ml(n,t)}function ml(n,t){return ml=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},ml(n,t)}var LE=function(n){NE(t,n);function t(r){var e;return e=n.call(this,r)||this,e.type=ME.STRING,e}return t}(PE.default);$n.default=LE;Th.exports=$n.default});var yl=D((Gn,kh)=>{"use strict";Gn.__esModule=!0;Gn.default=void 0;var BE=RE(Aa()),qE=Te();function RE(n){return n&&n.__esModule?n:{default:n}}function jE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,gl(n,t)}function gl(n,t){return gl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},gl(n,t)}var UE=function(n){jE(t,n);function t(e){var i;return i=n.call(this,e)||this,i.type=qE.PSEUDO,i}var r=t.prototype;return r.toString=function(){var i=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),i,this.rawSpaceAfter].join("")},t}(BE.default);Gn.default=UE;kh.exports=Gn.default});var Oh=D((IM,Fh)=>{Fh.exports=require("util").deprecate});var Dl=D(Yn=>{"use strict";Yn.__esModule=!0;Yn.unescapeValue=El;Yn.default=void 0;var Hn=wl(_a()),zE=wl(Sa()),VE=wl(Ta()),WE=Te(),bl;function wl(n){return n&&n.__esModule?n:{default:n}}function Ph(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function JE(n,t,r){return t&&Ph(n.prototype,t),r&&Ph(n,r),n}function XE(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,Sl(n,t)}function Sl(n,t){return Sl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},Sl(n,t)}var Kn=Oh(),$E=/^('|")([^]*)\1$/,GE=Kn(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),HE=Kn(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),KE=Kn(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function El(n){var t=!1,r=null,e=n,i=e.match($E);return i&&(r=i[1],e=i[2]),e=(0,zE.default)(e),e!==n&&(t=!0),{deprecatedUsage:t,unescaped:e,quoteMark:r}}function YE(n){if(n.quoteMark!==void 0||n.value===void 0)return n;KE();var t=El(n.value),r=t.quoteMark,e=t.unescaped;return n.raws||(n.raws={}),n.raws.value===void 0&&(n.raws.value=n.value),n.value=e,n.quoteMark=r,n}var ka=function(n){XE(t,n);function t(e){var i;return e===void 0&&(e={}),i=n.call(this,YE(e))||this,i.type=WE.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Kn(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Kn(function(){return i.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),i._constructed=!0,i}var r=t.prototype;return r.getQuotedValue=function(i){i===void 0&&(i={});var a=this._determineQuoteMark(i),s=xl[a],l=(0,Hn.default)(this._value,s);return l},r._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},r.setValue=function(i,a){a===void 0&&(a={}),this._value=i,this._quoteMark=this._determineQuoteMark(a),this._syncRawValue()},r.smartQuoteMark=function(i){var a=this.value,s=a.replace(/[^']/g,"").length,l=a.replace(/[^"]/g,"").length;if(s+l===0){var c=(0,Hn.default)(a,{isIdentifier:!0});if(c===a)return t.NO_QUOTE;var p=this.preferredQuoteMark(i);if(p===t.NO_QUOTE){var f=this.quoteMark||i.quoteMark||t.DOUBLE_QUOTE,v=xl[f],m=(0,Hn.default)(a,v);if(m.length<c.length)return f}return p}else return l===s?this.preferredQuoteMark(i):l<s?t.DOUBLE_QUOTE:t.SINGLE_QUOTE},r.preferredQuoteMark=function(i){var a=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return a===void 0&&(a=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),a===void 0&&(a=t.DOUBLE_QUOTE),a},r._syncRawValue=function(){var i=(0,Hn.default)(this._value,xl[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},r._handleEscapes=function(i,a){if(this._constructed){var s=(0,Hn.default)(a,{isIdentifier:!0});s!==a?this.raws[i]=s:delete this.raws[i]}},r._spacesFor=function(i){var a={before:"",after:""},s=this.spaces[i]||{},l=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(a,s,l)},r._stringFor=function(i,a,s){a===void 0&&(a=i),s===void 0&&(s=Mh);var l=this._spacesFor(a);return s(this.stringifyProperty(i),l)},r.offsetOf=function(i){var a=1,s=this._spacesFor("attribute");if(a+=s.before.length,i==="namespace"||i==="ns")return this.namespace?a:-1;if(i==="attributeNS"||(a+=this.namespaceString.length,this.namespace&&(a+=1),i==="attribute"))return a;a+=this.stringifyProperty("attribute").length,a+=s.after.length;var l=this._spacesFor("operator");a+=l.before.length;var c=this.stringifyProperty("operator");if(i==="operator")return c?a:-1;a+=c.length,a+=l.after.length;var p=this._spacesFor("value");a+=p.before.length;var f=this.stringifyProperty("value");if(i==="value")return f?a:-1;a+=f.length,a+=p.after.length;var v=this._spacesFor("insensitive");return a+=v.before.length,i==="insensitive"&&this.insensitive?a:-1},r.toString=function(){var i=this,a=[this.rawSpaceBefore,"["];return a.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(a.push(this._stringFor("operator")),a.push(this._stringFor("value")),a.push(this._stringFor("insensitiveFlag","insensitive",function(s,l){return s.length>0&&!i.quoted&&l.before.length===0&&!(i.spaces.value&&i.spaces.value.after)&&(l.before=" "),Mh(s,l)}))),a.push("]"),a.push(this.rawSpaceAfter),a.join("")},JE(t,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){HE()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(i){if(!this._constructed){this._quoteMark=i;return}this._quoteMark!==i&&(this._quoteMark=i,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var a=El(i),s=a.deprecatedUsage,l=a.unescaped,c=a.quoteMark;if(s&&GE(),l===this._value&&c===this._quoteMark)return;this._value=l,this._quoteMark=c,this._syncRawValue()}else this._value=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),t}(VE.default);Yn.default=ka;ka.NO_QUOTE=null;ka.SINGLE_QUOTE="'";ka.DOUBLE_QUOTE='"';var xl=(bl={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},bl[null]={isIdentifier:!0},bl);function Mh(n,t){return""+t.before+n+t.after}});var Al=D((Qn,Ih)=>{"use strict";Qn.__esModule=!0;Qn.default=void 0;var QE=e1(Ta()),ZE=Te();function e1(n){return n&&n.__esModule?n:{default:n}}function t1(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,Cl(n,t)}function Cl(n,t){return Cl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},Cl(n,t)}var r1=function(n){t1(t,n);function t(r){var e;return e=n.call(this,r)||this,e.type=ZE.UNIVERSAL,e.value="*",e}return t}(QE.default);Qn.default=r1;Ih.exports=Qn.default});var Tl=D((Zn,Nh)=>{"use strict";Zn.__esModule=!0;Zn.default=void 0;var n1=a1(It()),i1=Te();function a1(n){return n&&n.__esModule?n:{default:n}}function s1(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,_l(n,t)}function _l(n,t){return _l=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},_l(n,t)}var o1=function(n){s1(t,n);function t(r){var e;return e=n.call(this,r)||this,e.type=i1.COMBINATOR,e}return t}(n1.default);Zn.default=o1;Nh.exports=Zn.default});var Fl=D((ei,Lh)=>{"use strict";ei.__esModule=!0;ei.default=void 0;var l1=c1(It()),u1=Te();function c1(n){return n&&n.__esModule?n:{default:n}}function f1(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,kl(n,t)}function kl(n,t){return kl=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e},kl(n,t)}var d1=function(n){f1(t,n);function t(r){var e;return e=n.call(this,r)||this,e.type=u1.NESTING,e.value="&",e}return t}(l1.default);ei.default=d1;Lh.exports=ei.default});var qh=D((Fa,Bh)=>{"use strict";Fa.__esModule=!0;Fa.default=p1;function p1(n){return n.sort(function(t,r){return t-r})}Bh.exports=Fa.default});var Ol=D(B=>{"use strict";B.__esModule=!0;B.combinator=B.word=B.comment=B.str=B.tab=B.newline=B.feed=B.cr=B.backslash=B.bang=B.slash=B.doubleQuote=B.singleQuote=B.space=B.greaterThan=B.pipe=B.equals=B.plus=B.caret=B.tilde=B.dollar=B.closeSquare=B.openSquare=B.closeParenthesis=B.openParenthesis=B.semicolon=B.colon=B.comma=B.at=B.asterisk=B.ampersand=void 0;var h1=38;B.ampersand=h1;var m1=42;B.asterisk=m1;var v1=64;B.at=v1;var g1=44;B.comma=g1;var y1=58;B.colon=y1;var b1=59;B.semicolon=b1;var x1=40;B.openParenthesis=x1;var S1=41;B.closeParenthesis=S1;var w1=91;B.openSquare=w1;var E1=93;B.closeSquare=E1;var D1=36;B.dollar=D1;var C1=126;B.tilde=C1;var A1=94;B.caret=A1;var _1=43;B.plus=_1;var T1=61;B.equals=T1;var k1=124;B.pipe=k1;var F1=62;B.greaterThan=F1;var O1=32;B.space=O1;var Rh=39;B.singleQuote=Rh;var P1=34;B.doubleQuote=P1;var M1=47;B.slash=M1;var I1=33;B.bang=I1;var N1=92;B.backslash=N1;var L1=13;B.cr=L1;var B1=12;B.feed=B1;var q1=10;B.newline=q1;var R1=9;B.tab=R1;var j1=Rh;B.str=j1;var U1=-1;B.comment=U1;var z1=-2;B.word=z1;var V1=-3;B.combinator=V1});var zh=D(ti=>{"use strict";ti.__esModule=!0;ti.default=K1;ti.FIELDS=void 0;var N=W1(Ol()),Ir,te;function Uh(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return Uh=function(){return n},n}function W1(n){if(n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var t=Uh();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var a=e?Object.getOwnPropertyDescriptor(n,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=n[i]}return r.default=n,t&&t.set(n,r),r}var J1=(Ir={},Ir[N.tab]=!0,Ir[N.newline]=!0,Ir[N.cr]=!0,Ir[N.feed]=!0,Ir),X1=(te={},te[N.space]=!0,te[N.tab]=!0,te[N.newline]=!0,te[N.cr]=!0,te[N.feed]=!0,te[N.ampersand]=!0,te[N.asterisk]=!0,te[N.bang]=!0,te[N.comma]=!0,te[N.colon]=!0,te[N.semicolon]=!0,te[N.openParenthesis]=!0,te[N.closeParenthesis]=!0,te[N.openSquare]=!0,te[N.closeSquare]=!0,te[N.singleQuote]=!0,te[N.doubleQuote]=!0,te[N.plus]=!0,te[N.pipe]=!0,te[N.tilde]=!0,te[N.greaterThan]=!0,te[N.equals]=!0,te[N.dollar]=!0,te[N.caret]=!0,te[N.slash]=!0,te),Pl={},jh="0123456789abcdefABCDEF";for(Oa=0;Oa<jh.length;Oa++)Pl[jh.charCodeAt(Oa)]=!0;var Oa;function $1(n,t){var r=t,e;do{if(e=n.charCodeAt(r),X1[e])return r-1;e===N.backslash?r=G1(n,r)+1:r++}while(r<n.length);return r-1}function G1(n,t){var r=t,e=n.charCodeAt(r+1);if(!J1[e])if(Pl[e]){var i=0;do r++,i++,e=n.charCodeAt(r+1);while(Pl[e]&&i<6);i<6&&e===N.space&&r++}else r++;return r}var H1={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};ti.FIELDS=H1;function K1(n){var t=[],r=n.css.valueOf(),e=r,i=e.length,a=-1,s=1,l=0,c=0,p,f,v,m,o,u,d,h,g,y,b,x,w;function E(C,T){if(n.safe)r+=T,g=r.length-1;else throw n.error("Unclosed "+C,s,l-a,l)}for(;l<i;){switch(p=r.charCodeAt(l),p===N.newline&&(a=l,s+=1),p){case N.space:case N.tab:case N.newline:case N.cr:case N.feed:g=l;do g+=1,p=r.charCodeAt(g),p===N.newline&&(a=g,s+=1);while(p===N.space||p===N.newline||p===N.tab||p===N.cr||p===N.feed);w=N.space,m=s,v=g-a-1,c=g;break;case N.plus:case N.greaterThan:case N.tilde:case N.pipe:g=l;do g+=1,p=r.charCodeAt(g);while(p===N.plus||p===N.greaterThan||p===N.tilde||p===N.pipe);w=N.combinator,m=s,v=l-a,c=g;break;case N.asterisk:case N.ampersand:case N.bang:case N.comma:case N.equals:case N.dollar:case N.caret:case N.openSquare:case N.closeSquare:case N.colon:case N.semicolon:case N.openParenthesis:case N.closeParenthesis:g=l,w=p,m=s,v=l-a,c=g+1;break;case N.singleQuote:case N.doubleQuote:x=p===N.singleQuote?"'":'"',g=l;do for(o=!1,g=r.indexOf(x,g+1),g===-1&&E("quote",x),u=g;r.charCodeAt(u-1)===N.backslash;)u-=1,o=!o;while(o);w=N.str,m=s,v=l-a,c=g+1;break;default:p===N.slash&&r.charCodeAt(l+1)===N.asterisk?(g=r.indexOf("*/",l+2)+1,g===0&&E("comment","*/"),f=r.slice(l,g+1),h=f.split(`
|
|
`),d=h.length-1,d>0?(y=s+d,b=g-h[d].length):(y=s,b=a),w=N.comment,s=y,m=y,v=g-b):p===N.slash?(g=l,w=p,m=s,v=l-a,c=g+1):(g=$1(r,l),w=N.word,m=s,v=g-a),c=g+1;break}t.push([w,s,l-a,m,v,l,c]),b&&(a=b,b=null),l=c}return t}});var Kh=D((ri,Hh)=>{"use strict";ri.__esModule=!0;ri.default=void 0;var Y1=et(rl()),Ml=et(il()),Q1=et(ol()),Vh=et(ul()),Z1=et(fl()),eD=et(hl()),Il=et(vl()),tD=et(yl()),Wh=Pa(Dl()),rD=et(Al()),Nl=et(Tl()),nD=et(Fl()),iD=et(qh()),O=Pa(zh()),L=Pa(Ol()),aD=Pa(Te()),ce=Bn(),lr,Ll;function Gh(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return Gh=function(){return n},n}function Pa(n){if(n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var t=Gh();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var a=e?Object.getOwnPropertyDescriptor(n,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=n[i]}return r.default=n,t&&t.set(n,r),r}function et(n){return n&&n.__esModule?n:{default:n}}function Jh(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function sD(n,t,r){return t&&Jh(n.prototype,t),r&&Jh(n,r),n}var Rl=(lr={},lr[L.space]=!0,lr[L.cr]=!0,lr[L.feed]=!0,lr[L.newline]=!0,lr[L.tab]=!0,lr),oD=Object.assign({},Rl,(Ll={},Ll[L.comment]=!0,Ll));function Xh(n){return{line:n[O.FIELDS.START_LINE],column:n[O.FIELDS.START_COL]}}function $h(n){return{line:n[O.FIELDS.END_LINE],column:n[O.FIELDS.END_COL]}}function ur(n,t,r,e){return{start:{line:n,column:t},end:{line:r,column:e}}}function Nr(n){return ur(n[O.FIELDS.START_LINE],n[O.FIELDS.START_COL],n[O.FIELDS.END_LINE],n[O.FIELDS.END_COL])}function Bl(n,t){if(!!n)return ur(n[O.FIELDS.START_LINE],n[O.FIELDS.START_COL],t[O.FIELDS.END_LINE],t[O.FIELDS.END_COL])}function Lr(n,t){var r=n[t];if(typeof r=="string")return r.indexOf("\\")!==-1&&((0,ce.ensureObject)(n,"raws"),n[t]=(0,ce.unesc)(r),n.raws[t]===void 0&&(n.raws[t]=r)),n}function ql(n,t){for(var r=-1,e=[];(r=n.indexOf(t,r+1))!==-1;)e.push(r);return e}function lD(){var n=Array.prototype.concat.apply([],arguments);return n.filter(function(t,r){return r===n.indexOf(t)})}var uD=function(){function n(r,e){e===void 0&&(e={}),this.rule=r,this.options=Object.assign({lossy:!1,safe:!1},e),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,O.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=Bl(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new Y1.default({source:i}),this.root.errorGenerator=this._errorGenerator();var a=new Ml.default({source:{start:{line:1,column:1}}});this.root.append(a),this.current=a,this.loop()}var t=n.prototype;return t._errorGenerator=function(){var e=this;return function(i,a){return typeof e.rule=="string"?new Error(i):e.rule.error(i,a)}},t.attribute=function(){var e=[],i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[O.FIELDS.TYPE]!==L.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[O.FIELDS.TYPE]!==L.closeSquare)return this.expected("closing square bracket",this.currToken[O.FIELDS.START_POS]);var a=e.length,s={source:ur(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[O.FIELDS.START_POS]};if(a===1&&!~[L.word].indexOf(e[0][O.FIELDS.TYPE]))return this.expected("attribute",e[0][O.FIELDS.START_POS]);for(var l=0,c="",p="",f=null,v=!1;l<a;){var m=e[l],o=this.content(m),u=e[l+1];switch(m[O.FIELDS.TYPE]){case L.space:if(v=!0,this.options.lossy)break;if(f){(0,ce.ensureObject)(s,"spaces",f);var d=s.spaces[f].after||"";s.spaces[f].after=d+o;var h=(0,ce.getProp)(s,"raws","spaces",f,"after")||null;h&&(s.raws.spaces[f].after=h+o)}else c=c+o,p=p+o;break;case L.asterisk:if(u[O.FIELDS.TYPE]===L.equals)s.operator=o,f="operator";else if((!s.namespace||f==="namespace"&&!v)&&u){c&&((0,ce.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=c,c=""),p&&((0,ce.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=c,p=""),s.namespace=(s.namespace||"")+o;var g=(0,ce.getProp)(s,"raws","namespace")||null;g&&(s.raws.namespace+=o),f="namespace"}v=!1;break;case L.dollar:if(f==="value"){var y=(0,ce.getProp)(s,"raws","value");s.value+="$",y&&(s.raws.value=y+"$");break}case L.caret:u[O.FIELDS.TYPE]===L.equals&&(s.operator=o,f="operator"),v=!1;break;case L.combinator:if(o==="~"&&u[O.FIELDS.TYPE]===L.equals&&(s.operator=o,f="operator"),o!=="|"){v=!1;break}u[O.FIELDS.TYPE]===L.equals?(s.operator=o,f="operator"):!s.namespace&&!s.attribute&&(s.namespace=!0),v=!1;break;case L.word:if(u&&this.content(u)==="|"&&e[l+2]&&e[l+2][O.FIELDS.TYPE]!==L.equals&&!s.operator&&!s.namespace)s.namespace=o,f="namespace";else if(!s.attribute||f==="attribute"&&!v){c&&((0,ce.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=c,c=""),p&&((0,ce.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=p,p=""),s.attribute=(s.attribute||"")+o;var b=(0,ce.getProp)(s,"raws","attribute")||null;b&&(s.raws.attribute+=o),f="attribute"}else if(!s.value&&s.value!==""||f==="value"&&!v){var x=(0,ce.unesc)(o),w=(0,ce.getProp)(s,"raws","value")||"",E=s.value||"";s.value=E+x,s.quoteMark=null,(x!==o||w)&&((0,ce.ensureObject)(s,"raws"),s.raws.value=(w||E)+o),f="value"}else{var C=o==="i"||o==="I";(s.value||s.value==="")&&(s.quoteMark||v)?(s.insensitive=C,(!C||o==="I")&&((0,ce.ensureObject)(s,"raws"),s.raws.insensitiveFlag=o),f="insensitive",c&&((0,ce.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=c,c=""),p&&((0,ce.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=p,p="")):(s.value||s.value==="")&&(f="value",s.value+=o,s.raws.value&&(s.raws.value+=o))}v=!1;break;case L.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:m[O.FIELDS.START_POS]});var T=(0,Wh.unescapeValue)(o),M=T.unescaped,U=T.quoteMark;s.value=M,s.quoteMark=U,f="value",(0,ce.ensureObject)(s,"raws"),s.raws.value=o,v=!1;break;case L.equals:if(!s.attribute)return this.expected("attribute",m[O.FIELDS.START_POS],o);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:m[O.FIELDS.START_POS]});s.operator=s.operator?s.operator+o:o,f="operator",v=!1;break;case L.comment:if(f)if(v||u&&u[O.FIELDS.TYPE]===L.space||f==="insensitive"){var W=(0,ce.getProp)(s,"spaces",f,"after")||"",G=(0,ce.getProp)(s,"raws","spaces",f,"after")||W;(0,ce.ensureObject)(s,"raws","spaces",f),s.raws.spaces[f].after=G+o}else{var ge=s[f]||"",de=(0,ce.getProp)(s,"raws",f)||ge;(0,ce.ensureObject)(s,"raws"),s.raws[f]=de+o}else p=p+o;break;default:return this.error('Unexpected "'+o+'" found.',{index:m[O.FIELDS.START_POS]})}l++}Lr(s,"attribute"),Lr(s,"namespace"),this.newNode(new Wh.default(s)),this.position++},t.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var i=this.position,a=[],s="",l=void 0;do if(Rl[this.currToken[O.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[O.FIELDS.TYPE]===L.comment){var c={};s&&(c.before=s,s=""),l=new Vh.default({value:this.content(),source:Nr(this.currToken),sourceIndex:this.currToken[O.FIELDS.START_POS],spaces:c}),a.push(l)}while(++this.position<e);if(s){if(l)l.spaces.after=s;else if(!this.options.lossy){var p=this.tokens[i],f=this.tokens[this.position-1];a.push(new Il.default({value:"",source:ur(p[O.FIELDS.START_LINE],p[O.FIELDS.START_COL],f[O.FIELDS.END_LINE],f[O.FIELDS.END_COL]),sourceIndex:p[O.FIELDS.START_POS],spaces:{before:s,after:""}}))}}return a},t.convertWhitespaceNodesToSpace=function(e,i){var a=this;i===void 0&&(i=!1);var s="",l="";e.forEach(function(p){var f=a.lossySpace(p.spaces.before,i),v=a.lossySpace(p.rawSpaceBefore,i);s+=f+a.lossySpace(p.spaces.after,i&&f.length===0),l+=f+p.value+a.lossySpace(p.rawSpaceAfter,i&&v.length===0)}),l===s&&(l=void 0);var c={space:s,rawSpace:l};return c},t.isNamedCombinator=function(e){return e===void 0&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][O.FIELDS.TYPE]===L.slash&&this.tokens[e+1]&&this.tokens[e+1][O.FIELDS.TYPE]===L.word&&this.tokens[e+2]&&this.tokens[e+2][O.FIELDS.TYPE]===L.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),i=(0,ce.unesc)(e).toLowerCase(),a={};i!==e&&(a.value="/"+e+"/");var s=new Nl.default({value:"/"+i+"/",source:ur(this.currToken[O.FIELDS.START_LINE],this.currToken[O.FIELDS.START_COL],this.tokens[this.position+2][O.FIELDS.END_LINE],this.tokens[this.position+2][O.FIELDS.END_COL]),sourceIndex:this.currToken[O.FIELDS.START_POS],raws:a});return this.position=this.position+3,s}else this.unexpected()},t.combinator=function(){var e=this;if(this.content()==="|")return this.namespace();var i=this.locateNextMeaningfulToken(this.position);if(i<0||this.tokens[i][O.FIELDS.TYPE]===L.comma){var a=this.parseWhitespaceEquivalentTokens(i);if(a.length>0){var s=this.current.last;if(s){var l=this.convertWhitespaceNodesToSpace(a),c=l.space,p=l.rawSpace;p!==void 0&&(s.rawSpaceAfter+=p),s.spaces.after+=c}else a.forEach(function(w){return e.newNode(w)})}return}var f=this.currToken,v=void 0;i>this.position&&(v=this.parseWhitespaceEquivalentTokens(i));var m;if(this.isNamedCombinator()?m=this.namedCombinator():this.currToken[O.FIELDS.TYPE]===L.combinator?(m=new Nl.default({value:this.content(),source:Nr(this.currToken),sourceIndex:this.currToken[O.FIELDS.START_POS]}),this.position++):Rl[this.currToken[O.FIELDS.TYPE]]||v||this.unexpected(),m){if(v){var o=this.convertWhitespaceNodesToSpace(v),u=o.space,d=o.rawSpace;m.spaces.before=u,m.rawSpaceBefore=d}}else{var h=this.convertWhitespaceNodesToSpace(v,!0),g=h.space,y=h.rawSpace;y||(y=g);var b={},x={spaces:{}};g.endsWith(" ")&&y.endsWith(" ")?(b.before=g.slice(0,g.length-1),x.spaces.before=y.slice(0,y.length-1)):g.startsWith(" ")&&y.startsWith(" ")?(b.after=g.slice(1),x.spaces.after=y.slice(1)):x.value=y,m=new Nl.default({value:" ",source:Bl(f,this.tokens[this.position-1]),sourceIndex:f[O.FIELDS.START_POS],spaces:b,raws:x})}return this.currToken&&this.currToken[O.FIELDS.TYPE]===L.space&&(m.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(m)},t.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var e=new Ml.default({source:{start:Xh(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},t.comment=function(){var e=this.currToken;this.newNode(new Vh.default({value:this.content(),source:Nr(e),sourceIndex:e[O.FIELDS.START_POS]})),this.position++},t.error=function(e,i){throw this.root.error(e,i)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[O.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[O.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[O.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[O.FIELDS.START_POS])},t.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[O.FIELDS.TYPE]===L.word)return this.position++,this.word(e);if(this.nextToken[O.FIELDS.TYPE]===L.asterisk)return this.position++,this.universal(e)},t.nesting=function(){if(this.nextToken){var e=this.content(this.nextToken);if(e==="|"){this.position++;return}}var i=this.currToken;this.newNode(new nD.default({value:this.content(),source:Nr(i),sourceIndex:i[O.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var e=this.current.last,i=1;if(this.position++,e&&e.type===aD.PSEUDO){var a=new Ml.default({source:{start:Xh(this.tokens[this.position-1])}}),s=this.current;for(e.append(a),this.current=a;this.position<this.tokens.length&&i;)this.currToken[O.FIELDS.TYPE]===L.openParenthesis&&i++,this.currToken[O.FIELDS.TYPE]===L.closeParenthesis&&i--,i?this.parse():(this.current.source.end=$h(this.currToken),this.current.parent.source.end=$h(this.currToken),this.position++);this.current=s}else{for(var l=this.currToken,c="(",p;this.position<this.tokens.length&&i;)this.currToken[O.FIELDS.TYPE]===L.openParenthesis&&i++,this.currToken[O.FIELDS.TYPE]===L.closeParenthesis&&i--,p=this.currToken,c+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",c,c):this.newNode(new Il.default({value:c,source:ur(l[O.FIELDS.START_LINE],l[O.FIELDS.START_COL],p[O.FIELDS.END_LINE],p[O.FIELDS.END_COL]),sourceIndex:l[O.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[O.FIELDS.START_POS])},t.pseudo=function(){for(var e=this,i="",a=this.currToken;this.currToken&&this.currToken[O.FIELDS.TYPE]===L.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[O.FIELDS.TYPE]===L.word)this.splitWord(!1,function(s,l){i+=s,e.newNode(new tD.default({value:i,source:Bl(a,e.currToken),sourceIndex:a[O.FIELDS.START_POS]})),l>1&&e.nextToken&&e.nextToken[O.FIELDS.TYPE]===L.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[O.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[O.FIELDS.START_POS])},t.space=function(){var e=this.content();this.position===0||this.prevToken[O.FIELDS.TYPE]===L.comma||this.prevToken[O.FIELDS.TYPE]===L.openParenthesis||this.current.nodes.every(function(i){return i.type==="comment"})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[O.FIELDS.TYPE]===L.comma||this.nextToken[O.FIELDS.TYPE]===L.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},t.string=function(){var e=this.currToken;this.newNode(new Il.default({value:this.content(),source:Nr(e),sourceIndex:e[O.FIELDS.START_POS]})),this.position++},t.universal=function(e){var i=this.nextToken;if(i&&this.content(i)==="|")return this.position++,this.namespace();var a=this.currToken;this.newNode(new rD.default({value:this.content(),source:Nr(a),sourceIndex:a[O.FIELDS.START_POS]}),e),this.position++},t.splitWord=function(e,i){for(var a=this,s=this.nextToken,l=this.content();s&&~[L.dollar,L.caret,L.equals,L.word].indexOf(s[O.FIELDS.TYPE]);){this.position++;var c=this.content();if(l+=c,c.lastIndexOf("\\")===c.length-1){var p=this.nextToken;p&&p[O.FIELDS.TYPE]===L.space&&(l+=this.requiredSpace(this.content(p)),this.position++)}s=this.nextToken}var f=ql(l,".").filter(function(u){var d=l[u-1]==="\\",h=/^\d+\.\d+%$/.test(l);return!d&&!h}),v=ql(l,"#").filter(function(u){return l[u-1]!=="\\"}),m=ql(l,"#{");m.length&&(v=v.filter(function(u){return!~m.indexOf(u)}));var o=(0,iD.default)(lD([0].concat(f,v)));o.forEach(function(u,d){var h=o[d+1]||l.length,g=l.slice(u,h);if(d===0&&i)return i.call(a,g,o.length);var y,b=a.currToken,x=b[O.FIELDS.START_POS]+o[d],w=ur(b[1],b[2]+u,b[3],b[2]+(h-1));if(~f.indexOf(u)){var E={value:g.slice(1),source:w,sourceIndex:x};y=new Q1.default(Lr(E,"value"))}else if(~v.indexOf(u)){var C={value:g.slice(1),source:w,sourceIndex:x};y=new Z1.default(Lr(C,"value"))}else{var T={value:g,source:w,sourceIndex:x};Lr(T,"value"),y=new eD.default(T)}a.newNode(y,e),e=null}),this.position++},t.word=function(e){var i=this.nextToken;return i&&this.content(i)==="|"?(this.position++,this.namespace()):this.splitWord(e)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(e){switch(this.currToken[O.FIELDS.TYPE]){case L.space:this.space();break;case L.comment:this.comment();break;case L.openParenthesis:this.parentheses();break;case L.closeParenthesis:e&&this.missingParenthesis();break;case L.openSquare:this.attribute();break;case L.dollar:case L.caret:case L.equals:case L.word:this.word();break;case L.colon:this.pseudo();break;case L.comma:this.comma();break;case L.asterisk:this.universal();break;case L.ampersand:this.nesting();break;case L.slash:case L.combinator:this.combinator();break;case L.str:this.string();break;case L.closeSquare:this.missingSquareBracket();case L.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(e,i,a){if(Array.isArray(e)){var s=e.pop();e=e.join(", ")+" or "+s}var l=/^[aeiou]/.test(e[0])?"an":"a";return a?this.error("Expected "+l+" "+e+', found "'+a+'" instead.',{index:i}):this.error("Expected "+l+" "+e+".",{index:i})},t.requiredSpace=function(e){return this.options.lossy?" ":e},t.optionalSpace=function(e){return this.options.lossy?"":e},t.lossySpace=function(e,i){return this.options.lossy?i?" ":"":e},t.parseParenthesisToken=function(e){var i=this.content(e);return e[O.FIELDS.TYPE]===L.space?this.requiredSpace(i):i},t.newNode=function(e,i){return i&&(/^ +$/.test(i)&&(this.options.lossy||(this.spaces=(this.spaces||"")+i),i=!0),e.namespace=i,Lr(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},t.content=function(e){return e===void 0&&(e=this.currToken),this.css.slice(e[O.FIELDS.START_POS],e[O.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(e){e===void 0&&(e=this.position+1);for(var i=e;i<this.tokens.length;)if(oD[this.tokens[i][O.FIELDS.TYPE]]){i++;continue}else return i;return-1},sD(n,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),n}();ri.default=uD;Hh.exports=ri.default});var Qh=D((ni,Yh)=>{"use strict";ni.__esModule=!0;ni.default=void 0;var cD=fD(Kh());function fD(n){return n&&n.__esModule?n:{default:n}}var dD=function(){function n(r,e){this.func=r||function(){},this.funcRes=null,this.options=e}var t=n.prototype;return t._shouldUpdateSelector=function(e,i){i===void 0&&(i={});var a=Object.assign({},this.options,i);return a.updateSelector===!1?!1:typeof e!="string"},t._isLossy=function(e){e===void 0&&(e={});var i=Object.assign({},this.options,e);return i.lossless===!1},t._root=function(e,i){i===void 0&&(i={});var a=new cD.default(e,this._parseOptions(i));return a.root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,i){var a=this;return i===void 0&&(i={}),new Promise(function(s,l){try{var c=a._root(e,i);Promise.resolve(a.func(c)).then(function(p){var f=void 0;return a._shouldUpdateSelector(e,i)&&(f=c.toString(),e.selector=f),{transform:p,root:c,string:f}}).then(s,l)}catch(p){l(p);return}})},t._runSync=function(e,i){i===void 0&&(i={});var a=this._root(e,i),s=this.func(a);if(s&&typeof s.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var l=void 0;return i.updateSelector&&typeof e!="string"&&(l=a.toString(),e.selector=l),{transform:s,root:a,string:l}},t.ast=function(e,i){return this._run(e,i).then(function(a){return a.root})},t.astSync=function(e,i){return this._runSync(e,i).root},t.transform=function(e,i){return this._run(e,i).then(function(a){return a.transform})},t.transformSync=function(e,i){return this._runSync(e,i).transform},t.process=function(e,i){return this._run(e,i).then(function(a){return a.string||a.root.toString()})},t.processSync=function(e,i){var a=this._runSync(e,i);return a.string||a.root.toString()},n}();ni.default=dD;Yh.exports=ni.default});var Zh=D(ie=>{"use strict";ie.__esModule=!0;ie.universal=ie.tag=ie.string=ie.selector=ie.root=ie.pseudo=ie.nesting=ie.id=ie.comment=ie.combinator=ie.className=ie.attribute=void 0;var pD=tt(Dl()),hD=tt(ol()),mD=tt(Tl()),vD=tt(ul()),gD=tt(fl()),yD=tt(Fl()),bD=tt(yl()),xD=tt(rl()),SD=tt(il()),wD=tt(vl()),ED=tt(hl()),DD=tt(Al());function tt(n){return n&&n.__esModule?n:{default:n}}var CD=function(t){return new pD.default(t)};ie.attribute=CD;var AD=function(t){return new hD.default(t)};ie.className=AD;var _D=function(t){return new mD.default(t)};ie.combinator=_D;var TD=function(t){return new vD.default(t)};ie.comment=TD;var kD=function(t){return new gD.default(t)};ie.id=kD;var FD=function(t){return new yD.default(t)};ie.nesting=FD;var OD=function(t){return new bD.default(t)};ie.pseudo=OD;var PD=function(t){return new xD.default(t)};ie.root=PD;var MD=function(t){return new SD.default(t)};ie.selector=MD;var ID=function(t){return new wD.default(t)};ie.string=ID;var ND=function(t){return new ED.default(t)};ie.tag=ND;var LD=function(t){return new DD.default(t)};ie.universal=LD});var nm=D(Q=>{"use strict";Q.__esModule=!0;Q.isNode=jl;Q.isPseudoElement=rm;Q.isPseudoClass=$D;Q.isContainer=GD;Q.isNamespace=HD;Q.isUniversal=Q.isTag=Q.isString=Q.isSelector=Q.isRoot=Q.isPseudo=Q.isNesting=Q.isIdentifier=Q.isComment=Q.isCombinator=Q.isClassName=Q.isAttribute=void 0;var fe=Te(),Le,BD=(Le={},Le[fe.ATTRIBUTE]=!0,Le[fe.CLASS]=!0,Le[fe.COMBINATOR]=!0,Le[fe.COMMENT]=!0,Le[fe.ID]=!0,Le[fe.NESTING]=!0,Le[fe.PSEUDO]=!0,Le[fe.ROOT]=!0,Le[fe.SELECTOR]=!0,Le[fe.STRING]=!0,Le[fe.TAG]=!0,Le[fe.UNIVERSAL]=!0,Le);function jl(n){return typeof n=="object"&&BD[n.type]}function rt(n,t){return jl(t)&&t.type===n}var em=rt.bind(null,fe.ATTRIBUTE);Q.isAttribute=em;var qD=rt.bind(null,fe.CLASS);Q.isClassName=qD;var RD=rt.bind(null,fe.COMBINATOR);Q.isCombinator=RD;var jD=rt.bind(null,fe.COMMENT);Q.isComment=jD;var UD=rt.bind(null,fe.ID);Q.isIdentifier=UD;var zD=rt.bind(null,fe.NESTING);Q.isNesting=zD;var Ul=rt.bind(null,fe.PSEUDO);Q.isPseudo=Ul;var VD=rt.bind(null,fe.ROOT);Q.isRoot=VD;var WD=rt.bind(null,fe.SELECTOR);Q.isSelector=WD;var JD=rt.bind(null,fe.STRING);Q.isString=JD;var tm=rt.bind(null,fe.TAG);Q.isTag=tm;var XD=rt.bind(null,fe.UNIVERSAL);Q.isUniversal=XD;function rm(n){return Ul(n)&&n.value&&(n.value.startsWith("::")||n.value.toLowerCase()===":before"||n.value.toLowerCase()===":after"||n.value.toLowerCase()===":first-letter"||n.value.toLowerCase()===":first-line")}function $D(n){return Ul(n)&&!rm(n)}function GD(n){return!!(jl(n)&&n.walk)}function HD(n){return em(n)||tm(n)}});var im=D(ht=>{"use strict";ht.__esModule=!0;var zl=Te();Object.keys(zl).forEach(function(n){n==="default"||n==="__esModule"||n in ht&&ht[n]===zl[n]||(ht[n]=zl[n])});var Vl=Zh();Object.keys(Vl).forEach(function(n){n==="default"||n==="__esModule"||n in ht&&ht[n]===Vl[n]||(ht[n]=Vl[n])});var Wl=nm();Object.keys(Wl).forEach(function(n){n==="default"||n==="__esModule"||n in ht&&ht[n]===Wl[n]||(ht[n]=Wl[n])})});var Vt=D((ii,sm)=>{"use strict";ii.__esModule=!0;ii.default=void 0;var KD=ZD(Qh()),YD=QD(im());function am(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return am=function(){return n},n}function QD(n){if(n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var t=am();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var a=e?Object.getOwnPropertyDescriptor(n,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=n[i]}return r.default=n,t&&t.set(n,r),r}function ZD(n){return n&&n.__esModule?n:{default:n}}var Jl=function(t){return new KD.default(t)};Object.assign(Jl,YD);delete Jl.__esModule;var eC=Jl;ii.default=eC;sm.exports=ii.default});var Br=D(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Object.defineProperty(Xl,"default",{enumerable:!0,get:()=>tC});function tC(n){if(Object.prototype.toString.call(n)!=="[object Object]")return!1;let t=Object.getPrototypeOf(n);return t===null||t===Object.prototype}});var Ma=D($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});Object.defineProperty($l,"default",{enumerable:!0,get:()=>iC});var rC=om(St()),nC=om(Br());function om(n){return n&&n.__esModule?n:{default:n}}function iC(n){return["fontSize","outline"].includes(n)?t=>(typeof t=="function"&&(t=t({})),Array.isArray(t)&&(t=t[0]),t):n==="fontFamily"?t=>{typeof t=="function"&&(t=t({}));let r=Array.isArray(t)&&(0,nC.default)(t[1])?t[0]:t;return Array.isArray(r)?r.join(", "):r}:["boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(n)?t=>(typeof t=="function"&&(t=t({})),Array.isArray(t)&&(t=t.join(", ")),t):["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(n)?t=>(typeof t=="function"&&(t=t({})),typeof t=="string"&&(t=rC.default.list.comma(t).join(" ")),t):(t,r={})=>(typeof t=="function"&&(t=t(r)),t)}});var hm=D((VM,Ql)=>{var{Rule:um,AtRule:aC}=St(),cm=Vt();function Kl(n,t){let r;try{cm(e=>{r=e}).processSync(n)}catch(e){throw n.includes(":")?t?t.error("Missed semicolon"):e:t?t.error(e.message):e}return r.at(0)}function fm(n,t){let r=!1;return n.each(e=>{if(e.type==="nesting"){let i=t.clone({});e.value!=="&"?e.replaceWith(Kl(e.value.replace("&",i.toString()))):e.replaceWith(i),r=!0}else"nodes"in e&&e.nodes&&fm(e,t)&&(r=!0)}),r}function dm(n,t){let r=[];return n.selectors.forEach(e=>{let i=Kl(e,n);t.selectors.forEach(a=>{if(!a)return;let s=Kl(a,t);fm(s,i)||(s.prepend(cm.combinator({value:" "})),s.prepend(i.clone({}))),r.push(s.toString())})}),r}function Ia(n,t){let r=n.prev();for(t.after(n);r&&r.type==="comment";){let e=r.prev();t.after(r),r=e}return n}function sC(n){return function t(r,e,i,a=i){let s=[];if(e.each(l=>{l.type==="rule"&&i?a&&(l.selectors=dm(r,l)):l.type==="atrule"&&l.nodes?n[l.name]?t(r,l,a):e[Yl]!==!1&&s.push(l):s.push(l)}),i&&s.length){let l=r.clone({nodes:[]});for(let c of s)l.append(c);e.prepend(l)}}}function Gl(n,t,r){let e=new um({selector:n,nodes:[]});return e.append(t),r.after(e),e}function lm(n,t){let r={};for(let e of n)r[e]=!0;if(t)for(let e of t)r[e.replace(/^@/,"")]=!0;return r}function oC(n){n=n.trim();let t=n.match(/^\((.*)\)$/);if(!t)return{type:"basic",selector:n};let r=t[1].match(/^(with(?:out)?):(.+)$/);if(r){let e=r[1]==="with",i=Object.fromEntries(r[2].trim().split(/\s+/).map(s=>[s,!0]));if(e&&i.all)return{type:"noop"};let a=s=>!!i[s];return i.all?a=()=>!0:e&&(a=s=>s==="all"?!1:!i[s]),{type:"withrules",escapes:a}}return{type:"unknown"}}function lC(n){let t=[],r=n.parent;for(;r&&r instanceof aC;)t.push(r),r=r.parent;return t}function uC(n){let t=n[pm];if(!t)n.after(n.nodes);else{let r=n.nodes,e,i=-1,a,s,l,c=lC(n);if(c.forEach((p,f)=>{if(t(p.name))e=p,i=f,s=l;else{let v=l;l=p.clone({nodes:[]}),v&&l.append(v),a=a||l}}),e?s?(a.append(r),e.after(s)):e.after(r):n.after(r),n.next()&&e){let p;c.slice(0,i+1).forEach((f,v,m)=>{let o=p;p=f.clone({nodes:[]}),o&&p.append(o);let u=[],h=(m[v-1]||n).next();for(;h;)u.push(h),h=h.next();p.append(u)}),p&&(s||r[r.length-1]).after(p)}}n.remove()}var Yl=Symbol("rootRuleMergeSel"),pm=Symbol("rootRuleEscapes");function cC(n){let{params:t}=n,{type:r,selector:e,escapes:i}=oC(t);if(r==="unknown")throw n.error(`Unknown @${n.name} parameter ${JSON.stringify(t)}`);if(r==="basic"&&e){let a=new um({selector:e,nodes:n.nodes});n.removeAll(),n.append(a)}n[pm]=i,n[Yl]=i?!i("all"):r==="noop"}var Hl=Symbol("hasRootRule");Ql.exports=(n={})=>{let t=lm(["media","supports","layer"],n.bubble),r=sC(t),e=lm(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],n.unwrap),i=(n.rootRuleName||"at-root").replace(/^@/,""),a=n.preserveEmpty;return{postcssPlugin:"postcss-nested",Once(s){s.walkAtRules(i,l=>{cC(l),s[Hl]=!0})},Rule(s){let l=!1,c=s,p=!1,f=[];s.each(v=>{v.type==="rule"?(f.length&&(c=Gl(s.selector,f,c),f=[]),p=!0,l=!0,v.selectors=dm(s,v),c=Ia(v,c)):v.type==="atrule"?(f.length&&(c=Gl(s.selector,f,c),f=[]),v.name===i?(l=!0,r(s,v,!0,v[Yl]),c=Ia(v,c)):t[v.name]?(p=!0,l=!0,r(s,v,!0),c=Ia(v,c)):e[v.name]?(p=!0,l=!0,r(s,v,!1),c=Ia(v,c)):p&&f.push(v)):v.type==="decl"&&p&&f.push(v)}),f.length&&(c=Gl(s.selector,f,c)),l&&a!==!0&&(s.raws.semicolon=!0,s.nodes.length===0&&s.remove())},RootExit(s){s[Hl]&&(s.walkAtRules(i,uC),s[Hl]=!1)}}};Ql.exports.postcss=!0});var ym=D((WM,gm)=>{"use strict";var mm=/-(\w|$)/g,vm=(n,t)=>t.toUpperCase(),fC=n=>(n=n.toLowerCase(),n==="float"?"cssFloat":n.startsWith("-ms-")?n.substr(1).replace(mm,vm):n.replace(mm,vm));gm.exports=fC});var tu=D((JM,bm)=>{var dC=ym(),pC={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function Zl(n){return typeof n.nodes>"u"?!0:eu(n)}function eu(n){let t,r={};return n.each(e=>{if(e.type==="atrule")t="@"+e.name,e.params&&(t+=" "+e.params),typeof r[t]>"u"?r[t]=Zl(e):Array.isArray(r[t])?r[t].push(Zl(e)):r[t]=[r[t],Zl(e)];else if(e.type==="rule"){let i=eu(e);if(r[e.selector])for(let a in i)r[e.selector][a]=i[a];else r[e.selector]=i}else if(e.type==="decl"){e.prop[0]==="-"&&e.prop[1]==="-"?t=e.prop:t=dC(e.prop);let i=e.value;!isNaN(e.value)&&pC[t]&&(i=parseFloat(e.value)),e.important&&(i+=" !important"),typeof r[t]>"u"?r[t]=i:Array.isArray(r[t])?r[t].push(i):r[t]=[r[t],i]}}),r}bm.exports=eu});var Na=D((XM,Em)=>{var ai=St(),xm=/\s*!important\s*$/i,hC={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function mC(n){return n.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function Sm(n,t,r){r===!1||r===null||(t.startsWith("--")||(t=mC(t)),typeof r=="number"&&(r===0||hC[t]?r=r.toString():r+="px"),t==="css-float"&&(t="float"),xm.test(r)?(r=r.replace(xm,""),n.push(ai.decl({prop:t,value:r,important:!0}))):n.push(ai.decl({prop:t,value:r})))}function wm(n,t,r){let e=ai.atRule({name:t[1],params:t[3]||""});typeof r=="object"&&(e.nodes=[],ru(r,e)),n.push(e)}function ru(n,t){let r,e,i;for(r in n)if(e=n[r],!(e===null||typeof e>"u"))if(r[0]==="@"){let a=r.match(/@(\S+)(\s+([\W\w]*)\s*)?/);if(Array.isArray(e))for(let s of e)wm(t,a,s);else wm(t,a,e)}else if(Array.isArray(e))for(let a of e)Sm(t,r,a);else typeof e=="object"?(i=ai.rule({selector:r}),ru(e,i),t.push(i)):Sm(t,r,e)}Em.exports=function(n){let t=ai.root();return ru(n,t),t}});var nu=D(($M,Dm)=>{var vC=tu();Dm.exports=function(t){return console&&console.warn&&t.warnings().forEach(r=>{let e=r.plugin||"PostCSS";console.warn(e+": "+r.text)}),vC(t.root)}});var Am=D((GM,Cm)=>{var gC=St(),yC=nu(),bC=Na();Cm.exports=function(t){let r=gC(t);return async e=>{let i=await r.process(e,{parser:bC,from:void 0});return yC(i)}}});var Tm=D((HM,_m)=>{var xC=St(),SC=nu(),wC=Na();_m.exports=function(n){let t=xC(n);return r=>{let e=t.process(r,{parser:wC,from:void 0});return SC(e)}}});var Fm=D((KM,km)=>{var EC=tu(),DC=Na(),CC=Am(),AC=Tm();km.exports={objectify:EC,parse:DC,async:CC,sync:AC}});var su=D(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});Object.defineProperty(au,"default",{enumerable:!0,get:()=>Om});var _C=iu(St()),TC=iu(hm()),kC=iu(Fm());function iu(n){return n&&n.__esModule?n:{default:n}}function Om(n){return Array.isArray(n)?n.flatMap(t=>(0,_C.default)([(0,TC.default)({bubble:["screen"]})]).process(t,{parser:kC.default}).root.nodes):Om([n])}});var La=D(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});Object.defineProperty(ou,"default",{enumerable:!0,get:()=>PC});var FC=OC(Vt());function OC(n){return n&&n.__esModule?n:{default:n}}function PC(n,t,r=!1){return(0,FC.default)(e=>{e.walkClasses(i=>{let a=i.value,s=r&&a.startsWith("-");i.value=s?`-${n}${a.slice(1)}`:`${n}${a}`})}).processSync(t)}});var Ba=D(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});Object.defineProperty(lu,"default",{enumerable:!0,get:()=>MC});function MC(n){return n.replace(/\\,/g,"\\2c ")}});var si=D(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});Object.defineProperty(uu,"default",{enumerable:!0,get:()=>LC});var IC=Pm(Vt()),NC=Pm(Ba());function Pm(n){return n&&n.__esModule?n:{default:n}}function LC(n){var t;let r=IC.default.className();r.value=n;var e;return(0,NC.default)((e=r==null||(t=r.raws)===null||t===void 0?void 0:t.value)!==null&&e!==void 0?e:r.value)}});var fu=D(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});function BC(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}BC(cu,{asClass:()=>Im,default:()=>jC,formatClass:()=>Nm});var qC=Mm(si()),RC=Mm(Ba());function Mm(n){return n&&n.__esModule?n:{default:n}}function Im(n){return(0,RC.default)(`.${(0,qC.default)(n)}`)}function jC(n,t){return Im(Nm(n,t))}function Nm(n,t){return t==="DEFAULT"?n:t==="-"||t==="-DEFAULT"?`-${n}`:t.startsWith("-")?`-${n}${t}`:t.startsWith("/")?`${n}${t}`:`${n}-${t}`}});var Bm=D((rI,Lm)=>{"use strict";Lm.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var pu=D(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});function UC(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}UC(du,{parseColor:()=>$C,formatColor:()=>GC});var qm=zC(Bm());function zC(n){return n&&n.__esModule?n:{default:n}}var VC=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,WC=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Wt=/(?:\d+|\d*\.\d+)%?/,qa=/(?:\s*,\s*|\s+)/,Rm=/\s*[,/]\s*/,Jt=/var\(--(?:[^ )]*?)\)/,JC=new RegExp(`^(rgb)a?\\(\\s*(${Wt.source}|${Jt.source})(?:${qa.source}(${Wt.source}|${Jt.source}))?(?:${qa.source}(${Wt.source}|${Jt.source}))?(?:${Rm.source}(${Wt.source}|${Jt.source}))?\\s*\\)$`),XC=new RegExp(`^(hsl)a?\\(\\s*((?:${Wt.source})(?:deg|rad|grad|turn)?|${Jt.source})(?:${qa.source}(${Wt.source}|${Jt.source}))?(?:${qa.source}(${Wt.source}|${Jt.source}))?(?:${Rm.source}(${Wt.source}|${Jt.source}))?\\s*\\)$`);function $C(n,{loose:t=!1}={}){var r,e;if(typeof n!="string")return null;if(n=n.trim(),n==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(n in qm.default)return{mode:"rgb",color:qm.default[n].map(c=>c.toString())};let i=n.replace(WC,(c,p,f,v,m)=>["#",p,p,f,f,v,v,m?m+m:""].join("")).match(VC);if(i!==null)return{mode:"rgb",color:[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16)].map(c=>c.toString()),alpha:i[4]?(parseInt(i[4],16)/255).toString():void 0};var a;let s=(a=n.match(JC))!==null&&a!==void 0?a:n.match(XC);if(s===null)return null;let l=[s[2],s[3],s[4]].filter(Boolean).map(c=>c.toString());return!t&&l.length!==3||l.length<3&&!l.some(c=>/^var\(.*?\)$/.test(c))?null:{mode:s[1],color:l,alpha:(r=s[5])===null||r===void 0||(e=r.toString)===null||e===void 0?void 0:e.call(r)}}function GC({mode:n,color:t,alpha:r}){let e=r!==void 0;return`${n}(${t.join(" ")}${e?` / ${r}`:""})`}});var ja=D(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});function HC(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}HC(hu,{withAlphaValue:()=>KC,default:()=>YC});var Ra=pu();function KC(n,t,r){if(typeof n=="function")return n({opacityValue:t});let e=(0,Ra.parseColor)(n,{loose:!0});return e===null?r:(0,Ra.formatColor)({...e,alpha:t})}function YC({color:n,property:t,variable:r}){let e=[].concat(t);if(typeof n=="function")return{[r]:"1",...Object.fromEntries(e.map(a=>[a,n({opacityVariable:r,opacityValue:`var(${r})`})]))};let i=(0,Ra.parseColor)(n);return i===null?Object.fromEntries(e.map(a=>[a,n])):i.alpha!==void 0?Object.fromEntries(e.map(a=>[a,n])):{[r]:"1",...Object.fromEntries(e.map(a=>[a,(0,Ra.formatColor)({...i,alpha:`var(${r})`})]))}}});var oi=D(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});Object.defineProperty(mu,"splitAtTopLevelOnly",{enumerable:!0,get:()=>QC});function QC(n,t){let r=[],e=[],i=0;for(let a=0;a<n.length;a++){let s=n[a];r.length===0&&s===t[0]&&(t.length===1||n.slice(a,a+t.length)===t)&&(e.push(n.slice(i,a)),i=a+t.length),s==="("||s==="["||s==="{"?r.push(s):(s===")"&&r[r.length-1]==="("||s==="]"&&r[r.length-1]==="["||s==="}"&&r[r.length-1]==="{")&&r.pop()}return e.push(n.slice(i)),e}});var gu=D(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});function ZC(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}ZC(vu,{parseBoxShadowValue:()=>nA,formatBoxShadowValue:()=>iA});var eA=oi(),tA=new Set(["inset","inherit","initial","revert","unset"]),rA=/\ +(?![^(]*\))/g,jm=/^-?(\d+|\.\d+)(.*?)$/g;function nA(n){return(0,eA.splitAtTopLevelOnly)(n,",").map(r=>{let e=r.trim(),i={raw:e},a=e.split(rA),s=new Set;for(let l of a)jm.lastIndex=0,!s.has("KEYWORD")&&tA.has(l)?(i.keyword=l,s.add("KEYWORD")):jm.test(l)?s.has("X")?s.has("Y")?s.has("BLUR")?s.has("SPREAD")||(i.spread=l,s.add("SPREAD")):(i.blur=l,s.add("BLUR")):(i.y=l,s.add("Y")):(i.x=l,s.add("X")):i.color?(i.unknown||(i.unknown=[]),i.unknown.push(l)):i.color=l;return i.valid=i.x!==void 0&&i.y!==void 0,i})}function iA(n){return n.map(t=>t.valid?[t.keyword,t.x,t.y,t.blur,t.spread,t.color].filter(Boolean).join(" "):t.raw).join(", ")}});var li=D(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});function aA(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}aA(bu,{normalize:()=>Xt,url:()=>Um,number:()=>zm,percentage:()=>Vm,length:()=>Wm,lineWidth:()=>dA,shadow:()=>pA,color:()=>hA,image:()=>mA,gradient:()=>Jm,position:()=>yA,familyName:()=>bA,genericName:()=>SA,absoluteSize:()=>EA,relativeSize:()=>CA});var sA=pu(),oA=gu(),Ua=oi(),lA=["min","max","clamp","calc"];function yu(n){return lA.some(t=>new RegExp(`^${t}\\(.*\\)`).test(n))}function Xt(n,t=!0){return n.includes("url(")?n.split(/(url\(.*?\))/g).filter(Boolean).map(r=>/^url\(.*?\)$/.test(r)?r:Xt(r,!1)).join(""):(n=n.replace(/([^\\])_+/g,(r,e)=>e+" ".repeat(r.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),t&&(n=n.trim()),n=n.replace(/(calc|min|max|clamp)\(.+\)/g,r=>r.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")),n)}function Um(n){return n.startsWith("url(")}function zm(n){return!isNaN(Number(n))||yu(n)}function Vm(n){return n.endsWith("%")&&zm(n.slice(0,-1))||yu(n)}var uA=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","vw","vh","vmin","vmax"],cA=`(?:${uA.join("|")})`;function Wm(n){return n==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${cA}$`).test(n)||yu(n)}var fA=new Set(["thin","medium","thick"]);function dA(n){return fA.has(n)}function pA(n){let t=(0,oA.parseBoxShadowValue)(Xt(n));for(let r of t)if(!r.valid)return!1;return!0}function hA(n){let t=0;return(0,Ua.splitAtTopLevelOnly)(n,"_").every(e=>(e=Xt(e),e.startsWith("var(")?!0:(0,sA.parseColor)(e,{loose:!0})!==null?(t++,!0):!1))?t>0:!1}function mA(n){let t=0;return(0,Ua.splitAtTopLevelOnly)(n,",").every(e=>(e=Xt(e),e.startsWith("var(")?!0:Um(e)||Jm(e)||["element(","image(","cross-fade(","image-set("].some(i=>e.startsWith(i))?(t++,!0):!1))?t>0:!1}var vA=new Set(["linear-gradient","radial-gradient","repeating-linear-gradient","repeating-radial-gradient","conic-gradient"]);function Jm(n){n=Xt(n);for(let t of vA)if(n.startsWith(`${t}(`))return!0;return!1}var gA=new Set(["center","top","right","bottom","left"]);function yA(n){let t=0;return(0,Ua.splitAtTopLevelOnly)(n,"_").every(e=>(e=Xt(e),e.startsWith("var(")?!0:gA.has(e)||Wm(e)||Vm(e)?(t++,!0):!1))?t>0:!1}function bA(n){let t=0;return(0,Ua.splitAtTopLevelOnly)(n,",").every(e=>(e=Xt(e),e.startsWith("var(")?!0:e.includes(" ")&&!/(['"])([^"']+)\1/g.test(e)||/^\d/g.test(e)?!1:(t++,!0)))?t>0:!1}var xA=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function SA(n){return xA.has(n)}var wA=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function EA(n){return wA.has(n)}var DA=new Set(["larger","smaller"]);function CA(n){return DA.has(n)}});var za=D(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});Object.defineProperty(xu,"default",{enumerable:!0,get:()=>AA});function AA(n){if(n=`${n}`,n==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(n))return n.replace(/^[+-]?/,r=>r==="-"?"":"-");let t=["var","calc","min","max","clamp"];for(let r of t)if(n.includes(`${r}(`))return`calc(${n} * -1)`}});var Gm=D(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Object.defineProperty(Su,"backgroundSize",{enumerable:!0,get:()=>_A});var Xm=li(),$m=oi();function _A(n){let t=["cover","contain"];return(0,$m.splitAtTopLevelOnly)(n,",").every(r=>{let e=(0,$m.splitAtTopLevelOnly)(r,"_").filter(Boolean);return e.length===1&&t.includes(e[0])?!0:e.length!==1&&e.length!==2?!1:e.every(i=>(0,Xm.length)(i)||(0,Xm.percentage)(i)||i==="auto")})}});var fr=D(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});function TA(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}TA(Eu,{dim:()=>FA,default:()=>OA});var cr=kA(vn());function kA(n){return n&&n.__esModule?n:{default:n}}var Hm=new Set;function wu(n,t,r){typeof process<"u"&&process.env.JEST_WORKER_ID||r&&Hm.has(r)||(r&&Hm.add(r),console.warn(""),t.forEach(e=>console.warn(n,"-",e)))}function FA(n){return cr.default.dim(n)}var OA={info(n,t){wu(cr.default.bold(cr.default.cyan("info")),...Array.isArray(n)?[n]:[t,n])},warn(n,t){wu(cr.default.bold(cr.default.yellow("warn")),...Array.isArray(n)?[n]:[t,n])},risk(n,t){wu(cr.default.bold(cr.default.magenta("risk")),...Array.isArray(n)?[n]:[t,n])}}});var qr=D(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});function PA(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}PA(Du,{flagEnabled:()=>NA,issueFlagNotices:()=>LA,default:()=>BA});var MA=Qm(vn()),IA=Qm(fr());function Qm(n){return n&&n.__esModule?n:{default:n}}var Km={optimizeUniversalDefaults:!1,generalizedModifiers:!0},ui={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function NA(n,t){if(ui.future.includes(t)){var r,e,i;return n.future==="all"||((i=(e=n==null||(r=n.future)===null||r===void 0?void 0:r[t])!==null&&e!==void 0?e:Km[t])!==null&&i!==void 0?i:!1)}if(ui.experimental.includes(t)){var a,s,l;return n.experimental==="all"||((l=(s=n==null||(a=n.experimental)===null||a===void 0?void 0:a[t])!==null&&s!==void 0?s:Km[t])!==null&&l!==void 0?l:!1)}return!1}function Ym(n){if(n.experimental==="all")return ui.experimental;var t;return Object.keys((t=n==null?void 0:n.experimental)!==null&&t!==void 0?t:{}).filter(r=>ui.experimental.includes(r)&&n.experimental[r])}function LA(n){if(process.env.JEST_WORKER_ID===void 0&&Ym(n).length>0){let t=Ym(n).map(r=>MA.default.yellow(r)).join(", ");IA.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${t}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var BA=ui});var Va=D(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});function qA(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}qA(Tu,{updateAllClasses:()=>zA,filterSelectorsForClass:()=>VA,asValue:()=>Rr,parseColorFormat:()=>Cu,asColor:()=>av,asLookupValue:()=>sv,typeMap:()=>_u,coerceValue:()=>XA,getMatchingTypes:()=>ov});var rv=Au(Vt()),RA=Au(Ba()),Zm=ja(),Be=li(),ev=Au(za()),jA=Gm(),UA=qr();function Au(n){return n&&n.__esModule?n:{default:n}}function zA(n,t){return(0,rv.default)(i=>{i.walkClasses(a=>{let s=t(a.value);a.value=s,a.raws&&a.raws.value&&(a.raws.value=(0,RA.default)(a.raws.value))})}).processSync(n)}function VA(n,t){return(0,rv.default)(i=>{i.each(a=>{a.nodes.some(l=>l.type==="class"&&l.value===t)||a.remove()})}).processSync(n)}function nv(n,t){if(!$t(n))return;let r=n.slice(1,-1);if(!!t(r))return(0,Be.normalize)(r)}function WA(n,t={},r){let e=t[n];if(e!==void 0)return(0,ev.default)(e);if($t(n)){let i=nv(n,r);return i===void 0?void 0:(0,ev.default)(i)}}function Rr(n,t={},{validate:r=()=>!0}={}){var e;let i=(e=t.values)===null||e===void 0?void 0:e[n];return i!==void 0?i:t.supportsNegativeValues&&n.startsWith("-")?WA(n.slice(1),t.values,r):nv(n,r)}function $t(n){return n.startsWith("[")&&n.endsWith("]")}function iv(n){let t=n.lastIndexOf("/");return t===-1||t===n.length-1?[n,void 0]:$t(n)&&!n.includes("]/[")?[n,void 0]:[n.slice(0,t),n.slice(t+1)]}function Cu(n){if(typeof n=="string"&&n.includes("<alpha-value>")){let t=n;return({opacityValue:r=1})=>t.replace("<alpha-value>",r)}return n}function av(n,t={},{tailwindConfig:r={},utilityModifier:e,rawModifier:i}={}){var a;if(((a=t.values)===null||a===void 0?void 0:a[i])!==void 0){var s;return Cu((s=t.values)===null||s===void 0?void 0:s[i])}let[l,c]=iv(i);if(c!==void 0){var p,f,v,m;let o=(m=(p=t.values)===null||p===void 0?void 0:p[l])!==null&&m!==void 0?m:$t(l)?l.slice(1,-1):void 0;return o===void 0?void 0:(o=Cu(o),$t(c)?(0,Zm.withAlphaValue)(o,c.slice(1,-1)):((f=r.theme)===null||f===void 0||(v=f.opacity)===null||v===void 0?void 0:v[c])===void 0?void 0:(0,Zm.withAlphaValue)(o,r.theme.opacity[c]))}return Rr(i,t,{rawModifier:i,utilityModifier:e,validate:Be.color})}function sv(n,t={}){var r;return(r=t.values)===null||r===void 0?void 0:r[n]}function Xe(n){return(t,r,e)=>Rr(t,r,{...e,validate:n})}var _u={any:Rr,color:av,url:Xe(Be.url),image:Xe(Be.image),length:Xe(Be.length),percentage:Xe(Be.percentage),position:Xe(Be.position),lookup:sv,"generic-name":Xe(Be.genericName),"family-name":Xe(Be.familyName),number:Xe(Be.number),"line-width":Xe(Be.lineWidth),"absolute-size":Xe(Be.absoluteSize),"relative-size":Xe(Be.relativeSize),shadow:Xe(Be.shadow),size:Xe(jA.backgroundSize)},tv=Object.keys(_u);function JA(n,t){let r=n.indexOf(t);return r===-1?[void 0,n]:[n.slice(0,r),n.slice(r+1)]}function XA(n,t,r,e){if($t(t)){let a=t.slice(1,-1),[s,l]=JA(a,":");if(!/^[\w-_]+$/g.test(s))l=a;else if(s!==void 0&&!tv.includes(s))return[];if(l.length>0&&tv.includes(s))return[Rr(`[${l}]`,r),s,null]}let i=ov(n,t,r,e);for(let a of i)return a;return[]}function*ov(n,t,r,e){let i=(0,UA.flagEnabled)(e,"generalizedModifiers"),[a,s]=iv(t);if(i&&r.modifiers!=null&&(r.modifiers==="any"||typeof r.modifiers=="object"&&(s&&$t(s)||s in r.modifiers))||(a=t,s=void 0),s!==void 0&&a===""&&(a="DEFAULT"),s!==void 0){if(typeof r.modifiers=="object"){var c,p;let v=(p=(c=r.modifiers)===null||c===void 0?void 0:c[s])!==null&&p!==void 0?p:null;v!==null?s=v:$t(s)&&(s=s.slice(1,-1))}let f=Rr(t,r,{rawModifier:t,utilityModifier:s,tailwindConfig:e});f!==void 0&&(yield[f,"any",null])}for(let{type:f}of n!=null?n:[]){let v=_u[f](a,r,{rawModifier:t,utilityModifier:s,tailwindConfig:e});v!==void 0&&(yield[v,f,s!=null?s:null])}}});var lv=D(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});Object.defineProperty(ku,"default",{enumerable:!0,get:()=>HA});var $A=GA(Ma());function GA(n){return n&&n.__esModule?n:{default:n}}function HA(n,t=[[n,[n]]],{filterDefault:r=!1,...e}={}){let i=(0,$A.default)(n);return function({matchUtilities:a,theme:s}){for(let c of t){let p=Array.isArray(c[0])?c:[c];var l;a(p.reduce((f,[v,m])=>Object.assign(f,{[v]:o=>m.reduce((u,d)=>Array.isArray(d)?Object.assign(u,{[d[0]]:d[1]}):Object.assign(u,{[d]:i(o)}),{})}),{}),{...e,values:r?Object.fromEntries(Object.entries((l=s(n))!==null&&l!==void 0?l:{}).filter(([f])=>f!=="DEFAULT")):s(n)})}}}});var uv=D(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Object.defineProperty(Fu,"default",{enumerable:!0,get:()=>KA});function KA(n){return n=Array.isArray(n)?n:[n],n.map(t=>{let r=t.values.map(e=>e.raw!==void 0?e.raw:[e.min&&`(min-width: ${e.min})`,e.max&&`(max-width: ${e.max})`].filter(Boolean).join(" and "));return t.not?`not all and ${r}`:r}).join(", ")}});var fv=D(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Object.defineProperty(Ou,"default",{enumerable:!0,get:()=>s_});var YA=new Set(["normal","reverse","alternate","alternate-reverse"]),QA=new Set(["running","paused"]),ZA=new Set(["none","forwards","backwards","both"]),e_=new Set(["infinite"]),t_=new Set(["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end"]),r_=["cubic-bezier","steps"],n_=/\,(?![^(]*\))/g,i_=/\ +(?![^(]*\))/g,cv=/^(-?[\d.]+m?s)$/,a_=/^(\d+)$/;function s_(n){return n.split(n_).map(r=>{let e=r.trim(),i={value:e},a=e.split(i_),s=new Set;for(let l of a)!s.has("DIRECTIONS")&&YA.has(l)?(i.direction=l,s.add("DIRECTIONS")):!s.has("PLAY_STATES")&&QA.has(l)?(i.playState=l,s.add("PLAY_STATES")):!s.has("FILL_MODES")&&ZA.has(l)?(i.fillMode=l,s.add("FILL_MODES")):!s.has("ITERATION_COUNTS")&&(e_.has(l)||a_.test(l))?(i.iterationCount=l,s.add("ITERATION_COUNTS")):!s.has("TIMING_FUNCTION")&&t_.has(l)||!s.has("TIMING_FUNCTION")&&r_.some(c=>l.startsWith(`${c}(`))?(i.timingFunction=l,s.add("TIMING_FUNCTION")):!s.has("DURATION")&&cv.test(l)?(i.duration=l,s.add("DURATION")):!s.has("DELAY")&&cv.test(l)?(i.delay=l,s.add("DELAY")):s.has("NAME")?(i.unknown||(i.unknown=[]),i.unknown.push(l)):(i.name=l,s.add("NAME"));return i})}});var pv=D(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});Object.defineProperty(Pu,"default",{enumerable:!0,get:()=>o_});var dv=n=>Object.assign({},...Object.entries(n!=null?n:{}).flatMap(([t,r])=>typeof r=="object"?Object.entries(dv(r)).map(([e,i])=>({[t+(e==="DEFAULT"?"":`-${e}`)]:i})):[{[`${t}`]:r}])),o_=dv});var Iu=D(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Object.defineProperty(Mu,"default",{enumerable:!0,get:()=>l_});function l_(n){return typeof n=="function"?n({}):n}});var hv=D((yI,u_)=>{u_.exports={name:"tailwindcss",version:"3.2.4",description:"A utility-first CSS framework for rapidly building custom user interfaces.",license:"MIT",main:"lib/index.js",types:"types/index.d.ts",repository:"https://github.com/tailwindlabs/tailwindcss.git",bugs:"https://github.com/tailwindlabs/tailwindcss/issues",homepage:"https://tailwindcss.com",bin:{tailwind:"lib/cli.js",tailwindcss:"lib/cli.js"},scripts:{preswcify:"npm run generate && rimraf lib",swcify:"swc src --out-dir lib --copy-files",postswcify:"esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js","rebuild-fixtures":"npm run swcify && node -r @swc/register scripts/rebuildFixtures.js",prepublishOnly:"npm install --force && npm run swcify",style:"eslint .",pretest:"npm run generate",test:"jest","test:integrations":"npm run test --prefix ./integrations","install:integrations":"node scripts/install-integrations.js","generate:plugin-list":"node -r @swc/register scripts/create-plugin-list.js","generate:types":"node -r @swc/register scripts/generate-types.js",generate:"npm run generate:plugin-list && npm run generate:types","release-channel":"node ./scripts/release-channel.js","release-notes":"node ./scripts/release-notes.js"},files:["src/*","cli/*","lib/*","peers/*","scripts/*.js","stubs/*.stub.js","nesting/*","types/**/*","*.d.ts","*.css","*.js"],devDependencies:{"@swc/cli":"^0.1.57","@swc/core":"^1.3.11","@swc/jest":"^0.2.23","@swc/register":"^0.1.10",autoprefixer:"^10.4.13",cssnano:"^5.1.14",esbuild:"^0.15.12",eslint:"^8.26.0","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1",jest:"^28.1.3","jest-diff":"^28.1.3",prettier:"^2.7.1",rimraf:"^3.0.0","source-map-js":"^1.0.2"},peerDependencies:{postcss:"^8.0.9"},dependencies:{arg:"^5.0.2",chokidar:"^3.5.3","color-name":"^1.1.4",detective:"^5.2.1",didyoumean:"^1.2.2",dlv:"^1.1.3","fast-glob":"^3.2.12","glob-parent":"^6.0.2","is-glob":"^4.0.3",lilconfig:"^2.0.6",micromatch:"^4.0.5","normalize-path":"^3.0.0","object-hash":"^3.0.0",picocolors:"^1.0.0",postcss:"^8.4.18","postcss-import":"^14.1.0","postcss-js":"^4.0.0","postcss-load-config":"^3.1.4","postcss-nested":"6.0.0","postcss-selector-parser":"^6.0.10","postcss-value-parser":"^4.2.0","quick-lru":"^5.1.1",resolve:"^1.22.1"},browserslist:["> 1%","not edge <= 18","not ie 11","not op_mini all"],jest:{testTimeout:3e4,setupFilesAfterEnv:["<rootDir>/jest/customMatchers.js"],testPathIgnorePatterns:["/node_modules/","/integrations/","/standalone-cli/","\\.test\\.skip\\.js$"],transform:{"\\.js$":"@swc/jest"}},engines:{node:">=12.13.0"}}});var gv=D(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});function c_(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}c_(Bu,{normalizeScreens:()=>vv,isScreenSortable:()=>Nu,compareScreens:()=>f_,toScreen:()=>Lu});function vv(n,t=!0){return Array.isArray(n)?n.map(r=>{if(t&&Array.isArray(r))throw new Error("The tuple syntax is not supported for `screens`.");if(typeof r=="string")return{name:r.toString(),not:!1,values:[{min:r,max:void 0}]};let[e,i]=r;return e=e.toString(),typeof i=="string"?{name:e,not:!1,values:[{min:i,max:void 0}]}:Array.isArray(i)?{name:e,not:!1,values:i.map(a=>mv(a))}:{name:e,not:!1,values:[mv(i)]}}):vv(Object.entries(n!=null?n:{}),!1)}function Nu(n){return n.values.length!==1?{result:!1,reason:"multiple-values"}:n.values[0].raw!==void 0?{result:!1,reason:"raw-values"}:n.values[0].min!==void 0&&n.values[0].max!==void 0?{result:!1,reason:"min-and-max"}:{result:!0,reason:null}}function f_(n,t,r){let e=Lu(t,n),i=Lu(r,n),a=Nu(e),s=Nu(i);if(a.reason==="multiple-values"||s.reason==="multiple-values")throw new Error("Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.");if(a.reason==="raw-values"||s.reason==="raw-values")throw new Error("Attempted to sort a screen with raw values. This should never happen. Please open a bug report.");if(a.reason==="min-and-max"||s.reason==="min-and-max")throw new Error("Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.");let{min:l,max:c}=e.values[0],{min:p,max:f}=i.values[0];t.not&&([l,c]=[c,l]),r.not&&([p,f]=[f,p]),l=l===void 0?l:parseFloat(l),c=c===void 0?c:parseFloat(c),p=p===void 0?p:parseFloat(p),f=f===void 0?f:parseFloat(f);let[v,m]=n==="min"?[l,p]:[f,c];return v-m}function Lu(n,t){return typeof n=="object"?n:{name:"arbitrary-screen",values:[{[t]:n}]}}function mv({"min-width":n,min:t=n,max:r,raw:e}={}){return{min:t,max:r,raw:e}}});var yv=D(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});Object.defineProperty(qu,"removeAlphaVariables",{enumerable:!0,get:()=>d_});function d_(n,t){n.walkDecls(r=>{if(t.includes(r.prop)){r.remove();return}for(let e of t)r.value.includes(`/ var(${e})`)&&(r.value=r.value.replace(`/ var(${e})`,""))})}});var Dv=D(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});function p_(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}p_(Uu,{variantPlugins:()=>x_,corePlugins:()=>S_});var h_=vt(require("fs")),m_=Ev(require("path")),Wa=vt(St()),R=vt(lv()),bv=vt(uv()),v_=vt(si()),g_=vt(fv()),ke=vt(pv()),qe=Ev(ja()),se=vt(Iu()),xv=vt(Br()),y_=vt(Ma()),b_=hv(),jr=vt(fr()),ci=gv(),Sv=gu(),Ru=yv(),ju=qr(),nt=li();function vt(n){return n&&n.__esModule?n:{default:n}}function wv(n){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(wv=function(e){return e?r:t})(n)}function Ev(n,t){if(!t&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var r=wv(t);if(r&&r.has(n))return r.get(n);var e={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in n)if(a!=="default"&&Object.prototype.hasOwnProperty.call(n,a)){var s=i?Object.getOwnPropertyDescriptor(n,a):null;s&&(s.get||s.set)?Object.defineProperty(e,a,s):e[a]=n[a]}return e.default=n,r&&r.set(n,e),e}var x_={pseudoElementVariants:({addVariant:n})=>{n("first-letter","&::first-letter"),n("first-line","&::first-line"),n("marker",[({container:t})=>((0,Ru.removeAlphaVariables)(t,["--tw-text-opacity"]),"& *::marker"),({container:t})=>((0,Ru.removeAlphaVariables)(t,["--tw-text-opacity"]),"&::marker")]),n("selection",["& *::selection","&::selection"]),n("file","&::file-selector-button"),n("placeholder","&::placeholder"),n("backdrop","&::backdrop"),n("before",({container:t})=>(t.walkRules(r=>{let e=!1;r.walkDecls("content",()=>{e=!0}),e||r.prepend(Wa.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::before")),n("after",({container:t})=>(t.walkRules(r=>{let e=!1;r.walkDecls("content",()=>{e=!0}),e||r.prepend(Wa.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::after"))},pseudoClassVariants:({addVariant:n,matchVariant:t,config:r})=>{let e=[["first","&:first-child"],["last","&:last-child"],["only","&:only-child"],["odd","&:nth-child(odd)"],["even","&:nth-child(even)"],"first-of-type","last-of-type","only-of-type",["visited",({container:a})=>((0,Ru.removeAlphaVariables)(a,["--tw-text-opacity","--tw-border-opacity","--tw-bg-opacity"]),"&:visited")],"target",["open","&[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","in-range","out-of-range","read-only","empty","focus-within",["hover",(0,ju.flagEnabled)(r(),"hoverOnlyWhenSupported")?"@media (hover: hover) and (pointer: fine) { &:hover }":"&:hover"],"focus","focus-visible","active","enabled","disabled"].map(a=>Array.isArray(a)?a:[a,`&:${a}`]);for(let[a,s]of e)n(a,l=>typeof s=="function"?s(l):s);let i={group:(a,{modifier:s})=>s?[`:merge(.group\\/${s})`," &"]:[":merge(.group)"," &"],peer:(a,{modifier:s})=>s?[`:merge(.peer\\/${s})`," ~ &"]:[":merge(.peer)"," ~ &"]};for(let[a,s]of Object.entries(i))t(a,(l="",c)=>{let p=(0,nt.normalize)(typeof l=="function"?l(c):l);p.includes("&")||(p="&"+p);let[f,v]=s("",c);return p.replace(/&(\S+)?/g,(m,o="")=>f+o+v)},{values:Object.fromEntries(e)})},directionVariants:({addVariant:n})=>{n("ltr",()=>(jr.default.warn("rtl-experimental",["The RTL features in Tailwind CSS are currently in preview.","Preview features are not covered by semver, and may be improved in breaking ways at any time."]),'[dir="ltr"] &')),n("rtl",()=>(jr.default.warn("rtl-experimental",["The RTL features in Tailwind CSS are currently in preview.","Preview features are not covered by semver, and may be improved in breaking ways at any time."]),'[dir="rtl"] &'))},reducedMotionVariants:({addVariant:n})=>{n("motion-safe","@media (prefers-reduced-motion: no-preference)"),n("motion-reduce","@media (prefers-reduced-motion: reduce)")},darkVariants:({config:n,addVariant:t})=>{let[r,e=".dark"]=[].concat(n("darkMode","media"));r===!1&&(r="media",jr.default.warn("darkmode-false",["The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.","Change `darkMode` to `media` or remove it entirely.","https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration"])),r==="class"?t("dark",`${e} &`):r==="media"&&t("dark","@media (prefers-color-scheme: dark)")},printVariant:({addVariant:n})=>{n("print","@media print")},screenVariants:({theme:n,addVariant:t,matchVariant:r})=>{var e;let i=(e=n("screens"))!==null&&e!==void 0?e:{},a=Object.values(i).every(y=>typeof y=="string"),s=(0,ci.normalizeScreens)(n("screens")),l=new Set([]);function c(y){var b,x;return(x=(b=y.match(/(\D+)$/))===null||b===void 0?void 0:b[1])!==null&&x!==void 0?x:"(none)"}function p(y){y!==void 0&&l.add(c(y))}function f(y){return p(y),l.size===1}for(let y of s)for(let b of y.values)p(b.min),p(b.max);let v=l.size<=1;function m(y){return Object.fromEntries(s.filter(b=>(0,ci.isScreenSortable)(b).result).map(b=>{let{min:x,max:w}=b.values[0];if(y==="min"&&x!==void 0)return b;if(y==="min"&&w!==void 0)return{...b,not:!b.not};if(y==="max"&&w!==void 0)return b;if(y==="max"&&x!==void 0)return{...b,not:!b.not}}).map(b=>[b.name,b]))}function o(y){return(b,x)=>(0,ci.compareScreens)(y,b.value,x.value)}let u=o("max"),d=o("min");function h(y){return b=>{if(a)if(v){if(typeof b=="string"&&!f(b))return jr.default.warn("minmax-have-mixed-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[]}else return jr.default.warn("mixed-screen-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[];else return jr.default.warn("complex-screen-config",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects."]),[];return[`@media ${(0,bv.default)((0,ci.toScreen)(b,y))}`]}}r("max",h("max"),{sort:u,values:a?m("max"):{}});let g="min-screens";for(let y of s)t(y.name,`@media ${(0,bv.default)(y)}`,{id:g,sort:a&&v?d:void 0,value:y});r("min",h("min"),{id:g,sort:d})},supportsVariants:({matchVariant:n,theme:t})=>{var r;n("supports",(e="")=>{let i=(0,nt.normalize)(e),a=/^\w*\s*\(/.test(i);return i=a?i.replace(/\b(and|or|not)\b/g," $1 "):i,a?`@supports ${i}`:(i.includes(":")||(i=`${i}: var(--tw)`),i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),`@supports ${i}`)},{values:(r=t("supports"))!==null&&r!==void 0?r:{}})},ariaVariants:({matchVariant:n,theme:t})=>{var r;n("aria",a=>`&[aria-${(0,nt.normalize)(a)}]`,{values:(r=t("aria"))!==null&&r!==void 0?r:{}});var e;n("group-aria",(a,{modifier:s})=>s?`:merge(.group\\/${s})[aria-${(0,nt.normalize)(a)}] &`:`:merge(.group)[aria-${(0,nt.normalize)(a)}] &`,{values:(e=t("aria"))!==null&&e!==void 0?e:{}});var i;n("peer-aria",(a,{modifier:s})=>s?`:merge(.peer\\/${s})[aria-${(0,nt.normalize)(a)}] ~ &`:`:merge(.peer)[aria-${(0,nt.normalize)(a)}] ~ &`,{values:(i=t("aria"))!==null&&i!==void 0?i:{}})},dataVariants:({matchVariant:n,theme:t})=>{var r;n("data",a=>`&[data-${(0,nt.normalize)(a)}]`,{values:(r=t("data"))!==null&&r!==void 0?r:{}});var e;n("group-data",(a,{modifier:s})=>s?`:merge(.group\\/${s})[data-${(0,nt.normalize)(a)}] &`:`:merge(.group)[data-${(0,nt.normalize)(a)}] &`,{values:(e=t("data"))!==null&&e!==void 0?e:{}});var i;n("peer-data",(a,{modifier:s})=>s?`:merge(.peer\\/${s})[data-${(0,nt.normalize)(a)}] ~ &`:`:merge(.peer)[data-${(0,nt.normalize)(a)}] ~ &`,{values:(i=t("data"))!==null&&i!==void 0?i:{}})},orientationVariants:({addVariant:n})=>{n("portrait","@media (orientation: portrait)"),n("landscape","@media (orientation: landscape)")},prefersContrastVariants:({addVariant:n})=>{n("contrast-more","@media (prefers-contrast: more)"),n("contrast-less","@media (prefers-contrast: less)")}},mt=["translate(var(--tw-translate-x), var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" "),Et=["var(--tw-blur)","var(--tw-brightness)","var(--tw-contrast)","var(--tw-grayscale)","var(--tw-hue-rotate)","var(--tw-invert)","var(--tw-saturate)","var(--tw-sepia)","var(--tw-drop-shadow)"].join(" "),Dt=["var(--tw-backdrop-blur)","var(--tw-backdrop-brightness)","var(--tw-backdrop-contrast)","var(--tw-backdrop-grayscale)","var(--tw-backdrop-hue-rotate)","var(--tw-backdrop-invert)","var(--tw-backdrop-opacity)","var(--tw-backdrop-saturate)","var(--tw-backdrop-sepia)"].join(" "),S_={preflight:({addBase:n})=>{let t=Wa.default.parse(h_.default.readFileSync(m_.join(__dirname,"./css/preflight.css"),"utf8"));n([Wa.default.comment({text:`! tailwindcss v${b_.version} | MIT License | https://tailwindcss.com`}),...t.nodes])},container:(()=>{function n(r=[]){return r.flatMap(e=>e.values.map(i=>i.min)).filter(e=>e!==void 0)}function t(r,e,i){if(typeof i>"u")return[];if(!(typeof i=="object"&&i!==null))return[{screen:"DEFAULT",minWidth:0,padding:i}];let a=[];i.DEFAULT&&a.push({screen:"DEFAULT",minWidth:0,padding:i.DEFAULT});for(let s of r)for(let l of e)for(let{min:c}of l.values)c===s&&a.push({minWidth:s,padding:i[l.name]});return a}return function({addComponents:r,theme:e}){let i=(0,ci.normalizeScreens)(e("container.screens",e("screens"))),a=n(i),s=t(a,i,e("container.padding")),l=p=>{let f=s.find(v=>v.minWidth===p);return f?{paddingRight:f.padding,paddingLeft:f.padding}:{}},c=Array.from(new Set(a.slice().sort((p,f)=>parseInt(p)-parseInt(f)))).map(p=>({[`@media (min-width: ${p})`]:{".container":{"max-width":p,...l(p)}}}));r([{".container":Object.assign({width:"100%"},e("container.center",!1)?{marginRight:"auto",marginLeft:"auto"}:{},l(0))},...c])}})(),accessibility:({addUtilities:n})=>{n({".sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},".not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}})},pointerEvents:({addUtilities:n})=>{n({".pointer-events-none":{"pointer-events":"none"},".pointer-events-auto":{"pointer-events":"auto"}})},visibility:({addUtilities:n})=>{n({".visible":{visibility:"visible"},".invisible":{visibility:"hidden"},".collapse":{visibility:"collapse"}})},position:({addUtilities:n})=>{n({".static":{position:"static"},".fixed":{position:"fixed"},".absolute":{position:"absolute"},".relative":{position:"relative"},".sticky":{position:"sticky"}})},inset:(0,R.default)("inset",[["inset",["top","right","bottom","left"]],[["inset-x",["left","right"]],["inset-y",["top","bottom"]]],[["top",["top"]],["right",["right"]],["bottom",["bottom"]],["left",["left"]]]],{supportsNegativeValues:!0}),isolation:({addUtilities:n})=>{n({".isolate":{isolation:"isolate"},".isolation-auto":{isolation:"auto"}})},zIndex:(0,R.default)("zIndex",[["z",["zIndex"]]],{supportsNegativeValues:!0}),order:(0,R.default)("order",void 0,{supportsNegativeValues:!0}),gridColumn:(0,R.default)("gridColumn",[["col",["gridColumn"]]]),gridColumnStart:(0,R.default)("gridColumnStart",[["col-start",["gridColumnStart"]]]),gridColumnEnd:(0,R.default)("gridColumnEnd",[["col-end",["gridColumnEnd"]]]),gridRow:(0,R.default)("gridRow",[["row",["gridRow"]]]),gridRowStart:(0,R.default)("gridRowStart",[["row-start",["gridRowStart"]]]),gridRowEnd:(0,R.default)("gridRowEnd",[["row-end",["gridRowEnd"]]]),float:({addUtilities:n})=>{n({".float-right":{float:"right"},".float-left":{float:"left"},".float-none":{float:"none"}})},clear:({addUtilities:n})=>{n({".clear-left":{clear:"left"},".clear-right":{clear:"right"},".clear-both":{clear:"both"},".clear-none":{clear:"none"}})},margin:(0,R.default)("margin",[["m",["margin"]],[["mx",["margin-left","margin-right"]],["my",["margin-top","margin-bottom"]]],[["mt",["margin-top"]],["mr",["margin-right"]],["mb",["margin-bottom"]],["ml",["margin-left"]]]],{supportsNegativeValues:!0}),boxSizing:({addUtilities:n})=>{n({".box-border":{"box-sizing":"border-box"},".box-content":{"box-sizing":"content-box"}})},display:({addUtilities:n})=>{n({".block":{display:"block"},".inline-block":{display:"inline-block"},".inline":{display:"inline"},".flex":{display:"flex"},".inline-flex":{display:"inline-flex"},".table":{display:"table"},".inline-table":{display:"inline-table"},".table-caption":{display:"table-caption"},".table-cell":{display:"table-cell"},".table-column":{display:"table-column"},".table-column-group":{display:"table-column-group"},".table-footer-group":{display:"table-footer-group"},".table-header-group":{display:"table-header-group"},".table-row-group":{display:"table-row-group"},".table-row":{display:"table-row"},".flow-root":{display:"flow-root"},".grid":{display:"grid"},".inline-grid":{display:"inline-grid"},".contents":{display:"contents"},".list-item":{display:"list-item"},".hidden":{display:"none"}})},aspectRatio:(0,R.default)("aspectRatio",[["aspect",["aspect-ratio"]]]),height:(0,R.default)("height",[["h",["height"]]]),maxHeight:(0,R.default)("maxHeight",[["max-h",["maxHeight"]]]),minHeight:(0,R.default)("minHeight",[["min-h",["minHeight"]]]),width:(0,R.default)("width",[["w",["width"]]]),minWidth:(0,R.default)("minWidth",[["min-w",["minWidth"]]]),maxWidth:(0,R.default)("maxWidth",[["max-w",["maxWidth"]]]),flex:(0,R.default)("flex"),flexShrink:(0,R.default)("flexShrink",[["flex-shrink",["flex-shrink"]],["shrink",["flex-shrink"]]]),flexGrow:(0,R.default)("flexGrow",[["flex-grow",["flex-grow"]],["grow",["flex-grow"]]]),flexBasis:(0,R.default)("flexBasis",[["basis",["flex-basis"]]]),tableLayout:({addUtilities:n})=>{n({".table-auto":{"table-layout":"auto"},".table-fixed":{"table-layout":"fixed"}})},borderCollapse:({addUtilities:n})=>{n({".border-collapse":{"border-collapse":"collapse"},".border-separate":{"border-collapse":"separate"}})},borderSpacing:({addDefaults:n,matchUtilities:t,theme:r})=>{n("border-spacing",{"--tw-border-spacing-x":0,"--tw-border-spacing-y":0}),t({"border-spacing":e=>({"--tw-border-spacing-x":e,"--tw-border-spacing-y":e,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-x":e=>({"--tw-border-spacing-x":e,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-y":e=>({"--tw-border-spacing-y":e,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})},{values:r("borderSpacing")})},transformOrigin:(0,R.default)("transformOrigin",[["origin",["transformOrigin"]]]),translate:(0,R.default)("translate",[[["translate-x",[["@defaults transform",{}],"--tw-translate-x",["transform",mt]]],["translate-y",[["@defaults transform",{}],"--tw-translate-y",["transform",mt]]]]],{supportsNegativeValues:!0}),rotate:(0,R.default)("rotate",[["rotate",[["@defaults transform",{}],"--tw-rotate",["transform",mt]]]],{supportsNegativeValues:!0}),skew:(0,R.default)("skew",[[["skew-x",[["@defaults transform",{}],"--tw-skew-x",["transform",mt]]],["skew-y",[["@defaults transform",{}],"--tw-skew-y",["transform",mt]]]]],{supportsNegativeValues:!0}),scale:(0,R.default)("scale",[["scale",[["@defaults transform",{}],"--tw-scale-x","--tw-scale-y",["transform",mt]]],[["scale-x",[["@defaults transform",{}],"--tw-scale-x",["transform",mt]]],["scale-y",[["@defaults transform",{}],"--tw-scale-y",["transform",mt]]]]],{supportsNegativeValues:!0}),transform:({addDefaults:n,addUtilities:t})=>{n("transform",{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1"}),t({".transform":{"@defaults transform":{},transform:mt},".transform-cpu":{transform:mt},".transform-gpu":{transform:mt.replace("translate(var(--tw-translate-x), var(--tw-translate-y))","translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)")},".transform-none":{transform:"none"}})},animation:({matchUtilities:n,theme:t,config:r})=>{let e=s=>`${r("prefix")}${(0,v_.default)(s)}`;var i;let a=Object.fromEntries(Object.entries((i=t("keyframes"))!==null&&i!==void 0?i:{}).map(([s,l])=>[s,{[`@keyframes ${e(s)}`]:l}]));n({animate:s=>{let l=(0,g_.default)(s);return[...l.flatMap(c=>a[c.name]),{animation:l.map(({name:c,value:p})=>c===void 0||a[c]===void 0?p:p.replace(c,e(c))).join(", ")}]}},{values:t("animation")})},cursor:(0,R.default)("cursor"),touchAction:({addDefaults:n,addUtilities:t})=>{n("touch-action",{"--tw-pan-x":" ","--tw-pan-y":" ","--tw-pinch-zoom":" "});let r="var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)";t({".touch-auto":{"touch-action":"auto"},".touch-none":{"touch-action":"none"},".touch-pan-x":{"@defaults touch-action":{},"--tw-pan-x":"pan-x","touch-action":r},".touch-pan-left":{"@defaults touch-action":{},"--tw-pan-x":"pan-left","touch-action":r},".touch-pan-right":{"@defaults touch-action":{},"--tw-pan-x":"pan-right","touch-action":r},".touch-pan-y":{"@defaults touch-action":{},"--tw-pan-y":"pan-y","touch-action":r},".touch-pan-up":{"@defaults touch-action":{},"--tw-pan-y":"pan-up","touch-action":r},".touch-pan-down":{"@defaults touch-action":{},"--tw-pan-y":"pan-down","touch-action":r},".touch-pinch-zoom":{"@defaults touch-action":{},"--tw-pinch-zoom":"pinch-zoom","touch-action":r},".touch-manipulation":{"touch-action":"manipulation"}})},userSelect:({addUtilities:n})=>{n({".select-none":{"user-select":"none"},".select-text":{"user-select":"text"},".select-all":{"user-select":"all"},".select-auto":{"user-select":"auto"}})},resize:({addUtilities:n})=>{n({".resize-none":{resize:"none"},".resize-y":{resize:"vertical"},".resize-x":{resize:"horizontal"},".resize":{resize:"both"}})},scrollSnapType:({addDefaults:n,addUtilities:t})=>{n("scroll-snap-type",{"--tw-scroll-snap-strictness":"proximity"}),t({".snap-none":{"scroll-snap-type":"none"},".snap-x":{"@defaults scroll-snap-type":{},"scroll-snap-type":"x var(--tw-scroll-snap-strictness)"},".snap-y":{"@defaults scroll-snap-type":{},"scroll-snap-type":"y var(--tw-scroll-snap-strictness)"},".snap-both":{"@defaults scroll-snap-type":{},"scroll-snap-type":"both var(--tw-scroll-snap-strictness)"},".snap-mandatory":{"--tw-scroll-snap-strictness":"mandatory"},".snap-proximity":{"--tw-scroll-snap-strictness":"proximity"}})},scrollSnapAlign:({addUtilities:n})=>{n({".snap-start":{"scroll-snap-align":"start"},".snap-end":{"scroll-snap-align":"end"},".snap-center":{"scroll-snap-align":"center"},".snap-align-none":{"scroll-snap-align":"none"}})},scrollSnapStop:({addUtilities:n})=>{n({".snap-normal":{"scroll-snap-stop":"normal"},".snap-always":{"scroll-snap-stop":"always"}})},scrollMargin:(0,R.default)("scrollMargin",[["scroll-m",["scroll-margin"]],[["scroll-mx",["scroll-margin-left","scroll-margin-right"]],["scroll-my",["scroll-margin-top","scroll-margin-bottom"]]],[["scroll-mt",["scroll-margin-top"]],["scroll-mr",["scroll-margin-right"]],["scroll-mb",["scroll-margin-bottom"]],["scroll-ml",["scroll-margin-left"]]]],{supportsNegativeValues:!0}),scrollPadding:(0,R.default)("scrollPadding",[["scroll-p",["scroll-padding"]],[["scroll-px",["scroll-padding-left","scroll-padding-right"]],["scroll-py",["scroll-padding-top","scroll-padding-bottom"]]],[["scroll-pt",["scroll-padding-top"]],["scroll-pr",["scroll-padding-right"]],["scroll-pb",["scroll-padding-bottom"]],["scroll-pl",["scroll-padding-left"]]]]),listStylePosition:({addUtilities:n})=>{n({".list-inside":{"list-style-position":"inside"},".list-outside":{"list-style-position":"outside"}})},listStyleType:(0,R.default)("listStyleType",[["list",["listStyleType"]]]),appearance:({addUtilities:n})=>{n({".appearance-none":{appearance:"none"}})},columns:(0,R.default)("columns",[["columns",["columns"]]]),breakBefore:({addUtilities:n})=>{n({".break-before-auto":{"break-before":"auto"},".break-before-avoid":{"break-before":"avoid"},".break-before-all":{"break-before":"all"},".break-before-avoid-page":{"break-before":"avoid-page"},".break-before-page":{"break-before":"page"},".break-before-left":{"break-before":"left"},".break-before-right":{"break-before":"right"},".break-before-column":{"break-before":"column"}})},breakInside:({addUtilities:n})=>{n({".break-inside-auto":{"break-inside":"auto"},".break-inside-avoid":{"break-inside":"avoid"},".break-inside-avoid-page":{"break-inside":"avoid-page"},".break-inside-avoid-column":{"break-inside":"avoid-column"}})},breakAfter:({addUtilities:n})=>{n({".break-after-auto":{"break-after":"auto"},".break-after-avoid":{"break-after":"avoid"},".break-after-all":{"break-after":"all"},".break-after-avoid-page":{"break-after":"avoid-page"},".break-after-page":{"break-after":"page"},".break-after-left":{"break-after":"left"},".break-after-right":{"break-after":"right"},".break-after-column":{"break-after":"column"}})},gridAutoColumns:(0,R.default)("gridAutoColumns",[["auto-cols",["gridAutoColumns"]]]),gridAutoFlow:({addUtilities:n})=>{n({".grid-flow-row":{gridAutoFlow:"row"},".grid-flow-col":{gridAutoFlow:"column"},".grid-flow-dense":{gridAutoFlow:"dense"},".grid-flow-row-dense":{gridAutoFlow:"row dense"},".grid-flow-col-dense":{gridAutoFlow:"column dense"}})},gridAutoRows:(0,R.default)("gridAutoRows",[["auto-rows",["gridAutoRows"]]]),gridTemplateColumns:(0,R.default)("gridTemplateColumns",[["grid-cols",["gridTemplateColumns"]]]),gridTemplateRows:(0,R.default)("gridTemplateRows",[["grid-rows",["gridTemplateRows"]]]),flexDirection:({addUtilities:n})=>{n({".flex-row":{"flex-direction":"row"},".flex-row-reverse":{"flex-direction":"row-reverse"},".flex-col":{"flex-direction":"column"},".flex-col-reverse":{"flex-direction":"column-reverse"}})},flexWrap:({addUtilities:n})=>{n({".flex-wrap":{"flex-wrap":"wrap"},".flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},".flex-nowrap":{"flex-wrap":"nowrap"}})},placeContent:({addUtilities:n})=>{n({".place-content-center":{"place-content":"center"},".place-content-start":{"place-content":"start"},".place-content-end":{"place-content":"end"},".place-content-between":{"place-content":"space-between"},".place-content-around":{"place-content":"space-around"},".place-content-evenly":{"place-content":"space-evenly"},".place-content-baseline":{"place-content":"baseline"},".place-content-stretch":{"place-content":"stretch"}})},placeItems:({addUtilities:n})=>{n({".place-items-start":{"place-items":"start"},".place-items-end":{"place-items":"end"},".place-items-center":{"place-items":"center"},".place-items-baseline":{"place-items":"baseline"},".place-items-stretch":{"place-items":"stretch"}})},alignContent:({addUtilities:n})=>{n({".content-center":{"align-content":"center"},".content-start":{"align-content":"flex-start"},".content-end":{"align-content":"flex-end"},".content-between":{"align-content":"space-between"},".content-around":{"align-content":"space-around"},".content-evenly":{"align-content":"space-evenly"},".content-baseline":{"align-content":"baseline"}})},alignItems:({addUtilities:n})=>{n({".items-start":{"align-items":"flex-start"},".items-end":{"align-items":"flex-end"},".items-center":{"align-items":"center"},".items-baseline":{"align-items":"baseline"},".items-stretch":{"align-items":"stretch"}})},justifyContent:({addUtilities:n})=>{n({".justify-start":{"justify-content":"flex-start"},".justify-end":{"justify-content":"flex-end"},".justify-center":{"justify-content":"center"},".justify-between":{"justify-content":"space-between"},".justify-around":{"justify-content":"space-around"},".justify-evenly":{"justify-content":"space-evenly"}})},justifyItems:({addUtilities:n})=>{n({".justify-items-start":{"justify-items":"start"},".justify-items-end":{"justify-items":"end"},".justify-items-center":{"justify-items":"center"},".justify-items-stretch":{"justify-items":"stretch"}})},gap:(0,R.default)("gap",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:n,addUtilities:t,theme:r})=>{n({"space-x":e=>(e=e==="0"?"0px":e,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${e} * var(--tw-space-x-reverse))`,"margin-left":`calc(${e} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":e=>(e=e==="0"?"0px":e,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${e} * calc(1 - var(--tw-space-y-reverse)))`,"margin-bottom":`calc(${e} * var(--tw-space-y-reverse))`}})},{values:r("space"),supportsNegativeValues:!0}),t({".space-y-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"1"},".space-x-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"1"}})},divideWidth:({matchUtilities:n,addUtilities:t,theme:r})=>{n({"divide-x":e=>(e=e==="0"?"0px":e,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"0","border-right-width":`calc(${e} * var(--tw-divide-x-reverse))`,"border-left-width":`calc(${e} * calc(1 - var(--tw-divide-x-reverse)))`}}),"divide-y":e=>(e=e==="0"?"0px":e,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"0","border-top-width":`calc(${e} * calc(1 - var(--tw-divide-y-reverse)))`,"border-bottom-width":`calc(${e} * var(--tw-divide-y-reverse))`}})},{values:r("divideWidth"),type:["line-width","length","any"]}),t({".divide-y-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"1"},".divide-x-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"1"}})},divideStyle:({addUtilities:n})=>{n({".divide-solid > :not([hidden]) ~ :not([hidden])":{"border-style":"solid"},".divide-dashed > :not([hidden]) ~ :not([hidden])":{"border-style":"dashed"},".divide-dotted > :not([hidden]) ~ :not([hidden])":{"border-style":"dotted"},".divide-double > :not([hidden]) ~ :not([hidden])":{"border-style":"double"},".divide-none > :not([hidden]) ~ :not([hidden])":{"border-style":"none"}})},divideColor:({matchUtilities:n,theme:t,corePlugins:r})=>{n({divide:e=>r("divideOpacity")?{["& > :not([hidden]) ~ :not([hidden])"]:(0,qe.default)({color:e,property:"border-color",variable:"--tw-divide-opacity"})}:{["& > :not([hidden]) ~ :not([hidden])"]:{"border-color":(0,se.default)(e)}}},{values:(({DEFAULT:e,...i})=>i)((0,ke.default)(t("divideColor"))),type:["color","any"]})},divideOpacity:({matchUtilities:n,theme:t})=>{n({"divide-opacity":r=>({["& > :not([hidden]) ~ :not([hidden])"]:{"--tw-divide-opacity":r}})},{values:t("divideOpacity")})},placeSelf:({addUtilities:n})=>{n({".place-self-auto":{"place-self":"auto"},".place-self-start":{"place-self":"start"},".place-self-end":{"place-self":"end"},".place-self-center":{"place-self":"center"},".place-self-stretch":{"place-self":"stretch"}})},alignSelf:({addUtilities:n})=>{n({".self-auto":{"align-self":"auto"},".self-start":{"align-self":"flex-start"},".self-end":{"align-self":"flex-end"},".self-center":{"align-self":"center"},".self-stretch":{"align-self":"stretch"},".self-baseline":{"align-self":"baseline"}})},justifySelf:({addUtilities:n})=>{n({".justify-self-auto":{"justify-self":"auto"},".justify-self-start":{"justify-self":"start"},".justify-self-end":{"justify-self":"end"},".justify-self-center":{"justify-self":"center"},".justify-self-stretch":{"justify-self":"stretch"}})},overflow:({addUtilities:n})=>{n({".overflow-auto":{overflow:"auto"},".overflow-hidden":{overflow:"hidden"},".overflow-clip":{overflow:"clip"},".overflow-visible":{overflow:"visible"},".overflow-scroll":{overflow:"scroll"},".overflow-x-auto":{"overflow-x":"auto"},".overflow-y-auto":{"overflow-y":"auto"},".overflow-x-hidden":{"overflow-x":"hidden"},".overflow-y-hidden":{"overflow-y":"hidden"},".overflow-x-clip":{"overflow-x":"clip"},".overflow-y-clip":{"overflow-y":"clip"},".overflow-x-visible":{"overflow-x":"visible"},".overflow-y-visible":{"overflow-y":"visible"},".overflow-x-scroll":{"overflow-x":"scroll"},".overflow-y-scroll":{"overflow-y":"scroll"}})},overscrollBehavior:({addUtilities:n})=>{n({".overscroll-auto":{"overscroll-behavior":"auto"},".overscroll-contain":{"overscroll-behavior":"contain"},".overscroll-none":{"overscroll-behavior":"none"},".overscroll-y-auto":{"overscroll-behavior-y":"auto"},".overscroll-y-contain":{"overscroll-behavior-y":"contain"},".overscroll-y-none":{"overscroll-behavior-y":"none"},".overscroll-x-auto":{"overscroll-behavior-x":"auto"},".overscroll-x-contain":{"overscroll-behavior-x":"contain"},".overscroll-x-none":{"overscroll-behavior-x":"none"}})},scrollBehavior:({addUtilities:n})=>{n({".scroll-auto":{"scroll-behavior":"auto"},".scroll-smooth":{"scroll-behavior":"smooth"}})},textOverflow:({addUtilities:n})=>{n({".truncate":{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},".overflow-ellipsis":{"text-overflow":"ellipsis"},".text-ellipsis":{"text-overflow":"ellipsis"},".text-clip":{"text-overflow":"clip"}})},whitespace:({addUtilities:n})=>{n({".whitespace-normal":{"white-space":"normal"},".whitespace-nowrap":{"white-space":"nowrap"},".whitespace-pre":{"white-space":"pre"},".whitespace-pre-line":{"white-space":"pre-line"},".whitespace-pre-wrap":{"white-space":"pre-wrap"}})},wordBreak:({addUtilities:n})=>{n({".break-normal":{"overflow-wrap":"normal","word-break":"normal"},".break-words":{"overflow-wrap":"break-word"},".break-all":{"word-break":"break-all"},".break-keep":{"word-break":"keep-all"}})},borderRadius:(0,R.default)("borderRadius",[["rounded",["border-radius"]],[["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]]],[["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]]]),borderWidth:(0,R.default)("borderWidth",[["border",[["@defaults border-width",{}],"border-width"]],[["border-x",[["@defaults border-width",{}],"border-left-width","border-right-width"]],["border-y",[["@defaults border-width",{}],"border-top-width","border-bottom-width"]]],[["border-t",[["@defaults border-width",{}],"border-top-width"]],["border-r",[["@defaults border-width",{}],"border-right-width"]],["border-b",[["@defaults border-width",{}],"border-bottom-width"]],["border-l",[["@defaults border-width",{}],"border-left-width"]]]],{type:["line-width","length"]}),borderStyle:({addUtilities:n})=>{n({".border-solid":{"border-style":"solid"},".border-dashed":{"border-style":"dashed"},".border-dotted":{"border-style":"dotted"},".border-double":{"border-style":"double"},".border-hidden":{"border-style":"hidden"},".border-none":{"border-style":"none"}})},borderColor:({matchUtilities:n,theme:t,corePlugins:r})=>{n({border:e=>r("borderOpacity")?(0,qe.default)({color:e,property:"border-color",variable:"--tw-border-opacity"}):{"border-color":(0,se.default)(e)}},{values:(({DEFAULT:e,...i})=>i)((0,ke.default)(t("borderColor"))),type:["color","any"]}),n({"border-x":e=>r("borderOpacity")?(0,qe.default)({color:e,property:["border-left-color","border-right-color"],variable:"--tw-border-opacity"}):{"border-left-color":(0,se.default)(e),"border-right-color":(0,se.default)(e)},"border-y":e=>r("borderOpacity")?(0,qe.default)({color:e,property:["border-top-color","border-bottom-color"],variable:"--tw-border-opacity"}):{"border-top-color":(0,se.default)(e),"border-bottom-color":(0,se.default)(e)}},{values:(({DEFAULT:e,...i})=>i)((0,ke.default)(t("borderColor"))),type:["color","any"]}),n({"border-t":e=>r("borderOpacity")?(0,qe.default)({color:e,property:"border-top-color",variable:"--tw-border-opacity"}):{"border-top-color":(0,se.default)(e)},"border-r":e=>r("borderOpacity")?(0,qe.default)({color:e,property:"border-right-color",variable:"--tw-border-opacity"}):{"border-right-color":(0,se.default)(e)},"border-b":e=>r("borderOpacity")?(0,qe.default)({color:e,property:"border-bottom-color",variable:"--tw-border-opacity"}):{"border-bottom-color":(0,se.default)(e)},"border-l":e=>r("borderOpacity")?(0,qe.default)({color:e,property:"border-left-color",variable:"--tw-border-opacity"}):{"border-left-color":(0,se.default)(e)}},{values:(({DEFAULT:e,...i})=>i)((0,ke.default)(t("borderColor"))),type:["color","any"]})},borderOpacity:(0,R.default)("borderOpacity",[["border-opacity",["--tw-border-opacity"]]]),backgroundColor:({matchUtilities:n,theme:t,corePlugins:r})=>{n({bg:e=>r("backgroundOpacity")?(0,qe.default)({color:e,property:"background-color",variable:"--tw-bg-opacity"}):{"background-color":(0,se.default)(e)}},{values:(0,ke.default)(t("backgroundColor")),type:["color","any"]})},backgroundOpacity:(0,R.default)("backgroundOpacity",[["bg-opacity",["--tw-bg-opacity"]]]),backgroundImage:(0,R.default)("backgroundImage",[["bg",["background-image"]]],{type:["lookup","image","url"]}),gradientColorStops:(()=>{function n(t){return(0,qe.withAlphaValue)(t,0,"rgb(255 255 255 / 0)")}return function({matchUtilities:t,theme:r}){let e={values:(0,ke.default)(r("gradientColorStops")),type:["color","any"]};t({from:i=>{let a=n(i);return{"--tw-gradient-from":(0,se.default)(i,"from"),"--tw-gradient-to":a,"--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to)"}}},e),t({via:i=>({"--tw-gradient-to":n(i),"--tw-gradient-stops":`var(--tw-gradient-from), ${(0,se.default)(i,"via")}, var(--tw-gradient-to)`})},e),t({to:i=>({"--tw-gradient-to":(0,se.default)(i,"to")})},e)}})(),boxDecorationBreak:({addUtilities:n})=>{n({".decoration-slice":{"box-decoration-break":"slice"},".decoration-clone":{"box-decoration-break":"clone"},".box-decoration-slice":{"box-decoration-break":"slice"},".box-decoration-clone":{"box-decoration-break":"clone"}})},backgroundSize:(0,R.default)("backgroundSize",[["bg",["background-size"]]],{type:["lookup","length","percentage","size"]}),backgroundAttachment:({addUtilities:n})=>{n({".bg-fixed":{"background-attachment":"fixed"},".bg-local":{"background-attachment":"local"},".bg-scroll":{"background-attachment":"scroll"}})},backgroundClip:({addUtilities:n})=>{n({".bg-clip-border":{"background-clip":"border-box"},".bg-clip-padding":{"background-clip":"padding-box"},".bg-clip-content":{"background-clip":"content-box"},".bg-clip-text":{"background-clip":"text"}})},backgroundPosition:(0,R.default)("backgroundPosition",[["bg",["background-position"]]],{type:["lookup",["position",{preferOnConflict:!0}]]}),backgroundRepeat:({addUtilities:n})=>{n({".bg-repeat":{"background-repeat":"repeat"},".bg-no-repeat":{"background-repeat":"no-repeat"},".bg-repeat-x":{"background-repeat":"repeat-x"},".bg-repeat-y":{"background-repeat":"repeat-y"},".bg-repeat-round":{"background-repeat":"round"},".bg-repeat-space":{"background-repeat":"space"}})},backgroundOrigin:({addUtilities:n})=>{n({".bg-origin-border":{"background-origin":"border-box"},".bg-origin-padding":{"background-origin":"padding-box"},".bg-origin-content":{"background-origin":"content-box"}})},fill:({matchUtilities:n,theme:t})=>{n({fill:r=>({fill:(0,se.default)(r)})},{values:(0,ke.default)(t("fill")),type:["color","any"]})},stroke:({matchUtilities:n,theme:t})=>{n({stroke:r=>({stroke:(0,se.default)(r)})},{values:(0,ke.default)(t("stroke")),type:["color","url","any"]})},strokeWidth:(0,R.default)("strokeWidth",[["stroke",["stroke-width"]]],{type:["length","number","percentage"]}),objectFit:({addUtilities:n})=>{n({".object-contain":{"object-fit":"contain"},".object-cover":{"object-fit":"cover"},".object-fill":{"object-fit":"fill"},".object-none":{"object-fit":"none"},".object-scale-down":{"object-fit":"scale-down"}})},objectPosition:(0,R.default)("objectPosition",[["object",["object-position"]]]),padding:(0,R.default)("padding",[["p",["padding"]],[["px",["padding-left","padding-right"]],["py",["padding-top","padding-bottom"]]],[["pt",["padding-top"]],["pr",["padding-right"]],["pb",["padding-bottom"]],["pl",["padding-left"]]]]),textAlign:({addUtilities:n})=>{n({".text-left":{"text-align":"left"},".text-center":{"text-align":"center"},".text-right":{"text-align":"right"},".text-justify":{"text-align":"justify"},".text-start":{"text-align":"start"},".text-end":{"text-align":"end"}})},textIndent:(0,R.default)("textIndent",[["indent",["text-indent"]]],{supportsNegativeValues:!0}),verticalAlign:({addUtilities:n,matchUtilities:t})=>{n({".align-baseline":{"vertical-align":"baseline"},".align-top":{"vertical-align":"top"},".align-middle":{"vertical-align":"middle"},".align-bottom":{"vertical-align":"bottom"},".align-text-top":{"vertical-align":"text-top"},".align-text-bottom":{"vertical-align":"text-bottom"},".align-sub":{"vertical-align":"sub"},".align-super":{"vertical-align":"super"}}),t({align:r=>({"vertical-align":r})})},fontFamily:({matchUtilities:n,theme:t})=>{n({font:r=>{let[e,i={}]=Array.isArray(r)&&(0,xv.default)(r[1])?r:[r],{fontFeatureSettings:a}=i;return{"font-family":Array.isArray(e)?e.join(", "):e,...a===void 0?{}:{"font-feature-settings":a}}}},{values:t("fontFamily"),type:["lookup","generic-name","family-name"]})},fontSize:({matchUtilities:n,theme:t})=>{n({text:r=>{let[e,i]=Array.isArray(r)?r:[r],{lineHeight:a,letterSpacing:s,fontWeight:l}=(0,xv.default)(i)?i:{lineHeight:i};return{"font-size":e,...a===void 0?{}:{"line-height":a},...s===void 0?{}:{"letter-spacing":s},...l===void 0?{}:{"font-weight":l}}}},{values:t("fontSize"),type:["absolute-size","relative-size","length","percentage"]})},fontWeight:(0,R.default)("fontWeight",[["font",["fontWeight"]]],{type:["lookup","number","any"]}),textTransform:({addUtilities:n})=>{n({".uppercase":{"text-transform":"uppercase"},".lowercase":{"text-transform":"lowercase"},".capitalize":{"text-transform":"capitalize"},".normal-case":{"text-transform":"none"}})},fontStyle:({addUtilities:n})=>{n({".italic":{"font-style":"italic"},".not-italic":{"font-style":"normal"}})},fontVariantNumeric:({addDefaults:n,addUtilities:t})=>{let r="var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)";n("font-variant-numeric",{"--tw-ordinal":" ","--tw-slashed-zero":" ","--tw-numeric-figure":" ","--tw-numeric-spacing":" ","--tw-numeric-fraction":" "}),t({".normal-nums":{"font-variant-numeric":"normal"},".ordinal":{"@defaults font-variant-numeric":{},"--tw-ordinal":"ordinal","font-variant-numeric":r},".slashed-zero":{"@defaults font-variant-numeric":{},"--tw-slashed-zero":"slashed-zero","font-variant-numeric":r},".lining-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"lining-nums","font-variant-numeric":r},".oldstyle-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"oldstyle-nums","font-variant-numeric":r},".proportional-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"proportional-nums","font-variant-numeric":r},".tabular-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"tabular-nums","font-variant-numeric":r},".diagonal-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"diagonal-fractions","font-variant-numeric":r},".stacked-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"stacked-fractions","font-variant-numeric":r}})},lineHeight:(0,R.default)("lineHeight",[["leading",["lineHeight"]]]),letterSpacing:(0,R.default)("letterSpacing",[["tracking",["letterSpacing"]]],{supportsNegativeValues:!0}),textColor:({matchUtilities:n,theme:t,corePlugins:r})=>{n({text:e=>r("textOpacity")?(0,qe.default)({color:e,property:"color",variable:"--tw-text-opacity"}):{color:(0,se.default)(e)}},{values:(0,ke.default)(t("textColor")),type:["color","any"]})},textOpacity:(0,R.default)("textOpacity",[["text-opacity",["--tw-text-opacity"]]]),textDecoration:({addUtilities:n})=>{n({".underline":{"text-decoration-line":"underline"},".overline":{"text-decoration-line":"overline"},".line-through":{"text-decoration-line":"line-through"},".no-underline":{"text-decoration-line":"none"}})},textDecorationColor:({matchUtilities:n,theme:t})=>{n({decoration:r=>({"text-decoration-color":(0,se.default)(r)})},{values:(0,ke.default)(t("textDecorationColor")),type:["color","any"]})},textDecorationStyle:({addUtilities:n})=>{n({".decoration-solid":{"text-decoration-style":"solid"},".decoration-double":{"text-decoration-style":"double"},".decoration-dotted":{"text-decoration-style":"dotted"},".decoration-dashed":{"text-decoration-style":"dashed"},".decoration-wavy":{"text-decoration-style":"wavy"}})},textDecorationThickness:(0,R.default)("textDecorationThickness",[["decoration",["text-decoration-thickness"]]],{type:["length","percentage"]}),textUnderlineOffset:(0,R.default)("textUnderlineOffset",[["underline-offset",["text-underline-offset"]]],{type:["length","percentage","any"]}),fontSmoothing:({addUtilities:n})=>{n({".antialiased":{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})},placeholderColor:({matchUtilities:n,theme:t,corePlugins:r})=>{n({placeholder:e=>r("placeholderOpacity")?{"&::placeholder":(0,qe.default)({color:e,property:"color",variable:"--tw-placeholder-opacity"})}:{"&::placeholder":{color:(0,se.default)(e)}}},{values:(0,ke.default)(t("placeholderColor")),type:["color","any"]})},placeholderOpacity:({matchUtilities:n,theme:t})=>{n({"placeholder-opacity":r=>({["&::placeholder"]:{"--tw-placeholder-opacity":r}})},{values:t("placeholderOpacity")})},caretColor:({matchUtilities:n,theme:t})=>{n({caret:r=>({"caret-color":(0,se.default)(r)})},{values:(0,ke.default)(t("caretColor")),type:["color","any"]})},accentColor:({matchUtilities:n,theme:t})=>{n({accent:r=>({"accent-color":(0,se.default)(r)})},{values:(0,ke.default)(t("accentColor")),type:["color","any"]})},opacity:(0,R.default)("opacity",[["opacity",["opacity"]]]),backgroundBlendMode:({addUtilities:n})=>{n({".bg-blend-normal":{"background-blend-mode":"normal"},".bg-blend-multiply":{"background-blend-mode":"multiply"},".bg-blend-screen":{"background-blend-mode":"screen"},".bg-blend-overlay":{"background-blend-mode":"overlay"},".bg-blend-darken":{"background-blend-mode":"darken"},".bg-blend-lighten":{"background-blend-mode":"lighten"},".bg-blend-color-dodge":{"background-blend-mode":"color-dodge"},".bg-blend-color-burn":{"background-blend-mode":"color-burn"},".bg-blend-hard-light":{"background-blend-mode":"hard-light"},".bg-blend-soft-light":{"background-blend-mode":"soft-light"},".bg-blend-difference":{"background-blend-mode":"difference"},".bg-blend-exclusion":{"background-blend-mode":"exclusion"},".bg-blend-hue":{"background-blend-mode":"hue"},".bg-blend-saturation":{"background-blend-mode":"saturation"},".bg-blend-color":{"background-blend-mode":"color"},".bg-blend-luminosity":{"background-blend-mode":"luminosity"}})},mixBlendMode:({addUtilities:n})=>{n({".mix-blend-normal":{"mix-blend-mode":"normal"},".mix-blend-multiply":{"mix-blend-mode":"multiply"},".mix-blend-screen":{"mix-blend-mode":"screen"},".mix-blend-overlay":{"mix-blend-mode":"overlay"},".mix-blend-darken":{"mix-blend-mode":"darken"},".mix-blend-lighten":{"mix-blend-mode":"lighten"},".mix-blend-color-dodge":{"mix-blend-mode":"color-dodge"},".mix-blend-color-burn":{"mix-blend-mode":"color-burn"},".mix-blend-hard-light":{"mix-blend-mode":"hard-light"},".mix-blend-soft-light":{"mix-blend-mode":"soft-light"},".mix-blend-difference":{"mix-blend-mode":"difference"},".mix-blend-exclusion":{"mix-blend-mode":"exclusion"},".mix-blend-hue":{"mix-blend-mode":"hue"},".mix-blend-saturation":{"mix-blend-mode":"saturation"},".mix-blend-color":{"mix-blend-mode":"color"},".mix-blend-luminosity":{"mix-blend-mode":"luminosity"},".mix-blend-plus-lighter":{"mix-blend-mode":"plus-lighter"}})},boxShadow:(()=>{let n=(0,y_.default)("boxShadow"),t=["var(--tw-ring-offset-shadow, 0 0 #0000)","var(--tw-ring-shadow, 0 0 #0000)","var(--tw-shadow)"].join(", ");return function({matchUtilities:r,addDefaults:e,theme:i}){e(" box-shadow",{"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),r({shadow:a=>{a=n(a);let s=(0,Sv.parseBoxShadowValue)(a);for(let l of s)!l.valid||(l.color="var(--tw-shadow-color)");return{"@defaults box-shadow":{},"--tw-shadow":a==="none"?"0 0 #0000":a,"--tw-shadow-colored":a==="none"?"0 0 #0000":(0,Sv.formatBoxShadowValue)(s),"box-shadow":t}}},{values:i("boxShadow"),type:["shadow"]})}})(),boxShadowColor:({matchUtilities:n,theme:t})=>{n({shadow:r=>({"--tw-shadow-color":(0,se.default)(r),"--tw-shadow":"var(--tw-shadow-colored)"})},{values:(0,ke.default)(t("boxShadowColor")),type:["color","any"]})},outlineStyle:({addUtilities:n})=>{n({".outline-none":{outline:"2px solid transparent","outline-offset":"2px"},".outline":{"outline-style":"solid"},".outline-dashed":{"outline-style":"dashed"},".outline-dotted":{"outline-style":"dotted"},".outline-double":{"outline-style":"double"}})},outlineWidth:(0,R.default)("outlineWidth",[["outline",["outline-width"]]],{type:["length","number","percentage"]}),outlineOffset:(0,R.default)("outlineOffset",[["outline-offset",["outline-offset"]]],{type:["length","number","percentage","any"],supportsNegativeValues:!0}),outlineColor:({matchUtilities:n,theme:t})=>{n({outline:r=>({"outline-color":(0,se.default)(r)})},{values:(0,ke.default)(t("outlineColor")),type:["color","any"]})},ringWidth:({matchUtilities:n,addDefaults:t,addUtilities:r,theme:e,config:i})=>{let a=(()=>{var s,l;if((0,ju.flagEnabled)(i(),"respectDefaultRingColorOpacity"))return e("ringColor.DEFAULT");let c=e("ringOpacity.DEFAULT","0.5");return!((s=e("ringColor"))===null||s===void 0)&&s.DEFAULT?(0,qe.withAlphaValue)((l=e("ringColor"))===null||l===void 0?void 0:l.DEFAULT,c,`rgb(147 197 253 / ${c})`):`rgb(147 197 253 / ${c})`})();t("ring-width",{"--tw-ring-inset":" ","--tw-ring-offset-width":e("ringOffsetWidth.DEFAULT","0px"),"--tw-ring-offset-color":e("ringOffsetColor.DEFAULT","#fff"),"--tw-ring-color":a,"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),n({ring:s=>({"@defaults ring-width":{},"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":["var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow, 0 0 #0000)"].join(", ")})},{values:e("ringWidth"),type:"length"}),r({".ring-inset":{"@defaults ring-width":{},"--tw-ring-inset":"inset"}})},ringColor:({matchUtilities:n,theme:t,corePlugins:r})=>{n({ring:e=>r("ringOpacity")?(0,qe.default)({color:e,property:"--tw-ring-color",variable:"--tw-ring-opacity"}):{"--tw-ring-color":(0,se.default)(e)}},{values:Object.fromEntries(Object.entries((0,ke.default)(t("ringColor"))).filter(([e])=>e!=="DEFAULT")),type:["color","any"]})},ringOpacity:n=>{let{config:t}=n;return(0,R.default)("ringOpacity",[["ring-opacity",["--tw-ring-opacity"]]],{filterDefault:!(0,ju.flagEnabled)(t(),"respectDefaultRingColorOpacity")})(n)},ringOffsetWidth:(0,R.default)("ringOffsetWidth",[["ring-offset",["--tw-ring-offset-width"]]],{type:"length"}),ringOffsetColor:({matchUtilities:n,theme:t})=>{n({"ring-offset":r=>({"--tw-ring-offset-color":(0,se.default)(r)})},{values:(0,ke.default)(t("ringOffsetColor")),type:["color","any"]})},blur:({matchUtilities:n,theme:t})=>{n({blur:r=>({"--tw-blur":`blur(${r})`,"@defaults filter":{},filter:Et})},{values:t("blur")})},brightness:({matchUtilities:n,theme:t})=>{n({brightness:r=>({"--tw-brightness":`brightness(${r})`,"@defaults filter":{},filter:Et})},{values:t("brightness")})},contrast:({matchUtilities:n,theme:t})=>{n({contrast:r=>({"--tw-contrast":`contrast(${r})`,"@defaults filter":{},filter:Et})},{values:t("contrast")})},dropShadow:({matchUtilities:n,theme:t})=>{n({"drop-shadow":r=>({"--tw-drop-shadow":Array.isArray(r)?r.map(e=>`drop-shadow(${e})`).join(" "):`drop-shadow(${r})`,"@defaults filter":{},filter:Et})},{values:t("dropShadow")})},grayscale:({matchUtilities:n,theme:t})=>{n({grayscale:r=>({"--tw-grayscale":`grayscale(${r})`,"@defaults filter":{},filter:Et})},{values:t("grayscale")})},hueRotate:({matchUtilities:n,theme:t})=>{n({"hue-rotate":r=>({"--tw-hue-rotate":`hue-rotate(${r})`,"@defaults filter":{},filter:Et})},{values:t("hueRotate"),supportsNegativeValues:!0})},invert:({matchUtilities:n,theme:t})=>{n({invert:r=>({"--tw-invert":`invert(${r})`,"@defaults filter":{},filter:Et})},{values:t("invert")})},saturate:({matchUtilities:n,theme:t})=>{n({saturate:r=>({"--tw-saturate":`saturate(${r})`,"@defaults filter":{},filter:Et})},{values:t("saturate")})},sepia:({matchUtilities:n,theme:t})=>{n({sepia:r=>({"--tw-sepia":`sepia(${r})`,"@defaults filter":{},filter:Et})},{values:t("sepia")})},filter:({addDefaults:n,addUtilities:t})=>{n("filter",{"--tw-blur":" ","--tw-brightness":" ","--tw-contrast":" ","--tw-grayscale":" ","--tw-hue-rotate":" ","--tw-invert":" ","--tw-saturate":" ","--tw-sepia":" ","--tw-drop-shadow":" "}),t({".filter":{"@defaults filter":{},filter:Et},".filter-none":{filter:"none"}})},backdropBlur:({matchUtilities:n,theme:t})=>{n({"backdrop-blur":r=>({"--tw-backdrop-blur":`blur(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropBlur")})},backdropBrightness:({matchUtilities:n,theme:t})=>{n({"backdrop-brightness":r=>({"--tw-backdrop-brightness":`brightness(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropBrightness")})},backdropContrast:({matchUtilities:n,theme:t})=>{n({"backdrop-contrast":r=>({"--tw-backdrop-contrast":`contrast(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropContrast")})},backdropGrayscale:({matchUtilities:n,theme:t})=>{n({"backdrop-grayscale":r=>({"--tw-backdrop-grayscale":`grayscale(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropGrayscale")})},backdropHueRotate:({matchUtilities:n,theme:t})=>{n({"backdrop-hue-rotate":r=>({"--tw-backdrop-hue-rotate":`hue-rotate(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropHueRotate"),supportsNegativeValues:!0})},backdropInvert:({matchUtilities:n,theme:t})=>{n({"backdrop-invert":r=>({"--tw-backdrop-invert":`invert(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropInvert")})},backdropOpacity:({matchUtilities:n,theme:t})=>{n({"backdrop-opacity":r=>({"--tw-backdrop-opacity":`opacity(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropOpacity")})},backdropSaturate:({matchUtilities:n,theme:t})=>{n({"backdrop-saturate":r=>({"--tw-backdrop-saturate":`saturate(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropSaturate")})},backdropSepia:({matchUtilities:n,theme:t})=>{n({"backdrop-sepia":r=>({"--tw-backdrop-sepia":`sepia(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Dt})},{values:t("backdropSepia")})},backdropFilter:({addDefaults:n,addUtilities:t})=>{n("backdrop-filter",{"--tw-backdrop-blur":" ","--tw-backdrop-brightness":" ","--tw-backdrop-contrast":" ","--tw-backdrop-grayscale":" ","--tw-backdrop-hue-rotate":" ","--tw-backdrop-invert":" ","--tw-backdrop-opacity":" ","--tw-backdrop-saturate":" ","--tw-backdrop-sepia":" "}),t({".backdrop-filter":{"@defaults backdrop-filter":{},"backdrop-filter":Dt},".backdrop-filter-none":{"backdrop-filter":"none"}})},transitionProperty:({matchUtilities:n,theme:t})=>{let r=t("transitionTimingFunction.DEFAULT"),e=t("transitionDuration.DEFAULT");n({transition:i=>({"transition-property":i,...i==="none"?{}:{"transition-timing-function":r,"transition-duration":e}})},{values:t("transitionProperty")})},transitionDelay:(0,R.default)("transitionDelay",[["delay",["transitionDelay"]]]),transitionDuration:(0,R.default)("transitionDuration",[["duration",["transitionDuration"]]],{filterDefault:!0}),transitionTimingFunction:(0,R.default)("transitionTimingFunction",[["ease",["transitionTimingFunction"]]],{filterDefault:!0}),willChange:(0,R.default)("willChange",[["will-change",["will-change"]]]),content:(0,R.default)("content",[["content",["--tw-content",["content","var(--tw-content)"]]]])}});var Ja=D(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});function w_(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}w_(zu,{env:()=>E_,contextMap:()=>D_,configContextMap:()=>C_,contextSourcesMap:()=>A_,sourceHashMap:()=>__,NOT_ON_DEMAND:()=>T_,NONE:()=>k_,resolveDebug:()=>Cv});var E_={NODE_ENV:process.env.NODE_ENV,DEBUG:Cv(process.env.DEBUG)},D_=new Map,C_=new Map,A_=new Map,__=new Map,T_=new String("*"),k_=Symbol("__NONE__");function Cv(n){if(n===void 0)return!1;if(n==="true"||n==="1")return!0;if(n==="false"||n==="0")return!1;if(n==="*")return!0;let t=n.split(",").map(r=>r.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}});var Wu=D(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Object.defineProperty(Vu,"toPath",{enumerable:!0,get:()=>F_});function F_(n){if(Array.isArray(n))return n;let t=n.split("[").length-1,r=n.split("]").length-1;if(t!==r)throw new Error(`Path is invalid. Has unbalanced brackets: ${n}`);return n.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var Xu=D(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Object.defineProperty(Ju,"default",{enumerable:!0,get:()=>P_});var _v=new Map([["{","}"],["[","]"],["(",")"]]),Av=new Map(Array.from(_v.entries()).map(([n,t])=>[t,n])),O_=new Set(['"',"'","`"]);function P_(n){let t=[],r=!1;for(let e=0;e<n.length;e++){let i=n[e];if(i===":"&&!r&&t.length===0)return!1;if(O_.has(i)&&n[e-1]!=="\\"&&(r=!r),!r&&n[e-1]!=="\\"){if(_v.has(i))t.push(i);else if(Av.has(i)){let a=Av.get(i);if(t.length<=0||t.pop()!==a)return!1}}}return!(t.length>0)}});var Yu=D(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});function M_(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}M_(Ku,{selectorFunctions:()=>Pv,formatVariantSelector:()=>L_,finalizeSelector:()=>R_});var fi=$a(Vt()),I_=$a(Sa()),Tv=$a(si()),N_=$a(La());function $a(n){return n&&n.__esModule?n:{default:n}}var $u,Xa=":merge",Ov="&",Pv=new Set([Xa]);function L_(n,...t){for(let r of t){let e=Fv(r,Xa);if(e!==null&&Fv(n,Xa,e)!==null){let a=`${Xa}(${e})`,s=r.indexOf(a),l=r.slice(s+a.length).split(" ")[0];n=n.replace(a,a+l);continue}n=r.replace(Ov,n)}return n}function kv(n){let t=[];for(;n.prev()&&n.prev().type!=="combinator";)n=n.prev();for(;n&&n.type!=="combinator";)t.push(n),n=n.next();return t}function B_(n){return n.sort((t,r)=>t.type==="tag"&&r.type==="class"?-1:t.type==="class"&&r.type==="tag"?1:t.type==="class"&&r.type==="pseudo"&&r.value.startsWith("::")?-1:t.type==="pseudo"&&t.value.startsWith("::")&&r.type==="class"?1:n.index(t)-n.index(r)),n}function q_(n,t){let r=!1;n.walk(e=>{if(e.type==="class"&&e.value===t)return r=!0,!1}),r||n.remove()}var Gu;function R_(n,{selector:t,candidate:r,context:e,isArbitraryVariant:i,base:a=r.split(new RegExp(`\\${(Gu=e==null||($u=e.tailwindConfig)===null||$u===void 0?void 0:$u.separator)!==null&&Gu!==void 0?Gu:":"}(?![^[]*\\])`)).pop()}){var s;let l=(0,fi.default)().astSync(t);(e==null||(s=e.tailwindConfig)===null||s===void 0?void 0:s.prefix)&&!i&&(n=(0,N_.default)(e.tailwindConfig.prefix,n)),n=n.replace(Ov,`.${(0,Tv.default)(r)}`);let c=(0,fi.default)().astSync(n);l.each(m=>q_(m,a)),l.walkClasses(m=>{m.raws&&m.value.includes(a)&&(m.raws.value=(0,Tv.default)((0,I_.default)(m.raws.value)))});let p=fi.default.comment({value:"/*__simple__*/"}),f=fi.default.comment({value:"/*__simple__*/"});l.walkClasses(m=>{if(m.value!==a)return;let o=m.parent,u=c.nodes[0].nodes;if(o.nodes.length===1){m.replaceWith(...u);return}let d=kv(m);o.insertBefore(d[0],p),o.insertAfter(d[d.length-1],f);for(let g of u)o.insertBefore(d[0],g);m.remove(),d=kv(p);let h=o.index(p);o.nodes.splice(h,d.length,...B_(fi.default.selector({nodes:d})).nodes),p.remove(),f.remove()});function v(m){let o=[];for(let u of m.nodes)Hu(u)&&(o.push(u),m.removeChild(u)),u!=null&&u.nodes&&o.push(...v(u));return o}return l.each(m=>{m.walkPseudos(u=>{Pv.has(u.value)&&u.replaceWith(u.nodes)});let o=v(m);o.length>0&&m.nodes.push(o.sort(z_))}),l.toString()}var j_=[":before",":after",":first-line",":first-letter"],U_=["::file-selector-button"];function z_(n,t){return n.type!=="pseudo"&&t.type!=="pseudo"||n.type==="combinator"^t.type==="combinator"?0:n.type==="pseudo"^t.type==="pseudo"?(n.type==="pseudo")-(t.type==="pseudo"):Hu(n)-Hu(t)}function Hu(n){return n.type!=="pseudo"||U_.includes(n.value)?!1:n.value.startsWith("::")||j_.includes(n.value)}function Fv(n,t,r){let e=n.indexOf(r?`${t}(${r})`:t);if(e===-1)return null;e+=t.length+1;let i="",a=0;for(let s of n.slice(e))if(s!=="("&&s!==")")i+=s;else if(s==="(")i+=s,a++;else if(s===")"){if(--a<0)break;i+=s}return i}});var ic=D(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});function V_(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}V_(nc,{getClassNameFromSelector:()=>Uv,resolveMatches:()=>rc,generateRules:()=>cT});var Ur=dr(St()),Lv=dr(Vt()),W_=dr(su()),J_=dr(Br()),X_=dr(La()),Qu=Va(),$_=dr(fr()),Zu=K_(Ja()),Mv=Yu(),G_=fu(),Bv=li(),Iv=ac(),H_=dr(Xu()),qv=oi(),Rv=qr();function dr(n){return n&&n.__esModule?n:{default:n}}function jv(n){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(jv=function(e){return e?r:t})(n)}function K_(n,t){if(!t&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var r=jv(t);if(r&&r.has(n))return r.get(n);var e={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in n)if(a!=="default"&&Object.prototype.hasOwnProperty.call(n,a)){var s=i?Object.getOwnPropertyDescriptor(n,a):null;s&&(s.get||s.set)?Object.defineProperty(e,a,s):e[a]=n[a]}return e.default=n,r&&r.set(n,e),e}var Y_=(0,Lv.default)(n=>n.first.filter(({type:t})=>t==="class").pop().value);function Uv(n){return Y_.transformSync(n)}function*Q_(n){let t=1/0;for(;t>=0;){let r,e=!1;if(t===1/0&&n.endsWith("]")){let s=n.indexOf("[");n[s-1]==="-"?r=s-1:n[s-1]==="/"?(r=s-1,e=!0):r=-1}else t===1/0&&n.includes("/")?(r=n.lastIndexOf("/"),e=!0):r=n.lastIndexOf("-",t);if(r<0)break;let i=n.slice(0,r),a=n.slice(e?r:r+1);t=r-1,!(i===""||a==="/")&&(yield[i,a])}}function Z_(n,t){if(n.length===0||t.tailwindConfig.prefix==="")return n;for(let r of n){let[e]=r;if(e.options.respectPrefix){let i=Ur.default.root({nodes:[r[1].clone()]}),a=r[1].raws.tailwind.classCandidate;i.walkRules(s=>{let l=a.startsWith("-");s.selector=(0,X_.default)(t.tailwindConfig.prefix,s.selector,l)}),r[1]=i.nodes[0]}}return n}function eT(n,t){if(n.length===0)return n;let r=[];for(let[e,i]of n){let a=Ur.default.root({nodes:[i.clone()]});a.walkRules(s=>{s.selector=(0,Qu.updateAllClasses)((0,Qu.filterSelectorsForClass)(s.selector,t),l=>l===t?`!${l}`:l),s.walkDecls(l=>l.important=!0)}),r.push([{...e,important:!0},a.nodes[0]])}return r}function tT(n,t,r){if(t.length===0)return t;let e={modifier:null,value:Zu.NONE};{let a=/(.*)\/(.*)$/g.exec(n);if(a&&(n=a[1],e.modifier=a[2],!(0,Rv.flagEnabled)(r.tailwindConfig,"generalizedModifiers")))return[]}if(n.endsWith("]")&&!n.startsWith("[")){let a=/(.)(-?)\[(.*)\]/g.exec(n);if(a){let[,s,l,c]=a;if(s==="@"&&l==="-")return[];if(s!=="@"&&l==="")return[];n=n.replace(`${l}[${c}]`,""),e.value=c}}if(tc(n)&&!r.variantMap.has(n)){let a=(0,Bv.normalize)(n.slice(1,-1));if(!(0,Iv.isValidVariantFormatString)(a))return[];let s=(0,Iv.parseVariant)(a),l=r.offsets.recordVariant(n);r.variantMap.set(n,[[l,s]])}if(r.variantMap.has(n)){let a=r.variantMap.get(n).slice(),s=[];for(let[l,c]of t){if(l.layer==="user")continue;let p=Ur.default.root({nodes:[c.clone()]});for(let[f,v,m]of a){let d=function(){o.raws.neededBackup||(o.raws.neededBackup=!0,o.walkRules(b=>b.raws.originalSelector=b.selector))},h=function(b){return d(),o.each(x=>{x.type==="rule"&&(x.selectors=x.selectors.map(w=>b({get className(){return Uv(w)},selector:w})))}),o},o=(m!=null?m:p).clone(),u=[],g=v({get container(){return d(),o},separator:r.tailwindConfig.separator,modifySelectors:h,wrap(b){let x=o.nodes;o.removeAll(),b.append(x),o.append(b)},format(b){u.push(b)},args:e});if(Array.isArray(g)){for(let[b,x]of g.entries())a.push([r.offsets.applyParallelOffset(f,b),x,o.clone()]);continue}if(typeof g=="string"&&u.push(g),g===null)continue;o.raws.neededBackup&&(delete o.raws.neededBackup,o.walkRules(b=>{let x=b.raws.originalSelector;if(!x||(delete b.raws.originalSelector,x===b.selector))return;let w=b.selector,E=(0,Lv.default)(C=>{C.walkClasses(T=>{T.value=`${n}${r.tailwindConfig.separator}${T.value}`})}).processSync(x);u.push(w.replace(E,"&")),b.selector=x})),o.nodes[0].raws.tailwind={...o.nodes[0].raws.tailwind,parentLayer:l.layer};var i;let y=[{...l,sort:r.offsets.applyVariantOffset(l.sort,f,Object.assign(e,r.variantOptions.get(n))),collectedFormats:((i=l.collectedFormats)!==null&&i!==void 0?i:[]).concat(u),isArbitraryVariant:tc(n)},o.nodes[0]];s.push(y)}}return s}return[]}function ec(n,t,r={}){return!(0,J_.default)(n)&&!Array.isArray(n)?[[n],r]:Array.isArray(n)?ec(n[0],t,n[1]):(t.has(n)||t.set(n,(0,W_.default)(n)),[t.get(n),r])}var rT=/^[a-z_-]/;function nT(n){return rT.test(n)}function iT(n){if(!n.includes("://"))return!1;try{let t=new URL(n);return t.scheme!==""&&t.host!==""}catch{return!1}}function Nv(n){let t=!0;return n.walkDecls(r=>{if(!zv(r.name,r.value))return t=!1,!1}),t}function zv(n,t){if(iT(`${n}:${t}`))return!1;try{return Ur.default.parse(`a{${n}:${t}}`).toResult(),!0}catch{return!1}}function aT(n,t){var r;let[,e,i]=(r=n.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/))!==null&&r!==void 0?r:[];if(i===void 0||!nT(e)||!(0,H_.default)(i))return null;let a=(0,Bv.normalize)(i);return zv(e,a)?[[{sort:t.offsets.arbitraryProperty(),layer:"utilities"},()=>({[(0,G_.asClass)(n)]:{[e]:a}})]]:null}function*sT(n,t){t.candidateRuleMap.has(n)&&(yield[t.candidateRuleMap.get(n),"DEFAULT"]),yield*function*(l){l!==null&&(yield[l,"DEFAULT"])}(aT(n,t));let r=n,e=!1,i=t.tailwindConfig.prefix,a=i.length,s=r.startsWith(i)||r.startsWith(`-${i}`);r[a]==="-"&&s&&(e=!0,r=i+r.slice(a+1)),e&&t.candidateRuleMap.has(r)&&(yield[t.candidateRuleMap.get(r),"-DEFAULT"]);for(let[l,c]of Q_(r))t.candidateRuleMap.has(l)&&(yield[t.candidateRuleMap.get(l),e?`-${c}`:c])}function oT(n,t){return n===Zu.NOT_ON_DEMAND?[Zu.NOT_ON_DEMAND]:(0,qv.splitAtTopLevelOnly)(n,t)}function*lT(n,t){for(let i of n){var r,e;i[1].raws.tailwind={...i[1].raws.tailwind,classCandidate:t,preserveSource:(e=(r=i[0].options)===null||r===void 0?void 0:r.preserveSource)!==null&&e!==void 0?e:!1},yield i}}function*rc(n,t,r=n){let e=t.tailwindConfig.separator,[i,...a]=oT(n,e).reverse(),s=!1;if(i.startsWith("!")&&(s=!0,i=i.slice(1)),(0,Rv.flagEnabled)(t.tailwindConfig,"variantGrouping")&&i.startsWith("(")&&i.endsWith(")")){let m=a.slice().reverse().join(e);for(let o of(0,qv.splitAtTopLevelOnly)(i.slice(1,-1),","))yield*rc(m+e+o,t,r)}for(let m of sT(i,t)){let o=[],u=new Map,[d,h]=m,g=d.length===1;for(let[y,b]of d){let x=[];if(typeof b=="function")for(let w of[].concat(b(h,{isOnlyPlugin:g}))){let[E,C]=ec(w,t.postCssNodeCache);for(let T of E)x.push([{...y,options:{...y.options,...C}},T])}else if(h==="DEFAULT"||h==="-DEFAULT"){let w=b,[E,C]=ec(w,t.postCssNodeCache);for(let T of E)x.push([{...y,options:{...y.options,...C}},T])}if(x.length>0){var l,c,p;let w=Array.from((0,Qu.getMatchingTypes)((c=(l=y.options)===null||l===void 0?void 0:l.types)!==null&&c!==void 0?c:[],h,(p=y.options)!==null&&p!==void 0?p:{},t.tailwindConfig)).map(([E,C])=>C);w.length>0&&u.set(x,w),o.push(x)}}if(tc(h)){if(o.length>1){let x=function(E){return E.length===1?E[0]:E.find(C=>{let T=u.get(C);return C.some(([{options:M},U])=>Nv(U)?M.types.some(({type:W,preferOnConflict:G})=>T.includes(W)&&G):!1)})},[y,b]=o.reduce((E,C)=>(C.some(([{options:M}])=>M.types.some(({type:U})=>U==="any"))?E[0].push(C):E[1].push(C),E),[[],[]]);var f;let w=(f=x(b))!==null&&f!==void 0?f:x(y);if(w)o=[w];else{var v;let E=o.map(T=>new Set([...(v=u.get(T))!==null&&v!==void 0?v:[]]));for(let T of E)for(let M of T){let U=!1;for(let W of E)T!==W&&W.has(M)&&(W.delete(M),U=!0);U&&T.delete(M)}let C=[];for(let[T,M]of E.entries())for(let U of M){let W=o[T].map(([,G])=>G).flat().map(G=>G.toString().split(`
|
|
`).slice(1,-1).map(ge=>ge.trim()).map(ge=>` ${ge}`).join(`
|
|
`)).join(`
|
|
|
|
`);C.push(` Use \`${n.replace("[",`[${U}:`)}\` for \`${W.trim()}\``);break}$_.default.warn([`The class \`${n}\` is ambiguous and matches multiple utilities.`,...C,`If this is content and not a class, replace it with \`${n.replace("[","[").replace("]","]")}\` to silence this warning.`]);continue}}o=o.map(y=>y.filter(b=>Nv(b[1])))}o=o.flat(),o=Array.from(lT(o,i)),o=Z_(o,t),s&&(o=eT(o,i));for(let y of a)o=tT(y,o,t);for(let y of o){if(y[1].raws.tailwind={...y[1].raws.tailwind,candidate:n},y[0].collectedFormats){let b=(0,Mv.formatVariantSelector)("&",...y[0].collectedFormats),x=Ur.default.root({nodes:[y[1].clone()]});x.walkRules(w=>{var E;if(!Ga(w)){var C;w.selector=(0,Mv.finalizeSelector)(b,{selector:w.selector,candidate:r,base:n.split(new RegExp(`\\${(C=t==null||(E=t.tailwindConfig)===null||E===void 0?void 0:E.separator)!==null&&C!==void 0?C:":"}(?![^[]*\\])`)).pop(),isArbitraryVariant:y[0].isArbitraryVariant,context:t})}}),y[1]=x.nodes[0]}yield y}}}function Ga(n){return n.parent&&n.parent.type==="atrule"&&n.parent.name==="keyframes"}function uT(n){if(n===!0)return t=>{Ga(t)||t.walkDecls(r=>{r.parent.type==="rule"&&!Ga(r.parent)&&(r.important=!0)})};if(typeof n=="string")return t=>{Ga(t)||(t.selectors=t.selectors.map(r=>`${n} ${r}`))}}function cT(n,t){let r=[],e=uT(t.tailwindConfig.important);for(let a of n){if(t.notClassCache.has(a))continue;if(t.candidateRuleCache.has(a)){r=r.concat(Array.from(t.candidateRuleCache.get(a)));continue}let s=Array.from(rc(a,t));if(s.length===0){t.notClassCache.add(a);continue}t.classCache.set(a,s);var i;let l=(i=t.candidateRuleCache.get(a))!==null&&i!==void 0?i:new Set;t.candidateRuleCache.set(a,l);for(let c of s){let[{sort:p,options:f},v]=c;if(f.respectImportant&&e){let o=Ur.default.root({nodes:[v.clone()]});o.walkRules(e),v=o.nodes[0]}let m=[p,v];l.add(m),t.ruleCache.add(m),r.push(m)}}return r}function tc(n){return n.startsWith("[")&&n.endsWith("]")}});var Jv=D(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});Object.defineProperty(sc,"hasContentChanged",{enumerable:!0,get:()=>mT});var fT=dT(require("crypto")),Vv=pT(Ja());function dT(n){return n&&n.__esModule?n:{default:n}}function Wv(n){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Wv=function(e){return e?r:t})(n)}function pT(n,t){if(!t&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var r=Wv(t);if(r&&r.has(n))return r.get(n);var e={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in n)if(a!=="default"&&Object.prototype.hasOwnProperty.call(n,a)){var s=i?Object.getOwnPropertyDescriptor(n,a):null;s&&(s.get||s.set)?Object.defineProperty(e,a,s):e[a]=n[a]}return e.default=n,r&&r.set(n,e),e}function hT(n){try{return fT.default.createHash("md5").update(n,"utf-8").digest("binary")}catch{return""}}function mT(n,t){let r=t.toString();if(!r.includes("@tailwind"))return!1;let e=Vv.sourceHashMap.get(n),i=hT(r),a=e!==i;return Vv.sourceHashMap.set(n,i),a}});var Xv=D(oc=>{"use strict";Object.defineProperty(oc,"__esModule",{value:!0});Object.defineProperty(oc,"default",{enumerable:!0,get:()=>vT});function vT(n){return(n>0n)-(n<0n)}});var $v=D(uc=>{"use strict";Object.defineProperty(uc,"__esModule",{value:!0});Object.defineProperty(uc,"Offsets",{enumerable:!0,get:()=>lc});var gT=yT(Xv());function yT(n){return n&&n.__esModule?n:{default:n}}var lc=class{constructor(){this.offsets={defaults:0n,base:0n,components:0n,utilities:0n,variants:0n,user:0n},this.layerPositions={defaults:0n,base:1n,components:2n,utilities:3n,user:4n,variants:5n},this.reservedVariantBits=0n,this.variantOffsets=new Map}create(t){return{layer:t,parentLayer:t,arbitrary:0n,variants:0n,parallelIndex:0n,index:this.offsets[t]++,options:[]}}arbitraryProperty(){return{...this.create("utilities"),arbitrary:1n}}forVariant(t,r=0){let e=this.variantOffsets.get(t);if(e===void 0)throw new Error(`Cannot find offset for unknown variant ${t}`);return{...this.create("variants"),variants:e<<BigInt(r)}}applyVariantOffset(t,r,e){return{...t,layer:"variants",parentLayer:t.layer==="variants"?t.parentLayer:t.layer,variants:t.variants|r.variants,options:e.sort?[].concat(e,t.options):t.options,parallelIndex:bT([t.parallelIndex,r.parallelIndex])}}applyParallelOffset(t,r){return{...t,parallelIndex:BigInt(r)}}recordVariants(t,r){for(let e of t)this.recordVariant(e,r(e))}recordVariant(t,r=1){return this.variantOffsets.set(t,1n<<this.reservedVariantBits),this.reservedVariantBits+=BigInt(r),{...this.create("variants"),variants:1n<<this.reservedVariantBits}}compare(t,r){if(t.layer!==r.layer)return this.layerPositions[t.layer]-this.layerPositions[r.layer];for(let e of t.options)for(let i of r.options){if(e.id!==i.id||!e.sort||!i.sort)continue;let a=e.sort({value:e.value,modifier:e.modifier},{value:i.value,modifier:i.modifier});if(a!==0)return a}return t.variants!==r.variants?t.variants-r.variants:t.parallelIndex!==r.parallelIndex?t.parallelIndex-r.parallelIndex:t.arbitrary!==r.arbitrary?t.arbitrary-r.arbitrary:t.index-r.index}sort(t){return t.sort(([r],[e])=>(0,gT.default)(this.compare(r,e)))}};function bT(n){let t=null;for(let r of n)t=t!=null?t:r,t=t>r?t:r;return t}});var ac=D(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});function xT(n,t){for(var r in t)Object.defineProperty(n,r,{enumerable:!0,get:t[r]})}xT(yc,{isValidVariantFormatString:()=>vc,parseVariant:()=>Ka,getFileModifiedMap:()=>gc,createContext:()=>og,getContext:()=>UT});var ST=$e(require("fs")),wT=$e(require("url")),hi=$e(St()),ET=$e(eh()),eg=$e(Vt()),DT=$e(Ma()),CT=$e(su()),AT=$e(La()),_T=$e(Br()),TT=$e(si()),pi=rg(fu()),Gv=Va(),Re=Dv(),Ct=rg(Ja()),kT=Wu(),Vr=$e(fr()),FT=$e(za()),Hv=$e(Xu()),Kv=ic(),OT=Jv(),PT=$v(),cc=qr(),fc=Yu();function $e(n){return n&&n.__esModule?n:{default:n}}function tg(n){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(tg=function(e){return e?r:t})(n)}function rg(n,t){if(!t&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var r=tg(t);if(r&&r.has(n))return r.get(n);var e={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in n)if(a!=="default"&&Object.prototype.hasOwnProperty.call(n,a)){var s=i?Object.getOwnPropertyDescriptor(n,a):null;s&&(s.get||s.set)?Object.defineProperty(e,a,s):e[a]=n[a]}return e.default=n,r&&r.set(n,e),e}var dc={AddVariant:Symbol.for("ADD_VARIANT"),MatchVariant:Symbol.for("MATCH_VARIANT")},mc={Base:1<<0,Dynamic:1<<1};function pc(n,t){let r=n.tailwindConfig.prefix;return typeof r=="function"?r(t):r+t}function Yv({type:n="any",...t}){let r=[].concat(n);return{...t,types:r.map(e=>Array.isArray(e)?{type:e[0],...e[1]}:{type:e,preferOnConflict:!1})}}function ng(n){if(n.includes("{")){if(!MT(n))throw new Error("Your { and } are unbalanced.");return n.split(/{(.*)}/gim).flatMap(t=>ng(t)).filter(Boolean)}return[n.trim()]}function MT(n){let t=0;for(let r of n)if(r==="{")t++;else if(r==="}"&&--t<0)return!1;return t===0}function IT(n,t,{before:r=[]}={}){if(r=[].concat(r),r.length<=0){n.push(t);return}let e=n.length-1;for(let i of r){let a=n.indexOf(i);a!==-1&&(e=Math.min(e,a))}n.splice(e,0,t)}function ig(n){return Array.isArray(n)?n.flatMap(t=>!Array.isArray(t)&&!(0,_T.default)(t)?t:(0,CT.default)(t)):ig([n])}function Qv(n,t){return(0,eg.default)(e=>{let i=[];return t&&t(e),e.walkClasses(a=>{i.push(a.value)}),i}).transformSync(n)}function NT(n,t={containsNonOnDemandable:!1},r=0){let e=[];if(n.type==="rule"){let i=function(a){a.walkPseudos(s=>{s.value===":not"&&s.remove()})};for(let a of n.selectors){let s=Qv(a,i);s.length===0&&(t.containsNonOnDemandable=!0);for(let l of s)e.push(l)}}else n.type==="atrule"&&n.walkRules(i=>{for(let a of i.selectors.flatMap(s=>Qv(s)))e.push(a)});return r===0?[t.containsNonOnDemandable||e.length===0,e]:e}function Ha(n){return ig(n).flatMap(t=>{let r=new Map,[e,i]=NT(t);return e&&i.unshift(Ct.NOT_ON_DEMAND),i.map(a=>(r.has(t)||r.set(t,t),[a,r.get(t)]))})}function vc(n){return n.startsWith("@")||n.includes("&")}function Ka(n){n=n.replace(/\n+/g,"").replace(/\s{1,}/g," ").trim();let t=ng(n).map(r=>{if(!r.startsWith("@"))return({format:a})=>a(r);let[,e,i]=/@(.*?)( .+|[({].*)/g.exec(r);return({wrap:a})=>a(hi.default.atRule({name:e,params:i.trim()}))}).reverse();return r=>{for(let e of t)e(r)}}function LT(n,t,{variantList:r,variantMap:e,offsets:i,classList:a}){function s(o,u){return o?(0,ET.default)(n,o,u):n}function l(o){return(0,AT.default)(n.prefix,o)}function c(o,u){return o===Ct.NOT_ON_DEMAND?Ct.NOT_ON_DEMAND:u.respectPrefix?t.tailwindConfig.prefix+o:o}function p(o,u,d={}){let[h,...g]=(0,kT.toPath)(o),y=s(["theme",h,...g],u);return(0,DT.default)(h)(y,d)}let f=Object.assign((o,u=void 0)=>p(o,u),{withAlpha:(o,u)=>p(o,void 0,{opacityValue:u})}),v=0,m={postcss:hi.default,prefix:l,e:TT.default,config:s,theme:f,corePlugins:o=>Array.isArray(n.corePlugins)?n.corePlugins.includes(o):s(["corePlugins",o],!0),variants:()=>[],addBase(o){for(let[u,d]of Ha(o)){let h=c(u,{}),g=i.create("base");t.candidateRuleMap.has(h)||t.candidateRuleMap.set(h,[]),t.candidateRuleMap.get(h).push([{sort:g,layer:"base"},d])}},addDefaults(o,u){let d={[`@defaults ${o}`]:u};for(let[h,g]of Ha(d)){let y=c(h,{});t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push([{sort:i.create("defaults"),layer:"defaults"},g])}},addComponents(o,u){u=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!1},Array.isArray(u)?{}:u);for(let[h,g]of Ha(o)){let y=c(h,u);a.add(y),t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push([{sort:i.create("components"),layer:"components",options:u},g])}},addUtilities(o,u){u=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!0},Array.isArray(u)?{}:u);for(let[h,g]of Ha(o)){let y=c(h,u);a.add(y),t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push([{sort:i.create("utilities"),layer:"utilities",options:u},g])}},matchUtilities:function(o,u){u=Yv({...{respectPrefix:!0,respectImportant:!0,modifiers:!1},...u});let h=i.create("utilities");for(let g in o){let x=function(E,{isOnlyPlugin:C}){let[T,M,U]=(0,Gv.coerceValue)(u.types,E,u,n);if(T===void 0)return[];if(!u.types.some(({type:de})=>de===M))if(C)Vr.default.warn([`Unnecessary typehint \`${M}\` in \`${g}-${E}\`.`,`You can safely update it to \`${g}-${E.replace(M+":","")}\`.`]);else return[];if(!(0,Hv.default)(T))return[];let W={get modifier(){return u.modifiers||Vr.default.warn(`modifier-used-without-options-for-${g}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),U}},G=(0,cc.flagEnabled)(n,"generalizedModifiers");return[].concat(G?b(T,W):b(T)).filter(Boolean).map(de=>({[(0,pi.default)(g,E)]:de}))},y=c(g,u),b=o[g];a.add([y,u]);let w=[{sort:h,layer:"utilities",options:u},x];t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push(w)}},matchComponents:function(o,u){u=Yv({...{respectPrefix:!0,respectImportant:!1,modifiers:!1},...u});let h=i.create("components");for(let g in o){let x=function(E,{isOnlyPlugin:C}){let[T,M,U]=(0,Gv.coerceValue)(u.types,E,u,n);if(T===void 0)return[];if(!u.types.some(({type:de})=>de===M))if(C)Vr.default.warn([`Unnecessary typehint \`${M}\` in \`${g}-${E}\`.`,`You can safely update it to \`${g}-${E.replace(M+":","")}\`.`]);else return[];if(!(0,Hv.default)(T))return[];let W={get modifier(){return u.modifiers||Vr.default.warn(`modifier-used-without-options-for-${g}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),U}},G=(0,cc.flagEnabled)(n,"generalizedModifiers");return[].concat(G?b(T,W):b(T)).filter(Boolean).map(de=>({[(0,pi.default)(g,E)]:de}))},y=c(g,u),b=o[g];a.add([y,u]);let w=[{sort:h,layer:"components",options:u},x];t.candidateRuleMap.has(y)||t.candidateRuleMap.set(y,[]),t.candidateRuleMap.get(y).push(w)}},addVariant(o,u,d={}){u=[].concat(u).map(h=>{if(typeof h!="string")return(g={})=>{let{args:y,modifySelectors:b,container:x,separator:w,wrap:E,format:C}=g,T=h(Object.assign({modifySelectors:b,container:x,separator:w},d.type===dc.MatchVariant&&{args:y,wrap:E,format:C}));if(typeof T=="string"&&!vc(T))throw new Error(`Your custom variant \`${o}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return Array.isArray(T)?T.filter(M=>typeof M=="string").map(M=>Ka(M)):T&&typeof T=="string"&&Ka(T)(g)};if(!vc(h))throw new Error(`Your custom variant \`${o}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return Ka(h)}),IT(r,o,d),e.set(o,u),t.variantOptions.set(o,d)},matchVariant(o,u,d){var h;let g=(h=d==null?void 0:d.id)!==null&&h!==void 0?h:++v,y=o==="@",b=(0,cc.flagEnabled)(n,"generalizedModifiers");var x;for(let[C,T]of Object.entries((x=d==null?void 0:d.values)!==null&&x!==void 0?x:{}))C!=="DEFAULT"&&m.addVariant(y?`${o}${C}`:`${o}-${C}`,({args:M,container:U})=>u(T,b?{modifier:M==null?void 0:M.modifier,container:U}:{container:U}),{...d,value:T,id:g,type:dc.MatchVariant,variantInfo:mc.Base});var w;let E="DEFAULT"in((w=d==null?void 0:d.values)!==null&&w!==void 0?w:{});m.addVariant(o,({args:C,container:T})=>{if((C==null?void 0:C.value)===Ct.NONE&&!E)return null;var M;return u((C==null?void 0:C.value)===Ct.NONE?d.values.DEFAULT:(M=C==null?void 0:C.value)!==null&&M!==void 0?M:typeof C=="string"?C:"",b?{modifier:C==null?void 0:C.modifier,container:T}:{container:T})},{...d,id:g,type:dc.MatchVariant,variantInfo:mc.Dynamic})}};return m}var hc=new WeakMap;function gc(n){return hc.has(n)||hc.set(n,new Map),hc.get(n)}function Zv(n,t){let r=!1;for(let i of n){var e;if(!i)continue;let a=wT.default.parse(i),s=a.hash?a.href.replace(a.hash,""):a.href;s=a.search?s.replace(a.search,""):s;let l=(e=ST.default.statSync(decodeURIComponent(s),{throwIfNoEntry:!1}))===null||e===void 0?void 0:e.mtimeMs;!l||((!t.has(i)||l>t.get(i))&&(r=!0),t.set(i,l))}return r}function ag(n){n.walkAtRules(t=>{["responsive","variants"].includes(t.name)&&(ag(t),t.before(t.nodes),t.remove())})}function BT(n){let t=[];return n.each(r=>{r.type==="atrule"&&["responsive","variants"].includes(r.name)&&(r.name="layer",r.params="utilities")}),n.walkAtRules("layer",r=>{if(ag(r),r.params==="base"){for(let e of r.nodes)t.push(function({addBase:i}){i(e,{respectPrefix:!1})});r.remove()}else if(r.params==="components"){for(let e of r.nodes)t.push(function({addComponents:i}){i(e,{respectPrefix:!1,preserveSource:!0})});r.remove()}else if(r.params==="utilities"){for(let e of r.nodes)t.push(function({addUtilities:i}){i(e,{respectPrefix:!1,preserveSource:!0})});r.remove()}}),t}function qT(n,t){let r=Object.entries({...Re.variantPlugins,...Re.corePlugins}).map(([l,c])=>n.tailwindConfig.corePlugins.includes(l)?c:null).filter(Boolean),e=n.tailwindConfig.plugins.map(l=>(l.__isOptionsFunction&&(l=l()),typeof l=="function"?l:l.handler)),i=BT(t),a=[Re.variantPlugins.pseudoElementVariants,Re.variantPlugins.pseudoClassVariants,Re.variantPlugins.ariaVariants,Re.variantPlugins.dataVariants],s=[Re.variantPlugins.supportsVariants,Re.variantPlugins.directionVariants,Re.variantPlugins.reducedMotionVariants,Re.variantPlugins.prefersContrastVariants,Re.variantPlugins.darkVariants,Re.variantPlugins.printVariant,Re.variantPlugins.screenVariants,Re.variantPlugins.orientationVariants];return[...r,...a,...e,...s,...i]}function RT(n,t){let r=[],e=new Map;t.variantMap=e;let i=new PT.Offsets;t.offsets=i;let a=new Set,s=LT(t.tailwindConfig,t,{variantList:r,variantMap:e,offsets:i,classList:a});for(let o of n)if(Array.isArray(o))for(let u of o)u(s);else o==null||o(s);i.recordVariants(r,o=>e.get(o).length);for(let[o,u]of e.entries())t.variantMap.set(o,u.map((d,h)=>[i.forVariant(o,h),d]));var l;let c=((l=t.tailwindConfig.safelist)!==null&&l!==void 0?l:[]).filter(Boolean);if(c.length>0){let o=[];for(let u of c){if(typeof u=="string"){t.changedContent.push({content:u,extension:"html"});continue}if(u instanceof RegExp){Vr.default.warn("root-regex",["Regular expressions in `safelist` work differently in Tailwind CSS v3.0.","Update your `safelist` configuration to eliminate this warning.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"]);continue}o.push(u)}if(o.length>0){let u=new Map,d=t.tailwindConfig.prefix.length,h=o.some(g=>g.pattern.source.includes("!"));for(let g of a){let y=Array.isArray(g)?(()=>{let[b,x]=g;var w;let C=Object.keys((w=x==null?void 0:x.values)!==null&&w!==void 0?w:{}).map(T=>(0,pi.formatClass)(b,T));return x!=null&&x.supportsNegativeValues&&(C=[...C,...C.map(T=>"-"+T)],C=[...C,...C.map(T=>T.slice(0,d)+"-"+T.slice(d))]),x.types.some(({type:T})=>T==="color")&&(C=[...C,...C.flatMap(T=>Object.keys(t.tailwindConfig.theme.opacity).map(M=>`${T}/${M}`))]),h&&(x==null?void 0:x.respectImportant)&&(C=[...C,...C.map(T=>"!"+T)]),C})():[g];for(let b of y)for(let{pattern:x,variants:w=[]}of o)if(x.lastIndex=0,u.has(x)||u.set(x,0),!!x.test(b)){u.set(x,u.get(x)+1),t.changedContent.push({content:b,extension:"html"});for(let E of w)t.changedContent.push({content:E+t.tailwindConfig.separator+b,extension:"html"})}}for(let[g,y]of u.entries())y===0&&Vr.default.warn([`The safelist pattern \`${g}\` doesn't match any Tailwind CSS classes.`,"Fix this pattern or remove it from your `safelist` configuration.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"])}}var p,f;let v=(f=[].concat((p=t.tailwindConfig.darkMode)!==null&&p!==void 0?p:"media")[1])!==null&&f!==void 0?f:"dark",m=[pc(t,v),pc(t,"group"),pc(t,"peer")];t.getClassOrder=function(u){let d=new Map(u.map(y=>[y,null])),h=(0,Kv.generateRules)(new Set(u),t);h=t.offsets.sort(h);let g=BigInt(m.length);for(let[,y]of h)d.set(y.raws.tailwind.candidate,g++);return u.map(y=>{var b;let x=(b=d.get(y))!==null&&b!==void 0?b:null,w=m.indexOf(y);return x===null&&w!==-1&&(x=BigInt(w)),[y,x]})},t.getClassList=function(){let u=[];for(let h of a)if(Array.isArray(h)){let[g,y]=h,b=[];var d;for(let[x,w]of Object.entries((d=y==null?void 0:y.values)!==null&&d!==void 0?d:{}))w!=null&&(u.push((0,pi.formatClass)(g,x)),(y==null?void 0:y.supportsNegativeValues)&&(0,FT.default)(w)&&b.push((0,pi.formatClass)(g,`-${x}`)));u.push(...b)}else u.push(h);return u},t.getVariants=function(){let u=[];for(let[h,g]of t.variantOptions.entries())if(g.variantInfo!==mc.Base){var d;u.push({name:h,isArbitrary:g.type===Symbol.for("MATCH_VARIANT"),values:Object.keys((d=g.values)!==null&&d!==void 0?d:{}),hasDash:h!=="@",selectors({modifier:y,value:b}={}){let x="__TAILWIND_PLACEHOLDER__",w=hi.default.rule({selector:`.${x}`}),E=hi.default.root({nodes:[w.clone()]}),C=E.toString();var T;let M=((T=t.variantMap.get(h))!==null&&T!==void 0?T:[]).flatMap(([we,Ee])=>Ee),U=[];for(let we of M){var W;let Ee=[];var G;let k={args:{modifier:y,value:(G=(W=g.values)===null||W===void 0?void 0:W[b])!==null&&G!==void 0?G:b},separator:t.tailwindConfig.separator,modifySelectors(P){return E.each(z=>{z.type==="rule"&&(z.selectors=z.selectors.map(X=>P({get className(){return(0,Kv.getClassNameFromSelector)(X)},selector:X})))}),E},format(P){Ee.push(P)},wrap(P){Ee.push(`@${P.name} ${P.params} { & }`)},container:E},I=we(k);if(Ee.length>0&&U.push(Ee),Array.isArray(I))for(let P of I)Ee=[],P(k),U.push(Ee)}let ge=[],de=E.toString();C!==de&&(E.walkRules(we=>{let Ee=we.selector,k=(0,eg.default)(I=>{I.walkClasses(P=>{P.value=`${h}${t.tailwindConfig.separator}${P.value}`})}).processSync(Ee);ge.push(Ee.replace(k,"&").replace(x,"&"))}),E.walkAtRules(we=>{ge.push(`@${we.name} (${we.params}) { & }`)}));var Ke;let ut=U.map(we=>(0,fc.finalizeSelector)((0,fc.formatVariantSelector)("&",...we),{selector:`.${x}`,candidate:x,context:t,isArbitraryVariant:!(b in((Ke=g.values)!==null&&Ke!==void 0?Ke:{}))}).replace(`.${x}`,"&").replace("{ & }","").trim());return ge.length>0&&ut.push((0,fc.formatVariantSelector)("&",...ge)),ut}})}return u}}function sg(n,t){!n.classCache.has(t)||(n.notClassCache.add(t),n.classCache.delete(t),n.applyClassCache.delete(t),n.candidateRuleMap.delete(t),n.candidateRuleCache.delete(t),n.stylesheetCache=null)}function jT(n,t){let r=t.raws.tailwind.candidate;if(!!r){for(let e of n.ruleCache)e[1].raws.tailwind.candidate===r&&n.ruleCache.delete(e);sg(n,r)}}function og(n,t=[],r=hi.default.root()){var e;let i={disposables:[],ruleCache:new Set,candidateRuleCache:new Map,classCache:new Map,applyClassCache:new Map,notClassCache:new Set((e=n.blocklist)!==null&&e!==void 0?e:[]),postCssNodeCache:new Map,candidateRuleMap:new Map,tailwindConfig:n,changedContent:t,variantMap:new Map,stylesheetCache:null,variantOptions:new Map,markInvalidUtilityCandidate:s=>sg(i,s),markInvalidUtilityNode:s=>jT(i,s)},a=qT(i,r);return RT(a,i),i}var zr=Ct.contextMap,di=Ct.configContextMap,Gt=Ct.contextSourcesMap;function UT(n,t,r,e,i,a){let s=t.opts.from,l=e!==null;Ct.env.DEBUG&&console.log("Source path:",s);let c;if(l&&zr.has(s))c=zr.get(s);else if(di.has(i)){let v=di.get(i);Gt.get(v).add(s),zr.set(s,v),c=v}let p=(0,OT.hasContentChanged)(s,n);if(c&&!Zv([...a],gc(c))&&!p)return[c,!1];if(zr.has(s)){let v=zr.get(s);if(Gt.has(v)&&(Gt.get(v).delete(s),Gt.get(v).size===0)){Gt.delete(v);for(let[m,o]of di)o===v&&di.delete(m);for(let m of v.disposables.splice(0))m(v)}}Ct.env.DEBUG&&console.log("Setting up new context...");let f=og(r,[],n);return Object.assign(f,{userConfigPath:e}),Zv([...a],gc(f)),di.set(i,f),zr.set(s,f),Gt.has(f)||Gt.set(f,new Set),Gt.get(f).add(s),[f,!0]}});var lg=D(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});Object.defineProperty(bc,"default",{enumerable:!0,get:()=>zT});var zT=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"]});var ug=D(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});Object.defineProperty(xc,"default",{enumerable:!0,get:()=>VT});function VT(n,t){return n===void 0?t:Array.isArray(n)?n:[...new Set(t.filter(e=>n!==!1&&n[e]!==!1).concat(Object.keys(n).filter(e=>n[e]!==!1)))]}});var Sc=D((MI,cg)=>{cg.exports={content:[],presets:[],darkMode:"media",theme:{screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},supports:{},colors:({colors:n})=>({inherit:n.inherit,current:n.current,transparent:n.transparent,black:n.black,white:n.white,slate:n.slate,gray:n.gray,zinc:n.zinc,neutral:n.neutral,stone:n.stone,red:n.red,orange:n.orange,amber:n.amber,yellow:n.yellow,lime:n.lime,green:n.green,emerald:n.emerald,teal:n.teal,cyan:n.cyan,sky:n.sky,blue:n.blue,indigo:n.indigo,violet:n.violet,purple:n.purple,fuchsia:n.fuchsia,pink:n.pink,rose:n.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:n})=>n("blur"),backdropBrightness:({theme:n})=>n("brightness"),backdropContrast:({theme:n})=>n("contrast"),backdropGrayscale:({theme:n})=>n("grayscale"),backdropHueRotate:({theme:n})=>n("hueRotate"),backdropInvert:({theme:n})=>n("invert"),backdropOpacity:({theme:n})=>n("opacity"),backdropSaturate:({theme:n})=>n("saturate"),backdropSepia:({theme:n})=>n("sepia"),backgroundColor:({theme:n})=>n("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:n})=>n("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},borderColor:({theme:n})=>({...n("colors"),DEFAULT:n("colors.gray.200","currentColor")}),borderOpacity:({theme:n})=>n("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:n})=>({...n("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:n})=>n("colors"),caretColor:({theme:n})=>n("colors"),accentColor:({theme:n})=>({...n("colors"),auto:"auto"}),contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},container:{},content:{none:"none"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:n})=>n("borderColor"),divideOpacity:({theme:n})=>n("borderOpacity"),divideWidth:({theme:n})=>n("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:n})=>({none:"none",...n("colors")}),grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:n})=>n("spacing"),gradientColorStops:({theme:n})=>n("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),inset:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},margin:({theme:n})=>({auto:"auto",...n("spacing")}),maxHeight:({theme:n})=>({...n("spacing"),full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:n,breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(n("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},padding:({theme:n})=>n("spacing"),placeholderColor:({theme:n})=>n("colors"),placeholderOpacity:({theme:n})=>n("opacity"),outlineColor:({theme:n})=>n("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringColor:({theme:n})=>({DEFAULT:n("colors.blue.500","#3b82f6"),...n("colors")}),ringOffsetColor:({theme:n})=>n("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:n})=>({DEFAULT:"0.5",...n("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},scrollMargin:({theme:n})=>({...n("spacing")}),scrollPadding:({theme:n})=>n("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:n})=>({...n("spacing")}),stroke:({theme:n})=>({none:"none",...n("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},textColor:({theme:n})=>n("colors"),textDecorationColor:({theme:n})=>n("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:n})=>({...n("spacing")}),textOpacity:({theme:n})=>n("opacity"),transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:n})=>({...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:n})=>({auto:"auto",...n("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},variantOrder:["first","last","odd","even","visited","checked","empty","read-only","group-hover","group-focus","focus-within","hover","focus","focus-visible","active","disabled"],plugins:[]}});var fg=D(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});Object.defineProperty(wc,"default",{enumerable:!0,get:()=>XT});var WT=JT(fr());function JT(n){return n&&n.__esModule?n:{default:n}}function mi({version:n,from:t,to:r}){WT.default.warn(`${t}-color-renamed`,[`As of Tailwind CSS ${n}, \`${t}\` has been renamed to \`${r}\`.`,"Update your configuration file to silence this warning."])}var XT={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"},get lightBlue(){return mi({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return mi({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return mi({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return mi({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return mi({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var dg=D(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});Object.defineProperty(Ec,"defaults",{enumerable:!0,get:()=>$T});function $T(n,...t){for(let i of t){for(let a in i){var r;!(n==null||(r=n.hasOwnProperty)===null||r===void 0)&&r.call(n,a)||(n[a]=i[a])}for(let a of Object.getOwnPropertySymbols(i)){var e;!(n==null||(e=n.hasOwnProperty)===null||e===void 0)&&e.call(n,a)||(n[a]=i[a])}}return n}});var hg=D(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Object.defineProperty(Dc,"normalizeConfig",{enumerable:!0,get:()=>HT});var Wr=GT(fr());function pg(n){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(pg=function(e){return e?r:t})(n)}function GT(n,t){if(!t&&n&&n.__esModule)return n;if(n===null||typeof n!="object"&&typeof n!="function")return{default:n};var r=pg(t);if(r&&r.has(n))return r.get(n);var e={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in n)if(a!=="default"&&Object.prototype.hasOwnProperty.call(n,a)){var s=i?Object.getOwnPropertyDescriptor(n,a):null;s&&(s.get||s.set)?Object.defineProperty(e,a,s):e[a]=n[a]}return e.default=n,r&&r.set(n,e),e}function HT(n){if((()=>{if(n.purge||!n.content||!Array.isArray(n.content)&&!(typeof n.content=="object"&&n.content!==null))return!1;if(Array.isArray(n.content))return n.content.every(e=>typeof e=="string"?!0:!(typeof(e==null?void 0:e.raw)!="string"||(e==null?void 0:e.extension)&&typeof(e==null?void 0:e.extension)!="string"));if(typeof n.content=="object"&&n.content!==null){if(Object.keys(n.content).some(e=>!["files","relative","extract","transform"].includes(e)))return!1;if(Array.isArray(n.content.files)){if(!n.content.files.every(e=>typeof e=="string"?!0:!(typeof(e==null?void 0:e.raw)!="string"||(e==null?void 0:e.extension)&&typeof(e==null?void 0:e.extension)!="string")))return!1;if(typeof n.content.extract=="object"){for(let e of Object.values(n.content.extract))if(typeof e!="function")return!1}else if(!(n.content.extract===void 0||typeof n.content.extract=="function"))return!1;if(typeof n.content.transform=="object"){for(let e of Object.values(n.content.transform))if(typeof e!="function")return!1}else if(!(n.content.transform===void 0||typeof n.content.transform=="function"))return!1;if(typeof n.content.relative!="boolean"&&typeof n.content.relative<"u")return!1}return!0}return!1})()||Wr.default.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),n.safelist=(()=>{var e;let{content:i,purge:a,safelist:s}=n;return Array.isArray(s)?s:Array.isArray(i==null?void 0:i.safelist)?i.safelist:Array.isArray(a==null?void 0:a.safelist)?a.safelist:Array.isArray(a==null||(e=a.options)===null||e===void 0?void 0:e.safelist)?a.options.safelist:[]})(),n.blocklist=(()=>{let{blocklist:e}=n;if(Array.isArray(e)){if(e.every(i=>typeof i=="string"))return e;Wr.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof n.prefix=="function")Wr.default.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),n.prefix="";else{var r;n.prefix=(r=n.prefix)!==null&&r!==void 0?r:""}n.content={relative:(()=>{var e;let{content:i}=n;if(i!=null&&i.relative)return i.relative;var a;return(a=(e=n.future)===null||e===void 0?void 0:e.relativeContentPathsByDefault)!==null&&a!==void 0?a:!1})(),files:(()=>{let{content:e,purge:i}=n;return Array.isArray(i)?i:Array.isArray(i==null?void 0:i.content)?i.content:Array.isArray(e)?e:Array.isArray(e==null?void 0:e.content)?e.content:Array.isArray(e==null?void 0:e.files)?e.files:[]})(),extract:(()=>{let e=(()=>{var s,l,c,p,f,v,m,o,u,d;return!((s=n.purge)===null||s===void 0)&&s.extract?n.purge.extract:!((l=n.content)===null||l===void 0)&&l.extract?n.content.extract:!((c=n.purge)===null||c===void 0||(p=c.extract)===null||p===void 0)&&p.DEFAULT?n.purge.extract.DEFAULT:!((f=n.content)===null||f===void 0||(v=f.extract)===null||v===void 0)&&v.DEFAULT?n.content.extract.DEFAULT:!((m=n.purge)===null||m===void 0||(o=m.options)===null||o===void 0)&&o.extractors?n.purge.options.extractors:!((u=n.content)===null||u===void 0||(d=u.options)===null||d===void 0)&&d.extractors?n.content.options.extractors:{}})(),i={},a=(()=>{var s,l,c,p;if(!((s=n.purge)===null||s===void 0||(l=s.options)===null||l===void 0)&&l.defaultExtractor)return n.purge.options.defaultExtractor;if(!((c=n.content)===null||c===void 0||(p=c.options)===null||p===void 0)&&p.defaultExtractor)return n.content.options.defaultExtractor})();if(a!==void 0&&(i.DEFAULT=a),typeof e=="function")i.DEFAULT=e;else if(Array.isArray(e))for(let{extensions:s,extractor:l}of e!=null?e:[])for(let c of s)i[c]=l;else typeof e=="object"&&e!==null&&Object.assign(i,e);return i})(),transform:(()=>{let e=(()=>{var a,s,l,c,p,f;return!((a=n.purge)===null||a===void 0)&&a.transform?n.purge.transform:!((s=n.content)===null||s===void 0)&&s.transform?n.content.transform:!((l=n.purge)===null||l===void 0||(c=l.transform)===null||c===void 0)&&c.DEFAULT?n.purge.transform.DEFAULT:!((p=n.content)===null||p===void 0||(f=p.transform)===null||f===void 0)&&f.DEFAULT?n.content.transform.DEFAULT:{}})(),i={};return typeof e=="function"&&(i.DEFAULT=e),typeof e=="object"&&e!==null&&Object.assign(i,e),i})()};for(let e of n.content.files)if(typeof e=="string"&&/{([^,]*?)}/g.test(e)){Wr.default.warn("invalid-glob-braces",[`The glob pattern ${(0,Wr.dim)(e)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,Wr.dim)(e.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return n}});var mg=D(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});Object.defineProperty(Ac,"cloneDeep",{enumerable:!0,get:()=>Cc});function Cc(n){return Array.isArray(n)?n.map(t=>Cc(t)):typeof n=="object"&&n!==null?Object.fromEntries(Object.entries(n).map(([t,r])=>[t,Cc(r)])):n}});var xg=D(Tc=>{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});Object.defineProperty(Tc,"default",{enumerable:!0,get:()=>hk});var KT=pr(za()),YT=pr(lg()),QT=pr(ug()),ZT=pr(Sc()),ek=pr(fg()),yg=dg(),vg=Wu(),tk=hg(),Jr=pr(Br()),rk=mg(),nk=Va(),ik=ja(),ak=pr(Iu());function pr(n){return n&&n.__esModule?n:{default:n}}function Xr(n){return typeof n=="function"}function vi(n,...t){let r=t.pop();for(let e of t)for(let i in e){let a=r(n[i],e[i]);a===void 0?(0,Jr.default)(n[i])&&(0,Jr.default)(e[i])?n[i]=vi({},n[i],e[i],r):n[i]=e[i]:n[i]=a}return n}var _c={colors:ek.default,negative(n){return Object.keys(n).filter(t=>n[t]!=="0").reduce((t,r)=>{let e=(0,KT.default)(n[r]);return e!==void 0&&(t[`-${r}`]=e),t},{})},breakpoints(n){return Object.keys(n).filter(t=>typeof n[t]=="string").reduce((t,r)=>({...t,[`screen-${r}`]:n[r]}),{})}};function sk(n,...t){return Xr(n)?n(...t):n}function ok(n){return n.reduce((t,{extend:r})=>vi(t,r,(e,i)=>e===void 0?[i]:Array.isArray(e)?[i,...e]:[i,e]),{})}function lk(n){return{...n.reduce((t,r)=>(0,yg.defaults)(t,r),{}),extend:ok(n)}}function gg(n,t){if(Array.isArray(n)&&(0,Jr.default)(n[0]))return n.concat(t);if(Array.isArray(t)&&(0,Jr.default)(t[0])&&(0,Jr.default)(n))return[n,...t];if(Array.isArray(t))return t}function uk({extend:n,...t}){return vi(t,n,(r,e)=>!Xr(r)&&!e.some(Xr)?vi({},r,...e,gg):(i,a)=>vi({},...[r,...e].map(s=>sk(s,i,a)),gg))}function*ck(n){let t=(0,vg.toPath)(n);if(t.length===0||(yield t,Array.isArray(n)))return;let r=/^(.*?)\s*\/\s*([^/]+)$/,e=n.match(r);if(e!==null){let[,i,a]=e,s=(0,vg.toPath)(i);s.alpha=a,yield s}}function fk(n){let t=(r,e)=>{for(let i of ck(r)){let a=0,s=n;for(;s!=null&&a<i.length;)s=s[i[a++]],s=Xr(s)&&(i.alpha===void 0||a<=i.length-1)?s(t,_c):s;if(s!==void 0){if(i.alpha!==void 0){let l=(0,nk.parseColorFormat)(s);return(0,ik.withAlphaValue)(l,i.alpha,(0,ak.default)(l))}return(0,Jr.default)(s)?(0,rk.cloneDeep)(s):s}}return e};return Object.assign(t,{theme:t,..._c}),Object.keys(n).reduce((r,e)=>(r[e]=Xr(n[e])?n[e](t,_c):n[e],r),{})}function bg(n){let t=[];return n.forEach(r=>{t=[...t,r];var e;let i=(e=r==null?void 0:r.plugins)!==null&&e!==void 0?e:[];i.length!==0&&i.forEach(a=>{a.__isOptionsFunction&&(a=a());var s;t=[...t,...bg([(s=a==null?void 0:a.config)!==null&&s!==void 0?s:{}])]})}),t}function dk(n){return[...n].reduceRight((r,e)=>Xr(e)?e({corePlugins:r}):(0,QT.default)(e,r),YT.default)}function pk(n){return[...n].reduceRight((r,e)=>[...r,...e],[])}function hk(n){let t=[...bg(n),{prefix:"",important:!1,separator:":",variantOrder:ZT.default.variantOrder}];var r,e;return(0,tk.normalizeConfig)((0,yg.defaults)({theme:fk(uk(lk(t.map(i=>(r=i==null?void 0:i.theme)!==null&&r!==void 0?r:{})))),corePlugins:dk(t.map(i=>i.corePlugins)),plugins:pk(n.map(i=>(e=i==null?void 0:i.plugins)!==null&&e!==void 0?e:[]))},...t))}});var wg=D(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});Object.defineProperty(kc,"default",{enumerable:!0,get:()=>Sg});var mk=gk(Sc()),vk=qr();function gk(n){return n&&n.__esModule?n:{default:n}}function Sg(n){var t;let r=((t=n==null?void 0:n.presets)!==null&&t!==void 0?t:[mk.default]).slice().reverse().flatMap(a=>Sg(a instanceof Function?a():a)),e={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:a})=>({DEFAULT:"#3b82f67f",...a("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},i=Object.keys(e).filter(a=>(0,vk.flagEnabled)(n,a)).map(a=>e[a]);return[n,...i,...r]}});var Dg=D(Fc=>{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Object.defineProperty(Fc,"default",{enumerable:!0,get:()=>xk});var yk=Eg(xg()),bk=Eg(wg());function Eg(n){return n&&n.__esModule?n:{default:n}}function xk(...n){let[,...t]=(0,bk.default)(n[0]);return(0,yk.default)([...n,...t])}});var Ag=D((UI,Cg)=>{var Oc=Dg();Cg.exports=(Oc.__esModule?Oc:{default:Oc}).default});var K=D((zI,Za)=>{var _g,Tg,kg,Fg,Og,Pg,Mg,Ig,Ng,Ya,Pc,Lg,Bg,qg,$r,Rg,jg,Ug,zg,Vg,Wg,Jg,Xg,$g,Qa;(function(n){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(e){n(r(t,r(e)))}):typeof Za=="object"&&typeof Za.exports=="object"?n(r(t,r(Za.exports))):n(r(t));function r(e,i){return e!==t&&(typeof Object.create=="function"?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(a,s){return e[a]=i?i(a,s):s}}})(function(n){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])};_g=function(e,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(e,i);function a(){this.constructor=e}e.prototype=i===null?Object.create(i):(a.prototype=i.prototype,new a)},Tg=Object.assign||function(e){for(var i,a=1,s=arguments.length;a<s;a++){i=arguments[a];for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l])}return e},kg=function(e,i){var a={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&i.indexOf(s)<0&&(a[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,s=Object.getOwnPropertySymbols(e);l<s.length;l++)i.indexOf(s[l])<0&&Object.prototype.propertyIsEnumerable.call(e,s[l])&&(a[s[l]]=e[s[l]]);return a},Fg=function(e,i,a,s){var l=arguments.length,c=l<3?i:s===null?s=Object.getOwnPropertyDescriptor(i,a):s,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,i,a,s);else for(var f=e.length-1;f>=0;f--)(p=e[f])&&(c=(l<3?p(c):l>3?p(i,a,c):p(i,a))||c);return l>3&&c&&Object.defineProperty(i,a,c),c},Og=function(e,i){return function(a,s){i(a,s,e)}},Pg=function(e,i){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,i)},Mg=function(e,i,a,s){function l(c){return c instanceof a?c:new a(function(p){p(c)})}return new(a||(a=Promise))(function(c,p){function f(o){try{m(s.next(o))}catch(u){p(u)}}function v(o){try{m(s.throw(o))}catch(u){p(u)}}function m(o){o.done?c(o.value):l(o.value).then(f,v)}m((s=s.apply(e,i||[])).next())})},Ig=function(e,i){var a={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},s,l,c,p;return p={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function f(m){return function(o){return v([m,o])}}function v(m){if(s)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(a=0)),a;)try{if(s=1,l&&(c=m[0]&2?l.return:m[0]?l.throw||((c=l.return)&&c.call(l),0):l.next)&&!(c=c.call(l,m[1])).done)return c;switch(l=0,c&&(m=[m[0]&2,c.value]),m[0]){case 0:case 1:c=m;break;case 4:return a.label++,{value:m[1],done:!1};case 5:a.label++,l=m[1],m=[0];continue;case 7:m=a.ops.pop(),a.trys.pop();continue;default:if(c=a.trys,!(c=c.length>0&&c[c.length-1])&&(m[0]===6||m[0]===2)){a=0;continue}if(m[0]===3&&(!c||m[1]>c[0]&&m[1]<c[3])){a.label=m[1];break}if(m[0]===6&&a.label<c[1]){a.label=c[1],c=m;break}if(c&&a.label<c[2]){a.label=c[2],a.ops.push(m);break}c[2]&&a.ops.pop(),a.trys.pop();continue}m=i.call(e,a)}catch(o){m=[6,o],l=0}finally{s=c=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}},Ng=function(e,i){for(var a in e)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&Qa(i,e,a)},Qa=Object.create?function(e,i,a,s){s===void 0&&(s=a);var l=Object.getOwnPropertyDescriptor(i,a);(!l||("get"in l?!i.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(e,s,l)}:function(e,i,a,s){s===void 0&&(s=a),e[s]=i[a]},Ya=function(e){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&e[i],s=0;if(a)return a.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")},Pc=function(e,i){var a=typeof Symbol=="function"&&e[Symbol.iterator];if(!a)return e;var s=a.call(e),l,c=[],p;try{for(;(i===void 0||i-- >0)&&!(l=s.next()).done;)c.push(l.value)}catch(f){p={error:f}}finally{try{l&&!l.done&&(a=s.return)&&a.call(s)}finally{if(p)throw p.error}}return c},Lg=function(){for(var e=[],i=0;i<arguments.length;i++)e=e.concat(Pc(arguments[i]));return e},Bg=function(){for(var e=0,i=0,a=arguments.length;i<a;i++)e+=arguments[i].length;for(var s=Array(e),l=0,i=0;i<a;i++)for(var c=arguments[i],p=0,f=c.length;p<f;p++,l++)s[l]=c[p];return s},qg=function(e,i,a){if(a||arguments.length===2)for(var s=0,l=i.length,c;s<l;s++)(c||!(s in i))&&(c||(c=Array.prototype.slice.call(i,0,s)),c[s]=i[s]);return e.concat(c||Array.prototype.slice.call(i))},$r=function(e){return this instanceof $r?(this.v=e,this):new $r(e)},Rg=function(e,i,a){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=a.apply(e,i||[]),l,c=[];return l={},p("next"),p("throw"),p("return"),l[Symbol.asyncIterator]=function(){return this},l;function p(d){s[d]&&(l[d]=function(h){return new Promise(function(g,y){c.push([d,h,g,y])>1||f(d,h)})})}function f(d,h){try{v(s[d](h))}catch(g){u(c[0][3],g)}}function v(d){d.value instanceof $r?Promise.resolve(d.value.v).then(m,o):u(c[0][2],d)}function m(d){f("next",d)}function o(d){f("throw",d)}function u(d,h){d(h),c.shift(),c.length&&f(c[0][0],c[0][1])}},jg=function(e){var i,a;return i={},s("next"),s("throw",function(l){throw l}),s("return"),i[Symbol.iterator]=function(){return this},i;function s(l,c){i[l]=e[l]?function(p){return(a=!a)?{value:$r(e[l](p)),done:l==="return"}:c?c(p):p}:c}},Ug=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=e[Symbol.asyncIterator],a;return i?i.call(e):(e=typeof Ya=="function"?Ya(e):e[Symbol.iterator](),a={},s("next"),s("throw"),s("return"),a[Symbol.asyncIterator]=function(){return this},a);function s(c){a[c]=e[c]&&function(p){return new Promise(function(f,v){p=e[c](p),l(f,v,p.done,p.value)})}}function l(c,p,f,v){Promise.resolve(v).then(function(m){c({value:m,done:f})},p)}},zg=function(e,i){return Object.defineProperty?Object.defineProperty(e,"raw",{value:i}):e.raw=i,e};var r=Object.create?function(e,i){Object.defineProperty(e,"default",{enumerable:!0,value:i})}:function(e,i){e.default=i};Vg=function(e){if(e&&e.__esModule)return e;var i={};if(e!=null)for(var a in e)a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)&&Qa(i,e,a);return r(i,e),i},Wg=function(e){return e&&e.__esModule?e:{default:e}},Jg=function(e,i,a,s){if(a==="a"&&!s)throw new TypeError("Private accessor was defined without a getter");if(typeof i=="function"?e!==i||!s:!i.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?s:a==="a"?s.call(e):s?s.value:i.get(e)},Xg=function(e,i,a,s,l){if(s==="m")throw new TypeError("Private method is not writable");if(s==="a"&&!l)throw new TypeError("Private accessor was defined without a setter");if(typeof i=="function"?e!==i||!l:!i.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return s==="a"?l.call(e,a):l?l.value=a:i.set(e,a),a},$g=function(e,i){if(i===null||typeof i!="object"&&typeof i!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?i===e:e.has(i)},n("__extends",_g),n("__assign",Tg),n("__rest",kg),n("__decorate",Fg),n("__param",Og),n("__metadata",Pg),n("__awaiter",Mg),n("__generator",Ig),n("__exportStar",Ng),n("__createBinding",Qa),n("__values",Ya),n("__read",Pc),n("__spread",Lg),n("__spreadArrays",Bg),n("__spreadArray",qg),n("__await",$r),n("__asyncGenerator",Rg),n("__asyncDelegator",jg),n("__asyncValues",Ug),n("__makeTemplateObject",zg),n("__importStar",Vg),n("__importDefault",Wg),n("__classPrivateFieldGet",Jg),n("__classPrivateFieldSet",Xg),n("__classPrivateFieldIn",$g)})});var pe=D(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.Def=void 0;var Gr=K(),Qg=Object.prototype,rs=Qg.toString,it=Qg.hasOwnProperty,gi=function(){function n(){}return n.prototype.assert=function(t,r){if(!this.check(t,r)){var e=Ic(t);throw new Error(e+" does not match type "+this)}return!0},n.prototype.arrayOf=function(){var t=this;return new Mc(t)},n}(),Mc=function(n){Gr.__extends(t,n);function t(r){var e=n.call(this)||this;return e.elemType=r,e.kind="ArrayType",e}return t.prototype.toString=function(){return"["+this.elemType+"]"},t.prototype.check=function(r,e){var i=this;return Array.isArray(r)&&r.every(function(a){return i.elemType.check(a,e)})},t}(gi),Gg=function(n){Gr.__extends(t,n);function t(r){var e=n.call(this)||this;return e.value=r,e.kind="IdentityType",e}return t.prototype.toString=function(){return String(this.value)},t.prototype.check=function(r,e){var i=r===this.value;return!i&&typeof e=="function"&&e(this,r),i},t}(gi),Hg=function(n){Gr.__extends(t,n);function t(r){var e=n.call(this)||this;return e.fields=r,e.kind="ObjectType",e}return t.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},t.prototype.check=function(r,e){return rs.call(r)===rs.call({})&&this.fields.every(function(i){return i.type.check(r[i.name],e)})},t}(gi),Kg=function(n){Gr.__extends(t,n);function t(r){var e=n.call(this)||this;return e.types=r,e.kind="OrType",e}return t.prototype.toString=function(){return this.types.join(" | ")},t.prototype.check=function(r,e){return this.types.some(function(i){return i.check(r,e)})},t}(gi),es=function(n){Gr.__extends(t,n);function t(r,e){var i=n.call(this)||this;return i.name=r,i.predicate=e,i.kind="PredicateType",i}return t.prototype.toString=function(){return this.name},t.prototype.check=function(r,e){var i=this.predicate(r,e);return!i&&typeof e=="function"&&e(this,r),i},t}(gi),ts=function(){function n(t,r){this.type=t,this.typeName=r,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return n.prototype.isSupertypeOf=function(t){if(t instanceof n){if(this.finalized!==!0||t.finalized!==!0)throw new Error("");return it.call(t.allSupertypes,this.typeName)}else throw new Error(t+" is not a Def")},n.prototype.checkAllFields=function(t,r){var e=this.allFields;if(this.finalized!==!0)throw new Error(""+this.typeName);function i(a){var s=e[a],l=s.type,c=s.getValue(t);return l.check(c,r)}return t!==null&&typeof t=="object"&&Object.keys(e).every(i)},n.prototype.bases=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=this.baseNames;if(this.finalized){if(t.length!==e.length)throw new Error("");for(var i=0;i<t.length;i++)if(t[i]!==e[i])throw new Error("");return this}return t.forEach(function(a){e.indexOf(a)<0&&e.push(a)}),this},n}();yi.Def=ts;var Yg=function(){function n(t,r,e,i){this.name=t,this.type=r,this.defaultFn=e,this.hidden=!!i}return n.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},n.prototype.getValue=function(t){var r=t[this.name];return typeof r<"u"||typeof this.defaultFn=="function"&&(r=this.defaultFn.call(t)),r},n}();function Ic(n){return Array.isArray(n)?"["+n.map(Ic).join(", ")+"]":n&&typeof n=="object"?"{ "+Object.keys(n).map(function(t){return t+": "+n[t]}).join(", ")+" }":JSON.stringify(n)}function Sk(n){var t={or:function(){for(var k=[],I=0;I<arguments.length;I++)k[I]=arguments[I];return new Kg(k.map(function(P){return t.from(P)}))},from:function(k,I){if(k instanceof Mc||k instanceof Gg||k instanceof Hg||k instanceof Kg||k instanceof es)return k;if(k instanceof ts)return k.type;if(l.check(k)){if(k.length!==1)throw new Error("only one element type is permitted for typed arrays");return new Mc(t.from(k[0]))}if(c.check(k))return new Hg(Object.keys(k).map(function(z){return new Yg(z,t.from(k[z],z))}));if(typeof k=="function"){var P=r.indexOf(k);if(P>=0)return e[P];if(typeof I!="string")throw new Error("missing name");return new es(I,k)}return new Gg(k)},def:function(k){return it.call(h,k)?h[k]:h[k]=new y(k)},hasDef:function(k){return it.call(h,k)}},r=[],e=[];function i(k,I){var P=rs.call(I),z=new es(k,function(X){return rs.call(X)===P});return I&&typeof I.constructor=="function"&&(r.push(I.constructor),e.push(z)),z}var a=i("string","truthy"),s=i("function",function(){}),l=i("array",[]),c=i("object",{}),p=i("RegExp",/./),f=i("Date",new Date),v=i("number",3),m=i("boolean",!0),o=i("null",null),u=i("undefined",void 0),d={string:a,function:s,array:l,object:c,RegExp:p,Date:f,number:v,boolean:m,null:o,undefined:u},h=Object.create(null);function g(k){if(k&&typeof k=="object"){var I=k.type;if(typeof I=="string"&&it.call(h,I)){var P=h[I];if(P.finalized)return P}}return null}var y=function(k){Gr.__extends(I,k);function I(P){var z=k.call(this,new es(P,function(X,H){return z.check(X,H)}),P)||this;return z}return I.prototype.check=function(P,z){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(P===null||typeof P!="object")return!1;var X=g(P);return X?z&&X===this?this.checkAllFields(P,z):this.isSupertypeOf(X)?z?X.checkAllFields(P,z)&&this.checkAllFields(P,!1):!0:!1:this.typeName==="SourceLocation"||this.typeName==="Position"?this.checkAllFields(P,z):!1},I.prototype.build=function(){for(var P=this,z=[],X=0;X<arguments.length;X++)z[X]=arguments[X];if(this.buildParams=z,this.buildable)return this;this.field("type",String,function(){return P.typeName}),this.buildable=!0;var H=function(re,ee,ze,ct){if(!it.call(re,ee)){var Ye=P.allFields;if(!it.call(Ye,ee))throw new Error(""+ee);var Me=Ye[ee],jt=Me.type,Ot;if(ct)Ot=ze;else if(Me.defaultFn)Ot=Me.defaultFn.call(re);else{var Er="no value or default function given for field "+JSON.stringify(ee)+" of "+P.typeName+"("+P.buildParams.map(function(Dr){return Ye[Dr]}).join(", ")+")";throw new Error(Er)}if(!jt.check(Ot))throw new Error(Ic(Ot)+" does not match field "+Me+" of type "+P.typeName);re[ee]=Ot}},De=function(){for(var re=[],ee=0;ee<arguments.length;ee++)re[ee]=arguments[ee];var ze=re.length;if(!P.finalized)throw new Error("attempting to instantiate unfinalized type "+P.typeName);var ct=Object.create(E);if(P.buildParams.forEach(function(Ye,Me){Me<ze?H(ct,Ye,re[Me],!0):H(ct,Ye,null,!1)}),Object.keys(P.allFields).forEach(function(Ye){H(ct,Ye,null,!1)}),ct.type!==P.typeName)throw new Error("");return ct};return De.from=function(re){if(!P.finalized)throw new Error("attempting to instantiate unfinalized type "+P.typeName);var ee=Object.create(E);if(Object.keys(P.allFields).forEach(function(ze){it.call(re,ze)?H(ee,ze,re[ze],!0):H(ee,ze,null,!1)}),ee.type!==P.typeName)throw new Error("");return ee},Object.defineProperty(w,T(this.typeName),{enumerable:!0,value:De}),this},I.prototype.field=function(P,z,X,H){return this.finalized?(console.error("Ignoring attempt to redefine field "+JSON.stringify(P)+" of finalized type "+JSON.stringify(this.typeName)),this):(this.ownFields[P]=new Yg(P,t.from(z),X,H),this)},I.prototype.finalize=function(){var P=this;if(!this.finalized){var z=this.allFields,X=this.allSupertypes;this.baseNames.forEach(function(De){var re=h[De];if(re instanceof ts)re.finalize(),we(z,re.allFields),we(X,re.allSupertypes);else{var ee="unknown supertype name "+JSON.stringify(De)+" for subtype "+JSON.stringify(P.typeName);throw new Error(ee)}}),we(z,this.ownFields),X[this.typeName]=this,this.fieldNames.length=0;for(var H in z)it.call(z,H)&&!z[H].hidden&&this.fieldNames.push(H);Object.defineProperty(U,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,ut(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&Ke(this.typeName)}},I}(ts);function b(k){if(!it.call(h,k))throw new Error("");var I=h[k];if(I.finalized!==!0)throw new Error("");return I.supertypeList.slice(1)}function x(k){for(var I={},P=Object.keys(h),z=P.length,X=0;X<z;++X){var H=P[X],De=h[H];if(De.finalized!==!0)throw new Error(""+H);for(var re=0;re<De.supertypeList.length;++re){var ee=De.supertypeList[re];if(it.call(k,ee)){I[H]=ee;break}}}return I}var w=Object.create(null),E={};function C(k,I){var P=E[k];return u.check(I)?delete E[k]:(s.assert(I),Object.defineProperty(E,k,{enumerable:!0,configurable:!0,value:I})),P}function T(k){return k.replace(/^[A-Z]+/,function(I){var P=I.length;switch(P){case 0:return"";case 1:return I.toLowerCase();default:return I.slice(0,P-1).toLowerCase()+I.charAt(P-1)}})}function M(k){return k=T(k),k.replace(/(Expression)?$/,"Statement")}var U={};function W(k){var I=g(k);if(I)return I.fieldNames.slice(0);if("type"in k)throw new Error("did not recognize object of type "+JSON.stringify(k.type));return Object.keys(k)}function G(k,I){var P=g(k);if(P){var z=P.allFields[I];if(z)return z.getValue(k)}return k&&k[I]}function ge(k,I,P){W(k).forEach(function(z){I.call(this,z,G(k,z))},P)}function de(k,I,P){return W(k).some(function(z){return I.call(this,z,G(k,z))},P)}function Ke(k){var I=M(k);if(!w[I]){var P=w[T(k)];if(!!P){var z=function(){for(var X=[],H=0;H<arguments.length;H++)X[H]=arguments[H];return w.expressionStatement(P.apply(w,X))};z.from=function(){for(var X=[],H=0;H<arguments.length;H++)X[H]=arguments[H];return w.expressionStatement(P.from.apply(w,X))},w[I]=z}}}function ut(k,I){I.length=0,I.push(k);for(var P=Object.create(null),z=0;z<I.length;++z){k=I[z];var X=h[k];if(X.finalized!==!0)throw new Error("");it.call(P,k)&&delete I[P[k]],P[k]=z,I.push.apply(I,X.baseNames)}for(var H=0,De=H,re=I.length;De<re;++De)it.call(I,De)&&(I[H++]=I[De]);I.length=H}function we(k,I){return Object.keys(I).forEach(function(P){k[P]=I[P]}),k}function Ee(){Object.keys(h).forEach(function(k){h[k].finalize()})}return{Type:t,builtInTypes:d,getSupertypeNames:b,computeSupertypeLookupTable:x,builders:w,defineMethod:C,getBuilderName:T,getStatementBuilderName:M,namedTypes:U,getFieldNames:W,getFieldValue:G,eachField:ge,someField:de,finalize:Ee}}yi.default=Sk});var Nc=D((is,Zg)=>{"use strict";Object.defineProperty(is,"__esModule",{value:!0});var wk=K(),Ek=wk.__importDefault(pe()),Dk=Object.prototype,ns=Dk.hasOwnProperty;function Ck(n){var t=n.use(Ek.default),r=t.builtInTypes.array,e=t.builtInTypes.number,i=function v(m,o,u){if(!(this instanceof v))throw new Error("Path constructor cannot be invoked without 'new'");if(o){if(!(o instanceof v))throw new Error("")}else o=null,u=null;this.value=m,this.parentPath=o,this.name=u,this.__childCache=null},a=i.prototype;function s(v){return v.__childCache||(v.__childCache=Object.create(null))}function l(v,m){var o=s(v),u=v.getValueProperty(m),d=o[m];return(!ns.call(o,m)||d.value!==u)&&(d=o[m]=new v.constructor(u,v,m)),d}a.getValueProperty=function(m){return this.value[m]},a.get=function(){for(var m=[],o=0;o<arguments.length;o++)m[o]=arguments[o];for(var u=this,d=m.length,h=0;h<d;++h)u=l(u,m[h]);return u},a.each=function(m,o){for(var u=[],d=this.value.length,h=0,h=0;h<d;++h)ns.call(this.value,h)&&(u[h]=this.get(h));for(o=o||this,h=0;h<d;++h)ns.call(u,h)&&m.call(o,u[h])},a.map=function(m,o){var u=[];return this.each(function(d){u.push(m.call(this,d))},o),u},a.filter=function(m,o){var u=[];return this.each(function(d){m.call(this,d)&&u.push(d)},o),u};function c(){}function p(v,m,o,u){if(r.assert(v.value),m===0)return c;var d=v.value.length;if(d<1)return c;var h=arguments.length;h===2?(o=0,u=d):h===3?(o=Math.max(o,0),u=d):(o=Math.max(o,0),u=Math.min(u,d)),e.assert(o),e.assert(u);for(var g=Object.create(null),y=s(v),b=o;b<u;++b)if(ns.call(v.value,b)){var x=v.get(b);if(x.name!==b)throw new Error("");var w=b+m;x.name=w,g[w]=x,delete y[b]}return delete y.length,function(){for(var E in g){var C=g[E];if(C.name!==+E)throw new Error("");y[E]=C,v.value[E]=C.value}}}a.shift=function(){var m=p(this,-1),o=this.value.shift();return m(),o},a.unshift=function(){for(var m=[],o=0;o<arguments.length;o++)m[o]=arguments[o];var u=p(this,m.length),d=this.value.unshift.apply(this.value,m);return u(),d},a.push=function(){for(var m=[],o=0;o<arguments.length;o++)m[o]=arguments[o];return r.assert(this.value),delete s(this).length,this.value.push.apply(this.value,m)},a.pop=function(){r.assert(this.value);var m=s(this);return delete m[this.value.length-1],delete m.length,this.value.pop()},a.insertAt=function(m){var o=arguments.length,u=p(this,o-1,m);if(u===c&&o<=1)return this;m=Math.max(m,0);for(var d=1;d<o;++d)this.value[m+d-1]=arguments[d];return u(),this},a.insertBefore=function(){for(var m=[],o=0;o<arguments.length;o++)m[o]=arguments[o];for(var u=this.parentPath,d=m.length,h=[this.name],g=0;g<d;++g)h.push(m[g]);return u.insertAt.apply(u,h)},a.insertAfter=function(){for(var m=[],o=0;o<arguments.length;o++)m[o]=arguments[o];for(var u=this.parentPath,d=m.length,h=[this.name+1],g=0;g<d;++g)h.push(m[g]);return u.insertAt.apply(u,h)};function f(v){if(!(v instanceof i))throw new Error("");var m=v.parentPath;if(!m)return v;var o=m.value,u=s(m);if(o[v.name]===v.value)u[v.name]=v;else if(r.check(o)){var d=o.indexOf(v.value);d>=0&&(u[v.name=d]=v)}else o[v.name]=v.value,u[v.name]=v;if(o[v.name]!==v.value)throw new Error("");if(v.parentPath.get(v.name)!==v)throw new Error("");return v}return a.replace=function(m){var o=[],u=this.parentPath.value,d=s(this.parentPath),h=arguments.length;if(f(this),r.check(u)){for(var g=u.length,y=p(this.parentPath,h-1,this.name+1),b=[this.name,1],x=0;x<h;++x)b.push(arguments[x]);var w=u.splice.apply(u,b);if(w[0]!==this.value)throw new Error("");if(u.length!==g-1+h)throw new Error("");if(y(),h===0)delete this.value,delete d[this.name],this.__childCache=null;else{if(u[this.name]!==m)throw new Error("");for(this.value!==m&&(this.value=m,this.__childCache=null),x=0;x<h;++x)o.push(this.parentPath.get(this.name+x));if(o[0]!==this)throw new Error("")}}else if(h===1)this.value!==m&&(this.__childCache=null),this.value=u[this.name]=m,o.push(this);else if(h===0)delete u[this.name],delete this.value,this.__childCache=null;else throw new Error("Could not replace path");return o},i}is.default=Ck;Zg.exports=is.default});var ty=D((as,ey)=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});var Ak=K(),_k=Ak.__importDefault(pe()),bi=Object.prototype.hasOwnProperty;function Tk(n){var t=n.use(_k.default),r=t.Type,e=t.namedTypes,i=e.Node,a=e.Expression,s=t.builtInTypes.array,l=t.builders,c=function y(b,x){if(!(this instanceof y))throw new Error("Scope constructor cannot be invoked without 'new'");f.assert(b.value);var w;if(x){if(!(x instanceof y))throw new Error("");w=x.depth+1}else x=null,w=0;Object.defineProperties(this,{path:{value:b},node:{value:b.value},isGlobal:{value:!x,enumerable:!0},depth:{value:w},parent:{value:x},bindings:{value:{}},types:{value:{}}})},p=[e.Program,e.Function,e.CatchClause],f=r.or.apply(r,p);c.isEstablishedBy=function(y){return f.check(y)};var v=c.prototype;v.didScan=!1,v.declares=function(y){return this.scan(),bi.call(this.bindings,y)},v.declaresType=function(y){return this.scan(),bi.call(this.types,y)},v.declareTemporary=function(y){if(y){if(!/^[a-z$_]/i.test(y))throw new Error("")}else y="t$";y+=this.depth.toString(36)+"$",this.scan();for(var b=0;this.declares(y+b);)++b;var x=y+b;return this.bindings[x]=t.builders.identifier(x)},v.injectTemporary=function(y,b){y||(y=this.declareTemporary());var x=this.path.get("body");return e.BlockStatement.check(x.value)&&(x=x.get("body")),x.unshift(l.variableDeclaration("var",[l.variableDeclarator(y,b||null)])),y},v.scan=function(y){if(y||!this.didScan){for(var b in this.bindings)delete this.bindings[b];m(this.path,this.bindings,this.types),this.didScan=!0}},v.getBindings=function(){return this.scan(),this.bindings},v.getTypes=function(){return this.scan(),this.types};function m(y,b,x){var w=y.value;if(f.assert(w),e.CatchClause.check(w)){var E=y.get("param");E.value&&h(E,b)}else o(y,b,x)}function o(y,b,x){var w=y.value;y.parent&&e.FunctionExpression.check(y.parent.node)&&y.parent.node.id&&h(y.parent.get("id"),b),w&&(s.check(w)?y.each(function(E){d(E,b,x)}):e.Function.check(w)?(y.get("params").each(function(E){h(E,b)}),d(y.get("body"),b,x)):e.TypeAlias&&e.TypeAlias.check(w)||e.InterfaceDeclaration&&e.InterfaceDeclaration.check(w)||e.TSTypeAliasDeclaration&&e.TSTypeAliasDeclaration.check(w)||e.TSInterfaceDeclaration&&e.TSInterfaceDeclaration.check(w)?g(y.get("id"),x):e.VariableDeclarator.check(w)?(h(y.get("id"),b),d(y.get("init"),b,x)):w.type==="ImportSpecifier"||w.type==="ImportNamespaceSpecifier"||w.type==="ImportDefaultSpecifier"?h(y.get(w.local?"local":w.name?"name":"id"),b):i.check(w)&&!a.check(w)&&t.eachField(w,function(E,C){var T=y.get(E);if(!u(T,C))throw new Error("");d(T,b,x)}))}function u(y,b){return!!(y.value===b||Array.isArray(y.value)&&y.value.length===0&&Array.isArray(b)&&b.length===0)}function d(y,b,x){var w=y.value;if(!(!w||a.check(w)))if(e.FunctionDeclaration.check(w)&&w.id!==null)h(y.get("id"),b);else if(e.ClassDeclaration&&e.ClassDeclaration.check(w))h(y.get("id"),b);else if(f.check(w)){if(e.CatchClause.check(w)&&e.Identifier.check(w.param)){var E=w.param.name,C=bi.call(b,E);o(y.get("body"),b,x),C||delete b[E]}}else o(y,b,x)}function h(y,b){var x=y.value;e.Pattern.assert(x),e.Identifier.check(x)?bi.call(b,x.name)?b[x.name].push(y):b[x.name]=[y]:e.AssignmentPattern&&e.AssignmentPattern.check(x)?h(y.get("left"),b):e.ObjectPattern&&e.ObjectPattern.check(x)?y.get("properties").each(function(w){var E=w.value;e.Pattern.check(E)?h(w,b):e.Property.check(E)?h(w.get("value"),b):e.SpreadProperty&&e.SpreadProperty.check(E)&&h(w.get("argument"),b)}):e.ArrayPattern&&e.ArrayPattern.check(x)?y.get("elements").each(function(w){var E=w.value;e.Pattern.check(E)?h(w,b):e.SpreadElement&&e.SpreadElement.check(E)&&h(w.get("argument"),b)}):e.PropertyPattern&&e.PropertyPattern.check(x)?h(y.get("pattern"),b):(e.SpreadElementPattern&&e.SpreadElementPattern.check(x)||e.RestElement&&e.RestElement.check(x)||e.SpreadPropertyPattern&&e.SpreadPropertyPattern.check(x))&&h(y.get("argument"),b)}function g(y,b){var x=y.value;e.Pattern.assert(x),e.Identifier.check(x)&&(bi.call(b,x.name)?b[x.name].push(y):b[x.name]=[y])}return v.lookup=function(y){for(var b=this;b&&!b.declares(y);b=b.parent);return b},v.lookupType=function(y){for(var b=this;b&&!b.declaresType(y);b=b.parent);return b},v.getGlobalScope=function(){for(var y=this;!y.isGlobal;)y=y.parent;return y},c}as.default=Tk;ey.exports=as.default});var Bc=D((ss,ry)=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});var Lc=K(),kk=Lc.__importDefault(pe()),Fk=Lc.__importDefault(Nc()),Ok=Lc.__importDefault(ty());function Pk(n){var t=n.use(kk.default),r=t.namedTypes,e=t.builders,i=t.builtInTypes.number,a=t.builtInTypes.array,s=n.use(Fk.default),l=n.use(Ok.default),c=function g(y,b,x){if(!(this instanceof g))throw new Error("NodePath constructor cannot be invoked without 'new'");s.call(this,y,b,x)},p=c.prototype=Object.create(s.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}});Object.defineProperties(p,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),p.replace=function(){return delete this.node,delete this.parent,delete this.scope,s.prototype.replace.apply(this,arguments)},p.prune=function(){var g=this.parent;return this.replace(),d(g)},p._computeNode=function(){var g=this.value;if(r.Node.check(g))return g;var y=this.parentPath;return y&&y.node||null},p._computeParent=function(){var g=this.value,y=this.parentPath;if(!r.Node.check(g)){for(;y&&!r.Node.check(y.value);)y=y.parentPath;y&&(y=y.parentPath)}for(;y&&!r.Node.check(y.value);)y=y.parentPath;return y||null},p._computeScope=function(){var g=this.value,y=this.parentPath,b=y&&y.scope;return r.Node.check(g)&&l.isEstablishedBy(g)&&(b=new l(this,b)),b||null},p.getValueProperty=function(g){return t.getFieldValue(this.value,g)},p.needsParens=function(g){var y=this.parentPath;if(!y)return!1;var b=this.value;if(!r.Expression.check(b)||b.type==="Identifier")return!1;for(;!r.Node.check(y.value);)if(y=y.parentPath,!y)return!1;var x=y.value;switch(b.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return x.type==="MemberExpression"&&this.name==="object"&&x.object===b;case"BinaryExpression":case"LogicalExpression":switch(x.type){case"CallExpression":return this.name==="callee"&&x.callee===b;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return this.name==="object"&&x.object===b;case"BinaryExpression":case"LogicalExpression":{var w=b,E=x.operator,C=m[E],T=w.operator,M=m[T];if(C>M)return!0;if(C===M&&this.name==="right"){if(x.right!==w)throw new Error("Nodes must be equal");return!0}}default:return!1}case"SequenceExpression":switch(x.type){case"ForStatement":return!1;case"ExpressionStatement":return this.name!=="expression";default:return!0}case"YieldExpression":switch(x.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return x.type==="MemberExpression"&&i.check(b.value)&&this.name==="object"&&x.object===b;case"AssignmentExpression":case"ConditionalExpression":switch(x.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return this.name==="callee"&&x.callee===b;case"ConditionalExpression":return this.name==="test"&&x.test===b;case"MemberExpression":return this.name==="object"&&x.object===b;default:return!1}default:if(x.type==="NewExpression"&&this.name==="callee"&&x.callee===b)return o(b)}return!!(g!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function f(g){return r.BinaryExpression.check(g)||r.LogicalExpression.check(g)}function v(g){return r.UnaryExpression.check(g)||r.SpreadElement&&r.SpreadElement.check(g)||r.SpreadProperty&&r.SpreadProperty.check(g)}var m={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach(function(g,y){g.forEach(function(b){m[b]=y})});function o(g){return r.CallExpression.check(g)?!0:a.check(g)?g.some(o):r.Node.check(g)?t.someField(g,function(y,b){return o(b)}):!1}p.canBeFirstInStatement=function(){var g=this.node;return!r.FunctionExpression.check(g)&&!r.ObjectExpression.check(g)},p.firstInStatement=function(){return u(this)};function u(g){for(var y,b;g.parent;g=g.parent){if(y=g.node,b=g.parent.node,r.BlockStatement.check(b)&&g.parent.name==="body"&&g.name===0){if(b.body[0]!==y)throw new Error("Nodes must be equal");return!0}if(r.ExpressionStatement.check(b)&&g.name==="expression"){if(b.expression!==y)throw new Error("Nodes must be equal");return!0}if(r.SequenceExpression.check(b)&&g.parent.name==="expressions"&&g.name===0){if(b.expressions[0]!==y)throw new Error("Nodes must be equal");continue}if(r.CallExpression.check(b)&&g.name==="callee"){if(b.callee!==y)throw new Error("Nodes must be equal");continue}if(r.MemberExpression.check(b)&&g.name==="object"){if(b.object!==y)throw new Error("Nodes must be equal");continue}if(r.ConditionalExpression.check(b)&&g.name==="test"){if(b.test!==y)throw new Error("Nodes must be equal");continue}if(f(b)&&g.name==="left"){if(b.left!==y)throw new Error("Nodes must be equal");continue}if(r.UnaryExpression.check(b)&&!b.prefix&&g.name==="argument"){if(b.argument!==y)throw new Error("Nodes must be equal");continue}return!1}return!0}function d(g){if(r.VariableDeclaration.check(g.node)){var y=g.get("declarations").value;if(!y||y.length===0)return g.prune()}else if(r.ExpressionStatement.check(g.node)){if(!g.get("expression").value)return g.prune()}else r.IfStatement.check(g.node)&&h(g);return g}function h(g){var y=g.get("test").value,b=g.get("alternate").value,x=g.get("consequent").value;if(!x&&!b){var w=e.expressionStatement(y);g.replace(w)}else if(!x&&b){var E=e.unaryExpression("!",y,!0);r.UnaryExpression.check(y)&&y.operator==="!"&&(E=y.argument),g.get("test").replace(E),g.get("consequent").replace(b),g.get("alternate").replace()}}return c}ss.default=Pk;ry.exports=ss.default});var ay=D((ls,iy)=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});var ny=K(),Mk=ny.__importDefault(pe()),Ik=ny.__importDefault(Bc()),os=Object.prototype.hasOwnProperty;function Nk(n){var t=n.use(Mk.default),r=n.use(Ik.default),e=t.builtInTypes.array,i=t.builtInTypes.object,a=t.builtInTypes.function,s,l=function u(){if(!(this instanceof u))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=c(this),this._shouldVisitComments=os.call(this._methodNameTable,"Block")||os.call(this._methodNameTable,"Line"),this.Context=m(this),this._visiting=!1,this._changeReported=!1};function c(u){var d=Object.create(null);for(var h in u)/^visit[A-Z]/.test(h)&&(d[h.slice(5)]=!0);for(var g=t.computeSupertypeLookupTable(d),y=Object.create(null),b=Object.keys(g),x=b.length,w=0;w<x;++w){var E=b[w];h="visit"+g[E],a.check(u[h])&&(y[E]=h)}return y}l.fromMethodsObject=function(d){if(d instanceof l)return d;if(!i.check(d))return new l;var h=function y(){if(!(this instanceof y))throw new Error("Visitor constructor cannot be invoked without 'new'");l.call(this)},g=h.prototype=Object.create(f);return g.constructor=h,p(g,d),p(h,l),a.assert(h.fromMethodsObject),a.assert(h.visit),new h};function p(u,d){for(var h in d)os.call(d,h)&&(u[h]=d[h]);return u}l.visit=function(d,h){return l.fromMethodsObject(h).visit(d)};var f=l.prototype;f.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;for(var u=arguments.length,d=new Array(u),h=0;h<u;++h)d[h]=arguments[h];d[0]instanceof r||(d[0]=new r({root:d[0]}).get("root")),this.reset.apply(this,d);var g;try{var y=this.visitWithoutReset(d[0]);g=!0}finally{if(this._visiting=!1,!g&&this._abortRequested)return d[0].value}return y},f.AbortRequest=function(){},f.abort=function(){var u=this;u._abortRequested=!0;var d=new u.AbortRequest;throw d.cancel=function(){u._abortRequested=!1},d},f.reset=function(u){},f.visitWithoutReset=function(u){if(this instanceof this.Context)return this.visitor.visitWithoutReset(u);if(!(u instanceof r))throw new Error("");var d=u.value,h=d&&typeof d=="object"&&typeof d.type=="string"&&this._methodNameTable[d.type];if(h){var g=this.acquireContext(u);try{return g.invokeVisitorMethod(h)}finally{this.releaseContext(g)}}else return v(u,this)};function v(u,d){if(!(u instanceof r))throw new Error("");if(!(d instanceof l))throw new Error("");var h=u.value;if(e.check(h))u.each(d.visitWithoutReset,d);else if(i.check(h)){var g=t.getFieldNames(h);d._shouldVisitComments&&h.comments&&g.indexOf("comments")<0&&g.push("comments");for(var y=g.length,b=[],x=0;x<y;++x){var w=g[x];os.call(h,w)||(h[w]=t.getFieldValue(h,w)),b.push(u.get(w))}for(var x=0;x<y;++x)d.visitWithoutReset(b[x])}return u.value}f.acquireContext=function(u){return this._reusableContextStack.length===0?new this.Context(u):this._reusableContextStack.pop().reset(u)},f.releaseContext=function(u){if(!(u instanceof this.Context))throw new Error("");this._reusableContextStack.push(u),u.currentPath=null},f.reportChanged=function(){this._changeReported=!0},f.wasChangeReported=function(){return this._changeReported};function m(u){function d(g){if(!(this instanceof d))throw new Error("");if(!(this instanceof l))throw new Error("");if(!(g instanceof r))throw new Error("");Object.defineProperty(this,"visitor",{value:u,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=g,this.needToCallTraverse=!0,Object.seal(this)}if(!(u instanceof l))throw new Error("");var h=d.prototype=Object.create(u);return h.constructor=d,p(h,o),d}var o=Object.create(null);return o.reset=function(d){if(!(this instanceof this.Context))throw new Error("");if(!(d instanceof r))throw new Error("");return this.currentPath=d,this.needToCallTraverse=!0,this},o.invokeVisitorMethod=function(d){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");var h=this.visitor[d].call(this,this.currentPath);if(h===!1?this.needToCallTraverse=!1:h!==s&&(this.currentPath=this.currentPath.replace(h)[0],this.needToCallTraverse&&this.traverse(this.currentPath)),this.needToCallTraverse!==!1)throw new Error("Must either call this.traverse or return false in "+d);var g=this.currentPath;return g&&g.value},o.traverse=function(d,h){if(!(this instanceof this.Context))throw new Error("");if(!(d instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,v(d,l.fromMethodsObject(h||this.visitor))},o.visit=function(d,h){if(!(this instanceof this.Context))throw new Error("");if(!(d instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,l.fromMethodsObject(h||this.visitor).visitWithoutReset(d)},o.reportChanged=function(){this.visitor.reportChanged()},o.abort=function(){this.needToCallTraverse=!1,this.visitor.abort()},l}ls.default=Nk;iy.exports=ls.default});var oy=D((us,sy)=>{"use strict";Object.defineProperty(us,"__esModule",{value:!0});var Lk=K(),Bk=Lk.__importDefault(pe());function qk(n){var t=n.use(Bk.default),r=t.getFieldNames,e=t.getFieldValue,i=t.builtInTypes.array,a=t.builtInTypes.object,s=t.builtInTypes.Date,l=t.builtInTypes.RegExp,c=Object.prototype.hasOwnProperty;function p(u,d,h){return i.check(h)?h.length=0:h=null,v(u,d,h)}p.assert=function(u,d){var h=[];if(!p(u,d,h))if(h.length===0){if(u!==d)throw new Error("Nodes must be equal")}else throw new Error("Nodes differ in the following path: "+h.map(f).join(""))};function f(u){return/[_$a-z][_$a-z0-9]*/i.test(u)?"."+u:"["+JSON.stringify(u)+"]"}function v(u,d,h){return u===d?!0:i.check(u)?m(u,d,h):a.check(u)?o(u,d,h):s.check(u)?s.check(d)&&+u==+d:l.check(u)?l.check(d)&&u.source===d.source&&u.global===d.global&&u.multiline===d.multiline&&u.ignoreCase===d.ignoreCase:u==d}function m(u,d,h){i.assert(u);var g=u.length;if(!i.check(d)||d.length!==g)return h&&h.push("length"),!1;for(var y=0;y<g;++y){if(h&&h.push(y),y in u!=y in d||!v(u[y],d[y],h))return!1;if(h){var b=h.pop();if(b!==y)throw new Error(""+b)}}return!0}function o(u,d,h){if(a.assert(u),!a.check(d))return!1;if(u.type!==d.type)return h&&h.push("type"),!1;var g=r(u),y=g.length,b=r(d),x=b.length;if(y===x){for(var w=0;w<y;++w){var E=g[w],C=e(u,E),T=e(d,E);if(h&&h.push(E),!v(C,T,h))return!1;if(h){var M=h.pop();if(M!==E)throw new Error(""+M)}}return!0}if(!h)return!1;var U=Object.create(null);for(w=0;w<y;++w)U[g[w]]=!0;for(w=0;w<x;++w){if(E=b[w],!c.call(U,E))return h.push(E),!1;delete U[E]}for(E in U){h.push(E);break}return!1}return p}us.default=qk;sy.exports=us.default});var uy=D((cs,ly)=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});var xi=K(),Rk=xi.__importDefault(pe()),jk=xi.__importDefault(ay()),Uk=xi.__importDefault(oy()),zk=xi.__importDefault(Nc()),Vk=xi.__importDefault(Bc());function Wk(n){var t=Jk(),r=t.use(Rk.default);n.forEach(t.use),r.finalize();var e=t.use(jk.default);return{Type:r.Type,builtInTypes:r.builtInTypes,namedTypes:r.namedTypes,builders:r.builders,defineMethod:r.defineMethod,getFieldNames:r.getFieldNames,getFieldValue:r.getFieldValue,eachField:r.eachField,someField:r.someField,getSupertypeNames:r.getSupertypeNames,getBuilderName:r.getBuilderName,astNodesAreEquivalent:t.use(Uk.default),finalize:r.finalize,Path:t.use(zk.default),NodePath:t.use(Vk.default),PathVisitor:e,use:t.use,visit:e.visit}}cs.default=Wk;function Jk(){var n=[],t=[];function r(i){var a=n.indexOf(i);return a===-1&&(a=n.length,n.push(i),t[a]=i(e)),t[a]}var e={use:r};return e}ly.exports=cs.default});var fs=D(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.LogicalOperators=Ht.AssignmentOperators=Ht.BinaryOperators=void 0;Ht.BinaryOperators=["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"];Ht.AssignmentOperators=["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="];Ht.LogicalOperators=["||","&&"]});var je=D((ds,cy)=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});var Xk=K(),$k=Xk.__importDefault(pe());function Gk(n){var t=n.use($k.default),r=t.Type,e=t.builtInTypes,i=e.number;function a(p){return r.from(function(f){return i.check(f)&&f>=p},i+" >= "+p)}var s={null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},l=r.or(e.string,e.number,e.boolean,e.null,e.undefined),c=r.from(function(p){if(p===null)return!0;var f=typeof p;return!(f==="object"||f==="function")},l.toString());return{geq:a,defaults:s,isPrimitive:c}}ds.default=Gk;cy.exports=ds.default});var Rc=D((ps,dy)=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});var fy=K(),qc=fs(),Hk=fy.__importDefault(pe()),Kk=fy.__importDefault(je());function Yk(n){var t=n.use(Hk.default),r=t.Type,e=r.def,i=r.or,a=n.use(Kk.default),s=a.defaults,l=a.geq;e("Printable").field("loc",i(e("SourceLocation"),null),s.null,!0),e("Node").bases("Printable").field("type",String).field("comments",i([e("Comment")],null),s.null,!0),e("SourceLocation").field("start",e("Position")).field("end",e("Position")).field("source",i(String,null),s.null),e("Position").field("line",l(1)).field("column",l(0)),e("File").bases("Node").build("program","name").field("program",e("Program")).field("name",i(String,null),s.null),e("Program").bases("Node").build("body").field("body",[e("Statement")]),e("Function").bases("Node").field("id",i(e("Identifier"),null),s.null).field("params",[e("Pattern")]).field("body",e("BlockStatement")).field("generator",Boolean,s.false).field("async",Boolean,s.false),e("Statement").bases("Node"),e("EmptyStatement").bases("Statement").build(),e("BlockStatement").bases("Statement").build("body").field("body",[e("Statement")]),e("ExpressionStatement").bases("Statement").build("expression").field("expression",e("Expression")),e("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",e("Expression")).field("consequent",e("Statement")).field("alternate",i(e("Statement"),null),s.null),e("LabeledStatement").bases("Statement").build("label","body").field("label",e("Identifier")).field("body",e("Statement")),e("BreakStatement").bases("Statement").build("label").field("label",i(e("Identifier"),null),s.null),e("ContinueStatement").bases("Statement").build("label").field("label",i(e("Identifier"),null),s.null),e("WithStatement").bases("Statement").build("object","body").field("object",e("Expression")).field("body",e("Statement")),e("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",e("Expression")).field("cases",[e("SwitchCase")]).field("lexical",Boolean,s.false),e("ReturnStatement").bases("Statement").build("argument").field("argument",i(e("Expression"),null)),e("ThrowStatement").bases("Statement").build("argument").field("argument",e("Expression")),e("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",e("BlockStatement")).field("handler",i(e("CatchClause"),null),function(){return this.handlers&&this.handlers[0]||null}).field("handlers",[e("CatchClause")],function(){return this.handler?[this.handler]:[]},!0).field("guardedHandlers",[e("CatchClause")],s.emptyArray).field("finalizer",i(e("BlockStatement"),null),s.null),e("CatchClause").bases("Node").build("param","guard","body").field("param",e("Pattern")).field("guard",i(e("Expression"),null),s.null).field("body",e("BlockStatement")),e("WhileStatement").bases("Statement").build("test","body").field("test",e("Expression")).field("body",e("Statement")),e("DoWhileStatement").bases("Statement").build("body","test").field("body",e("Statement")).field("test",e("Expression")),e("ForStatement").bases("Statement").build("init","test","update","body").field("init",i(e("VariableDeclaration"),e("Expression"),null)).field("test",i(e("Expression"),null)).field("update",i(e("Expression"),null)).field("body",e("Statement")),e("ForInStatement").bases("Statement").build("left","right","body").field("left",i(e("VariableDeclaration"),e("Expression"))).field("right",e("Expression")).field("body",e("Statement")),e("DebuggerStatement").bases("Statement").build(),e("Declaration").bases("Statement"),e("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",e("Identifier")),e("FunctionExpression").bases("Function","Expression").build("id","params","body"),e("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",i("var","let","const")).field("declarations",[e("VariableDeclarator")]),e("VariableDeclarator").bases("Node").build("id","init").field("id",e("Pattern")).field("init",i(e("Expression"),null),s.null),e("Expression").bases("Node"),e("ThisExpression").bases("Expression").build(),e("ArrayExpression").bases("Expression").build("elements").field("elements",[i(e("Expression"),null)]),e("ObjectExpression").bases("Expression").build("properties").field("properties",[e("Property")]),e("Property").bases("Node").build("kind","key","value").field("kind",i("init","get","set")).field("key",i(e("Literal"),e("Identifier"))).field("value",e("Expression")),e("SequenceExpression").bases("Expression").build("expressions").field("expressions",[e("Expression")]);var c=i("-","+","!","~","typeof","void","delete");e("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",c).field("argument",e("Expression")).field("prefix",Boolean,s.true);var p=i.apply(void 0,qc.BinaryOperators);e("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",p).field("left",e("Expression")).field("right",e("Expression"));var f=i.apply(void 0,qc.AssignmentOperators);e("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",f).field("left",i(e("Pattern"),e("MemberExpression"))).field("right",e("Expression"));var v=i("++","--");e("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",v).field("argument",e("Expression")).field("prefix",Boolean);var m=i.apply(void 0,qc.LogicalOperators);e("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",m).field("left",e("Expression")).field("right",e("Expression")),e("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",e("Expression")).field("consequent",e("Expression")).field("alternate",e("Expression")),e("NewExpression").bases("Expression").build("callee","arguments").field("callee",e("Expression")).field("arguments",[e("Expression")]),e("CallExpression").bases("Expression").build("callee","arguments").field("callee",e("Expression")).field("arguments",[e("Expression")]),e("MemberExpression").bases("Expression").build("object","property","computed").field("object",e("Expression")).field("property",i(e("Identifier"),e("Expression"))).field("computed",Boolean,function(){var o=this.property.type;return o==="Literal"||o==="MemberExpression"||o==="BinaryExpression"}),e("Pattern").bases("Node"),e("SwitchCase").bases("Node").build("test","consequent").field("test",i(e("Expression"),null)).field("consequent",[e("Statement")]),e("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,s.false),e("Literal").bases("Expression").build("value").field("value",i(String,Boolean,null,Number,RegExp)).field("regex",i({pattern:String,flags:String},null),function(){if(this.value instanceof RegExp){var o="";return this.value.ignoreCase&&(o+="i"),this.value.multiline&&(o+="m"),this.value.global&&(o+="g"),{pattern:this.value.source,flags:o}}return null}),e("Comment").bases("Printable").field("value",String).field("leading",Boolean,s.true).field("trailing",Boolean,s.false)}ps.default=Yk;dy.exports=ps.default});var Uc=D((hs,py)=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});var jc=K(),Qk=jc.__importDefault(Rc()),Zk=jc.__importDefault(pe()),eF=jc.__importDefault(je());function tF(n){n.use(Qk.default);var t=n.use(Zk.default),r=t.Type.def,e=t.Type.or,i=n.use(eF.default).defaults;r("Function").field("generator",Boolean,i.false).field("expression",Boolean,i.false).field("defaults",[e(r("Expression"),null)],i.emptyArray).field("rest",e(r("Identifier"),null),i.null),r("RestElement").bases("Pattern").build("argument").field("argument",r("Pattern")).field("typeAnnotation",e(r("TypeAnnotation"),r("TSTypeAnnotation"),null),i.null),r("SpreadElementPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("FunctionDeclaration").build("id","params","body","generator","expression").field("id",e(r("Identifier"),null)),r("FunctionExpression").build("id","params","body","generator","expression"),r("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,i.null).field("body",e(r("BlockStatement"),r("Expression"))).field("generator",!1,i.false),r("ForOfStatement").bases("Statement").build("left","right","body").field("left",e(r("VariableDeclaration"),r("Pattern"))).field("right",r("Expression")).field("body",r("Statement")),r("YieldExpression").bases("Expression").build("argument","delegate").field("argument",e(r("Expression"),null)).field("delegate",Boolean,i.false),r("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",e(r("Expression"),null)),r("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",e(r("Expression"),null)),r("ComprehensionBlock").bases("Node").build("left","right","each").field("left",r("Pattern")).field("right",r("Expression")).field("each",Boolean),r("Property").field("key",e(r("Literal"),r("Identifier"),r("Expression"))).field("value",e(r("Expression"),r("Pattern"))).field("method",Boolean,i.false).field("shorthand",Boolean,i.false).field("computed",Boolean,i.false),r("ObjectProperty").field("shorthand",Boolean,i.false),r("PropertyPattern").bases("Pattern").build("key","pattern").field("key",e(r("Literal"),r("Identifier"),r("Expression"))).field("pattern",r("Pattern")).field("computed",Boolean,i.false),r("ObjectPattern").bases("Pattern").build("properties").field("properties",[e(r("PropertyPattern"),r("Property"))]),r("ArrayPattern").bases("Pattern").build("elements").field("elements",[e(r("Pattern"),null)]),r("SpreadElement").bases("Node").build("argument").field("argument",r("Expression")),r("ArrayExpression").field("elements",[e(r("Expression"),r("SpreadElement"),r("RestElement"),null)]),r("NewExpression").field("arguments",[e(r("Expression"),r("SpreadElement"))]),r("CallExpression").field("arguments",[e(r("Expression"),r("SpreadElement"))]),r("AssignmentPattern").bases("Pattern").build("left","right").field("left",r("Pattern")).field("right",r("Expression")),r("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",e("constructor","method","get","set")).field("key",r("Expression")).field("value",r("Function")).field("computed",Boolean,i.false).field("static",Boolean,i.false);var a=e(r("MethodDefinition"),r("VariableDeclarator"),r("ClassPropertyDefinition"),r("ClassProperty"));r("ClassProperty").bases("Declaration").build("key").field("key",e(r("Literal"),r("Identifier"),r("Expression"))).field("computed",Boolean,i.false),r("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",a),r("ClassBody").bases("Declaration").build("body").field("body",[a]),r("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",e(r("Identifier"),null)).field("body",r("ClassBody")).field("superClass",e(r("Expression"),null),i.null),r("ClassExpression").bases("Expression").build("id","body","superClass").field("id",e(r("Identifier"),null),i.null).field("body",r("ClassBody")).field("superClass",e(r("Expression"),null),i.null),r("Super").bases("Expression").build(),r("Specifier").bases("Node"),r("ModuleSpecifier").bases("Specifier").field("local",e(r("Identifier"),null),i.null).field("id",e(r("Identifier"),null),i.null).field("name",e(r("Identifier"),null),i.null),r("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",r("Identifier")),r("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),r("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),r("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[e(r("ImportSpecifier"),r("ImportNamespaceSpecifier"),r("ImportDefaultSpecifier"))],i.emptyArray).field("source",r("Literal")).field("importKind",e("value","type"),function(){return"value"}),r("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",e(r("Declaration"),null)).field("specifiers",[r("ExportSpecifier")],i.emptyArray).field("source",e(r("Literal"),null),i.null),r("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",r("Identifier")),r("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",e(r("Declaration"),r("Expression"))),r("ExportAllDeclaration").bases("Declaration").build("source").field("source",r("Literal")),r("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",r("Expression")).field("quasi",r("TemplateLiteral")),r("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[r("TemplateElement")]).field("expressions",[r("Expression")]),r("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),r("MetaProperty").bases("Expression").build("meta","property").field("meta",r("Identifier")).field("property",r("Identifier"))}hs.default=tF;py.exports=hs.default});var zc=D((vs,my)=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});var ms=K(),hy=fs(),rF=ms.__importDefault(Uc()),nF=ms.__importDefault(pe());function iF(n){n.use(rF.default);var t=n.use(nF.default),r=t.Type.def,e=t.Type.or,i=e.apply(void 0,ms.__spreadArrays(hy.BinaryOperators,["**"]));r("BinaryExpression").field("operator",i);var a=e.apply(void 0,ms.__spreadArrays(hy.AssignmentOperators,["**="]));r("AssignmentExpression").field("operator",a)}vs.default=iF;my.exports=vs.default});var Wc=D((gs,vy)=>{"use strict";Object.defineProperty(gs,"__esModule",{value:!0});var Vc=K(),aF=Vc.__importDefault(zc()),sF=Vc.__importDefault(pe()),oF=Vc.__importDefault(je());function lF(n){n.use(aF.default);var t=n.use(sF.default),r=t.Type.def,e=n.use(oF.default).defaults;r("Function").field("async",Boolean,e.false),r("AwaitExpression").bases("Expression").build("argument").field("argument",r("Expression"))}gs.default=lF;vy.exports=gs.default});var Xc=D((ys,gy)=>{"use strict";Object.defineProperty(ys,"__esModule",{value:!0});var Jc=K(),uF=Jc.__importDefault(Wc()),cF=Jc.__importDefault(pe()),fF=Jc.__importDefault(je());function dF(n){n.use(uF.default);var t=n.use(cF.default),r=t.Type.def,e=t.Type.or,i=n.use(fF.default).defaults;r("ForOfStatement").field("await",Boolean,i.false),r("SpreadProperty").bases("Node").build("argument").field("argument",r("Expression")),r("ObjectExpression").field("properties",[e(r("Property"),r("SpreadProperty"),r("SpreadElement"))]),r("TemplateElement").field("value",{cooked:e(String,null),raw:String}),r("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("ObjectPattern").field("properties",[e(r("PropertyPattern"),r("Property"),r("RestElement"),r("SpreadPropertyPattern"))])}ys.default=dF;gy.exports=ys.default});var Gc=D((bs,yy)=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});var $c=K(),pF=$c.__importDefault(Xc()),hF=$c.__importDefault(pe()),mF=$c.__importDefault(je());function vF(n){n.use(pF.default);var t=n.use(hF.default),r=t.Type.def,e=t.Type.or,i=n.use(mF.default).defaults;r("CatchClause").field("param",e(r("Pattern"),null),i.null)}bs.default=vF;yy.exports=bs.default});var Si=D((Ss,by)=>{"use strict";Object.defineProperty(Ss,"__esModule",{value:!0});var xs=K(),gF=fs(),yF=xs.__importDefault(Gc()),bF=xs.__importDefault(pe()),xF=xs.__importDefault(je());function SF(n){n.use(yF.default);var t=n.use(bF.default),r=t.Type.def,e=t.Type.or,i=n.use(xF.default),a=i.defaults;r("ImportExpression").bases("Expression").build("source").field("source",r("Expression")),r("ExportAllDeclaration").build("source","exported").field("source",r("Literal")).field("exported",e(r("Identifier"),null)),r("ChainElement").bases("Node").field("optional",Boolean,a.false),r("CallExpression").bases("Expression","ChainElement"),r("MemberExpression").bases("Expression","ChainElement"),r("ChainExpression").bases("Expression").build("expression").field("expression",r("ChainElement")),r("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,a.true),r("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,a.true);var s=e.apply(void 0,xs.__spreadArrays(gF.LogicalOperators,["??"]));r("LogicalExpression").field("operator",s)}Ss.default=SF;by.exports=Ss.default});var Sy=D((ws,xy)=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});var Hc=K(),wF=Hc.__importDefault(Si()),EF=Hc.__importDefault(pe()),DF=Hc.__importDefault(je());function CF(n){n.use(wF.default);var t=n.use(EF.default),r=t.Type.def,e=t.Type.or,i=n.use(DF.default).defaults;r("JSXAttribute").bases("Node").build("name","value").field("name",e(r("JSXIdentifier"),r("JSXNamespacedName"))).field("value",e(r("Literal"),r("JSXExpressionContainer"),r("JSXElement"),r("JSXFragment"),null),i.null),r("JSXIdentifier").bases("Identifier").build("name").field("name",String),r("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",r("JSXIdentifier")).field("name",r("JSXIdentifier")),r("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",e(r("JSXIdentifier"),r("JSXMemberExpression"))).field("property",r("JSXIdentifier")).field("computed",Boolean,i.false);var a=e(r("JSXIdentifier"),r("JSXNamespacedName"),r("JSXMemberExpression"));r("JSXSpreadAttribute").bases("Node").build("argument").field("argument",r("Expression"));var s=[e(r("JSXAttribute"),r("JSXSpreadAttribute"))];r("JSXExpressionContainer").bases("Expression").build("expression").field("expression",e(r("Expression"),r("JSXEmptyExpression")));var l=[e(r("JSXText"),r("JSXExpressionContainer"),r("JSXSpreadChild"),r("JSXElement"),r("JSXFragment"),r("Literal"))];r("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",r("JSXOpeningElement")).field("closingElement",e(r("JSXClosingElement"),null),i.null).field("children",l,i.emptyArray).field("name",a,function(){return this.openingElement.name},!0).field("selfClosing",Boolean,function(){return this.openingElement.selfClosing},!0).field("attributes",s,function(){return this.openingElement.attributes},!0),r("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",a).field("attributes",s,i.emptyArray).field("selfClosing",Boolean,i.false),r("JSXClosingElement").bases("Node").build("name").field("name",a),r("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",r("JSXOpeningFragment")).field("closingFragment",r("JSXClosingFragment")).field("children",l,i.emptyArray),r("JSXOpeningFragment").bases("Node").build(),r("JSXClosingFragment").bases("Node").build(),r("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,function(){return this.value}),r("JSXEmptyExpression").bases("Node").build(),r("JSXSpreadChild").bases("Node").build("expression").field("expression",r("Expression"))}ws.default=CF;xy.exports=ws.default});var Ds=D((Es,wy)=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});var Kc=K(),AF=Kc.__importDefault(pe()),_F=Kc.__importDefault(je()),TF=Kc.__importDefault(Si());function kF(n){n.use(TF.default);var t=n.use(AF.default),r=t.Type,e=t.Type.def,i=r.or,a=n.use(_F.default),s=a.defaults;e("AwaitExpression").build("argument","all").field("argument",i(e("Expression"),null)).field("all",Boolean,s.false),e("Decorator").bases("Node").build("expression").field("expression",e("Expression")),e("Property").field("decorators",i([e("Decorator")],null),s.null),e("MethodDefinition").field("decorators",i([e("Decorator")],null),s.null),e("PrivateName").bases("Expression","Pattern").build("id").field("id",e("Identifier")),e("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",e("PrivateName")).field("value",i(e("Expression"),null),s.null)}Es.default=kF;wy.exports=Es.default});var Yc=D((Cs,Dy)=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});var Ey=K(),FF=Ey.__importDefault(pe()),OF=Ey.__importDefault(je());function PF(n){var t=n.use(FF.default),r=t.Type.def,e=t.Type.or,i=n.use(OF.default).defaults,a=e(r("TypeAnnotation"),r("TSTypeAnnotation"),null),s=e(r("TypeParameterDeclaration"),r("TSTypeParameterDeclaration"),null);r("Identifier").field("typeAnnotation",a,i.null),r("ObjectPattern").field("typeAnnotation",a,i.null),r("Function").field("returnType",a,i.null).field("typeParameters",s,i.null),r("ClassProperty").build("key","value","typeAnnotation","static").field("value",e(r("Expression"),null)).field("static",Boolean,i.false).field("typeAnnotation",a,i.null),["ClassDeclaration","ClassExpression"].forEach(function(l){r(l).field("typeParameters",s,i.null).field("superTypeParameters",e(r("TypeParameterInstantiation"),r("TSTypeParameterInstantiation"),null),i.null).field("implements",e([r("ClassImplements")],[r("TSExpressionWithTypeArguments")]),i.emptyArray)})}Cs.default=PF;Dy.exports=Cs.default});var Qc=D((_s,Cy)=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});var As=K(),MF=As.__importDefault(Ds()),IF=As.__importDefault(Yc()),NF=As.__importDefault(pe()),LF=As.__importDefault(je());function BF(n){n.use(MF.default),n.use(IF.default);var t=n.use(NF.default),r=t.Type.def,e=t.Type.or,i=n.use(LF.default).defaults;r("Flow").bases("Node"),r("FlowType").bases("Flow"),r("AnyTypeAnnotation").bases("FlowType").build(),r("EmptyTypeAnnotation").bases("FlowType").build(),r("MixedTypeAnnotation").bases("FlowType").build(),r("VoidTypeAnnotation").bases("FlowType").build(),r("SymbolTypeAnnotation").bases("FlowType").build(),r("NumberTypeAnnotation").bases("FlowType").build(),r("BigIntTypeAnnotation").bases("FlowType").build(),r("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),r("StringTypeAnnotation").bases("FlowType").build(),r("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),r("BooleanTypeAnnotation").bases("FlowType").build(),r("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),r("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullLiteralTypeAnnotation").bases("FlowType").build(),r("NullTypeAnnotation").bases("FlowType").build(),r("ThisTypeAnnotation").bases("FlowType").build(),r("ExistsTypeAnnotation").bases("FlowType").build(),r("ExistentialTypeParam").bases("FlowType").build(),r("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[r("FunctionTypeParam")]).field("returnType",r("FlowType")).field("rest",e(r("FunctionTypeParam"),null)).field("typeParameters",e(r("TypeParameterDeclaration"),null)),r("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",e(r("Identifier"),null)).field("typeAnnotation",r("FlowType")).field("optional",Boolean),r("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",r("FlowType")),r("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[e(r("ObjectTypeProperty"),r("ObjectTypeSpreadProperty"))]).field("indexers",[r("ObjectTypeIndexer")],i.emptyArray).field("callProperties",[r("ObjectTypeCallProperty")],i.emptyArray).field("inexact",e(Boolean,void 0),i.undefined).field("exact",Boolean,i.false).field("internalSlots",[r("ObjectTypeInternalSlot")],i.emptyArray),r("Variance").bases("Node").build("kind").field("kind",e("plus","minus"));var a=e(r("Variance"),"plus","minus",null);r("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",e(r("Literal"),r("Identifier"))).field("value",r("FlowType")).field("optional",Boolean).field("variance",a,i.null),r("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",r("Identifier")).field("key",r("FlowType")).field("value",r("FlowType")).field("variance",a,i.null).field("static",Boolean,i.false),r("ObjectTypeCallProperty").bases("Node").build("value").field("value",r("FunctionTypeAnnotation")).field("static",Boolean,i.false),r("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",e(r("Identifier"),r("QualifiedTypeIdentifier"))).field("id",r("Identifier")),r("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",e(r("Identifier"),r("QualifiedTypeIdentifier"))).field("typeParameters",e(r("TypeParameterInstantiation"),null)),r("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",r("Identifier")).field("property",e(r("MemberTypeAnnotation"),r("GenericTypeAnnotation"))),r("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",r("FlowType")),r("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",r("FlowType")),r("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",r("Identifier")).field("value",r("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),r("TypeParameterDeclaration").bases("Node").build("params").field("params",[r("TypeParameter")]),r("TypeParameterInstantiation").bases("Node").build("params").field("params",[r("FlowType")]),r("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",a,i.null).field("bound",e(r("TypeAnnotation"),null),i.null).field("default",e(r("FlowType"),null),i.null),r("ClassProperty").field("variance",a,i.null),r("ClassImplements").bases("Node").build("id").field("id",r("Identifier")).field("superClass",e(r("Expression"),null),i.null).field("typeParameters",e(r("TypeParameterInstantiation"),null),i.null),r("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",r("ObjectTypeAnnotation")).field("extends",e([r("InterfaceExtends")],null),i.null),r("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",r("Identifier")).field("typeParameters",e(r("TypeParameterDeclaration"),null),i.null).field("body",r("ObjectTypeAnnotation")).field("extends",[r("InterfaceExtends")]),r("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),r("InterfaceExtends").bases("Node").build("id").field("id",r("Identifier")).field("typeParameters",e(r("TypeParameterInstantiation"),null),i.null),r("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",r("Identifier")).field("typeParameters",e(r("TypeParameterDeclaration"),null)).field("right",r("FlowType")),r("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),r("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",r("Identifier")).field("typeParameters",e(r("TypeParameterDeclaration"),null)).field("impltype",r("FlowType")).field("supertype",e(r("FlowType"),null)),r("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",e(r("FlowType"),null)),r("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",r("Expression")).field("typeAnnotation",r("TypeAnnotation")),r("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("DeclareVariable").bases("Statement").build("id").field("id",r("Identifier")),r("DeclareFunction").bases("Statement").build("id").field("id",r("Identifier")).field("predicate",e(r("FlowPredicate"),null),i.null),r("DeclareClass").bases("InterfaceDeclaration").build("id"),r("DeclareModule").bases("Statement").build("id","body").field("id",e(r("Identifier"),r("Literal"))).field("body",r("BlockStatement")),r("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",r("TypeAnnotation")),r("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",e(r("DeclareVariable"),r("DeclareFunction"),r("DeclareClass"),r("FlowType"),r("TypeAlias"),r("DeclareOpaqueType"),r("InterfaceDeclaration"),null)).field("specifiers",[e(r("ExportSpecifier"),r("ExportBatchSpecifier"))],i.emptyArray).field("source",e(r("Literal"),null),i.null),r("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",e(r("Literal"),null),i.null),r("ImportDeclaration").field("importKind",e("value","type","typeof"),function(){return"value"}),r("FlowPredicate").bases("Flow"),r("InferredPredicate").bases("FlowPredicate").build(),r("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",r("Expression")),r("Function").field("predicate",e(r("FlowPredicate"),null),i.null),r("CallExpression").field("typeArguments",e(null,r("TypeParameterInstantiation")),i.null),r("NewExpression").field("typeArguments",e(null,r("TypeParameterInstantiation")),i.null),r("EnumDeclaration").bases("Declaration").build("id","body").field("id",r("Identifier")).field("body",e(r("EnumBooleanBody"),r("EnumNumberBody"),r("EnumStringBody"),r("EnumSymbolBody"))),r("EnumBooleanBody").build("members","explicitType").field("members",[r("EnumBooleanMember")]).field("explicitType",Boolean),r("EnumNumberBody").build("members","explicitType").field("members",[r("EnumNumberMember")]).field("explicitType",Boolean),r("EnumStringBody").build("members","explicitType").field("members",e([r("EnumStringMember")],[r("EnumDefaultedMember")])).field("explicitType",Boolean),r("EnumSymbolBody").build("members").field("members",[r("EnumDefaultedMember")]),r("EnumBooleanMember").build("id","init").field("id",r("Identifier")).field("init",e(r("Literal"),Boolean)),r("EnumNumberMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumStringMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumDefaultedMember").build("id").field("id",r("Identifier"))}_s.default=BF;Cy.exports=_s.default});var _y=D((Ts,Ay)=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});var Zc=K(),qF=Zc.__importDefault(Si()),RF=Zc.__importDefault(pe()),jF=Zc.__importDefault(je());function UF(n){n.use(qF.default);var t=n.use(RF.default),r=n.use(jF.default).defaults,e=t.Type.def,i=t.Type.or;e("VariableDeclaration").field("declarations",[i(e("VariableDeclarator"),e("Identifier"))]),e("Property").field("value",i(e("Expression"),e("Pattern"))),e("ArrayPattern").field("elements",[i(e("Pattern"),e("SpreadElement"),null)]),e("ObjectPattern").field("properties",[i(e("Property"),e("PropertyPattern"),e("SpreadPropertyPattern"),e("SpreadProperty"))]),e("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),e("ExportBatchSpecifier").bases("Specifier").build(),e("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",i(e("Declaration"),e("Expression"),null)).field("specifiers",[i(e("ExportSpecifier"),e("ExportBatchSpecifier"))],r.emptyArray).field("source",i(e("Literal"),null),r.null),e("Block").bases("Comment").build("value","leading","trailing"),e("Line").bases("Comment").build("value","leading","trailing")}Ts.default=UF;Ay.exports=Ts.default});var tf=D((ks,Ty)=>{"use strict";Object.defineProperty(ks,"__esModule",{value:!0});var ef=K(),zF=ef.__importDefault(Ds()),VF=ef.__importDefault(pe()),WF=ef.__importDefault(je());function JF(n){n.use(zF.default);var t=n.use(VF.default),r=n.use(WF.default).defaults,e=t.Type.def,i=t.Type.or;e("Noop").bases("Statement").build(),e("DoExpression").bases("Expression").build("body").field("body",[e("Statement")]),e("BindExpression").bases("Expression").build("object","callee").field("object",i(e("Expression"),null)).field("callee",e("Expression")),e("ParenthesizedExpression").bases("Expression").build("expression").field("expression",e("Expression")),e("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",e("Identifier")),e("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",e("Identifier")),e("CommentBlock").bases("Comment").build("value","leading","trailing"),e("CommentLine").bases("Comment").build("value","leading","trailing"),e("Directive").bases("Node").build("value").field("value",e("DirectiveLiteral")),e("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,r["use strict"]),e("InterpreterDirective").bases("Node").build("value").field("value",String),e("BlockStatement").bases("Statement").build("body").field("body",[e("Statement")]).field("directives",[e("Directive")],r.emptyArray),e("Program").bases("Node").build("body").field("body",[e("Statement")]).field("directives",[e("Directive")],r.emptyArray).field("interpreter",i(e("InterpreterDirective"),null),r.null),e("StringLiteral").bases("Literal").build("value").field("value",String),e("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",i(String,null),r.null).field("extra",{rawValue:Number,raw:String},function(){return{rawValue:this.value,raw:this.value+""}}),e("BigIntLiteral").bases("Literal").build("value").field("value",i(String,Number)).field("extra",{rawValue:String,raw:String},function(){return{rawValue:String(this.value),raw:this.value+"n"}}),e("NullLiteral").bases("Literal").build().field("value",null,r.null),e("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),e("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,function(){return new RegExp(this.pattern,this.flags)});var a=i(e("Property"),e("ObjectMethod"),e("ObjectProperty"),e("SpreadProperty"),e("SpreadElement"));e("ObjectExpression").bases("Expression").build("properties").field("properties",[a]),e("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",i("method","get","set")).field("key",i(e("Literal"),e("Identifier"),e("Expression"))).field("params",[e("Pattern")]).field("body",e("BlockStatement")).field("computed",Boolean,r.false).field("generator",Boolean,r.false).field("async",Boolean,r.false).field("accessibility",i(e("Literal"),null),r.null).field("decorators",i([e("Decorator")],null),r.null),e("ObjectProperty").bases("Node").build("key","value").field("key",i(e("Literal"),e("Identifier"),e("Expression"))).field("value",i(e("Expression"),e("Pattern"))).field("accessibility",i(e("Literal"),null),r.null).field("computed",Boolean,r.false);var s=i(e("MethodDefinition"),e("VariableDeclarator"),e("ClassPropertyDefinition"),e("ClassProperty"),e("ClassPrivateProperty"),e("ClassMethod"),e("ClassPrivateMethod"));e("ClassBody").bases("Declaration").build("body").field("body",[s]),e("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",i(e("Literal"),e("Identifier"),e("Expression"))),e("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",e("PrivateName")),["ClassMethod","ClassPrivateMethod"].forEach(function(c){e(c).field("kind",i("get","set","method","constructor"),function(){return"method"}).field("body",e("BlockStatement")).field("computed",Boolean,r.false).field("static",i(Boolean,null),r.null).field("abstract",i(Boolean,null),r.null).field("access",i("public","private","protected",null),r.null).field("accessibility",i("public","private","protected",null),r.null).field("decorators",i([e("Decorator")],null),r.null).field("optional",i(Boolean,null),r.null)});var l=i(e("Property"),e("PropertyPattern"),e("SpreadPropertyPattern"),e("SpreadProperty"),e("ObjectProperty"),e("RestProperty"));e("ObjectPattern").bases("Pattern").build("properties").field("properties",[l]).field("decorators",i([e("Decorator")],null),r.null),e("SpreadProperty").bases("Node").build("argument").field("argument",e("Expression")),e("RestProperty").bases("Node").build("argument").field("argument",e("Expression")),e("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",i(e("VariableDeclaration"),e("Expression"))).field("right",e("Expression")).field("body",e("Statement")),e("Import").bases("Expression").build()}ks.default=JF;Ty.exports=ks.default});var Oy=D((Fs,Fy)=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});var ky=K(),XF=ky.__importDefault(tf()),$F=ky.__importDefault(Qc());function GF(n){n.use(XF.default),n.use($F.default)}Fs.default=GF;Fy.exports=Fs.default});var My=D((Ps,Py)=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});var Os=K(),HF=Os.__importDefault(tf()),KF=Os.__importDefault(Yc()),YF=Os.__importDefault(pe()),QF=Os.__importDefault(je());function ZF(n){n.use(HF.default),n.use(KF.default);var t=n.use(YF.default),r=t.namedTypes,e=t.Type.def,i=t.Type.or,a=n.use(QF.default).defaults,s=t.Type.from(function(f,v){return!!(r.StringLiteral&&r.StringLiteral.check(f,v)||r.Literal&&r.Literal.check(f,v)&&typeof f.value=="string")},"StringLiteral");e("TSType").bases("Node");var l=i(e("Identifier"),e("TSQualifiedName"));e("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",l),e("TSHasOptionalTypeParameterInstantiation").field("typeParameters",i(e("TSTypeParameterInstantiation"),null),a.null),e("TSHasOptionalTypeParameters").field("typeParameters",i(e("TSTypeParameterDeclaration"),null,void 0),a.null),e("TSHasOptionalTypeAnnotation").field("typeAnnotation",i(e("TSTypeAnnotation"),null),a.null),e("TSQualifiedName").bases("Node").build("left","right").field("left",l).field("right",l),e("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",e("Expression")).field("typeAnnotation",e("TSType")).field("extra",i({parenthesized:Boolean},null),a.null),e("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",e("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSThisType"].forEach(function(f){e(f).bases("TSType").build()}),e("TSArrayType").bases("TSType").build("elementType").field("elementType",e("TSType")),e("TSLiteralType").bases("TSType").build("literal").field("literal",i(e("NumericLiteral"),e("StringLiteral"),e("BooleanLiteral"),e("TemplateLiteral"),e("UnaryExpression"))),["TSUnionType","TSIntersectionType"].forEach(function(f){e(f).bases("TSType").build("types").field("types",[e("TSType")])}),e("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",e("TSType")).field("extendsType",e("TSType")).field("trueType",e("TSType")).field("falseType",e("TSType")),e("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",e("TSTypeParameter")),e("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",e("TSType"));var c=[i(e("Identifier"),e("RestElement"),e("ArrayPattern"),e("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach(function(f){e(f).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",c)}),e("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,a.false).field("async",Boolean,a.false).field("generator",Boolean,a.false).field("id",i(e("Identifier"),null),a.null).field("params",[e("Pattern")]).field("returnType",i(e("TSTypeAnnotation"),e("Noop"),null),a.null),e("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,a.false).field("generator",Boolean,a.false).field("params",[e("Pattern")]).field("abstract",Boolean,a.false).field("accessibility",i("public","private","protected",void 0),a.undefined).field("static",Boolean,a.false).field("computed",Boolean,a.false).field("optional",Boolean,a.false).field("key",i(e("Identifier"),e("StringLiteral"),e("NumericLiteral"),e("Expression"))).field("kind",i("get","set","method","constructor"),function(){return"method"}).field("access",i("public","private","protected",void 0),a.undefined).field("decorators",i([e("Decorator")],null),a.null).field("returnType",i(e("TSTypeAnnotation"),e("Noop"),null),a.null),e("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",i(Boolean,"+","-"),a.false).field("typeParameter",e("TSTypeParameter")).field("optional",i(Boolean,"+","-"),a.false).field("typeAnnotation",i(e("TSType"),null),a.null),e("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[i(e("TSType"),e("TSNamedTupleMember"))]),e("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",e("Identifier")).field("optional",Boolean,a.false).field("elementType",e("TSType")),e("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",e("TSType")),e("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",e("TSType")),e("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",e("TSType")).field("indexType",e("TSType")),e("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",e("TSType")),e("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",i(e("TSType"),e("TSTypeAnnotation"))),e("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[e("Identifier")]).field("readonly",Boolean,a.false),e("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",e("Expression")).field("computed",Boolean,a.false).field("readonly",Boolean,a.false).field("optional",Boolean,a.false).field("initializer",i(e("Expression"),null),a.null),e("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",e("Expression")).field("computed",Boolean,a.false).field("optional",Boolean,a.false).field("parameters",c),e("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",i(e("Identifier"),e("TSThisType"))).field("typeAnnotation",i(e("TSTypeAnnotation"),null),a.null).field("asserts",Boolean,a.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach(function(f){e(f).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",c)}),e("TSEnumMember").bases("Node").build("id","initializer").field("id",i(e("Identifier"),s)).field("initializer",i(e("Expression"),null),a.null),e("TSTypeQuery").bases("TSType").build("exprName").field("exprName",i(l,e("TSImportType")));var p=i(e("TSCallSignatureDeclaration"),e("TSConstructSignatureDeclaration"),e("TSIndexSignature"),e("TSMethodSignature"),e("TSPropertySignature"));e("TSTypeLiteral").bases("TSType").build("members").field("members",[p]),e("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",i(e("TSType"),void 0),a.undefined).field("default",i(e("TSType"),void 0),a.undefined),e("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",e("TSType")).field("expression",e("Expression")).field("extra",i({parenthesized:Boolean},null),a.null),e("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[e("TSTypeParameter")]),e("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[e("TSType")]),e("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",e("Identifier")).field("const",Boolean,a.false).field("declare",Boolean,a.false).field("members",[e("TSEnumMember")]).field("initializer",i(e("Expression"),null),a.null),e("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",e("Identifier")).field("declare",Boolean,a.false).field("typeAnnotation",e("TSType")),e("TSModuleBlock").bases("Node").build("body").field("body",[e("Statement")]),e("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",i(s,l)).field("declare",Boolean,a.false).field("global",Boolean,a.false).field("body",i(e("TSModuleBlock"),e("TSModuleDeclaration"),null),a.null),e("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",s).field("qualifier",i(l,void 0),a.undefined),e("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",e("Identifier")).field("isExport",Boolean,a.false).field("moduleReference",i(l,e("TSExternalModuleReference"))),e("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",s),e("TSExportAssignment").bases("Statement").build("expression").field("expression",e("Expression")),e("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",e("Identifier")),e("TSInterfaceBody").bases("Node").build("body").field("body",[p]),e("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",l),e("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",l).field("declare",Boolean,a.false).field("extends",i([e("TSExpressionWithTypeArguments")],null),a.null).field("body",e("TSInterfaceBody")),e("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",i("public","private","protected",void 0),a.undefined).field("readonly",Boolean,a.false).field("parameter",i(e("Identifier"),e("AssignmentPattern"))),e("ClassProperty").field("access",i("public","private","protected",void 0),a.undefined),e("ClassBody").field("body",[i(e("MethodDefinition"),e("VariableDeclarator"),e("ClassPropertyDefinition"),e("ClassProperty"),e("ClassPrivateProperty"),e("ClassMethod"),e("ClassPrivateMethod"),e("TSDeclareMethod"),p)])}Ps.default=ZF;Py.exports=Ps.default});var Iy=D(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.namedTypes=void 0;var eO;(function(n){})(eO=wi.namedTypes||(wi.namedTypes={}))});var At=D($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});$.visit=$.use=$.Type=$.someField=$.PathVisitor=$.Path=$.NodePath=$.namedTypes=$.getSupertypeNames=$.getFieldValue=$.getFieldNames=$.getBuilderName=$.finalize=$.eachField=$.defineMethod=$.builtInTypes=$.builders=$.astNodesAreEquivalent=void 0;var Ue=K(),tO=Ue.__importDefault(uy()),rO=Ue.__importDefault(Rc()),nO=Ue.__importDefault(Uc()),iO=Ue.__importDefault(zc()),aO=Ue.__importDefault(Wc()),sO=Ue.__importDefault(Xc()),oO=Ue.__importDefault(Gc()),lO=Ue.__importDefault(Si()),uO=Ue.__importDefault(Sy()),cO=Ue.__importDefault(Qc()),fO=Ue.__importDefault(_y()),dO=Ue.__importDefault(Oy()),pO=Ue.__importDefault(My()),hO=Ue.__importDefault(Ds()),Ny=Iy();Object.defineProperty($,"namedTypes",{enumerable:!0,get:function(){return Ny.namedTypes}});var Ae=tO.default([rO.default,nO.default,iO.default,aO.default,sO.default,oO.default,lO.default,uO.default,cO.default,fO.default,dO.default,pO.default,hO.default]),mO=Ae.astNodesAreEquivalent,vO=Ae.builders,gO=Ae.builtInTypes,yO=Ae.defineMethod,bO=Ae.eachField,xO=Ae.finalize,SO=Ae.getBuilderName,wO=Ae.getFieldNames,EO=Ae.getFieldValue,DO=Ae.getSupertypeNames,CO=Ae.namedTypes,AO=Ae.NodePath,_O=Ae.Path,TO=Ae.PathVisitor,kO=Ae.someField,FO=Ae.Type,OO=Ae.use,PO=Ae.visit;$.astNodesAreEquivalent=mO;$.builders=vO;$.builtInTypes=gO;$.defineMethod=yO;$.eachField=bO;$.finalize=xO;$.getBuilderName=SO;$.getFieldNames=wO;$.getFieldValue=EO;$.getSupertypeNames=DO;$.NodePath=AO;$.Path=_O;$.PathVisitor=TO;$.someField=kO;$.Type=FO;$.use=OO;$.visit=PO;Object.assign(Ny.namedTypes,CO)});var By=D(rf=>{var Ly="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");rf.encode=function(n){if(0<=n&&n<Ly.length)return Ly[n];throw new TypeError("Must be between 0 and 63: "+n)};rf.decode=function(n){var t=65,r=90,e=97,i=122,a=48,s=57,l=43,c=47,p=26,f=52;return t<=n&&n<=r?n-t:e<=n&&n<=i?n-e+p:a<=n&&n<=s?n-a+f:n==l?62:n==c?63:-1}});var sf=D(af=>{var qy=By(),nf=5,Ry=1<<nf,jy=Ry-1,Uy=Ry;function MO(n){return n<0?(-n<<1)+1:(n<<1)+0}function IO(n){var t=(n&1)===1,r=n>>1;return t?-r:r}af.encode=function(t){var r="",e,i=MO(t);do e=i&jy,i>>>=nf,i>0&&(e|=Uy),r+=qy.encode(e);while(i>0);return r};af.decode=function(t,r,e){var i=t.length,a=0,s=0,l,c;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(c=qy.decode(t.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));l=!!(c&Uy),c&=jy,a=a+(c<<s),s+=nf}while(l);e.value=IO(a),e.rest=r}});var Yr=D(Oe=>{function NO(n,t,r){if(t in n)return n[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}Oe.getArg=NO;var zy=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,LO=/^data:.+\,.+$/;function Ei(n){var t=n.match(zy);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}Oe.urlParse=Ei;function Hr(n){var t="";return n.scheme&&(t+=n.scheme+":"),t+="//",n.auth&&(t+=n.auth+"@"),n.host&&(t+=n.host),n.port&&(t+=":"+n.port),n.path&&(t+=n.path),t}Oe.urlGenerate=Hr;function of(n){var t=n,r=Ei(n);if(r){if(!r.path)return n;t=r.path}for(var e=Oe.isAbsolute(t),i=t.split(/\/+/),a,s=0,l=i.length-1;l>=0;l--)a=i[l],a==="."?i.splice(l,1):a===".."?s++:s>0&&(a===""?(i.splice(l+1,s),s=0):(i.splice(l,2),s--));return t=i.join("/"),t===""&&(t=e?"/":"."),r?(r.path=t,Hr(r)):t}Oe.normalize=of;function Vy(n,t){n===""&&(n="."),t===""&&(t=".");var r=Ei(t),e=Ei(n);if(e&&(n=e.path||"/"),r&&!r.scheme)return e&&(r.scheme=e.scheme),Hr(r);if(r||t.match(LO))return t;if(e&&!e.host&&!e.path)return e.host=t,Hr(e);var i=t.charAt(0)==="/"?t:of(n.replace(/\/+$/,"")+"/"+t);return e?(e.path=i,Hr(e)):i}Oe.join=Vy;Oe.isAbsolute=function(n){return n.charAt(0)==="/"||zy.test(n)};function BO(n,t){n===""&&(n="."),n=n.replace(/\/$/,"");for(var r=0;t.indexOf(n+"/")!==0;){var e=n.lastIndexOf("/");if(e<0||(n=n.slice(0,e),n.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(n.length+1)}Oe.relative=BO;var Wy=function(){var n=Object.create(null);return!("__proto__"in n)}();function Jy(n){return n}function qO(n){return Xy(n)?"$"+n:n}Oe.toSetString=Wy?Jy:qO;function RO(n){return Xy(n)?n.slice(1):n}Oe.fromSetString=Wy?Jy:RO;function Xy(n){if(!n)return!1;var t=n.length;if(t<9||n.charCodeAt(t-1)!==95||n.charCodeAt(t-2)!==95||n.charCodeAt(t-3)!==111||n.charCodeAt(t-4)!==116||n.charCodeAt(t-5)!==111||n.charCodeAt(t-6)!==114||n.charCodeAt(t-7)!==112||n.charCodeAt(t-8)!==95||n.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(n.charCodeAt(r)!==36)return!1;return!0}function jO(n,t,r){var e=Kr(n.source,t.source);return e!==0||(e=n.originalLine-t.originalLine,e!==0)||(e=n.originalColumn-t.originalColumn,e!==0||r)||(e=n.generatedColumn-t.generatedColumn,e!==0)||(e=n.generatedLine-t.generatedLine,e!==0)?e:Kr(n.name,t.name)}Oe.compareByOriginalPositions=jO;function UO(n,t,r){var e=n.generatedLine-t.generatedLine;return e!==0||(e=n.generatedColumn-t.generatedColumn,e!==0||r)||(e=Kr(n.source,t.source),e!==0)||(e=n.originalLine-t.originalLine,e!==0)||(e=n.originalColumn-t.originalColumn,e!==0)?e:Kr(n.name,t.name)}Oe.compareByGeneratedPositionsDeflated=UO;function Kr(n,t){return n===t?0:n===null?1:t===null?-1:n>t?1:-1}function zO(n,t){var r=n.generatedLine-t.generatedLine;return r!==0||(r=n.generatedColumn-t.generatedColumn,r!==0)||(r=Kr(n.source,t.source),r!==0)||(r=n.originalLine-t.originalLine,r!==0)||(r=n.originalColumn-t.originalColumn,r!==0)?r:Kr(n.name,t.name)}Oe.compareByGeneratedPositionsInflated=zO;function VO(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}Oe.parseSourceMapInput=VO;function WO(n,t,r){if(t=t||"",n&&(n[n.length-1]!=="/"&&t[0]!=="/"&&(n+="/"),t=n+t),r){var e=Ei(r);if(!e)throw new Error("sourceMapURL could not be parsed");if(e.path){var i=e.path.lastIndexOf("/");i>=0&&(e.path=e.path.substring(0,i+1))}t=Vy(Hr(e),t)}return of(t)}Oe.computeSourceURL=WO});var cf=D($y=>{var lf=Yr(),uf=Object.prototype.hasOwnProperty,hr=typeof Map<"u";function Lt(){this._array=[],this._set=hr?new Map:Object.create(null)}Lt.fromArray=function(t,r){for(var e=new Lt,i=0,a=t.length;i<a;i++)e.add(t[i],r);return e};Lt.prototype.size=function(){return hr?this._set.size:Object.getOwnPropertyNames(this._set).length};Lt.prototype.add=function(t,r){var e=hr?t:lf.toSetString(t),i=hr?this.has(t):uf.call(this._set,e),a=this._array.length;(!i||r)&&this._array.push(t),i||(hr?this._set.set(t,a):this._set[e]=a)};Lt.prototype.has=function(t){if(hr)return this._set.has(t);var r=lf.toSetString(t);return uf.call(this._set,r)};Lt.prototype.indexOf=function(t){if(hr){var r=this._set.get(t);if(r>=0)return r}else{var e=lf.toSetString(t);if(uf.call(this._set,e))return this._set[e]}throw new Error('"'+t+'" is not in the set.')};Lt.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};Lt.prototype.toArray=function(){return this._array.slice()};$y.ArraySet=Lt});var Ky=D(Hy=>{var Gy=Yr();function JO(n,t){var r=n.generatedLine,e=t.generatedLine,i=n.generatedColumn,a=t.generatedColumn;return e>r||e==r&&a>=i||Gy.compareByGeneratedPositionsInflated(n,t)<=0}function Ms(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Ms.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};Ms.prototype.add=function(t){JO(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};Ms.prototype.toArray=function(){return this._sorted||(this._array.sort(Gy.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Hy.MappingList=Ms});var ff=D(Yy=>{var Di=sf(),Se=Yr(),Is=cf().ArraySet,XO=Ky().MappingList;function at(n){n||(n={}),this._file=Se.getArg(n,"file",null),this._sourceRoot=Se.getArg(n,"sourceRoot",null),this._skipValidation=Se.getArg(n,"skipValidation",!1),this._sources=new Is,this._names=new Is,this._mappings=new XO,this._sourcesContents=null}at.prototype._version=3;at.fromSourceMap=function(t){var r=t.sourceRoot,e=new at({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var a={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(a.source=i.source,r!=null&&(a.source=Se.relative(r,a.source)),a.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(a.name=i.name)),e.addMapping(a)}),t.sources.forEach(function(i){var a=i;r!==null&&(a=Se.relative(r,i)),e._sources.has(a)||e._sources.add(a);var s=t.sourceContentFor(i);s!=null&&e.setSourceContent(i,s)}),e};at.prototype.addMapping=function(t){var r=Se.getArg(t,"generated"),e=Se.getArg(t,"original",null),i=Se.getArg(t,"source",null),a=Se.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,e,i,a),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),a!=null&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:e!=null&&e.line,originalColumn:e!=null&&e.column,source:i,name:a})};at.prototype.setSourceContent=function(t,r){var e=t;this._sourceRoot!=null&&(e=Se.relative(this._sourceRoot,e)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Se.toSetString(e)]=r):this._sourcesContents&&(delete this._sourcesContents[Se.toSetString(e)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};at.prototype.applySourceMap=function(t,r,e){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var a=this._sourceRoot;a!=null&&(i=Se.relative(a,i));var s=new Is,l=new Is;this._mappings.unsortedForEach(function(c){if(c.source===i&&c.originalLine!=null){var p=t.originalPositionFor({line:c.originalLine,column:c.originalColumn});p.source!=null&&(c.source=p.source,e!=null&&(c.source=Se.join(e,c.source)),a!=null&&(c.source=Se.relative(a,c.source)),c.originalLine=p.line,c.originalColumn=p.column,p.name!=null&&(c.name=p.name))}var f=c.source;f!=null&&!s.has(f)&&s.add(f);var v=c.name;v!=null&&!l.has(v)&&l.add(v)},this),this._sources=s,this._names=l,t.sources.forEach(function(c){var p=t.sourceContentFor(c);p!=null&&(e!=null&&(c=Se.join(e,c)),a!=null&&(c=Se.relative(a,c)),this.setSourceContent(c,p))},this)};at.prototype._validateMapping=function(t,r,e,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!e&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&e)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:e,original:r,name:i}))}};at.prototype._serializeMappings=function(){for(var t=0,r=1,e=0,i=0,a=0,s=0,l="",c,p,f,v,m=this._mappings.toArray(),o=0,u=m.length;o<u;o++){if(p=m[o],c="",p.generatedLine!==r)for(t=0;p.generatedLine!==r;)c+=";",r++;else if(o>0){if(!Se.compareByGeneratedPositionsInflated(p,m[o-1]))continue;c+=","}c+=Di.encode(p.generatedColumn-t),t=p.generatedColumn,p.source!=null&&(v=this._sources.indexOf(p.source),c+=Di.encode(v-s),s=v,c+=Di.encode(p.originalLine-1-i),i=p.originalLine-1,c+=Di.encode(p.originalColumn-e),e=p.originalColumn,p.name!=null&&(f=this._names.indexOf(p.name),c+=Di.encode(f-a),a=f)),l+=c}return l};at.prototype._generateSourcesContent=function(t,r){return t.map(function(e){if(!this._sourcesContents)return null;r!=null&&(e=Se.relative(r,e));var i=Se.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};at.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};at.prototype.toString=function(){return JSON.stringify(this.toJSON())};Yy.SourceMapGenerator=at});var Qy=D(mr=>{mr.GREATEST_LOWER_BOUND=1;mr.LEAST_UPPER_BOUND=2;function df(n,t,r,e,i,a){var s=Math.floor((t-n)/2)+n,l=i(r,e[s],!0);return l===0?s:l>0?t-s>1?df(s,t,r,e,i,a):a==mr.LEAST_UPPER_BOUND?t<e.length?t:-1:s:s-n>1?df(n,s,r,e,i,a):a==mr.LEAST_UPPER_BOUND?s:n<0?-1:n}mr.search=function(t,r,e,i){if(r.length===0)return-1;var a=df(-1,r.length,t,r,e,i||mr.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&e(r[a],r[a-1],!0)===0;)--a;return a}});var e0=D(Zy=>{function pf(n,t,r){var e=n[t];n[t]=n[r],n[r]=e}function $O(n,t){return Math.round(n+Math.random()*(t-n))}function hf(n,t,r,e){if(r<e){var i=$O(r,e),a=r-1;pf(n,i,e);for(var s=n[e],l=r;l<e;l++)t(n[l],s)<=0&&(a+=1,pf(n,a,l));pf(n,a+1,l);var c=a+1;hf(n,t,r,c-1),hf(n,t,c+1,e)}}Zy.quickSort=function(n,t){hf(n,t,0,n.length-1)}});var r0=D(Ns=>{var j=Yr(),mf=Qy(),Qr=cf().ArraySet,GO=sf(),Ci=e0().quickSort;function oe(n,t){var r=n;return typeof n=="string"&&(r=j.parseSourceMapInput(n)),r.sections!=null?new gt(r,t):new Fe(r,t)}oe.fromSourceMap=function(n,t){return Fe.fromSourceMap(n,t)};oe.prototype._version=3;oe.prototype.__generatedMappings=null;Object.defineProperty(oe.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});oe.prototype.__originalMappings=null;Object.defineProperty(oe.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});oe.prototype._charIsMappingSeparator=function(t,r){var e=t.charAt(r);return e===";"||e===","};oe.prototype._parseMappings=function(t,r){throw new Error("Subclasses must implement _parseMappings")};oe.GENERATED_ORDER=1;oe.ORIGINAL_ORDER=2;oe.GREATEST_LOWER_BOUND=1;oe.LEAST_UPPER_BOUND=2;oe.prototype.eachMapping=function(t,r,e){var i=r||null,a=e||oe.GENERATED_ORDER,s;switch(a){case oe.GENERATED_ORDER:s=this._generatedMappings;break;case oe.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;s.map(function(c){var p=c.source===null?null:this._sources.at(c.source);return p=j.computeSourceURL(l,p,this._sourceMapURL),{source:p,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(t,i)};oe.prototype.allGeneratedPositionsFor=function(t){var r=j.getArg(t,"line"),e={source:j.getArg(t,"source"),originalLine:r,originalColumn:j.getArg(t,"column",0)};if(e.source=this._findSourceIndex(e.source),e.source<0)return[];var i=[],a=this._findMapping(e,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,mf.LEAST_UPPER_BOUND);if(a>=0){var s=this._originalMappings[a];if(t.column===void 0)for(var l=s.originalLine;s&&s.originalLine===l;)i.push({line:j.getArg(s,"generatedLine",null),column:j.getArg(s,"generatedColumn",null),lastColumn:j.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===r&&s.originalColumn==c;)i.push({line:j.getArg(s,"generatedLine",null),column:j.getArg(s,"generatedColumn",null),lastColumn:j.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i};Ns.SourceMapConsumer=oe;function Fe(n,t){var r=n;typeof n=="string"&&(r=j.parseSourceMapInput(n));var e=j.getArg(r,"version"),i=j.getArg(r,"sources"),a=j.getArg(r,"names",[]),s=j.getArg(r,"sourceRoot",null),l=j.getArg(r,"sourcesContent",null),c=j.getArg(r,"mappings"),p=j.getArg(r,"file",null);if(e!=this._version)throw new Error("Unsupported version: "+e);s&&(s=j.normalize(s)),i=i.map(String).map(j.normalize).map(function(f){return s&&j.isAbsolute(s)&&j.isAbsolute(f)?j.relative(s,f):f}),this._names=Qr.fromArray(a.map(String),!0),this._sources=Qr.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(f){return j.computeSourceURL(s,f,t)}),this.sourceRoot=s,this.sourcesContent=l,this._mappings=c,this._sourceMapURL=t,this.file=p}Fe.prototype=Object.create(oe.prototype);Fe.prototype.consumer=oe;Fe.prototype._findSourceIndex=function(n){var t=n;if(this.sourceRoot!=null&&(t=j.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==n)return r;return-1};Fe.fromSourceMap=function(t,r){var e=Object.create(Fe.prototype),i=e._names=Qr.fromArray(t._names.toArray(),!0),a=e._sources=Qr.fromArray(t._sources.toArray(),!0);e.sourceRoot=t._sourceRoot,e.sourcesContent=t._generateSourcesContent(e._sources.toArray(),e.sourceRoot),e.file=t._file,e._sourceMapURL=r,e._absoluteSources=e._sources.toArray().map(function(o){return j.computeSourceURL(e.sourceRoot,o,r)});for(var s=t._mappings.toArray().slice(),l=e.__generatedMappings=[],c=e.__originalMappings=[],p=0,f=s.length;p<f;p++){var v=s[p],m=new t0;m.generatedLine=v.generatedLine,m.generatedColumn=v.generatedColumn,v.source&&(m.source=a.indexOf(v.source),m.originalLine=v.originalLine,m.originalColumn=v.originalColumn,v.name&&(m.name=i.indexOf(v.name)),c.push(m)),l.push(m)}return Ci(e.__originalMappings,j.compareByOriginalPositions),e};Fe.prototype._version=3;Object.defineProperty(Fe.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function t0(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Fe.prototype._parseMappings=function(t,r){for(var e=1,i=0,a=0,s=0,l=0,c=0,p=t.length,f=0,v={},m={},o=[],u=[],d,h,g,y,b;f<p;)if(t.charAt(f)===";")e++,f++,i=0;else if(t.charAt(f)===",")f++;else{for(d=new t0,d.generatedLine=e,y=f;y<p&&!this._charIsMappingSeparator(t,y);y++);if(h=t.slice(f,y),g=v[h],g)f+=h.length;else{for(g=[];f<y;)GO.decode(t,f,m),b=m.value,f=m.rest,g.push(b);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");v[h]=g}d.generatedColumn=i+g[0],i=d.generatedColumn,g.length>1&&(d.source=l+g[1],l+=g[1],d.originalLine=a+g[2],a=d.originalLine,d.originalLine+=1,d.originalColumn=s+g[3],s=d.originalColumn,g.length>4&&(d.name=c+g[4],c+=g[4])),u.push(d),typeof d.originalLine=="number"&&o.push(d)}Ci(u,j.compareByGeneratedPositionsDeflated),this.__generatedMappings=u,Ci(o,j.compareByOriginalPositions),this.__originalMappings=o};Fe.prototype._findMapping=function(t,r,e,i,a,s){if(t[e]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[e]);if(t[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[i]);return mf.search(t,r,a,s)};Fe.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var r=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var e=this._generatedMappings[t+1];if(r.generatedLine===e.generatedLine){r.lastGeneratedColumn=e.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};Fe.prototype.originalPositionFor=function(t){var r={generatedLine:j.getArg(t,"line"),generatedColumn:j.getArg(t,"column")},e=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",j.compareByGeneratedPositionsDeflated,j.getArg(t,"bias",oe.GREATEST_LOWER_BOUND));if(e>=0){var i=this._generatedMappings[e];if(i.generatedLine===r.generatedLine){var a=j.getArg(i,"source",null);a!==null&&(a=this._sources.at(a),a=j.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var s=j.getArg(i,"name",null);return s!==null&&(s=this._names.at(s)),{source:a,line:j.getArg(i,"originalLine",null),column:j.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}};Fe.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};Fe.prototype.sourceContentFor=function(t,r){if(!this.sourcesContent)return null;var e=this._findSourceIndex(t);if(e>=0)return this.sourcesContent[e];var i=t;this.sourceRoot!=null&&(i=j.relative(this.sourceRoot,i));var a;if(this.sourceRoot!=null&&(a=j.urlParse(this.sourceRoot))){var s=i.replace(/^file:\/\//,"");if(a.scheme=="file"&&this._sources.has(s))return this.sourcesContent[this._sources.indexOf(s)];if((!a.path||a.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};Fe.prototype.generatedPositionFor=function(t){var r=j.getArg(t,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var e={source:r,originalLine:j.getArg(t,"line"),originalColumn:j.getArg(t,"column")},i=this._findMapping(e,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,j.getArg(t,"bias",oe.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===e.source)return{line:j.getArg(a,"generatedLine",null),column:j.getArg(a,"generatedColumn",null),lastColumn:j.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Ns.BasicSourceMapConsumer=Fe;function gt(n,t){var r=n;typeof n=="string"&&(r=j.parseSourceMapInput(n));var e=j.getArg(r,"version"),i=j.getArg(r,"sections");if(e!=this._version)throw new Error("Unsupported version: "+e);this._sources=new Qr,this._names=new Qr;var a={line:-1,column:0};this._sections=i.map(function(s){if(s.url)throw new Error("Support for url field in sections not implemented.");var l=j.getArg(s,"offset"),c=j.getArg(l,"line"),p=j.getArg(l,"column");if(c<a.line||c===a.line&&p<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=l,{generatedOffset:{generatedLine:c+1,generatedColumn:p+1},consumer:new oe(j.getArg(s,"map"),t)}})}gt.prototype=Object.create(oe.prototype);gt.prototype.constructor=oe;gt.prototype._version=3;Object.defineProperty(gt.prototype,"sources",{get:function(){for(var n=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)n.push(this._sections[t].consumer.sources[r]);return n}});gt.prototype.originalPositionFor=function(t){var r={generatedLine:j.getArg(t,"line"),generatedColumn:j.getArg(t,"column")},e=mf.search(r,this._sections,function(a,s){var l=a.generatedLine-s.generatedOffset.generatedLine;return l||a.generatedColumn-s.generatedOffset.generatedColumn}),i=this._sections[e];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};gt.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};gt.prototype.sourceContentFor=function(t,r){for(var e=0;e<this._sections.length;e++){var i=this._sections[e],a=i.consumer.sourceContentFor(t,!0);if(a)return a}if(r)return null;throw new Error('"'+t+'" is not in the SourceMap.')};gt.prototype.generatedPositionFor=function(t){for(var r=0;r<this._sections.length;r++){var e=this._sections[r];if(e.consumer._findSourceIndex(j.getArg(t,"source"))!==-1){var i=e.consumer.generatedPositionFor(t);if(i){var a={line:i.line+(e.generatedOffset.generatedLine-1),column:i.column+(e.generatedOffset.generatedLine===i.line?e.generatedOffset.generatedColumn-1:0)};return a}}}return{line:null,column:null}};gt.prototype._parseMappings=function(t,r){this.__generatedMappings=[],this.__originalMappings=[];for(var e=0;e<this._sections.length;e++)for(var i=this._sections[e],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var l=a[s],c=i.consumer._sources.at(l.source);c=j.computeSourceURL(i.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var p=null;l.name&&(p=i.consumer._names.at(l.name),this._names.add(p),p=this._names.indexOf(p));var f={source:c,generatedLine:l.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(i.generatedOffset.generatedLine===l.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:p};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}Ci(this.__generatedMappings,j.compareByGeneratedPositionsDeflated),Ci(this.__originalMappings,j.compareByOriginalPositions)};Ns.IndexedSourceMapConsumer=gt});var i0=D(n0=>{var HO=ff().SourceMapGenerator,Ls=Yr(),KO=/(\r?\n)/,YO=10,Zr="$$$isSourceNode$$$";function Ge(n,t,r,e,i){this.children=[],this.sourceContents={},this.line=n==null?null:n,this.column=t==null?null:t,this.source=r==null?null:r,this.name=i==null?null:i,this[Zr]=!0,e!=null&&this.add(e)}Ge.fromStringWithSourceMap=function(t,r,e){var i=new Ge,a=t.split(KO),s=0,l=function(){var m=u(),o=u()||"";return m+o;function u(){return s<a.length?a[s++]:void 0}},c=1,p=0,f=null;return r.eachMapping(function(m){if(f!==null)if(c<m.generatedLine)v(f,l()),c++,p=0;else{var o=a[s]||"",u=o.substr(0,m.generatedColumn-p);a[s]=o.substr(m.generatedColumn-p),p=m.generatedColumn,v(f,u),f=m;return}for(;c<m.generatedLine;)i.add(l()),c++;if(p<m.generatedColumn){var o=a[s]||"";i.add(o.substr(0,m.generatedColumn)),a[s]=o.substr(m.generatedColumn),p=m.generatedColumn}f=m},this),s<a.length&&(f&&v(f,l()),i.add(a.splice(s).join(""))),r.sources.forEach(function(m){var o=r.sourceContentFor(m);o!=null&&(e!=null&&(m=Ls.join(e,m)),i.setSourceContent(m,o))}),i;function v(m,o){if(m===null||m.source===void 0)i.add(o);else{var u=e?Ls.join(e,m.source):m.source;i.add(new Ge(m.originalLine,m.originalColumn,u,o,m.name))}}};Ge.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(r){this.add(r)},this);else if(t[Zr]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Ge.prototype.prepend=function(t){if(Array.isArray(t))for(var r=t.length-1;r>=0;r--)this.prepend(t[r]);else if(t[Zr]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Ge.prototype.walk=function(t){for(var r,e=0,i=this.children.length;e<i;e++)r=this.children[e],r[Zr]?r.walk(t):r!==""&&t(r,{source:this.source,line:this.line,column:this.column,name:this.name})};Ge.prototype.join=function(t){var r,e,i=this.children.length;if(i>0){for(r=[],e=0;e<i-1;e++)r.push(this.children[e]),r.push(t);r.push(this.children[e]),this.children=r}return this};Ge.prototype.replaceRight=function(t,r){var e=this.children[this.children.length-1];return e[Zr]?e.replaceRight(t,r):typeof e=="string"?this.children[this.children.length-1]=e.replace(t,r):this.children.push("".replace(t,r)),this};Ge.prototype.setSourceContent=function(t,r){this.sourceContents[Ls.toSetString(t)]=r};Ge.prototype.walkSourceContents=function(t){for(var r=0,e=this.children.length;r<e;r++)this.children[r][Zr]&&this.children[r].walkSourceContents(t);for(var i=Object.keys(this.sourceContents),r=0,e=i.length;r<e;r++)t(Ls.fromSetString(i[r]),this.sourceContents[i[r]])};Ge.prototype.toString=function(){var t="";return this.walk(function(r){t+=r}),t};Ge.prototype.toStringWithSourceMap=function(t){var r={code:"",line:1,column:0},e=new HO(t),i=!1,a=null,s=null,l=null,c=null;return this.walk(function(p,f){r.code+=p,f.source!==null&&f.line!==null&&f.column!==null?((a!==f.source||s!==f.line||l!==f.column||c!==f.name)&&e.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name}),a=f.source,s=f.line,l=f.column,c=f.name,i=!0):i&&(e.addMapping({generated:{line:r.line,column:r.column}}),a=null,i=!1);for(var v=0,m=p.length;v<m;v++)p.charCodeAt(v)===YO?(r.line++,r.column=0,v+1===m?(a=null,i=!1):i&&e.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name})):r.column++}),this.walkSourceContents(function(p,f){e.setSourceContent(p,f)}),{code:r.code,map:e}};n0.SourceNode=Ge});var vf=D(Bs=>{Bs.SourceMapGenerator=ff().SourceMapGenerator;Bs.SourceMapConsumer=r0().SourceMapConsumer;Bs.SourceNode=i0().SourceNode});var Bt=D(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});he.isTrailingCommaEnabled=he.getParentExportDeclaration=he.isExportDeclaration=he.fixFaultyLocations=he.getTrueLoc=he.composeSourceMaps=he.copyPos=he.comparePos=he.getUnionOfKeys=he.getOption=void 0;var yf=K(),Ai=yf.__importDefault(require("assert")),QO=yf.__importStar(At()),qs=QO.namedTypes,s0=yf.__importDefault(vf()),a0=s0.default.SourceMapConsumer,ZO=s0.default.SourceMapGenerator,o0=Object.prototype.hasOwnProperty;function eP(n,t,r){return n&&o0.call(n,t)?n[t]:r}he.getOption=eP;function tP(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var r={},e=n.length,i=0;i<e;++i)for(var a=Object.keys(n[i]),s=a.length,l=0;l<s;++l)r[a[l]]=!0;return r}he.getUnionOfKeys=tP;function _t(n,t){return n.line-t.line||n.column-t.column}he.comparePos=_t;function Kt(n){return{line:n.line,column:n.column}}he.copyPos=Kt;function rP(n,t){if(n){if(!t)return n}else return t||null;var r=new a0(n),e=new a0(t),i=new ZO({file:t.file,sourceRoot:t.sourceRoot}),a={};return e.eachMapping(function(s){var l=r.originalPositionFor({line:s.originalLine,column:s.originalColumn}),c=l.source;if(c!==null){i.addMapping({source:c,original:Kt(l),generated:{line:s.generatedLine,column:s.generatedColumn},name:s.name});var p=r.sourceContentFor(c);p&&!o0.call(a,c)&&(a[c]=p,i.setSourceContent(c,p))}}),i.toJSON()}he.composeSourceMaps=rP;function nP(n,t){if(!n.loc)return null;var r={start:n.loc.start,end:n.loc.end};function e(i){gf(r,i.loc)}return n.declaration&&n.declaration.decorators&&Rs(n)&&n.declaration.decorators.forEach(e),_t(r.start,r.end)<0&&(r.start=Kt(r.start),t.skipSpaces(r.start,!1,!0),_t(r.start,r.end)<0&&(r.end=Kt(r.end),t.skipSpaces(r.end,!0,!0))),n.comments&&n.comments.forEach(e),r}he.getTrueLoc=nP;function gf(n,t){n&&t&&(_t(t.start,n.start)<0&&(n.start=t.start),_t(n.end,t.end)<0&&(n.end=t.end))}function iP(n,t){var r=n.loc;if(r&&(r.start.line<1&&(r.start.line=1),r.end.line<1&&(r.end.line=1)),n.type==="File"&&(r.start=t.firstPos(),r.end=t.lastPos()),aP(n,t),sP(n,t),r&&n.decorators)n.decorators.forEach(function(s){gf(r,s.loc)});else if(n.declaration&&Rs(n)){n.declaration.loc=null;var e=n.declaration.decorators;e&&e.forEach(function(s){gf(r,s.loc)})}else if(qs.MethodDefinition&&qs.MethodDefinition.check(n)||qs.Property.check(n)&&(n.method||n.shorthand))n.value.loc=null,qs.FunctionExpression.check(n.value)&&(n.value.id=null);else if(n.type==="ObjectTypeProperty"){var i=n.loc,a=i&&i.end;a&&(a=Kt(a),t.prevPos(a)&&t.charAt(a)===","&&(a=t.skipSpaces(a,!0,!0))&&(i.end=a))}}he.fixFaultyLocations=iP;function aP(n,t){if(n.type!=="ForStatement")return;function r(e){for(var i=e&&e.loc,a=i&&i.start,s=i&&Kt(i.end);a&&s&&_t(a,s)<0&&(t.prevPos(s),t.charAt(s)===";");)i.end.line=s.line,i.end.column=s.column}r(n.init),r(n.test),r(n.update)}function sP(n,t){if(n.type==="TemplateLiteral"&&n.quasis.length!==0){if(n.loc){var r=Kt(n.loc.start);Ai.default.strictEqual(t.charAt(r),"`"),Ai.default.ok(t.nextPos(r));var e=n.quasis[0];_t(e.loc.start,r)<0&&(e.loc.start=r);var i=Kt(n.loc.end);Ai.default.ok(t.prevPos(i)),Ai.default.strictEqual(t.charAt(i),"`");var a=n.quasis[n.quasis.length-1];_t(i,a.loc.end)<0&&(a.loc.end=i)}n.expressions.forEach(function(s,l){var c=t.skipSpaces(s.loc.start,!0,!1);if(t.prevPos(c)&&t.charAt(c)==="{"&&t.prevPos(c)&&t.charAt(c)==="$"){var p=n.quasis[l];_t(c,p.loc.end)<0&&(p.loc.end=c)}var f=t.skipSpaces(s.loc.end,!1,!1);if(t.charAt(f)==="}"){Ai.default.ok(t.nextPos(f));var v=n.quasis[l+1];_t(v.loc.start,f)<0&&(v.loc.start=f)}})}}function Rs(n){if(n)switch(n.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}he.isExportDeclaration=Rs;function oP(n){var t=n.getParentNode();return n.getName()==="declaration"&&Rs(t)?t:null}he.getParentExportDeclaration=oP;function lP(n,t){var r=n.trailingComma;return typeof r=="object"?!!r[t]:!!r}he.isTrailingCommaEnabled=lP});var xf=D((_i,bf)=>{(function(t,r){typeof _i=="object"&&typeof bf=="object"?bf.exports=r():typeof define=="function"&&define.amd?define([],r):typeof _i=="object"?_i.esprima=r():t.esprima=r()})(_i,function(){return function(n){var t={};function r(e){if(t[e])return t[e].exports;var i=t[e]={exports:{},id:e,loaded:!1};return n[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=n,r.c=t,r.p="",r(0)}([function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=r(1),i=r(3),a=r(8),s=r(15);function l(m,o,u){var d=null,h=function(T,M){u&&u(T,M),d&&d.visit(T,M)},g=typeof u=="function"?h:null,y=!1;if(o){y=typeof o.comment=="boolean"&&o.comment;var b=typeof o.attachComment=="boolean"&&o.attachComment;(y||b)&&(d=new e.CommentHandler,d.attach=b,o.comment=!0,g=h)}var x=!1;o&&typeof o.sourceType=="string"&&(x=o.sourceType==="module");var w;o&&typeof o.jsx=="boolean"&&o.jsx?w=new i.JSXParser(m,o,g):w=new a.Parser(m,o,g);var E=x?w.parseModule():w.parseScript(),C=E;return y&&d&&(C.comments=d.comments),w.config.tokens&&(C.tokens=w.tokens),w.config.tolerant&&(C.errors=w.errorHandler.errors),C}t.parse=l;function c(m,o,u){var d=o||{};return d.sourceType="module",l(m,d,u)}t.parseModule=c;function p(m,o,u){var d=o||{};return d.sourceType="script",l(m,d,u)}t.parseScript=p;function f(m,o,u){var d=new s.Tokenizer(m,o),h;h=[];try{for(;;){var g=d.getNextToken();if(!g)break;u&&(g=u(g)),h.push(g)}}catch(y){d.errorHandler.tolerate(y)}return d.errorHandler.tolerant&&(h.errors=d.errors()),h}t.tokenize=f;var v=r(2);t.Syntax=v.Syntax,t.version="4.0.1"},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=r(2),i=function(){function a(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return a.prototype.insertInnerComments=function(s,l){if(s.type===e.Syntax.BlockStatement&&s.body.length===0){for(var c=[],p=this.leading.length-1;p>=0;--p){var f=this.leading[p];l.end.offset>=f.start&&(c.unshift(f.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}c.length&&(s.innerComments=c)}},a.prototype.findTrailingComments=function(s){var l=[];if(this.trailing.length>0){for(var c=this.trailing.length-1;c>=0;--c){var p=this.trailing[c];p.start>=s.end.offset&&l.unshift(p.comment)}return this.trailing.length=0,l}var f=this.stack[this.stack.length-1];if(f&&f.node.trailingComments){var v=f.node.trailingComments[0];v&&v.range[0]>=s.end.offset&&(l=f.node.trailingComments,delete f.node.trailingComments)}return l},a.prototype.findLeadingComments=function(s){for(var l=[],c;this.stack.length>0;){var p=this.stack[this.stack.length-1];if(p&&p.start>=s.start.offset)c=p.node,this.stack.pop();else break}if(c){for(var f=c.leadingComments?c.leadingComments.length:0,v=f-1;v>=0;--v){var m=c.leadingComments[v];m.range[1]<=s.start.offset&&(l.unshift(m),c.leadingComments.splice(v,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,l}for(var v=this.leading.length-1;v>=0;--v){var p=this.leading[v];p.start<=s.start.offset&&(l.unshift(p.comment),this.leading.splice(v,1))}return l},a.prototype.visitNode=function(s,l){if(!(s.type===e.Syntax.Program&&s.body.length>0)){this.insertInnerComments(s,l);var c=this.findTrailingComments(l),p=this.findLeadingComments(l);p.length>0&&(s.leadingComments=p),c.length>0&&(s.trailingComments=c),this.stack.push({node:s,start:l.start.offset})}},a.prototype.visitComment=function(s,l){var c=s.type[0]==="L"?"Line":"Block",p={type:c,value:s.value};if(s.range&&(p.range=s.range),s.loc&&(p.loc=s.loc),this.comments.push(p),this.attach){var f={comment:{type:c,value:s.value,range:[l.start.offset,l.end.offset]},start:l.start.offset};s.loc&&(f.comment.loc=s.loc),s.type=c,this.leading.push(f),this.trailing.push(f)}},a.prototype.visit=function(s,l){s.type==="LineComment"?this.visitComment(s,l):s.type==="BlockComment"?this.visitComment(s,l):this.attach&&this.visitNode(s,l)},a}();t.CommentHandler=i},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(n,t,r){"use strict";var e=this&&this.__extends||function(){var o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var h in d)d.hasOwnProperty(h)&&(u[h]=d[h])};return function(u,d){o(u,d);function h(){this.constructor=u}u.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=r(4),a=r(5),s=r(6),l=r(7),c=r(8),p=r(13),f=r(14);p.TokenName[100]="JSXIdentifier",p.TokenName[101]="JSXText";function v(o){var u;switch(o.type){case s.JSXSyntax.JSXIdentifier:var d=o;u=d.name;break;case s.JSXSyntax.JSXNamespacedName:var h=o;u=v(h.namespace)+":"+v(h.name);break;case s.JSXSyntax.JSXMemberExpression:var g=o;u=v(g.object)+"."+v(g.property);break;default:break}return u}var m=function(o){e(u,o);function u(d,h,g){return o.call(this,d,h,g)||this}return u.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():o.prototype.parsePrimaryExpression.call(this)},u.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},u.prototype.finishJSX=function(){this.nextToken()},u.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},u.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},u.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},u.prototype.scanXHTMLEntity=function(d){for(var h="&",g=!0,y=!1,b=!1,x=!1;!this.scanner.eof()&&g&&!y;){var w=this.scanner.source[this.scanner.index];if(w===d)break;if(y=w===";",h+=w,++this.scanner.index,!y)switch(h.length){case 2:b=w==="#";break;case 3:b&&(x=w==="x",g=x||i.Character.isDecimalDigit(w.charCodeAt(0)),b=b&&!x);break;default:g=g&&!(b&&!i.Character.isDecimalDigit(w.charCodeAt(0))),g=g&&!(x&&!i.Character.isHexDigit(w.charCodeAt(0)));break}}if(g&&y&&h.length>2){var E=h.substr(1,h.length-2);b&&E.length>1?h=String.fromCharCode(parseInt(E.substr(1),10)):x&&E.length>2?h=String.fromCharCode(parseInt("0"+E.substr(1),16)):!b&&!x&&f.XHTMLEntities[E]&&(h=f.XHTMLEntities[E])}return h},u.prototype.lexJSX=function(){var d=this.scanner.source.charCodeAt(this.scanner.index);if(d===60||d===62||d===47||d===58||d===61||d===123||d===125){var h=this.scanner.source[this.scanner.index++];return{type:7,value:h,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(d===34||d===39){for(var g=this.scanner.index,y=this.scanner.source[this.scanner.index++],b="";!this.scanner.eof();){var x=this.scanner.source[this.scanner.index++];if(x===y)break;x==="&"?b+=this.scanXHTMLEntity(y):b+=x}return{type:8,value:b,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:g,end:this.scanner.index}}if(d===46){var w=this.scanner.source.charCodeAt(this.scanner.index+1),E=this.scanner.source.charCodeAt(this.scanner.index+2),h=w===46&&E===46?"...":".",g=this.scanner.index;return this.scanner.index+=h.length,{type:7,value:h,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:g,end:this.scanner.index}}if(d===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(i.Character.isIdentifierStart(d)&&d!==92){var g=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var x=this.scanner.source.charCodeAt(this.scanner.index);if(i.Character.isIdentifierPart(x)&&x!==92)++this.scanner.index;else if(x===45)++this.scanner.index;else break}var C=this.scanner.source.slice(g,this.scanner.index);return{type:100,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:g,end:this.scanner.index}}return this.scanner.lex()},u.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var d=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(d)),d},u.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var d=this.scanner.index,h="";!this.scanner.eof();){var g=this.scanner.source[this.scanner.index];if(g==="{"||g==="<")break;++this.scanner.index,h+=g,i.Character.isLineTerminator(g.charCodeAt(0))&&(++this.scanner.lineNumber,g==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var y={type:101,value:h,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:d,end:this.scanner.index};return h.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(y)),y},u.prototype.peekJSXToken=function(){var d=this.scanner.saveState();this.scanner.scanComments();var h=this.lexJSX();return this.scanner.restoreState(d),h},u.prototype.expectJSX=function(d){var h=this.nextJSXToken();(h.type!==7||h.value!==d)&&this.throwUnexpectedToken(h)},u.prototype.matchJSX=function(d){var h=this.peekJSXToken();return h.type===7&&h.value===d},u.prototype.parseJSXIdentifier=function(){var d=this.createJSXNode(),h=this.nextJSXToken();return h.type!==100&&this.throwUnexpectedToken(h),this.finalize(d,new a.JSXIdentifier(h.value))},u.prototype.parseJSXElementName=function(){var d=this.createJSXNode(),h=this.parseJSXIdentifier();if(this.matchJSX(":")){var g=h;this.expectJSX(":");var y=this.parseJSXIdentifier();h=this.finalize(d,new a.JSXNamespacedName(g,y))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var b=h;this.expectJSX(".");var x=this.parseJSXIdentifier();h=this.finalize(d,new a.JSXMemberExpression(b,x))}return h},u.prototype.parseJSXAttributeName=function(){var d=this.createJSXNode(),h,g=this.parseJSXIdentifier();if(this.matchJSX(":")){var y=g;this.expectJSX(":");var b=this.parseJSXIdentifier();h=this.finalize(d,new a.JSXNamespacedName(y,b))}else h=g;return h},u.prototype.parseJSXStringLiteralAttribute=function(){var d=this.createJSXNode(),h=this.nextJSXToken();h.type!==8&&this.throwUnexpectedToken(h);var g=this.getTokenRaw(h);return this.finalize(d,new l.Literal(h.value,g))},u.prototype.parseJSXExpressionAttribute=function(){var d=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var h=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(d,new a.JSXExpressionContainer(h))},u.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},u.prototype.parseJSXNameValueAttribute=function(){var d=this.createJSXNode(),h=this.parseJSXAttributeName(),g=null;return this.matchJSX("=")&&(this.expectJSX("="),g=this.parseJSXAttributeValue()),this.finalize(d,new a.JSXAttribute(h,g))},u.prototype.parseJSXSpreadAttribute=function(){var d=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var h=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(d,new a.JSXSpreadAttribute(h))},u.prototype.parseJSXAttributes=function(){for(var d=[];!this.matchJSX("/")&&!this.matchJSX(">");){var h=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();d.push(h)}return d},u.prototype.parseJSXOpeningElement=function(){var d=this.createJSXNode();this.expectJSX("<");var h=this.parseJSXElementName(),g=this.parseJSXAttributes(),y=this.matchJSX("/");return y&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(d,new a.JSXOpeningElement(h,y,g))},u.prototype.parseJSXBoundaryElement=function(){var d=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var h=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(d,new a.JSXClosingElement(h))}var g=this.parseJSXElementName(),y=this.parseJSXAttributes(),b=this.matchJSX("/");return b&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(d,new a.JSXOpeningElement(g,b,y))},u.prototype.parseJSXEmptyExpression=function(){var d=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(d,new a.JSXEmptyExpression)},u.prototype.parseJSXExpressionContainer=function(){var d=this.createJSXNode();this.expectJSX("{");var h;return this.matchJSX("}")?(h=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),h=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(d,new a.JSXExpressionContainer(h))},u.prototype.parseJSXChildren=function(){for(var d=[];!this.scanner.eof();){var h=this.createJSXChildNode(),g=this.nextJSXText();if(g.start<g.end){var y=this.getTokenRaw(g),b=this.finalize(h,new a.JSXText(g.value,y));d.push(b)}if(this.scanner.source[this.scanner.index]==="{"){var x=this.parseJSXExpressionContainer();d.push(x)}else break}return d},u.prototype.parseComplexJSXElement=function(d){for(var h=[];!this.scanner.eof();){d.children=d.children.concat(this.parseJSXChildren());var g=this.createJSXChildNode(),y=this.parseJSXBoundaryElement();if(y.type===s.JSXSyntax.JSXOpeningElement){var b=y;if(b.selfClosing){var x=this.finalize(g,new a.JSXElement(b,[],null));d.children.push(x)}else h.push(d),d={node:g,opening:b,closing:null,children:[]}}if(y.type===s.JSXSyntax.JSXClosingElement){d.closing=y;var w=v(d.opening.name),E=v(d.closing.name);if(w!==E&&this.tolerateError("Expected corresponding JSX closing tag for %0",w),h.length>0){var x=this.finalize(d.node,new a.JSXElement(d.opening,d.children,d.closing));d=h[h.length-1],d.children.push(x),h.pop()}else break}}return d},u.prototype.parseJSXElement=function(){var d=this.createJSXNode(),h=this.parseJSXOpeningElement(),g=[],y=null;if(!h.selfClosing){var b=this.parseComplexJSXElement({node:d,opening:h,closing:y,children:g});g=b.children,y=b.closing}return this.finalize(d,new a.JSXElement(h,g,y))},u.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var d=this.parseJSXElement();return this.finishJSX(),d},u.prototype.isStartOfExpression=function(){return o.prototype.isStartOfExpression.call(this)||this.match("<")},u}(c.Parser);t.JSXParser=m},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};t.Character={fromCodePoint:function(e){return e<65536?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10))+String.fromCharCode(56320+(e-65536&1023))},isWhiteSpace:function(e){return e===32||e===9||e===11||e===12||e===160||e>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(e)>=0},isLineTerminator:function(e){return e===10||e===13||e===8232||e===8233},isIdentifierStart:function(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e===92||e>=128&&r.NonAsciiIdentifierStart.test(t.Character.fromCodePoint(e))},isIdentifierPart:function(e){return e===36||e===95||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===92||e>=128&&r.NonAsciiIdentifierPart.test(t.Character.fromCodePoint(e))},isDecimalDigit:function(e){return e>=48&&e<=57},isHexDigit:function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},isOctalDigit:function(e){return e>=48&&e<=55}}},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=r(6),i=function(){function d(h){this.type=e.JSXSyntax.JSXClosingElement,this.name=h}return d}();t.JSXClosingElement=i;var a=function(){function d(h,g,y){this.type=e.JSXSyntax.JSXElement,this.openingElement=h,this.children=g,this.closingElement=y}return d}();t.JSXElement=a;var s=function(){function d(){this.type=e.JSXSyntax.JSXEmptyExpression}return d}();t.JSXEmptyExpression=s;var l=function(){function d(h){this.type=e.JSXSyntax.JSXExpressionContainer,this.expression=h}return d}();t.JSXExpressionContainer=l;var c=function(){function d(h){this.type=e.JSXSyntax.JSXIdentifier,this.name=h}return d}();t.JSXIdentifier=c;var p=function(){function d(h,g){this.type=e.JSXSyntax.JSXMemberExpression,this.object=h,this.property=g}return d}();t.JSXMemberExpression=p;var f=function(){function d(h,g){this.type=e.JSXSyntax.JSXAttribute,this.name=h,this.value=g}return d}();t.JSXAttribute=f;var v=function(){function d(h,g){this.type=e.JSXSyntax.JSXNamespacedName,this.namespace=h,this.name=g}return d}();t.JSXNamespacedName=v;var m=function(){function d(h,g,y){this.type=e.JSXSyntax.JSXOpeningElement,this.name=h,this.selfClosing=g,this.attributes=y}return d}();t.JSXOpeningElement=m;var o=function(){function d(h){this.type=e.JSXSyntax.JSXSpreadAttribute,this.argument=h}return d}();t.JSXSpreadAttribute=o;var u=function(){function d(h,g){this.type=e.JSXSyntax.JSXText,this.value=h,this.raw=g}return d}();t.JSXText=u},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=r(2),i=function(){function A(_){this.type=e.Syntax.ArrayExpression,this.elements=_}return A}();t.ArrayExpression=i;var a=function(){function A(_){this.type=e.Syntax.ArrayPattern,this.elements=_}return A}();t.ArrayPattern=a;var s=function(){function A(_,F,J){this.type=e.Syntax.ArrowFunctionExpression,this.id=null,this.params=_,this.body=F,this.generator=!1,this.expression=J,this.async=!1}return A}();t.ArrowFunctionExpression=s;var l=function(){function A(_,F,J){this.type=e.Syntax.AssignmentExpression,this.operator=_,this.left=F,this.right=J}return A}();t.AssignmentExpression=l;var c=function(){function A(_,F){this.type=e.Syntax.AssignmentPattern,this.left=_,this.right=F}return A}();t.AssignmentPattern=c;var p=function(){function A(_,F,J){this.type=e.Syntax.ArrowFunctionExpression,this.id=null,this.params=_,this.body=F,this.generator=!1,this.expression=J,this.async=!0}return A}();t.AsyncArrowFunctionExpression=p;var f=function(){function A(_,F,J){this.type=e.Syntax.FunctionDeclaration,this.id=_,this.params=F,this.body=J,this.generator=!1,this.expression=!1,this.async=!0}return A}();t.AsyncFunctionDeclaration=f;var v=function(){function A(_,F,J){this.type=e.Syntax.FunctionExpression,this.id=_,this.params=F,this.body=J,this.generator=!1,this.expression=!1,this.async=!0}return A}();t.AsyncFunctionExpression=v;var m=function(){function A(_){this.type=e.Syntax.AwaitExpression,this.argument=_}return A}();t.AwaitExpression=m;var o=function(){function A(_,F,J){var Ve=_==="||"||_==="&&";this.type=Ve?e.Syntax.LogicalExpression:e.Syntax.BinaryExpression,this.operator=_,this.left=F,this.right=J}return A}();t.BinaryExpression=o;var u=function(){function A(_){this.type=e.Syntax.BlockStatement,this.body=_}return A}();t.BlockStatement=u;var d=function(){function A(_){this.type=e.Syntax.BreakStatement,this.label=_}return A}();t.BreakStatement=d;var h=function(){function A(_,F){this.type=e.Syntax.CallExpression,this.callee=_,this.arguments=F}return A}();t.CallExpression=h;var g=function(){function A(_,F){this.type=e.Syntax.CatchClause,this.param=_,this.body=F}return A}();t.CatchClause=g;var y=function(){function A(_){this.type=e.Syntax.ClassBody,this.body=_}return A}();t.ClassBody=y;var b=function(){function A(_,F,J){this.type=e.Syntax.ClassDeclaration,this.id=_,this.superClass=F,this.body=J}return A}();t.ClassDeclaration=b;var x=function(){function A(_,F,J){this.type=e.Syntax.ClassExpression,this.id=_,this.superClass=F,this.body=J}return A}();t.ClassExpression=x;var w=function(){function A(_,F){this.type=e.Syntax.MemberExpression,this.computed=!0,this.object=_,this.property=F}return A}();t.ComputedMemberExpression=w;var E=function(){function A(_,F,J){this.type=e.Syntax.ConditionalExpression,this.test=_,this.consequent=F,this.alternate=J}return A}();t.ConditionalExpression=E;var C=function(){function A(_){this.type=e.Syntax.ContinueStatement,this.label=_}return A}();t.ContinueStatement=C;var T=function(){function A(){this.type=e.Syntax.DebuggerStatement}return A}();t.DebuggerStatement=T;var M=function(){function A(_,F){this.type=e.Syntax.ExpressionStatement,this.expression=_,this.directive=F}return A}();t.Directive=M;var U=function(){function A(_,F){this.type=e.Syntax.DoWhileStatement,this.body=_,this.test=F}return A}();t.DoWhileStatement=U;var W=function(){function A(){this.type=e.Syntax.EmptyStatement}return A}();t.EmptyStatement=W;var G=function(){function A(_){this.type=e.Syntax.ExportAllDeclaration,this.source=_}return A}();t.ExportAllDeclaration=G;var ge=function(){function A(_){this.type=e.Syntax.ExportDefaultDeclaration,this.declaration=_}return A}();t.ExportDefaultDeclaration=ge;var de=function(){function A(_,F,J){this.type=e.Syntax.ExportNamedDeclaration,this.declaration=_,this.specifiers=F,this.source=J}return A}();t.ExportNamedDeclaration=de;var Ke=function(){function A(_,F){this.type=e.Syntax.ExportSpecifier,this.exported=F,this.local=_}return A}();t.ExportSpecifier=Ke;var ut=function(){function A(_){this.type=e.Syntax.ExpressionStatement,this.expression=_}return A}();t.ExpressionStatement=ut;var we=function(){function A(_,F,J){this.type=e.Syntax.ForInStatement,this.left=_,this.right=F,this.body=J,this.each=!1}return A}();t.ForInStatement=we;var Ee=function(){function A(_,F,J){this.type=e.Syntax.ForOfStatement,this.left=_,this.right=F,this.body=J}return A}();t.ForOfStatement=Ee;var k=function(){function A(_,F,J,Ve){this.type=e.Syntax.ForStatement,this.init=_,this.test=F,this.update=J,this.body=Ve}return A}();t.ForStatement=k;var I=function(){function A(_,F,J,Ve){this.type=e.Syntax.FunctionDeclaration,this.id=_,this.params=F,this.body=J,this.generator=Ve,this.expression=!1,this.async=!1}return A}();t.FunctionDeclaration=I;var P=function(){function A(_,F,J,Ve){this.type=e.Syntax.FunctionExpression,this.id=_,this.params=F,this.body=J,this.generator=Ve,this.expression=!1,this.async=!1}return A}();t.FunctionExpression=P;var z=function(){function A(_){this.type=e.Syntax.Identifier,this.name=_}return A}();t.Identifier=z;var X=function(){function A(_,F,J){this.type=e.Syntax.IfStatement,this.test=_,this.consequent=F,this.alternate=J}return A}();t.IfStatement=X;var H=function(){function A(_,F){this.type=e.Syntax.ImportDeclaration,this.specifiers=_,this.source=F}return A}();t.ImportDeclaration=H;var De=function(){function A(_){this.type=e.Syntax.ImportDefaultSpecifier,this.local=_}return A}();t.ImportDefaultSpecifier=De;var re=function(){function A(_){this.type=e.Syntax.ImportNamespaceSpecifier,this.local=_}return A}();t.ImportNamespaceSpecifier=re;var ee=function(){function A(_,F){this.type=e.Syntax.ImportSpecifier,this.local=_,this.imported=F}return A}();t.ImportSpecifier=ee;var ze=function(){function A(_,F){this.type=e.Syntax.LabeledStatement,this.label=_,this.body=F}return A}();t.LabeledStatement=ze;var ct=function(){function A(_,F){this.type=e.Syntax.Literal,this.value=_,this.raw=F}return A}();t.Literal=ct;var Ye=function(){function A(_,F){this.type=e.Syntax.MetaProperty,this.meta=_,this.property=F}return A}();t.MetaProperty=Ye;var Me=function(){function A(_,F,J,Ve,mo){this.type=e.Syntax.MethodDefinition,this.key=_,this.computed=F,this.value=J,this.kind=Ve,this.static=mo}return A}();t.MethodDefinition=Me;var jt=function(){function A(_){this.type=e.Syntax.Program,this.body=_,this.sourceType="module"}return A}();t.Module=jt;var Ot=function(){function A(_,F){this.type=e.Syntax.NewExpression,this.callee=_,this.arguments=F}return A}();t.NewExpression=Ot;var Er=function(){function A(_){this.type=e.Syntax.ObjectExpression,this.properties=_}return A}();t.ObjectExpression=Er;var Dr=function(){function A(_){this.type=e.Syntax.ObjectPattern,this.properties=_}return A}();t.ObjectPattern=Dr;var zi=function(){function A(_,F,J,Ve,mo,$b){this.type=e.Syntax.Property,this.key=F,this.computed=J,this.value=Ve,this.kind=_,this.method=mo,this.shorthand=$b}return A}();t.Property=zi;var tr=function(){function A(_,F,J,Ve){this.type=e.Syntax.Literal,this.value=_,this.raw=F,this.regex={pattern:J,flags:Ve}}return A}();t.RegexLiteral=tr;var ft=function(){function A(_){this.type=e.Syntax.RestElement,this.argument=_}return A}();t.RestElement=ft;var Vi=function(){function A(_){this.type=e.Syntax.ReturnStatement,this.argument=_}return A}();t.ReturnStatement=Vi;var uo=function(){function A(_){this.type=e.Syntax.Program,this.body=_,this.sourceType="script"}return A}();t.Script=uo;var Wi=function(){function A(_){this.type=e.Syntax.SequenceExpression,this.expressions=_}return A}();t.SequenceExpression=Wi;var Ji=function(){function A(_){this.type=e.Syntax.SpreadElement,this.argument=_}return A}();t.SpreadElement=Ji;var Xi=function(){function A(_,F){this.type=e.Syntax.MemberExpression,this.computed=!1,this.object=_,this.property=F}return A}();t.StaticMemberExpression=Xi;var rr=function(){function A(){this.type=e.Syntax.Super}return A}();t.Super=rr;var co=function(){function A(_,F){this.type=e.Syntax.SwitchCase,this.test=_,this.consequent=F}return A}();t.SwitchCase=co;var fo=function(){function A(_,F){this.type=e.Syntax.SwitchStatement,this.discriminant=_,this.cases=F}return A}();t.SwitchStatement=fo;var po=function(){function A(_,F){this.type=e.Syntax.TaggedTemplateExpression,this.tag=_,this.quasi=F}return A}();t.TaggedTemplateExpression=po;var ho=function(){function A(_,F){this.type=e.Syntax.TemplateElement,this.value=_,this.tail=F}return A}();t.TemplateElement=ho;var $i=function(){function A(_,F){this.type=e.Syntax.TemplateLiteral,this.quasis=_,this.expressions=F}return A}();t.TemplateLiteral=$i;var V=function(){function A(){this.type=e.Syntax.ThisExpression}return A}();t.ThisExpression=V;var Y=function(){function A(_){this.type=e.Syntax.ThrowStatement,this.argument=_}return A}();t.ThrowStatement=Y;var Qe=function(){function A(_,F,J){this.type=e.Syntax.TryStatement,this.block=_,this.handler=F,this.finalizer=J}return A}();t.TryStatement=Qe;var dt=function(){function A(_,F){this.type=e.Syntax.UnaryExpression,this.operator=_,this.argument=F,this.prefix=!0}return A}();t.UnaryExpression=dt;var mn=function(){function A(_,F,J){this.type=e.Syntax.UpdateExpression,this.operator=_,this.argument=F,this.prefix=J}return A}();t.UpdateExpression=mn;var zb=function(){function A(_,F){this.type=e.Syntax.VariableDeclaration,this.declarations=_,this.kind=F}return A}();t.VariableDeclaration=zb;var Vb=function(){function A(_,F){this.type=e.Syntax.VariableDeclarator,this.id=_,this.init=F}return A}();t.VariableDeclarator=Vb;var Wb=function(){function A(_,F){this.type=e.Syntax.WhileStatement,this.test=_,this.body=F}return A}();t.WhileStatement=Wb;var Jb=function(){function A(_,F){this.type=e.Syntax.WithStatement,this.object=_,this.body=F}return A}();t.WithStatement=Jb;var Xb=function(){function A(_,F){this.type=e.Syntax.YieldExpression,this.argument=_,this.delegate=F}return A}();t.YieldExpression=Xb},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=r(9),i=r(10),a=r(11),s=r(7),l=r(12),c=r(2),p=r(13),f="ArrowParameterPlaceHolder",v=function(){function m(o,u,d){u===void 0&&(u={}),this.config={range:typeof u.range=="boolean"&&u.range,loc:typeof u.loc=="boolean"&&u.loc,source:null,tokens:typeof u.tokens=="boolean"&&u.tokens,comment:typeof u.comment=="boolean"&&u.comment,tolerant:typeof u.tolerant=="boolean"&&u.tolerant},this.config.loc&&u.source&&u.source!==null&&(this.config.source=String(u.source)),this.delegate=d,this.errorHandler=new i.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new l.Scanner(o,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return m.prototype.throwError=function(o){for(var u=[],d=1;d<arguments.length;d++)u[d-1]=arguments[d];var h=Array.prototype.slice.call(arguments,1),g=o.replace(/%(\d)/g,function(w,E){return e.assert(E<h.length,"Message reference must be in range"),h[E]}),y=this.lastMarker.index,b=this.lastMarker.line,x=this.lastMarker.column+1;throw this.errorHandler.createError(y,b,x,g)},m.prototype.tolerateError=function(o){for(var u=[],d=1;d<arguments.length;d++)u[d-1]=arguments[d];var h=Array.prototype.slice.call(arguments,1),g=o.replace(/%(\d)/g,function(w,E){return e.assert(E<h.length,"Message reference must be in range"),h[E]}),y=this.lastMarker.index,b=this.scanner.lineNumber,x=this.lastMarker.column+1;this.errorHandler.tolerateError(y,b,x,g)},m.prototype.unexpectedTokenError=function(o,u){var d=u||a.Messages.UnexpectedToken,h;if(o?(u||(d=o.type===2?a.Messages.UnexpectedEOS:o.type===3?a.Messages.UnexpectedIdentifier:o.type===6?a.Messages.UnexpectedNumber:o.type===8?a.Messages.UnexpectedString:o.type===10?a.Messages.UnexpectedTemplate:a.Messages.UnexpectedToken,o.type===4&&(this.scanner.isFutureReservedWord(o.value)?d=a.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(o.value)&&(d=a.Messages.StrictReservedWord))),h=o.value):h="ILLEGAL",d=d.replace("%0",h),o&&typeof o.lineNumber=="number"){var g=o.start,y=o.lineNumber,b=this.lastMarker.index-this.lastMarker.column,x=o.start-b+1;return this.errorHandler.createError(g,y,x,d)}else{var g=this.lastMarker.index,y=this.lastMarker.line,x=this.lastMarker.column+1;return this.errorHandler.createError(g,y,x,d)}},m.prototype.throwUnexpectedToken=function(o,u){throw this.unexpectedTokenError(o,u)},m.prototype.tolerateUnexpectedToken=function(o,u){this.errorHandler.tolerate(this.unexpectedTokenError(o,u))},m.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var o=this.scanner.scanComments();if(o.length>0&&this.delegate)for(var u=0;u<o.length;++u){var d=o[u],h=void 0;h={type:d.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(d.slice[0],d.slice[1])},this.config.range&&(h.range=d.range),this.config.loc&&(h.loc=d.loc);var g={start:{line:d.loc.start.line,column:d.loc.start.column,offset:d.range[0]},end:{line:d.loc.end.line,column:d.loc.end.column,offset:d.range[1]}};this.delegate(h,g)}}},m.prototype.getTokenRaw=function(o){return this.scanner.source.slice(o.start,o.end)},m.prototype.convertToken=function(o){var u={type:p.TokenName[o.type],value:this.getTokenRaw(o)};if(this.config.range&&(u.range=[o.start,o.end]),this.config.loc&&(u.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),o.type===9){var d=o.pattern,h=o.flags;u.regex={pattern:d,flags:h}}return u},m.prototype.nextToken=function(){var o=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var u=this.scanner.lex();return this.hasLineTerminator=o.lineNumber!==u.lineNumber,u&&this.context.strict&&u.type===3&&this.scanner.isStrictModeReservedWord(u.value)&&(u.type=4),this.lookahead=u,this.config.tokens&&u.type!==2&&this.tokens.push(this.convertToken(u)),o},m.prototype.nextRegexToken=function(){this.collectComments();var o=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(o))),this.lookahead=o,this.nextToken(),o},m.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},m.prototype.startNode=function(o,u){u===void 0&&(u=0);var d=o.start-o.lineStart,h=o.lineNumber;return d<0&&(d+=u,h--),{index:o.start,line:h,column:d}},m.prototype.finalize=function(o,u){if(this.config.range&&(u.range=[o.index,this.lastMarker.index]),this.config.loc&&(u.loc={start:{line:o.line,column:o.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(u.loc.source=this.config.source)),this.delegate){var d={start:{line:o.line,column:o.column,offset:o.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(u,d)}return u},m.prototype.expect=function(o){var u=this.nextToken();(u.type!==7||u.value!==o)&&this.throwUnexpectedToken(u)},m.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var o=this.lookahead;o.type===7&&o.value===","?this.nextToken():o.type===7&&o.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(o)):this.tolerateUnexpectedToken(o,a.Messages.UnexpectedToken)}else this.expect(",")},m.prototype.expectKeyword=function(o){var u=this.nextToken();(u.type!==4||u.value!==o)&&this.throwUnexpectedToken(u)},m.prototype.match=function(o){return this.lookahead.type===7&&this.lookahead.value===o},m.prototype.matchKeyword=function(o){return this.lookahead.type===4&&this.lookahead.value===o},m.prototype.matchContextualKeyword=function(o){return this.lookahead.type===3&&this.lookahead.value===o},m.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var o=this.lookahead.value;return o==="="||o==="*="||o==="**="||o==="/="||o==="%="||o==="+="||o==="-="||o==="<<="||o===">>="||o===">>>="||o==="&="||o==="^="||o==="|="},m.prototype.isolateCoverGrammar=function(o){var u=this.context.isBindingElement,d=this.context.isAssignmentTarget,h=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var g=o.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=u,this.context.isAssignmentTarget=d,this.context.firstCoverInitializedNameError=h,g},m.prototype.inheritCoverGrammar=function(o){var u=this.context.isBindingElement,d=this.context.isAssignmentTarget,h=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var g=o.call(this);return this.context.isBindingElement=this.context.isBindingElement&&u,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&d,this.context.firstCoverInitializedNameError=h||this.context.firstCoverInitializedNameError,g},m.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},m.prototype.parsePrimaryExpression=function(){var o=this.createNode(),u,d,h;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),u=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(o,new s.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,a.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,d=this.nextToken(),h=this.getTokenRaw(d),u=this.finalize(o,new s.Literal(d.value,h));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,d=this.nextToken(),h=this.getTokenRaw(d),u=this.finalize(o,new s.Literal(d.value==="true",h));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,d=this.nextToken(),h=this.getTokenRaw(d),u=this.finalize(o,new s.Literal(null,h));break;case 10:u=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,u=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":u=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":u=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,d=this.nextRegexToken(),h=this.getTokenRaw(d),u=this.finalize(o,new s.RegexLiteral(d.regex,h,d.pattern,d.flags));break;default:u=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?u=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?u=this.finalize(o,new s.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?u=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),u=this.finalize(o,new s.ThisExpression)):this.matchKeyword("class")?u=this.parseClassExpression():u=this.throwUnexpectedToken(this.nextToken()));break;default:u=this.throwUnexpectedToken(this.nextToken())}return u},m.prototype.parseSpreadElement=function(){var o=this.createNode();this.expect("...");var u=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(o,new s.SpreadElement(u))},m.prototype.parseArrayInitializer=function(){var o=this.createNode(),u=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),u.push(null);else if(this.match("...")){var d=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),u.push(d)}else u.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(o,new s.ArrayExpression(u))},m.prototype.parsePropertyMethod=function(o){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var u=this.context.strict,d=this.context.allowStrictDirective;this.context.allowStrictDirective=o.simple;var h=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&o.firstRestricted&&this.tolerateUnexpectedToken(o.firstRestricted,o.message),this.context.strict&&o.stricted&&this.tolerateUnexpectedToken(o.stricted,o.message),this.context.strict=u,this.context.allowStrictDirective=d,h},m.prototype.parsePropertyMethodFunction=function(){var o=!1,u=this.createNode(),d=this.context.allowYield;this.context.allowYield=!0;var h=this.parseFormalParameters(),g=this.parsePropertyMethod(h);return this.context.allowYield=d,this.finalize(u,new s.FunctionExpression(null,h.params,g,o))},m.prototype.parsePropertyMethodAsyncFunction=function(){var o=this.createNode(),u=this.context.allowYield,d=this.context.await;this.context.allowYield=!1,this.context.await=!0;var h=this.parseFormalParameters(),g=this.parsePropertyMethod(h);return this.context.allowYield=u,this.context.await=d,this.finalize(o,new s.AsyncFunctionExpression(null,h.params,g))},m.prototype.parseObjectPropertyKey=function(){var o=this.createNode(),u=this.nextToken(),d;switch(u.type){case 8:case 6:this.context.strict&&u.octal&&this.tolerateUnexpectedToken(u,a.Messages.StrictOctalLiteral);var h=this.getTokenRaw(u);d=this.finalize(o,new s.Literal(u.value,h));break;case 3:case 1:case 5:case 4:d=this.finalize(o,new s.Identifier(u.value));break;case 7:u.value==="["?(d=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):d=this.throwUnexpectedToken(u);break;default:d=this.throwUnexpectedToken(u)}return d},m.prototype.isPropertyKey=function(o,u){return o.type===c.Syntax.Identifier&&o.name===u||o.type===c.Syntax.Literal&&o.value===u},m.prototype.parseObjectProperty=function(o){var u=this.createNode(),d=this.lookahead,h,g=null,y=null,b=!1,x=!1,w=!1,E=!1;if(d.type===3){var C=d.value;this.nextToken(),b=this.match("["),E=!this.hasLineTerminator&&C==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),g=E?this.parseObjectPropertyKey():this.finalize(u,new s.Identifier(C))}else this.match("*")?this.nextToken():(b=this.match("["),g=this.parseObjectPropertyKey());var T=this.qualifiedPropertyName(this.lookahead);if(d.type===3&&!E&&d.value==="get"&&T)h="get",b=this.match("["),g=this.parseObjectPropertyKey(),this.context.allowYield=!1,y=this.parseGetterMethod();else if(d.type===3&&!E&&d.value==="set"&&T)h="set",b=this.match("["),g=this.parseObjectPropertyKey(),y=this.parseSetterMethod();else if(d.type===7&&d.value==="*"&&T)h="init",b=this.match("["),g=this.parseObjectPropertyKey(),y=this.parseGeneratorMethod(),x=!0;else if(g||this.throwUnexpectedToken(this.lookahead),h="init",this.match(":")&&!E)!b&&this.isPropertyKey(g,"__proto__")&&(o.value&&this.tolerateError(a.Messages.DuplicateProtoProperty),o.value=!0),this.nextToken(),y=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))y=E?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),x=!0;else if(d.type===3){var C=this.finalize(u,new s.Identifier(d.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),w=!0;var M=this.isolateCoverGrammar(this.parseAssignmentExpression);y=this.finalize(u,new s.AssignmentPattern(C,M))}else w=!0,y=C}else this.throwUnexpectedToken(this.nextToken());return this.finalize(u,new s.Property(h,g,b,y,x,w))},m.prototype.parseObjectInitializer=function(){var o=this.createNode();this.expect("{");for(var u=[],d={value:!1};!this.match("}");)u.push(this.parseObjectProperty(d)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(o,new s.ObjectExpression(u))},m.prototype.parseTemplateHead=function(){e.assert(this.lookahead.head,"Template literal must start with a template head");var o=this.createNode(),u=this.nextToken(),d=u.value,h=u.cooked;return this.finalize(o,new s.TemplateElement({raw:d,cooked:h},u.tail))},m.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var o=this.createNode(),u=this.nextToken(),d=u.value,h=u.cooked;return this.finalize(o,new s.TemplateElement({raw:d,cooked:h},u.tail))},m.prototype.parseTemplateLiteral=function(){var o=this.createNode(),u=[],d=[],h=this.parseTemplateHead();for(d.push(h);!h.tail;)u.push(this.parseExpression()),h=this.parseTemplateElement(),d.push(h);return this.finalize(o,new s.TemplateLiteral(d,u))},m.prototype.reinterpretExpressionAsPattern=function(o){switch(o.type){case c.Syntax.Identifier:case c.Syntax.MemberExpression:case c.Syntax.RestElement:case c.Syntax.AssignmentPattern:break;case c.Syntax.SpreadElement:o.type=c.Syntax.RestElement,this.reinterpretExpressionAsPattern(o.argument);break;case c.Syntax.ArrayExpression:o.type=c.Syntax.ArrayPattern;for(var u=0;u<o.elements.length;u++)o.elements[u]!==null&&this.reinterpretExpressionAsPattern(o.elements[u]);break;case c.Syntax.ObjectExpression:o.type=c.Syntax.ObjectPattern;for(var u=0;u<o.properties.length;u++)this.reinterpretExpressionAsPattern(o.properties[u].value);break;case c.Syntax.AssignmentExpression:o.type=c.Syntax.AssignmentPattern,delete o.operator,this.reinterpretExpressionAsPattern(o.left);break;default:break}},m.prototype.parseGroupExpression=function(){var o;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),o={type:f,params:[],async:!1};else{var u=this.lookahead,d=[];if(this.match("..."))o=this.parseRestElement(d),this.expect(")"),this.match("=>")||this.expect("=>"),o={type:f,params:[o],async:!1};else{var h=!1;if(this.context.isBindingElement=!0,o=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var g=[];for(this.context.isAssignmentTarget=!1,g.push(o);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var y=0;y<g.length;y++)this.reinterpretExpressionAsPattern(g[y]);h=!0,o={type:f,params:g,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),g.push(this.parseRestElement(d)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var y=0;y<g.length;y++)this.reinterpretExpressionAsPattern(g[y]);h=!0,o={type:f,params:g,async:!1}}else g.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(h)break}h||(o=this.finalize(this.startNode(u),new s.SequenceExpression(g)))}if(!h){if(this.expect(")"),this.match("=>")&&(o.type===c.Syntax.Identifier&&o.name==="yield"&&(h=!0,o={type:f,params:[o],async:!1}),!h)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),o.type===c.Syntax.SequenceExpression)for(var y=0;y<o.expressions.length;y++)this.reinterpretExpressionAsPattern(o.expressions[y]);else this.reinterpretExpressionAsPattern(o);var b=o.type===c.Syntax.SequenceExpression?o.expressions:[o];o={type:f,params:b,async:!1}}this.context.isBindingElement=!1}}}return o},m.prototype.parseArguments=function(){this.expect("(");var o=[];if(!this.match(")"))for(;;){var u=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(o.push(u),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),o},m.prototype.isIdentifierName=function(o){return o.type===3||o.type===4||o.type===1||o.type===5},m.prototype.parseIdentifierName=function(){var o=this.createNode(),u=this.nextToken();return this.isIdentifierName(u)||this.throwUnexpectedToken(u),this.finalize(o,new s.Identifier(u.value))},m.prototype.parseNewExpression=function(){var o=this.createNode(),u=this.parseIdentifierName();e.assert(u.name==="new","New expression must start with `new`");var d;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var h=this.parseIdentifierName();d=new s.MetaProperty(u,h)}else this.throwUnexpectedToken(this.lookahead);else{var g=this.isolateCoverGrammar(this.parseLeftHandSideExpression),y=this.match("(")?this.parseArguments():[];d=new s.NewExpression(g,y),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(o,d)},m.prototype.parseAsyncArgument=function(){var o=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,o},m.prototype.parseAsyncArguments=function(){this.expect("(");var o=[];if(!this.match(")"))for(;;){var u=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(o.push(u),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),o},m.prototype.parseLeftHandSideExpressionAllowCall=function(){var o=this.lookahead,u=this.matchContextualKeyword("async"),d=this.context.allowIn;this.context.allowIn=!0;var h;for(this.matchKeyword("super")&&this.context.inFunctionBody?(h=this.createNode(),this.nextToken(),h=this.finalize(h,new s.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):h=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var g=this.parseIdentifierName();h=this.finalize(this.startNode(o),new s.StaticMemberExpression(h,g))}else if(this.match("(")){var y=u&&o.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var b=y?this.parseAsyncArguments():this.parseArguments();if(h=this.finalize(this.startNode(o),new s.CallExpression(h,b)),y&&this.match("=>")){for(var x=0;x<b.length;++x)this.reinterpretExpressionAsPattern(b[x]);h={type:f,params:b,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var g=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),h=this.finalize(this.startNode(o),new s.ComputedMemberExpression(h,g))}else if(this.lookahead.type===10&&this.lookahead.head){var w=this.parseTemplateLiteral();h=this.finalize(this.startNode(o),new s.TaggedTemplateExpression(h,w))}else break;return this.context.allowIn=d,h},m.prototype.parseSuper=function(){var o=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(o,new s.Super)},m.prototype.parseLeftHandSideExpression=function(){e.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var o=this.startNode(this.lookahead),u=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var d=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),u=this.finalize(o,new s.ComputedMemberExpression(u,d))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var d=this.parseIdentifierName();u=this.finalize(o,new s.StaticMemberExpression(u,d))}else if(this.lookahead.type===10&&this.lookahead.head){var h=this.parseTemplateLiteral();u=this.finalize(o,new s.TaggedTemplateExpression(u,h))}else break;return u},m.prototype.parseUpdateExpression=function(){var o,u=this.lookahead;if(this.match("++")||this.match("--")){var d=this.startNode(u),h=this.nextToken();o=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&o.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(o.name)&&this.tolerateError(a.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(a.Messages.InvalidLHSInAssignment);var g=!0;o=this.finalize(d,new s.UpdateExpression(h.value,o,g)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(o=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&o.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(o.name)&&this.tolerateError(a.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(a.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var y=this.nextToken().value,g=!1;o=this.finalize(this.startNode(u),new s.UpdateExpression(y,o,g))}return o},m.prototype.parseAwaitExpression=function(){var o=this.createNode();this.nextToken();var u=this.parseUnaryExpression();return this.finalize(o,new s.AwaitExpression(u))},m.prototype.parseUnaryExpression=function(){var o;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var u=this.startNode(this.lookahead),d=this.nextToken();o=this.inheritCoverGrammar(this.parseUnaryExpression),o=this.finalize(u,new s.UnaryExpression(d.value,o)),this.context.strict&&o.operator==="delete"&&o.argument.type===c.Syntax.Identifier&&this.tolerateError(a.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?o=this.parseAwaitExpression():o=this.parseUpdateExpression();return o},m.prototype.parseExponentiationExpression=function(){var o=this.lookahead,u=this.inheritCoverGrammar(this.parseUnaryExpression);if(u.type!==c.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var d=u,h=this.isolateCoverGrammar(this.parseExponentiationExpression);u=this.finalize(this.startNode(o),new s.BinaryExpression("**",d,h))}return u},m.prototype.binaryPrecedence=function(o){var u=o.value,d;return o.type===7?d=this.operatorPrecedence[u]||0:o.type===4?d=u==="instanceof"||this.context.allowIn&&u==="in"?7:0:d=0,d},m.prototype.parseBinaryExpression=function(){var o=this.lookahead,u=this.inheritCoverGrammar(this.parseExponentiationExpression),d=this.lookahead,h=this.binaryPrecedence(d);if(h>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var g=[o,this.lookahead],y=u,b=this.isolateCoverGrammar(this.parseExponentiationExpression),x=[y,d.value,b],w=[h];h=this.binaryPrecedence(this.lookahead),!(h<=0);){for(;x.length>2&&h<=w[w.length-1];){b=x.pop();var E=x.pop();w.pop(),y=x.pop(),g.pop();var C=this.startNode(g[g.length-1]);x.push(this.finalize(C,new s.BinaryExpression(E,y,b)))}x.push(this.nextToken().value),w.push(h),g.push(this.lookahead),x.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var T=x.length-1;u=x[T];for(var M=g.pop();T>1;){var U=g.pop(),W=M&&M.lineStart,C=this.startNode(U,W),E=x[T-1];u=this.finalize(C,new s.BinaryExpression(E,x[T-2],u)),T-=2,M=U}}return u},m.prototype.parseConditionalExpression=function(){var o=this.lookahead,u=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var d=this.context.allowIn;this.context.allowIn=!0;var h=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=d,this.expect(":");var g=this.isolateCoverGrammar(this.parseAssignmentExpression);u=this.finalize(this.startNode(o),new s.ConditionalExpression(u,h,g)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return u},m.prototype.checkPatternParam=function(o,u){switch(u.type){case c.Syntax.Identifier:this.validateParam(o,u,u.name);break;case c.Syntax.RestElement:this.checkPatternParam(o,u.argument);break;case c.Syntax.AssignmentPattern:this.checkPatternParam(o,u.left);break;case c.Syntax.ArrayPattern:for(var d=0;d<u.elements.length;d++)u.elements[d]!==null&&this.checkPatternParam(o,u.elements[d]);break;case c.Syntax.ObjectPattern:for(var d=0;d<u.properties.length;d++)this.checkPatternParam(o,u.properties[d].value);break;default:break}o.simple=o.simple&&u instanceof s.Identifier},m.prototype.reinterpretAsCoverFormalsList=function(o){var u=[o],d,h=!1;switch(o.type){case c.Syntax.Identifier:break;case f:u=o.params,h=o.async;break;default:return null}d={simple:!0,paramSet:{}};for(var g=0;g<u.length;++g){var y=u[g];y.type===c.Syntax.AssignmentPattern?y.right.type===c.Syntax.YieldExpression&&(y.right.argument&&this.throwUnexpectedToken(this.lookahead),y.right.type=c.Syntax.Identifier,y.right.name="yield",delete y.right.argument,delete y.right.delegate):h&&y.type===c.Syntax.Identifier&&y.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(d,y),u[g]=y}if(this.context.strict||!this.context.allowYield)for(var g=0;g<u.length;++g){var y=u[g];y.type===c.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(d.message===a.Messages.StrictParamDupe){var b=this.context.strict?d.stricted:d.firstRestricted;this.throwUnexpectedToken(b,d.message)}return{simple:d.simple,params:u,stricted:d.stricted,firstRestricted:d.firstRestricted,message:d.message}},m.prototype.parseAssignmentExpression=function(){var o;if(!this.context.allowYield&&this.matchKeyword("yield"))o=this.parseYieldExpression();else{var u=this.lookahead,d=u;if(o=this.parseConditionalExpression(),d.type===3&&d.lineNumber===this.lookahead.lineNumber&&d.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var h=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(h),o={type:f,params:[h],async:!0}}if(o.type===f||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var g=o.async,y=this.reinterpretAsCoverFormalsList(o);if(y){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var b=this.context.strict,x=this.context.allowStrictDirective;this.context.allowStrictDirective=y.simple;var w=this.context.allowYield,E=this.context.await;this.context.allowYield=!0,this.context.await=g;var C=this.startNode(u);this.expect("=>");var T=void 0;if(this.match("{")){var M=this.context.allowIn;this.context.allowIn=!0,T=this.parseFunctionSourceElements(),this.context.allowIn=M}else T=this.isolateCoverGrammar(this.parseAssignmentExpression);var U=T.type!==c.Syntax.BlockStatement;this.context.strict&&y.firstRestricted&&this.throwUnexpectedToken(y.firstRestricted,y.message),this.context.strict&&y.stricted&&this.tolerateUnexpectedToken(y.stricted,y.message),o=g?this.finalize(C,new s.AsyncArrowFunctionExpression(y.params,T,U)):this.finalize(C,new s.ArrowFunctionExpression(y.params,T,U)),this.context.strict=b,this.context.allowStrictDirective=x,this.context.allowYield=w,this.context.await=E}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(a.Messages.InvalidLHSInAssignment),this.context.strict&&o.type===c.Syntax.Identifier){var W=o;this.scanner.isRestrictedWord(W.name)&&this.tolerateUnexpectedToken(d,a.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(W.name)&&this.tolerateUnexpectedToken(d,a.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(o):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),d=this.nextToken();var G=d.value,ge=this.isolateCoverGrammar(this.parseAssignmentExpression);o=this.finalize(this.startNode(u),new s.AssignmentExpression(G,o,ge)),this.context.firstCoverInitializedNameError=null}}return o},m.prototype.parseExpression=function(){var o=this.lookahead,u=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var d=[];for(d.push(u);this.lookahead.type!==2&&this.match(",");)this.nextToken(),d.push(this.isolateCoverGrammar(this.parseAssignmentExpression));u=this.finalize(this.startNode(o),new s.SequenceExpression(d))}return u},m.prototype.parseStatementListItem=function(){var o;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,a.Messages.IllegalExportDeclaration),o=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,a.Messages.IllegalImportDeclaration),o=this.parseImportDeclaration();break;case"const":o=this.parseLexicalDeclaration({inFor:!1});break;case"function":o=this.parseFunctionDeclaration();break;case"class":o=this.parseClassDeclaration();break;case"let":o=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:o=this.parseStatement();break}else o=this.parseStatement();return o},m.prototype.parseBlock=function(){var o=this.createNode();this.expect("{");for(var u=[];!this.match("}");)u.push(this.parseStatementListItem());return this.expect("}"),this.finalize(o,new s.BlockStatement(u))},m.prototype.parseLexicalBinding=function(o,u){var d=this.createNode(),h=[],g=this.parsePattern(h,o);this.context.strict&&g.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(a.Messages.StrictVarName);var y=null;return o==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),y=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(a.Messages.DeclarationMissingInitializer,"const")):(!u.inFor&&g.type!==c.Syntax.Identifier||this.match("="))&&(this.expect("="),y=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(d,new s.VariableDeclarator(g,y))},m.prototype.parseBindingList=function(o,u){for(var d=[this.parseLexicalBinding(o,u)];this.match(",");)this.nextToken(),d.push(this.parseLexicalBinding(o,u));return d},m.prototype.isLexicalDeclaration=function(){var o=this.scanner.saveState();this.scanner.scanComments();var u=this.scanner.lex();return this.scanner.restoreState(o),u.type===3||u.type===7&&u.value==="["||u.type===7&&u.value==="{"||u.type===4&&u.value==="let"||u.type===4&&u.value==="yield"},m.prototype.parseLexicalDeclaration=function(o){var u=this.createNode(),d=this.nextToken().value;e.assert(d==="let"||d==="const","Lexical declaration must be either let or const");var h=this.parseBindingList(d,o);return this.consumeSemicolon(),this.finalize(u,new s.VariableDeclaration(h,d))},m.prototype.parseBindingRestElement=function(o,u){var d=this.createNode();this.expect("...");var h=this.parsePattern(o,u);return this.finalize(d,new s.RestElement(h))},m.prototype.parseArrayPattern=function(o,u){var d=this.createNode();this.expect("[");for(var h=[];!this.match("]");)if(this.match(","))this.nextToken(),h.push(null);else{if(this.match("...")){h.push(this.parseBindingRestElement(o,u));break}else h.push(this.parsePatternWithDefault(o,u));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(d,new s.ArrayPattern(h))},m.prototype.parsePropertyPattern=function(o,u){var d=this.createNode(),h=!1,g=!1,y=!1,b,x;if(this.lookahead.type===3){var w=this.lookahead;b=this.parseVariableIdentifier();var E=this.finalize(d,new s.Identifier(w.value));if(this.match("=")){o.push(w),g=!0,this.nextToken();var C=this.parseAssignmentExpression();x=this.finalize(this.startNode(w),new s.AssignmentPattern(E,C))}else this.match(":")?(this.expect(":"),x=this.parsePatternWithDefault(o,u)):(o.push(w),g=!0,x=E)}else h=this.match("["),b=this.parseObjectPropertyKey(),this.expect(":"),x=this.parsePatternWithDefault(o,u);return this.finalize(d,new s.Property("init",b,h,x,y,g))},m.prototype.parseObjectPattern=function(o,u){var d=this.createNode(),h=[];for(this.expect("{");!this.match("}");)h.push(this.parsePropertyPattern(o,u)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(d,new s.ObjectPattern(h))},m.prototype.parsePattern=function(o,u){var d;return this.match("[")?d=this.parseArrayPattern(o,u):this.match("{")?d=this.parseObjectPattern(o,u):(this.matchKeyword("let")&&(u==="const"||u==="let")&&this.tolerateUnexpectedToken(this.lookahead,a.Messages.LetInLexicalBinding),o.push(this.lookahead),d=this.parseVariableIdentifier(u)),d},m.prototype.parsePatternWithDefault=function(o,u){var d=this.lookahead,h=this.parsePattern(o,u);if(this.match("=")){this.nextToken();var g=this.context.allowYield;this.context.allowYield=!0;var y=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=g,h=this.finalize(this.startNode(d),new s.AssignmentPattern(h,y))}return h},m.prototype.parseVariableIdentifier=function(o){var u=this.createNode(),d=this.nextToken();return d.type===4&&d.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(d,a.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(d):d.type!==3?this.context.strict&&d.type===4&&this.scanner.isStrictModeReservedWord(d.value)?this.tolerateUnexpectedToken(d,a.Messages.StrictReservedWord):(this.context.strict||d.value!=="let"||o!=="var")&&this.throwUnexpectedToken(d):(this.context.isModule||this.context.await)&&d.type===3&&d.value==="await"&&this.tolerateUnexpectedToken(d),this.finalize(u,new s.Identifier(d.value))},m.prototype.parseVariableDeclaration=function(o){var u=this.createNode(),d=[],h=this.parsePattern(d,"var");this.context.strict&&h.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(h.name)&&this.tolerateError(a.Messages.StrictVarName);var g=null;return this.match("=")?(this.nextToken(),g=this.isolateCoverGrammar(this.parseAssignmentExpression)):h.type!==c.Syntax.Identifier&&!o.inFor&&this.expect("="),this.finalize(u,new s.VariableDeclarator(h,g))},m.prototype.parseVariableDeclarationList=function(o){var u={inFor:o.inFor},d=[];for(d.push(this.parseVariableDeclaration(u));this.match(",");)this.nextToken(),d.push(this.parseVariableDeclaration(u));return d},m.prototype.parseVariableStatement=function(){var o=this.createNode();this.expectKeyword("var");var u=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(o,new s.VariableDeclaration(u,"var"))},m.prototype.parseEmptyStatement=function(){var o=this.createNode();return this.expect(";"),this.finalize(o,new s.EmptyStatement)},m.prototype.parseExpressionStatement=function(){var o=this.createNode(),u=this.parseExpression();return this.consumeSemicolon(),this.finalize(o,new s.ExpressionStatement(u))},m.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(a.Messages.StrictFunction),this.parseStatement()},m.prototype.parseIfStatement=function(){var o=this.createNode(),u,d=null;this.expectKeyword("if"),this.expect("(");var h=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),u=this.finalize(this.createNode(),new s.EmptyStatement)):(this.expect(")"),u=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),d=this.parseIfClause())),this.finalize(o,new s.IfStatement(h,u,d))},m.prototype.parseDoWhileStatement=function(){var o=this.createNode();this.expectKeyword("do");var u=this.context.inIteration;this.context.inIteration=!0;var d=this.parseStatement();this.context.inIteration=u,this.expectKeyword("while"),this.expect("(");var h=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(o,new s.DoWhileStatement(d,h))},m.prototype.parseWhileStatement=function(){var o=this.createNode(),u;this.expectKeyword("while"),this.expect("(");var d=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),u=this.finalize(this.createNode(),new s.EmptyStatement);else{this.expect(")");var h=this.context.inIteration;this.context.inIteration=!0,u=this.parseStatement(),this.context.inIteration=h}return this.finalize(o,new s.WhileStatement(d,u))},m.prototype.parseForStatement=function(){var o=null,u=null,d=null,h=!0,g,y,b=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){o=this.createNode(),this.nextToken();var x=this.context.allowIn;this.context.allowIn=!1;var w=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=x,w.length===1&&this.matchKeyword("in")){var E=w[0];E.init&&(E.id.type===c.Syntax.ArrayPattern||E.id.type===c.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(a.Messages.ForInOfLoopInitializer,"for-in"),o=this.finalize(o,new s.VariableDeclaration(w,"var")),this.nextToken(),g=o,y=this.parseExpression(),o=null}else w.length===1&&w[0].init===null&&this.matchContextualKeyword("of")?(o=this.finalize(o,new s.VariableDeclaration(w,"var")),this.nextToken(),g=o,y=this.parseAssignmentExpression(),o=null,h=!1):(o=this.finalize(o,new s.VariableDeclaration(w,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){o=this.createNode();var C=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")o=this.finalize(o,new s.Identifier(C)),this.nextToken(),g=o,y=this.parseExpression(),o=null;else{var x=this.context.allowIn;this.context.allowIn=!1;var w=this.parseBindingList(C,{inFor:!0});this.context.allowIn=x,w.length===1&&w[0].init===null&&this.matchKeyword("in")?(o=this.finalize(o,new s.VariableDeclaration(w,C)),this.nextToken(),g=o,y=this.parseExpression(),o=null):w.length===1&&w[0].init===null&&this.matchContextualKeyword("of")?(o=this.finalize(o,new s.VariableDeclaration(w,C)),this.nextToken(),g=o,y=this.parseAssignmentExpression(),o=null,h=!1):(this.consumeSemicolon(),o=this.finalize(o,new s.VariableDeclaration(w,C)))}}else{var T=this.lookahead,x=this.context.allowIn;if(this.context.allowIn=!1,o=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=x,this.matchKeyword("in"))(!this.context.isAssignmentTarget||o.type===c.Syntax.AssignmentExpression)&&this.tolerateError(a.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(o),g=o,y=this.parseExpression(),o=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||o.type===c.Syntax.AssignmentExpression)&&this.tolerateError(a.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(o),g=o,y=this.parseAssignmentExpression(),o=null,h=!1;else{if(this.match(",")){for(var M=[o];this.match(",");)this.nextToken(),M.push(this.isolateCoverGrammar(this.parseAssignmentExpression));o=this.finalize(this.startNode(T),new s.SequenceExpression(M))}this.expect(";")}}typeof g>"u"&&(this.match(";")||(u=this.parseExpression()),this.expect(";"),this.match(")")||(d=this.parseExpression()));var U;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),U=this.finalize(this.createNode(),new s.EmptyStatement);else{this.expect(")");var W=this.context.inIteration;this.context.inIteration=!0,U=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=W}return typeof g>"u"?this.finalize(b,new s.ForStatement(o,u,d,U)):h?this.finalize(b,new s.ForInStatement(g,y,U)):this.finalize(b,new s.ForOfStatement(g,y,U))},m.prototype.parseContinueStatement=function(){var o=this.createNode();this.expectKeyword("continue");var u=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var d=this.parseVariableIdentifier();u=d;var h="$"+d.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,h)||this.throwError(a.Messages.UnknownLabel,d.name)}return this.consumeSemicolon(),u===null&&!this.context.inIteration&&this.throwError(a.Messages.IllegalContinue),this.finalize(o,new s.ContinueStatement(u))},m.prototype.parseBreakStatement=function(){var o=this.createNode();this.expectKeyword("break");var u=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var d=this.parseVariableIdentifier(),h="$"+d.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,h)||this.throwError(a.Messages.UnknownLabel,d.name),u=d}return this.consumeSemicolon(),u===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(a.Messages.IllegalBreak),this.finalize(o,new s.BreakStatement(u))},m.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(a.Messages.IllegalReturn);var o=this.createNode();this.expectKeyword("return");var u=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,d=u?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(o,new s.ReturnStatement(d))},m.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(a.Messages.StrictModeWith);var o=this.createNode(),u;this.expectKeyword("with"),this.expect("(");var d=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),u=this.finalize(this.createNode(),new s.EmptyStatement)):(this.expect(")"),u=this.parseStatement()),this.finalize(o,new s.WithStatement(d,u))},m.prototype.parseSwitchCase=function(){var o=this.createNode(),u;this.matchKeyword("default")?(this.nextToken(),u=null):(this.expectKeyword("case"),u=this.parseExpression()),this.expect(":");for(var d=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)d.push(this.parseStatementListItem());return this.finalize(o,new s.SwitchCase(u,d))},m.prototype.parseSwitchStatement=function(){var o=this.createNode();this.expectKeyword("switch"),this.expect("(");var u=this.parseExpression();this.expect(")");var d=this.context.inSwitch;this.context.inSwitch=!0;var h=[],g=!1;for(this.expect("{");!this.match("}");){var y=this.parseSwitchCase();y.test===null&&(g&&this.throwError(a.Messages.MultipleDefaultsInSwitch),g=!0),h.push(y)}return this.expect("}"),this.context.inSwitch=d,this.finalize(o,new s.SwitchStatement(u,h))},m.prototype.parseLabelledStatement=function(){var o=this.createNode(),u=this.parseExpression(),d;if(u.type===c.Syntax.Identifier&&this.match(":")){this.nextToken();var h=u,g="$"+h.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,g)&&this.throwError(a.Messages.Redeclaration,"Label",h.name),this.context.labelSet[g]=!0;var y=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),y=this.parseClassDeclaration();else if(this.matchKeyword("function")){var b=this.lookahead,x=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(b,a.Messages.StrictFunction):x.generator&&this.tolerateUnexpectedToken(b,a.Messages.GeneratorInLegacyContext),y=x}else y=this.parseStatement();delete this.context.labelSet[g],d=new s.LabeledStatement(h,y)}else this.consumeSemicolon(),d=new s.ExpressionStatement(u);return this.finalize(o,d)},m.prototype.parseThrowStatement=function(){var o=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(a.Messages.NewlineAfterThrow);var u=this.parseExpression();return this.consumeSemicolon(),this.finalize(o,new s.ThrowStatement(u))},m.prototype.parseCatchClause=function(){var o=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var u=[],d=this.parsePattern(u),h={},g=0;g<u.length;g++){var y="$"+u[g].value;Object.prototype.hasOwnProperty.call(h,y)&&this.tolerateError(a.Messages.DuplicateBinding,u[g].value),h[y]=!0}this.context.strict&&d.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(d.name)&&this.tolerateError(a.Messages.StrictCatchVariable),this.expect(")");var b=this.parseBlock();return this.finalize(o,new s.CatchClause(d,b))},m.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},m.prototype.parseTryStatement=function(){var o=this.createNode();this.expectKeyword("try");var u=this.parseBlock(),d=this.matchKeyword("catch")?this.parseCatchClause():null,h=this.matchKeyword("finally")?this.parseFinallyClause():null;return!d&&!h&&this.throwError(a.Messages.NoCatchOrFinally),this.finalize(o,new s.TryStatement(u,d,h))},m.prototype.parseDebuggerStatement=function(){var o=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(o,new s.DebuggerStatement)},m.prototype.parseStatement=function(){var o;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:o=this.parseExpressionStatement();break;case 7:var u=this.lookahead.value;u==="{"?o=this.parseBlock():u==="("?o=this.parseExpressionStatement():u===";"?o=this.parseEmptyStatement():o=this.parseExpressionStatement();break;case 3:o=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":o=this.parseBreakStatement();break;case"continue":o=this.parseContinueStatement();break;case"debugger":o=this.parseDebuggerStatement();break;case"do":o=this.parseDoWhileStatement();break;case"for":o=this.parseForStatement();break;case"function":o=this.parseFunctionDeclaration();break;case"if":o=this.parseIfStatement();break;case"return":o=this.parseReturnStatement();break;case"switch":o=this.parseSwitchStatement();break;case"throw":o=this.parseThrowStatement();break;case"try":o=this.parseTryStatement();break;case"var":o=this.parseVariableStatement();break;case"while":o=this.parseWhileStatement();break;case"with":o=this.parseWithStatement();break;default:o=this.parseExpressionStatement();break}break;default:o=this.throwUnexpectedToken(this.lookahead)}return o},m.prototype.parseFunctionSourceElements=function(){var o=this.createNode();this.expect("{");var u=this.parseDirectivePrologues(),d=this.context.labelSet,h=this.context.inIteration,g=this.context.inSwitch,y=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)u.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=d,this.context.inIteration=h,this.context.inSwitch=g,this.context.inFunctionBody=y,this.finalize(o,new s.BlockStatement(u))},m.prototype.validateParam=function(o,u,d){var h="$"+d;this.context.strict?(this.scanner.isRestrictedWord(d)&&(o.stricted=u,o.message=a.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(o.paramSet,h)&&(o.stricted=u,o.message=a.Messages.StrictParamDupe)):o.firstRestricted||(this.scanner.isRestrictedWord(d)?(o.firstRestricted=u,o.message=a.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(d)?(o.firstRestricted=u,o.message=a.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(o.paramSet,h)&&(o.stricted=u,o.message=a.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(o.paramSet,h,{value:!0,enumerable:!0,writable:!0,configurable:!0}):o.paramSet[h]=!0},m.prototype.parseRestElement=function(o){var u=this.createNode();this.expect("...");var d=this.parsePattern(o);return this.match("=")&&this.throwError(a.Messages.DefaultRestParameter),this.match(")")||this.throwError(a.Messages.ParameterAfterRestParameter),this.finalize(u,new s.RestElement(d))},m.prototype.parseFormalParameter=function(o){for(var u=[],d=this.match("...")?this.parseRestElement(u):this.parsePatternWithDefault(u),h=0;h<u.length;h++)this.validateParam(o,u[h],u[h].value);o.simple=o.simple&&d instanceof s.Identifier,o.params.push(d)},m.prototype.parseFormalParameters=function(o){var u;if(u={simple:!0,params:[],firstRestricted:o},this.expect("("),!this.match(")"))for(u.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(u),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:u.simple,params:u.params,stricted:u.stricted,firstRestricted:u.firstRestricted,message:u.message}},m.prototype.matchAsyncFunction=function(){var o=this.matchContextualKeyword("async");if(o){var u=this.scanner.saveState();this.scanner.scanComments();var d=this.scanner.lex();this.scanner.restoreState(u),o=u.lineNumber===d.lineNumber&&d.type===4&&d.value==="function"}return o},m.prototype.parseFunctionDeclaration=function(o){var u=this.createNode(),d=this.matchContextualKeyword("async");d&&this.nextToken(),this.expectKeyword("function");var h=d?!1:this.match("*");h&&this.nextToken();var g,y=null,b=null;if(!o||!this.match("(")){var x=this.lookahead;y=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(x.value)&&this.tolerateUnexpectedToken(x,a.Messages.StrictFunctionName):this.scanner.isRestrictedWord(x.value)?(b=x,g=a.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(x.value)&&(b=x,g=a.Messages.StrictReservedWord)}var w=this.context.await,E=this.context.allowYield;this.context.await=d,this.context.allowYield=!h;var C=this.parseFormalParameters(b),T=C.params,M=C.stricted;b=C.firstRestricted,C.message&&(g=C.message);var U=this.context.strict,W=this.context.allowStrictDirective;this.context.allowStrictDirective=C.simple;var G=this.parseFunctionSourceElements();return this.context.strict&&b&&this.throwUnexpectedToken(b,g),this.context.strict&&M&&this.tolerateUnexpectedToken(M,g),this.context.strict=U,this.context.allowStrictDirective=W,this.context.await=w,this.context.allowYield=E,d?this.finalize(u,new s.AsyncFunctionDeclaration(y,T,G)):this.finalize(u,new s.FunctionDeclaration(y,T,G,h))},m.prototype.parseFunctionExpression=function(){var o=this.createNode(),u=this.matchContextualKeyword("async");u&&this.nextToken(),this.expectKeyword("function");var d=u?!1:this.match("*");d&&this.nextToken();var h,g=null,y,b=this.context.await,x=this.context.allowYield;if(this.context.await=u,this.context.allowYield=!d,!this.match("(")){var w=this.lookahead;g=!this.context.strict&&!d&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(w.value)&&this.tolerateUnexpectedToken(w,a.Messages.StrictFunctionName):this.scanner.isRestrictedWord(w.value)?(y=w,h=a.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(w.value)&&(y=w,h=a.Messages.StrictReservedWord)}var E=this.parseFormalParameters(y),C=E.params,T=E.stricted;y=E.firstRestricted,E.message&&(h=E.message);var M=this.context.strict,U=this.context.allowStrictDirective;this.context.allowStrictDirective=E.simple;var W=this.parseFunctionSourceElements();return this.context.strict&&y&&this.throwUnexpectedToken(y,h),this.context.strict&&T&&this.tolerateUnexpectedToken(T,h),this.context.strict=M,this.context.allowStrictDirective=U,this.context.await=b,this.context.allowYield=x,u?this.finalize(o,new s.AsyncFunctionExpression(g,C,W)):this.finalize(o,new s.FunctionExpression(g,C,W,d))},m.prototype.parseDirective=function(){var o=this.lookahead,u=this.createNode(),d=this.parseExpression(),h=d.type===c.Syntax.Literal?this.getTokenRaw(o).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(u,h?new s.Directive(d,h):new s.ExpressionStatement(d))},m.prototype.parseDirectivePrologues=function(){for(var o=null,u=[];;){var d=this.lookahead;if(d.type!==8)break;var h=this.parseDirective();u.push(h);var g=h.directive;if(typeof g!="string")break;g==="use strict"?(this.context.strict=!0,o&&this.tolerateUnexpectedToken(o,a.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(d,a.Messages.IllegalLanguageModeDirective)):!o&&d.octal&&(o=d)}return u},m.prototype.qualifiedPropertyName=function(o){switch(o.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return o.value==="[";default:break}return!1},m.prototype.parseGetterMethod=function(){var o=this.createNode(),u=!1,d=this.context.allowYield;this.context.allowYield=!u;var h=this.parseFormalParameters();h.params.length>0&&this.tolerateError(a.Messages.BadGetterArity);var g=this.parsePropertyMethod(h);return this.context.allowYield=d,this.finalize(o,new s.FunctionExpression(null,h.params,g,u))},m.prototype.parseSetterMethod=function(){var o=this.createNode(),u=!1,d=this.context.allowYield;this.context.allowYield=!u;var h=this.parseFormalParameters();h.params.length!==1?this.tolerateError(a.Messages.BadSetterArity):h.params[0]instanceof s.RestElement&&this.tolerateError(a.Messages.BadSetterRestParameter);var g=this.parsePropertyMethod(h);return this.context.allowYield=d,this.finalize(o,new s.FunctionExpression(null,h.params,g,u))},m.prototype.parseGeneratorMethod=function(){var o=this.createNode(),u=!0,d=this.context.allowYield;this.context.allowYield=!0;var h=this.parseFormalParameters();this.context.allowYield=!1;var g=this.parsePropertyMethod(h);return this.context.allowYield=d,this.finalize(o,new s.FunctionExpression(null,h.params,g,u))},m.prototype.isStartOfExpression=function(){var o=!0,u=this.lookahead.value;switch(this.lookahead.type){case 7:o=u==="["||u==="("||u==="{"||u==="+"||u==="-"||u==="!"||u==="~"||u==="++"||u==="--"||u==="/"||u==="/=";break;case 4:o=u==="class"||u==="delete"||u==="function"||u==="let"||u==="new"||u==="super"||u==="this"||u==="typeof"||u==="void"||u==="yield";break;default:break}return o},m.prototype.parseYieldExpression=function(){var o=this.createNode();this.expectKeyword("yield");var u=null,d=!1;if(!this.hasLineTerminator){var h=this.context.allowYield;this.context.allowYield=!1,d=this.match("*"),d?(this.nextToken(),u=this.parseAssignmentExpression()):this.isStartOfExpression()&&(u=this.parseAssignmentExpression()),this.context.allowYield=h}return this.finalize(o,new s.YieldExpression(u,d))},m.prototype.parseClassElement=function(o){var u=this.lookahead,d=this.createNode(),h="",g=null,y=null,b=!1,x=!1,w=!1,E=!1;if(this.match("*"))this.nextToken();else{b=this.match("["),g=this.parseObjectPropertyKey();var C=g;if(C.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(u=this.lookahead,w=!0,b=this.match("["),this.match("*")?this.nextToken():g=this.parseObjectPropertyKey()),u.type===3&&!this.hasLineTerminator&&u.value==="async"){var T=this.lookahead.value;T!==":"&&T!=="("&&T!=="*"&&(E=!0,u=this.lookahead,g=this.parseObjectPropertyKey(),u.type===3&&u.value==="constructor"&&this.tolerateUnexpectedToken(u,a.Messages.ConstructorIsAsync))}}var M=this.qualifiedPropertyName(this.lookahead);return u.type===3?u.value==="get"&&M?(h="get",b=this.match("["),g=this.parseObjectPropertyKey(),this.context.allowYield=!1,y=this.parseGetterMethod()):u.value==="set"&&M&&(h="set",b=this.match("["),g=this.parseObjectPropertyKey(),y=this.parseSetterMethod()):u.type===7&&u.value==="*"&&M&&(h="init",b=this.match("["),g=this.parseObjectPropertyKey(),y=this.parseGeneratorMethod(),x=!0),!h&&g&&this.match("(")&&(h="init",y=E?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),x=!0),h||this.throwUnexpectedToken(this.lookahead),h==="init"&&(h="method"),b||(w&&this.isPropertyKey(g,"prototype")&&this.throwUnexpectedToken(u,a.Messages.StaticPrototype),!w&&this.isPropertyKey(g,"constructor")&&((h!=="method"||!x||y&&y.generator)&&this.throwUnexpectedToken(u,a.Messages.ConstructorSpecialMethod),o.value?this.throwUnexpectedToken(u,a.Messages.DuplicateConstructor):o.value=!0,h="constructor")),this.finalize(d,new s.MethodDefinition(g,b,y,h,w))},m.prototype.parseClassElementList=function(){var o=[],u={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():o.push(this.parseClassElement(u));return this.expect("}"),o},m.prototype.parseClassBody=function(){var o=this.createNode(),u=this.parseClassElementList();return this.finalize(o,new s.ClassBody(u))},m.prototype.parseClassDeclaration=function(o){var u=this.createNode(),d=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var h=o&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),g=null;this.matchKeyword("extends")&&(this.nextToken(),g=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var y=this.parseClassBody();return this.context.strict=d,this.finalize(u,new s.ClassDeclaration(h,g,y))},m.prototype.parseClassExpression=function(){var o=this.createNode(),u=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var d=this.lookahead.type===3?this.parseVariableIdentifier():null,h=null;this.matchKeyword("extends")&&(this.nextToken(),h=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var g=this.parseClassBody();return this.context.strict=u,this.finalize(o,new s.ClassExpression(d,h,g))},m.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var o=this.createNode(),u=this.parseDirectivePrologues();this.lookahead.type!==2;)u.push(this.parseStatementListItem());return this.finalize(o,new s.Module(u))},m.prototype.parseScript=function(){for(var o=this.createNode(),u=this.parseDirectivePrologues();this.lookahead.type!==2;)u.push(this.parseStatementListItem());return this.finalize(o,new s.Script(u))},m.prototype.parseModuleSpecifier=function(){var o=this.createNode();this.lookahead.type!==8&&this.throwError(a.Messages.InvalidModuleSpecifier);var u=this.nextToken(),d=this.getTokenRaw(u);return this.finalize(o,new s.Literal(u.value,d))},m.prototype.parseImportSpecifier=function(){var o=this.createNode(),u,d;return this.lookahead.type===3?(u=this.parseVariableIdentifier(),d=u,this.matchContextualKeyword("as")&&(this.nextToken(),d=this.parseVariableIdentifier())):(u=this.parseIdentifierName(),d=u,this.matchContextualKeyword("as")?(this.nextToken(),d=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(o,new s.ImportSpecifier(d,u))},m.prototype.parseNamedImports=function(){this.expect("{");for(var o=[];!this.match("}");)o.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),o},m.prototype.parseImportDefaultSpecifier=function(){var o=this.createNode(),u=this.parseIdentifierName();return this.finalize(o,new s.ImportDefaultSpecifier(u))},m.prototype.parseImportNamespaceSpecifier=function(){var o=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(a.Messages.NoAsAfterImportNamespace),this.nextToken();var u=this.parseIdentifierName();return this.finalize(o,new s.ImportNamespaceSpecifier(u))},m.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(a.Messages.IllegalImportDeclaration);var o=this.createNode();this.expectKeyword("import");var u,d=[];if(this.lookahead.type===8)u=this.parseModuleSpecifier();else{if(this.match("{")?d=d.concat(this.parseNamedImports()):this.match("*")?d.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(d.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?d.push(this.parseImportNamespaceSpecifier()):this.match("{")?d=d.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var h=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(h,this.lookahead.value)}this.nextToken(),u=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(o,new s.ImportDeclaration(d,u))},m.prototype.parseExportSpecifier=function(){var o=this.createNode(),u=this.parseIdentifierName(),d=u;return this.matchContextualKeyword("as")&&(this.nextToken(),d=this.parseIdentifierName()),this.finalize(o,new s.ExportSpecifier(u,d))},m.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(a.Messages.IllegalExportDeclaration);var o=this.createNode();this.expectKeyword("export");var u;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var d=this.parseFunctionDeclaration(!0);u=this.finalize(o,new s.ExportDefaultDeclaration(d))}else if(this.matchKeyword("class")){var d=this.parseClassDeclaration(!0);u=this.finalize(o,new s.ExportDefaultDeclaration(d))}else if(this.matchContextualKeyword("async")){var d=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();u=this.finalize(o,new s.ExportDefaultDeclaration(d))}else{this.matchContextualKeyword("from")&&this.throwError(a.Messages.UnexpectedToken,this.lookahead.value);var d=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),u=this.finalize(o,new s.ExportDefaultDeclaration(d))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var h=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(h,this.lookahead.value)}this.nextToken();var g=this.parseModuleSpecifier();this.consumeSemicolon(),u=this.finalize(o,new s.ExportAllDeclaration(g))}else if(this.lookahead.type===4){var d=void 0;switch(this.lookahead.value){case"let":case"const":d=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":d=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}u=this.finalize(o,new s.ExportNamedDeclaration(d,[],null))}else if(this.matchAsyncFunction()){var d=this.parseFunctionDeclaration();u=this.finalize(o,new s.ExportNamedDeclaration(d,[],null))}else{var y=[],b=null,x=!1;for(this.expect("{");!this.match("}");)x=x||this.matchKeyword("default"),y.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),b=this.parseModuleSpecifier(),this.consumeSemicolon();else if(x){var h=this.lookahead.value?a.Messages.UnexpectedToken:a.Messages.MissingFromClause;this.throwError(h,this.lookahead.value)}else this.consumeSemicolon();u=this.finalize(o,new s.ExportNamedDeclaration(null,y,b))}return u},m}();t.Parser=v},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function r(e,i){if(!e)throw new Error("ASSERT: "+i)}t.assert=r},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.errors=[],this.tolerant=!1}return e.prototype.recordError=function(i){this.errors.push(i)},e.prototype.tolerate=function(i){if(this.tolerant)this.recordError(i);else throw i},e.prototype.constructError=function(i,a){var s=new Error(i);try{throw s}catch(l){Object.create&&Object.defineProperty&&(s=Object.create(l),Object.defineProperty(s,"column",{value:a}))}return s},e.prototype.createError=function(i,a,s,l){var c="Line "+a+": "+l,p=this.constructError(c,s);return p.index=i,p.lineNumber=a,p.description=l,p},e.prototype.throwError=function(i,a,s,l){throw this.createError(i,a,s,l)},e.prototype.tolerateError=function(i,a,s,l){var c=this.createError(i,a,s,l);if(this.tolerant)this.recordError(c);else throw c},e}();t.ErrorHandler=r},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=r(9),i=r(4),a=r(11);function s(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function l(p){return"01234567".indexOf(p)}var c=function(){function p(f,v){this.source=f,this.errorHandler=v,this.trackComment=!1,this.isModule=!1,this.length=f.length,this.index=0,this.lineNumber=f.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(f){this.index=f.index,this.lineNumber=f.lineNumber,this.lineStart=f.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(f){return f===void 0&&(f=a.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,f)},p.prototype.tolerateUnexpectedToken=function(f){f===void 0&&(f=a.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,f)},p.prototype.skipSingleLineComment=function(f){var v=[],m,o;for(this.trackComment&&(v=[],m=this.index-f,o={start:{line:this.lineNumber,column:this.index-this.lineStart-f},end:{}});!this.eof();){var u=this.source.charCodeAt(this.index);if(++this.index,i.Character.isLineTerminator(u)){if(this.trackComment){o.end={line:this.lineNumber,column:this.index-this.lineStart-1};var d={multiLine:!1,slice:[m+f,this.index-1],range:[m,this.index-1],loc:o};v.push(d)}return u===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,v}}if(this.trackComment){o.end={line:this.lineNumber,column:this.index-this.lineStart};var d={multiLine:!1,slice:[m+f,this.index],range:[m,this.index],loc:o};v.push(d)}return v},p.prototype.skipMultiLineComment=function(){var f=[],v,m;for(this.trackComment&&(f=[],v=this.index-2,m={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var o=this.source.charCodeAt(this.index);if(i.Character.isLineTerminator(o))o===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(o===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){m.end={line:this.lineNumber,column:this.index-this.lineStart};var u={multiLine:!0,slice:[v+2,this.index-2],range:[v,this.index],loc:m};f.push(u)}return f}++this.index}else++this.index}if(this.trackComment){m.end={line:this.lineNumber,column:this.index-this.lineStart};var u={multiLine:!0,slice:[v+2,this.index],range:[v,this.index],loc:m};f.push(u)}return this.tolerateUnexpectedToken(),f},p.prototype.scanComments=function(){var f;this.trackComment&&(f=[]);for(var v=this.index===0;!this.eof();){var m=this.source.charCodeAt(this.index);if(i.Character.isWhiteSpace(m))++this.index;else if(i.Character.isLineTerminator(m))++this.index,m===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,v=!0;else if(m===47)if(m=this.source.charCodeAt(this.index+1),m===47){this.index+=2;var o=this.skipSingleLineComment(2);this.trackComment&&(f=f.concat(o)),v=!0}else if(m===42){this.index+=2;var o=this.skipMultiLineComment();this.trackComment&&(f=f.concat(o))}else break;else if(v&&m===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var o=this.skipSingleLineComment(3);this.trackComment&&(f=f.concat(o))}else break;else if(m===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var o=this.skipSingleLineComment(4);this.trackComment&&(f=f.concat(o))}else break;else break}return f},p.prototype.isFutureReservedWord=function(f){switch(f){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(f){switch(f){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(f){return f==="eval"||f==="arguments"},p.prototype.isKeyword=function(f){switch(f.length){case 2:return f==="if"||f==="in"||f==="do";case 3:return f==="var"||f==="for"||f==="new"||f==="try"||f==="let";case 4:return f==="this"||f==="else"||f==="case"||f==="void"||f==="with"||f==="enum";case 5:return f==="while"||f==="break"||f==="catch"||f==="throw"||f==="const"||f==="yield"||f==="class"||f==="super";case 6:return f==="return"||f==="typeof"||f==="delete"||f==="switch"||f==="export"||f==="import";case 7:return f==="default"||f==="finally"||f==="extends";case 8:return f==="function"||f==="continue"||f==="debugger";case 10:return f==="instanceof";default:return!1}},p.prototype.codePointAt=function(f){var v=this.source.charCodeAt(f);if(v>=55296&&v<=56319){var m=this.source.charCodeAt(f+1);if(m>=56320&&m<=57343){var o=v;v=(o-55296)*1024+m-56320+65536}}return v},p.prototype.scanHexEscape=function(f){for(var v=f==="u"?4:2,m=0,o=0;o<v;++o)if(!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index)))m=m*16+s(this.source[this.index++]);else return null;return String.fromCharCode(m)},p.prototype.scanUnicodeCodePointEscape=function(){var f=this.source[this.index],v=0;for(f==="}"&&this.throwUnexpectedToken();!this.eof()&&(f=this.source[this.index++],!!i.Character.isHexDigit(f.charCodeAt(0)));)v=v*16+s(f);return(v>1114111||f!=="}")&&this.throwUnexpectedToken(),i.Character.fromCodePoint(v)},p.prototype.getIdentifier=function(){for(var f=this.index++;!this.eof();){var v=this.source.charCodeAt(this.index);if(v===92)return this.index=f,this.getComplexIdentifier();if(v>=55296&&v<57343)return this.index=f,this.getComplexIdentifier();if(i.Character.isIdentifierPart(v))++this.index;else break}return this.source.slice(f,this.index)},p.prototype.getComplexIdentifier=function(){var f=this.codePointAt(this.index),v=i.Character.fromCodePoint(f);this.index+=v.length;var m;for(f===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"),(m===null||m==="\\"||!i.Character.isIdentifierStart(m.charCodeAt(0)))&&this.throwUnexpectedToken()),v=m);!this.eof()&&(f=this.codePointAt(this.index),!!i.Character.isIdentifierPart(f));)m=i.Character.fromCodePoint(f),v+=m,this.index+=m.length,f===92&&(v=v.substr(0,v.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,m=this.scanUnicodeCodePointEscape()):(m=this.scanHexEscape("u"),(m===null||m==="\\"||!i.Character.isIdentifierPart(m.charCodeAt(0)))&&this.throwUnexpectedToken()),v+=m);return v},p.prototype.octalToDecimal=function(f){var v=f!=="0",m=l(f);return!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(v=!0,m=m*8+l(this.source[this.index++]),"0123".indexOf(f)>=0&&!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(m=m*8+l(this.source[this.index++]))),{code:m,octal:v}},p.prototype.scanIdentifier=function(){var f,v=this.index,m=this.source.charCodeAt(v)===92?this.getComplexIdentifier():this.getIdentifier();if(m.length===1?f=3:this.isKeyword(m)?f=4:m==="null"?f=5:m==="true"||m==="false"?f=1:f=3,f!==3&&v+m.length!==this.index){var o=this.index;this.index=v,this.tolerateUnexpectedToken(a.Messages.InvalidEscapedReservedWord),this.index=o}return{type:f,value:m,lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.scanPunctuator=function(){var f=this.index,v=this.source[this.index];switch(v){case"(":case"{":v==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,v="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:v=this.source.substr(this.index,4),v===">>>="?this.index+=4:(v=v.substr(0,3),v==="==="||v==="!=="||v===">>>"||v==="<<="||v===">>="||v==="**="?this.index+=3:(v=v.substr(0,2),v==="&&"||v==="||"||v==="=="||v==="!="||v==="+="||v==="-="||v==="*="||v==="/="||v==="++"||v==="--"||v==="<<"||v===">>"||v==="&="||v==="|="||v==="^="||v==="%="||v==="<="||v===">="||v==="=>"||v==="**"?this.index+=2:(v=this.source[this.index],"<>=!+-*%&|^/".indexOf(v)>=0&&++this.index)))}return this.index===f&&this.throwUnexpectedToken(),{type:7,value:v,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanHexLiteral=function(f){for(var v="";!this.eof()&&i.Character.isHexDigit(this.source.charCodeAt(this.index));)v+=this.source[this.index++];return v.length===0&&this.throwUnexpectedToken(),i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+v,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanBinaryLiteral=function(f){for(var v="",m;!this.eof()&&(m=this.source[this.index],!(m!=="0"&&m!=="1"));)v+=this.source[this.index++];return v.length===0&&this.throwUnexpectedToken(),this.eof()||(m=this.source.charCodeAt(this.index),(i.Character.isIdentifierStart(m)||i.Character.isDecimalDigit(m))&&this.throwUnexpectedToken()),{type:6,value:parseInt(v,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanOctalLiteral=function(f,v){var m="",o=!1;for(i.Character.isOctalDigit(f.charCodeAt(0))?(o=!0,m="0"+this.source[this.index++]):++this.index;!this.eof()&&i.Character.isOctalDigit(this.source.charCodeAt(this.index));)m+=this.source[this.index++];return!o&&m.length===0&&this.throwUnexpectedToken(),(i.Character.isIdentifierStart(this.source.charCodeAt(this.index))||i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(m,8),octal:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:v,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var f=this.index+1;f<this.length;++f){var v=this.source[f];if(v==="8"||v==="9")return!1;if(!i.Character.isOctalDigit(v.charCodeAt(0)))return!0}return!0},p.prototype.scanNumericLiteral=function(){var f=this.index,v=this.source[f];e.assert(i.Character.isDecimalDigit(v.charCodeAt(0))||v===".","Numeric literal must start with a decimal digit or a decimal point");var m="";if(v!=="."){if(m=this.source[this.index++],v=this.source[this.index],m==="0"){if(v==="x"||v==="X")return++this.index,this.scanHexLiteral(f);if(v==="b"||v==="B")return++this.index,this.scanBinaryLiteral(f);if(v==="o"||v==="O")return this.scanOctalLiteral(v,f);if(v&&i.Character.isOctalDigit(v.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(v,f)}for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)m+=this.source[this.index++];v=this.source[this.index]}if(v==="."){for(m+=this.source[this.index++];i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)m+=this.source[this.index++];v=this.source[this.index]}if(v==="e"||v==="E")if(m+=this.source[this.index++],v=this.source[this.index],(v==="+"||v==="-")&&(m+=this.source[this.index++]),i.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;i.Character.isDecimalDigit(this.source.charCodeAt(this.index));)m+=this.source[this.index++];else this.throwUnexpectedToken();return i.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(m),lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanStringLiteral=function(){var f=this.index,v=this.source[f];e.assert(v==="'"||v==='"',"String literal must starts with a quote"),++this.index;for(var m=!1,o="";!this.eof();){var u=this.source[this.index++];if(u===v){v="";break}else if(u==="\\")if(u=this.source[this.index++],!u||!i.Character.isLineTerminator(u.charCodeAt(0)))switch(u){case"u":if(this.source[this.index]==="{")++this.index,o+=this.scanUnicodeCodePointEscape();else{var d=this.scanHexEscape(u);d===null&&this.throwUnexpectedToken(),o+=d}break;case"x":var h=this.scanHexEscape(u);h===null&&this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence),o+=h;break;case"n":o+=`
|
|
`;break;case"r":o+="\r";break;case"t":o+=" ";break;case"b":o+="\b";break;case"f":o+="\f";break;case"v":o+="\v";break;case"8":case"9":o+=u,this.tolerateUnexpectedToken();break;default:if(u&&i.Character.isOctalDigit(u.charCodeAt(0))){var g=this.octalToDecimal(u);m=g.octal||m,o+=String.fromCharCode(g.code)}else o+=u;break}else++this.lineNumber,u==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else{if(i.Character.isLineTerminator(u.charCodeAt(0)))break;o+=u}}return v!==""&&(this.index=f,this.throwUnexpectedToken()),{type:8,value:o,octal:m,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.scanTemplate=function(){var f="",v=!1,m=this.index,o=this.source[m]==="`",u=!1,d=2;for(++this.index;!this.eof();){var h=this.source[this.index++];if(h==="`"){d=1,u=!0,v=!0;break}else if(h==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,v=!0;break}f+=h}else if(h==="\\")if(h=this.source[this.index++],i.Character.isLineTerminator(h.charCodeAt(0)))++this.lineNumber,h==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else switch(h){case"n":f+=`
|
|
`;break;case"r":f+="\r";break;case"t":f+=" ";break;case"u":if(this.source[this.index]==="{")++this.index,f+=this.scanUnicodeCodePointEscape();else{var g=this.index,y=this.scanHexEscape(h);y!==null?f+=y:(this.index=g,f+=h)}break;case"x":var b=this.scanHexEscape(h);b===null&&this.throwUnexpectedToken(a.Messages.InvalidHexEscapeSequence),f+=b;break;case"b":f+="\b";break;case"f":f+="\f";break;case"v":f+="\v";break;default:h==="0"?(i.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral),f+="\0"):i.Character.isOctalDigit(h.charCodeAt(0))?this.throwUnexpectedToken(a.Messages.TemplateOctalLiteral):f+=h;break}else i.Character.isLineTerminator(h.charCodeAt(0))?(++this.lineNumber,h==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index,f+=`
|
|
`):f+=h}return v||this.throwUnexpectedToken(),o||this.curlyStack.pop(),{type:10,value:this.source.slice(m+1,this.index-d),cooked:f,head:o,tail:u,lineNumber:this.lineNumber,lineStart:this.lineStart,start:m,end:this.index}},p.prototype.testRegExp=function(f,v){var m="\uFFFF",o=f,u=this;v.indexOf("u")>=0&&(o=o.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(d,h,g){var y=parseInt(h||g,16);return y>1114111&&u.throwUnexpectedToken(a.Messages.InvalidRegExp),y<=65535?String.fromCharCode(y):m}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m));try{RegExp(o)}catch{this.throwUnexpectedToken(a.Messages.InvalidRegExp)}try{return new RegExp(f,v)}catch{return null}},p.prototype.scanRegExpBody=function(){var f=this.source[this.index];e.assert(f==="/","Regular expression literal must start with a slash");for(var v=this.source[this.index++],m=!1,o=!1;!this.eof();)if(f=this.source[this.index++],v+=f,f==="\\")f=this.source[this.index++],i.Character.isLineTerminator(f.charCodeAt(0))&&this.throwUnexpectedToken(a.Messages.UnterminatedRegExp),v+=f;else if(i.Character.isLineTerminator(f.charCodeAt(0)))this.throwUnexpectedToken(a.Messages.UnterminatedRegExp);else if(m)f==="]"&&(m=!1);else if(f==="/"){o=!0;break}else f==="["&&(m=!0);return o||this.throwUnexpectedToken(a.Messages.UnterminatedRegExp),v.substr(1,v.length-2)},p.prototype.scanRegExpFlags=function(){for(var f="",v="";!this.eof();){var m=this.source[this.index];if(!i.Character.isIdentifierPart(m.charCodeAt(0)))break;if(++this.index,m==="\\"&&!this.eof())if(m=this.source[this.index],m==="u"){++this.index;var o=this.index,u=this.scanHexEscape("u");if(u!==null)for(v+=u,f+="\\u";o<this.index;++o)f+=this.source[o];else this.index=o,v+="u",f+="\\u";this.tolerateUnexpectedToken()}else f+="\\",this.tolerateUnexpectedToken();else v+=m,f+=m}return v},p.prototype.scanRegExp=function(){var f=this.index,v=this.scanRegExpBody(),m=this.scanRegExpFlags(),o=this.testRegExp(v,m);return{type:9,value:"",pattern:v,flags:m,regex:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:f,end:this.index}},p.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var f=this.source.charCodeAt(this.index);return i.Character.isIdentifierStart(f)?this.scanIdentifier():f===40||f===41||f===59?this.scanPunctuator():f===39||f===34?this.scanStringLiteral():f===46?i.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():i.Character.isDecimalDigit(f)?this.scanNumericLiteral():f===96||f===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():f>=55296&&f<57343&&i.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p}();t.Scanner=c},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenName={},t.TokenName[1]="Boolean",t.TokenName[2]="<end>",t.TokenName[3]="Identifier",t.TokenName[4]="Keyword",t.TokenName[5]="Null",t.TokenName[6]="Numeric",t.TokenName[7]="Punctuator",t.TokenName[8]="String",t.TokenName[9]="RegularExpression",t.TokenName[10]="Template"},function(n,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666",lang:"\u27E8",rang:"\u27E9"}},function(n,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=r(10),i=r(12),a=r(13),s=function(){function c(){this.values=[],this.curly=this.paren=-1}return c.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},c.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],f=p!==null;switch(p){case"this":case"]":f=!1;break;case")":var v=this.values[this.paren-1];f=v==="if"||v==="while"||v==="for"||v==="with";break;case"}":if(f=!1,this.values[this.curly-3]==="function"){var m=this.values[this.curly-4];f=m?!this.beforeFunctionExpression(m):!1}else if(this.values[this.curly-4]==="function"){var m=this.values[this.curly-5];f=m?!this.beforeFunctionExpression(m):!0}break;default:break}return f},c.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},c}(),l=function(){function c(p,f){this.errorHandler=new e.ErrorHandler,this.errorHandler.tolerant=f?typeof f.tolerant=="boolean"&&f.tolerant:!1,this.scanner=new i.Scanner(p,this.errorHandler),this.scanner.trackComment=f?typeof f.comment=="boolean"&&f.comment:!1,this.trackRange=f?typeof f.range=="boolean"&&f.range:!1,this.trackLoc=f?typeof f.loc=="boolean"&&f.loc:!1,this.buffer=[],this.reader=new s}return c.prototype.errors=function(){return this.errorHandler.errors},c.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var f=0;f<p.length;++f){var v=p[f],m=this.scanner.source.slice(v.slice[0],v.slice[1]),o={type:v.multiLine?"BlockComment":"LineComment",value:m};this.trackRange&&(o.range=v.range),this.trackLoc&&(o.loc=v.loc),this.buffer.push(o)}if(!this.scanner.eof()){var u=void 0;this.trackLoc&&(u={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var d=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),h=d?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(h);var g={type:a.TokenName[h.type],value:this.scanner.source.slice(h.start,h.end)};if(this.trackRange&&(g.range=[h.start,h.end]),this.trackLoc&&(u.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},g.loc=u),h.type===9){var y=h.pattern,b=h.flags;g.regex={pattern:y,flags:b}}this.buffer.push(g)}}return this.buffer.shift()},c}();t.Tokenizer=l}])})});var l0=D(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.parse=void 0;var Sf=Bt();function uP(n,t){var r=[],e=xf().parse(n,{loc:!0,locations:!0,comment:!0,onComment:r,range:Sf.getOption(t,"range",!1),tolerant:Sf.getOption(t,"tolerant",!0),tokens:!0,jsx:Sf.getOption(t,"jsx",!1)});return Array.isArray(e.comments)||(e.comments=r),e}js.parse=uP});var zs=D(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});Us.normalize=void 0;var wf={parser:l0(),tabWidth:4,useTabs:!1,reuseWhitespace:!0,lineTerminator:require("os").EOL||`
|
|
`,wrapColumn:74,sourceFileName:null,sourceMapName:null,sourceRoot:null,inputSourceMap:null,range:!1,tolerant:!0,quote:null,trailingComma:!1,arrayBracketSpacing:!1,objectCurlySpacing:!0,arrowParensAlways:!1,flowObjectCommas:!0,tokens:!0},cP=wf.hasOwnProperty;function fP(n){var t=n||wf;function r(e){return cP.call(t,e)?t[e]:wf[e]}return{tabWidth:+r("tabWidth"),useTabs:!!r("useTabs"),reuseWhitespace:!!r("reuseWhitespace"),lineTerminator:r("lineTerminator"),wrapColumn:Math.max(r("wrapColumn"),0),sourceFileName:r("sourceFileName"),sourceMapName:r("sourceMapName"),sourceRoot:r("sourceRoot"),inputSourceMap:r("inputSourceMap"),parser:r("esprima")||r("parser"),range:r("range"),tolerant:r("tolerant"),quote:r("quote"),trailingComma:r("trailingComma"),arrayBracketSpacing:r("arrayBracketSpacing"),objectCurlySpacing:r("objectCurlySpacing"),arrowParensAlways:r("arrowParensAlways"),flowObjectCommas:r("flowObjectCommas"),tokens:!!r("tokens")}}Us.normalize=fP});var c0=D(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});var dP=K(),vr=dP.__importDefault(require("assert")),Qt=Bt(),pP=function(){function n(t,r,e){e===void 0&&(e=r),this.sourceLines=t,this.sourceLoc=r,this.targetLoc=e}return n.prototype.slice=function(t,r,e){e===void 0&&(e=t.lastPos());var i=this.sourceLines,a=this.sourceLoc,s=this.targetLoc;function l(c){var p=a[c],f=s[c],v=r;return c==="end"?v=e:vr.default.strictEqual(c,"start"),hP(i,p,t,f,v)}if(Qt.comparePos(r,s.start)<=0)if(Qt.comparePos(s.end,e)<=0)s={start:Yt(s.start,r.line,r.column),end:Yt(s.end,r.line,r.column)};else{if(Qt.comparePos(e,s.start)<=0)return null;a={start:a.start,end:l("end")},s={start:Yt(s.start,r.line,r.column),end:Yt(e,r.line,r.column)}}else{if(Qt.comparePos(s.end,r)<=0)return null;Qt.comparePos(s.end,e)<=0?(a={start:l("start"),end:a.end},s={start:{line:1,column:0},end:Yt(s.end,r.line,r.column)}):(a={start:l("start"),end:l("end")},s={start:{line:1,column:0},end:Yt(e,r.line,r.column)})}return new n(this.sourceLines,a,s)},n.prototype.add=function(t,r){return new n(this.sourceLines,this.sourceLoc,{start:u0(this.targetLoc.start,t,r),end:u0(this.targetLoc.end,t,r)})},n.prototype.subtract=function(t,r){return new n(this.sourceLines,this.sourceLoc,{start:Yt(this.targetLoc.start,t,r),end:Yt(this.targetLoc.end,t,r)})},n.prototype.indent=function(t,r,e){if(r===void 0&&(r=!1),e===void 0&&(e=!1),t===0)return this;var i=this.targetLoc,a=i.start.line,s=i.end.line;if(r&&a===1&&s===1)return this;if(i={start:i.start,end:i.end},!r||a>1){var l=i.start.column+t;i.start={line:a,column:e?Math.max(0,l):l}}if(!r||s>1){var c=i.end.column+t;i.end={line:s,column:e?Math.max(0,c):c}}return new n(this.sourceLines,this.sourceLoc,i)},n}();Ef.default=pP;function u0(n,t,r){return{line:n.line+t-1,column:n.line===1?n.column+r:n.column}}function Yt(n,t,r){return{line:n.line-t+1,column:n.line===t?n.column-r:n.column}}function hP(n,t,r,e,i){var a=Qt.comparePos(e,i);if(a===0)return t;var s,l;if(a<0){s=n.skipSpaces(t)||n.lastPos(),l=r.skipSpaces(e)||r.lastPos();var c=i.line-l.line;for(s.line+=c,l.line+=c,c>0?(s.column=0,l.column=0):vr.default.strictEqual(c,0);Qt.comparePos(l,i)<0&&r.nextPos(l,!0);)vr.default.ok(n.nextPos(s,!0)),vr.default.strictEqual(n.charAt(s),r.charAt(l))}else{s=n.skipSpaces(t,!0)||n.firstPos(),l=r.skipSpaces(e,!0)||r.firstPos();var c=i.line-l.line;for(s.line+=c,l.line+=c,c<0?(s.column=n.getLineLength(s.line),l.column=r.getLineLength(l.line)):vr.default.strictEqual(c,0);Qt.comparePos(i,l)<0&&r.prevPos(l,!0);)vr.default.ok(n.prevPos(s,!0)),vr.default.strictEqual(n.charAt(s),r.charAt(l))}return s}});var Ti=D(Tt=>{"use strict";Object.defineProperty(Tt,"__esModule",{value:!0});Tt.concat=Tt.fromString=Tt.countSpaces=Tt.Lines=void 0;var st=K(),me=st.__importDefault(require("assert")),mP=st.__importDefault(vf()),d0=zs(),f0=Bt(),vP=st.__importDefault(c0()),Df=function(){function n(t,r){r===void 0&&(r=null),this.infos=t,this.mappings=[],this.cachedSourceMap=null,this.cachedTabWidth=void 0,me.default.ok(t.length>0),this.length=t.length,this.name=r||null,this.name&&this.mappings.push(new vP.default(this,{start:this.firstPos(),end:this.lastPos()}))}return n.prototype.toString=function(t){return this.sliceString(this.firstPos(),this.lastPos(),t)},n.prototype.getSourceMap=function(t,r){if(!t)return null;var e=this;function i(l){return l=l||{},l.file=t,r&&(l.sourceRoot=r),l}if(e.cachedSourceMap)return i(e.cachedSourceMap.toJSON());var a=new mP.default.SourceMapGenerator(i()),s={};return e.mappings.forEach(function(l){for(var c=l.sourceLines.skipSpaces(l.sourceLoc.start)||l.sourceLines.lastPos(),p=e.skipSpaces(l.targetLoc.start)||e.lastPos();f0.comparePos(c,l.sourceLoc.end)<0&&f0.comparePos(p,l.targetLoc.end)<0;){var f=l.sourceLines.charAt(c),v=e.charAt(p);me.default.strictEqual(f,v);var m=l.sourceLines.name;if(a.addMapping({source:m,original:{line:c.line,column:c.column},generated:{line:p.line,column:p.column}}),!Cf.call(s,m)){var o=l.sourceLines.toString();a.setSourceContent(m,o),s[m]=o}e.nextPos(p,!0),l.sourceLines.nextPos(c,!0)}}),e.cachedSourceMap=a,a.toJSON()},n.prototype.bootstrapCharAt=function(t){me.default.strictEqual(typeof t,"object"),me.default.strictEqual(typeof t.line,"number"),me.default.strictEqual(typeof t.column,"number");var r=t.line,e=t.column,i=this.toString().split(Af),a=i[r-1];return typeof a>"u"?"":e===a.length&&r<i.length?`
|
|
`:e>=a.length?"":a.charAt(e)},n.prototype.charAt=function(t){me.default.strictEqual(typeof t,"object"),me.default.strictEqual(typeof t.line,"number"),me.default.strictEqual(typeof t.column,"number");var r=t.line,e=t.column,i=this,a=i.infos,s=a[r-1],l=e;if(typeof s>"u"||l<0)return"";var c=this.getIndentAt(r);return l<c?" ":(l+=s.sliceStart-c,l===s.sliceEnd&&r<this.length?`
|
|
`:l>=s.sliceEnd?"":s.line.charAt(l))},n.prototype.stripMargin=function(t,r){if(t===0)return this;if(me.default.ok(t>0,"negative margin: "+t),r&&this.length===1)return this;var e=new n(this.infos.map(function(a,s){return a.line&&(s>0||!r)&&(a=st.__assign(st.__assign({},a),{indent:Math.max(0,a.indent-t)})),a}));if(this.mappings.length>0){var i=e.mappings;me.default.strictEqual(i.length,0),this.mappings.forEach(function(a){i.push(a.indent(t,r,!0))})}return e},n.prototype.indent=function(t){if(t===0)return this;var r=new n(this.infos.map(function(i){return i.line&&!i.locked&&(i=st.__assign(st.__assign({},i),{indent:i.indent+t})),i}));if(this.mappings.length>0){var e=r.mappings;me.default.strictEqual(e.length,0),this.mappings.forEach(function(i){e.push(i.indent(t))})}return r},n.prototype.indentTail=function(t){if(t===0)return this;if(this.length<2)return this;var r=new n(this.infos.map(function(i,a){return a>0&&i.line&&!i.locked&&(i=st.__assign(st.__assign({},i),{indent:i.indent+t})),i}));if(this.mappings.length>0){var e=r.mappings;me.default.strictEqual(e.length,0),this.mappings.forEach(function(i){e.push(i.indent(t,!0))})}return r},n.prototype.lockIndentTail=function(){return this.length<2?this:new n(this.infos.map(function(t,r){return st.__assign(st.__assign({},t),{locked:r>0})}))},n.prototype.getIndentAt=function(t){return me.default.ok(t>=1,"no line "+t+" (line numbers start from 1)"),Math.max(this.infos[t-1].indent,0)},n.prototype.guessTabWidth=function(){if(typeof this.cachedTabWidth=="number")return this.cachedTabWidth;for(var t=[],r=0,e=1,i=this.length;e<=i;++e){var a=this.infos[e-1],s=a.line.slice(a.sliceStart,a.sliceEnd);if(!en(s)){var l=Math.abs(a.indent-r);t[l]=~~t[l]+1,r=a.indent}}for(var c=-1,p=2,f=1;f<t.length;f+=1)Cf.call(t,f)&&t[f]>c&&(c=t[f],p=f);return this.cachedTabWidth=p},n.prototype.startsWithComment=function(){if(this.infos.length===0)return!1;var t=this.infos[0],r=t.sliceStart,e=t.sliceEnd,i=t.line.slice(r,e).trim();return i.length===0||i.slice(0,2)==="//"||i.slice(0,2)==="/*"},n.prototype.isOnlyWhitespace=function(){return en(this.toString())},n.prototype.isPrecededOnlyByWhitespace=function(t){var r=this.infos[t.line-1],e=Math.max(r.indent,0),i=t.column-e;if(i<=0)return!0;var a=r.sliceStart,s=Math.min(a+i,r.sliceEnd),l=r.line.slice(a,s);return en(l)},n.prototype.getLineLength=function(t){var r=this.infos[t-1];return this.getIndentAt(t)+r.sliceEnd-r.sliceStart},n.prototype.nextPos=function(t,r){r===void 0&&(r=!1);var e=Math.max(t.line,0),i=Math.max(t.column,0);return i<this.getLineLength(e)?(t.column+=1,r?!!this.skipSpaces(t,!1,!0):!0):e<this.length?(t.line+=1,t.column=0,r?!!this.skipSpaces(t,!1,!0):!0):!1},n.prototype.prevPos=function(t,r){r===void 0&&(r=!1);var e=t.line,i=t.column;if(i<1){if(e-=1,e<1)return!1;i=this.getLineLength(e)}else i=Math.min(i-1,this.getLineLength(e));return t.line=e,t.column=i,r?!!this.skipSpaces(t,!0,!0):!0},n.prototype.firstPos=function(){return{line:1,column:0}},n.prototype.lastPos=function(){return{line:this.length,column:this.getLineLength(this.length)}},n.prototype.skipSpaces=function(t,r,e){if(r===void 0&&(r=!1),e===void 0&&(e=!1),t?t=e?t:{line:t.line,column:t.column}:r?t=this.lastPos():t=this.firstPos(),r){for(;this.prevPos(t);)if(!en(this.charAt(t))&&this.nextPos(t))return t;return null}else{for(;en(this.charAt(t));)if(!this.nextPos(t))return null;return t}},n.prototype.trimLeft=function(){var t=this.skipSpaces(this.firstPos(),!1,!0);return t?this.slice(t):gr},n.prototype.trimRight=function(){var t=this.skipSpaces(this.lastPos(),!0,!0);return t?this.slice(this.firstPos(),t):gr},n.prototype.trim=function(){var t=this.skipSpaces(this.firstPos(),!1,!0);if(t===null)return gr;var r=this.skipSpaces(this.lastPos(),!0,!0);return r===null?gr:this.slice(t,r)},n.prototype.eachPos=function(t,r,e){r===void 0&&(r=this.firstPos()),e===void 0&&(e=!1);var i=this.firstPos();if(r&&(i.line=r.line,i.column=r.column),!(e&&!this.skipSpaces(i,!1,!0)))do t.call(this,i);while(this.nextPos(i,e))},n.prototype.bootstrapSlice=function(t,r){var e=this.toString().split(Af).slice(t.line-1,r.line);return e.length>0&&(e.push(e.pop().slice(0,r.column)),e[0]=e[0].slice(t.column)),Ws(e.join(`
|
|
`))},n.prototype.slice=function(t,r){if(!r){if(!t)return this;r=this.lastPos()}if(!t)throw new Error("cannot slice with end but not start");var e=this.infos.slice(t.line-1,r.line);t.line===r.line?e[0]=tn(e[0],t.column,r.column):(me.default.ok(t.line<r.line),e[0]=tn(e[0],t.column),e.push(tn(e.pop(),0,r.column)));var i=new n(e);if(this.mappings.length>0){var a=i.mappings;me.default.strictEqual(a.length,0),this.mappings.forEach(function(s){var l=s.slice(this,t,r);l&&a.push(l)},this)}return i},n.prototype.bootstrapSliceString=function(t,r,e){return this.slice(t,r).toString(e)},n.prototype.sliceString=function(t,r,e){t===void 0&&(t=this.firstPos()),r===void 0&&(r=this.lastPos());for(var i=d0.normalize(e),a=i.tabWidth,s=i.useTabs,l=i.reuseWhitespace,c=i.lineTerminator,p=[],f=t.line;f<=r.line;++f){var v=this.infos[f-1];f===t.line?f===r.line?v=tn(v,t.column,r.column):v=tn(v,t.column):f===r.line&&(v=tn(v,0,r.column));var m=Math.max(v.indent,0),o=v.line.slice(0,v.sliceStart);if(l&&en(o)&&_f(o,a)===m){p.push(v.line.slice(0,v.sliceEnd));continue}var u=0,d=m;s&&(u=Math.floor(m/a),d-=u*a);var h="";u>0&&(h+=new Array(u+1).join(" ")),d>0&&(h+=new Array(d+1).join(" ")),h+=v.line.slice(v.sliceStart,v.sliceEnd),p.push(h)}return p.join(c)},n.prototype.isEmpty=function(){return this.length<2&&this.getLineLength(1)<1},n.prototype.join=function(t){var r=this,e=[],i=[],a;function s(p){if(p!==null){if(a){var f=p.infos[0],v=new Array(f.indent+1).join(" "),m=e.length,o=Math.max(a.indent,0)+a.sliceEnd-a.sliceStart;a.line=a.line.slice(0,a.sliceEnd)+v+f.line.slice(f.sliceStart,f.sliceEnd),a.locked=a.locked||f.locked,a.sliceEnd=a.line.length,p.mappings.length>0&&p.mappings.forEach(function(u){i.push(u.add(m,o))})}else p.mappings.length>0&&i.push.apply(i,p.mappings);p.infos.forEach(function(u,d){(!a||d>0)&&(a=st.__assign({},u),e.push(a))})}}function l(p,f){f>0&&s(r),s(p)}if(t.map(function(p){var f=Ws(p);return f.isEmpty()?null:f}).forEach(function(p,f){r.isEmpty()?s(p):l(p,f)}),e.length<1)return gr;var c=new n(e);return c.mappings=i,c},n.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var e=[this];return e.push.apply(e,t),me.default.strictEqual(e.length,t.length+1),gr.join(e)},n}();Tt.Lines=Df;var Vs={},Cf=Vs.hasOwnProperty,gP=10;function _f(n,t){for(var r=0,e=n.length,i=0;i<e;++i)switch(n.charCodeAt(i)){case 9:{me.default.strictEqual(typeof t,"number"),me.default.ok(t>0);var a=Math.ceil(r/t)*t;a===r?r+=t:r=a;break}case 11:case 12:case 13:case 65279:break;case 32:default:r+=1;break}return r}Tt.countSpaces=_f;var yP=/^\s*/,Af=/\u000D\u000A|\u000D(?!\u000A)|\u000A|\u2028|\u2029/;function Ws(n,t){if(n instanceof Df)return n;n+="";var r=t&&t.tabWidth,e=n.indexOf(" ")<0,i=!t&&e&&n.length<=gP;if(me.default.ok(r||e,`No tab width specified but encountered tabs in string
|
|
`+n),i&&Cf.call(Vs,n))return Vs[n];var a=new Df(n.split(Af).map(function(s){var l=yP.exec(s)[0];return{line:s,indent:_f(l,r),locked:!1,sliceStart:l.length,sliceEnd:s.length}}),d0.normalize(t).sourceFileName);return i&&(Vs[n]=a),a}Tt.fromString=Ws;function en(n){return!/\S/.test(n)}function tn(n,t,r){var e=n.sliceStart,i=n.sliceEnd,a=Math.max(n.indent,0),s=a+i-e;return typeof r>"u"&&(r=s),t=Math.max(t,0),r=Math.min(r,s),r=Math.max(r,t),r<a?(a=r,i=e):i-=s-r,s=r,s-=t,t<a?a-=t:(t-=a,a=0,e+=t),me.default.ok(a>=0),me.default.ok(e<=i),me.default.strictEqual(s,a+i-e),n.indent===a&&n.sliceStart===e&&n.sliceEnd===i?n:{line:n.line,indent:a,locked:!1,sliceStart:e,sliceEnd:i}}function bP(n){return gr.join(n)}Tt.concat=bP;var gr=Ws("")});var Ff=D(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.printComments=an.attach=void 0;var h0=K(),Tf=h0.__importDefault(require("assert")),yr=h0.__importStar(At()),nn=yr.namedTypes,m0=yr.builtInTypes.array,xP=yr.builtInTypes.object,Fi=Ti(),rn=Bt(),p0=new WeakMap;function v0(n,t,r){if(!n)return r;if(rn.fixFaultyLocations(n,t),r){if(nn.Node.check(n)&&nn.SourceLocation.check(n.loc)){for(var e=r.length-1;e>=0;--e){var i=r[e];if(i&&i.loc&&rn.comparePos(i.loc.end,n.loc.start)<=0)break}return r.splice(e+1,0,n),r}}else{var a=p0.get(n);if(a)return a}var s;if(m0.check(n))s=Object.keys(n);else if(xP.check(n))s=yr.getFieldNames(n);else return r;r||p0.set(n,r=[]);for(var e=0,l=s.length;e<l;++e)v0(n[s[e]],t,r);return r}function g0(n,t,r){for(var e=v0(n,r),i=0,a=e&&e.length,s,l;typeof a=="number"&&i<a;){var c=i+a>>1,p=e[c];if(rn.comparePos(p.loc.start,t.loc.start)<=0&&rn.comparePos(t.loc.end,p.loc.end)<=0){g0(t.enclosingNode=p,t,r);return}if(rn.comparePos(p.loc.end,t.loc.start)<=0){s=p,i=c+1;continue}if(rn.comparePos(t.loc.end,p.loc.start)<=0){l=p,a=c;continue}throw new Error("Comment location overlaps with node location")}s&&(t.precedingNode=s),l&&(t.followingNode=l)}function SP(n,t,r){if(!!m0.check(n)){var e=[];n.forEach(function(i){i.loc.lines=r,g0(t,i,r);var a=i.precedingNode,s=i.enclosingNode,l=i.followingNode;if(a&&l){var c=e.length;if(c>0){var p=e[c-1];Tf.default.strictEqual(p.precedingNode===i.precedingNode,p.followingNode===i.followingNode),p.followingNode!==i.followingNode&&ki(e,r)}e.push(i)}else if(a)ki(e,r),b0(a,i);else if(l)ki(e,r),y0(l,i);else if(s)ki(e,r),wP(s,i);else throw new Error("AST contains no nodes at all?")}),ki(e,r),n.forEach(function(i){delete i.precedingNode,delete i.enclosingNode,delete i.followingNode})}}an.attach=SP;function ki(n,t){var r=n.length;if(r!==0){for(var e=n[0].precedingNode,i=n[0].followingNode,a=i.loc.start,s=r,l;s>0;--s){l=n[s-1],Tf.default.strictEqual(l.precedingNode,e),Tf.default.strictEqual(l.followingNode,i);var c=t.sliceString(l.loc.end,a);if(/\S/.test(c))break;a=l.loc.start}for(;s<=r&&(l=n[s])&&(l.type==="Line"||l.type==="CommentLine")&&l.loc.start.column>i.loc.start.column;)++s;n.forEach(function(p,f){f<s?b0(e,p):y0(i,p)}),n.length=0}}function kf(n,t){var r=n.comments||(n.comments=[]);r.push(t)}function y0(n,t){t.leading=!0,t.trailing=!1,kf(n,t)}function wP(n,t){t.leading=!1,t.trailing=!1,kf(n,t)}function b0(n,t){t.leading=!1,t.trailing=!0,kf(n,t)}function EP(n,t){var r=n.getValue();nn.Comment.assert(r);var e=r.loc,i=e&&e.lines,a=[t(n)];if(r.trailing)a.push(`
|
|
`);else if(i instanceof Fi.Lines){var s=i.slice(e.end,i.skipSpaces(e.end)||i.lastPos());s.length===1?a.push(s):a.push(new Array(s.length).join(`
|
|
`))}else a.push(`
|
|
`);return Fi.concat(a)}function DP(n,t){var r=n.getValue(n);nn.Comment.assert(r);var e=r.loc,i=e&&e.lines,a=[];if(i instanceof Fi.Lines){var s=i.skipSpaces(e.start,!0)||i.firstPos(),l=i.slice(s,e.start);l.length===1?a.push(l):a.push(new Array(l.length).join(`
|
|
`))}return a.push(t(n)),Fi.concat(a)}function CP(n,t){var r=n.getValue(),e=t(n),i=nn.Node.check(r)&&yr.getFieldValue(r,"comments");if(!i||i.length===0)return e;var a=[],s=[e];return n.each(function(l){var c=l.getValue(),p=yr.getFieldValue(c,"leading"),f=yr.getFieldValue(c,"trailing");p||f&&!(nn.Statement.check(r)||c.type==="Block"||c.type==="CommentBlock")?a.push(EP(l,t)):f&&s.push(DP(l,t))},"comments"),a.push.apply(a,s),Fi.concat(a)}an.printComments=CP});var w0=D(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.parse=void 0;var Of=K(),AP=Of.__importDefault(require("assert")),Pf=Of.__importStar(At()),_P=Pf.builders,TP=Pf.builtInTypes.object,kP=Pf.builtInTypes.array,FP=zs(),OP=Ti(),PP=Ff(),qt=Of.__importStar(Bt());function MP(n,t){t=FP.normalize(t);var r=OP.fromString(n,t),e=r.toString({tabWidth:t.tabWidth,reuseWhitespace:!1,useTabs:!1}),i=[],a=t.parser.parse(e,{jsx:!0,loc:!0,locations:!0,range:t.range,comment:!0,onComment:i,tolerant:qt.getOption(t,"tolerant",!0),ecmaVersion:6,sourceType:qt.getOption(t,"sourceType","module")}),s=Array.isArray(a.tokens)?a.tokens:xf().tokenize(e,{loc:!0});delete a.tokens,s.forEach(function(f){typeof f.value!="string"&&(f.value=r.sliceString(f.loc.start,f.loc.end))}),Array.isArray(a.comments)&&(i=a.comments,delete a.comments),a.loc?qt.fixFaultyLocations(a,r):a.loc={start:r.firstPos(),end:r.lastPos()},a.loc.lines=r,a.loc.indent=0;var l,c;a.type==="Program"?(c=a,l=_P.file(a,t.sourceFileName||null),l.loc={start:r.firstPos(),end:r.lastPos(),lines:r,indent:0}):a.type==="File"&&(l=a,c=l.program),t.tokens&&(l.tokens=s);var p=qt.getTrueLoc({type:c.type,loc:c.loc,body:[],comments:i},r);return c.loc.start=p.start,c.loc.end=p.end,PP.attach(i,c.body.length?l.program:l,r),new x0(r,s).copy(l)}Js.parse=MP;var x0=function n(t,r){AP.default.ok(this instanceof n),this.lines=t,this.tokens=r,this.startTokenIndex=0,this.endTokenIndex=r.length,this.indent=0,this.seen=new Map},S0=x0.prototype;S0.copy=function(n){if(this.seen.has(n))return this.seen.get(n);if(kP.check(n)){var t=new Array(n.length);return this.seen.set(n,t),n.forEach(function(m,o){t[o]=this.copy(m)},this),t}if(!TP.check(n))return n;qt.fixFaultyLocations(n,this.lines);var r=Object.create(Object.getPrototypeOf(n),{original:{value:n,configurable:!1,enumerable:!1,writable:!0}});this.seen.set(n,r);var e=n.loc,i=this.indent,a=i,s=this.startTokenIndex,l=this.endTokenIndex;e&&((n.type==="Block"||n.type==="Line"||n.type==="CommentBlock"||n.type==="CommentLine"||this.lines.isPrecededOnlyByWhitespace(e.start))&&(a=this.indent=e.start.column),e.lines=this.lines,e.tokens=this.tokens,e.indent=a,this.findTokenRange(e));for(var c=Object.keys(n),p=c.length,f=0;f<p;++f){var v=c[f];v==="loc"||v==="tokens"&&n.type==="File"?r[v]=n[v]:r[v]=this.copy(n[v])}return this.indent=i,this.startTokenIndex=s,this.endTokenIndex=l,r};S0.findTokenRange=function(n){for(;this.startTokenIndex>0;){var t=n.tokens[this.startTokenIndex];if(qt.comparePos(n.start,t.loc.start)<0)--this.startTokenIndex;else break}for(;this.endTokenIndex<n.tokens.length;){var t=n.tokens[this.endTokenIndex];if(qt.comparePos(t.loc.end,n.end)<0)++this.endTokenIndex;else break}for(;this.startTokenIndex<this.endTokenIndex;){var t=n.tokens[this.startTokenIndex];if(qt.comparePos(t.loc.start,n.start)<0)++this.startTokenIndex;else break}for(n.start.token=this.startTokenIndex;this.endTokenIndex>this.startTokenIndex;){var t=n.tokens[this.endTokenIndex-1];if(qt.comparePos(n.end,t.loc.end)<0)--this.endTokenIndex;else break}n.end.token=this.endTokenIndex}});var Bf=D(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});var Nf=K(),ot=Nf.__importDefault(require("assert")),Oi=Nf.__importStar(At()),E0=Nf.__importStar(Bt()),le=Oi.namedTypes,IP=Oi.builtInTypes.array,NP=Oi.builtInTypes.number,Mf={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach(function(n,t){n.forEach(function(r){Mf[r]=t})});var br=function n(t){ot.default.ok(this instanceof n),this.stack=[t]},Pe=br.prototype;br.from=function(n){if(n instanceof br)return n.copy();if(n instanceof Oi.NodePath){for(var t=Object.create(br.prototype),r=[n.value],e=void 0;e=n.parentPath;n=e)r.push(n.name,e.value);return t.stack=r.reverse(),t}return new br(n)};Pe.copy=function(){var t=Object.create(br.prototype);return t.stack=this.stack.slice(0),t};Pe.getName=function(){var t=this.stack,r=t.length;return r>1?t[r-2]:null};Pe.getValue=function(){var t=this.stack;return t[t.length-1]};Pe.valueIsDuplicate=function(){var n=this.stack,t=n.length-1;return n.lastIndexOf(n[t],t-1)>=0};function D0(n,t){for(var r=n.stack,e=r.length-1;e>=0;e-=2){var i=r[e];if(le.Node.check(i)&&--t<0)return i}return null}Pe.getNode=function(t){return t===void 0&&(t=0),D0(this,~~t)};Pe.getParentNode=function(t){return t===void 0&&(t=0),D0(this,~~t+1)};Pe.getRootValue=function(){var t=this.stack;return t.length%2===0?t[1]:t[0]};Pe.call=function(t){for(var r=this.stack,e=r.length,i=r[e-1],a=arguments.length,s=1;s<a;++s){var l=arguments[s];i=i[l],r.push(l,i)}var c=t(this);return r.length=e,c};Pe.each=function(t){for(var r=this.stack,e=r.length,i=r[e-1],a=arguments.length,s=1;s<a;++s){var l=arguments[s];i=i[l],r.push(l,i)}for(var s=0;s<i.length;++s)s in i&&(r.push(s,i[s]),t(this),r.length-=2);r.length=e};Pe.map=function(t){for(var r=this.stack,e=r.length,i=r[e-1],a=arguments.length,s=1;s<a;++s){var l=arguments[s];i=i[l],r.push(l,i)}for(var c=new Array(i.length),s=0;s<i.length;++s)s in i&&(r.push(s,i[s]),c[s]=t(this,s),r.length-=2);return r.length=e,c};Pe.hasParens=function(){var n=this.getNode(),t=this.getPrevToken(n);if(!t)return!1;var r=this.getNextToken(n);if(!r)return!1;if(t.value==="("){if(r.value===")")return!0;var e=!this.canBeFirstInStatement()&&this.firstInStatement()&&!this.needsParens(!0);if(e)return!0}return!1};Pe.getPrevToken=function(n){n=n||this.getNode();var t=n&&n.loc,r=t&&t.tokens;if(r&&t.start.token>0){var e=r[t.start.token-1];if(e){var i=this.getRootValue().loc;if(E0.comparePos(i.start,e.loc.start)<=0)return e}}return null};Pe.getNextToken=function(n){n=n||this.getNode();var t=n&&n.loc,r=t&&t.tokens;if(r&&t.end.token<r.length){var e=r[t.end.token];if(e){var i=this.getRootValue().loc;if(E0.comparePos(e.loc.end,i.end)<=0)return e}}return null};Pe.needsParens=function(n){var t=this.getNode();if(t.type==="AssignmentExpression"&&t.left.type==="ObjectPattern")return!0;var r=this.getParentNode();if(!r)return!1;var e=this.getName();if(this.getValue()!==t||le.Statement.check(t)||t.type==="Identifier"||r.type==="ParenthesizedExpression"||t.extra&&t.extra.parenthesized)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return r.type==="MemberExpression"&&e==="object"&&r.object===t;case"BinaryExpression":case"LogicalExpression":switch(r.type){case"CallExpression":return e==="callee"&&r.callee===t;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return e==="object"&&r.object===t;case"BinaryExpression":case"LogicalExpression":{var i=r.operator,a=Mf[i],s=t.operator,l=Mf[s];if(a>l)return!0;if(a===l&&e==="right")return ot.default.strictEqual(r.right,t),!0;break}default:return!1}break;case"SequenceExpression":switch(r.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return e!=="expression";default:return!0}case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return r.type==="NullableTypeAnnotation";case"Literal":return r.type==="MemberExpression"&&NP.check(t.value)&&e==="object"&&r.object===t;case"NumericLiteral":return r.type==="MemberExpression"&&e==="object"&&r.object===t;case"YieldExpression":case"AwaitExpression":case"AssignmentExpression":case"ConditionalExpression":switch(r.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":case"NewExpression":return e==="callee"&&r.callee===t;case"ConditionalExpression":return e==="test"&&r.test===t;case"MemberExpression":return e==="object"&&r.object===t;default:return!1}case"ArrowFunctionExpression":return le.CallExpression.check(r)&&e==="callee"&&r.callee===t||le.MemberExpression.check(r)&&e==="object"&&r.object===t||le.TSAsExpression&&le.TSAsExpression.check(r)&&e==="expression"&&r.expression===t?!0:C0(r);case"ObjectExpression":if(r.type==="ArrowFunctionExpression"&&e==="body"&&r.body===t)return!0;break;case"TSAsExpression":if(r.type==="ArrowFunctionExpression"&&e==="body"&&r.body===t&&t.expression.type==="ObjectExpression")return!0;break;case"CallExpression":if(e==="declaration"&&le.ExportDefaultDeclaration.check(r)&&le.FunctionExpression.check(t.callee))return!0}return r.type==="NewExpression"&&e==="callee"&&r.callee===t?If(t):!!(n!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function C0(n){return le.BinaryExpression.check(n)||le.LogicalExpression.check(n)}function If(n){return le.CallExpression.check(n)?!0:IP.check(n)?n.some(If):le.Node.check(n)?Oi.someField(n,function(t,r){return If(r)}):!1}Pe.canBeFirstInStatement=function(){var n=this.getNode();return!(le.FunctionExpression.check(n)||le.ObjectExpression.check(n)||le.ClassExpression.check(n))};Pe.firstInStatement=function(){for(var n=this.stack,t,r,e,i,a=n.length-1;a>=0;a-=2)if(le.Node.check(n[a])&&(e=t,i=r,t=n[a-1],r=n[a]),!(!r||!i)){if(le.BlockStatement.check(r)&&t==="body"&&e===0)return ot.default.strictEqual(r.body[0],i),!0;if(le.ExpressionStatement.check(r)&&e==="expression")return ot.default.strictEqual(r.expression,i),!0;if(le.AssignmentExpression.check(r)&&e==="left")return ot.default.strictEqual(r.left,i),!0;if(le.ArrowFunctionExpression.check(r)&&e==="body")return ot.default.strictEqual(r.body,i),!0;if(le.SequenceExpression.check(r)&&t==="expressions"&&e===0){ot.default.strictEqual(r.expressions[0],i);continue}if(le.CallExpression.check(r)&&e==="callee"){ot.default.strictEqual(r.callee,i);continue}if(le.MemberExpression.check(r)&&e==="object"){ot.default.strictEqual(r.object,i);continue}if(le.ConditionalExpression.check(r)&&e==="test"){ot.default.strictEqual(r.test,i);continue}if(C0(r)&&e==="left"){ot.default.strictEqual(r.left,i);continue}if(le.UnaryExpression.check(r)&&!r.prefix&&e==="argument"){ot.default.strictEqual(r.argument,i);continue}return!1}return!0};Lf.default=br});var O0=D(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.getReprinter=on.Patcher=void 0;var Gs=K(),sn=Gs.__importDefault(require("assert")),Pi=Gs.__importStar(Ti()),Rt=Gs.__importStar(At()),Ii=Rt.namedTypes.Printable,A0=Rt.namedTypes.Expression,LP=Rt.namedTypes.ReturnStatement,BP=Rt.namedTypes.SourceLocation,Mi=Bt(),Xs=Gs.__importDefault(Bf()),Ni=Rt.builtInTypes.object,qf=Rt.builtInTypes.array,qP=Rt.builtInTypes.string,$s=/[0-9a-z_$]/i,jf=function n(t){sn.default.ok(this instanceof n),sn.default.ok(t instanceof Pi.Lines);var r=this,e=[];r.replace=function(i,a){qP.check(a)&&(a=Pi.fromString(a)),e.push({lines:a,start:i.start,end:i.end})},r.get=function(i){i=i||{start:{line:1,column:0},end:{line:t.length,column:t.getLineLength(t.length)}};var a=i.start,s=[];function l(c,p){sn.default.ok(Mi.comparePos(c,p)<=0),s.push(t.slice(c,p))}return e.sort(function(c,p){return Mi.comparePos(c.start,p.start)}).forEach(function(c){Mi.comparePos(a,c.start)>0||(l(a,c.start),s.push(c.lines),a=c.end)}),l(a,i.end),Pi.concat(s)}};on.Patcher=jf;var T0=jf.prototype;T0.tryToReprintComments=function(n,t,r){var e=this;if(!n.comments&&!t.comments)return!0;var i=Xs.default.from(n),a=Xs.default.from(t);i.stack.push("comments",_0(n)),a.stack.push("comments",_0(t));var s=[],l=F0(i,a,s);return l&&s.length>0&&s.forEach(function(c){var p=c.oldPath.getValue();sn.default.ok(p.leading||p.trailing),e.replace(p.loc,r(c.newPath).indentTail(p.loc.indent))}),l};function _0(n){var t=[];return n.comments&&n.comments.length>0&&n.comments.forEach(function(r){(r.leading||r.trailing)&&t.push(r)}),t}T0.deleteComments=function(n){if(!!n.comments){var t=this;n.comments.forEach(function(r){r.leading?t.replace({start:r.loc.start,end:n.loc.lines.skipSpaces(r.loc.end,!1,!1)},""):r.trailing&&t.replace({start:n.loc.lines.skipSpaces(r.loc.start,!0,!1),end:r.loc.end},"")})}};function RP(n){sn.default.ok(n instanceof Xs.default);var t=n.getValue();if(!!Ii.check(t)){var r=t.original,e=r&&r.loc,i=e&&e.lines,a=[];if(!(!i||!zP(n,a)))return function(s){var l=new jf(i);a.forEach(function(p){var f=p.newPath.getValue(),v=p.oldPath.getValue();BP.assert(v.loc,!0);var m=!l.tryToReprintComments(f,v,s);m&&l.deleteComments(v);var o=s(p.newPath,{includeComments:m,avoidRootParens:v.type===f.type&&p.oldPath.hasParens()}).indentTail(v.loc.indent),u=v.type!=="TemplateElement"&&jP(i,v.loc,o),d=v.type!=="TemplateElement"&&UP(i,v.loc,o);if(u||d){var h=[];u&&h.push(" "),h.push(o),d&&h.push(" "),o=Pi.concat(h)}l.replace(v.loc,o)});var c=l.get(e).indentTail(-r.loc.indent);return n.needsParens()?Pi.concat(["(",c,")"]):c}}}on.getReprinter=RP;function jP(n,t,r){var e=Mi.copyPos(t.start),i=n.prevPos(e)&&n.charAt(e),a=r.charAt(r.firstPos());return i&&$s.test(i)&&a&&$s.test(a)}function UP(n,t,r){var e=n.charAt(t.end),i=r.lastPos(),a=r.prevPos(i)&&r.charAt(i);return a&&$s.test(a)&&e&&$s.test(e)}function zP(n,t){var r=n.getValue();Ii.assert(r);var e=r.original;if(Ii.assert(e),sn.default.deepEqual(t,[]),r.type!==e.type)return!1;var i=new Xs.default(e),a=Rf(n,i,t);return a||(t.length=0),a}function k0(n,t,r){var e=n.getValue(),i=t.getValue();return e===i?!0:qf.check(e)?F0(n,t,r):Ni.check(e)?VP(n,t,r):!1}function F0(n,t,r){var e=n.getValue(),i=t.getValue();if(e===i||n.valueIsDuplicate()||t.valueIsDuplicate())return!0;qf.assert(e);var a=e.length;if(!(qf.check(i)&&i.length===a))return!1;for(var s=0;s<a;++s){n.stack.push(s,e[s]),t.stack.push(s,i[s]);var l=k0(n,t,r);if(n.stack.length-=2,t.stack.length-=2,!l)return!1}return!0}function VP(n,t,r){var e=n.getValue();if(Ni.assert(e),e.original===null)return!1;var i=t.getValue();if(!Ni.check(i))return!1;if(e===i||n.valueIsDuplicate()||t.valueIsDuplicate())return!0;if(Ii.check(e)){if(!Ii.check(i))return!1;var a=n.getParentNode(),s=t.getParentNode();if(s!==null&&s.type==="FunctionTypeAnnotation"&&a!==null&&a.type==="FunctionTypeAnnotation"){var l=s.params.length!==1||!!s.params[0].name,c=a.params.length!==1||!!a.params[0].name;if(!l&&c)return!1}if(e.type===i.type){var p=[];if(Rf(n,t,p))r.push.apply(r,p);else if(i.loc)r.push({oldPath:t.copy(),newPath:n.copy()});else return!1;return!0}return A0.check(e)&&A0.check(i)&&i.loc?(r.push({oldPath:t.copy(),newPath:n.copy()}),!0):!1}return Rf(n,t,r)}function Rf(n,t,r){var e=n.getValue(),i=t.getValue();if(Ni.assert(e),Ni.assert(i),e.original===null||n.needsParens()&&!t.hasParens())return!1;var a=Mi.getUnionOfKeys(i,e);(i.type==="File"||e.type==="File")&&delete a.tokens,delete a.loc;var s=r.length;for(var l in a)if(l.charAt(0)!=="_"){n.stack.push(l,Rt.getFieldValue(e,l)),t.stack.push(l,Rt.getFieldValue(i,l));var c=k0(n,t,r);if(n.stack.length-=2,t.stack.length-=2,!c)return!1}return!(LP.check(n.getNode())&&r.length>s)}});var R0=D(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.Printer=void 0;var eo=K(),yt=eo.__importDefault(require("assert")),P0=Ff(),S=Ti(),WP=zs(),JP=O0(),qi=eo.__importStar(At()),be=qi.namedTypes,zf=qi.builtInTypes.string,XP=qi.builtInTypes.object,Ys=eo.__importDefault(Bf()),Ft=eo.__importStar(Bt()),Zs=function n(t,r){yt.default.ok(this instanceof n),zf.assert(t),this.code=t,r&&(XP.assert(r),this.map=r)},$P=Zs.prototype,M0=!1;$P.toString=function(){return M0||(console.warn("Deprecation warning: recast.print now returns an object with a .code property. You appear to be treating the object as a string, which might still work but is strongly discouraged."),M0=!0),this.code};var I0=new Zs(""),GP=function n(t){yt.default.ok(this instanceof n);var r=t&&t.tabWidth;t=WP.normalize(t),t.sourceFileName=null;function e(a,s){return a=Object.assign({},a,s),function(l){return i(l,a)}}function i(a,s){if(yt.default.ok(a instanceof Ys.default),s=s||{},s.includeComments)return P0.printComments(a,e(s,{includeComments:!1}));var l=t.tabWidth;if(!r){var c=a.getNode().loc;c&&c.lines&&c.lines.guessTabWidth&&(t.tabWidth=c.lines.guessTabWidth())}var p=JP.getReprinter(a),f=p?p(i):N0(a,t,s,e(s,{includeComments:!0,avoidRootParens:!1}));return t.tabWidth=l,f}this.print=function(a){if(!a)return I0;var s=i(Ys.default.from(a),{includeComments:!0,avoidRootParens:!1});return new Zs(s.toString(t),Ft.composeSourceMaps(t.inputSourceMap,s.getSourceMap(t.sourceMapName,t.sourceRoot)))},this.printGenerically=function(a){if(!a)return I0;function s(f){return P0.printComments(f,function(v){return N0(v,t,{includeComments:!0,avoidRootParens:!1},s)})}var l=Ys.default.from(a),c=t.reuseWhitespace;t.reuseWhitespace=!1;var p=new Zs(s(l).toString(t));return t.reuseWhitespace=c,p}};to.Printer=GP;function N0(n,t,r,e){yt.default.ok(n instanceof Ys.default);var i=n.getValue(),a=[],s=HP(n,t,e);if(!i||s.isEmpty())return s;var l=i.extra?i.extra.parenthesized:!1,c=KP(n,e);return c.isEmpty()?r.avoidRootParens||(l=l||n.needsParens()):a.push(c),l&&a.unshift("("),a.push(s),l&&a.push(")"),S.concat(a)}function HP(n,t,r){var e=n.getValue();if(!e)return S.fromString("");if(typeof e=="string")return S.fromString(e,t);be.Printable.assert(e);var i=[];switch(e.type){case"File":return n.call(r,"program");case"Program":return e.directives&&n.each(function(V){i.push(r(V),`;
|
|
`)},"directives"),e.interpreter&&i.push(n.call(r,"interpreter")),i.push(n.call(function(V){return ln(V,t,r)},"body")),S.concat(i);case"Noop":case"EmptyStatement":return S.fromString("");case"ExpressionStatement":return S.concat([n.call(r,"expression"),";"]);case"ParenthesizedExpression":return S.concat(["(",n.call(r,"expression"),")"]);case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":return S.fromString(" ").join([n.call(r,"left"),e.operator,n.call(r,"right")]);case"AssignmentPattern":return S.concat([n.call(r,"left")," = ",n.call(r,"right")]);case"MemberExpression":case"OptionalMemberExpression":{i.push(n.call(r,"object"));var a=n.call(r,"property"),s=qi.getFieldValue(e,"optional");return e.computed?i.push(s?"?.[":"[",a,"]"):i.push(s?"?.":".",a),S.concat(i)}case"ChainExpression":return n.call(r,"expression");case"MetaProperty":return S.concat([n.call(r,"meta"),".",n.call(r,"property")]);case"BindExpression":return e.object&&i.push(n.call(r,"object")),i.push("::",n.call(r,"callee")),S.concat(i);case"Path":return S.fromString(".").join(e.body);case"Identifier":return S.concat([S.fromString(e.name,t),e.optional?"?":"",n.call(r,"typeAnnotation")]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"ObjectTypeSpreadProperty":case"RestElement":return S.concat(["...",n.call(r,"argument"),n.call(r,"typeAnnotation")]);case"FunctionDeclaration":case"FunctionExpression":case"TSDeclareFunction":return e.declare&&i.push("declare "),e.async&&i.push("async "),i.push("function"),e.generator&&i.push("*"),e.id?i.push(" ",n.call(r,"id"),n.call(r,"typeParameters")):e.typeParameters&&i.push(n.call(r,"typeParameters")),i.push("(",kt(n,t,r),")",n.call(r,"returnType")),e.body&&i.push(" ",n.call(r,"body")),S.concat(i);case"ArrowFunctionExpression":return e.async&&i.push("async "),e.typeParameters&&i.push(n.call(r,"typeParameters")),!t.arrowParensAlways&&e.params.length===1&&!e.rest&&e.params[0].type==="Identifier"&&!e.params[0].typeAnnotation&&!e.returnType?i.push(n.call(r,"params",0)):i.push("(",kt(n,t,r),")",n.call(r,"returnType")),i.push(" => ",n.call(r,"body")),S.concat(i);case"MethodDefinition":return Uf(n,t,r);case"YieldExpression":return i.push("yield"),e.delegate&&i.push("*"),e.argument&&i.push(" ",n.call(r,"argument")),S.concat(i);case"AwaitExpression":return i.push("await"),e.all&&i.push("*"),e.argument&&i.push(" ",n.call(r,"argument")),S.concat(i);case"ModuleDeclaration":return i.push("module",n.call(r,"id")),e.source?(yt.default.ok(!e.body),i.push("from",n.call(r,"source"))):i.push(n.call(r,"body")),S.fromString(" ").join(i);case"ImportSpecifier":return e.importKind&&e.importKind!=="value"&&i.push(e.importKind+" "),e.imported?(i.push(n.call(r,"imported")),e.local&&e.local.name!==e.imported.name&&i.push(" as ",n.call(r,"local"))):e.id&&(i.push(n.call(r,"id")),e.name&&i.push(" as ",n.call(r,"name"))),S.concat(i);case"ExportSpecifier":return e.local?(i.push(n.call(r,"local")),e.exported&&e.exported.name!==e.local.name&&i.push(" as ",n.call(r,"exported"))):e.id&&(i.push(n.call(r,"id")),e.name&&i.push(" as ",n.call(r,"name"))),S.concat(i);case"ExportBatchSpecifier":return S.fromString("*");case"ImportNamespaceSpecifier":return i.push("* as "),e.local?i.push(n.call(r,"local")):e.id&&i.push(n.call(r,"id")),S.concat(i);case"ImportDefaultSpecifier":return e.local?n.call(r,"local"):n.call(r,"id");case"TSExportAssignment":return S.concat(["export = ",n.call(r,"expression")]);case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return B0(n,t,r);case"ExportAllDeclaration":return i.push("export *"),e.exported&&i.push(" as ",n.call(r,"exported")),i.push(" from ",n.call(r,"source"),";"),S.concat(i);case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n.call(r,"id")),Qs(S.concat(i));case"ExportNamespaceSpecifier":return S.concat(["* as ",n.call(r,"exported")]);case"ExportDefaultSpecifier":return n.call(r,"exported");case"Import":return S.fromString("import",t);case"ImportExpression":return S.concat(["import(",n.call(r,"source"),")"]);case"ImportDeclaration":{if(i.push("import "),e.importKind&&e.importKind!=="value"&&i.push(e.importKind+" "),e.specifiers&&e.specifiers.length>0){var l=[],c=[];if(n.each(function(V){var Y=V.getValue();Y.type==="ImportSpecifier"?c.push(r(V)):(Y.type==="ImportDefaultSpecifier"||Y.type==="ImportNamespaceSpecifier")&&l.push(r(V))},"specifiers"),l.forEach(function(V,Y){Y>0&&i.push(", "),i.push(V)}),c.length>0){var p=S.fromString(", ").join(c);p.getLineLength(1)>t.wrapColumn&&(p=S.concat([S.fromString(`,
|
|
`).join(c).indent(t.tabWidth),","])),l.length>0&&i.push(", "),p.length>1?i.push(`{
|
|
`,p,`
|
|
}`):t.objectCurlySpacing?i.push("{ ",p," }"):i.push("{",p,"}")}i.push(" from ")}return i.push(n.call(r,"source"),";"),S.concat(i)}case"BlockStatement":{var f=n.call(function(V){return ln(V,t,r)},"body");return f.isEmpty()&&(!e.directives||e.directives.length===0)?S.fromString("{}"):(i.push(`{
|
|
`),e.directives&&n.each(function(V){i.push(Qs(r(V).indent(t.tabWidth)),e.directives.length>1||!f.isEmpty()?`
|
|
`:"")},"directives"),i.push(f.indent(t.tabWidth)),i.push(`
|
|
}`),S.concat(i))}case"ReturnStatement":{if(i.push("return"),e.argument){var v=n.call(r,"argument");v.startsWithComment()||v.length>1&&be.JSXElement&&be.JSXElement.check(e.argument)?i.push(` (
|
|
`,v.indent(t.tabWidth),`
|
|
)`):i.push(" ",v)}return i.push(";"),S.concat(i)}case"CallExpression":case"OptionalCallExpression":return i.push(n.call(r,"callee")),e.typeParameters&&i.push(n.call(r,"typeParameters")),e.typeArguments&&i.push(n.call(r,"typeArguments")),qi.getFieldValue(e,"optional")&&i.push("?."),i.push(L0(n,t,r)),S.concat(i);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":{var m=e.type==="ObjectTypeAnnotation",o=t.flowObjectCommas?",":m?";":",",u=[],d=!1;m&&(u.push("indexers","callProperties"),e.internalSlots!=null&&u.push("internalSlots")),u.push("properties");var h=0;u.forEach(function(V){h+=e[V].length});var g=m&&h===1||h===0,y=e.exact?"{|":"{",b=e.exact?"|}":"}";i.push(g?y:y+`
|
|
`);var x=i.length-1,w=0;if(u.forEach(function(V){n.each(function(Y){var Qe=r(Y);g||(Qe=Qe.indent(t.tabWidth));var dt=!m&&Qe.length>1;dt&&d&&i.push(`
|
|
`),i.push(Qe),w<h-1?(i.push(o+(dt?`
|
|
|
|
`:`
|
|
`)),d=!dt):(h!==1&&m||!g&&Ft.isTrailingCommaEnabled(t,"objects")&&Y.getValue().type!=="RestElement")&&i.push(o),w++},V)}),e.inexact){var E=S.fromString("...",t);g?(h>0&&i.push(o," "),i.push(E)):i.push(`
|
|
`,E.indent(t.tabWidth))}return i.push(g?b:`
|
|
`+b),w!==0&&g&&t.objectCurlySpacing&&(i[x]=y+" ",i[i.length-1]=" "+b),e.typeAnnotation&&i.push(n.call(r,"typeAnnotation")),S.concat(i)}case"PropertyPattern":return S.concat([n.call(r,"key"),": ",n.call(r,"pattern")]);case"ObjectProperty":case"Property":{if(e.method||e.kind==="get"||e.kind==="set")return Uf(n,t,r);if(e.shorthand&&e.value.type==="AssignmentPattern")return n.call(r,"value");var C=n.call(r,"key");return e.computed?i.push("[",C,"]"):i.push(C),(!e.shorthand||e.key.name!==e.value.name)&&i.push(": ",n.call(r,"value")),S.concat(i)}case"ClassMethod":case"ObjectMethod":case"ClassPrivateMethod":case"TSDeclareMethod":return Uf(n,t,r);case"PrivateName":return S.concat(["#",n.call(r,"id")]);case"Decorator":return S.concat(["@",n.call(r,"expression")]);case"ArrayExpression":case"ArrayPattern":{var T=e.elements,M=T.length,U=n.map(r,"elements"),W=S.fromString(", ").join(U),G=W.getLineLength(1)<=t.wrapColumn;return G?t.arrayBracketSpacing?i.push("[ "):i.push("["):i.push(`[
|
|
`),n.each(function(V){var Y=V.getName(),Qe=V.getValue();if(!Qe)i.push(",");else{var dt=U[Y];G?Y>0&&i.push(" "):dt=dt.indent(t.tabWidth),i.push(dt),(Y<M-1||!G&&Ft.isTrailingCommaEnabled(t,"arrays"))&&i.push(","),G||i.push(`
|
|
`)}},"elements"),G&&t.arrayBracketSpacing?i.push(" ]"):i.push("]"),e.typeAnnotation&&i.push(n.call(r,"typeAnnotation")),S.concat(i)}case"SequenceExpression":return S.fromString(", ").join(n.map(r,"expressions"));case"ThisExpression":return S.fromString("this");case"Super":return S.fromString("super");case"NullLiteral":return S.fromString("null");case"RegExpLiteral":return S.fromString(e.extra.raw);case"BigIntLiteral":return S.fromString(e.value+"n");case"NumericLiteral":return e.extra&&typeof e.extra.raw=="string"&&Number(e.extra.raw)===e.value?S.fromString(e.extra.raw,t):S.fromString(e.value,t);case"BooleanLiteral":case"StringLiteral":case"Literal":return typeof e.value=="number"&&typeof e.raw=="string"&&Number(e.raw)===e.value?S.fromString(e.raw,t):typeof e.value!="string"?S.fromString(e.value,t):S.fromString(Ks(e.value,t),t);case"Directive":return n.call(r,"value");case"DirectiveLiteral":return S.fromString(Ks(e.value,t));case"InterpreterDirective":return S.fromString("#!"+e.value+`
|
|
`,t);case"ModuleSpecifier":if(e.local)throw new Error("The ESTree ModuleSpecifier type should be abstract");return S.fromString(Ks(e.value,t),t);case"UnaryExpression":return i.push(e.operator),/[a-z]$/.test(e.operator)&&i.push(" "),i.push(n.call(r,"argument")),S.concat(i);case"UpdateExpression":return i.push(n.call(r,"argument"),e.operator),e.prefix&&i.reverse(),S.concat(i);case"ConditionalExpression":return S.concat([n.call(r,"test")," ? ",n.call(r,"consequent")," : ",n.call(r,"alternate")]);case"NewExpression":{i.push("new ",n.call(r,"callee")),e.typeParameters&&i.push(n.call(r,"typeParameters")),e.typeArguments&&i.push(n.call(r,"typeArguments"));var ge=e.arguments;return ge&&i.push(L0(n,t,r)),S.concat(i)}case"VariableDeclaration":{e.declare&&i.push("declare "),i.push(e.kind," ");var de=0,Ke=n.map(function(V){var Y=r(V);return de=Math.max(Y.length,de),Y},"declarations");de===1?i.push(S.fromString(", ").join(Ke)):Ke.length>1?i.push(S.fromString(`,
|
|
`).join(Ke).indentTail(e.kind.length+1)):i.push(Ke[0]);var ut=n.getParentNode();return!be.ForStatement.check(ut)&&!be.ForInStatement.check(ut)&&!(be.ForOfStatement&&be.ForOfStatement.check(ut))&&!(be.ForAwaitStatement&&be.ForAwaitStatement.check(ut))&&i.push(";"),S.concat(i)}case"VariableDeclarator":return e.init?S.fromString(" = ").join([n.call(r,"id"),n.call(r,"init")]):n.call(r,"id");case"WithStatement":return S.concat(["with (",n.call(r,"object"),") ",n.call(r,"body")]);case"IfStatement":{var we=xr(n.call(r,"consequent"),t);return i.push("if (",n.call(r,"test"),")",we),e.alternate&&i.push(q0(we)?" else":`
|
|
else`,xr(n.call(r,"alternate"),t)),S.concat(i)}case"ForStatement":{var Ee=n.call(r,"init"),k=Ee.length>1?`;
|
|
`:"; ",I="for (",P=S.fromString(k).join([Ee,n.call(r,"test"),n.call(r,"update")]).indentTail(I.length),z=S.concat([I,P,")"]),X=xr(n.call(r,"body"),t);return i.push(z),z.length>1&&(i.push(`
|
|
`),X=X.trimLeft()),i.push(X),S.concat(i)}case"WhileStatement":return S.concat(["while (",n.call(r,"test"),")",xr(n.call(r,"body"),t)]);case"ForInStatement":return S.concat([e.each?"for each (":"for (",n.call(r,"left")," in ",n.call(r,"right"),")",xr(n.call(r,"body"),t)]);case"ForOfStatement":case"ForAwaitStatement":return i.push("for "),(e.await||e.type==="ForAwaitStatement")&&i.push("await "),i.push("(",n.call(r,"left")," of ",n.call(r,"right"),")",xr(n.call(r,"body"),t)),S.concat(i);case"DoWhileStatement":{var H=S.concat(["do",xr(n.call(r,"body"),t)]);return i.push(H),q0(H)?i.push(" while"):i.push(`
|
|
while`),i.push(" (",n.call(r,"test"),");"),S.concat(i)}case"DoExpression":{var De=n.call(function(V){return ln(V,t,r)},"body");return S.concat([`do {
|
|
`,De.indent(t.tabWidth),`
|
|
}`])}case"BreakStatement":return i.push("break"),e.label&&i.push(" ",n.call(r,"label")),i.push(";"),S.concat(i);case"ContinueStatement":return i.push("continue"),e.label&&i.push(" ",n.call(r,"label")),i.push(";"),S.concat(i);case"LabeledStatement":return S.concat([n.call(r,"label"),`:
|
|
`,n.call(r,"body")]);case"TryStatement":return i.push("try ",n.call(r,"block")),e.handler?i.push(" ",n.call(r,"handler")):e.handlers&&n.each(function(V){i.push(" ",r(V))},"handlers"),e.finalizer&&i.push(" finally ",n.call(r,"finalizer")),S.concat(i);case"CatchClause":return i.push("catch "),e.param&&i.push("(",n.call(r,"param")),e.guard&&i.push(" if ",n.call(r,"guard")),e.param&&i.push(") "),i.push(n.call(r,"body")),S.concat(i);case"ThrowStatement":return S.concat(["throw ",n.call(r,"argument"),";"]);case"SwitchStatement":return S.concat(["switch (",n.call(r,"discriminant"),`) {
|
|
`,S.fromString(`
|
|
`).join(n.map(r,"cases")),`
|
|
}`]);case"SwitchCase":return e.test?i.push("case ",n.call(r,"test"),":"):i.push("default:"),e.consequent.length>0&&i.push(`
|
|
`,n.call(function(V){return ln(V,t,r)},"consequent").indent(t.tabWidth)),S.concat(i);case"DebuggerStatement":return S.fromString("debugger;");case"JSXAttribute":return i.push(n.call(r,"name")),e.value&&i.push("=",n.call(r,"value")),S.concat(i);case"JSXIdentifier":return S.fromString(e.name,t);case"JSXNamespacedName":return S.fromString(":").join([n.call(r,"namespace"),n.call(r,"name")]);case"JSXMemberExpression":return S.fromString(".").join([n.call(r,"object"),n.call(r,"property")]);case"JSXSpreadAttribute":return S.concat(["{...",n.call(r,"argument"),"}"]);case"JSXSpreadChild":return S.concat(["{...",n.call(r,"expression"),"}"]);case"JSXExpressionContainer":return S.concat(["{",n.call(r,"expression"),"}"]);case"JSXElement":case"JSXFragment":{var re="opening"+(e.type==="JSXElement"?"Element":"Fragment"),ee="closing"+(e.type==="JSXElement"?"Element":"Fragment"),ze=n.call(r,re);if(e[re].selfClosing)return yt.default.ok(!e[ee],"unexpected "+ee+" element in self-closing "+e.type),ze;var ct=S.concat(n.map(function(V){var Y=V.getValue();if(be.Literal.check(Y)&&typeof Y.value=="string"){if(/\S/.test(Y.value))return Y.value.replace(/^\s+|\s+$/g,"");if(/\n/.test(Y.value))return`
|
|
`}return r(V)},"children")).indentTail(t.tabWidth),Ye=n.call(r,ee);return S.concat([ze,ct,Ye])}case"JSXOpeningElement":{i.push("<",n.call(r,"name"));var Me=[];n.each(function(V){Me.push(" ",r(V))},"attributes");var jt=S.concat(Me),Ot=jt.length>1||jt.getLineLength(1)>t.wrapColumn;return Ot&&(Me.forEach(function(V,Y){V===" "&&(yt.default.strictEqual(Y%2,0),Me[Y]=`
|
|
`)}),jt=S.concat(Me).indentTail(t.tabWidth)),i.push(jt,e.selfClosing?" />":">"),S.concat(i)}case"JSXClosingElement":return S.concat(["</",n.call(r,"name"),">"]);case"JSXOpeningFragment":return S.fromString("<>");case"JSXClosingFragment":return S.fromString("</>");case"JSXText":return S.fromString(e.value,t);case"JSXEmptyExpression":return S.fromString("");case"TypeAnnotatedIdentifier":return S.concat([n.call(r,"annotation")," ",n.call(r,"identifier")]);case"ClassBody":return e.body.length===0?S.fromString("{}"):S.concat([`{
|
|
`,n.call(function(V){return ln(V,t,r)},"body").indent(t.tabWidth),`
|
|
}`]);case"ClassPropertyDefinition":return i.push("static ",n.call(r,"definition")),be.MethodDefinition.check(e.definition)||i.push(";"),S.concat(i);case"ClassProperty":{e.declare&&i.push("declare ");var Er=e.accessibility||e.access;typeof Er=="string"&&i.push(Er," "),e.static&&i.push("static "),e.abstract&&i.push("abstract "),e.readonly&&i.push("readonly ");var C=n.call(r,"key");return e.computed&&(C=S.concat(["[",C,"]"])),e.variance&&(C=S.concat([Bi(n,r),C])),i.push(C),e.optional&&i.push("?"),e.typeAnnotation&&i.push(n.call(r,"typeAnnotation")),e.value&&i.push(" = ",n.call(r,"value")),i.push(";"),S.concat(i)}case"ClassPrivateProperty":return e.static&&i.push("static "),i.push(n.call(r,"key")),e.typeAnnotation&&i.push(n.call(r,"typeAnnotation")),e.value&&i.push(" = ",n.call(r,"value")),i.push(";"),S.concat(i);case"ClassDeclaration":case"ClassExpression":return e.declare&&i.push("declare "),e.abstract&&i.push("abstract "),i.push("class"),e.id&&i.push(" ",n.call(r,"id")),e.typeParameters&&i.push(n.call(r,"typeParameters")),e.superClass&&i.push(" extends ",n.call(r,"superClass"),n.call(r,"superTypeParameters")),e.implements&&e.implements.length>0&&i.push(" implements ",S.fromString(", ").join(n.map(r,"implements"))),i.push(" ",n.call(r,"body")),S.concat(i);case"TemplateElement":return S.fromString(e.value.raw,t).lockIndentTail();case"TemplateLiteral":{var Dr=n.map(r,"expressions");return i.push("`"),n.each(function(V){var Y=V.getName();i.push(r(V)),Y<Dr.length&&i.push("${",Dr[Y],"}")},"quasis"),i.push("`"),S.concat(i).lockIndentTail()}case"TaggedTemplateExpression":return S.concat([n.call(r,"tag"),n.call(r,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"Flow":case"FlowType":case"FlowPredicate":case"MemberTypeAnnotation":case"Type":case"TSHasOptionalTypeParameterInstantiation":case"TSHasOptionalTypeParameters":case"TSHasOptionalTypeAnnotation":case"ChainElement":throw new Error("unprintable type: "+JSON.stringify(e.type));case"CommentBlock":case"Block":return S.concat(["/*",S.fromString(e.value,t),"*/"]);case"CommentLine":case"Line":return S.concat(["//",S.fromString(e.value,t)]);case"TypeAnnotation":return e.typeAnnotation?(e.typeAnnotation.type!=="FunctionTypeAnnotation"&&i.push(": "),i.push(n.call(r,"typeAnnotation")),S.concat(i)):S.fromString("");case"ExistentialTypeParam":case"ExistsTypeAnnotation":return S.fromString("*",t);case"EmptyTypeAnnotation":return S.fromString("empty",t);case"AnyTypeAnnotation":return S.fromString("any",t);case"MixedTypeAnnotation":return S.fromString("mixed",t);case"ArrayTypeAnnotation":return S.concat([n.call(r,"elementType"),"[]"]);case"TupleTypeAnnotation":{var zi=n.map(r,"types"),W=S.fromString(", ").join(zi),tr=W.getLineLength(1)<=t.wrapColumn;return tr?t.arrayBracketSpacing?i.push("[ "):i.push("["):i.push(`[
|
|
`),n.each(function(Y){var Qe=Y.getName(),dt=Y.getValue();if(!dt)i.push(",");else{var mn=zi[Qe];tr?Qe>0&&i.push(" "):mn=mn.indent(t.tabWidth),i.push(mn),(Qe<e.types.length-1||!tr&&Ft.isTrailingCommaEnabled(t,"arrays"))&&i.push(","),tr||i.push(`
|
|
`)}},"types"),tr&&t.arrayBracketSpacing?i.push(" ]"):i.push("]"),S.concat(i)}case"BooleanTypeAnnotation":return S.fromString("boolean",t);case"BooleanLiteralTypeAnnotation":return yt.default.strictEqual(typeof e.value,"boolean"),S.fromString(""+e.value,t);case"InterfaceTypeAnnotation":return i.push("interface"),e.extends&&e.extends.length>0&&i.push(" extends ",S.fromString(", ").join(n.map(r,"extends"))),i.push(" ",n.call(r,"body")),S.concat(i);case"DeclareClass":return Li(n,["class ",n.call(r,"id")," ",n.call(r,"body")]);case"DeclareFunction":return Li(n,["function ",n.call(r,"id"),";"]);case"DeclareModule":return Li(n,["module ",n.call(r,"id")," ",n.call(r,"body")]);case"DeclareModuleExports":return Li(n,["module.exports",n.call(r,"typeAnnotation")]);case"DeclareVariable":return Li(n,["var ",n.call(r,"id"),";"]);case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return S.concat(["declare ",B0(n,t,r)]);case"EnumDeclaration":return S.concat(["enum ",n.call(r,"id"),n.call(r,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":return(e.type==="EnumSymbolBody"||e.explicitType)&&i.push(" of ",e.type.slice(4,-4).toLowerCase()),i.push(` {
|
|
`,S.fromString(`
|
|
`).join(n.map(r,"members")).indent(t.tabWidth),`
|
|
}`),S.concat(i);case"EnumDefaultedMember":return S.concat([n.call(r,"id"),","]);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return S.concat([n.call(r,"id")," = ",n.call(r,"init"),","]);case"InferredPredicate":return S.fromString("%checks",t);case"DeclaredPredicate":return S.concat(["%checks(",n.call(r,"value"),")"]);case"FunctionTypeAnnotation":{var ft=n.getParentNode(0),Vi=!(be.ObjectTypeCallProperty.check(ft)||be.ObjectTypeInternalSlot.check(ft)&&ft.method||be.DeclareFunction.check(n.getParentNode(2))),uo=Vi&&!be.FunctionTypeParam.check(ft)&&!be.TypeAlias.check(ft);uo&&i.push(": ");var Wi=!!e.typeParameters,Ji=Wi||e.params.length!==1||e.params[0].name;return i.push(Wi?n.call(r,"typeParameters"):"",Ji?"(":"",kt(n,t,r),Ji?")":""),e.returnType&&i.push(Vi?" => ":": ",n.call(r,"returnType")),S.concat(i)}case"FunctionTypeParam":{var Xi=n.call(r,"name");return i.push(Xi),e.optional&&i.push("?"),Xi.infos[0].line&&i.push(": "),i.push(n.call(r,"typeAnnotation")),S.concat(i)}case"GenericTypeAnnotation":return S.concat([n.call(r,"id"),n.call(r,"typeParameters")]);case"DeclareInterface":i.push("declare ");case"InterfaceDeclaration":case"TSInterfaceDeclaration":return e.declare&&i.push("declare "),i.push("interface ",n.call(r,"id"),n.call(r,"typeParameters")," "),e.extends&&e.extends.length>0&&i.push("extends ",S.fromString(", ").join(n.map(r,"extends"))," "),e.body&&i.push(n.call(r,"body")),S.concat(i);case"ClassImplements":case"InterfaceExtends":return S.concat([n.call(r,"id"),n.call(r,"typeParameters")]);case"IntersectionTypeAnnotation":return S.fromString(" & ").join(n.map(r,"types"));case"NullableTypeAnnotation":return S.concat(["?",n.call(r,"typeAnnotation")]);case"NullLiteralTypeAnnotation":return S.fromString("null",t);case"ThisTypeAnnotation":return S.fromString("this",t);case"NumberTypeAnnotation":return S.fromString("number",t);case"ObjectTypeCallProperty":return n.call(r,"value");case"ObjectTypeIndexer":return e.static&&i.push("static "),i.push(Bi(n,r),"["),e.id&&i.push(n.call(r,"id"),": "),i.push(n.call(r,"key"),"]: ",n.call(r,"value")),S.concat(i);case"ObjectTypeProperty":return S.concat([Bi(n,r),n.call(r,"key"),e.optional?"?":"",": ",n.call(r,"value")]);case"ObjectTypeInternalSlot":return S.concat([e.static?"static ":"","[[",n.call(r,"id"),"]]",e.optional?"?":"",e.value.type!=="FunctionTypeAnnotation"?": ":"",n.call(r,"value")]);case"QualifiedTypeIdentifier":return S.concat([n.call(r,"qualification"),".",n.call(r,"id")]);case"StringLiteralTypeAnnotation":return S.fromString(Ks(e.value,t),t);case"NumberLiteralTypeAnnotation":case"NumericLiteralTypeAnnotation":return yt.default.strictEqual(typeof e.value,"number"),S.fromString(JSON.stringify(e.value),t);case"BigIntLiteralTypeAnnotation":return S.fromString(e.raw,t);case"StringTypeAnnotation":return S.fromString("string",t);case"DeclareTypeAlias":i.push("declare ");case"TypeAlias":return S.concat(["type ",n.call(r,"id"),n.call(r,"typeParameters")," = ",n.call(r,"right"),";"]);case"DeclareOpaqueType":i.push("declare ");case"OpaqueType":return i.push("opaque type ",n.call(r,"id"),n.call(r,"typeParameters")),e.supertype&&i.push(": ",n.call(r,"supertype")),e.impltype&&i.push(" = ",n.call(r,"impltype")),i.push(";"),S.concat(i);case"TypeCastExpression":return S.concat(["(",n.call(r,"expression"),n.call(r,"typeAnnotation"),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return S.concat(["<",S.fromString(", ").join(n.map(r,"params")),">"]);case"Variance":return e.kind==="plus"?S.fromString("+"):e.kind==="minus"?S.fromString("-"):S.fromString("");case"TypeParameter":return e.variance&&i.push(Bi(n,r)),i.push(n.call(r,"name")),e.bound&&i.push(n.call(r,"bound")),e.default&&i.push("=",n.call(r,"default")),S.concat(i);case"TypeofTypeAnnotation":return S.concat([S.fromString("typeof ",t),n.call(r,"argument")]);case"UnionTypeAnnotation":return S.fromString(" | ").join(n.map(r,"types"));case"VoidTypeAnnotation":return S.fromString("void",t);case"NullTypeAnnotation":return S.fromString("null",t);case"SymbolTypeAnnotation":return S.fromString("symbol",t);case"BigIntTypeAnnotation":return S.fromString("bigint",t);case"TSType":throw new Error("unprintable type: "+JSON.stringify(e.type));case"TSNumberKeyword":return S.fromString("number",t);case"TSBigIntKeyword":return S.fromString("bigint",t);case"TSObjectKeyword":return S.fromString("object",t);case"TSBooleanKeyword":return S.fromString("boolean",t);case"TSStringKeyword":return S.fromString("string",t);case"TSSymbolKeyword":return S.fromString("symbol",t);case"TSAnyKeyword":return S.fromString("any",t);case"TSVoidKeyword":return S.fromString("void",t);case"TSThisType":return S.fromString("this",t);case"TSNullKeyword":return S.fromString("null",t);case"TSUndefinedKeyword":return S.fromString("undefined",t);case"TSUnknownKeyword":return S.fromString("unknown",t);case"TSNeverKeyword":return S.fromString("never",t);case"TSArrayType":return S.concat([n.call(r,"elementType"),"[]"]);case"TSLiteralType":return n.call(r,"literal");case"TSUnionType":return S.fromString(" | ").join(n.map(r,"types"));case"TSIntersectionType":return S.fromString(" & ").join(n.map(r,"types"));case"TSConditionalType":return i.push(n.call(r,"checkType")," extends ",n.call(r,"extendsType")," ? ",n.call(r,"trueType")," : ",n.call(r,"falseType")),S.concat(i);case"TSInferType":return i.push("infer ",n.call(r,"typeParameter")),S.concat(i);case"TSParenthesizedType":return S.concat(["(",n.call(r,"typeAnnotation"),")"]);case"TSFunctionType":return S.concat([n.call(r,"typeParameters"),"(",kt(n,t,r),") => ",n.call(r,"typeAnnotation","typeAnnotation")]);case"TSConstructorType":return S.concat(["new ",n.call(r,"typeParameters"),"(",kt(n,t,r),") => ",n.call(r,"typeAnnotation","typeAnnotation")]);case"TSMappedType":return i.push(e.readonly?"readonly ":"","[",n.call(r,"typeParameter"),"]",e.optional?"?":""),e.typeAnnotation&&i.push(": ",n.call(r,"typeAnnotation"),";"),S.concat([`{
|
|
`,S.concat(i).indent(t.tabWidth),`
|
|
}`]);case"TSTupleType":return S.concat(["[",S.fromString(", ").join(n.map(r,"elementTypes")),"]"]);case"TSNamedTupleMember":return i.push(n.call(r,"label")),e.optional&&i.push("?"),i.push(": ",n.call(r,"elementType")),S.concat(i);case"TSRestType":return S.concat(["...",n.call(r,"typeAnnotation")]);case"TSOptionalType":return S.concat([n.call(r,"typeAnnotation"),"?"]);case"TSIndexedAccessType":return S.concat([n.call(r,"objectType"),"[",n.call(r,"indexType"),"]"]);case"TSTypeOperator":return S.concat([n.call(r,"operator")," ",n.call(r,"typeAnnotation")]);case"TSTypeLiteral":{var rr=S.fromString(`,
|
|
`).join(n.map(r,"members"));return rr.isEmpty()?S.fromString("{}",t):(i.push(`{
|
|
`,rr.indent(t.tabWidth),`
|
|
}`),S.concat(i))}case"TSEnumMember":return i.push(n.call(r,"id")),e.initializer&&i.push(" = ",n.call(r,"initializer")),S.concat(i);case"TSTypeQuery":return S.concat(["typeof ",n.call(r,"exprName")]);case"TSParameterProperty":return e.accessibility&&i.push(e.accessibility," "),e.export&&i.push("export "),e.static&&i.push("static "),e.readonly&&i.push("readonly "),i.push(n.call(r,"parameter")),S.concat(i);case"TSTypeReference":return S.concat([n.call(r,"typeName"),n.call(r,"typeParameters")]);case"TSQualifiedName":return S.concat([n.call(r,"left"),".",n.call(r,"right")]);case"TSAsExpression":{var co=n.call(r,"expression");return i.push(co,S.fromString(" as "),n.call(r,"typeAnnotation")),S.concat(i)}case"TSNonNullExpression":return S.concat([n.call(r,"expression"),"!"]);case"TSTypeAnnotation":return S.concat([": ",n.call(r,"typeAnnotation")]);case"TSIndexSignature":return S.concat([e.readonly?"readonly ":"","[",n.map(r,"parameters"),"]",n.call(r,"typeAnnotation")]);case"TSPropertySignature":return i.push(Bi(n,r),e.readonly?"readonly ":""),e.computed?i.push("[",n.call(r,"key"),"]"):i.push(n.call(r,"key")),i.push(e.optional?"?":"",n.call(r,"typeAnnotation")),S.concat(i);case"TSMethodSignature":return e.computed?i.push("[",n.call(r,"key"),"]"):i.push(n.call(r,"key")),e.optional&&i.push("?"),i.push(n.call(r,"typeParameters"),"(",kt(n,t,r),")",n.call(r,"typeAnnotation")),S.concat(i);case"TSTypePredicate":return e.asserts&&i.push("asserts "),i.push(n.call(r,"parameterName")),e.typeAnnotation&&i.push(" is ",n.call(r,"typeAnnotation","typeAnnotation")),S.concat(i);case"TSCallSignatureDeclaration":return S.concat([n.call(r,"typeParameters"),"(",kt(n,t,r),")",n.call(r,"typeAnnotation")]);case"TSConstructSignatureDeclaration":return e.typeParameters?i.push("new",n.call(r,"typeParameters")):i.push("new "),i.push("(",kt(n,t,r),")",n.call(r,"typeAnnotation")),S.concat(i);case"TSTypeAliasDeclaration":return S.concat([e.declare?"declare ":"","type ",n.call(r,"id"),n.call(r,"typeParameters")," = ",n.call(r,"typeAnnotation"),";"]);case"TSTypeParameter":{i.push(n.call(r,"name"));var ft=n.getParentNode(0),fo=be.TSMappedType.check(ft);return e.constraint&&i.push(fo?" in ":" extends ",n.call(r,"constraint")),e.default&&i.push(" = ",n.call(r,"default")),S.concat(i)}case"TSTypeAssertion":return i.push("<",n.call(r,"typeAnnotation"),"> ",n.call(r,"expression")),S.concat(i);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return S.concat(["<",S.fromString(", ").join(n.map(r,"params")),">"]);case"TSEnumDeclaration":{i.push(e.declare?"declare ":"",e.const?"const ":"","enum ",n.call(r,"id"));var rr=S.fromString(`,
|
|
`).join(n.map(r,"members"));return rr.isEmpty()?i.push(" {}"):i.push(` {
|
|
`,rr.indent(t.tabWidth),`
|
|
}`),S.concat(i)}case"TSExpressionWithTypeArguments":return S.concat([n.call(r,"expression"),n.call(r,"typeParameters")]);case"TSInterfaceBody":{var p=S.fromString(`;
|
|
`).join(n.map(r,"body"));return p.isEmpty()?S.fromString("{}",t):S.concat([`{
|
|
`,p.indent(t.tabWidth),";",`
|
|
}`])}case"TSImportType":return i.push("import(",n.call(r,"argument"),")"),e.qualifier&&i.push(".",n.call(r,"qualifier")),e.typeParameters&&i.push(n.call(r,"typeParameters")),S.concat(i);case"TSImportEqualsDeclaration":return e.isExport&&i.push("export "),i.push("import ",n.call(r,"id")," = ",n.call(r,"moduleReference")),Qs(S.concat(i));case"TSExternalModuleReference":return S.concat(["require(",n.call(r,"expression"),")"]);case"TSModuleDeclaration":{var ft=n.getParentNode();if(ft.type==="TSModuleDeclaration")i.push(".");else if(e.declare&&i.push("declare "),!e.global){var po=e.id.type==="StringLiteral"||e.id.type==="Literal"&&typeof e.id.value=="string";if(po)i.push("module ");else if(e.loc&&e.loc.lines&&e.id.loc){var ho=e.loc.lines.sliceString(e.loc.start,e.id.loc.start);ho.indexOf("module")>=0?i.push("module "):i.push("namespace ")}else i.push("namespace ")}if(i.push(n.call(r,"id")),e.body&&e.body.type==="TSModuleDeclaration")i.push(n.call(r,"body"));else if(e.body){var $i=n.call(r,"body");$i.isEmpty()?i.push(" {}"):i.push(` {
|
|
`,$i.indent(t.tabWidth),`
|
|
}`)}return S.concat(i)}case"TSModuleBlock":return n.call(function(V){return ln(V,t,r)},"body");case"ClassHeritage":case"ComprehensionBlock":case"ComprehensionExpression":case"Glob":case"GeneratorExpression":case"LetStatement":case"LetExpression":case"GraphExpression":case"GraphIndexExpression":case"XMLDefaultDeclaration":case"XMLAnyName":case"XMLQualifiedIdentifier":case"XMLFunctionQualifiedIdentifier":case"XMLAttributeSelector":case"XMLFilterExpression":case"XML":case"XMLElement":case"XMLList":case"XMLEscape":case"XMLText":case"XMLStartTag":case"XMLEndTag":case"XMLPointTag":case"XMLName":case"XMLAttribute":case"XMLCdata":case"XMLComment":case"XMLProcessingInstruction":default:debugger;throw new Error("unknown type: "+JSON.stringify(e.type))}}function KP(n,t){var r=[],e=n.getValue();return e.decorators&&e.decorators.length>0&&!Ft.getParentExportDeclaration(n)?n.each(function(i){r.push(t(i),`
|
|
`)},"decorators"):Ft.isExportDeclaration(e)&&e.declaration&&e.declaration.decorators&&n.each(function(i){r.push(t(i),`
|
|
`)},"declaration","decorators"),S.concat(r)}function ln(n,t,r){var e=[],i=!1,a=!1;n.each(function(p){var f=p.getValue();!f||f.type==="EmptyStatement"&&!(f.comments&&f.comments.length>0)||(be.Comment.check(f)?i=!0:be.Statement.check(f)?a=!0:zf.assert(f),e.push({node:f,printed:r(p)}))}),i&&yt.default.strictEqual(a,!1,"Comments may appear as statements in otherwise empty statement lists, but may not coexist with non-Comment nodes.");var s=null,l=e.length,c=[];return e.forEach(function(p,f){var v=p.printed,m=p.node,o=v.length>1,u=f>0,d=f<l-1,h,g,y=m&&m.loc&&m.loc.lines,b=y&&t.reuseWhitespace&&Ft.getTrueLoc(m,y);if(u)if(b){var x=y.skipSpaces(b.start,!0),w=x?x.line:1,E=b.start.line-w;h=Array(E+1).join(`
|
|
`)}else h=o?`
|
|
|
|
`:`
|
|
`;else h="";if(d)if(b){var C=y.skipSpaces(b.end),T=C?C.line:y.length,M=T-b.end.line;g=Array(M+1).join(`
|
|
`)}else g=o?`
|
|
|
|
`:`
|
|
`;else g="";c.push(YP(s,h),v),d?s=g:g&&c.push(g)}),S.concat(c)}function YP(n,t){if(!n&&!t)return S.fromString("");if(!n)return S.fromString(t);if(!t)return S.fromString(n);var r=S.fromString(n),e=S.fromString(t);return e.length>r.length?e:r}function Uf(n,t,r){var e=n.getNode(),i=e.kind,a=[],s=e.value;be.FunctionExpression.check(s)||(s=e);var l=e.accessibility||e.access;typeof l=="string"&&a.push(l," "),e.static&&a.push("static "),e.abstract&&a.push("abstract "),e.readonly&&a.push("readonly "),s.async&&a.push("async "),s.generator&&a.push("*"),(i==="get"||i==="set")&&a.push(i," ");var c=n.call(r,"key");return e.computed&&(c=S.concat(["[",c,"]"])),a.push(c),e.optional&&a.push("?"),e===s?(a.push(n.call(r,"typeParameters"),"(",kt(n,t,r),")",n.call(r,"returnType")),e.body?a.push(" ",n.call(r,"body")):a.push(";")):(a.push(n.call(r,"value","typeParameters"),"(",n.call(function(p){return kt(p,t,r)},"value"),")",n.call(r,"value","returnType")),s.body?a.push(" ",n.call(r,"value","body")):a.push(";")),S.concat(a)}function L0(n,t,r){var e=n.map(r,"arguments"),i=Ft.isTrailingCommaEnabled(t,"parameters"),a=S.fromString(", ").join(e);return a.getLineLength(1)>t.wrapColumn?(a=S.fromString(`,
|
|
`).join(e),S.concat([`(
|
|
`,a.indent(t.tabWidth),i?`,
|
|
)`:`
|
|
)`])):S.concat(["(",a,")"])}function kt(n,t,r){var e=n.getValue(),i,a=[];e.params?(i=e.params,a=n.map(r,"params")):e.parameters&&(i=e.parameters,a=n.map(r,"parameters")),e.defaults&&n.each(function(l){var c=l.getName(),p=a[c];p&&l.getValue()&&(a[c]=S.concat([p," = ",r(l)]))},"defaults"),e.rest&&a.push(S.concat(["...",n.call(r,"rest")]));var s=S.fromString(", ").join(a);return s.length>1||s.getLineLength(1)>t.wrapColumn?(s=S.fromString(`,
|
|
`).join(a),Ft.isTrailingCommaEnabled(t,"parameters")&&!e.rest&&i[i.length-1].type!=="RestElement"?s=S.concat([s,`,
|
|
`]):s=S.concat([s,`
|
|
`]),S.concat([`
|
|
`,s.indent(t.tabWidth)])):s}function B0(n,t,r){var e=n.getValue(),i=["export "];e.exportKind&&e.exportKind==="type"&&(e.declaration||i.push("type "));var a=t.objectCurlySpacing;if(be.Declaration.assert(e),(e.default||e.type==="ExportDefaultDeclaration")&&i.push("default "),e.declaration)i.push(n.call(r,"declaration"));else if(e.specifiers){if(e.specifiers.length===1&&e.specifiers[0].type==="ExportBatchSpecifier")i.push("*");else if(e.specifiers.length===0)i.push("{}");else if(e.specifiers[0].type==="ExportDefaultSpecifier"){var s=[],l=[];if(n.each(function(f){var v=f.getValue();v.type==="ExportDefaultSpecifier"?s.push(r(f)):l.push(r(f))},"specifiers"),s.forEach(function(f,v){v>0&&i.push(", "),i.push(f)}),l.length>0){var c=S.fromString(", ").join(l);c.getLineLength(1)>t.wrapColumn&&(c=S.concat([S.fromString(`,
|
|
`).join(l).indent(t.tabWidth),","])),s.length>0&&i.push(", "),c.length>1?i.push(`{
|
|
`,c,`
|
|
}`):t.objectCurlySpacing?i.push("{ ",c," }"):i.push("{",c,"}")}}else i.push(a?"{ ":"{",S.fromString(", ").join(n.map(r,"specifiers")),a?" }":"}");e.source&&i.push(" from ",n.call(r,"source"))}var p=S.concat(i);return Vf(p)!==";"&&!(e.declaration&&(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration"||e.declaration.type==="TSModuleDeclaration"||e.declaration.type==="TSInterfaceDeclaration"||e.declaration.type==="TSEnumDeclaration"))&&(p=S.concat([p,";"])),p}function Li(n,t){var r=Ft.getParentExportDeclaration(n);return r?yt.default.strictEqual(r.type,"DeclareExportDeclaration"):t.unshift("declare "),S.concat(t)}function Bi(n,t){return n.call(function(r){var e=r.getValue();return e?e==="plus"?S.fromString("+"):e==="minus"?S.fromString("-"):t(r):S.fromString("")},"variance")}function xr(n,t){return n.length>1?S.concat([" ",n]):S.concat([`
|
|
`,Qs(n).indent(t.tabWidth)])}function Vf(n){var t=n.lastPos();do{var r=n.charAt(t);if(/\S/.test(r))return r}while(n.prevPos(t))}function q0(n){return Vf(n)==="}"}function Hs(n){return n.replace(/['"]/g,function(t){return t==='"'?"'":'"'})}function Ks(n,t){switch(zf.assert(n),t.quote){case"auto":{var r=JSON.stringify(n),e=Hs(JSON.stringify(Hs(n)));return r.length>e.length?e:r}case"single":return Hs(JSON.stringify(Hs(n)));case"double":default:return JSON.stringify(n)}}function Qs(n){var t=Vf(n);return!t||`
|
|
};`.indexOf(t)<0?S.concat([n,";"]):n}});var W0=D(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.run=He.prettyPrint=He.print=He.types=He.parse=void 0;var j0=K(),QP=j0.__importDefault(require("fs")),ZP=j0.__importStar(At());He.types=ZP;var U0=w0();Object.defineProperty(He,"parse",{enumerable:!0,get:function(){return U0.parse}});var z0=R0(),e2=At();Object.defineProperty(He,"visit",{enumerable:!0,get:function(){return e2.visit}});function V0(n,t){return new z0.Printer(t).print(n)}He.print=V0;function t2(n,t){return new z0.Printer(t).printGenerically(n)}He.prettyPrint=t2;function r2(n,t){return n2(process.argv[2],n,t)}He.run=r2;function n2(n,t,r){QP.default.readFile(n,"utf-8",function(e,i){if(e){console.error(e);return}a2(i,t,r)})}function i2(n){process.stdout.write(n)}function a2(n,t,r){var e=r&&r.writeback||i2;t(U0.parse(n,r),function(i){e(V0(i,r).code)})}});var $0=D((mN,Wf)=>{"use strict";var J0=require("path"),{createRequire:X0}=require("module");Wf.exports=(n,t)=>X0(J0.resolve(n,"noop.js"))(t);Wf.exports.silent=(n,t)=>{try{return X0(J0.resolve(n,"noop.js"))(t)}catch{}}});var Y0=D((vN,Jf)=>{"use strict";var G0=require("path"),H0=require("module"),s2=require("fs"),K0=(n,t,r)=>{if(typeof n!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof n}\``);if(typeof t!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``);try{n=s2.realpathSync(n)}catch(a){if(a.code==="ENOENT")n=G0.resolve(n);else{if(r)return null;throw a}}let e=G0.join(n,"noop.js"),i=()=>H0._resolveFilename(t,{id:e,filename:e,paths:H0._nodeModulePaths(n)});if(r)try{return i()}catch{return null}return i()};Jf.exports=(n,t)=>K0(n,t);Jf.exports.silent=(n,t)=>K0(n,t,!0)});var Z0=D((gN,Xf)=>{"use strict";var Q0=()=>{let n=Error.prepareStackTrace;Error.prepareStackTrace=(r,e)=>e;let t=new Error().stack.slice(1);return Error.prepareStackTrace=n,t};Xf.exports=Q0;Xf.exports.default=Q0});var tb=D((yN,eb)=>{"use strict";var o2=Z0();eb.exports=n=>{let t=o2();if(!n)return t[2].getFileName();let r=!1;t.shift();for(let e of t){let i=e.getFileName();if(typeof i=="string"){if(i===n){r=!0;continue}if(i!=="module.js"&&r&&i!==n)return i}}}});var nb=D((bN,rb)=>{"use strict";var l2=require("path"),u2=Y0(),c2=tb();rb.exports=n=>{if(typeof n!="string")throw new TypeError("Expected a string");let t=c2(__filename),r=t?l2.dirname(t):__dirname,e=u2(r,n),i=require.cache[e];if(i&&i.parent){let s=i.parent.children.length;for(;s--;)i.parent.children[s].id===e&&i.parent.children.splice(s,1)}delete require.cache[e];let a=require.cache[t];return a===void 0?require(e):a.require(e)}});var ub=D((Sr,lb)=>{"use strict";var $f=require("crypto");Sr=lb.exports=Ri;function Ri(n,t){return t=sb(n,t),f2(n,t)}Sr.sha1=function(n){return Ri(n)};Sr.keys=function(n){return Ri(n,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})};Sr.MD5=function(n){return Ri(n,{algorithm:"md5",encoding:"hex"})};Sr.keysMD5=function(n){return Ri(n,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var un=$f.getHashes?$f.getHashes().slice():["sha1","md5"];un.push("passthrough");var ib=["buffer","hex","binary","base64"];function sb(n,t){t=t||{};var r={};if(r.algorithm=t.algorithm||"sha1",r.encoding=t.encoding||"hex",r.excludeValues=!!t.excludeValues,r.algorithm=r.algorithm.toLowerCase(),r.encoding=r.encoding.toLowerCase(),r.ignoreUnknown=t.ignoreUnknown===!0,r.respectType=t.respectType!==!1,r.respectFunctionNames=t.respectFunctionNames!==!1,r.respectFunctionProperties=t.respectFunctionProperties!==!1,r.unorderedArrays=t.unorderedArrays===!0,r.unorderedSets=t.unorderedSets!==!1,r.unorderedObjects=t.unorderedObjects!==!1,r.replacer=t.replacer||void 0,r.excludeKeys=t.excludeKeys||void 0,typeof n>"u")throw new Error("Object argument required.");for(var e=0;e<un.length;++e)un[e].toLowerCase()===r.algorithm.toLowerCase()&&(r.algorithm=un[e]);if(un.indexOf(r.algorithm)===-1)throw new Error('Algorithm "'+r.algorithm+'" not supported. supported values: '+un.join(", "));if(ib.indexOf(r.encoding)===-1&&r.algorithm!=="passthrough")throw new Error('Encoding "'+r.encoding+'" not supported. supported values: '+ib.join(", "));return r}function ab(n){if(typeof n!="function")return!1;var t=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return t.exec(Function.prototype.toString.call(n))!=null}function f2(n,t){var r;t.algorithm!=="passthrough"?r=$f.createHash(t.algorithm):r=new ob,typeof r.write>"u"&&(r.write=r.update,r.end=r.update);var e=Gf(t,r);if(e.dispatch(n),r.update||r.end(""),r.digest)return r.digest(t.encoding==="buffer"?void 0:t.encoding);var i=r.read();return t.encoding==="buffer"?i:i.toString(t.encoding)}Sr.writeToStream=function(n,t,r){return typeof r>"u"&&(r=t,t={}),t=sb(n,t),Gf(t,r).dispatch(n)};function Gf(n,t,r){r=r||[];var e=function(i){return t.update?t.update(i,"utf8"):t.write(i,"utf8")};return{dispatch:function(i){n.replacer&&(i=n.replacer(i));var a=typeof i;return i===null&&(a="null"),this["_"+a](i)},_object:function(i){var a=/\[object (.*)\]/i,s=Object.prototype.toString.call(i),l=a.exec(s);l?l=l[1]:l="unknown:["+s+"]",l=l.toLowerCase();var c=null;if((c=r.indexOf(i))>=0)return this.dispatch("[CIRCULAR:"+c+"]");if(r.push(i),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(i))return e("buffer:"),e(i);if(l!=="object"&&l!=="function"&&l!=="asyncfunction")if(this["_"+l])this["_"+l](i);else{if(n.ignoreUnknown)return e("["+l+"]");throw new Error('Unknown object type "'+l+'"')}else{var p=Object.keys(i);n.unorderedObjects&&(p=p.sort()),n.respectType!==!1&&!ab(i)&&p.splice(0,0,"prototype","__proto__","constructor"),n.excludeKeys&&(p=p.filter(function(v){return!n.excludeKeys(v)})),e("object:"+p.length+":");var f=this;return p.forEach(function(v){f.dispatch(v),e(":"),n.excludeValues||f.dispatch(i[v]),e(",")})}},_array:function(i,a){a=typeof a<"u"?a:n.unorderedArrays!==!1;var s=this;if(e("array:"+i.length+":"),!a||i.length<=1)return i.forEach(function(p){return s.dispatch(p)});var l=[],c=i.map(function(p){var f=new ob,v=r.slice(),m=Gf(n,f,v);return m.dispatch(p),l=l.concat(v.slice(r.length)),f.read().toString()});return r=r.concat(l),c.sort(),this._array(c,!1)},_date:function(i){return e("date:"+i.toJSON())},_symbol:function(i){return e("symbol:"+i.toString())},_error:function(i){return e("error:"+i.toString())},_boolean:function(i){return e("bool:"+i.toString())},_string:function(i){e("string:"+i.length+":"),e(i.toString())},_function:function(i){e("fn:"),ab(i)?this.dispatch("[native]"):this.dispatch(i.toString()),n.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(i.name)),n.respectFunctionProperties&&this._object(i)},_number:function(i){return e("number:"+i.toString())},_xml:function(i){return e("xml:"+i.toString())},_null:function(){return e("Null")},_undefined:function(){return e("Undefined")},_regexp:function(i){return e("regex:"+i.toString())},_uint8array:function(i){return e("uint8array:"),this.dispatch(Array.prototype.slice.call(i))},_uint8clampedarray:function(i){return e("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(i))},_int8array:function(i){return e("uint8array:"),this.dispatch(Array.prototype.slice.call(i))},_uint16array:function(i){return e("uint16array:"),this.dispatch(Array.prototype.slice.call(i))},_int16array:function(i){return e("uint16array:"),this.dispatch(Array.prototype.slice.call(i))},_uint32array:function(i){return e("uint32array:"),this.dispatch(Array.prototype.slice.call(i))},_int32array:function(i){return e("uint32array:"),this.dispatch(Array.prototype.slice.call(i))},_float32array:function(i){return e("float32array:"),this.dispatch(Array.prototype.slice.call(i))},_float64array:function(i){return e("float64array:"),this.dispatch(Array.prototype.slice.call(i))},_arraybuffer:function(i){return e("arraybuffer:"),this.dispatch(new Uint8Array(i))},_url:function(i){return e("url:"+i.toString(),"utf8")},_map:function(i){e("map:");var a=Array.from(i);return this._array(a,n.unorderedSets!==!1)},_set:function(i){e("set:");var a=Array.from(i);return this._array(a,n.unorderedSets!==!1)},_file:function(i){return e("file:"),this.dispatch([i.name,i.size,i.type,i.lastModfied])},_blob:function(){if(n.ignoreUnknown)return e("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
`)},_domwindow:function(){return e("domwindow")},_bigint:function(i){return e("bigint:"+i.toString())},_process:function(){return e("process")},_timer:function(){return e("timer")},_pipe:function(){return e("pipe")},_tcp:function(){return e("tcp")},_udp:function(){return e("udp")},_tty:function(){return e("tty")},_statwatcher:function(){return e("statwatcher")},_securecontext:function(){return e("securecontext")},_connection:function(){return e("connection")},_zlib:function(){return e("zlib")},_context:function(){return e("context")},_nodescript:function(){return e("nodescript")},_httpparser:function(){return e("httpparser")},_dataview:function(){return e("dataview")},_signal:function(){return e("signal")},_fsevent:function(){return e("fsevent")},_tlswrap:function(){return e("tlswrap")}}}function ob(){return{buf:"",write:function(n){this.buf+=n},end:function(n){this.buf+=n},read:function(){return this.buf}}}});var Hf=D((xN,cb)=>{var d2={}.toString;cb.exports=Array.isArray||function(n){return d2.call(n)=="[object Array]"}});var db=D((SN,fb)=>{"use strict";var p2=Hf();fb.exports=function(t){return t!=null&&typeof t=="object"&&p2(t)===!1}});var hb=D((EN,pb)=>{"use strict";var h2=Hf(),m2=db(),wN=Array.prototype.slice;pb.exports=cn;function cn(n,t){if(!(this instanceof cn))return typeof t=="number"?new cn(n).fromIndex(t):new cn(n,t);this.str=n||"",this.lineToIndex=v2(this.str),t=t||{},this.origin=typeof t.origin>"u"?1:t.origin}cn.prototype.fromIndex=function(n){if(n<0||n>=this.str.length||isNaN(n))return null;var t=g2(n,this.lineToIndex);return{line:t+this.origin,col:n-this.lineToIndex[t]+this.origin}};cn.prototype.toIndex=function(n,t){if(typeof t>"u")return h2(n)&&n.length>=2?this.toIndex(n[0],n[1]):m2(n)&&"line"in n&&("col"in n||"column"in n)?this.toIndex(n.line,"col"in n?n.col:n.column):-1;if(isNaN(n)||isNaN(t))return-1;if(n-=this.origin,t-=this.origin,n>=0&&t>=0&&n<this.lineToIndex.length){var r=this.lineToIndex[n],e=n===this.lineToIndex.length-1?this.str.length:this.lineToIndex[n+1];if(t<e-r)return r+t}return-1};function v2(n){for(var t=n.split(`
|
|
`),r=new Array(t.length),e=0,i=0,a=t.length;i<a;i++)r[i]=e,e+=t[i].length+1;return r}function g2(n,t){if(n>=t[t.length-1])return t.length-1;for(var r=0,e=t.length-2,i;r<e;)if(i=r+(e-r>>1),n<t[i])e=i-1;else if(n>=t[i+1])r=i+1;else{r=i;break}return r}});var yb=D((DN,gb)=>{"use strict";var mb={},y2=mb.hasOwnProperty,vb=(n,t)=>{for(let r in n)y2.call(n,r)&&t(r,n[r])},b2=(n,t)=>(t&&vb(t,(r,e)=>{n[r]=e}),n),x2=(n,t)=>{let r=n.length,e=-1;for(;++e<r;)t(n[e])},ji=mb.toString,S2=Array.isArray,w2=Buffer.isBuffer,E2=n=>ji.call(n)=="[object Object]",D2=n=>typeof n=="string"||ji.call(n)=="[object String]",C2=n=>typeof n=="number"||ji.call(n)=="[object Number]",A2=n=>typeof n=="function",_2=n=>ji.call(n)=="[object Map]",T2=n=>ji.call(n)=="[object Set]",k2={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},F2=/["'\\\b\f\n\r\t]/,O2=/[0-9]/,P2=/[ !#-&\(-\[\]-_a-~]/,Zt=(n,t)=>{let r=()=>{p=c,++t.indentLevel,c=t.indent.repeat(t.indentLevel)},e={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},i=t&&t.json;i&&(e.quotes="double",e.wrap=!0),t=b2(e,t),t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"&&(t.quotes="single");let a=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'",s=t.compact,l=t.lowercaseHex,c=t.indent.repeat(t.indentLevel),p="",f=t.__inline1__,v=t.__inline2__,m=s?"":`
|
|
`,o,u=!0,d=t.numbers=="binary",h=t.numbers=="octal",g=t.numbers=="decimal",y=t.numbers=="hexadecimal";if(i&&n&&A2(n.toJSON)&&(n=n.toJSON()),!D2(n)){if(_2(n))return n.size==0?"new Map()":(s||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+Zt(Array.from(n),t)+")");if(T2(n))return n.size==0?"new Set()":"new Set("+Zt(Array.from(n),t)+")";if(w2(n))return n.length==0?"Buffer.from([])":"Buffer.from("+Zt(Array.from(n),t)+")";if(S2(n))return o=[],t.wrap=!0,f&&(t.__inline1__=!1,t.__inline2__=!0),v||r(),x2(n,E=>{u=!1,v&&(t.__inline2__=!1),o.push((s||v?"":c)+Zt(E,t))}),u?"[]":v?"["+o.join(", ")+"]":"["+m+o.join(","+m)+m+(s?"":p)+"]";if(C2(n)){if(i)return JSON.stringify(n);if(g)return String(n);if(y){let E=n.toString(16);return l||(E=E.toUpperCase()),"0x"+E}if(d)return"0b"+n.toString(2);if(h)return"0o"+n.toString(8)}else return E2(n)?(o=[],t.wrap=!0,r(),vb(n,(E,C)=>{u=!1,o.push((s?"":c)+Zt(E,t)+":"+(s?"":" ")+Zt(C,t))}),u?"{}":"{"+m+o.join(","+m)+m+(s?"":p)+"}"):i?JSON.stringify(n)||"null":String(n)}let b=n,x=-1,w=b.length;for(o="";++x<w;){let E=b.charAt(x);if(t.es6){let W=b.charCodeAt(x);if(W>=55296&&W<=56319&&w>x+1){let G=b.charCodeAt(x+1);if(G>=56320&&G<=57343){let de=((W-55296)*1024+G-56320+65536).toString(16);l||(de=de.toUpperCase()),o+="\\u{"+de+"}",++x;continue}}}if(!t.escapeEverything){if(P2.test(E)){o+=E;continue}if(E=='"'){o+=a==E?'\\"':E;continue}if(E=="`"){o+=a==E?"\\`":E;continue}if(E=="'"){o+=a==E?"\\'":E;continue}}if(E=="\0"&&!i&&!O2.test(b.charAt(x+1))){o+="\\0";continue}if(F2.test(E)){o+=k2[E];continue}let C=E.charCodeAt(0);if(t.minimal&&C!=8232&&C!=8233){o+=E;continue}let T=C.toString(16);l||(T=T.toUpperCase());let M=T.length>2||i;o+="\\"+(M?"u":"x")+("0000"+T).slice(M?-4:-2)}return t.wrap&&(o=a+o+a),a=="`"&&(o=o.replace(/\$\{/g,"\\${")),t.isScriptContext?o.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,i?"\\u003C!--":"\\x3C!--"):o};Zt.version="2.5.2";gb.exports=Zt});var U2={};Zb(U2,{options:()=>B2,parsers:()=>q2,printers:()=>qb});module.exports=ex(U2);var Zf=ye(require("prettier")),Ui=ye(require("prettier/parser-html")),Eb=ye(require("prettier/parser-angular")),io=ye(require("prettier/parser-postcss")),pn=ye(require("prettier/parser-babel")),Db=ye(require("prettier/parser-espree")),Cb=ye(require("prettier/parser-glimmer")),Ab=ye(require("prettier/parser-meriyah")),_b=ye(require("prettier/parser-flow")),Tb=ye(require("prettier/parser-typescript")),kb=ye(ac()),Fb=ye(ic()),Ob=ye(Ag()),lo=ye(W0()),Pb=ye(At()),hn=ye(require("path")),ao=ye($0()),Yf=ye(nb()),Mb=ye(ub()),Ib=ye(hb()),Nb=ye(yb());var fn=require("path"),ro=require("fs");function bb(n,t){let r=(0,fn.resolve)(".",n),e;for((0,ro.statSync)(r).isDirectory()||(r=(0,fn.dirname)(r));;){if(e=t(r,(0,ro.readdirSync)(r)),e)return(0,fn.resolve)(r,e);if(r=(0,fn.dirname)(e=r),e===r)break}}var lt=j2(),xb=new Map;function Lb(n){return(n>0n)-(n<0n)}function Sb(n,t){let r=n.tailwindConfig.prefix;return typeof r=="function"?r(t):r+t}function M2(n,{env:t}){var i,a;let r=new Set([Sb(t.context,"group"),Sb(t.context,"peer")]),e=[];for(let s of n){let l=(a=(i=t.generateRules(new Set([s]),t.context).sort(([c],[p])=>Lb(p-c))[0])==null?void 0:i[0])!=null?a:null;l===null&&r.has(s)&&(l=t.context.layerOrder.components),e.push([s,l])}return e}function Ne(n,{env:t,ignoreFirst:r=!1,ignoreLast:e=!1}){var f,v,m,o,u;if(typeof n!="string"||n===""||n.includes("{{"))return n;let i="",a=n.split(/(\s+)/),s=a.filter((d,h)=>h%2===0),l=a.filter((d,h)=>h%2!==0);s[s.length-1]===""&&s.pop();let c="";r&&(c=`${(f=s.shift())!=null?f:""}${(v=l.shift())!=null?v:""}`);let p="";e&&(p=`${(m=l.pop())!=null?m:""}${(o=s.pop())!=null?o:""}`),s=Bb(s,{env:t});for(let d=0;d<s.length;d++)i+=`${s[d]}${(u=l[d])!=null?u:""}`;return c+i+p}function Bb(n,{env:t}){return(t.context.getClassOrder?t.context.getClassOrder(n):M2(n,{env:t})).sort(([,e],[,i])=>e===i?0:e===null?-1:i===null?1:Lb(e-i)).map(([e])=>e)}function ve(n,t){return{...lt.parsers[n],preprocess(r,e){let i=wb(n,e);return i.preprocess?i.preprocess(r,e):r},parse(r,e,i={}){let a=wb(n,i);a.astFormat==="svelte-ast"&&(i.printer=qb["svelte-ast"]);let s=a.parse(r,e,i),l="__default__",c={},p=Ob.default,f=kb.createContext,v=Fb.generateRules,m,o=Zf.default.resolveConfigFile.sync(i.filepath);if(i.tailwindConfig)m=o?hn.dirname(o):process.cwd(),l=hn.resolve(m,i.tailwindConfig),c=(0,Yf.default)(l);else{m=o?hn.dirname(o):i.filepath?hn.dirname(i.filepath):process.cwd();let g;try{g=bb(m,(y,b)=>{if(b.includes("tailwind.config.js"))return"tailwind.config.js";if(b.includes("tailwind.config.cjs"))return"tailwind.config.cjs"})}catch{}g&&(l=g,c=(0,Yf.default)(g))}try{p=(0,ao.default)(m,"tailwindcss/resolveConfig"),f=(0,ao.default)(m,"tailwindcss/lib/lib/setupContextUtils").createContext,v=(0,ao.default)(m,"tailwindcss/lib/lib/generateRules").generateRules}catch{}c.content=["no-op"];let u,d=xb.get(l),h=(0,Mb.default)(c);return d&&d.hash===h?u=d.context:(u=f(p(c)),xb.set(l,{context:u,hash:h})),t(s,{env:{context:u,generateRules:v,parsers:e,options:i}}),s}}}function I2(n,t){let r=[Eb.default.parsers.__ng_directive,{parse:t.parsers.__js_expression}],e=[];for(let i of r)try{return i.parse(n,t.parsers,t.options)}catch(a){e.push(a)}console.warn("prettier-plugin-tailwindcss: Unable to parse angular directive"),e.forEach(i=>console.warn(i))}function no(n,t=[],r="js"){let e=(i,{env:a})=>{var s,l;for(let c of(s=i.attrs)!=null?s:[])if(n.includes(c.name))c.value=Ne(c.value,{env:a});else if(t.includes(c.name)){if(!/[`'"]/.test(c.value))continue;if(r==="angular"){let v=I2(c.value,a);if(!v)continue;wr(v,{StringLiteral(m){!m.value||(c.value=c.value.slice(0,m.start+1)+Ne(m.value,{env:a})+c.value.slice(m.end-1))}});continue}let p=lo.parse(`let __prettier_temp__ = ${c.value}`,{parser:pn.default.parsers["babel-ts"]}),f=!1;Pb.visit(p,{visitLiteral(v){if(oo(v.node)&&so(v.node,{env:a})){f=!0;let m=v.node.extra.raw[0],o=(0,Nb.default)(v.node.value,{quotes:m==="'"?"single":"double"});v.node.value=new String(m+o+m)}this.traverse(v)},visitTemplateLiteral(v){ed(v.node,{env:a})&&(f=!0),this.traverse(v)}}),f&&(c.value=lo.print(p.program.body[0].declarations[0].init).code)}for(let c of(l=i.children)!=null?l:[])e(c,{env:a})};return e}function N2(n,{env:t}){wr(n,{AttrNode(r,e,i,a,s){["class"].includes(r.name)&&r.value&&(s.sortTextNodes=!0)},TextNode(r,e,i,a,s){if(!s.sortTextNodes)return;let l=(e==null?void 0:e.type)==="ConcatStatement"?{prev:e.parts[a-1],next:e.parts[a+1]}:null;r.chars=Ne(r.chars,{env:t,ignoreFirst:(l==null?void 0:l.prev)&&!/^\s/.test(r.chars),ignoreLast:(l==null?void 0:l.next)&&!/\s$/.test(r.chars)})},StringLiteral(r,e,i,a,s){!s.sortTextNodes||(r.value=Ne(r.value,{env:t}))}})}function L2(n,{env:t}){function r(e){return Array.isArray(e.name)?e.name.every(i=>i.type==="TextNode"&&i.value==="class"):e.name==="class"}wr(n,{AttrSingleQuoted(e,i,a,s,l){!r(e)||(l.sortTextNodes=!0,l.sourceNode=e)},AttrDoubleQuoted(e,i,a,s,l){!r(e)||(l.sortTextNodes=!0,l.sourceNode=e)},TextNode(e,i,a,s,l){!l.sortTextNodes||(e.value=Ne(e.value,{env:t}),e.source=e.source.slice(0,e.position.start)+e.value+e.source.slice(e.position.end),l.sourceNode.source=e.source)},String(e,i,a,s,l){!l.sortTextNodes||(e.value=Ne(e.value,{env:t}),e.source=e.source.slice(0,e.position.start+1)+e.value+e.source.slice(e.position.end-1),l.sourceNode.source=e.source)}})}function so(n,{env:t}){let r=Ne(n.value,{env:t}),e=r!==n.value;if(n.value=r,n.extra){let i=n.extra.raw;n.extra={...n.extra,rawValue:r,raw:i[0]+r+i.slice(-1)}}else{let i=n.raw;n.raw=i[0]+r+i.slice(-1)}return e}function oo(n){return n.type==="StringLiteral"||n.type==="Literal"&&typeof n.value=="string"}function ed(n,{env:t}){let r=!1;for(let e=0;e<n.quasis.length;e++){let i=n.quasis[e],a=i.value.raw===i.value.cooked,s=i.value.raw,l=i.value.cooked;i.value.raw=Ne(i.value.raw,{env:t,ignoreFirst:e>0&&!/^\s/.test(i.value.raw),ignoreLast:e<n.expressions.length&&!/\s$/.test(i.value.raw)}),i.value.cooked=a?i.value.raw:Ne(i.value.cooked,{env:t,ignoreFirst:e>0&&!/^\s/.test(i.value.cooked),ignoreLast:e<n.expressions.length&&!/\s$/.test(i.value.cooked)}),(i.value.raw!==s||i.value.cooked!==l)&&(r=!0)}return r}function er(n,{env:t}){wr(n,{JSXAttribute(r){!r.value||["class","className"].includes(r.name.name)&&(oo(r.value)?so(r.value,{env:t}):r.value.type==="JSXExpressionContainer"&&wr(r.value,(e,i,a)=>{oo(e)?so(e,{env:t}):e.type==="TemplateLiteral"&&ed(e,{env:t})}))}})}function Kf(n,{env:t}){n.walk(r=>{r.type==="css-atrule"&&r.name==="apply"&&(r.params=Ne(r.params,{env:t,ignoreLast:/\s+(?:!important|#{!important})\s*$/.test(r.params)}))})}var B2={tailwindConfig:{type:"string",category:"Tailwind CSS",description:"TODO"}},qb={...lt.printers["svelte-ast"]?{"svelte-ast":{...lt.printers["svelte-ast"],print:(n,t,r)=>{if(!t.__mutatedOriginalText){t.__mutatedOriginalText=!0;let e=n.stack[0].changes;if(e!=null&&e.length){let i=(0,Ib.default)(t.originalText);for(let a of e){let s=i.toIndex(a.loc.start.line,a.loc.start.column+1),l=i.toIndex(a.loc.end.line,a.loc.end.column+1);t.originalText=t.originalText.substring(0,s)+a.text+t.originalText.substring(l)}}}return lt.printers["svelte-ast"].print(n,t,r)}}}:{}},q2={html:ve("html",no(["class"])),glimmer:ve("glimmer",N2),lwc:ve("lwc",no(["class"])),angular:ve("angular",no(["class"],["[ngClass]"],"angular")),vue:ve("vue",no(["class"],[":class"])),css:ve("css",Kf),scss:ve("scss",Kf),less:ve("less",Kf),babel:ve("babel",er),"babel-flow":ve("babel-flow",er),flow:ve("flow",er),typescript:ve("typescript",er),"babel-ts":ve("babel-ts",er),espree:ve("espree",er),meriyah:ve("meriyah",er),__js_expression:ve("__js_expression",er),...lt.parsers.svelte?{svelte:ve("svelte",(n,{env:t})=>{let r=[];Qf(n.html,{env:t,changes:r}),n.changes=r})}:{},...lt.parsers.astro?{astro:ve("astro",Rb)}:{},...lt.parsers.php?{php:ve("php",jb)}:{},...lt.parsers.melody?{melody:ve("melody",Ub)}:{},...lt.parsers.pug?{pug:ve("pug",R2)}:{},...lt.parsers["liquid-html"]?{"liquid-html":ve("liquid-html",L2)}:{}};function Rb(n,{env:t,changes:r}){var e,i;if(n.type==="element")for(let a of(e=n.attributes)!=null?e:[])a.name==="class"&&a.type==="attribute"&&a.kind==="quoted"&&(a.value=Ne(a.value,{env:t}));for(let a of(i=n.children)!=null?i:[])Rb(a,{env:t,changes:r})}function jb(n,{env:t,changes:r}){var e;if(n.kind==="inline"){let i=n.raw.match(/^\s*/)[0],a=n.raw.match(/\s*$/)[0];if(n.raw===i)return;let s=Zf.default.format(n.raw,{...t.options,parser:"html"}),l=`${i}${s.trimEnd()}${a}`;n.raw=l,n.value=l}for(let i of(e=n.children)!=null?e:[])jb(i,{env:t,changes:r})}function Ub(n,{env:t,changes:r}){var e;for(let i of(e=n.expressions)!=null?e:[])Ub(i,{env:t});wr(n,{Attribute(i,a,s,l,c){i.name.name==="class"&&(c.sortTextNodes=!0)},StringLiteral(i,a,s,l,c){!c.sortTextNodes||(i.value=Ne(i.value,{env:t}))}})}function R2(n,{env:t}){for(let a of n.tokens)a.type==="attribute"&&a.name==="class"&&(a.val=[a.val.slice(0,1),Ne(a.val.slice(1,-1),{env:t}),a.val.slice(-1)].join(""));let r=-1,e=-1,i=[];for(let a=0;a<n.tokens.length;a++)n.tokens[a].type==="class"?(r=r===-1?a:r,e=a):r!==-1&&(i.push([r,e]),r=-1,e=-1);r!==-1&&(i.push([r,e]),r=-1,e=-1);for(let[a,s]of i){let l=n.tokens.slice(a,s+1).map(p=>p.val),c=Bb(l,{env:t});for(let p=a;p<=s;p++)n.tokens[p].val=c[p-a]}}function Qf(n,{env:t,changes:r}){var e,i,a,s;for(let l of(e=n.attributes)!=null?e:[])if(l.name==="class"&&l.type==="Attribute")for(let c=0;c<l.value.length;c++){let p=l.value[c];if(p.type==="Text"){let f=p.raw===p.data;p.raw=Ne(p.raw,{env:t,ignoreFirst:c>0&&!/^\s/.test(p.raw),ignoreLast:c<l.value.length-1&&!/\s$/.test(p.raw)}),p.data=f?p.raw:Ne(p.data,{env:t,ignoreFirst:c>0&&!/^\s/.test(p.data),ignoreLast:c<l.value.length-1&&!/\s$/.test(p.data)})}else p.type==="MustacheTag"&&wr(p.expression,{Literal(f){oo(f)&&so(f,{env:t})&&r.push({text:f.raw,loc:f.loc})},TemplateLiteral(f){if(ed(f,{env:t}))for(let v of f.quasis)r.push({text:v.value.raw,loc:v.loc})}})}for(let l of(i=n.children)!=null?i:[])Qf(l,{env:t,changes:r});if(n.type==="IfBlock")for(let l of(s=(a=n.else)==null?void 0:a.children)!=null?s:[])Qf(l,{env:t,changes:r})}function wr(n,t){function r(e,i,a,s,l={}){if(typeof t=="function"){if(t(e,i,a,s,l)===!1)return}else if(e.type in t&&t[e.type](e,i,a,s,l)===!1)return;let c=Object.keys(e);for(let p=0;p<c.length;p++){let f=e[c[p]];if(Array.isArray(f))for(let v=0;v<f.length;v++)f[v]!==null&&r(f[v],e,c[p],v,{...l});else typeof(f==null?void 0:f.type)=="string"&&r(f,e,c[p],p,{...l})}}r(n)}function dn(n){try{if(require.resolve(n))return require(n)}catch{return null}}function j2(){var s,l,c,p,f,v;let n=dn("prettier-plugin-astro"),t=dn("prettier-plugin-svelte"),r=dn("@prettier/plugin-php"),e=dn("prettier-plugin-twig-melody"),i=dn("@prettier/plugin-pug"),a=dn("@shopify/prettier-plugin-liquid");return{parsers:{html:Ui.default.parsers.html,glimmer:Cb.default.parsers.glimmer,lwc:Ui.default.parsers.lwc,angular:Ui.default.parsers.angular,vue:Ui.default.parsers.vue,css:io.default.parsers.css,scss:io.default.parsers.scss,less:io.default.parsers.less,babel:pn.default.parsers.babel,"babel-flow":pn.default.parsers["babel-flow"],flow:_b.default.parsers.flow,typescript:Tb.default.parsers.typescript,"babel-ts":pn.default.parsers["babel-ts"],espree:Db.default.parsers.espree,meriyah:Ab.default.parsers.meriyah,__js_expression:pn.default.parsers.__js_expression,...(s=t==null?void 0:t.parsers)!=null?s:{},...(l=n==null?void 0:n.parsers)!=null?l:{},...(c=r==null?void 0:r.parsers)!=null?c:{},...(p=e==null?void 0:e.parsers)!=null?p:{},...(f=i==null?void 0:i.parsers)!=null?f:{},...(v=a==null?void 0:a.parsers)!=null?v:{}},printers:{...t?{"svelte-ast":t.printers["svelte-ast"]}:{}}}}function wb(n,t){if(!t.plugins)return lt.parsers[n];let r={...lt.parsers[n]},e=["@trivago/prettier-plugin-sort-imports","prettier-plugin-organize-imports","@prettier/plugin-php","@prettier/plugin-pug","@shopify/prettier-plugin-liquid","@shufo/prettier-plugin-blade","prettier-plugin-css-order","prettier-plugin-import-sort","prettier-plugin-jsdoc","prettier-plugin-organize-attributes","prettier-plugin-style-order","prettier-plugin-twig-melody"];for(let i of e){let a=null;try{a=require.resolve(i)}catch{continue}let s=t.plugins.find(l=>l.name===i||l.name===a);!s||Object.assign(r,s.parsers[n])}return r}0&&(module.exports={options,parsers,printers});
|
|
/*!
|
|
* isobject <https://github.com/jonschlinkert/isobject>
|
|
*
|
|
* Copyright (c) 2014-2015, Jon Schlinkert.
|
|
* Licensed under the MIT License.
|
|
*/
|
|
/*! https://mths.be/cssesc v3.0.0 by @mathias */
|
|
/**
|
|
* line-column - Convert efficiently index to/from line-column in a string
|
|
* @module lineColumn
|
|
* @license MIT
|
|
*/
|