@trustme24/flext 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +625 -19
- package/dist/index.d.ts +1 -0
- package/dist/index.js +413 -13
- package/dist/lib.d.ts +4 -0
- package/package.json +16 -14
package/dist/index.cjs
CHANGED
|
@@ -1,17 +1,571 @@
|
|
|
1
|
-
"use strict";var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Wt=m(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.PotentialLoopError=j.BaseWarning=j.BaseThrowable=j.BaseError=void 0;function fe(t){"@babel/helpers - typeof";return fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fe(t)}function $r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,en(n.key),n)}}function ze(t,e,r){return e&&$r(t.prototype,e),r&&$r(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Je(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qe(t,e,r){return e=Ie(e),Oo(t,Vt()?Reflect.construct(e,r||[],Ie(t).constructor):e.apply(t,r))}function Oo(t,e){if(e&&(fe(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ao(t)}function Ao(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ye(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xe(t,e)}function jt(t){var e=typeof Map=="function"?new Map:void 0;return jt=function(n){if(n===null||!xo(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return Mo(n,arguments,Ie(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),xe(i,n)},jt(t)}function Mo(t,e,r){if(Vt())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var i=new(t.bind.apply(t,n));return r&&xe(i,r.prototype),i}function Vt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Vt=function(){return!!t})()}function xo(t){try{return Function.toString.call(t).indexOf("[native code]")!==-1}catch{return typeof t=="function"}}function xe(t,e){return xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},xe(t,e)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ie(t)}function Ze(t,e,r){return(e=en(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function en(t){var e=Io(t,"string");return fe(e)=="symbol"?e:e+""}function Io(t,e){if(fe(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(fe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Ut=j.BaseThrowable=function(t){function e(r){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Je(this,e),n=Qe(this,e,[r]),Ze(n,"name","BaseThrowable"),i&&(n.stack=i),n}return Ye(e,t),ze(e)}(jt(Error)),yl=j.BaseError=function(t){function e(){var r;Je(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=Qe(this,e,[].concat(i)),Ze(r,"name","BaseError"),r}return Ye(e,t),ze(e)}(Ut),_l=j.BaseWarning=function(t){function e(){var r;Je(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=Qe(this,e,[].concat(i)),Ze(r,"name","BaseWarning"),r}return Ye(e,t),ze(e)}(Ut),bl=j.PotentialLoopError=function(t){function e(){var r;Je(this,e);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=Qe(this,e,[].concat(i)),Ze(r,"name","PotentialLoopError"),r}return Ye(e,t),ze(e)}(Ut)});var x=m(N=>{"use strict";function Gt(t){"@babel/helpers - typeof";return Gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gt(t)}N.__esModule=!0;N.extend=tn;N.indexOf=Bo;N.escapeExpression=qo;N.isEmpty=Ho;N.createFrame=Fo;N.blockParams=jo;N.appendContextPath=Vo;var No={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},Ro=/[&<>"'`=]/g,Do=/[&<>"'`=]/;function To(t){return No[t]}function tn(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}var zt=Object.prototype.toString;N.toString=zt;var Kt=function(e){return typeof e=="function"};Kt(/x/)&&(N.isFunction=Kt=function(e){return typeof e=="function"&&zt.call(e)==="[object Function]"});N.isFunction=Kt;var rn=Array.isArray||function(t){return t&&Gt(t)==="object"?zt.call(t)==="[object Array]":!1};N.isArray=rn;function Bo(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function qo(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return Do.test(t)?t.replace(Ro,To):t}function Ho(t){return!t&&t!==0?!0:!!(rn(t)&&t.length===0)}function Fo(t){var e=tn({},t);return e._parent=t,e}function jo(t,e){return t.path=e,t}function Vo(t,e){return(t?t+".":"")+e}});var B=m((Xe,nn)=>{"use strict";Xe.__esModule=!0;var Jt=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Qt(t,e){var r=e&&e.loc,n=void 0,i=void 0,o=void 0,a=void 0;r&&(n=r.start.line,i=r.end.line,o=r.start.column,a=r.end.column,t+=" - "+n+":"+o);for(var u=Error.prototype.constructor.call(this,t),l=0;l<Jt.length;l++)this[Jt[l]]=u[Jt[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Qt);try{r&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=o,this.endColumn=a))}catch{}}Qt.prototype=new Error;Xe.default=Qt;nn.exports=Xe.default});var an=m(($e,on)=>{"use strict";$e.__esModule=!0;var Yt=x();$e.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,i=r.fn;if(e===!0)return i(this);if(e===!1||e==null)return n(this);if(Yt.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var o=Yt.createFrame(r.data);o.contextPath=Yt.appendContextPath(r.data.contextPath,r.name),r={data:o}}return i(e,r)})};on.exports=$e.default});var un=m((et,sn)=>{"use strict";function Zt(t){"@babel/helpers - typeof";return Zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zt(t)}et.__esModule=!0;function Uo(t){return t&&t.__esModule?t:{default:t}}var Ne=x(),Wo=B(),Go=Uo(Wo);et.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new Go.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,o=0,a="",u=void 0,l=void 0;r.data&&r.ids&&(l=Ne.appendContextPath(r.data.contextPath,r.ids[0])+"."),Ne.isFunction(e)&&(e=e.call(this)),r.data&&(u=Ne.createFrame(r.data));function s(v,y,_){u&&(u.key=v,u.index=y,u.first=y===0,u.last=!!_,l&&(u.contextPath=l+v)),a=a+n(e[v],{data:u,blockParams:Ne.blockParams([e[v],v],[l+v,null])})}if(e&&Zt(e)==="object")if(Ne.isArray(e))for(var h=e.length;o<h;o++)o in e&&s(o,o,o===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var c=[],p=e[Symbol.iterator](),f=p.next();!f.done;f=p.next())c.push(f.value);e=c;for(var h=e.length;o<h;o++)s(o,o,o===e.length-1)}else(function(){var v=void 0;Object.keys(e).forEach(function(y){v!==void 0&&s(v,o-1),v=y,o++}),v!==void 0&&s(v,o-1,!0)})();return o===0&&(a=i(this)),a})};sn.exports=et.default});var cn=m((tt,ln)=>{"use strict";tt.__esModule=!0;function Ko(t){return t&&t.__esModule?t:{default:t}}var zo=B(),Jo=Ko(zo);tt.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Jo.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};ln.exports=tt.default});var dn=m((rt,fn)=>{"use strict";rt.__esModule=!0;function Qo(t){return t&&t.__esModule?t:{default:t}}var hn=x(),Yo=B(),pn=Qo(Yo);rt.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new pn.default("#if requires exactly one argument");return hn.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||hn.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new pn.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};fn.exports=rt.default});var mn=m((nt,gn)=>{"use strict";nt.__esModule=!0;nt.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var i=1;r.hash.level!=null?i=r.hash.level:r.data&&r.data.level!=null&&(i=r.data.level),e[0]=i,t.log.apply(t,e)})};gn.exports=nt.default});var yn=m((it,vn)=>{"use strict";it.__esModule=!0;it.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};vn.exports=it.default});var bn=m((ot,_n)=>{"use strict";ot.__esModule=!0;function Zo(t){return t&&t.__esModule?t:{default:t}}var Re=x(),Xo=B(),$o=Zo(Xo);ot.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new $o.default("#with requires exactly one argument");Re.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Re.isEmpty(e))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=Re.createFrame(r.data),i.contextPath=Re.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:i,blockParams:Re.blockParams([e],[i&&i.contextPath])})})};_n.exports=ot.default});var Xt=m(at=>{"use strict";at.__esModule=!0;at.registerDefaultHelpers=da;at.moveHelperToHooks=ga;function re(t){return t&&t.__esModule?t:{default:t}}var ea=an(),ta=re(ea),ra=un(),na=re(ra),ia=cn(),oa=re(ia),aa=dn(),sa=re(aa),ua=mn(),la=re(ua),ca=yn(),ha=re(ca),pa=bn(),fa=re(pa);function da(t){ta.default(t),na.default(t),oa.default(t),sa.default(t),la.default(t),ha.default(t),fa.default(t)}function ga(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||delete t.helpers[e])}});var Pn=m((st,Sn)=>{"use strict";st.__esModule=!0;var ma=x();st.default=function(t){t.registerDecorator("inline",function(e,r,n,i){var o=e;return r.partials||(r.partials={},o=function(u,l){var s=n.partials;n.partials=ma.extend({},s,r.partials);var h=e(u,l);return n.partials=s,h}),r.partials[i.args[0]]=i.fn,o})};Sn.exports=st.default});var kn=m($t=>{"use strict";$t.__esModule=!0;$t.registerDefaultDecorators=ba;function va(t){return t&&t.__esModule?t:{default:t}}var ya=Pn(),_a=va(ya);function ba(t){_a.default(t)}});var er=m((ut,wn)=>{"use strict";ut.__esModule=!0;var Sa=x(),de={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=Sa.indexOf(de.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=de.lookupLevel(e),typeof console<"u"&&de.lookupLevel(de.level)<=e){var r=de.methodMap[e];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];console[r].apply(console,i)}}};ut.default=de;wn.exports=ut.default});var Cn=m(tr=>{"use strict";tr.__esModule=!0;tr.createNewLookupObject=ka;var Pa=x();function ka(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return Pa.extend.apply(void 0,[Object.create(null)].concat(e))}});var rr=m(De=>{"use strict";De.__esModule=!0;De.createProtoAccessControl=La;De.resultIsAllowed=Oa;De.resetLoggedProperties=Ma;function wa(t){return t&&t.__esModule?t:{default:t}}var En=Cn(),Ca=er(),Ea=wa(Ca),lt=Object.create(null);function La(t){var e=Object.create(null);e.constructor=!1,e.__defineGetter__=!1,e.__defineSetter__=!1,e.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:En.createNewLookupObject(r,t.allowedProtoProperties),defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:En.createNewLookupObject(e,t.allowedProtoMethods),defaultValue:t.allowProtoMethodsByDefault}}}function Oa(t,e,r){return Ln(typeof t=="function"?e.methods:e.properties,r)}function Ln(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Aa(e),!1)}function Aa(t){lt[t]!==!0&&(lt[t]=!0,Ea.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
|
|
1
|
+
"use strict";var $M=Object.create;var gd=Object.defineProperty;var NM=Object.getOwnPropertyDescriptor;var BM=Object.getOwnPropertyNames;var jM=Object.getPrototypeOf,MM=Object.prototype.hasOwnProperty;var $=(e,t)=>()=>(e&&(t=e(e=0)),t);var ne=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Hu=(e,t)=>{for(var r in t)gd(e,r,{get:t[r],enumerable:!0})},SA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of BM(t))!MM.call(e,i)&&i!==r&&gd(e,i,{get:()=>t[i],enumerable:!(n=NM(t,i))||n.enumerable});return e};var At=(e,t,r)=>(r=e!=null?$M(jM(e)):{},SA(t||!e||!e.__esModule?gd(r,"default",{value:e,enumerable:!0}):r,e)),R=e=>SA(gd({},"__esModule",{value:!0}),e);var EA={};function Gu(e){"@babel/helpers - typeof";return Gu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gu(e)}function _A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,CA(n.key),n)}}function bd(e,t,r){return t&&_A(e.prototype,t),r&&_A(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vd(e,t,r){return t=Jc(t),qM(e,tv()?Reflect.construct(t,r||[],Jc(e).constructor):t.apply(e,r))}function qM(e,t){if(t&&(Gu(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return VM(e)}function VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Xc(e,t)}function ev(e){var t=typeof Map=="function"?new Map:void 0;return ev=function(n){if(n===null||!zM(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return UM(n,arguments,Jc(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Xc(i,n)},ev(e)}function UM(e,t,r){if(tv())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&Xc(i,r.prototype),i}function tv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(tv=function(){return!!e})()}function zM(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Xc(e,t){return Xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Xc(e,t)}function Jc(e){return Jc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jc(e)}function wd(e,t,r){return(t=CA(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CA(e){var t=WM(e,"string");return Gu(t)=="symbol"?t:t+""}function WM(e,t){if(Gu(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Gu(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rv,eke,tke,rke,nv=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.PotentialLoopError=exports.BaseWarning=exports.BaseThrowable=exports.BaseError=void 0;rv=exports.BaseThrowable=function(e){function t(r){var n,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return yd(this,t),n=vd(this,t,[r]),wd(n,"name","BaseThrowable"),i&&(n.stack=i),n}return xd(t,e),bd(t)}(ev(Error)),eke=exports.BaseError=function(e){function t(){var r;yd(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=vd(this,t,[].concat(i)),wd(r,"name","BaseError"),r}return xd(t,e),bd(t)}(rv),tke=exports.BaseWarning=function(e){function t(){var r;yd(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=vd(this,t,[].concat(i)),wd(r,"name","BaseWarning"),r}return xd(t,e),bd(t)}(rv),rke=exports.PotentialLoopError=function(e){function t(){var r;yd(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=vd(this,t,[].concat(i)),wd(r,"name","PotentialLoopError"),r}return xd(t,e),bd(t)}(rv)});function GM(e){return e.split(Od)}function Fe(e=[]){return Array.isArray(e)?e:[e]}function zn(e){return Array.from(new Set(e))}function iv(e,t){return e.reduce((r,n)=>(r.findIndex(o=>t(n,o))===-1&&r.push(n),r),[])}function ft(e){return typeof e=="string"}function Sd(e){return e instanceof rf}function tn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function rn(e){let t=e.length,r=-1,n,i="",o=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){i+="\uFFFD";continue}if(n===37){i+="\\%";continue}if(n===44){i+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&o===45){i+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){i+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=e.charAt(r);continue}i+=`\\${e.charAt(r)}`}return i}function IA(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}function lv(e){return e.match(LA)}function Yu(e=""){return $A.test(e)}function NA(e){return typeof e=="function"?{match:e}:e}function ov(e){return e.length===3}function Fo(e){return e!=null}function BA(){}function KM(e,t){return t.forEach(r=>{r[2]?r[2].layer=e:r[2]={layer:e}}),t}function nf(e){return ft(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function jA(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>nf(t)):[e]:[nf(e)]}function MA(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(e[i][0]===t&&e[i][1]===r)return!1;return!0})}function Ku(e){return e==null?"":MA(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Zc(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Oa(e,t,r=!1){let n=e,i=t;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let o={...n};return Zc(n)&&Zc(i)&&Object.keys(i).forEach(a=>{Zc(n[a])&&Zc(i[a])||Array.isArray(n[a])&&Array.isArray(i[a])?o[a]=Oa(n[a],i[a],r):Object.assign(o,{[a]:i[a]})}),o}function tf(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?tf(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:tf(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?tf(n):n;return r}return e}function qA(e){return ft(e[0])}function VA(e){return ft(e[0])}function UA(e=["-",":"]){let t=e.join("|");return kd[t]||(kd[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),kd[t].lastIndex=0,kd[t]}function Td(e,t=["-",":"],r=5){let n=UA(t),i,o=e.toString(),a=new Set,s=new Map;do i=!1,o=o.replace(n,(l,f,p,m,b)=>{if(!t.includes(p))return l;i=!0,a.add(f+p);let v=b+f.length+p.length+1,w={length:l.length,items:[]};s.set(b,w);for(let C of[...m.matchAll(/\S+/g)]){let P=v+C.index,A=s.get(P)?.items;A?s.delete(P):A=[{offset:P,length:C[0].length,className:C[0]}];for(let E of A)E.className=E.className==="~"?f:E.className.replace(/^(!?)(.*)/,`$1${f}${p}$2`),w.items.push(E)}return"$".repeat(l.length)}),r-=1;while(i&&r);let u;if(typeof e=="string"){u="";let l=0;for(let[f,p]of s)u+=e.slice(l,f),u+=p.items.map(m=>m.className).join(" "),l=f+p.length;u+=e.slice(l)}else{u=e;for(let[l,f]of s)u.overwrite(l,l+f.length,f.items.map(p=>p.className).join(" "))}return{prefixes:Array.from(a),hasChanged:i,groupsByOffset:s,get expanded(){return u.toString()}}}function YM(e,t){let r=new Map,n=t.sort((i,o)=>o.length-i.length);return e.split(/\s+/g).map(i=>{let o=n.find(s=>i.startsWith(s));if(!o)return i;let a=i.slice(o.length);if(r.has(o))return r.get(o).push(a),null;{let s=[a];return r.set(o,s),{prefix:o,items:s}}}).filter(Fo).map(i=>typeof i=="string"?i:`${i.prefix}(${i.items.join(" ")})`).join(" ")}function As(e,t=["-",":"],r=5){let n=Td(e,t,r);return typeof e=="string"?n.expanded:e}function Rd(e){AA.has(e)||(console.warn("[unocss]",e),AA.add(e))}function cv(e){return Fe(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}async function zA(e){let t=typeof e=="function"?await e():await e;if(DA in t)return t;t={...t},Object.defineProperty(t,DA,{value:!0,enumerable:!1});let r=t.shortcuts?cv(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){let n=i=>{i[2]||(i[2]={});let o=i[2];o.prefix==null&&t.prefix&&(o.prefix=Fe(t.prefix)),o.layer==null&&t.layer&&(o.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function fv(e){let t=await zA(e);if(!t.presets)return[t];let r=(await Promise.all((t.presets||[]).flatMap(Fe).flatMap(fv))).flat();return[t,...r]}function WA(e){if(e.length===0)return{};let t=[],r=[],n=!1,i=[],o=[];for(let s of e){if(s.pipeline===!1){n=!0;break}else s.pipeline?.include&&t.push(s.pipeline.include),s.pipeline?.exclude&&r.push(s.pipeline.exclude);s.filesystem&&i.push(s.filesystem),s.inline&&o.push(s.inline)}let a={pipeline:n?!1:{include:zn(PA(...t)),exclude:zn(PA(...r))}};return i.length&&(a.filesystem=zn(i.flat())),o.length&&(a.inline=zn(o.flat())),a}async function av(e={},t={}){let r=Object.assign({},t,e),n=iv((await Promise.all((r.presets||[]).flatMap(Fe).flatMap(fv))).flat(),(L,I)=>L.name===I.name),i=[...n.filter(L=>L.enforce==="pre"),...n.filter(L=>!L.enforce),...n.filter(L=>L.enforce==="post")],o=[...i,r],a=[...o].reverse(),s=Object.assign({},RA,...o.map(L=>L.layers));function u(L){return zn(o.flatMap(I=>Fe(I[L]||[])))}let l=u("extractors"),f=a.find(L=>L.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=FA),f&&!l.includes(f)&&l.unshift(f),l.sort((L,I)=>(L.order||0)-(I.order||0));let p=u("rules"),m={},b=p.length,v=p.filter(L=>qA(L)?(Fe(L[2]?.prefix||"").forEach(T=>{m[T+L[0]]=L}),!1):!0).reverse(),w={templates:zn(o.flatMap(L=>Fe(L.autocomplete?.templates))),extractors:o.flatMap(L=>Fe(L.autocomplete?.extractors)).sort((L,I)=>(L.order||0)-(I.order||0)),shorthands:XM(o.map(L=>L.autocomplete?.shorthands||{}))},C=u("separators");C.length||(C=[":","-"]);let P=u("content"),A=WA(P),E={mergeSelectors:!0,warn:!0,sortLayers:L=>L,...r,blocklist:u("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:s,theme:HA(o.map(L=>L.theme)),rules:p,rulesSize:b,rulesDynamic:v,rulesStaticMap:m,preprocess:u("preprocess"),postprocess:u("postprocess"),preflights:u("preflights"),autocomplete:w,variants:u("variants").map(NA).sort((L,I)=>(L.order||0)-(I.order||0)),shortcuts:cv(u("shortcuts")).reverse(),extractors:l,safelist:u("safelist"),separators:C,details:r.details??r.envMode==="dev",content:A,transformers:iv(u("transformers"),(L,I)=>L.name===I.name)},y=u("extendTheme");for(let L of y)E.theme=L(E.theme,E)||E.theme;for(let L of o)L?.configResolved?.(E);return E}function QM(e){let t=["shortcuts","preprocess","postprocess"];return e.map(n=>Object.entries(n).reduce((i,[o,a])=>({...i,[o]:t.includes(o)?Fe(a):a}),{})).reduce(({theme:n,content:i,...o},{theme:a,content:s,...u})=>{let l=Oa(o,u,!0);return(n||a)&&(l.theme=HA([n,a])),(i||s)&&(l.content=WA([i||{},s||{}])),l},{})}function HA(e){return e.map(t=>t?tf(t):{}).reduce((t,r)=>Oa(t,r),{})}function XM(e){return e.reduce((t,r)=>{let n={};for(let i in r){let o=r[i];Array.isArray(o)?n[i]=`(${o.join("|")})`:n[i]=o}return{...t,...n}},{})}function PA(...e){return e.flatMap(JM)}function JM(e){return Array.isArray(e)?e:e?[e]:[]}function Ta(e){return e}async function eq(e,t){return await Dd.create(e,t)}function GA(e){return of.test(e)}function tq(e,t){return GA(e)?e.replace(of,t?` ${t} `:" "):t?`${t} ${e}`:e}function Fd(e){return OA.test(e)?e.replace(OA,(t,r,n,i)=>`[${_d(r)}${n}"${_d(i)}"]`):`.${_d(e)}`}function rq(e,t){return t(e)}var ef,Cd,TA,Pd,RA,Od,HM,FA,rf,_d,LA,uv,$A,Ed,Ad,kd,AA,DA,ZM,Qt,Dd,sv,of,OA,Dt=$(()=>{ef="default",Cd="preflights",TA="shortcuts",Pd="imports",RA={[Pd]:-200,[Cd]:-100,[TA]:-10,[ef]:0},Od=/[\\:]?[\s'"`;{}]+/g,HM=/([\\:]?[\s"'`;<>]|:\(|\)"|\)\s)/g;FA={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return GM(e)}};rf=class extends Set{_map=new Map;constructor(t){if(super(),t)for(let r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}};_d=rn;LA=/^\[(.+?)~?="(.*)"\]$/,uv=/\.(css|postcss|sass|scss|less|stylus|styl)($|\?)/,$A=/[\w\u00A0-\uFFFF%-?]/;Ed=class{_map=new Map;get(t,r){let n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let i=this._map.get(t);return i||(i=new Map,this._map.set(t,i)),i.has(r)||i.set(r,n),i.get(r)}set(t,r,n){let i=this._map.get(t);return i||(i=new Map,this._map.set(t,i)),i.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([i,o])=>t(o,r,i)))}},Ad=class extends Map{getFallback(t,r){let n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){let r=[];return this.forEach((n,i)=>{r.push(t(n,i))}),r}flatMap(t){let r=[];return this.forEach((n,i)=>{r.push(...t(n,i))}),r}};kd={};AA=new Set;DA="_uno_resolved";ZM="66.3.3",Qt={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"},Dd=class e{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=ZM;events=IA();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){let n=new e(t,r);return n.config=await av(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await av(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){let i={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(let o of this.config.extractors){let a=await o.extract?.(i);if(a)if(Sd(a)&&Sd(n))for(let s of a)n.setCount(s,n.getCount(s)+a.getCount(s));else for(let s of a)n.add(s)}return n}makeContext(t,r){let n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:Qt,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(n,...i),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;let n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let i=this.config.preprocess.reduce((u,l)=>l(u)??u,t);if(this.isBlocked(i)){this.blocked.add(t),this.cache.set(n,null);return}let o=await this.matchVariants(t,i);if(o.every(u=>!u||this.isBlocked(u[1]))){this.blocked.add(t),this.cache.set(n,null);return}let a=async u=>{let l=this.makeContext(t,[r||u[0],u[1],u[2],u[3]]);this.config.details&&(l.variants=[...u[3]]);let f=await this.expandShortcut(l.currentSelector,l);return f?await this.stringifyShortcuts(l.variantMatch,l,f[0],f[1]):(await this.parseUtil(l.variantMatch,l))?.map(m=>this.stringifyUtil(m,l)).filter(Fo)},s=(await Promise.all(o.map(u=>a(u)))).flat().filter(u=>!!u);if(s?.length)return this.cache.set(n,s),s;this.cache.set(n,null)}async generate(t,r={}){let{id:n,scope:i,preflights:o=!0,safelist:a=!0,minify:s=!1,extendedInfo:u=!1}=r,l=ft(t)?await this.applyExtractors(t,n,u?new rf:new Set):Array.isArray(t)?new Set(t):t;if(a){let T={generator:this,theme:this.config.theme};this.config.safelist.flatMap(N=>typeof N=="function"?N(T):N).forEach(N=>{let X=N.trim();X&&!l.has(X)&&l.add(X)})}let f=s?"":`
|
|
2
|
+
`,p=new Set([ef]),m=u?new Map:new Set,b=new Map,v={},w=Array.from(l).map(async T=>{if(m.has(T))return;let N=await this.parseToken(T);if(N!=null){m instanceof Map?m.set(T,{data:N,count:Sd(l)?l.getCount(T):-1}):m.add(T);for(let X of N){let se=X[3]||"",ie=X[4]?.layer;b.has(se)||b.set(se,[]),b.get(se).push(X),ie&&p.add(ie)}}});await Promise.all(w),await(async()=>{if(!o)return;let T={generator:this,theme:this.config.theme},N=new Set([]);this.config.preflights.forEach(({layer:X=Cd})=>{p.add(X),N.add(X)}),v=Object.fromEntries(await Promise.all(Array.from(N).map(async X=>{let ie=(await Promise.all(this.config.preflights.filter(te=>(te.layer||Cd)===X).map(async te=>await te.getCSS(T)))).filter(Boolean).join(f);return[X,ie]})))})();let C=this.config.sortLayers(Array.from(p).sort((T,N)=>(this.config.layers[T]??0)-(this.config.layers[N]??0)||T.localeCompare(N))),P={},A=this.config.outputToCssLayers,E=T=>{let N=T;return typeof A=="object"&&(N=A.cssLayerName?.(T)),N===null?null:N??T},y=(T=ef)=>{if(P[T])return P[T];let N=Array.from(b).sort((ie,te)=>(this.parentOrders.get(ie[0])??0)-(this.parentOrders.get(te[0])??0)||ie[0]?.localeCompare(te[0]||"")||0).map(([ie,te])=>{let Ee=te.length,W=te.filter(pe=>(pe[4]?.layer||ef)===T).sort((pe,Le)=>pe[0]-Le[0]||(pe[4]?.sort||0)-(Le[4]?.sort||0)||pe[5]?.currentSelector?.localeCompare(Le[5]?.currentSelector??"")||pe[1]?.localeCompare(Le[1]||"")||pe[2]?.localeCompare(Le[2]||"")||0).map(([,pe,Le,,Mt,,Wr])=>[[[(pe&&tq(pe,i))??"",Mt?.sort??0]],Le,!!(Wr??Mt?.noMerge)]);if(!W.length)return;let G=W.reverse().map(([pe,Le,Mt],Wr)=>{if(!Mt&&this.config.mergeSelectors)for(let pt=Wr+1;pt<Ee;pt++){let Zt=W[pt];if(Zt&&!Zt[2]&&(pe&&Zt[0]||pe==null&&Zt[0]==null)&&Zt[1]===Le)return pe&&Zt[0]&&Zt[0].push(...pe),null}let Hr=pe?zn(pe.sort((pt,Zt)=>pt[1]-Zt[1]||pt[0]?.localeCompare(Zt[0]||"")||0).map(pt=>pt[0]).filter(Boolean)):[];return Hr.length?`${Hr.join(`,${f}`)}{${Le}}`:Le}).filter(Boolean),Z=Array.from(new Set(G)).reverse().join(f);if(!ie)return Z;let Q=ie.split(" $$ ");return`${Q.join("{")}{${f}${Z}${f}${"}".repeat(Q.length)}`}).filter(Boolean).join(f);o&&(N=[v[T],N].filter(Boolean).join(f));let X;A&&N&&(X=E(T),X!==null&&(N=`@layer ${X}{${f}${N}${f}}`));let se=s?"":`/* layer: ${T}${X&&X!==T?`, alias: ${X}`:""} */${f}`;return P[T]=N?se+N:""},L=(T=C,N)=>{let X=T.filter(se=>!N?.includes(se));return[A&&X.length>0?`@layer ${X.map(E).filter(Fo).join(", ")};`:void 0,...X.map(se=>y(se)||"")].filter(Boolean).join(f)};return{get css(){return L()},layers:C,matched:m,getLayers:L,getLayer:y,setLayer:async(T,N)=>{let X=await N(y(T));return P[T]=X,X}}}async matchVariants(t,r){let n={rawSelector:t,theme:this.config.theme,generator:this},i=async o=>{let a=!0,[,,s,u]=o;for(;a;){a=!1;let l=o[1];for(let f of this.config.variants){if(!f.multiPass&&u.has(f))continue;let p=await f.match(l,n);if(p){if(ft(p)){if(p===l)continue;p={matcher:p}}if(Array.isArray(p)){if(!p.length)continue;if(p.length===1)p=p[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let m=p.map(b=>{let v=b.matcher??l,w=[b,...s],C=new Set(u);return C.add(f),[o[0],v,w,C]});return(await Promise.all(m.map(b=>i(b)))).flat()}}o[1]=p.matcher??l,s.unshift(p),u.add(f),a=!0;break}}if(!a)break;if(s.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[o]};return await i([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){let o=r.slice().sort((l,f)=>(l.order||0)-(f.order||0)).reduceRight((l,f)=>p=>{let m=f.body?.(p.entries)||p.entries,b=Array.isArray(f.parent)?f.parent:[f.parent,void 0],v=f.selector?.(p.selector,m);return(f.handle??rq)({...p,entries:m,selector:v||p.selector,parent:b[0]||p.parent,parentOrder:b[1]||p.parentOrder,layer:f.layer||p.layer,sort:f.sort||p.sort},l)},l=>l)({prefix:"",selector:Fd(n),pseudo:"",entries:t[2]}),{parent:a,parentOrder:s}=o;a!=null&&s!=null&&this.parentOrders.set(a,s);let u={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:a,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(let l of this.config.postprocess)l(u);return u}constructCustomCSS(t,r,n){let i=nf(r);if(ft(i))return i;let{selector:o,entries:a,parent:s}=this.applyVariants([0,n||t.rawSelector,i,void 0,t.variantHandlers]),u=`${o}{${Ku(a)}}`;return s?`${s}{${u}}`:u}async parseUtil(t,r,n=!1,i){let o=ft(t)?await this.matchVariants(t):[t],a=async([u,l,f])=>{this.config.details&&(r.rules=r.rules??[]);let p={...r,variantHandlers:f},m=this.config.rulesStaticMap[l];if(m&&m[1]&&(n||!m[2]?.internal))return this.resolveCSSResult(u,m[1],m,p);for(let b of this.config.rulesDynamic){let[v,w,C]=b;if(C?.internal&&!n)continue;let P=l;if(C?.prefix){let L=Fe(C.prefix);if(i){let I=Fe(i);if(!L.some(T=>I.includes(T)))continue}else{let I=L.find(T=>l.startsWith(T));if(I==null)continue;P=l.slice(I.length)}}let A=P.match(v);if(!A)continue;let E=await w(A,p);if(!E)continue;if(typeof E!="string")if(Symbol.asyncIterator in E){let L=[];for await(let I of E)I&&L.push(I);E=L}else Symbol.iterator in E&&!Array.isArray(E)&&(E=Array.from(E).filter(Fo));let y=this.resolveCSSResult(u,E,b,p);if(y)return y}},s=(await Promise.all(o.map(u=>a(u)))).flat().filter(u=>!!u);if(s.length)return s}resolveCSSResult=(t,r,n,i)=>{let o=jA(r).filter(a=>a.length);if(o.length){this.config.details&&i.rules.push(n),i.generator.activatedRules.add(n);let a=i.generator.config.rules.indexOf(n),s=n[2];return o.map(u=>{if(ft(u))return[a,u,s];let l=i.variantHandlers,f=s;for(let p of u)p[0]===Qt.variants?typeof p[1]=="function"?l=p[1](l)||l:l=[...Fe(p[1]),...l]:p[0]===Qt.parent?l=[{parent:p[1]},...l]:p[0]===Qt.selector?l=[{selector:p[1]},...l]:p[0]===Qt.layer?l=[{layer:p[1]},...l]:p[0]===Qt.sort?f={...f,sort:p[1]}:p[0]===Qt.noMerge&&(f={...f,noMerge:p[1]});return[a,t,u,f,l]})}};stringifyUtil(t,r){if(!t)return;if(ov(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];let{selector:n,entries:i,parent:o,layer:a,sort:s,noMerge:u}=this.applyVariants(t),l=Ku(i);if(!l)return;let{layer:f,sort:p,...m}=t[3]??{},b={...m,layer:a??f,sort:s??p};return[t[0],n,l,o,b,this.config.details?r:void 0,u]}async expandShortcut(t,r,n=5){if(n===0)return;let i=this.config.details?l=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(l)}:BA,o,a,s,u;for(let l of this.config.shortcuts){let f=t;if(l[2]?.prefix){let m=Fe(l[2].prefix).find(b=>t.startsWith(b));if(m==null)continue;f=t.slice(m.length)}if(VA(l)){if(l[0]===f){o=o||l[2],a=l[1],i(l);break}}else{let p=f.match(l[0]);if(p&&(a=l[1](p,r)),a){o=o||l[2],i(l);break}}}if(a&&(s=zn(Fe(a).filter(ft).map(l=>As(l.trim()).split(/\s+/g)).flat()),u=Fe(a).filter(l=>!ft(l)).map(l=>({handles:[],value:l}))),!a){let l=ft(t)?await this.matchVariants(t):[t];for(let f of l){let[p,m,b]=f;if(p!==m){let v=await this.expandShortcut(m,r,n-1);v&&(s=v[0].filter(ft).map(w=>p.replace(m,w)),u=v[0].filter(w=>!ft(w)).map(w=>({handles:[...w.handles,...b],value:w.value})))}}}if(!(!s?.length&&!u?.length))return[[await Promise.all(Fe(s).map(async l=>(await this.expandShortcut(l,r,n-1))?.[0]||[l])),u].flat(2).filter(l=>!!l),o]}async stringifyShortcuts(t,r,n,i={layer:this.config.shortcutsLayer}){let o=new Ad,a=(await Promise.all(zn(n).map(async f=>{let p=ft(f)?await this.parseUtil(f,r,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",nf(f.value),void 0,f.handles]];return!p&&this.config.warn&&Rd(`unmatched utility "${f}" in shortcut "${t[1]}"`),p||[]}))).flat(1).filter(Boolean).sort((f,p)=>f[0]-p[0]),[s,,u]=t,l=[];for(let f of a){if(ov(f)){l.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let{selector:p,entries:m,parent:b,sort:v,noMerge:w,layer:C}=this.applyVariants(f,[...f[4],...u],s);o.getFallback(C??i.layer,new Ed).getFallback(p,b,[[],f[0]])[0].push([m,!!(w??f[3]?.noMerge),v??0])}return l.concat(o.flatMap((f,p)=>f.map(([m,b],v,w)=>{let C=(A,E,y)=>{let L=Math.max(...y.map(T=>T[1])),I=y.map(T=>T[0]);return(A?[I.flat(1)]:I).map(T=>{let N=Ku(T);if(N)return[b,v,N,w,{...i,noMerge:E,sort:L,layer:p},r,void 0]})};return[[m.filter(([,A])=>A).map(([A,,E])=>[A,E]),!0],[m.filter(([,A])=>!A).map(([A,,E])=>[A,E]),!1]].map(([A,E])=>[...C(!1,E,A.filter(([y])=>y.some(L=>L[0]===Qt.shortcutsNoMerge))),...C(!0,E,A.filter(([y])=>y.every(L=>L[0]!==Qt.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):ft(r)?r===t:r.test(t))}getBlocked(t){let r=this.config.blocklist.find(n=>{let i=Array.isArray(n)?n[0]:n;return typeof i=="function"?i(t):ft(i)?i===t:i.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}},sv=class extends Dd{constructor(t={},r={}){super(t,r),console.warn("`new UnoGenerator()` is deprecated, please use `createGenerator()` instead")}};of=/\s\$\$\s+/g;OA=/^\[(.+?)(~?=)"(.*)"\]$/});function nq(e={}){let t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1,i;return{name:"attributify",match(o,{generator:a}){let s=lv(o);if(!s)return;let u=s[1];if(u.startsWith(t))u=u.slice(t.length);else if(r)return;let l=s[2],[,f="",p=l]=l.match(QA)||[];if(p==="~"||n&&p==="true"||!p)return`${f}${u}`;if(i==null){let m=a?.config?.separators?.join("|");m?i=new RegExp(`^(.*\\](?:${m}))(\\[[^\\]]+?\\])$`):i=!1}if(i){let[,m,b]=l.match(i)||[];if(b)return`${m}${f}${u}-${b}`}if(f&&p.match(/^[\d.]+$/)){let m=f.split(/([^:]*:)/g).filter(Boolean),b=m.pop()+p,v=m.join("");return[{matcher:`${f}${u}-${p}`},{matcher:`${v}${u}-${b}`}]}return`${f}${u}-${p}`}}}function aq(e){return{name:"attributify",extract:({content:t,cursor:r})=>{let n=t.matchAll(iq),i,o=0;for(let A of n){let[,E,y]=A,L=A.index+E.length;if(r>L&&r<=L+y.length){o=L,i=y;break}}if(!i)return null;let a=i.matchAll(oq),s=0,u,l;for(let A of a){let[E,y,L]=A,I=o+A.index;if(r>I&&r<=I+E.length){s=I,u=y,l=L?.slice(1);break}}if(!u||u==="class"||u==="className"||u===":class")return null;let f=!!e?.prefix&&u.startsWith(e.prefix);if(e?.prefixedOnly&&!f)return null;let p=f?u.slice(e.prefix.length):u;if(l===void 0)return{extracted:p,resolveReplacement(A){let E=f?e.prefix.length:0;return{start:s+E,end:s+u.length,replacement:A}}};let m=s+u.length+2,b=KA.exec(l),v=0,w;for(;b;){let[A]=b;if(r>m+v&&r<=m+v+b.index){w=l.slice(v,v+b.index);break}v+=b.index+A.length,b=KA.exec(l.slice(v))}w===void 0&&(w=l.slice(v));let[,C="",P]=w.match(QA)||[];return{extracted:`${C}${p}-${P}`,transformSuggestions(A){return A.filter(E=>E.startsWith(`${C}${p}-`)).map(E=>C+E.slice(C.length+p.length+1))},resolveReplacement(A){return{start:v+m,end:v+m+w.length,replacement:C+A.slice(C.length+p.length+1)}}}}}}function lq(e){let t=e?.ignoreAttributes??XA,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:i}){return Array.from(i.matchAll(pv)).flatMap(o=>Array.from((o[1]||"").matchAll(uq))).flatMap(([,o,...a])=>{let s=a.filter(Boolean).join("");if(t.includes(o))return[];for(let u of sq)if(o.startsWith(u)){o=o.slice(u.length);break}if(!s){if(Yu(o)&&r!==!1){let u=[`[${o}=""]`];return n&&u.push(`[${o}="true"]`),u}return[]}return["class","className"].includes(o)?s.split(YA).filter(Yu):pv.test(s)?(pv.lastIndex=0,this.extract({code:s})):e?.prefixedOnly&&e.prefix&&!o.startsWith(e.prefix)?[]:s.split(YA).filter(u=>!!u&&u!==":").map(u=>`[${o}~="${u}"]`)})}}}var QA,iq,oq,KA,sq,YA,pv,uq,XA,JA,ZA=$(()=>{Dt();QA=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;iq=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,oq=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,KA=/[\s'"`;>]+/;sq=["v-bind:",":"],YA=/[\s'"`;]+/g,pv=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,uq=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,XA=["placeholder","fill","opacity","stroke-opacity"];JA=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??XA;let t=[nq(e)],r=[lq(e)],n=[aq(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}}});var cq,Qu,hv,e3,Id=$(()=>{cq=Object.freeze({left:0,top:0,width:16,height:16}),Qu=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),hv=Object.freeze({...cq,...Qu}),e3=Object.freeze({...hv,body:"",hidden:!1})});var fq,Ld,dv=$(()=>{Id();fq=Object.freeze({width:null,height:null}),Ld=Object.freeze({...fq,...Qu})});function t3(e,t){let r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);let n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}var r3=$(()=>{});function mv(e,t){let r=t3(e,t);for(let n in e3)n in Qu?n in e&&!(n in r)&&(r[n]=Qu[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}var n3=$(()=>{Id();r3()});function i3(e,t){let r=e.icons,n=e.aliases||Object.create(null),i=Object.create(null);function o(a){if(r[a])return i[a]=[];if(!(a in i)){i[a]=null;let s=n[a]&&n[a].parent,u=s&&o(s);u&&(i[a]=[s].concat(u))}return i[a]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(o),i}var o3=$(()=>{});function a3(e,t,r){let n=e.icons,i=e.aliases||Object.create(null),o={};function a(s){o=mv(n[s]||i[s],o)}return a(t),r.forEach(a),mv(e,o)}function s3(e,t){if(e.icons[t])return a3(e,t,[]);let r=i3(e,[t])[t];return r?a3(e,t,r):null}var u3=$(()=>{n3();o3()});function Ds(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;let n=e.split(pq);if(n===null||!n.length)return e;let i=[],o=n.shift(),a=hq.test(o);for(;;){if(a){let s=parseFloat(o);isNaN(s)?i.push(o):i.push(Math.ceil(s*t*r)/r)}else i.push(o);if(o=n.shift(),o===void 0)return i.join("");a=!a}}var pq,hq,$d=$(()=>{pq=/(-?[0-9.]*[0-9]+[0-9.]*)/g,hq=/^-?[0-9.]*[0-9]+[0-9.]*$/g});function dq(e,t="defs"){let r="",n=e.indexOf("<"+t);for(;n>=0;){let i=e.indexOf(">",n),o=e.indexOf("</"+t);if(i===-1||o===-1)break;let a=e.indexOf(">",o);if(a===-1)break;r+=e.slice(i+1,o).trim(),e=e.slice(0,n).trim()+e.slice(a+1)}return{defs:r,content:e}}function mq(e,t){return e?"<defs>"+e+"</defs>"+t:t}function l3(e,t,r){let n=dq(e);return mq(n.defs,t+n.content+r)}var c3=$(()=>{});function f3(e,t){let r={...hv,...e},n={...Ld,...t},i={left:r.left,top:r.top,width:r.width,height:r.height},o=r.body;[r,n].forEach(w=>{let C=[],P=w.hFlip,A=w.vFlip,E=w.rotate;P?A?E+=2:(C.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),C.push("scale(-1 1)"),i.top=i.left=0):A&&(C.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),C.push("scale(1 -1)"),i.top=i.left=0);let y;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:y=i.height/2+i.top,C.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:C.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:y=i.width/2+i.left,C.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}E%2===1&&(i.left!==i.top&&(y=i.left,i.left=i.top,i.top=y),i.width!==i.height&&(y=i.width,i.width=i.height,i.height=y)),C.length&&(o=l3(o,'<g transform="'+C.join(" ")+'">',"</g>"))});let a=n.width,s=n.height,u=i.width,l=i.height,f,p;a===null?(p=s===null?"1em":s==="auto"?l:s,f=Ds(p,u/l)):(f=a==="auto"?u:a,p=s===null?Ds(f,l/u):s==="auto"?l:s);let m={},b=(w,C)=>{af(C)||(m[w]=C.toString())};b("width",f),b("height",p);let v=[i.left,i.top,u,l];return m.viewBox=v.join(" "),{attributes:m,viewBox:v,body:o}}var af,gv=$(()=>{Id();dv();$d();c3();af=e=>e==="unset"||e==="undefined"||e==="none"});function p3(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}var h3=$(()=>{});function bv(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),p3(t)}var d3=$(()=>{h3()});function m3(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}var g3=$(()=>{});function yq(e,t,r){let n=e.slice(0,e.indexOf(">")),i=(o,a)=>{let s=a.exec(n),u=s!=null,l=t[o];return!l&&!af(l)&&(typeof r=="number"?r>0&&(t[o]=Ds(s?.[1]??"1em",r)):s&&(t[o]=s[1])),u};return[i("width",gq),i("height",bq)]}async function Nd(e,t,r,n,i,o){let{scale:a,addXmlNs:s=!1}=n??{},{additionalProps:u={},iconCustomizer:l}=n?.customizations??{},f=await i?.()??{};await l?.(t,r,f),Object.keys(u).forEach(w=>{let C=u[w];C!=null&&(f[w]=C)}),o?.(f);let[p,m]=yq(e,f,a);s&&(!e.includes("xmlns=")&&!f.xmlns&&(f.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!f["xmlns:xlink"]&&(f["xmlns:xlink"]="http://www.w3.org/1999/xlink"));let b=Object.keys(f).map(w=>w==="width"&&p||w==="height"&&m?null:`${w}="${f[w]}"`).filter(w=>w!=null);if(b.length&&(e=e.replace(yv,`<svg ${b.join(" ")} `)),n){let{defaultStyle:w,defaultClass:C}=n;C&&!e.includes("class=")&&(e=e.replace(yv,`<svg class="${C}" `)),w&&!e.includes("style=")&&(e=e.replace(yv,`<svg style="${w}" `))}let v=n?.usedProps;return v&&(Object.keys(u).forEach(w=>{let C=f[w];C!=null&&(v[w]=C)}),typeof f.width<"u"&&f.width!==null&&(v.width=f.width),typeof f.height<"u"&&f.height!==null&&(v.height=f.height)),e}function b3(e){return[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")]}var gq,bq,yv,Bd=$(()=>{gv();$d();gq=/\swidth\s*=\s*["']([\w.]+)["']/,bq=/\sheight\s*=\s*["']([\w.]+)["']/,yv=/<svg\s+/});var v3=ne((Tke,y3)=>{"use strict";function vv(e){"@babel/helpers - typeof";return vv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vv(e)}var Xu=1e3,Ju=Xu*60,Zu=Ju*60,Ps=Zu*24,vq=Ps*7,xq=Ps*365.25;y3.exports=function(e,t){t=t||{};var r=vv(e);if(r==="string"&&e.length>0)return wq(e);if(r==="number"&&isFinite(e))return t.long?Sq(e):kq(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function wq(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*xq;case"weeks":case"week":case"w":return r*vq;case"days":case"day":case"d":return r*Ps;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Zu;case"minutes":case"minute":case"mins":case"min":case"m":return r*Ju;case"seconds":case"second":case"secs":case"sec":case"s":return r*Xu;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function kq(e){var t=Math.abs(e);return t>=Ps?Math.round(e/Ps)+"d":t>=Zu?Math.round(e/Zu)+"h":t>=Ju?Math.round(e/Ju)+"m":t>=Xu?Math.round(e/Xu)+"s":e+"ms"}function Sq(e){var t=Math.abs(e);return t>=Ps?jd(e,t,Ps,"day"):t>=Zu?jd(e,t,Zu,"hour"):t>=Ju?jd(e,t,Ju,"minute"):t>=Xu?jd(e,t,Xu,"second"):e+" ms"}function jd(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var kv=ne((Rke,k3)=>{"use strict";function x3(e){return Eq(e)||Cq(e)||w3(e)||_q()}function _q(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cq(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Eq(e){if(Array.isArray(e))return wv(e)}function xv(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=w3(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}function w3(e,t){if(e){if(typeof e=="string")return wv(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wv(e,t):void 0}}function wv(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Aq(e){r.debug=r,r.default=r,r.coerce=u,r.disable=a,r.enable=i,r.enabled=s,r.humanize=v3(),r.destroy=l,Object.keys(e).forEach(function(f){r[f]=e[f]}),r.names=[],r.skips=[],r.formatters={};function t(f){for(var p=0,m=0;m<f.length;m++)p=(p<<5)-p+f.charCodeAt(m),p|=0;return r.colors[Math.abs(p)%r.colors.length]}r.selectColor=t;function r(f){var p,m=null,b,v;function w(){for(var C=arguments.length,P=new Array(C),A=0;A<C;A++)P[A]=arguments[A];if(w.enabled){var E=w,y=Number(new Date),L=y-(p||y);E.diff=L,E.prev=p,E.curr=y,p=y,P[0]=r.coerce(P[0]),typeof P[0]!="string"&&P.unshift("%O");var I=0;P[0]=P[0].replace(/%([a-zA-Z%])/g,function(N,X){if(N==="%%")return"%";I++;var se=r.formatters[X];if(typeof se=="function"){var ie=P[I];N=se.call(E,ie),P.splice(I,1),I--}return N}),r.formatArgs.call(E,P);var T=E.log||r.log;T.apply(E,P)}}return w.namespace=f,w.useColors=r.useColors(),w.color=r.selectColor(f),w.extend=n,w.destroy=r.destroy,Object.defineProperty(w,"enabled",{enumerable:!0,configurable:!1,get:function(){return m!==null?m:(b!==r.namespaces&&(b=r.namespaces,v=r.enabled(f)),v)},set:function(P){m=P}}),typeof r.init=="function"&&r.init(w),w}function n(f,p){var m=r(this.namespace+(typeof p>"u"?":":p)+f);return m.log=this.log,m}function i(f){r.save(f),r.namespaces=f,r.names=[],r.skips=[];var p=(typeof f=="string"?f:"").trim().replace(/\s+/g,",").split(",").filter(Boolean),m=xv(p),b;try{for(m.s();!(b=m.n()).done;){var v=b.value;v[0]==="-"?r.skips.push(v.slice(1)):r.names.push(v)}}catch(w){m.e(w)}finally{m.f()}}function o(f,p){for(var m=0,b=0,v=-1,w=0;m<f.length;)if(b<p.length&&(p[b]===f[m]||p[b]==="*"))p[b]==="*"?(v=b,w=m,b++):(m++,b++);else if(v!==-1)b=v+1,w++,m=w;else return!1;for(;b<p.length&&p[b]==="*";)b++;return b===p.length}function a(){var f=[].concat(x3(r.names),x3(r.skips.map(function(p){return"-"+p}))).join(",");return r.enable(""),f}function s(f){var p=xv(r.skips),m;try{for(p.s();!(m=p.n()).done;){var b=m.value;if(o(f,b))return!1}}catch(P){p.e(P)}finally{p.f()}var v=xv(r.names),w;try{for(v.s();!(w=v.n()).done;){var C=w.value;if(o(f,C))return!0}}catch(P){v.e(P)}finally{v.f()}return!1}function u(f){return f instanceof Error?f.stack||f.message:f}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}k3.exports=Aq});var S3=ne((nn,Md)=>{"use strict";nn.formatArgs=Pq;nn.save=Oq;nn.load=Tq;nn.useColors=Dq;nn.storage=Rq();nn.destroy=function(){var e=!1;return function(){e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}}();nn.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Dq(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;var e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Pq(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Md.exports.humanize(this.diff),!!this.useColors){var t="color: "+this.color;e.splice(1,0,t,"color: inherit");var r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,function(i){i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}}nn.log=console.debug||console.log||function(){};function Oq(e){try{e?nn.storage.setItem("debug",e):nn.storage.removeItem("debug")}catch{}}function Tq(){var e;try{e=nn.storage.getItem("debug")||nn.storage.getItem("DEBUG")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function Rq(){try{return localStorage}catch{}}Md.exports=kv()(nn);var Fq=Md.exports.formatters;Fq.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var C3=ne((tr,Vd)=>{"use strict";var Iq=require("tty"),sf=require("util");tr.init=qq;tr.log=Bq;tr.formatArgs=$q;tr.save=jq;tr.load=Mq;tr.useColors=Lq;tr.destroy=sf.deprecate(function(){},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");tr.colors=[6,2,3,4,5,1];try{qd=require("supports-color"),qd&&(qd.stderr||qd).level>=2&&(tr.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}var qd;tr.inspectOpts=Object.keys(process.env).filter(function(e){return/^debug_/i.test(e)}).reduce(function(e,t){var r=t.substring(6).toLowerCase().replace(/_([a-z])/g,function(i,o){return o.toUpperCase()}),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function Lq(){return"colors"in tr.inspectOpts?!!tr.inspectOpts.colors:Iq.isatty(process.stderr.fd)}function $q(e){var t=this.namespace,r=this.useColors;if(r){var n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),o=" ".concat(i,";1m").concat(t," \x1B[0m");e[0]=o+e[0].split(`
|
|
5
|
+
`).join(`
|
|
6
|
+
`+o),e.push(i+"m+"+Vd.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=Nq()+t+" "+e[0]}function Nq(){return tr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Bq(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return process.stderr.write(sf.formatWithOptions.apply(sf,[tr.inspectOpts].concat(t))+`
|
|
7
|
+
`)}function jq(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Mq(){return process.env.DEBUG}function qq(e){e.inspectOpts={};for(var t=Object.keys(tr.inspectOpts),r=0;r<t.length;r++)e.inspectOpts[t[r]]=tr.inspectOpts[t[r]]}Vd.exports=kv()(tr);var _3=Vd.exports.formatters;_3.o=function(e){return this.inspectOpts.colors=this.useColors,sf.inspect(e,this.inspectOpts).split(`
|
|
8
|
+
`).map(function(t){return t.trim()}).join(" ")};_3.O=function(e){return this.inspectOpts.colors=this.useColors,sf.inspect(e,this.inspectOpts)}});var zi=ne((Fke,Sv)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Sv.exports=S3():Sv.exports=C3()});async function _v(e,t,r,n){let i;Vq(`${t}:${r}`);try{if(typeof e=="function")i=await e(r);else{let o=e[r];i=typeof o=="function"?await o():o}}catch(o){console.warn(`Failed to load custom icon "${r}" in "${t}":`,o);return}if(i){let o=i.indexOf("<svg");o>0&&(i=i.slice(o));let{transform:a}=n?.customizations??{};return i=typeof a=="function"?await a(i,t,r):i,i.startsWith("<svg")?await Nd(n?.customizations?.trimCustomSvg===!0?m3(i):i,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),i)}}var E3,Vq,A3=$(()=>{E3=At(zi(),1);Bd();g3();Vq=(0,E3.default)("@iconify-loader:custom")});async function el(e,t,r,n){let i,{customize:o}=n?.customizations??{};for(let a of r)if(i=s3(e,a),i){Uq(`${t}:${a}`);let s={...Ld};typeof o=="function"&&(i=Object.assign({},i),s=o(s,i,`${t}:${a}`)??s);let{attributes:{width:u,height:l,...f},body:p}=f3(i,s),m=n?.scale;return await Nd(`<svg >${p}</svg>`,t,a,n,()=>({...f}),b=>{let v=(w,C)=>{let P=b[w],A;if(!af(P)){if(P)return;typeof m=="number"?m&&(A=Ds(C??"1em",m)):A=C}A?b[w]=A:delete b[w]};v("width",u),v("height",l)})}}var D3,Uq,Ud=$(()=>{gv();u3();$d();Bd();D3=At(zi(),1);dv();Uq=(0,D3.default)("@iconify-loader:icon")});var Wke,Os,zd=$(()=>{A3();Ud();Wke=At(zi(),1),Os=async(e,t,r)=>{let n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let i;try{i=await n(t)}catch(o){console.warn(`Failed to load custom icon "${t}" in "${e}":`,o);return}if(i){if(typeof i=="string")return await _v(()=>i,e,t,r);if("icons"in i){let o=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await el(i,e,o,r)}}}else return await _v(n,e,t,r)}});var Gke,P3=$(()=>{zd();Gke=At(zi(),1)});function Ev(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zq,Wq,Cv,Wd=$(()=>{zq=Object.defineProperty,Wq=(e,t)=>zq(e,"name",{value:t,configurable:!0}),Cv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Wq(Ev,"getDefaultExportFromCjs")});var F3={};Hu(F3,{toFormData:()=>R3});function T3(e){let t=e.match(/\bfilename=("(.*?)"|([^()<>@,;:\\"/[\]?={}\s\t]+))($|;\s)/i);if(!t)return;let r=t[2]||t[3]||"",n=r.slice(r.lastIndexOf("\\")+1);return n=n.replace(/%22/g,'"'),n=n.replace(/&#(\d{4});/g,(i,o)=>String.fromCharCode(o)),n}async function R3(e,t){if(!/multipart/i.test(t))throw new TypeError("Failed to fetch");let r=t.match(/boundary=(?:"([^"]+)"|([^;]+))/i);if(!r)throw new TypeError("no or bad content-type header, no multipart boundary");let n=new Av(r[1]||r[2]),i,o,a,s,u,l,f=[],p=new Rs,m=Sn(P=>{a+=C.decode(P,{stream:!0})},"onPartData"),b=Sn(P=>{f.push(P)},"appendToFile"),v=Sn(()=>{let P=new tl(f,l,{type:u});p.append(s,P)},"appendFileToFormData"),w=Sn(()=>{p.append(s,a)},"appendEntryToFormData"),C=new TextDecoder("utf-8");C.decode(),n.onPartBegin=function(){n.onPartData=m,n.onPartEnd=w,i="",o="",a="",s="",u="",l=null,f.length=0},n.onHeaderField=function(P){i+=C.decode(P,{stream:!0})},n.onHeaderValue=function(P){o+=C.decode(P,{stream:!0})},n.onHeaderEnd=function(){if(o+=C.decode(),i=i.toLowerCase(),i==="content-disposition"){let P=o.match(/\bname=("([^"]*)"|([^()<>@,;:\\"/[\]?={}\s\t]+))/i);P&&(s=P[2]||P[3]||""),l=T3(o),l&&(n.onPartData=b,n.onPartEnd=v)}else i==="content-type"&&(u=o);o="",i=""};for await(let P of e)n.write(P);return n.end(),p}var Hq,Sn,Wi,ht,O3,Ra,Hd,Gd,Gq,uf,Kq,Yq,Qq,Xq,Ts,Av,I3=$(()=>{Kd();Wd();Hq=Object.defineProperty,Sn=(e,t)=>Hq(e,"name",{value:t,configurable:!0}),Wi=0,ht={START_BOUNDARY:Wi++,HEADER_FIELD_START:Wi++,HEADER_FIELD:Wi++,HEADER_VALUE_START:Wi++,HEADER_VALUE:Wi++,HEADER_VALUE_ALMOST_DONE:Wi++,HEADERS_ALMOST_DONE:Wi++,PART_DATA_START:Wi++,PART_DATA:Wi++,END:Wi++},O3=1,Ra={PART_BOUNDARY:O3,LAST_BOUNDARY:O3*=2},Hd=10,Gd=13,Gq=32,uf=45,Kq=58,Yq=97,Qq=122,Xq=Sn(e=>e|32,"lower"),Ts=Sn(()=>{},"noop"),Av=class{static{Sn(this,"MultipartParser")}constructor(t){this.index=0,this.flags=0,this.onHeaderEnd=Ts,this.onHeaderField=Ts,this.onHeadersEnd=Ts,this.onHeaderValue=Ts,this.onPartBegin=Ts,this.onPartData=Ts,this.onPartEnd=Ts,this.boundaryChars={},t=`\r
|
|
9
|
+
--`+t;let r=new Uint8Array(t.length);for(let n=0;n<t.length;n++)r[n]=t.charCodeAt(n),this.boundaryChars[r[n]]=!0;this.boundary=r,this.lookbehind=new Uint8Array(this.boundary.length+8),this.state=ht.START_BOUNDARY}write(t){let r=0,n=t.length,i=this.index,{lookbehind:o,boundary:a,boundaryChars:s,index:u,state:l,flags:f}=this,p=this.boundary.length,m=p-1,b=t.length,v,w,C=Sn(y=>{this[y+"Mark"]=r},"mark"),P=Sn(y=>{delete this[y+"Mark"]},"clear"),A=Sn((y,L,I,T)=>{(L===void 0||L!==I)&&this[y](T&&T.subarray(L,I))},"callback"),E=Sn((y,L)=>{let I=y+"Mark";I in this&&(L?(A(y,this[I],r,t),delete this[I]):(A(y,this[I],t.length,t),this[I]=0))},"dataCallback");for(r=0;r<n;r++)switch(v=t[r],l){case ht.START_BOUNDARY:if(u===a.length-2){if(v===uf)f|=Ra.LAST_BOUNDARY;else if(v!==Gd)return;u++;break}else if(u-1===a.length-2){if(f&Ra.LAST_BOUNDARY&&v===uf)l=ht.END,f=0;else if(!(f&Ra.LAST_BOUNDARY)&&v===Hd)u=0,A("onPartBegin"),l=ht.HEADER_FIELD_START;else return;break}v!==a[u+2]&&(u=-2),v===a[u+2]&&u++;break;case ht.HEADER_FIELD_START:l=ht.HEADER_FIELD,C("onHeaderField"),u=0;case ht.HEADER_FIELD:if(v===Gd){P("onHeaderField"),l=ht.HEADERS_ALMOST_DONE;break}if(u++,v===uf)break;if(v===Kq){if(u===1)return;E("onHeaderField",!0),l=ht.HEADER_VALUE_START;break}if(w=Xq(v),w<Yq||w>Qq)return;break;case ht.HEADER_VALUE_START:if(v===Gq)break;C("onHeaderValue"),l=ht.HEADER_VALUE;case ht.HEADER_VALUE:v===Gd&&(E("onHeaderValue",!0),A("onHeaderEnd"),l=ht.HEADER_VALUE_ALMOST_DONE);break;case ht.HEADER_VALUE_ALMOST_DONE:if(v!==Hd)return;l=ht.HEADER_FIELD_START;break;case ht.HEADERS_ALMOST_DONE:if(v!==Hd)return;A("onHeadersEnd"),l=ht.PART_DATA_START;break;case ht.PART_DATA_START:l=ht.PART_DATA,C("onPartData");case ht.PART_DATA:if(i=u,u===0){for(r+=m;r<b&&!(t[r]in s);)r+=p;r-=m,v=t[r]}if(u<a.length)a[u]===v?(u===0&&E("onPartData",!0),u++):u=0;else if(u===a.length)u++,v===Gd?f|=Ra.PART_BOUNDARY:v===uf?f|=Ra.LAST_BOUNDARY:u=0;else if(u-1===a.length)if(f&Ra.PART_BOUNDARY){if(u=0,v===Hd){f&=~Ra.PART_BOUNDARY,A("onPartEnd"),A("onPartBegin"),l=ht.HEADER_FIELD_START;break}}else f&Ra.LAST_BOUNDARY&&v===uf?(A("onPartEnd"),l=ht.END,f=0):u=0;if(u>0)o[u-1]=v;else if(i>0){let y=new Uint8Array(o.buffer,o.byteOffset,o.byteLength);A("onPartData",0,i,y),i=0,C("onPartData"),r--}break;case ht.END:break;default:throw new Error(`Unexpected state entered: ${l}`)}E("onHeaderField"),E("onHeaderValue"),E("onPartData"),this.index=u,this.state=l,this.flags=f}end(){if(this.state===ht.HEADER_FIELD_START&&this.index===0||this.state===ht.PART_DATA&&this.index===this.boundary.length)this.onPartEnd();else if(this.state!==ht.END)throw new Error("MultipartParser.end(): stream ended unexpectedly")}};Sn(T3,"_fileName");Sn(R3,"toFormData")});function Y3(e){if(!/^data:/i.test(e))throw new TypeError('`uri` does not appear to be a Data URI (must begin with "data:")');e=e.replace(/\r?\n/g,"");let t=e.indexOf(",");if(t===-1||t<=4)throw new TypeError("malformed data: URI");let r=e.substring(5,t).split(";"),n="",i=!1,o=r[0]||"text/plain",a=o;for(let f=1;f<r.length;f++)r[f]==="base64"?i=!0:r[f]&&(a+=`;${r[f]}`,r[f].indexOf("charset=")===0&&(n=r[f].substring(8)));!r[0]&&!n.length&&(a+=";charset=US-ASCII",n="US-ASCII");let s=i?"base64":"ascii",u=unescape(e.substring(t+1)),l=Buffer.from(u,s);return l.type=o,l.typeFull=a,l.charset=n,l}function Q3(){return $3||($3=1,function(e,t){(function(r,n){n(t)})(Zq,function(r){function n(){}k(n,"noop");function i(h){return typeof h=="object"&&h!==null||typeof h=="function"}k(i,"typeIsObject");let o=n;function a(h,g){try{Object.defineProperty(h,"name",{value:g,configurable:!0})}catch{}}k(a,"setFunctionName");let s=Promise,u=Promise.prototype.then,l=Promise.reject.bind(s);function f(h){return new s(h)}k(f,"newPromise");function p(h){return f(g=>g(h))}k(p,"promiseResolvedWith");function m(h){return l(h)}k(m,"promiseRejectedWith");function b(h,g,S){return u.call(h,g,S)}k(b,"PerformPromiseThen");function v(h,g,S){b(b(h,g,S),void 0,o)}k(v,"uponPromise");function w(h,g){v(h,g)}k(w,"uponFulfillment");function C(h,g){v(h,void 0,g)}k(C,"uponRejection");function P(h,g,S){return b(h,g,S)}k(P,"transformPromiseWith");function A(h){b(h,void 0,o)}k(A,"setPromiseIsHandledToTrue");let E=k(h=>{if(typeof queueMicrotask=="function")E=queueMicrotask;else{let g=p(void 0);E=k(S=>b(g,S),"_queueMicrotask")}return E(h)},"_queueMicrotask");function y(h,g,S){if(typeof h!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(h,g,S)}k(y,"reflectCall");function L(h,g,S){try{return p(y(h,g,S))}catch(F){return m(F)}}k(L,"promiseCall");let I=16384;class T{static{k(this,"SimpleQueue")}constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(g){let S=this._back,F=S;S._elements.length===I-1&&(F={_elements:[],_next:void 0}),S._elements.push(g),F!==S&&(this._back=F,S._next=F),++this._size}shift(){let g=this._front,S=g,F=this._cursor,j=F+1,z=g._elements,K=z[F];return j===I&&(S=g._next,j=0),--this._size,this._cursor=j,g!==S&&(this._front=S),z[F]=void 0,K}forEach(g){let S=this._cursor,F=this._front,j=F._elements;for(;(S!==j.length||F._next!==void 0)&&!(S===j.length&&(F=F._next,j=F._elements,S=0,j.length===0));)g(j[S]),++S}peek(){let g=this._front,S=this._cursor;return g._elements[S]}}let N=Symbol("[[AbortSteps]]"),X=Symbol("[[ErrorSteps]]"),se=Symbol("[[CancelSteps]]"),ie=Symbol("[[PullSteps]]"),te=Symbol("[[ReleaseSteps]]");function Ee(h,g){h._ownerReadableStream=g,g._reader=h,g._state==="readable"?Q(h):g._state==="closed"?Le(h):pe(h,g._storedError)}k(Ee,"ReadableStreamReaderGenericInitialize");function W(h,g){let S=h._ownerReadableStream;return Vn(S,g)}k(W,"ReadableStreamReaderGenericCancel");function G(h){let g=h._ownerReadableStream;g._state==="readable"?Mt(h,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):Wr(h,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),g._readableStreamController[te](),g._reader=void 0,h._ownerReadableStream=void 0}k(G,"ReadableStreamReaderGenericRelease");function Z(h){return new TypeError("Cannot "+h+" a stream using a released reader")}k(Z,"readerLockException");function Q(h){h._closedPromise=f((g,S)=>{h._closedPromise_resolve=g,h._closedPromise_reject=S})}k(Q,"defaultReaderClosedPromiseInitialize");function pe(h,g){Q(h),Mt(h,g)}k(pe,"defaultReaderClosedPromiseInitializeAsRejected");function Le(h){Q(h),Hr(h)}k(Le,"defaultReaderClosedPromiseInitializeAsResolved");function Mt(h,g){h._closedPromise_reject!==void 0&&(A(h._closedPromise),h._closedPromise_reject(g),h._closedPromise_resolve=void 0,h._closedPromise_reject=void 0)}k(Mt,"defaultReaderClosedPromiseReject");function Wr(h,g){pe(h,g)}k(Wr,"defaultReaderClosedPromiseResetToRejected");function Hr(h){h._closedPromise_resolve!==void 0&&(h._closedPromise_resolve(void 0),h._closedPromise_resolve=void 0,h._closedPromise_reject=void 0)}k(Hr,"defaultReaderClosedPromiseResolve");let pt=Number.isFinite||function(h){return typeof h=="number"&&isFinite(h)},Zt=Math.trunc||function(h){return h<0?Math.ceil(h):Math.floor(h)};function Fu(h){return typeof h=="object"||typeof h=="function"}k(Fu,"isDictionary");function Dr(h,g){if(h!==void 0&&!Fu(h))throw new TypeError(`${g} is not an object.`)}k(Dr,"assertDictionary");function Nt(h,g){if(typeof h!="function")throw new TypeError(`${g} is not a function.`)}k(Nt,"assertFunction");function fi(h){return typeof h=="object"&&h!==null||typeof h=="function"}k(fi,"isObject");function pi(h,g){if(!fi(h))throw new TypeError(`${g} is not an object.`)}k(pi,"assertObject");function Pr(h,g,S){if(h===void 0)throw new TypeError(`Parameter ${g} is required in '${S}'.`)}k(Pr,"assertRequiredArgument");function ji(h,g,S){if(h===void 0)throw new TypeError(`${g} is required in '${S}'.`)}k(ji,"assertRequiredField");function ho(h){return Number(h)}k(ho,"convertUnrestrictedDouble");function Mi(h){return h===0?0:h}k(Mi,"censorNegativeZero");function ls(h){return Mi(Zt(h))}k(ls,"integerPart");function Gr(h,g){let S=Number.MAX_SAFE_INTEGER,F=Number(h);if(F=Mi(F),!pt(F))throw new TypeError(`${g} is not a finite number`);if(F=ls(F),F<0||F>S)throw new TypeError(`${g} is outside the accepted range of 0 to ${S}, inclusive`);return!pt(F)||F===0?0:F}k(Gr,"convertUnsignedLongLongWithEnforceRange");function Nn(h,g){if(!Po(h))throw new TypeError(`${g} is not a ReadableStream.`)}k(Nn,"assertReadableStream");function Kr(h){return new Yr(h)}k(Kr,"AcquireReadableStreamDefaultReader");function mo(h,g){h._reader._readRequests.push(g)}k(mo,"ReadableStreamAddReadRequest");function Bn(h,g,S){let F=h._reader._readRequests.shift();S?F._closeSteps():F._chunkSteps(g)}k(Bn,"ReadableStreamFulfillReadRequest");function hi(h){return h._reader._readRequests.length}k(hi,"ReadableStreamGetNumReadRequests");function Or(h){let g=h._reader;return!(g===void 0||!Tr(g))}k(Or,"ReadableStreamHasDefaultReader");class Yr{static{k(this,"ReadableStreamDefaultReader")}constructor(g){if(Pr(g,1,"ReadableStreamDefaultReader"),Nn(g,"First parameter"),Oo(g))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Ee(this,g),this._readRequests=new T}get closed(){return Tr(this)?this._closedPromise:m(Et("closed"))}cancel(g=void 0){return Tr(this)?this._ownerReadableStream===void 0?m(Z("cancel")):W(this,g):m(Et("cancel"))}read(){if(!Tr(this))return m(Et("read"));if(this._ownerReadableStream===void 0)return m(Z("read from"));let g,S,F=f((j,z)=>{g=j,S=z});return di(this,{_chunkSteps:k(j=>g({value:j,done:!1}),"_chunkSteps"),_closeSteps:k(()=>g({value:void 0,done:!0}),"_closeSteps"),_errorSteps:k(j=>S(j),"_errorSteps")}),F}releaseLock(){if(!Tr(this))throw Et("releaseLock");this._ownerReadableStream!==void 0&<(this)}}Object.defineProperties(Yr.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),a(Yr.prototype.cancel,"cancel"),a(Yr.prototype.read,"read"),a(Yr.prototype.releaseLock,"releaseLock"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Yr.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function Tr(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_readRequests")?!1:h instanceof Yr}k(Tr,"IsReadableStreamDefaultReader");function di(h,g){let S=h._ownerReadableStream;S._disturbed=!0,S._state==="closed"?g._closeSteps():S._state==="errored"?g._errorSteps(S._storedError):S._readableStreamController[ie](g)}k(di,"ReadableStreamDefaultReaderRead");function lt(h){G(h);let g=new TypeError("Reader was released");mr(h,g)}k(lt,"ReadableStreamDefaultReaderRelease");function mr(h,g){let S=h._readRequests;h._readRequests=new T,S.forEach(F=>{F._errorSteps(g)})}k(mr,"ReadableStreamDefaultReaderErrorReadRequests");function Et(h){return new TypeError(`ReadableStreamDefaultReader.prototype.${h} can only be used on a ReadableStreamDefaultReader`)}k(Et,"defaultReaderBrandCheckException");let Pc=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class go{static{k(this,"ReadableStreamAsyncIteratorImpl")}constructor(g,S){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=g,this._preventCancel=S}next(){let g=k(()=>this._nextSteps(),"nextSteps");return this._ongoingPromise=this._ongoingPromise?P(this._ongoingPromise,g,g):g(),this._ongoingPromise}return(g){let S=k(()=>this._returnSteps(g),"returnSteps");return this._ongoingPromise?P(this._ongoingPromise,S,S):S()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let g=this._reader,S,F,j=f((z,K)=>{S=z,F=K});return di(g,{_chunkSteps:k(z=>{this._ongoingPromise=void 0,E(()=>S({value:z,done:!1}))},"_chunkSteps"),_closeSteps:k(()=>{this._ongoingPromise=void 0,this._isFinished=!0,G(g),S({value:void 0,done:!0})},"_closeSteps"),_errorSteps:k(z=>{this._ongoingPromise=void 0,this._isFinished=!0,G(g),F(z)},"_errorSteps")}),j}_returnSteps(g){if(this._isFinished)return Promise.resolve({value:g,done:!0});this._isFinished=!0;let S=this._reader;if(!this._preventCancel){let F=W(S,g);return G(S),P(F,()=>({value:g,done:!0}))}return G(S),p({value:g,done:!0})}}let le={next(){return cs(this)?this._asyncIteratorImpl.next():m(fs("next"))},return(h){return cs(this)?this._asyncIteratorImpl.return(h):m(fs("return"))}};Object.setPrototypeOf(le,Pc);function bo(h,g){let S=Kr(h),F=new go(S,g),j=Object.create(le);return j._asyncIteratorImpl=F,j}k(bo,"AcquireReadableStreamAsyncIterator");function cs(h){if(!i(h)||!Object.prototype.hasOwnProperty.call(h,"_asyncIteratorImpl"))return!1;try{return h._asyncIteratorImpl instanceof go}catch{return!1}}k(cs,"IsReadableStreamAsyncIterator");function fs(h){return new TypeError(`ReadableStreamAsyncIterator.${h} can only be used on a ReadableSteamAsyncIterator`)}k(fs,"streamAsyncIteratorBrandCheckException");let qi=Number.isNaN||function(h){return h!==h};var yo,ma,ps;function Qr(h){return h.slice()}k(Qr,"CreateArrayFromList");function er(h,g,S,F,j){new Uint8Array(h).set(new Uint8Array(S,F,j),g)}k(er,"CopyDataBlockBytes");let kt=k(h=>(typeof h.transfer=="function"?kt=k(g=>g.transfer(),"TransferArrayBuffer"):typeof structuredClone=="function"?kt=k(g=>structuredClone(g,{transfer:[g]}),"TransferArrayBuffer"):kt=k(g=>g,"TransferArrayBuffer"),kt(h)),"TransferArrayBuffer"),Xe=k(h=>(typeof h.detached=="boolean"?Xe=k(g=>g.detached,"IsDetachedBuffer"):Xe=k(g=>g.byteLength===0,"IsDetachedBuffer"),Xe(h)),"IsDetachedBuffer");function jn(h,g,S){if(h.slice)return h.slice(g,S);let F=S-g,j=new ArrayBuffer(F);return er(j,0,h,g,F),j}k(jn,"ArrayBufferSlice");function Ae(h,g){let S=h[g];if(S!=null){if(typeof S!="function")throw new TypeError(`${String(g)} is not a function`);return S}}k(Ae,"GetMethod");function hs(h){let g={[Symbol.iterator]:()=>h.iterator},S=async function*(){return yield*g}(),F=S.next;return{iterator:S,nextMethod:F,done:!1}}k(hs,"CreateAsyncFromSyncIterator");let vo=(ps=(yo=Symbol.asyncIterator)!==null&&yo!==void 0?yo:(ma=Symbol.for)===null||ma===void 0?void 0:ma.call(Symbol,"Symbol.asyncIterator"))!==null&&ps!==void 0?ps:"@@asyncIterator";function ga(h,g="sync",S){if(S===void 0)if(g==="async"){if(S=Ae(h,vo),S===void 0){let z=Ae(h,Symbol.iterator),K=ga(h,"sync",z);return hs(K)}}else S=Ae(h,Symbol.iterator);if(S===void 0)throw new TypeError("The object is not iterable");let F=y(S,h,[]);if(!i(F))throw new TypeError("The iterator method must return an object");let j=F.next;return{iterator:F,nextMethod:j,done:!1}}k(ga,"GetIterator");function xo(h){let g=y(h.nextMethod,h.iterator,[]);if(!i(g))throw new TypeError("The iterator.next() method must return an object");return g}k(xo,"IteratorNext");function xn(h){return!!h.done}k(xn,"IteratorComplete");function Iu(h){return h.value}k(Iu,"IteratorValue");function mi(h){return!(typeof h!="number"||qi(h)||h<0)}k(mi,"IsNonNegativeNumber");function gi(h){let g=jn(h.buffer,h.byteOffset,h.byteOffset+h.byteLength);return new Uint8Array(g)}k(gi,"CloneAsUint8Array");function wo(h){let g=h._queue.shift();return h._queueTotalSize-=g.size,h._queueTotalSize<0&&(h._queueTotalSize=0),g.value}k(wo,"DequeueValue");function ba(h,g,S){if(!mi(S)||S===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");h._queue.push({value:g,size:S}),h._queueTotalSize+=S}k(ba,"EnqueueValueWithSize");function ds(h){return h._queue.peek().value}k(ds,"PeekQueueValue");function Xr(h){h._queue=new T,h._queueTotalSize=0}k(Xr,"ResetQueue");function ya(h){return h===DataView}k(ya,"isDataViewConstructor");function ms(h){return ya(h.constructor)}k(ms,"isDataView");function gs(h){return ya(h)?1:h.BYTES_PER_ELEMENT}k(gs,"arrayBufferViewElementSize");class bi{static{k(this,"ReadableStreamBYOBRequest")}constructor(){throw new TypeError("Illegal constructor")}get view(){if(!H(this))throw $u("view");return this._view}respond(g){if(!H(this))throw $u("respond");if(Pr(g,1,"respond"),g=Gr(g,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Xe(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");vs(this._associatedReadableByteStreamController,g)}respondWithNewView(g){if(!H(this))throw $u("respondWithNewView");if(Pr(g,1,"respondWithNewView"),!ArrayBuffer.isView(g))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Xe(g.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");ka(this._associatedReadableByteStreamController,g)}}Object.defineProperties(bi.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),a(bi.prototype.respond,"respond"),a(bi.prototype.respondWithNewView,"respondWithNewView"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(bi.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class Rr{static{k(this,"ReadableByteStreamController")}constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!Mn(this))throw vi("byobRequest");return Jr(this)}get desiredSize(){if(!Mn(this))throw vi("desiredSize");return br(this)}close(){if(!Mn(this))throw vi("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let g=this._controlledReadableByteStream._state;if(g!=="readable")throw new TypeError(`The stream (in ${g} state) is not in the readable state and cannot be closed`);xa(this)}enqueue(g){if(!Mn(this))throw vi("enqueue");if(Pr(g,1,"enqueue"),!ArrayBuffer.isView(g))throw new TypeError("chunk must be an array buffer view");if(g.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(g.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let S=this._controlledReadableByteStream._state;if(S!=="readable")throw new TypeError(`The stream (in ${S} state) is not in the readable state and cannot be enqueued to`);wa(this,g)}error(g=void 0){if(!Mn(this))throw vi("error");Fr(this,g)}[se](g){ae(this),Xr(this);let S=this._cancelAlgorithm(g);return ys(this),S}[ie](g){let S=this._controlledReadableByteStream;if(this._queueTotalSize>0){Lu(this,g);return}let F=this._autoAllocateChunkSize;if(F!==void 0){let j;try{j=new ArrayBuffer(F)}catch(K){g._errorSteps(K);return}let z={buffer:j,bufferByteLength:F,byteOffset:0,byteLength:F,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(z)}mo(S,g),ee(this)}[te](){if(this._pendingPullIntos.length>0){let g=this._pendingPullIntos.peek();g.readerType="none",this._pendingPullIntos=new T,this._pendingPullIntos.push(g)}}}Object.defineProperties(Rr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),a(Rr.prototype.close,"close"),a(Rr.prototype.enqueue,"enqueue"),a(Rr.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Rr.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function Mn(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_controlledReadableByteStream")?!1:h instanceof Rr}k(Mn,"IsReadableByteStreamController");function H(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_associatedReadableByteStreamController")?!1:h instanceof bi}k(H,"IsReadableStreamBYOBRequest");function ee(h){if(!Tc(h))return;if(h._pulling){h._pullAgain=!0;return}h._pulling=!0;let g=h._pullAlgorithm();v(g,()=>(h._pulling=!1,h._pullAgain&&(h._pullAgain=!1,ee(h)),null),S=>(Fr(h,S),null))}k(ee,"ReadableByteStreamControllerCallPullIfNeeded");function ae(h){yi(h),h._pendingPullIntos=new T}k(ae,"ReadableByteStreamControllerClearPendingPullIntos");function be(h,g){let S=!1;h._state==="closed"&&(S=!0);let F=Pe(g);g.readerType==="default"?Bn(h,F,S):Qh(h,F,S)}k(be,"ReadableByteStreamControllerCommitPullIntoDescriptor");function Pe(h){let g=h.bytesFilled,S=h.elementSize;return new h.viewConstructor(h.buffer,h.byteOffset,g/S)}k(Pe,"ReadableByteStreamControllerConvertPullIntoDescriptor");function Ke(h,g,S,F){h._queue.push({buffer:g,byteOffset:S,byteLength:F}),h._queueTotalSize+=F}k(Ke,"ReadableByteStreamControllerEnqueueChunkToQueue");function it(h,g,S,F){let j;try{j=jn(g,S,S+F)}catch(z){throw Fr(h,z),z}Ke(h,j,0,F)}k(it,"ReadableByteStreamControllerEnqueueClonedChunkToQueue");function lr(h,g){g.bytesFilled>0&&it(h,g.buffer,g.byteOffset,g.bytesFilled),_o(h)}k(lr,"ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue");function gr(h,g){let S=Math.min(h._queueTotalSize,g.byteLength-g.bytesFilled),F=g.bytesFilled+S,j=S,z=!1,K=F%g.elementSize,ce=F-K;ce>=g.minimumFill&&(j=ce-g.bytesFilled,z=!0);let ke=h._queue;for(;j>0;){let Re=ke.peek(),Ve=Math.min(j,Re.byteLength),Ue=g.byteOffset+g.bytesFilled;er(g.buffer,Ue,Re.buffer,Re.byteOffset,Ve),Re.byteLength===Ve?ke.shift():(Re.byteOffset+=Ve,Re.byteLength-=Ve),h._queueTotalSize-=Ve,ko(h,Ve,g),j-=Ve}return z}k(gr,"ReadableByteStreamControllerFillPullIntoDescriptorFromQueue");function ko(h,g,S){S.bytesFilled+=g}k(ko,"ReadableByteStreamControllerFillHeadPullIntoDescriptor");function va(h){h._queueTotalSize===0&&h._closeRequested?(ys(h),Uu(h._controlledReadableByteStream)):ee(h)}k(va,"ReadableByteStreamControllerHandleQueueDrain");function yi(h){h._byobRequest!==null&&(h._byobRequest._associatedReadableByteStreamController=void 0,h._byobRequest._view=null,h._byobRequest=null)}k(yi,"ReadableByteStreamControllerInvalidateBYOBRequest");function So(h){for(;h._pendingPullIntos.length>0;){if(h._queueTotalSize===0)return;let g=h._pendingPullIntos.peek();gr(h,g)&&(_o(h),be(h._controlledReadableByteStream,g))}}k(So,"ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue");function Gh(h){let g=h._controlledReadableByteStream._reader;for(;g._readRequests.length>0;){if(h._queueTotalSize===0)return;let S=g._readRequests.shift();Lu(h,S)}}k(Gh,"ReadableByteStreamControllerProcessReadRequestsUsingQueue");function he(h,g,S,F){let j=h._controlledReadableByteStream,z=g.constructor,K=gs(z),{byteOffset:ce,byteLength:ke}=g,Re=S*K,Ve;try{Ve=kt(g.buffer)}catch(ct){F._errorSteps(ct);return}let Ue={buffer:Ve,bufferByteLength:Ve.byteLength,byteOffset:ce,byteLength:ke,bytesFilled:0,minimumFill:Re,elementSize:K,viewConstructor:z,readerType:"byob"};if(h._pendingPullIntos.length>0){h._pendingPullIntos.push(Ue),qe(j,F);return}if(j._state==="closed"){let ct=new z(Ue.buffer,Ue.byteOffset,0);F._closeSteps(ct);return}if(h._queueTotalSize>0){if(gr(h,Ue)){let ct=Pe(Ue);va(h),F._chunkSteps(ct);return}if(h._closeRequested){let ct=new TypeError("Insufficient bytes to fill elements in the given buffer");Fr(h,ct),F._errorSteps(ct);return}}h._pendingPullIntos.push(Ue),qe(j,F),ee(h)}k(he,"ReadableByteStreamControllerPullInto");function bs(h,g){g.readerType==="none"&&_o(h);let S=h._controlledReadableByteStream;if(xs(S))for(;Nu(S)>0;){let F=_o(h);be(S,F)}}k(bs,"ReadableByteStreamControllerRespondInClosedState");function wn(h,g,S){if(ko(h,g,S),S.readerType==="none"){lr(h,S),So(h);return}if(S.bytesFilled<S.minimumFill)return;_o(h);let F=S.bytesFilled%S.elementSize;if(F>0){let j=S.byteOffset+S.bytesFilled;it(h,S.buffer,j-F,F)}S.bytesFilled-=F,be(h._controlledReadableByteStream,S),So(h)}k(wn,"ReadableByteStreamControllerRespondInReadableState");function Oc(h,g){let S=h._pendingPullIntos.peek();yi(h),h._controlledReadableByteStream._state==="closed"?bs(h,S):wn(h,g,S),ee(h)}k(Oc,"ReadableByteStreamControllerRespondInternal");function _o(h){return h._pendingPullIntos.shift()}k(_o,"ReadableByteStreamControllerShiftPendingPullInto");function Tc(h){let g=h._controlledReadableByteStream;return g._state!=="readable"||h._closeRequested||!h._started?!1:!!(Or(g)&&hi(g)>0||xs(g)&&Nu(g)>0||br(h)>0)}k(Tc,"ReadableByteStreamControllerShouldCallPull");function ys(h){h._pullAlgorithm=void 0,h._cancelAlgorithm=void 0}k(ys,"ReadableByteStreamControllerClearAlgorithms");function xa(h){let g=h._controlledReadableByteStream;if(!(h._closeRequested||g._state!=="readable")){if(h._queueTotalSize>0){h._closeRequested=!0;return}if(h._pendingPullIntos.length>0){let S=h._pendingPullIntos.peek();if(S.bytesFilled%S.elementSize!==0){let F=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Fr(h,F),F}}ys(h),Uu(g)}}k(xa,"ReadableByteStreamControllerClose");function wa(h,g){let S=h._controlledReadableByteStream;if(h._closeRequested||S._state!=="readable")return;let{buffer:F,byteOffset:j,byteLength:z}=g;if(Xe(F))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");let K=kt(F);if(h._pendingPullIntos.length>0){let ce=h._pendingPullIntos.peek();if(Xe(ce.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");yi(h),ce.buffer=kt(ce.buffer),ce.readerType==="none"&&lr(h,ce)}if(Or(S))if(Gh(h),hi(S)===0)Ke(h,K,j,z);else{h._pendingPullIntos.length>0&&_o(h);let ce=new Uint8Array(K,j,z);Bn(S,ce,!1)}else xs(S)?(Ke(h,K,j,z),So(h)):Ke(h,K,j,z);ee(h)}k(wa,"ReadableByteStreamControllerEnqueue");function Fr(h,g){let S=h._controlledReadableByteStream;S._state==="readable"&&(ae(h),Xr(h),ys(h),Vy(S,g))}k(Fr,"ReadableByteStreamControllerError");function Lu(h,g){let S=h._queue.shift();h._queueTotalSize-=S.byteLength,va(h);let F=new Uint8Array(S.buffer,S.byteOffset,S.byteLength);g._chunkSteps(F)}k(Lu,"ReadableByteStreamControllerFillReadRequestFromQueue");function Jr(h){if(h._byobRequest===null&&h._pendingPullIntos.length>0){let g=h._pendingPullIntos.peek(),S=new Uint8Array(g.buffer,g.byteOffset+g.bytesFilled,g.byteLength-g.bytesFilled),F=Object.create(bi.prototype);Yh(F,h,S),h._byobRequest=F}return h._byobRequest}k(Jr,"ReadableByteStreamControllerGetBYOBRequest");function br(h){let g=h._controlledReadableByteStream._state;return g==="errored"?null:g==="closed"?0:h._strategyHWM-h._queueTotalSize}k(br,"ReadableByteStreamControllerGetDesiredSize");function vs(h,g){let S=h._pendingPullIntos.peek();if(h._controlledReadableByteStream._state==="closed"){if(g!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(g===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(S.bytesFilled+g>S.byteLength)throw new RangeError("bytesWritten out of range")}S.buffer=kt(S.buffer),Oc(h,g)}k(vs,"ReadableByteStreamControllerRespond");function ka(h,g){let S=h._pendingPullIntos.peek();if(h._controlledReadableByteStream._state==="closed"){if(g.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(g.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(S.byteOffset+S.bytesFilled!==g.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(S.bufferByteLength!==g.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(S.bytesFilled+g.byteLength>S.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let F=g.byteLength;S.buffer=kt(g.buffer),Oc(h,F)}k(ka,"ReadableByteStreamControllerRespondWithNewView");function Rc(h,g,S,F,j,z,K){g._controlledReadableByteStream=h,g._pullAgain=!1,g._pulling=!1,g._byobRequest=null,g._queue=g._queueTotalSize=void 0,Xr(g),g._closeRequested=!1,g._started=!1,g._strategyHWM=z,g._pullAlgorithm=F,g._cancelAlgorithm=j,g._autoAllocateChunkSize=K,g._pendingPullIntos=new T,h._readableStreamController=g;let ce=S();v(p(ce),()=>(g._started=!0,ee(g),null),ke=>(Fr(g,ke),null))}k(Rc,"SetUpReadableByteStreamController");function Kh(h,g,S){let F=Object.create(Rr.prototype),j,z,K;g.start!==void 0?j=k(()=>g.start(F),"startAlgorithm"):j=k(()=>{},"startAlgorithm"),g.pull!==void 0?z=k(()=>g.pull(F),"pullAlgorithm"):z=k(()=>p(void 0),"pullAlgorithm"),g.cancel!==void 0?K=k(ke=>g.cancel(ke),"cancelAlgorithm"):K=k(()=>p(void 0),"cancelAlgorithm");let ce=g.autoAllocateChunkSize;if(ce===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");Rc(h,F,j,z,K,S,ce)}k(Kh,"SetUpReadableByteStreamControllerFromUnderlyingSource");function Yh(h,g,S){h._associatedReadableByteStreamController=g,h._view=S}k(Yh,"SetUpReadableStreamBYOBRequest");function $u(h){return new TypeError(`ReadableStreamBYOBRequest.prototype.${h} can only be used on a ReadableStreamBYOBRequest`)}k($u,"byobRequestBrandCheckException");function vi(h){return new TypeError(`ReadableByteStreamController.prototype.${h} can only be used on a ReadableByteStreamController`)}k(vi,"byteStreamControllerBrandCheckException");function Fc(h,g){Dr(h,g);let S=h?.mode;return{mode:S===void 0?void 0:Ic(S,`${g} has member 'mode' that`)}}k(Fc,"convertReaderOptions");function Ic(h,g){if(h=`${h}`,h!=="byob")throw new TypeError(`${g} '${h}' is not a valid enumeration value for ReadableStreamReaderMode`);return h}k(Ic,"convertReadableStreamReaderMode");function Lc(h,g){var S;Dr(h,g);let F=(S=h?.min)!==null&&S!==void 0?S:1;return{min:Gr(F,`${g} has member 'min' that`)}}k(Lc,"convertByobReadOptions");function Sa(h){return new xi(h)}k(Sa,"AcquireReadableStreamBYOBReader");function qe(h,g){h._reader._readIntoRequests.push(g)}k(qe,"ReadableStreamAddReadIntoRequest");function Qh(h,g,S){let F=h._reader._readIntoRequests.shift();S?F._closeSteps(g):F._chunkSteps(g)}k(Qh,"ReadableStreamFulfillReadIntoRequest");function Nu(h){return h._reader._readIntoRequests.length}k(Nu,"ReadableStreamGetNumReadIntoRequests");function xs(h){let g=h._reader;return!(g===void 0||!Vi(g))}k(xs,"ReadableStreamHasBYOBReader");class xi{static{k(this,"ReadableStreamBYOBReader")}constructor(g){if(Pr(g,1,"ReadableStreamBYOBReader"),Nn(g,"First parameter"),Oo(g))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Mn(g._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");Ee(this,g),this._readIntoRequests=new T}get closed(){return Vi(this)?this._closedPromise:m(d("closed"))}cancel(g=void 0){return Vi(this)?this._ownerReadableStream===void 0?m(Z("cancel")):W(this,g):m(d("cancel"))}read(g,S={}){if(!Vi(this))return m(d("read"));if(!ArrayBuffer.isView(g))return m(new TypeError("view must be an array buffer view"));if(g.byteLength===0)return m(new TypeError("view must have non-zero byteLength"));if(g.buffer.byteLength===0)return m(new TypeError("view's buffer must have non-zero byteLength"));if(Xe(g.buffer))return m(new TypeError("view's buffer has been detached"));let F;try{F=Lc(S,"options")}catch(ke){return m(ke)}let j=F.min;if(j===0)return m(new TypeError("options.min must be greater than 0"));if(ms(g)){if(j>g.byteLength)return m(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(j>g.length)return m(new RangeError("options.min must be less than or equal to view's length"));if(this._ownerReadableStream===void 0)return m(Z("read from"));let z,K,ce=f((ke,Re)=>{z=ke,K=Re});return $c(this,g,j,{_chunkSteps:k(ke=>z({value:ke,done:!1}),"_chunkSteps"),_closeSteps:k(ke=>z({value:ke,done:!0}),"_closeSteps"),_errorSteps:k(ke=>K(ke),"_errorSteps")}),ce}releaseLock(){if(!Vi(this))throw d("releaseLock");this._ownerReadableStream!==void 0&&Xh(this)}}Object.defineProperties(xi.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),a(xi.prototype.cancel,"cancel"),a(xi.prototype.read,"read"),a(xi.prototype.releaseLock,"releaseLock"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(xi.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function Vi(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_readIntoRequests")?!1:h instanceof xi}k(Vi,"IsReadableStreamBYOBReader");function $c(h,g,S,F){let j=h._ownerReadableStream;j._disturbed=!0,j._state==="errored"?F._errorSteps(j._storedError):he(j._readableStreamController,g,S,F)}k($c,"ReadableStreamBYOBReaderRead");function Xh(h){G(h);let g=new TypeError("Reader was released");c(h,g)}k(Xh,"ReadableStreamBYOBReaderRelease");function c(h,g){let S=h._readIntoRequests;h._readIntoRequests=new T,S.forEach(F=>{F._errorSteps(g)})}k(c,"ReadableStreamBYOBReaderErrorReadIntoRequests");function d(h){return new TypeError(`ReadableStreamBYOBReader.prototype.${h} can only be used on a ReadableStreamBYOBReader`)}k(d,"byobReaderBrandCheckException");function x(h,g){let{highWaterMark:S}=h;if(S===void 0)return g;if(qi(S)||S<0)throw new RangeError("Invalid highWaterMark");return S}k(x,"ExtractHighWaterMark");function _(h){let{size:g}=h;return g||(()=>1)}k(_,"ExtractSizeAlgorithm");function O(h,g){Dr(h,g);let S=h?.highWaterMark,F=h?.size;return{highWaterMark:S===void 0?void 0:ho(S),size:F===void 0?void 0:M(F,`${g} has member 'size' that`)}}k(O,"convertQueuingStrategy");function M(h,g){return Nt(h,g),S=>ho(h(S))}k(M,"convertQueuingStrategySize");function V(h,g){Dr(h,g);let S=h?.abort,F=h?.close,j=h?.start,z=h?.type,K=h?.write;return{abort:S===void 0?void 0:re(S,h,`${g} has member 'abort' that`),close:F===void 0?void 0:oe(F,h,`${g} has member 'close' that`),start:j===void 0?void 0:Oe(j,h,`${g} has member 'start' that`),write:K===void 0?void 0:Ne(K,h,`${g} has member 'write' that`),type:z}}k(V,"convertUnderlyingSink");function re(h,g,S){return Nt(h,S),F=>L(h,g,[F])}k(re,"convertUnderlyingSinkAbortCallback");function oe(h,g,S){return Nt(h,S),()=>L(h,g,[])}k(oe,"convertUnderlyingSinkCloseCallback");function Oe(h,g,S){return Nt(h,S),F=>y(h,g,[F])}k(Oe,"convertUnderlyingSinkStartCallback");function Ne(h,g,S){return Nt(h,S),(F,j)=>L(h,g,[F,j])}k(Ne,"convertUnderlyingSinkWriteCallback");function ot(h,g){if(!ks(h))throw new TypeError(`${g} is not a WritableStream.`)}k(ot,"assertWritableStream");function Kt(h){if(typeof h!="object"||h===null)return!1;try{return typeof h.aborted=="boolean"}catch{return!1}}k(Kt,"isAbortSignal");let ws=typeof AbortController=="function";function Co(){if(ws)return new AbortController}k(Co,"createAbortController");class kn{static{k(this,"WritableStream")}constructor(g={},S={}){g===void 0?g=null:pi(g,"First parameter");let F=O(S,"Second parameter"),j=V(g,"First parameter");if(_y(this),j.type!==void 0)throw new RangeError("Invalid type is specified");let z=_(F),K=x(F,1);PE(this,j,K,z)}get locked(){if(!ks(this))throw qc("locked");return Ss(this)}abort(g=void 0){return ks(this)?Ss(this)?m(new TypeError("Cannot abort a stream that already has a writer")):Nc(this,g):m(qc("abort"))}close(){return ks(this)?Ss(this)?m(new TypeError("Cannot close a stream that already has a writer")):wi(this)?m(new TypeError("Cannot close an already-closing stream")):Cy(this):m(qc("close"))}getWriter(){if(!ks(this))throw qc("getWriter");return Ui(this)}}Object.defineProperties(kn.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),a(kn.prototype.abort,"abort"),a(kn.prototype.close,"close"),a(kn.prototype.getWriter,"getWriter"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(kn.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});function Ui(h){return new Ao(h)}k(Ui,"AcquireWritableStreamDefaultWriter");function Eo(h,g,S,F,j=1,z=()=>1){let K=Object.create(kn.prototype);_y(K);let ce=Object.create(Bu.prototype);return Oy(K,ce,h,g,S,F,j,z),K}k(Eo,"CreateWritableStream");function _y(h){h._state="writable",h._storedError=void 0,h._writer=void 0,h._writableStreamController=void 0,h._writeRequests=new T,h._inFlightWriteRequest=void 0,h._closeRequest=void 0,h._inFlightCloseRequest=void 0,h._pendingAbortRequest=void 0,h._backpressure=!1}k(_y,"InitializeWritableStream");function ks(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_writableStreamController")?!1:h instanceof kn}k(ks,"IsWritableStream");function Ss(h){return h._writer!==void 0}k(Ss,"IsWritableStreamLocked");function Nc(h,g){var S;if(h._state==="closed"||h._state==="errored")return p(void 0);h._writableStreamController._abortReason=g,(S=h._writableStreamController._abortController)===null||S===void 0||S.abort(g);let F=h._state;if(F==="closed"||F==="errored")return p(void 0);if(h._pendingAbortRequest!==void 0)return h._pendingAbortRequest._promise;let j=!1;F==="erroring"&&(j=!0,g=void 0);let z=f((K,ce)=>{h._pendingAbortRequest={_promise:void 0,_resolve:K,_reject:ce,_reason:g,_wasAlreadyErroring:j}});return h._pendingAbortRequest._promise=z,j||Zh(h,g),z}k(Nc,"WritableStreamAbort");function Cy(h){let g=h._state;if(g==="closed"||g==="errored")return m(new TypeError(`The stream (in ${g} state) is not in the writable state and cannot be closed`));let S=f((j,z)=>{let K={_resolve:j,_reject:z};h._closeRequest=K}),F=h._writer;return F!==void 0&&h._backpressure&&g==="writable"&&sd(F),OE(h._writableStreamController),S}k(Cy,"WritableStreamClose");function gE(h){return f((g,S)=>{let F={_resolve:g,_reject:S};h._writeRequests.push(F)})}k(gE,"WritableStreamAddWriteRequest");function Jh(h,g){if(h._state==="writable"){Zh(h,g);return}ed(h)}k(Jh,"WritableStreamDealWithRejection");function Zh(h,g){let S=h._writableStreamController;h._state="erroring",h._storedError=g;let F=h._writer;F!==void 0&&Ay(F,g),!wE(h)&&S._started&&ed(h)}k(Zh,"WritableStreamStartErroring");function ed(h){h._state="errored",h._writableStreamController[X]();let g=h._storedError;if(h._writeRequests.forEach(j=>{j._reject(g)}),h._writeRequests=new T,h._pendingAbortRequest===void 0){Bc(h);return}let S=h._pendingAbortRequest;if(h._pendingAbortRequest=void 0,S._wasAlreadyErroring){S._reject(g),Bc(h);return}let F=h._writableStreamController[N](S._reason);v(F,()=>(S._resolve(),Bc(h),null),j=>(S._reject(j),Bc(h),null))}k(ed,"WritableStreamFinishErroring");function bE(h){h._inFlightWriteRequest._resolve(void 0),h._inFlightWriteRequest=void 0}k(bE,"WritableStreamFinishInFlightWrite");function yE(h,g){h._inFlightWriteRequest._reject(g),h._inFlightWriteRequest=void 0,Jh(h,g)}k(yE,"WritableStreamFinishInFlightWriteWithError");function vE(h){h._inFlightCloseRequest._resolve(void 0),h._inFlightCloseRequest=void 0,h._state==="erroring"&&(h._storedError=void 0,h._pendingAbortRequest!==void 0&&(h._pendingAbortRequest._resolve(),h._pendingAbortRequest=void 0)),h._state="closed";let g=h._writer;g!==void 0&&Iy(g)}k(vE,"WritableStreamFinishInFlightClose");function xE(h,g){h._inFlightCloseRequest._reject(g),h._inFlightCloseRequest=void 0,h._pendingAbortRequest!==void 0&&(h._pendingAbortRequest._reject(g),h._pendingAbortRequest=void 0),Jh(h,g)}k(xE,"WritableStreamFinishInFlightCloseWithError");function wi(h){return!(h._closeRequest===void 0&&h._inFlightCloseRequest===void 0)}k(wi,"WritableStreamCloseQueuedOrInFlight");function wE(h){return!(h._inFlightWriteRequest===void 0&&h._inFlightCloseRequest===void 0)}k(wE,"WritableStreamHasOperationMarkedInFlight");function kE(h){h._inFlightCloseRequest=h._closeRequest,h._closeRequest=void 0}k(kE,"WritableStreamMarkCloseRequestInFlight");function SE(h){h._inFlightWriteRequest=h._writeRequests.shift()}k(SE,"WritableStreamMarkFirstWriteRequestInFlight");function Bc(h){h._closeRequest!==void 0&&(h._closeRequest._reject(h._storedError),h._closeRequest=void 0);let g=h._writer;g!==void 0&&od(g,h._storedError)}k(Bc,"WritableStreamRejectCloseAndClosedPromiseIfNeeded");function td(h,g){let S=h._writer;S!==void 0&&g!==h._backpressure&&(g?NE(S):sd(S)),h._backpressure=g}k(td,"WritableStreamUpdateBackpressure");class Ao{static{k(this,"WritableStreamDefaultWriter")}constructor(g){if(Pr(g,1,"WritableStreamDefaultWriter"),ot(g,"First parameter"),Ss(g))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=g,g._writer=this;let S=g._state;if(S==="writable")!wi(g)&&g._backpressure?Uc(this):Ly(this),Vc(this);else if(S==="erroring")ad(this,g._storedError),Vc(this);else if(S==="closed")Ly(this),LE(this);else{let F=g._storedError;ad(this,F),Fy(this,F)}}get closed(){return _a(this)?this._closedPromise:m(Ca("closed"))}get desiredSize(){if(!_a(this))throw Ca("desiredSize");if(this._ownerWritableStream===void 0)throw Mu("desiredSize");return AE(this)}get ready(){return _a(this)?this._readyPromise:m(Ca("ready"))}abort(g=void 0){return _a(this)?this._ownerWritableStream===void 0?m(Mu("abort")):_E(this,g):m(Ca("abort"))}close(){if(!_a(this))return m(Ca("close"));let g=this._ownerWritableStream;return g===void 0?m(Mu("close")):wi(g)?m(new TypeError("Cannot close an already-closing stream")):Ey(this)}releaseLock(){if(!_a(this))throw Ca("releaseLock");this._ownerWritableStream!==void 0&&Dy(this)}write(g=void 0){return _a(this)?this._ownerWritableStream===void 0?m(Mu("write to")):Py(this,g):m(Ca("write"))}}Object.defineProperties(Ao.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),a(Ao.prototype.abort,"abort"),a(Ao.prototype.close,"close"),a(Ao.prototype.releaseLock,"releaseLock"),a(Ao.prototype.write,"write"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Ao.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function _a(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_ownerWritableStream")?!1:h instanceof Ao}k(_a,"IsWritableStreamDefaultWriter");function _E(h,g){let S=h._ownerWritableStream;return Nc(S,g)}k(_E,"WritableStreamDefaultWriterAbort");function Ey(h){let g=h._ownerWritableStream;return Cy(g)}k(Ey,"WritableStreamDefaultWriterClose");function CE(h){let g=h._ownerWritableStream,S=g._state;return wi(g)||S==="closed"?p(void 0):S==="errored"?m(g._storedError):Ey(h)}k(CE,"WritableStreamDefaultWriterCloseWithErrorPropagation");function EE(h,g){h._closedPromiseState==="pending"?od(h,g):$E(h,g)}k(EE,"WritableStreamDefaultWriterEnsureClosedPromiseRejected");function Ay(h,g){h._readyPromiseState==="pending"?$y(h,g):BE(h,g)}k(Ay,"WritableStreamDefaultWriterEnsureReadyPromiseRejected");function AE(h){let g=h._ownerWritableStream,S=g._state;return S==="errored"||S==="erroring"?null:S==="closed"?0:Ty(g._writableStreamController)}k(AE,"WritableStreamDefaultWriterGetDesiredSize");function Dy(h){let g=h._ownerWritableStream,S=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Ay(h,S),EE(h,S),g._writer=void 0,h._ownerWritableStream=void 0}k(Dy,"WritableStreamDefaultWriterRelease");function Py(h,g){let S=h._ownerWritableStream,F=S._writableStreamController,j=TE(F,g);if(S!==h._ownerWritableStream)return m(Mu("write to"));let z=S._state;if(z==="errored")return m(S._storedError);if(wi(S)||z==="closed")return m(new TypeError("The stream is closing or closed and cannot be written to"));if(z==="erroring")return m(S._storedError);let K=gE(S);return RE(F,g,j),K}k(Py,"WritableStreamDefaultWriterWrite");let DE={};class Bu{static{k(this,"WritableStreamDefaultController")}constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!rd(this))throw id("abortReason");return this._abortReason}get signal(){if(!rd(this))throw id("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(g=void 0){if(!rd(this))throw id("error");this._controlledWritableStream._state==="writable"&&Ry(this,g)}[N](g){let S=this._abortAlgorithm(g);return jc(this),S}[X](){Xr(this)}}Object.defineProperties(Bu.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Bu.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function rd(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_controlledWritableStream")?!1:h instanceof Bu}k(rd,"IsWritableStreamDefaultController");function Oy(h,g,S,F,j,z,K,ce){g._controlledWritableStream=h,h._writableStreamController=g,g._queue=void 0,g._queueTotalSize=void 0,Xr(g),g._abortReason=void 0,g._abortController=Co(),g._started=!1,g._strategySizeAlgorithm=ce,g._strategyHWM=K,g._writeAlgorithm=F,g._closeAlgorithm=j,g._abortAlgorithm=z;let ke=nd(g);td(h,ke);let Re=S(),Ve=p(Re);v(Ve,()=>(g._started=!0,Mc(g),null),Ue=>(g._started=!0,Jh(h,Ue),null))}k(Oy,"SetUpWritableStreamDefaultController");function PE(h,g,S,F){let j=Object.create(Bu.prototype),z,K,ce,ke;g.start!==void 0?z=k(()=>g.start(j),"startAlgorithm"):z=k(()=>{},"startAlgorithm"),g.write!==void 0?K=k(Re=>g.write(Re,j),"writeAlgorithm"):K=k(()=>p(void 0),"writeAlgorithm"),g.close!==void 0?ce=k(()=>g.close(),"closeAlgorithm"):ce=k(()=>p(void 0),"closeAlgorithm"),g.abort!==void 0?ke=k(Re=>g.abort(Re),"abortAlgorithm"):ke=k(()=>p(void 0),"abortAlgorithm"),Oy(h,j,z,K,ce,ke,S,F)}k(PE,"SetUpWritableStreamDefaultControllerFromUnderlyingSink");function jc(h){h._writeAlgorithm=void 0,h._closeAlgorithm=void 0,h._abortAlgorithm=void 0,h._strategySizeAlgorithm=void 0}k(jc,"WritableStreamDefaultControllerClearAlgorithms");function OE(h){ba(h,DE,0),Mc(h)}k(OE,"WritableStreamDefaultControllerClose");function TE(h,g){try{return h._strategySizeAlgorithm(g)}catch(S){return ju(h,S),1}}k(TE,"WritableStreamDefaultControllerGetChunkSize");function Ty(h){return h._strategyHWM-h._queueTotalSize}k(Ty,"WritableStreamDefaultControllerGetDesiredSize");function RE(h,g,S){try{ba(h,g,S)}catch(j){ju(h,j);return}let F=h._controlledWritableStream;if(!wi(F)&&F._state==="writable"){let j=nd(h);td(F,j)}Mc(h)}k(RE,"WritableStreamDefaultControllerWrite");function Mc(h){let g=h._controlledWritableStream;if(!h._started||g._inFlightWriteRequest!==void 0)return;if(g._state==="erroring"){ed(g);return}if(h._queue.length===0)return;let S=ds(h);S===DE?FE(h):IE(h,S)}k(Mc,"WritableStreamDefaultControllerAdvanceQueueIfNeeded");function ju(h,g){h._controlledWritableStream._state==="writable"&&Ry(h,g)}k(ju,"WritableStreamDefaultControllerErrorIfNeeded");function FE(h){let g=h._controlledWritableStream;kE(g),wo(h);let S=h._closeAlgorithm();jc(h),v(S,()=>(vE(g),null),F=>(xE(g,F),null))}k(FE,"WritableStreamDefaultControllerProcessClose");function IE(h,g){let S=h._controlledWritableStream;SE(S);let F=h._writeAlgorithm(g);v(F,()=>{bE(S);let j=S._state;if(wo(h),!wi(S)&&j==="writable"){let z=nd(h);td(S,z)}return Mc(h),null},j=>(S._state==="writable"&&jc(h),yE(S,j),null))}k(IE,"WritableStreamDefaultControllerProcessWrite");function nd(h){return Ty(h)<=0}k(nd,"WritableStreamDefaultControllerGetBackpressure");function Ry(h,g){let S=h._controlledWritableStream;jc(h),Zh(S,g)}k(Ry,"WritableStreamDefaultControllerError");function qc(h){return new TypeError(`WritableStream.prototype.${h} can only be used on a WritableStream`)}k(qc,"streamBrandCheckException$2");function id(h){return new TypeError(`WritableStreamDefaultController.prototype.${h} can only be used on a WritableStreamDefaultController`)}k(id,"defaultControllerBrandCheckException$2");function Ca(h){return new TypeError(`WritableStreamDefaultWriter.prototype.${h} can only be used on a WritableStreamDefaultWriter`)}k(Ca,"defaultWriterBrandCheckException");function Mu(h){return new TypeError("Cannot "+h+" a stream using a released writer")}k(Mu,"defaultWriterLockException");function Vc(h){h._closedPromise=f((g,S)=>{h._closedPromise_resolve=g,h._closedPromise_reject=S,h._closedPromiseState="pending"})}k(Vc,"defaultWriterClosedPromiseInitialize");function Fy(h,g){Vc(h),od(h,g)}k(Fy,"defaultWriterClosedPromiseInitializeAsRejected");function LE(h){Vc(h),Iy(h)}k(LE,"defaultWriterClosedPromiseInitializeAsResolved");function od(h,g){h._closedPromise_reject!==void 0&&(A(h._closedPromise),h._closedPromise_reject(g),h._closedPromise_resolve=void 0,h._closedPromise_reject=void 0,h._closedPromiseState="rejected")}k(od,"defaultWriterClosedPromiseReject");function $E(h,g){Fy(h,g)}k($E,"defaultWriterClosedPromiseResetToRejected");function Iy(h){h._closedPromise_resolve!==void 0&&(h._closedPromise_resolve(void 0),h._closedPromise_resolve=void 0,h._closedPromise_reject=void 0,h._closedPromiseState="resolved")}k(Iy,"defaultWriterClosedPromiseResolve");function Uc(h){h._readyPromise=f((g,S)=>{h._readyPromise_resolve=g,h._readyPromise_reject=S}),h._readyPromiseState="pending"}k(Uc,"defaultWriterReadyPromiseInitialize");function ad(h,g){Uc(h),$y(h,g)}k(ad,"defaultWriterReadyPromiseInitializeAsRejected");function Ly(h){Uc(h),sd(h)}k(Ly,"defaultWriterReadyPromiseInitializeAsResolved");function $y(h,g){h._readyPromise_reject!==void 0&&(A(h._readyPromise),h._readyPromise_reject(g),h._readyPromise_resolve=void 0,h._readyPromise_reject=void 0,h._readyPromiseState="rejected")}k($y,"defaultWriterReadyPromiseReject");function NE(h){Uc(h)}k(NE,"defaultWriterReadyPromiseReset");function BE(h,g){ad(h,g)}k(BE,"defaultWriterReadyPromiseResetToRejected");function sd(h){h._readyPromise_resolve!==void 0&&(h._readyPromise_resolve(void 0),h._readyPromise_resolve=void 0,h._readyPromise_reject=void 0,h._readyPromiseState="fulfilled")}k(sd,"defaultWriterReadyPromiseResolve");function jE(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof Cv<"u")return Cv}k(jE,"getGlobals");let IM=jE();function ME(h){if(!(typeof h=="function"||typeof h=="object")||h.name!=="DOMException")return!1;try{return new h,!0}catch{return!1}}k(ME,"isDOMExceptionConstructor");function qE(){let h=IM?.DOMException;return ME(h)?h:void 0}k(qE,"getFromGlobal");function VE(){let h=k(function(g,S){this.message=g||"",this.name=S||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)},"DOMException");return a(h,"DOMException"),h.prototype=Object.create(Error.prototype),Object.defineProperty(h.prototype,"constructor",{value:h,writable:!0,configurable:!0}),h}k(VE,"createPolyfill");let LM=qE()||VE();function Ny(h,g,S,F,j,z){let K=Kr(h),ce=Ui(g);h._disturbed=!0;let ke=!1,Re=p(void 0);return f((Ve,Ue)=>{let ct;if(z!==void 0){if(ct=k(()=>{let Ce=z.reason!==void 0?z.reason:new LM("Aborted","AbortError"),tt=[];F||tt.push(()=>g._state==="writable"?Nc(g,Ce):p(void 0)),j||tt.push(()=>h._state==="readable"?Vn(h,Ce):p(void 0)),Ir(()=>Promise.all(tt.map(at=>at())),!0,Ce)},"abortAlgorithm"),z.aborted){ct();return}z.addEventListener("abort",ct)}function Zr(){return f((Ce,tt)=>{function at(Lr){Lr?Ce():b(To(),at,tt)}k(at,"next"),at(!1)})}k(Zr,"pipeLoop");function To(){return ke?p(!0):b(ce._readyPromise,()=>f((Ce,tt)=>{di(K,{_chunkSteps:k(at=>{Re=b(Py(ce,at),void 0,n),Ce(!1)},"_chunkSteps"),_closeSteps:k(()=>Ce(!0),"_closeSteps"),_errorSteps:tt})}))}if(k(To,"pipeStep"),Un(h,K._closedPromise,Ce=>(F?en(!0,Ce):Ir(()=>Nc(g,Ce),!0,Ce),null)),Un(g,ce._closedPromise,Ce=>(j?en(!0,Ce):Ir(()=>Vn(h,Ce),!0,Ce),null)),Yt(h,K._closedPromise,()=>(S?en():Ir(()=>CE(ce)),null)),wi(g)||g._state==="closed"){let Ce=new TypeError("the destination writable stream closed before all data could be piped to it");j?en(!0,Ce):Ir(()=>Vn(h,Ce),!0,Ce)}A(Zr());function ki(){let Ce=Re;return b(Re,()=>Ce!==Re?ki():void 0)}k(ki,"waitForWritesToFinish");function Un(Ce,tt,at){Ce._state==="errored"?at(Ce._storedError):C(tt,at)}k(Un,"isOrBecomesErrored");function Yt(Ce,tt,at){Ce._state==="closed"?at():w(tt,at)}k(Yt,"isOrBecomesClosed");function Ir(Ce,tt,at){if(ke)return;ke=!0,g._state==="writable"&&!wi(g)?w(ki(),Lr):Lr();function Lr(){return v(Ce(),()=>Ro(tt,at),Pa=>Ro(!0,Pa)),null}k(Lr,"doTheRest")}k(Ir,"shutdownWithAction");function en(Ce,tt){ke||(ke=!0,g._state==="writable"&&!wi(g)?w(ki(),()=>Ro(Ce,tt)):Ro(Ce,tt))}k(en,"shutdown");function Ro(Ce,tt){return Dy(ce),G(K),z!==void 0&&z.removeEventListener("abort",ct),Ce?Ue(tt):Ve(void 0),null}k(Ro,"finalize")})}k(Ny,"ReadableStreamPipeTo");class Do{static{k(this,"ReadableStreamDefaultController")}constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!zc(this))throw Hc("desiredSize");return ud(this)}close(){if(!zc(this))throw Hc("close");if(!Cs(this))throw new TypeError("The stream is not in a state that permits close");Ea(this)}enqueue(g=void 0){if(!zc(this))throw Hc("enqueue");if(!Cs(this))throw new TypeError("The stream is not in a state that permits enqueue");return _s(this,g)}error(g=void 0){if(!zc(this))throw Hc("error");qn(this,g)}[se](g){Xr(this);let S=this._cancelAlgorithm(g);return Wc(this),S}[ie](g){let S=this._controlledReadableStream;if(this._queue.length>0){let F=wo(this);this._closeRequested&&this._queue.length===0?(Wc(this),Uu(S)):qu(this),g._chunkSteps(F)}else mo(S,g),qu(this)}[te](){}}Object.defineProperties(Do.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),a(Do.prototype.close,"close"),a(Do.prototype.enqueue,"enqueue"),a(Do.prototype.error,"error"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Do.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function zc(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_controlledReadableStream")?!1:h instanceof Do}k(zc,"IsReadableStreamDefaultController");function qu(h){if(!By(h))return;if(h._pulling){h._pullAgain=!0;return}h._pulling=!0;let g=h._pullAlgorithm();v(g,()=>(h._pulling=!1,h._pullAgain&&(h._pullAgain=!1,qu(h)),null),S=>(qn(h,S),null))}k(qu,"ReadableStreamDefaultControllerCallPullIfNeeded");function By(h){let g=h._controlledReadableStream;return!Cs(h)||!h._started?!1:!!(Oo(g)&&hi(g)>0||ud(h)>0)}k(By,"ReadableStreamDefaultControllerShouldCallPull");function Wc(h){h._pullAlgorithm=void 0,h._cancelAlgorithm=void 0,h._strategySizeAlgorithm=void 0}k(Wc,"ReadableStreamDefaultControllerClearAlgorithms");function Ea(h){if(!Cs(h))return;let g=h._controlledReadableStream;h._closeRequested=!0,h._queue.length===0&&(Wc(h),Uu(g))}k(Ea,"ReadableStreamDefaultControllerClose");function _s(h,g){if(!Cs(h))return;let S=h._controlledReadableStream;if(Oo(S)&&hi(S)>0)Bn(S,g,!1);else{let F;try{F=h._strategySizeAlgorithm(g)}catch(j){throw qn(h,j),j}try{ba(h,g,F)}catch(j){throw qn(h,j),j}}qu(h)}k(_s,"ReadableStreamDefaultControllerEnqueue");function qn(h,g){let S=h._controlledReadableStream;S._state==="readable"&&(Xr(h),Wc(h),Vy(S,g))}k(qn,"ReadableStreamDefaultControllerError");function ud(h){let g=h._controlledReadableStream._state;return g==="errored"?null:g==="closed"?0:h._strategyHWM-h._queueTotalSize}k(ud,"ReadableStreamDefaultControllerGetDesiredSize");function UE(h){return!By(h)}k(UE,"ReadableStreamDefaultControllerHasBackpressure");function Cs(h){let g=h._controlledReadableStream._state;return!h._closeRequested&&g==="readable"}k(Cs,"ReadableStreamDefaultControllerCanCloseOrEnqueue");function jy(h,g,S,F,j,z,K){g._controlledReadableStream=h,g._queue=void 0,g._queueTotalSize=void 0,Xr(g),g._started=!1,g._closeRequested=!1,g._pullAgain=!1,g._pulling=!1,g._strategySizeAlgorithm=K,g._strategyHWM=z,g._pullAlgorithm=F,g._cancelAlgorithm=j,h._readableStreamController=g;let ce=S();v(p(ce),()=>(g._started=!0,qu(g),null),ke=>(qn(g,ke),null))}k(jy,"SetUpReadableStreamDefaultController");function zE(h,g,S,F){let j=Object.create(Do.prototype),z,K,ce;g.start!==void 0?z=k(()=>g.start(j),"startAlgorithm"):z=k(()=>{},"startAlgorithm"),g.pull!==void 0?K=k(()=>g.pull(j),"pullAlgorithm"):K=k(()=>p(void 0),"pullAlgorithm"),g.cancel!==void 0?ce=k(ke=>g.cancel(ke),"cancelAlgorithm"):ce=k(()=>p(void 0),"cancelAlgorithm"),jy(h,j,z,K,ce,S,F)}k(zE,"SetUpReadableStreamDefaultControllerFromUnderlyingSource");function Hc(h){return new TypeError(`ReadableStreamDefaultController.prototype.${h} can only be used on a ReadableStreamDefaultController`)}k(Hc,"defaultControllerBrandCheckException$1");function WE(h,g){return Mn(h._readableStreamController)?GE(h):HE(h)}k(WE,"ReadableStreamTee");function HE(h,g){let S=Kr(h),F=!1,j=!1,z=!1,K=!1,ce,ke,Re,Ve,Ue,ct=f(Yt=>{Ue=Yt});function Zr(){return F?(j=!0,p(void 0)):(F=!0,di(S,{_chunkSteps:k(Yt=>{E(()=>{j=!1;let Ir=Yt,en=Yt;z||_s(Re._readableStreamController,Ir),K||_s(Ve._readableStreamController,en),F=!1,j&&Zr()})},"_chunkSteps"),_closeSteps:k(()=>{F=!1,z||Ea(Re._readableStreamController),K||Ea(Ve._readableStreamController),(!z||!K)&&Ue(void 0)},"_closeSteps"),_errorSteps:k(()=>{F=!1},"_errorSteps")}),p(void 0))}k(Zr,"pullAlgorithm");function To(Yt){if(z=!0,ce=Yt,K){let Ir=Qr([ce,ke]),en=Vn(h,Ir);Ue(en)}return ct}k(To,"cancel1Algorithm");function ki(Yt){if(K=!0,ke=Yt,z){let Ir=Qr([ce,ke]),en=Vn(h,Ir);Ue(en)}return ct}k(ki,"cancel2Algorithm");function Un(){}return k(Un,"startAlgorithm"),Re=Vu(Un,Zr,To),Ve=Vu(Un,Zr,ki),C(S._closedPromise,Yt=>(qn(Re._readableStreamController,Yt),qn(Ve._readableStreamController,Yt),(!z||!K)&&Ue(void 0),null)),[Re,Ve]}k(HE,"ReadableStreamDefaultTee");function GE(h){let g=Kr(h),S=!1,F=!1,j=!1,z=!1,K=!1,ce,ke,Re,Ve,Ue,ct=f(Ce=>{Ue=Ce});function Zr(Ce){C(Ce._closedPromise,tt=>(Ce!==g||(Fr(Re._readableStreamController,tt),Fr(Ve._readableStreamController,tt),(!z||!K)&&Ue(void 0)),null))}k(Zr,"forwardReaderError");function To(){Vi(g)&&(G(g),g=Kr(h),Zr(g)),di(g,{_chunkSteps:k(Ce=>{E(()=>{F=!1,j=!1;let tt=Ce,at=Ce;if(!z&&!K)try{at=gi(Ce)}catch(Lr){Fr(Re._readableStreamController,Lr),Fr(Ve._readableStreamController,Lr),Ue(Vn(h,Lr));return}z||wa(Re._readableStreamController,tt),K||wa(Ve._readableStreamController,at),S=!1,F?Un():j&&Yt()})},"_chunkSteps"),_closeSteps:k(()=>{S=!1,z||xa(Re._readableStreamController),K||xa(Ve._readableStreamController),Re._readableStreamController._pendingPullIntos.length>0&&vs(Re._readableStreamController,0),Ve._readableStreamController._pendingPullIntos.length>0&&vs(Ve._readableStreamController,0),(!z||!K)&&Ue(void 0)},"_closeSteps"),_errorSteps:k(()=>{S=!1},"_errorSteps")})}k(To,"pullWithDefaultReader");function ki(Ce,tt){Tr(g)&&(G(g),g=Sa(h),Zr(g));let at=tt?Ve:Re,Lr=tt?Re:Ve;$c(g,Ce,1,{_chunkSteps:k(Pa=>{E(()=>{F=!1,j=!1;let zu=tt?K:z;if(tt?z:K)zu||ka(at._readableStreamController,Pa);else{let Wu;try{Wu=gi(Pa)}catch(Zy){Fr(at._readableStreamController,Zy),Fr(Lr._readableStreamController,Zy),Ue(Vn(h,Zy));return}zu||ka(at._readableStreamController,Pa),wa(Lr._readableStreamController,Wu)}S=!1,F?Un():j&&Yt()})},"_chunkSteps"),_closeSteps:k(Pa=>{S=!1;let zu=tt?K:z,Wu=tt?z:K;zu||xa(at._readableStreamController),Wu||xa(Lr._readableStreamController),Pa!==void 0&&(zu||ka(at._readableStreamController,Pa),!Wu&&Lr._readableStreamController._pendingPullIntos.length>0&&vs(Lr._readableStreamController,0)),(!zu||!Wu)&&Ue(void 0)},"_closeSteps"),_errorSteps:k(()=>{S=!1},"_errorSteps")})}k(ki,"pullWithBYOBReader");function Un(){if(S)return F=!0,p(void 0);S=!0;let Ce=Jr(Re._readableStreamController);return Ce===null?To():ki(Ce._view,!1),p(void 0)}k(Un,"pull1Algorithm");function Yt(){if(S)return j=!0,p(void 0);S=!0;let Ce=Jr(Ve._readableStreamController);return Ce===null?To():ki(Ce._view,!0),p(void 0)}k(Yt,"pull2Algorithm");function Ir(Ce){if(z=!0,ce=Ce,K){let tt=Qr([ce,ke]),at=Vn(h,tt);Ue(at)}return ct}k(Ir,"cancel1Algorithm");function en(Ce){if(K=!0,ke=Ce,z){let tt=Qr([ce,ke]),at=Vn(h,tt);Ue(at)}return ct}k(en,"cancel2Algorithm");function Ro(){}return k(Ro,"startAlgorithm"),Re=qy(Ro,Un,Ir),Ve=qy(Ro,Yt,en),Zr(g),[Re,Ve]}k(GE,"ReadableByteStreamTee");function KE(h){return i(h)&&typeof h.getReader<"u"}k(KE,"isReadableStreamLike");function YE(h){return KE(h)?XE(h.getReader()):QE(h)}k(YE,"ReadableStreamFrom");function QE(h){let g,S=ga(h,"async"),F=n;function j(){let K;try{K=xo(S)}catch(ke){return m(ke)}let ce=p(K);return P(ce,ke=>{if(!i(ke))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(xn(ke))Ea(g._readableStreamController);else{let Re=Iu(ke);_s(g._readableStreamController,Re)}})}k(j,"pullAlgorithm");function z(K){let ce=S.iterator,ke;try{ke=Ae(ce,"return")}catch(Ue){return m(Ue)}if(ke===void 0)return p(void 0);let Re;try{Re=y(ke,ce,[K])}catch(Ue){return m(Ue)}let Ve=p(Re);return P(Ve,Ue=>{if(!i(Ue))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return k(z,"cancelAlgorithm"),g=Vu(F,j,z,0),g}k(QE,"ReadableStreamFromIterable");function XE(h){let g,S=n;function F(){let z;try{z=h.read()}catch(K){return m(K)}return P(z,K=>{if(!i(K))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if(K.done)Ea(g._readableStreamController);else{let ce=K.value;_s(g._readableStreamController,ce)}})}k(F,"pullAlgorithm");function j(z){try{return p(h.cancel(z))}catch(K){return m(K)}}return k(j,"cancelAlgorithm"),g=Vu(S,F,j,0),g}k(XE,"ReadableStreamFromDefaultReader");function JE(h,g){Dr(h,g);let S=h,F=S?.autoAllocateChunkSize,j=S?.cancel,z=S?.pull,K=S?.start,ce=S?.type;return{autoAllocateChunkSize:F===void 0?void 0:Gr(F,`${g} has member 'autoAllocateChunkSize' that`),cancel:j===void 0?void 0:ZE(j,S,`${g} has member 'cancel' that`),pull:z===void 0?void 0:eA(z,S,`${g} has member 'pull' that`),start:K===void 0?void 0:tA(K,S,`${g} has member 'start' that`),type:ce===void 0?void 0:rA(ce,`${g} has member 'type' that`)}}k(JE,"convertUnderlyingDefaultOrByteSource");function ZE(h,g,S){return Nt(h,S),F=>L(h,g,[F])}k(ZE,"convertUnderlyingSourceCancelCallback");function eA(h,g,S){return Nt(h,S),F=>L(h,g,[F])}k(eA,"convertUnderlyingSourcePullCallback");function tA(h,g,S){return Nt(h,S),F=>y(h,g,[F])}k(tA,"convertUnderlyingSourceStartCallback");function rA(h,g){if(h=`${h}`,h!=="bytes")throw new TypeError(`${g} '${h}' is not a valid enumeration value for ReadableStreamType`);return h}k(rA,"convertReadableStreamType");function nA(h,g){return Dr(h,g),{preventCancel:!!h?.preventCancel}}k(nA,"convertIteratorOptions");function My(h,g){Dr(h,g);let S=h?.preventAbort,F=h?.preventCancel,j=h?.preventClose,z=h?.signal;return z!==void 0&&iA(z,`${g} has member 'signal' that`),{preventAbort:!!S,preventCancel:!!F,preventClose:!!j,signal:z}}k(My,"convertPipeOptions");function iA(h,g){if(!Kt(h))throw new TypeError(`${g} is not an AbortSignal.`)}k(iA,"assertAbortSignal");function oA(h,g){Dr(h,g);let S=h?.readable;ji(S,"readable","ReadableWritablePair"),Nn(S,`${g} has member 'readable' that`);let F=h?.writable;return ji(F,"writable","ReadableWritablePair"),ot(F,`${g} has member 'writable' that`),{readable:S,writable:F}}k(oA,"convertReadableWritablePair");class yr{static{k(this,"ReadableStream")}constructor(g={},S={}){g===void 0?g=null:pi(g,"First parameter");let F=O(S,"Second parameter"),j=JE(g,"First parameter");if(ld(this),j.type==="bytes"){if(F.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let z=x(F,0);Kh(this,j,z)}else{let z=_(F),K=x(F,1);zE(this,j,K,z)}}get locked(){if(!Po(this))throw Aa("locked");return Oo(this)}cancel(g=void 0){return Po(this)?Oo(this)?m(new TypeError("Cannot cancel a stream that already has a reader")):Vn(this,g):m(Aa("cancel"))}getReader(g=void 0){if(!Po(this))throw Aa("getReader");return Fc(g,"First parameter").mode===void 0?Kr(this):Sa(this)}pipeThrough(g,S={}){if(!Po(this))throw Aa("pipeThrough");Pr(g,1,"pipeThrough");let F=oA(g,"First parameter"),j=My(S,"Second parameter");if(Oo(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(Ss(F.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let z=Ny(this,F.writable,j.preventClose,j.preventAbort,j.preventCancel,j.signal);return A(z),F.readable}pipeTo(g,S={}){if(!Po(this))return m(Aa("pipeTo"));if(g===void 0)return m("Parameter 1 is required in 'pipeTo'.");if(!ks(g))return m(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let F;try{F=My(S,"Second parameter")}catch(j){return m(j)}return Oo(this)?m(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):Ss(g)?m(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Ny(this,g,F.preventClose,F.preventAbort,F.preventCancel,F.signal)}tee(){if(!Po(this))throw Aa("tee");let g=WE(this);return Qr(g)}values(g=void 0){if(!Po(this))throw Aa("values");let S=nA(g,"First parameter");return bo(this,S.preventCancel)}[vo](g){return this.values(g)}static from(g){return YE(g)}}Object.defineProperties(yr,{from:{enumerable:!0}}),Object.defineProperties(yr.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),a(yr.from,"from"),a(yr.prototype.cancel,"cancel"),a(yr.prototype.getReader,"getReader"),a(yr.prototype.pipeThrough,"pipeThrough"),a(yr.prototype.pipeTo,"pipeTo"),a(yr.prototype.tee,"tee"),a(yr.prototype.values,"values"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(yr.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(yr.prototype,vo,{value:yr.prototype.values,writable:!0,configurable:!0});function Vu(h,g,S,F=1,j=()=>1){let z=Object.create(yr.prototype);ld(z);let K=Object.create(Do.prototype);return jy(z,K,h,g,S,F,j),z}k(Vu,"CreateReadableStream");function qy(h,g,S){let F=Object.create(yr.prototype);ld(F);let j=Object.create(Rr.prototype);return Rc(F,j,h,g,S,0,void 0),F}k(qy,"CreateReadableByteStream");function ld(h){h._state="readable",h._reader=void 0,h._storedError=void 0,h._disturbed=!1}k(ld,"InitializeReadableStream");function Po(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_readableStreamController")?!1:h instanceof yr}k(Po,"IsReadableStream");function Oo(h){return h._reader!==void 0}k(Oo,"IsReadableStreamLocked");function Vn(h,g){if(h._disturbed=!0,h._state==="closed")return p(void 0);if(h._state==="errored")return m(h._storedError);Uu(h);let S=h._reader;if(S!==void 0&&Vi(S)){let j=S._readIntoRequests;S._readIntoRequests=new T,j.forEach(z=>{z._closeSteps(void 0)})}let F=h._readableStreamController[se](g);return P(F,n)}k(Vn,"ReadableStreamCancel");function Uu(h){h._state="closed";let g=h._reader;if(g!==void 0&&(Hr(g),Tr(g))){let S=g._readRequests;g._readRequests=new T,S.forEach(F=>{F._closeSteps()})}}k(Uu,"ReadableStreamClose");function Vy(h,g){h._state="errored",h._storedError=g;let S=h._reader;S!==void 0&&(Mt(S,g),Tr(S)?mr(S,g):c(S,g))}k(Vy,"ReadableStreamError");function Aa(h){return new TypeError(`ReadableStream.prototype.${h} can only be used on a ReadableStream`)}k(Aa,"streamBrandCheckException$1");function Uy(h,g){Dr(h,g);let S=h?.highWaterMark;return ji(S,"highWaterMark","QueuingStrategyInit"),{highWaterMark:ho(S)}}k(Uy,"convertQueuingStrategyInit");let aA=k(h=>h.byteLength,"byteLengthSizeFunction");a(aA,"size");class cd{static{k(this,"ByteLengthQueuingStrategy")}constructor(g){Pr(g,1,"ByteLengthQueuingStrategy"),g=Uy(g,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=g.highWaterMark}get highWaterMark(){if(!Wy(this))throw zy("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!Wy(this))throw zy("size");return aA}}Object.defineProperties(cd.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(cd.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function zy(h){return new TypeError(`ByteLengthQueuingStrategy.prototype.${h} can only be used on a ByteLengthQueuingStrategy`)}k(zy,"byteLengthBrandCheckException");function Wy(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_byteLengthQueuingStrategyHighWaterMark")?!1:h instanceof cd}k(Wy,"IsByteLengthQueuingStrategy");let sA=k(()=>1,"countSizeFunction");a(sA,"size");class fd{static{k(this,"CountQueuingStrategy")}constructor(g){Pr(g,1,"CountQueuingStrategy"),g=Uy(g,"First parameter"),this._countQueuingStrategyHighWaterMark=g.highWaterMark}get highWaterMark(){if(!Gy(this))throw Hy("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!Gy(this))throw Hy("size");return sA}}Object.defineProperties(fd.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(fd.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function Hy(h){return new TypeError(`CountQueuingStrategy.prototype.${h} can only be used on a CountQueuingStrategy`)}k(Hy,"countBrandCheckException");function Gy(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_countQueuingStrategyHighWaterMark")?!1:h instanceof fd}k(Gy,"IsCountQueuingStrategy");function uA(h,g){Dr(h,g);let S=h?.cancel,F=h?.flush,j=h?.readableType,z=h?.start,K=h?.transform,ce=h?.writableType;return{cancel:S===void 0?void 0:pA(S,h,`${g} has member 'cancel' that`),flush:F===void 0?void 0:lA(F,h,`${g} has member 'flush' that`),readableType:j,start:z===void 0?void 0:cA(z,h,`${g} has member 'start' that`),transform:K===void 0?void 0:fA(K,h,`${g} has member 'transform' that`),writableType:ce}}k(uA,"convertTransformer");function lA(h,g,S){return Nt(h,S),F=>L(h,g,[F])}k(lA,"convertTransformerFlushCallback");function cA(h,g,S){return Nt(h,S),F=>y(h,g,[F])}k(cA,"convertTransformerStartCallback");function fA(h,g,S){return Nt(h,S),(F,j)=>L(h,g,[F,j])}k(fA,"convertTransformerTransformCallback");function pA(h,g,S){return Nt(h,S),F=>L(h,g,[F])}k(pA,"convertTransformerCancelCallback");class pd{static{k(this,"TransformStream")}constructor(g={},S={},F={}){g===void 0&&(g=null);let j=O(S,"Second parameter"),z=O(F,"Third parameter"),K=uA(g,"First parameter");if(K.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(K.writableType!==void 0)throw new RangeError("Invalid writableType specified");let ce=x(z,0),ke=_(z),Re=x(j,1),Ve=_(j),Ue,ct=f(Zr=>{Ue=Zr});hA(this,ct,Re,Ve,ce,ke),mA(this,K),K.start!==void 0?Ue(K.start(this._transformStreamController)):Ue(void 0)}get readable(){if(!Ky(this))throw Jy("readable");return this._readable}get writable(){if(!Ky(this))throw Jy("writable");return this._writable}}Object.defineProperties(pd.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(pd.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});function hA(h,g,S,F,j,z){function K(){return g}k(K,"startAlgorithm");function ce(ct){return yA(h,ct)}k(ce,"writeAlgorithm");function ke(ct){return vA(h,ct)}k(ke,"abortAlgorithm");function Re(){return xA(h)}k(Re,"closeAlgorithm"),h._writable=Eo(K,ce,Re,ke,S,F);function Ve(){return wA(h)}k(Ve,"pullAlgorithm");function Ue(ct){return kA(h,ct)}k(Ue,"cancelAlgorithm"),h._readable=Vu(K,Ve,Ue,j,z),h._backpressure=void 0,h._backpressureChangePromise=void 0,h._backpressureChangePromise_resolve=void 0,Gc(h,!0),h._transformStreamController=void 0}k(hA,"InitializeTransformStream");function Ky(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_transformStreamController")?!1:h instanceof pd}k(Ky,"IsTransformStream");function Yy(h,g){qn(h._readable._readableStreamController,g),hd(h,g)}k(Yy,"TransformStreamError");function hd(h,g){Yc(h._transformStreamController),ju(h._writable._writableStreamController,g),dd(h)}k(hd,"TransformStreamErrorWritableAndUnblockWrite");function dd(h){h._backpressure&&Gc(h,!1)}k(dd,"TransformStreamUnblockWrite");function Gc(h,g){h._backpressureChangePromise!==void 0&&h._backpressureChangePromise_resolve(),h._backpressureChangePromise=f(S=>{h._backpressureChangePromise_resolve=S}),h._backpressure=g}k(Gc,"TransformStreamSetBackpressure");class Da{static{k(this,"TransformStreamDefaultController")}constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Kc(this))throw Qc("desiredSize");let g=this._controlledTransformStream._readable._readableStreamController;return ud(g)}enqueue(g=void 0){if(!Kc(this))throw Qc("enqueue");Qy(this,g)}error(g=void 0){if(!Kc(this))throw Qc("error");gA(this,g)}terminate(){if(!Kc(this))throw Qc("terminate");bA(this)}}Object.defineProperties(Da.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),a(Da.prototype.enqueue,"enqueue"),a(Da.prototype.error,"error"),a(Da.prototype.terminate,"terminate"),typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(Da.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function Kc(h){return!i(h)||!Object.prototype.hasOwnProperty.call(h,"_controlledTransformStream")?!1:h instanceof Da}k(Kc,"IsTransformStreamDefaultController");function dA(h,g,S,F,j){g._controlledTransformStream=h,h._transformStreamController=g,g._transformAlgorithm=S,g._flushAlgorithm=F,g._cancelAlgorithm=j,g._finishPromise=void 0,g._finishPromise_resolve=void 0,g._finishPromise_reject=void 0}k(dA,"SetUpTransformStreamDefaultController");function mA(h,g){let S=Object.create(Da.prototype),F,j,z;g.transform!==void 0?F=k(K=>g.transform(K,S),"transformAlgorithm"):F=k(K=>{try{return Qy(S,K),p(void 0)}catch(ce){return m(ce)}},"transformAlgorithm"),g.flush!==void 0?j=k(()=>g.flush(S),"flushAlgorithm"):j=k(()=>p(void 0),"flushAlgorithm"),g.cancel!==void 0?z=k(K=>g.cancel(K),"cancelAlgorithm"):z=k(()=>p(void 0),"cancelAlgorithm"),dA(h,S,F,j,z)}k(mA,"SetUpTransformStreamDefaultControllerFromTransformer");function Yc(h){h._transformAlgorithm=void 0,h._flushAlgorithm=void 0,h._cancelAlgorithm=void 0}k(Yc,"TransformStreamDefaultControllerClearAlgorithms");function Qy(h,g){let S=h._controlledTransformStream,F=S._readable._readableStreamController;if(!Cs(F))throw new TypeError("Readable side is not in a state that permits enqueue");try{_s(F,g)}catch(j){throw hd(S,j),S._readable._storedError}UE(F)!==S._backpressure&&Gc(S,!0)}k(Qy,"TransformStreamDefaultControllerEnqueue");function gA(h,g){Yy(h._controlledTransformStream,g)}k(gA,"TransformStreamDefaultControllerError");function Xy(h,g){let S=h._transformAlgorithm(g);return P(S,void 0,F=>{throw Yy(h._controlledTransformStream,F),F})}k(Xy,"TransformStreamDefaultControllerPerformTransform");function bA(h){let g=h._controlledTransformStream,S=g._readable._readableStreamController;Ea(S);let F=new TypeError("TransformStream terminated");hd(g,F)}k(bA,"TransformStreamDefaultControllerTerminate");function yA(h,g){let S=h._transformStreamController;if(h._backpressure){let F=h._backpressureChangePromise;return P(F,()=>{let j=h._writable;if(j._state==="erroring")throw j._storedError;return Xy(S,g)})}return Xy(S,g)}k(yA,"TransformStreamDefaultSinkWriteAlgorithm");function vA(h,g){let S=h._transformStreamController;if(S._finishPromise!==void 0)return S._finishPromise;let F=h._readable;S._finishPromise=f((z,K)=>{S._finishPromise_resolve=z,S._finishPromise_reject=K});let j=S._cancelAlgorithm(g);return Yc(S),v(j,()=>(F._state==="errored"?Es(S,F._storedError):(qn(F._readableStreamController,g),md(S)),null),z=>(qn(F._readableStreamController,z),Es(S,z),null)),S._finishPromise}k(vA,"TransformStreamDefaultSinkAbortAlgorithm");function xA(h){let g=h._transformStreamController;if(g._finishPromise!==void 0)return g._finishPromise;let S=h._readable;g._finishPromise=f((j,z)=>{g._finishPromise_resolve=j,g._finishPromise_reject=z});let F=g._flushAlgorithm();return Yc(g),v(F,()=>(S._state==="errored"?Es(g,S._storedError):(Ea(S._readableStreamController),md(g)),null),j=>(qn(S._readableStreamController,j),Es(g,j),null)),g._finishPromise}k(xA,"TransformStreamDefaultSinkCloseAlgorithm");function wA(h){return Gc(h,!1),h._backpressureChangePromise}k(wA,"TransformStreamDefaultSourcePullAlgorithm");function kA(h,g){let S=h._transformStreamController;if(S._finishPromise!==void 0)return S._finishPromise;let F=h._writable;S._finishPromise=f((z,K)=>{S._finishPromise_resolve=z,S._finishPromise_reject=K});let j=S._cancelAlgorithm(g);return Yc(S),v(j,()=>(F._state==="errored"?Es(S,F._storedError):(ju(F._writableStreamController,g),dd(h),md(S)),null),z=>(ju(F._writableStreamController,z),dd(h),Es(S,z),null)),S._finishPromise}k(kA,"TransformStreamDefaultSourceCancelAlgorithm");function Qc(h){return new TypeError(`TransformStreamDefaultController.prototype.${h} can only be used on a TransformStreamDefaultController`)}k(Qc,"defaultControllerBrandCheckException");function md(h){h._finishPromise_resolve!==void 0&&(h._finishPromise_resolve(),h._finishPromise_resolve=void 0,h._finishPromise_reject=void 0)}k(md,"defaultControllerFinishPromiseResolve");function Es(h,g){h._finishPromise_reject!==void 0&&(A(h._finishPromise),h._finishPromise_reject(g),h._finishPromise_resolve=void 0,h._finishPromise_reject=void 0)}k(Es,"defaultControllerFinishPromiseReject");function Jy(h){return new TypeError(`TransformStream.prototype.${h} can only be used on a TransformStream`)}k(Jy,"streamBrandCheckException"),r.ByteLengthQueuingStrategy=cd,r.CountQueuingStrategy=fd,r.ReadableByteStreamController=Rr,r.ReadableStream=yr,r.ReadableStreamBYOBReader=xi,r.ReadableStreamBYOBRequest=bi,r.ReadableStreamDefaultController=Do,r.ReadableStreamDefaultReader=Yr,r.TransformStream=pd,r.TransformStreamDefaultController=Da,r.WritableStream=kn,r.WritableStreamDefaultController=Bu,r.WritableStreamDefaultWriter=Ao})}(Yd,Yd.exports)),Yd.exports}function B3(){if(N3)return L3;N3=1;let e=65536;if(!globalThis.ReadableStream)try{let t=require("node:process"),{emitWarning:r}=t;try{t.emitWarning=()=>{},Object.assign(globalThis,require("node:stream/web")),t.emitWarning=r}catch(n){throw t.emitWarning=r,n}}catch{Object.assign(globalThis,Q3())}try{let{Blob:t}=require("buffer");t&&!t.prototype.stream&&(t.prototype.stream=k(function(r){let n=0,i=this;return new ReadableStream({type:"bytes",async pull(o){let a=await i.slice(n,Math.min(i.size,n+e)).arrayBuffer();n+=a.byteLength,o.enqueue(new Uint8Array(a)),n===i.size&&o.close()}})},"name"))}catch{}return L3}async function*Qd(e,t=!0){for(let r of e)if("stream"in r)yield*r.stream();else if(ArrayBuffer.isView(r))if(t){let n=r.byteOffset,i=r.byteOffset+r.byteLength;for(;n!==i;){let o=Math.min(i-n,j3),a=r.buffer.slice(n,n+o);n+=a.byteLength,yield new Uint8Array(a)}}else yield r;else{let n=0,i=r;for(;n!==i.size;){let o=await i.slice(n,Math.min(i.size,n+j3)).arrayBuffer();n+=o.byteLength,yield new Uint8Array(o)}}}function J3(e,t=Bs){var r=`${M3()}${M3()}`.replace(/\./g,"").slice(-28).padStart(32,"-"),n=[],i=`--${r}\r
|
|
10
|
+
Content-Disposition: form-data; name="`;return e.forEach((o,a)=>typeof o=="string"?n.push(i+Dv(a)+`"\r
|
|
11
|
+
\r
|
|
12
|
+
${o.replace(/\r(?!\n)|(?<!\r)\n/g,`\r
|
|
13
|
+
`)}\r
|
|
14
|
+
`):n.push(i+Dv(a)+`"; filename="${Dv(o.name,1)}"\r
|
|
15
|
+
Content-Type: ${o.type||"application/octet-stream"}\r
|
|
16
|
+
\r
|
|
17
|
+
`,o,`\r
|
|
18
|
+
`)),n.push(`--${r}--`),new t(n,{type:"multipart/form-data; boundary="+r})}async function Xd(e){if(e[on].disturbed)throw new TypeError(`body used already for: ${e.url}`);if(e[on].disturbed=!0,e[on].error)throw e[on].error;let{body:t}=e;if(t===null)return cr.Buffer.alloc(0);if(!(t instanceof Pt.default))return cr.Buffer.alloc(0);let r=[],n=0;try{for await(let i of t){if(e.size>0&&n+i.length>e.size){let o=new _n(`content size at ${e.url} over limit: ${e.size}`,"max-size");throw t.destroy(o),o}n+=i.length,r.push(i)}}catch(i){throw i instanceof il?i:new _n(`Invalid response body while trying to fetch ${e.url}: ${i.message}`,"system",i)}if(t.readableEnded===!0||t._readableState.ended===!0)try{return r.every(i=>typeof i=="string")?cr.Buffer.from(r.join("")):cr.Buffer.concat(r,n)}catch(i){throw new _n(`Could not create Buffer from response body for ${e.url}: ${i.message}`,"system",i)}else throw new _n(`Premature close of server response while trying to fetch ${e.url}`)}function tD(e=[]){return new _i(e.reduce((t,r,n,i)=>(n%2===0&&t.push(i.slice(n,n+2)),t),[]).filter(([t,r])=>{try{return Jd(t),Tv(t,String(r)),!0}catch{return!1}}))}function Rv(e,t=!1){return e==null||(e=new URL(e),/^(about|blob|data):$/.test(e.protocol))?"no-referrer":(e.username="",e.password="",e.hash="",t&&(e.pathname="",e.search=""),e)}function nD(e){if(!rD.has(e))throw new TypeError(`Invalid referrerPolicy: ${e}`);return e}function iD(e){if(/^(http|ws)s:$/.test(e.protocol))return!0;let t=e.host.replace(/(^\[)|(]$)/g,""),r=(0,G3.isIP)(t);return r===4&&/^127\./.test(t)||r===6&&/^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(t)?!0:e.host==="localhost"||e.host.endsWith(".localhost")?!1:e.protocol==="file:"}function Ls(e){return/^about:(blank|srcdoc)$/.test(e)||e.protocol==="data:"||/^(blob|filesystem):$/.test(e.protocol)?!0:iD(e)}function oD(e,{referrerURLCallback:t,referrerOriginCallback:r}={}){if(e.referrer==="no-referrer"||e.referrerPolicy==="")return null;let n=e.referrerPolicy;if(e.referrer==="about:client")return"no-referrer";let i=e.referrer,o=Rv(i),a=Rv(i,!0);o.toString().length>4096&&(o=a),t&&(o=t(o)),r&&(a=r(a));let s=new URL(e.url);switch(n){case"no-referrer":return"no-referrer";case"origin":return a;case"unsafe-url":return o;case"strict-origin":return Ls(o)&&!Ls(s)?"no-referrer":a.toString();case"strict-origin-when-cross-origin":return o.origin===s.origin?o:Ls(o)&&!Ls(s)?"no-referrer":a;case"same-origin":return o.origin===s.origin?o:"no-referrer";case"origin-when-cross-origin":return o.origin===s.origin?o:a;case"no-referrer-when-downgrade":return Ls(o)&&!Ls(s)?"no-referrer":o;default:throw new TypeError(`Invalid referrerPolicy: ${n}`)}}function aD(e){let t=(e.get("referrer-policy")||"").split(/[,\s]+/),r="";for(let n of t)n&&rD.has(n)&&(r=n);return r}function sD(){if(V3)return Pv;if(V3=1,!globalThis.DOMException)try{let{MessageChannel:e}=require("worker_threads"),t=new e().port1,r=new ArrayBuffer;t.postMessage(r,[r,r])}catch(e){e.constructor.name==="DOMException"&&(globalThis.DOMException=e.constructor)}return Pv=globalThis.DOMException,Pv}async function Vv(e,t){return new Promise((r,n)=>{let i=new js(e,t),{parsedURL:o,options:a}=mV(i);if(!kV.has(o.protocol))throw new TypeError(`node-fetch cannot load ${e}. URL scheme "${o.protocol.replace(/:$/,"")}" is not supported.`);if(o.protocol==="data:"){let v=Y3(i.url),w=new Wn(v,{headers:{"Content-Type":v.typeFull}});r(w);return}let s=(o.protocol==="https:"?W3.default:nl.default).request,{signal:u}=i,l=null,f=k(()=>{let v=new rm("The operation was aborted.");n(v),i.body&&i.body instanceof Pt.default.Readable&&i.body.destroy(v),!(!l||!l.body)&&l.body.emit("error",v)},"abort");if(u&&u.aborted){f();return}let p=k(()=>{f(),b()},"abortAndFinalize"),m=s(o.toString(),a);u&&u.addEventListener("abort",p);let b=k(()=>{m.abort(),u&&u.removeEventListener("abort",p)},"finalize");m.on("error",v=>{n(new _n(`request to ${i.url} failed, reason: ${v.message}`,"system",v)),b()}),cD(m,v=>{l&&l.body&&l.body.destroy(v)}),process.version<"v14"&&m.on("socket",v=>{let w;v.prependListener("end",()=>{w=v._eventsCount}),v.prependListener("close",C=>{if(l&&w<v._eventsCount&&!C){let P=new Error("Premature close");P.code="ERR_STREAM_PREMATURE_CLOSE",l.body.emit("error",P)}})}),m.on("response",v=>{m.setTimeout(0);let w=tD(v.rawHeaders);if(Mv(v.statusCode)){let y=w.get("Location"),L=null;try{L=y===null?null:new URL(y,i.url)}catch{if(i.redirect!=="manual"){n(new _n(`uri requested responds with an invalid redirect URL: ${y}`,"invalid-redirect")),b();return}}switch(i.redirect){case"error":n(new _n(`uri requested responds with a redirect, redirect mode is set to error: ${i.url}`,"no-redirect")),b();return;case"manual":break;case"follow":{if(L===null)break;if(i.counter>=i.follow){n(new _n(`maximum redirect reached at: ${i.url}`,"max-redirect")),b();return}let I={headers:new _i(i.headers),follow:i.follow,counter:i.counter+1,agent:i.agent,compress:i.compress,method:i.method,body:jv(i),signal:i.signal,size:i.size,referrer:i.referrer,referrerPolicy:i.referrerPolicy};if(!oV(i.url,L)||!aV(i.url,L))for(let N of["authorization","www-authenticate","cookie","cookie2"])I.headers.delete(N);if(v.statusCode!==303&&i.body&&t.body instanceof Pt.default.Readable){n(new _n("Cannot follow redirect with body being a readable stream","unsupported-redirect")),b();return}(v.statusCode===303||(v.statusCode===301||v.statusCode===302)&&i.method==="POST")&&(I.method="GET",I.body=void 0,I.headers.delete("content-length"));let T=aD(w);T&&(I.referrerPolicy=T),r(Vv(new js(L,I))),b();return}default:return n(new TypeError(`Redirect option '${i.redirect}' is not a valid value of RequestRedirect`))}}u&&v.once("end",()=>{u.removeEventListener("abort",p)});let C=(0,Pt.pipeline)(v,new Pt.PassThrough,y=>{y&&n(y)});process.version<"v12.10"&&v.on("aborted",p);let P={url:i.url,status:v.statusCode,statusText:v.statusMessage,headers:w,size:i.size,counter:i.counter,highWaterMark:i.highWaterMark},A=w.get("Content-Encoding");if(!i.compress||i.method==="HEAD"||A===null||v.statusCode===204||v.statusCode===304){l=new Wn(C,P),r(l);return}let E={flush:Is.default.Z_SYNC_FLUSH,finishFlush:Is.default.Z_SYNC_FLUSH};if(A==="gzip"||A==="x-gzip"){C=(0,Pt.pipeline)(C,Is.default.createGunzip(E),y=>{y&&n(y)}),l=new Wn(C,P),r(l);return}if(A==="deflate"||A==="x-deflate"){let y=(0,Pt.pipeline)(v,new Pt.PassThrough,L=>{L&&n(L)});y.once("data",L=>{(L[0]&15)===8?C=(0,Pt.pipeline)(C,Is.default.createInflate(),I=>{I&&n(I)}):C=(0,Pt.pipeline)(C,Is.default.createInflateRaw(),I=>{I&&n(I)}),l=new Wn(C,P),r(l)}),y.once("end",()=>{l||(l=new Wn(C,P),r(l))});return}if(A==="br"){C=(0,Pt.pipeline)(C,Is.default.createBrotliDecompress(),y=>{y&&n(y)}),l=new Wn(C,P),r(l);return}l=new Wn(C,P),r(l)}),cV(m,i).catch(n)})}function cD(e,t){let r=cr.Buffer.from(`0\r
|
|
19
|
+
\r
|
|
20
|
+
`),n=!1,i=!1,o;e.on("response",a=>{let{headers:s}=a;n=s["transfer-encoding"]==="chunked"&&!s["content-length"]}),e.on("socket",a=>{let s=k(()=>{if(n&&!i){let l=new Error("Premature close");l.code="ERR_STREAM_PREMATURE_CLOSE",t(l)}},"onSocketClose"),u=k(l=>{i=cr.Buffer.compare(l.slice(-5),r)===0,!i&&o&&(i=cr.Buffer.compare(o.slice(-3),r.slice(0,3))===0&&cr.Buffer.compare(l.slice(-2),r.slice(3))===0),o=l},"onData");a.prependListener("close",s),a.on("data",u),e.on("close",()=>{a.removeListener("close",s),a.removeListener("data",u)})})}function dt(e){let t=fD.get(e);return console.assert(t!=null,"'this' is expected an Event object, but got",e),t}function Iv(e){if(e.passiveListener!=null){typeof console<"u"&&typeof console.error=="function"&&console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener);return}e.event.cancelable&&(e.canceled=!0,typeof e.event.preventDefault=="function"&&e.event.preventDefault())}function $s(e,t){fD.set(this,{eventTarget:e,event:t,eventPhase:2,currentTarget:e,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:t.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let r=Object.keys(t);for(let n=0;n<r.length;++n){let i=r[n];i in this||Object.defineProperty(this,i,Uv(i))}}function Uv(e){return{get(){return dt(this).event[e]},set(t){dt(this).event[e]=t},configurable:!0,enumerable:!0}}function pD(e){return{value(){let t=dt(this).event;return t[e].apply(t,arguments)},configurable:!0,enumerable:!0}}function hD(e,t){let r=Object.keys(t);if(r.length===0)return e;function n(i,o){e.call(this,i,o)}k(n,"CustomEvent"),n.prototype=Object.create(e.prototype,{constructor:{value:n,configurable:!0,writable:!0}});for(let i=0;i<r.length;++i){let o=r[i];if(!(o in e.prototype)){let a=typeof Object.getOwnPropertyDescriptor(t,o).value=="function";Object.defineProperty(n.prototype,o,a?pD(o):Uv(o))}}return n}function zv(e){if(e==null||e===Object.prototype)return $s;let t=Fv.get(e);return t==null&&(t=hD(zv(Object.getPrototypeOf(e)),e),Fv.set(e,t)),t}function dD(e,t){let r=zv(Object.getPrototypeOf(t));return new r(e,t)}function mD(e){return dt(e).immediateStopped}function gD(e,t){dt(e).eventPhase=t}function bD(e,t){dt(e).currentTarget=t}function Lv(e,t){dt(e).passiveListener=t}function ff(e){return e!==null&&typeof e=="object"}function rl(e){let t=yD.get(e);if(t==null)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return t}function vD(e){return{get(){let t=rl(this).get(e);for(;t!=null;){if(t.listenerType===Zd)return t.listener;t=t.next}return null},set(t){typeof t!="function"&&!ff(t)&&(t=null);let r=rl(this),n=null,i=r.get(e);for(;i!=null;)i.listenerType===Zd?n!==null?n.next=i.next:i.next!==null?r.set(e,i.next):r.delete(e):n=i,i=i.next;if(t!==null){let o={listener:t,listenerType:Zd,passive:!1,once:!1,next:null};n===null?r.set(e,o):n.next=o}},configurable:!0,enumerable:!0}}function Wv(e,t){Object.defineProperty(e,`on${t}`,vD(t))}function $v(e){function t(){Hi.call(this)}k(t,"CustomEventTarget"),t.prototype=Object.create(Hi.prototype,{constructor:{value:t,configurable:!0,writable:!0}});for(let r=0;r<e.length;++r)Wv(t.prototype,e[r]);return t}function Hi(){if(this instanceof Hi){yD.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return $v(arguments[0]);if(arguments.length>0){let e=new Array(arguments.length);for(let t=0;t<arguments.length;++t)e[t]=arguments[t];return $v(e)}throw new TypeError("Cannot call a class as a function")}function xD(){let e=Object.create(ol.prototype);return Hi.call(e),im.set(e,!1),e}function wD(e){im.get(e)===!1&&(im.set(e,!0),e.dispatchEvent({type:"abort"}))}function Nv(e){let t=kD.get(e);if(t==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${e===null?"null":typeof e}`);return t}function Bv(){!globalThis.process?.versions?.node&&!globalThis.process?.env?.DISABLE_NODE_FETCH_NATIVE_WARN&&console.warn("[node-fetch-native] Node.js compatible build of `node-fetch-native` is being used in a non-Node.js environment. Please make sure you are using proper export conditions or report this issue to https://github.com/unjs/node-fetch-native. You can set `process.env.DISABLE_NODE_FETCH_NATIVE_WARN` to disable this warning.")}var nl,W3,Is,Pt,cr,Hn,H3,G3,Ms,K3,Jq,k,L3,Yd,Zq,$3,N3,j3,X3,Bs,eV,tl,cf,tV,rV,M3,nV,q3,Dv,Fs,Rs,il,_n,em,Z3,tm,iV,oV,aV,sV,on,Ns,jv,uV,eD,lV,cV,Jd,Tv,_i,fV,Mv,Si,Wn,pV,rD,hV,rr,lf,dV,js,mV,rm,Pv,V3,gV,bV,qv,yV,vV,xV,wV,uD,lD,nm,kV,fD,Fv,yD,U3,z3,Zd,ol,im,om,kD,SV,_V,SD,Kd=$(()=>{nl=At(require("node:http"),1),W3=At(require("node:https"),1),Is=At(require("node:zlib"),1),Pt=At(require("node:stream"),1),cr=require("node:buffer"),Hn=require("node:util");Wd();H3=require("node:url"),G3=require("node:net"),Ms=require("node:fs"),K3=require("node:path"),Jq=Object.defineProperty,k=(e,t)=>Jq(e,"name",{value:t,configurable:!0});k(Y3,"dataUriToBuffer");L3={},Yd={exports:{}};Zq=Yd.exports;k(Q3,"requirePonyfill_es2018");k(B3,"requireStreams"),B3();j3=65536;k(Qd,"toIterator");X3=class Ov{static{k(this,"Blob")}#e=[];#t="";#r=0;#n="transparent";constructor(t=[],r={}){if(typeof t!="object"||t===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(typeof t[Symbol.iterator]!="function")throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof r!="object"&&typeof r!="function")throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");r===null&&(r={});let n=new TextEncoder;for(let o of t){let a;ArrayBuffer.isView(o)?a=new Uint8Array(o.buffer.slice(o.byteOffset,o.byteOffset+o.byteLength)):o instanceof ArrayBuffer?a=new Uint8Array(o.slice(0)):o instanceof Ov?a=o:a=n.encode(`${o}`),this.#r+=ArrayBuffer.isView(a)?a.byteLength:a.size,this.#e.push(a)}this.#n=`${r.endings===void 0?"transparent":r.endings}`;let i=r.type===void 0?"":String(r.type);this.#t=/^[\x20-\x7E]*$/.test(i)?i:""}get size(){return this.#r}get type(){return this.#t}async text(){let t=new TextDecoder,r="";for await(let n of Qd(this.#e,!1))r+=t.decode(n,{stream:!0});return r+=t.decode(),r}async arrayBuffer(){let t=new Uint8Array(this.size),r=0;for await(let n of Qd(this.#e,!1))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=Qd(this.#e,!0);return new globalThis.ReadableStream({type:"bytes",async pull(r){let n=await t.next();n.done?r.close():r.enqueue(n.value)},async cancel(){await t.return()}})}slice(t=0,r=this.size,n=""){let{size:i}=this,o=t<0?Math.max(i+t,0):Math.min(t,i),a=r<0?Math.max(i+r,0):Math.min(r,i),s=Math.max(a-o,0),u=this.#e,l=[],f=0;for(let m of u){if(f>=s)break;let b=ArrayBuffer.isView(m)?m.byteLength:m.size;if(o&&b<=o)o-=b,a-=b;else{let v;ArrayBuffer.isView(m)?(v=m.subarray(o,Math.min(b,a)),f+=v.byteLength):(v=m.slice(o,Math.min(b,a)),f+=v.size),a-=b,l.push(v),o=0}}let p=new Ov([],{type:String(n).toLowerCase()});return p.#r=s,p.#e=l,p}get[Symbol.toStringTag](){return"Blob"}static[Symbol.hasInstance](t){return t&&typeof t=="object"&&typeof t.constructor=="function"&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}};Object.defineProperties(X3.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});Bs=X3,eV=class extends Bs{static{k(this,"File")}#e=0;#t="";constructor(e,t,r={}){if(arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);super(e,r),r===null&&(r={});let n=r.lastModified===void 0?Date.now():Number(r.lastModified);Number.isNaN(n)||(this.#e=n),this.#t=String(t)}get name(){return this.#t}get lastModified(){return this.#e}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](e){return!!e&&e instanceof Bs&&/^(File)$/.test(e[Symbol.toStringTag])}},tl=eV;({toStringTag:cf,iterator:tV,hasInstance:rV}=Symbol),M3=Math.random,nV="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),q3=k((e,t,r)=>(e+="",/^(Blob|File)$/.test(t&&t[cf])?[(r=r!==void 0?r+"":t[cf]=="File"?t.name:"blob",e),t.name!==r||t[cf]=="blob"?new tl([t],r,t):t]:[e,t+""]),"f"),Dv=k((e,t)=>(t?e:e.replace(/\r?\n|\r/g,`\r
|
|
21
|
+
`)).replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"e$1"),Fs=k((e,t,r)=>{if(t.length<r)throw new TypeError(`Failed to execute '${e}' on 'FormData': ${r} arguments required, but only ${t.length} present.`)},"x"),Rs=class{static{k(this,"FormData")}#e=[];constructor(...e){if(e.length)throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.")}get[cf](){return"FormData"}[tV](){return this.entries()}static[rV](e){return e&&typeof e=="object"&&e[cf]==="FormData"&&!nV.some(t=>typeof e[t]!="function")}append(...e){Fs("append",arguments,2),this.#e.push(q3(...e))}delete(e){Fs("delete",arguments,1),e+="",this.#e=this.#e.filter(([t])=>t!==e)}get(e){Fs("get",arguments,1),e+="";for(var t=this.#e,r=t.length,n=0;n<r;n++)if(t[n][0]===e)return t[n][1];return null}getAll(e,t){return Fs("getAll",arguments,1),t=[],e+="",this.#e.forEach(r=>r[0]===e&&t.push(r[1])),t}has(e){return Fs("has",arguments,1),e+="",this.#e.some(t=>t[0]===e)}forEach(e,t){Fs("forEach",arguments,1);for(var[r,n]of this)e.call(t,n,r,this)}set(...e){Fs("set",arguments,2);var t=[],r=!0;e=q3(...e),this.#e.forEach(n=>{n[0]===e[0]?r&&(r=!t.push(e)):t.push(n)}),r&&t.push(e),this.#e=t}*entries(){yield*this.#e}*keys(){for(var[e]of this)yield e}*values(){for(var[,e]of this)yield e}};k(J3,"formDataToBlob");il=class extends Error{static{k(this,"FetchBaseError")}constructor(t,r){super(t),Error.captureStackTrace(this,this.constructor),this.type=r}get name(){return this.constructor.name}get[Symbol.toStringTag](){return this.constructor.name}},_n=class extends il{static{k(this,"FetchError")}constructor(t,r,n){super(t,r),n&&(this.code=this.errno=n.code,this.erroredSysCall=n.syscall)}},em=Symbol.toStringTag,Z3=k(e=>typeof e=="object"&&typeof e.append=="function"&&typeof e.delete=="function"&&typeof e.get=="function"&&typeof e.getAll=="function"&&typeof e.has=="function"&&typeof e.set=="function"&&typeof e.sort=="function"&&e[em]==="URLSearchParams","isURLSearchParameters"),tm=k(e=>e&&typeof e=="object"&&typeof e.arrayBuffer=="function"&&typeof e.type=="string"&&typeof e.stream=="function"&&typeof e.constructor=="function"&&/^(Blob|File)$/.test(e[em]),"isBlob"),iV=k(e=>typeof e=="object"&&(e[em]==="AbortSignal"||e[em]==="EventTarget"),"isAbortSignal"),oV=k((e,t)=>{let r=new URL(t).hostname,n=new URL(e).hostname;return r===n||r.endsWith(`.${n}`)},"isDomainOrSubdomain"),aV=k((e,t)=>{let r=new URL(t).protocol,n=new URL(e).protocol;return r===n},"isSameProtocol"),sV=(0,Hn.promisify)(Pt.default.pipeline),on=Symbol("Body internals"),Ns=class{static{k(this,"Body")}constructor(t,{size:r=0}={}){let n=null;t===null?t=null:Z3(t)?t=cr.Buffer.from(t.toString()):tm(t)||cr.Buffer.isBuffer(t)||(Hn.types.isAnyArrayBuffer(t)?t=cr.Buffer.from(t):ArrayBuffer.isView(t)?t=cr.Buffer.from(t.buffer,t.byteOffset,t.byteLength):t instanceof Pt.default||(t instanceof Rs?(t=J3(t),n=t.type.split("=")[1]):t=cr.Buffer.from(String(t))));let i=t;cr.Buffer.isBuffer(t)?i=Pt.default.Readable.from(t):tm(t)&&(i=Pt.default.Readable.from(t.stream())),this[on]={body:t,stream:i,boundary:n,disturbed:!1,error:null},this.size=r,t instanceof Pt.default&&t.on("error",o=>{let a=o instanceof il?o:new _n(`Invalid response body while trying to fetch ${this.url}: ${o.message}`,"system",o);this[on].error=a})}get body(){return this[on].stream}get bodyUsed(){return this[on].disturbed}async arrayBuffer(){let{buffer:t,byteOffset:r,byteLength:n}=await Xd(this);return t.slice(r,r+n)}async formData(){let t=this.headers.get("content-type");if(t.startsWith("application/x-www-form-urlencoded")){let n=new Rs,i=new URLSearchParams(await this.text());for(let[o,a]of i)n.append(o,a);return n}let{toFormData:r}=await Promise.resolve().then(()=>(I3(),F3));return r(this.body,t)}async blob(){let t=this.headers&&this.headers.get("content-type")||this[on].body&&this[on].body.type||"",r=await this.arrayBuffer();return new Bs([r],{type:t})}async json(){let t=await this.text();return JSON.parse(t)}async text(){let t=await Xd(this);return new TextDecoder().decode(t)}buffer(){return Xd(this)}};Ns.prototype.buffer=(0,Hn.deprecate)(Ns.prototype.buffer,"Please use 'response.arrayBuffer()' instead of 'response.buffer()'","node-fetch#buffer"),Object.defineProperties(Ns.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0},data:{get:(0,Hn.deprecate)(()=>{},"data doesn't exist, use json(), text(), arrayBuffer(), or body instead","https://github.com/node-fetch/node-fetch/issues/1000 (response)")}});k(Xd,"consumeBody");jv=k((e,t)=>{let r,n,{body:i}=e[on];if(e.bodyUsed)throw new Error("cannot clone body after it is used");return i instanceof Pt.default&&typeof i.getBoundary!="function"&&(r=new Pt.PassThrough({highWaterMark:t}),n=new Pt.PassThrough({highWaterMark:t}),i.pipe(r),i.pipe(n),e[on].stream=r,i=n),i},"clone"),uV=(0,Hn.deprecate)(e=>e.getBoundary(),"form-data doesn't follow the spec and requires special treatment. Use alternative package","https://github.com/node-fetch/node-fetch/issues/1167"),eD=k((e,t)=>e===null?null:typeof e=="string"?"text/plain;charset=UTF-8":Z3(e)?"application/x-www-form-urlencoded;charset=UTF-8":tm(e)?e.type||null:cr.Buffer.isBuffer(e)||Hn.types.isAnyArrayBuffer(e)||ArrayBuffer.isView(e)?null:e instanceof Rs?`multipart/form-data; boundary=${t[on].boundary}`:e&&typeof e.getBoundary=="function"?`multipart/form-data;boundary=${uV(e)}`:e instanceof Pt.default?null:"text/plain;charset=UTF-8","extractContentType"),lV=k(e=>{let{body:t}=e[on];return t===null?0:tm(t)?t.size:cr.Buffer.isBuffer(t)?t.length:t&&typeof t.getLengthSync=="function"&&t.hasKnownLength&&t.hasKnownLength()?t.getLengthSync():null},"getTotalBytes"),cV=k(async(e,{body:t})=>{t===null?e.end():await sV(t,e)},"writeToStream"),Jd=typeof nl.default.validateHeaderName=="function"?nl.default.validateHeaderName:e=>{if(!/^[\^`\-\w!#$%&'*+.|~]+$/.test(e)){let t=new TypeError(`Header name must be a valid HTTP token [${e}]`);throw Object.defineProperty(t,"code",{value:"ERR_INVALID_HTTP_TOKEN"}),t}},Tv=typeof nl.default.validateHeaderValue=="function"?nl.default.validateHeaderValue:(e,t)=>{if(/[^\t\u0020-\u007E\u0080-\u00FF]/.test(t)){let r=new TypeError(`Invalid character in header content ["${e}"]`);throw Object.defineProperty(r,"code",{value:"ERR_INVALID_CHAR"}),r}},_i=class e extends URLSearchParams{static{k(this,"Headers")}constructor(t){let r=[];if(t instanceof e){let n=t.raw();for(let[i,o]of Object.entries(n))r.push(...o.map(a=>[i,a]))}else if(t!=null)if(typeof t=="object"&&!Hn.types.isBoxedPrimitive(t)){let n=t[Symbol.iterator];if(n==null)r.push(...Object.entries(t));else{if(typeof n!="function")throw new TypeError("Header pairs must be iterable");r=[...t].map(i=>{if(typeof i!="object"||Hn.types.isBoxedPrimitive(i))throw new TypeError("Each header pair must be an iterable object");return[...i]}).map(i=>{if(i.length!==2)throw new TypeError("Each header pair must be a name/value tuple");return[...i]})}}else throw new TypeError("Failed to construct 'Headers': The provided value is not of type '(sequence<sequence<ByteString>> or record<ByteString, ByteString>)");return r=r.length>0?r.map(([n,i])=>(Jd(n),Tv(n,String(i)),[String(n).toLowerCase(),String(i)])):void 0,super(r),new Proxy(this,{get(n,i,o){switch(i){case"append":case"set":return(a,s)=>(Jd(a),Tv(a,String(s)),URLSearchParams.prototype[i].call(n,String(a).toLowerCase(),String(s)));case"delete":case"has":case"getAll":return a=>(Jd(a),URLSearchParams.prototype[i].call(n,String(a).toLowerCase()));case"keys":return()=>(n.sort(),new Set(URLSearchParams.prototype.keys.call(n)).keys());default:return Reflect.get(n,i,o)}}})}get[Symbol.toStringTag](){return this.constructor.name}toString(){return Object.prototype.toString.call(this)}get(t){let r=this.getAll(t);if(r.length===0)return null;let n=r.join(", ");return/^content-encoding$/i.test(t)&&(n=n.toLowerCase()),n}forEach(t,r=void 0){for(let n of this.keys())Reflect.apply(t,r,[this.get(n),n,this])}*values(){for(let t of this.keys())yield this.get(t)}*entries(){for(let t of this.keys())yield[t,this.get(t)]}[Symbol.iterator](){return this.entries()}raw(){return[...this.keys()].reduce((t,r)=>(t[r]=this.getAll(r),t),{})}[Symbol.for("nodejs.util.inspect.custom")](){return[...this.keys()].reduce((t,r)=>{let n=this.getAll(r);return r==="host"?t[r]=n[0]:t[r]=n.length>1?n:n[0],t},{})}};Object.defineProperties(_i.prototype,["get","entries","forEach","values"].reduce((e,t)=>(e[t]={enumerable:!0},e),{}));k(tD,"fromRawHeaders");fV=new Set([301,302,303,307,308]),Mv=k(e=>fV.has(e),"isRedirect"),Si=Symbol("Response internals"),Wn=class e extends Ns{static{k(this,"Response")}constructor(t=null,r={}){super(t,r);let n=r.status!=null?r.status:200,i=new _i(r.headers);if(t!==null&&!i.has("Content-Type")){let o=eD(t,this);o&&i.append("Content-Type",o)}this[Si]={type:"default",url:r.url,status:n,statusText:r.statusText||"",headers:i,counter:r.counter,highWaterMark:r.highWaterMark}}get type(){return this[Si].type}get url(){return this[Si].url||""}get status(){return this[Si].status}get ok(){return this[Si].status>=200&&this[Si].status<300}get redirected(){return this[Si].counter>0}get statusText(){return this[Si].statusText}get headers(){return this[Si].headers}get highWaterMark(){return this[Si].highWaterMark}clone(){return new e(jv(this,this.highWaterMark),{type:this.type,url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected,size:this.size,highWaterMark:this.highWaterMark})}static redirect(t,r=302){if(!Mv(r))throw new RangeError('Failed to execute "redirect" on "response": Invalid status code');return new e(null,{headers:{location:new URL(t).toString()},status:r})}static error(){let t=new e(null,{status:0,statusText:""});return t[Si].type="error",t}static json(t=void 0,r={}){let n=JSON.stringify(t);if(n===void 0)throw new TypeError("data is not JSON serializable");let i=new _i(r&&r.headers);return i.has("content-type")||i.set("content-type","application/json"),new e(n,{...r,headers:i})}get[Symbol.toStringTag](){return"Response"}};Object.defineProperties(Wn.prototype,{type:{enumerable:!0},url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}});pV=k(e=>{if(e.search)return e.search;let t=e.href.length-1,r=e.hash||(e.href[t]==="#"?"#":"");return e.href[t-r.length]==="?"?"?":""},"getSearch");k(Rv,"stripURLForUseAsAReferrer");rD=new Set(["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"]),hV="strict-origin-when-cross-origin";k(nD,"validateReferrerPolicy");k(iD,"isOriginPotentiallyTrustworthy");k(Ls,"isUrlPotentiallyTrustworthy");k(oD,"determineRequestsReferrer");k(aD,"parseReferrerPolicyFromHeader");rr=Symbol("Request internals"),lf=k(e=>typeof e=="object"&&typeof e[rr]=="object","isRequest"),dV=(0,Hn.deprecate)(()=>{},".data is not a valid RequestInit property, use .body instead","https://github.com/node-fetch/node-fetch/issues/1000 (request)"),js=class e extends Ns{static{k(this,"Request")}constructor(t,r={}){let n;if(lf(t)?n=new URL(t.url):(n=new URL(t),t={}),n.username!==""||n.password!=="")throw new TypeError(`${n} is an url with embedded credentials.`);let i=r.method||t.method||"GET";if(/^(delete|get|head|options|post|put)$/i.test(i)&&(i=i.toUpperCase()),!lf(r)&&"data"in r&&dV(),(r.body!=null||lf(t)&&t.body!==null)&&(i==="GET"||i==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body");let o=r.body?r.body:lf(t)&&t.body!==null?jv(t):null;super(o,{size:r.size||t.size||0});let a=new _i(r.headers||t.headers||{});if(o!==null&&!a.has("Content-Type")){let l=eD(o,this);l&&a.set("Content-Type",l)}let s=lf(t)?t.signal:null;if("signal"in r&&(s=r.signal),s!=null&&!iV(s))throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");let u=r.referrer==null?t.referrer:r.referrer;if(u==="")u="no-referrer";else if(u){let l=new URL(u);u=/^about:(\/\/)?client$/.test(l)?"client":l}else u=void 0;this[rr]={method:i,redirect:r.redirect||t.redirect||"follow",headers:a,parsedURL:n,signal:s,referrer:u},this.follow=r.follow===void 0?t.follow===void 0?20:t.follow:r.follow,this.compress=r.compress===void 0?t.compress===void 0?!0:t.compress:r.compress,this.counter=r.counter||t.counter||0,this.agent=r.agent||t.agent,this.highWaterMark=r.highWaterMark||t.highWaterMark||16384,this.insecureHTTPParser=r.insecureHTTPParser||t.insecureHTTPParser||!1,this.referrerPolicy=r.referrerPolicy||t.referrerPolicy||""}get method(){return this[rr].method}get url(){return(0,H3.format)(this[rr].parsedURL)}get headers(){return this[rr].headers}get redirect(){return this[rr].redirect}get signal(){return this[rr].signal}get referrer(){if(this[rr].referrer==="no-referrer")return"";if(this[rr].referrer==="client")return"about:client";if(this[rr].referrer)return this[rr].referrer.toString()}get referrerPolicy(){return this[rr].referrerPolicy}set referrerPolicy(t){this[rr].referrerPolicy=nD(t)}clone(){return new e(this)}get[Symbol.toStringTag](){return"Request"}};Object.defineProperties(js.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0},referrer:{enumerable:!0},referrerPolicy:{enumerable:!0}});mV=k(e=>{let{parsedURL:t}=e[rr],r=new _i(e[rr].headers);r.has("Accept")||r.set("Accept","*/*");let n=null;if(e.body===null&&/^(post|put)$/i.test(e.method)&&(n="0"),e.body!==null){let s=lV(e);typeof s=="number"&&!Number.isNaN(s)&&(n=String(s))}n&&r.set("Content-Length",n),e.referrerPolicy===""&&(e.referrerPolicy=hV),e.referrer&&e.referrer!=="no-referrer"?e[rr].referrer=oD(e):e[rr].referrer="no-referrer",e[rr].referrer instanceof URL&&r.set("Referer",e.referrer),r.has("User-Agent")||r.set("User-Agent","node-fetch"),e.compress&&!r.has("Accept-Encoding")&&r.set("Accept-Encoding","gzip, deflate, br");let{agent:i}=e;typeof i=="function"&&(i=i(t));let o=pV(t),a={path:t.pathname+o,method:e.method,headers:r[Symbol.for("nodejs.util.inspect.custom")](),insecureHTTPParser:e.insecureHTTPParser,agent:i};return{parsedURL:t,options:a}},"getNodeRequestOptions"),rm=class extends il{static{k(this,"AbortError")}constructor(t,r="aborted"){super(t,r)}};k(sD,"requireNodeDomexception");gV=sD(),bV=Ev(gV),{stat:qv}=Ms.promises,yV=k((e,t)=>uD((0,Ms.statSync)(e),e,t),"blobFromSync"),vV=k((e,t)=>qv(e).then(r=>uD(r,e,t)),"blobFrom"),xV=k((e,t)=>qv(e).then(r=>lD(r,e,t)),"fileFrom"),wV=k((e,t)=>lD((0,Ms.statSync)(e),e,t),"fileFromSync"),uD=k((e,t,r="")=>new Bs([new nm({path:t,size:e.size,lastModified:e.mtimeMs,start:0})],{type:r}),"fromBlob"),lD=k((e,t,r="")=>new tl([new nm({path:t,size:e.size,lastModified:e.mtimeMs,start:0})],(0,K3.basename)(t),{type:r,lastModified:e.mtimeMs}),"fromFile"),nm=class e{static{k(this,"BlobDataItem")}#e;#t;constructor(t){this.#e=t.path,this.#t=t.start,this.size=t.size,this.lastModified=t.lastModified}slice(t,r){return new e({path:this.#e,lastModified:this.lastModified,size:r-t,start:this.#t+t})}async*stream(){let{mtimeMs:t}=await qv(this.#e);if(t>this.lastModified)throw new bV("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.","NotReadableError");yield*(0,Ms.createReadStream)(this.#e,{start:this.#t,end:this.#t+this.size-1})}get[Symbol.toStringTag](){return"Blob"}},kV=new Set(["data:","http:","https:"]);k(Vv,"fetch$1");k(cD,"fixResponseChunkedTransferBadEnding");fD=new WeakMap,Fv=new WeakMap;k(dt,"pd");k(Iv,"setCancelFlag");k($s,"Event"),$s.prototype={get type(){return dt(this).event.type},get target(){return dt(this).eventTarget},get currentTarget(){return dt(this).currentTarget},composedPath(){let e=dt(this).currentTarget;return e==null?[]:[e]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return dt(this).eventPhase},stopPropagation(){let e=dt(this);e.stopped=!0,typeof e.event.stopPropagation=="function"&&e.event.stopPropagation()},stopImmediatePropagation(){let e=dt(this);e.stopped=!0,e.immediateStopped=!0,typeof e.event.stopImmediatePropagation=="function"&&e.event.stopImmediatePropagation()},get bubbles(){return!!dt(this).event.bubbles},get cancelable(){return!!dt(this).event.cancelable},preventDefault(){Iv(dt(this))},get defaultPrevented(){return dt(this).canceled},get composed(){return!!dt(this).event.composed},get timeStamp(){return dt(this).timeStamp},get srcElement(){return dt(this).eventTarget},get cancelBubble(){return dt(this).stopped},set cancelBubble(e){if(!e)return;let t=dt(this);t.stopped=!0,typeof t.event.cancelBubble=="boolean"&&(t.event.cancelBubble=!0)},get returnValue(){return!dt(this).canceled},set returnValue(e){e||Iv(dt(this))},initEvent(){}},Object.defineProperty($s.prototype,"constructor",{value:$s,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.Event<"u"&&(Object.setPrototypeOf($s.prototype,window.Event.prototype),Fv.set(window.Event.prototype,$s));k(Uv,"defineRedirectDescriptor");k(pD,"defineCallDescriptor");k(hD,"defineWrapper");k(zv,"getWrapper");k(dD,"wrapEvent");k(mD,"isStopped");k(gD,"setEventPhase");k(bD,"setCurrentTarget");k(Lv,"setPassiveListener");yD=new WeakMap,U3=1,z3=2,Zd=3;k(ff,"isObject");k(rl,"getListeners");k(vD,"defineEventAttributeDescriptor");k(Wv,"defineEventAttribute");k($v,"defineCustomEventTarget");k(Hi,"EventTarget"),Hi.prototype={addEventListener(e,t,r){if(t==null)return;if(typeof t!="function"&&!ff(t))throw new TypeError("'listener' should be a function or an object.");let n=rl(this),i=ff(r),o=(i?r.capture:r)?U3:z3,a={listener:t,listenerType:o,passive:i&&!!r.passive,once:i&&!!r.once,next:null},s=n.get(e);if(s===void 0){n.set(e,a);return}let u=null;for(;s!=null;){if(s.listener===t&&s.listenerType===o)return;u=s,s=s.next}u.next=a},removeEventListener(e,t,r){if(t==null)return;let n=rl(this),i=(ff(r)?r.capture:r)?U3:z3,o=null,a=n.get(e);for(;a!=null;){if(a.listener===t&&a.listenerType===i){o!==null?o.next=a.next:a.next!==null?n.set(e,a.next):n.delete(e);return}o=a,a=a.next}},dispatchEvent(e){if(e==null||typeof e.type!="string")throw new TypeError('"event.type" should be a string.');let t=rl(this),r=e.type,n=t.get(r);if(n==null)return!0;let i=dD(this,e),o=null;for(;n!=null;){if(n.once?o!==null?o.next=n.next:n.next!==null?t.set(r,n.next):t.delete(r):o=n,Lv(i,n.passive?n.listener:null),typeof n.listener=="function")try{n.listener.call(this,i)}catch(a){typeof console<"u"&&typeof console.error=="function"&&console.error(a)}else n.listenerType!==Zd&&typeof n.listener.handleEvent=="function"&&n.listener.handleEvent(i);if(mD(i))break;n=n.next}return Lv(i,null),gD(i,0),bD(i,null),!i.defaultPrevented}},Object.defineProperty(Hi.prototype,"constructor",{value:Hi,configurable:!0,writable:!0}),typeof window<"u"&&typeof window.EventTarget<"u"&&Object.setPrototypeOf(Hi.prototype,window.EventTarget.prototype);ol=class extends Hi{static{k(this,"AbortSignal")}constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let t=im.get(this);if(typeof t!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return t}};Wv(ol.prototype,"abort");k(xD,"createAbortSignal");k(wD,"abortSignal");im=new WeakMap;Object.defineProperties(ol.prototype,{aborted:{enumerable:!0}}),typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(ol.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});om=class{static{k(this,"AbortController")}constructor(){kD.set(this,xD())}get signal(){return Nv(this)}abort(){wD(Nv(this))}},kD=new WeakMap;k(Nv,"getSignal"),Object.defineProperties(om.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(om.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});SV=Object.defineProperty,_V=k((e,t)=>SV(e,"name",{value:t,configurable:!0}),"e"),SD=Vv;Bv();k(Bv,"s"),_V(Bv,"checkNodeEnvironment")});var Fa,Hv,aSe,sSe,uSe,_D,lSe,cSe,CD,ED=$(()=>{Kd();Kd();Wd();Fa=!!globalThis.process?.env?.FORCE_NODE_FETCH,Hv=!Fa&&globalThis.fetch||SD,aSe=!Fa&&globalThis.Blob||Bs,sSe=!Fa&&globalThis.File||tl,uSe=!Fa&&globalThis.FormData||Rs,_D=!Fa&&globalThis.Headers||_i,lSe=!Fa&&globalThis.Request||js,cSe=!Fa&&globalThis.Response||Wn,CD=!Fa&&globalThis.AbortController||om});function DV(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){PV(e);return}return t}function PV(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function AD(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);let r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!AV.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(CV.test(e)||EV.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,DV)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var CV,EV,AV,DD=$(()=>{CV=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,EV=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,AV=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/});function BV(e){return encodeURI(""+e).replace($V,"|")}function Kv(e){return BV(typeof e=="string"?e:JSON.stringify(e)).replace(Qv,"%2B").replace(NV,"+").replace(OV,"%23").replace(TV,"%26").replace(LV,"`").replace(IV,"^").replace(RV,"%2F")}function Gv(e){return Kv(e).replace(FV,"%3D")}function OD(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function jV(e){return OD(e.replace(Qv," "))}function MV(e){return OD(e.replace(Qv," "))}function qV(e=""){let t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(let r of e.split("&")){let n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;let i=jV(n[1]);if(i==="__proto__"||i==="constructor")continue;let o=MV(n[2]||"");t[i]===void 0?t[i]=o:Array.isArray(t[i])?t[i].push(o):t[i]=[t[i],o]}return t}function VV(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Gv(e)}=${Kv(r)}`).join("&"):`${Gv(e)}=${Kv(t)}`:Gv(e)}function UV(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>VV(t,e[t])).filter(Boolean).join("&")}function TD(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?zV.test(e):WV.test(e)||(t.acceptRelative?HV.test(e):!1)}function Yv(e="",t){return t?GV.test(e):e.endsWith("/")}function YV(e="",t){if(!t)return(Yv(e)?e.slice(0,-1):e)||"/";if(!Yv(e,!0))return e||"/";let r=e,n="",i=e.indexOf("#");i!==-1&&(r=e.slice(0,i),n=e.slice(i));let[o,...a]=r.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(a.length>0?`?${a.join("?")}`:"")+n}function QV(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Yv(e,!0))return e||"/";let r=e,n="",i=e.indexOf("#");if(i!==-1&&(r=e.slice(0,i),n=e.slice(i),!r))return n;let[o,...a]=r.split("?");return o+"/"+(a.length>0?`?${a.join("?")}`:"")+n}function RD(e,t){if(XV(t)||TD(e))return e;let r=YV(t);return e.startsWith(r)?e:am(r,e)}function FD(e,t){let r=LD(e),n={...qV(r.search),...t};return r.search=UV(n),ZV(r)}function XV(e){return!e||e==="/"}function JV(e){return e&&e!=="/"}function am(e,...t){let r=e||"";for(let n of t.filter(i=>JV(i)))if(r){let i=n.replace(KV,"");r=QV(r)+i}else r=n;return r}function LD(e="",t){let r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){let[,p,m=""]=r;return{protocol:p.toLowerCase(),pathname:m,href:p+m,auth:"",host:"",search:"",hash:""}}if(!TD(e,{acceptRelative:!0}))return t?LD(t+e):PD(e);let[,n="",i,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",s=""]=o.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:u,search:l,hash:f}=PD(s);return{protocol:n.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:a,pathname:u,search:l,hash:f,[ID]:!n}}function PD(e=""){let[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function ZV(e){let t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",i=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[ID]?(e.protocol||"")+"//":"")+i+o+t+r+n}var dSe,OV,TV,RV,FV,Qv,IV,LV,$V,NV,zV,WV,HV,GV,KV,ID,Xv=$(()=>{dSe=String.fromCharCode,OV=/#/g,TV=/&/g,RV=/\//g,FV=/=/g,Qv=/\+/g,IV=/%5e/gi,LV=/%60/gi,$V=/%7c/gi,NV=/%20/gi;zV=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,WV=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,HV=/^([/\\]\s*){2,}[^/\\]/,GV=/\/$|\/\?|\/#/,KV=/^\.?\//;ID=Symbol.for("ufo:protocolRelative")});function Jv(e){let t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",i=`[${r}] ${JSON.stringify(n)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",a=`${i}: ${o}${t?` ${t}`:""}`,s=new pf(a,e.error?{cause:e.error}:void 0);for(let u of["request","options","response"])Object.defineProperty(s,u,{get(){return e[u]}});for(let[u,l]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(s,u,{get(){return e.response&&e.response[l]}});return s}function $D(e="GET"){return eU.has(e.toUpperCase())}function tU(e){if(e===void 0)return!1;let t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}function iU(e=""){if(!e)return"json";let t=e.split(";").shift()||"";return nU.test(t)?"json":rU.has(t)||t.startsWith("text/")?"text":"blob"}function oU(e,t,r,n){let i=aU(t?.headers??e?.headers,r?.headers,n),o;return(r?.query||r?.params||t?.params||t?.query)&&(o={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:o,params:o,headers:i}}function aU(e,t,r){if(!t)return new r(e);let n=new r(t);if(e)for(let[i,o]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(i,o);return n}async function sm(e,t){if(t)if(Array.isArray(t))for(let r of t)await r(e);else await t(e)}function um(e={}){let{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function i(s){let u=s.error&&s.error.name==="AbortError"&&!s.options.timeout||!1;if(s.options.retry!==!1&&!u){let f;typeof s.options.retry=="number"?f=s.options.retry:f=$D(s.options.method)?0:1;let p=s.response&&s.response.status||500;if(f>0&&(Array.isArray(s.options.retryStatusCodes)?s.options.retryStatusCodes.includes(p):sU.has(p))){let m=typeof s.options.retryDelay=="function"?s.options.retryDelay(s):s.options.retryDelay||0;return m>0&&await new Promise(b=>setTimeout(b,m)),o(s.request,{...s.options,retry:f-1})}}let l=Jv(s);throw Error.captureStackTrace&&Error.captureStackTrace(l,o),l}let o=async function(u,l={}){let f={request:u,options:oU(u,l,e.defaults,r),response:void 0,error:void 0};f.options.method&&(f.options.method=f.options.method.toUpperCase()),f.options.onRequest&&await sm(f,f.options.onRequest),typeof f.request=="string"&&(f.options.baseURL&&(f.request=RD(f.request,f.options.baseURL)),f.options.query&&(f.request=FD(f.request,f.options.query),delete f.options.query),"query"in f.options&&delete f.options.query,"params"in f.options&&delete f.options.params),f.options.body&&$D(f.options.method)&&(tU(f.options.body)?(f.options.body=typeof f.options.body=="string"?f.options.body:JSON.stringify(f.options.body),f.options.headers=new r(f.options.headers||{}),f.options.headers.has("content-type")||f.options.headers.set("content-type","application/json"),f.options.headers.has("accept")||f.options.headers.set("accept","application/json")):("pipeTo"in f.options.body&&typeof f.options.body.pipeTo=="function"||typeof f.options.body.pipe=="function")&&("duplex"in f.options||(f.options.duplex="half")));let p;if(!f.options.signal&&f.options.timeout){let b=new n;p=setTimeout(()=>{let v=new Error("[TimeoutError]: The operation was aborted due to timeout");v.name="TimeoutError",v.code=23,b.abort(v)},f.options.timeout),f.options.signal=b.signal}try{f.response=await t(f.request,f.options)}catch(b){return f.error=b,f.options.onRequestError&&await sm(f,f.options.onRequestError),await i(f)}finally{p&&clearTimeout(p)}if((f.response.body||f.response._bodyInit)&&!uU.has(f.response.status)&&f.options.method!=="HEAD"){let b=(f.options.parseResponse?"json":f.options.responseType)||iU(f.response.headers.get("content-type")||"");switch(b){case"json":{let v=await f.response.text(),w=f.options.parseResponse||AD;f.response._data=w(v);break}case"stream":{f.response._data=f.response.body||f.response._bodyInit;break}default:f.response._data=await f.response[b]()}}return f.options.onResponse&&await sm(f,f.options.onResponse),!f.options.ignoreResponseError&&f.response.status>=400&&f.response.status<600?(f.options.onResponseError&&await sm(f,f.options.onResponseError),await i(f)):f.response},a=async function(u,l){return(await o(u,l))._data};return a.raw=o,a.native=(...s)=>t(...s),a.create=(s={},u={})=>um({...e,...u,defaults:{...e.defaults,...u.defaults,...s}}),a}var pf,eU,rU,nU,sU,uU,Zv=$(()=>{DD();Xv();pf=class extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}};eU=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));rU=new Set(["image/svg","application/xml","application/xhtml","application/html"]),nU=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;sU=new Set([408,409,425,429,500,502,503,504]),uU=new Set([101,204,205,304])});var lm={};Hu(lm,{$fetch:()=>e1,AbortController:()=>VD,FetchError:()=>pf,Headers:()=>qD,createFetch:()=>um,createFetchError:()=>Jv,createNodeFetch:()=>jD,fetch:()=>MD,ofetch:()=>UD});function jD(){if(!JSON.parse(process.env.FETCH_KEEP_ALIVE||"false"))return Hv;let t={keepAlive:!0},r=new ND.default.Agent(t),n=new BD.default.Agent(t),i={agent(o){return o.protocol==="http:"?r:n}};return function(a,s){return Hv(a,{...i,...s})}}var ND,BD,MD,qD,VD,UD,e1,hf=$(()=>{ND=At(require("node:http"),1),BD=At(require("node:https"),1);ED();Zv();Zv();MD=globalThis.fetch?(...e)=>globalThis.fetch(...e):jD(),qD=globalThis.Headers||_D,VD=globalThis.AbortController||CD,UD=um({fetch:MD,Headers:qD,AbortController:VD}),e1=UD});function HD(e){return(t={})=>{let{scale:r=1,mode:n="auto",prefix:i="i-",warn:o=!1,iconifyCollectionsNames:a,collections:s,extraProperties:u={},customizations:l={},autoInstall:f=!1,collectionsNodeResolvePath:p,layer:m="icons",unit:b,processor:v}=t,w=t1(),C={addXmlNs:!0,scale:r,customCollections:s,autoInstall:f,cwd:p,warn:void 0,customizations:{...l,additionalProps:{...u},trimCustomSvg:!0,async iconCustomizer(A,E,y){await l.iconCustomizer?.(A,E,y),b&&(y.width||(y.width=`${r}${b}`),y.height||(y.height=`${r}${b}`))}}},P;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:bv,parseIconWithLoader:zD},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async A=>{let[E,y,L=n]=A;P=P||await e(t);let I={},T=await zD(y,P,{...C,usedProps:I},a);if(!T){o&&!w.isESLint&&Rd(`failed to load icon "${E}"`);return}let N,X=`url("data:image/svg+xml;utf8,${bv(T.svg)}")`;return L==="auto"&&(L=T.svg.includes("currentColor")?"mask":"bg"),L==="mask"?N={"--un-icon":X,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...I}:N={background:`${X} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...I},v?.(N,{...T,icon:T.name,mode:L}),N},{layer:m,prefix:i}]]}}}function GD(e){return async(...t)=>{for(let r of e){if(!r)continue;let n=await r(...t);if(n)return n}}}function KD(e,t,r=new Map){function n(i){if(WD.includes(i))return r.has(i)||r.set(i,e(`${t}@iconify-json/${i}/icons.json`)),r.get(i)}return async(i,o,a)=>{let s=await Os(i,o,a);if(s)return s;let u=await n(i);if(u){let l=[o,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o.replace(/([a-z])(\d+)/g,"$1-$2")];s=await el(u,i,l,a)}return s}}function t1(){let e=typeof process<"u"&&process.stdout,t=e&&!!process.env.VSCODE_CWD,r=e&&!!process.env.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function zD(e,t,r={},n=[]){let i="",o="",a,s=new Set([...WD,...n,...Object.keys(r.customCollections||{})]);if(e.includes(":")){if([i,o]=e.split(":"),!s.has(i))return;a=await t(i,o,r)}else{let u=e.split(/-/g);for(let l=lU;l>=1&&(i=u.slice(0,l).join("-"),!(!!s.has(i)&&(o=u.slice(l).join("-"),a=await t(i,o,r),a)));l--);}if(a)return{collection:i,name:o,svg:a}}var WD,lU,r1=$(()=>{zd();Ud();d3();Dt();WD=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],lU=3});function YD(e){return KD(e1,e)}var QD=$(()=>{hf();r1()});function a1(e,t){for(var r=65536,n=0;n<t.length;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Gi(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&dU.test(String.fromCharCode(e)):t===!1?!1:a1(e,rP)}function La(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&mU.test(String.fromCharCode(e)):t===!1?!1:a1(e,rP)||a1(e,cU)}function Gn(e,t){return new rt(e,{beforeExpr:!0,binop:t})}function et(e,t){return t===void 0&&(t={}),t.keyword=e,c1[e]=new rt(e,t)}function al(e){return e===10||e===13||e===8232||e===8233}function iP(e,t,r){r===void 0&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(al(i))return n<r-1&&i===13&&e.charCodeAt(n+1)===10?n+2:n+1}return-1}function Ia(e){return JD[e]||(JD[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function Io(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function sP(e,t){for(var r=1,n=0;;){var i=iP(e,n,t);if(i<0)return new mf(r,t-n);++r,n=i}}function xU(e){var t={};for(var r in s1)t[r]=e&&sl(e,r)?e[r]:s1[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ZD&&typeof console=="object"&&console.warn&&(ZD=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
22
|
+
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),XD(t.onToken)){var n=t.onToken;t.onToken=function(i){return n.push(i)}}return XD(t.onComment)&&(t.onComment=wU(t,t.onComment)),t}function wU(e,t){return function(r,n,i,o,a,s){var u={type:r?"Block":"Line",value:n,start:i,end:o};e.locations&&(u.loc=new mm(this,a,s)),e.ranges&&(u.range=[i,o]),t.push(u)}}function h1(e,t){return ul|(e?f1:0)|(t?uP:0)}function CU(e,t){var r=t.key.name,n=e[r],i="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(i=(t.static?"s":"i")+t.kind),n==="iget"&&i==="iset"||n==="iset"&&i==="iget"||n==="sget"&&i==="sset"||n==="sset"&&i==="sget"?(e[r]="true",!1):n?!0:(e[r]=i,!1)}function pm(e,t){var r=e.computed,n=e.key;return!r&&(n.type==="Identifier"&&n.name===t||n.type==="Literal"&&n.value===t)}function mP(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&mP(e.expression)}function l1(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&l1(e.expression)||e.type==="ParenthesizedExpression"&&l1(e.expression)}function gP(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}function LU(e){var t=AP[e]={binary:Ia(OU[e]+" "+eP),binaryOfStrings:Ia(RU[e]),nonBinary:{General_Category:Ia(eP),Script:Ia(IU[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function $U(e){for(var t in e)return!0;return!1}function NU(e){return e===105||e===109||e===115}function DP(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function BU(e){return Gi(e,!0)||e===36||e===95}function jU(e){return La(e,!0)||e===36||e===95||e===8204||e===8205}function PP(e){return e>=65&&e<=90||e>=97&&e<=122}function MU(e){return e>=0&&e<=1114111}function qU(e){return e===100||e===68||e===115||e===83||e===119||e===87}function TP(e){return PP(e)||e===95}function VU(e){return TP(e)||xm(e)}function UU(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function zU(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}function WU(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}function xm(e){return e>=48&&e<=57}function RP(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function FP(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function IP(e){return e>=48&&e<=55}function HU(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function LP(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}var cU,rP,fU,nP,n1,i1,pU,hU,dU,mU,rt,Kn,an,c1,D,sn,gU,oP,vr,aP,bU,yU,sl,XD,JD,vU,mf,mm,s1,ZD,gf,ul,f1,uP,p1,lP,gm,cP,qs,bf,bm,fm,d1,$o,fP,pP,hP,nr,Ki,$r,kU,ym,ye,m1,SU,_U,df,u1,dP,Qn,Ci,St,ll,Ie,EU,hm,$a,AU,vm,yf,DU,bP,yP,vP,xP,wP,PU,OU,TU,RU,eP,kP,SP,_P,CP,EP,FU,IU,AP,tP,cm,o1,ge,dm,Yi,OP,Lo,Yn,g1,Je,$P,GU,NP=$(()=>{cU=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],rP=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],fU="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",nP="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u09FC\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",n1={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i1="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",pU={5:i1,"5module":i1+" export import",6:i1+" const class extends export import super"},hU=/^in(stanceof)?$/,dU=new RegExp("["+nP+"]"),mU=new RegExp("["+nP+fU+"]");rt=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};Kn={beforeExpr:!0},an={startsExpr:!0},c1={};D={num:new rt("num",an),regexp:new rt("regexp",an),string:new rt("string",an),name:new rt("name",an),privateId:new rt("privateId",an),eof:new rt("eof"),bracketL:new rt("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new rt("]"),braceL:new rt("{",{beforeExpr:!0,startsExpr:!0}),braceR:new rt("}"),parenL:new rt("(",{beforeExpr:!0,startsExpr:!0}),parenR:new rt(")"),comma:new rt(",",Kn),semi:new rt(";",Kn),colon:new rt(":",Kn),dot:new rt("."),question:new rt("?",Kn),questionDot:new rt("?."),arrow:new rt("=>",Kn),template:new rt("template"),invalidTemplate:new rt("invalidTemplate"),ellipsis:new rt("...",Kn),backQuote:new rt("`",an),dollarBraceL:new rt("${",{beforeExpr:!0,startsExpr:!0}),eq:new rt("=",{beforeExpr:!0,isAssign:!0}),assign:new rt("_=",{beforeExpr:!0,isAssign:!0}),incDec:new rt("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new rt("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Gn("||",1),logicalAND:Gn("&&",2),bitwiseOR:Gn("|",3),bitwiseXOR:Gn("^",4),bitwiseAND:Gn("&",5),equality:Gn("==/!=/===/!==",6),relational:Gn("</>/<=/>=",7),bitShift:Gn("<</>>/>>>",8),plusMin:new rt("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Gn("%",10),star:Gn("*",10),slash:Gn("/",10),starstar:new rt("**",{beforeExpr:!0}),coalesce:Gn("??",1),_break:et("break"),_case:et("case",Kn),_catch:et("catch"),_continue:et("continue"),_debugger:et("debugger"),_default:et("default",Kn),_do:et("do",{isLoop:!0,beforeExpr:!0}),_else:et("else",Kn),_finally:et("finally"),_for:et("for",{isLoop:!0}),_function:et("function",an),_if:et("if"),_return:et("return",Kn),_switch:et("switch"),_throw:et("throw",Kn),_try:et("try"),_var:et("var"),_const:et("const"),_while:et("while",{isLoop:!0}),_with:et("with"),_new:et("new",{beforeExpr:!0,startsExpr:!0}),_this:et("this",an),_super:et("super",an),_class:et("class",an),_extends:et("extends",Kn),_export:et("export"),_import:et("import",an),_null:et("null",an),_true:et("true",an),_false:et("false",an),_in:et("in",{beforeExpr:!0,binop:7}),_instanceof:et("instanceof",{beforeExpr:!0,binop:7}),_typeof:et("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:et("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:et("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},sn=/\r\n?|\n|\u2028|\u2029/,gU=new RegExp(sn.source,"g");oP=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,vr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,aP=Object.prototype,bU=aP.hasOwnProperty,yU=aP.toString,sl=Object.hasOwn||function(e,t){return bU.call(e,t)},XD=Array.isArray||function(e){return yU.call(e)==="[object Array]"},JD=Object.create(null);vU=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,mf=function(t,r){this.line=t,this.column=r};mf.prototype.offset=function(t){return new mf(this.line,this.column+t)};mm=function(t,r,n){this.start=r,this.end=n,t.sourceFile!==null&&(this.source=t.sourceFile)};s1={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ZD=!1;gf=1,ul=2,f1=4,uP=8,p1=16,lP=32,gm=64,cP=128,qs=256,bf=512,bm=gf|ul|qs;fm=0,d1=1,$o=2,fP=3,pP=4,hP=5,nr=function(t,r,n){this.options=t=xU(t),this.sourceFile=t.sourceFile,this.keywords=Ia(pU[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var i="";t.allowReserved!==!0&&(i=n1[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(i+=" await")),this.reservedWords=Ia(i);var o=(i?i+" ":"")+n1.strict;this.reservedWordsStrict=Ia(o),this.reservedWordsStrictBind=Ia(o+" "+n1.strictBind),this.input=String(r),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
|
|
23
|
+
`,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(sn).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=D.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(gf),this.regexpState=null,this.privateNameStack=[]},Ki={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};nr.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Ki.inFunction.get=function(){return(this.currentVarScope().flags&ul)>0};Ki.inGenerator.get=function(){return(this.currentVarScope().flags&uP)>0};Ki.inAsync.get=function(){return(this.currentVarScope().flags&f1)>0};Ki.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(qs|bf))return!1;if(r&ul)return(r&f1)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Ki.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&gm)>0||this.options.allowSuperOutsideMethod};Ki.allowDirectSuper.get=function(){return(this.currentThisScope().flags&cP)>0};Ki.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Ki.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(qs|bf)||r&ul&&!(r&p1))return!0}return!1};Ki.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&qs)>0};nr.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var n=this,i=0;i<t.length;i++)n=t[i](n);return n};nr.parse=function(t,r){return new this(r,t).parse()};nr.parseExpressionAt=function(t,r,n){var i=new this(n,t,r);return i.nextToken(),i.parseExpression()};nr.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(nr.prototype,Ki);$r=nr.prototype,kU=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;$r.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){vr.lastIndex=e,e+=vr.exec(this.input)[0].length;var t=kU.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){vr.lastIndex=e+t[0].length;var r=vr.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return i===";"||i==="}"||sn.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,vr.lastIndex=e,e+=vr.exec(this.input)[0].length,this.input[e]===";"&&e++}};$r.eat=function(e){return this.type===e?(this.next(),!0):!1};$r.isContextual=function(e){return this.type===D.name&&this.value===e&&!this.containsEsc};$r.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};$r.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};$r.canInsertSemicolon=function(){return this.type===D.eof||this.type===D.braceR||sn.test(this.input.slice(this.lastTokEnd,this.start))};$r.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};$r.semicolon=function(){!this.eat(D.semi)&&!this.insertSemicolon()&&this.unexpected()};$r.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};$r.expect=function(e){this.eat(e)||this.unexpected()};$r.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};ym=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$r.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};$r.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")};$r.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};$r.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};ye=nr.prototype;ye.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==D.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var o=i[n];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};m1={kind:"loop"},SU={kind:"switch"};ye.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;vr.lastIndex=this.pos;var t=vr.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(n===91||n===92)return!0;if(e)return!1;if(n===123||n>55295&&n<56320)return!0;if(Gi(n,!0)){for(var i=r+1;La(n=this.input.charCodeAt(i),!0);)++i;if(n===92||n>55295&&n<56320)return!0;var o=this.input.slice(r,i);if(!hU.test(o))return!0}return!1};ye.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;vr.lastIndex=this.pos;var e=vr.exec(this.input),t=this.pos+e[0].length,r;return!sn.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(La(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};ye.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;vr.lastIndex=this.pos;var r=vr.exec(this.input),n=this.pos+r[0].length;if(sn.test(this.input.slice(this.pos,n)))return!1;if(e){var i=n+5,o;if(this.input.slice(n,i)!=="using"||i===this.input.length||La(o=this.input.charCodeAt(i))||o>55295&&o<56320)return!1;vr.lastIndex=i;var a=vr.exec(this.input);if(a&&sn.test(this.input.slice(i,i+a[0].length)))return!1}if(t){var s=n+2,u;if(this.input.slice(n,s)==="of"&&(s===this.input.length||!La(u=this.input.charCodeAt(s))&&!(u>55295&&u<56320)))return!1}var l=this.input.charCodeAt(n);return Gi(l,!0)||l===92};ye.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};ye.isUsing=function(e){return this.isUsingKeyword(!1,e)};ye.parseStatement=function(e,t,r){var n=this.type,i=this.startNode(),o;switch(this.isLet(e)&&(n=D._var,o="let"),n){case D._break:case D._continue:return this.parseBreakContinueStatement(i,n.keyword);case D._debugger:return this.parseDebuggerStatement(i);case D._do:return this.parseDoStatement(i);case D._for:return this.parseForStatement(i);case D._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case D._class:return e&&this.unexpected(),this.parseClass(i,!0);case D._if:return this.parseIfStatement(i);case D._return:return this.parseReturnStatement(i);case D._switch:return this.parseSwitchStatement(i);case D._throw:return this.parseThrowStatement(i);case D._try:return this.parseTryStatement(i);case D._const:case D._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(i,o);case D._while:return this.parseWhileStatement(i);case D._with:return this.parseWithStatement(i);case D.braceL:return this.parseBlock(!0,i);case D.semi:return this.parseEmptyStatement(i);case D._export:case D._import:if(this.options.ecmaVersion>10&&n===D._import){vr.lastIndex=this.pos;var a=vr.exec(this.input),s=this.pos+a[0].length,u=this.input.charCodeAt(s);if(u===40||u===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===D._import?this.parseImport(i):this.parseExport(i,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var l=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(l)return t&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),l==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(i,!1,l),this.semicolon(),this.finishNode(i,"VariableDeclaration");var f=this.value,p=this.parseExpression();return n===D.name&&p.type==="Identifier"&&this.eat(D.colon)?this.parseLabeledStatement(i,f,p,e):this.parseExpressionStatement(i,p)}};ye.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(D.semi)||this.insertSemicolon()?e.label=null:this.type!==D.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(r||i.kind==="loop")||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};ye.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};ye.parseDoStatement=function(e){return this.next(),this.labels.push(m1),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(D._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(D.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};ye.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(m1),this.enterScope(0),this.expect(D.parenL),this.type===D.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===D._var||this.type===D._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),this.parseForAfterInit(e,n,t)}var o=this.isContextual("let"),a=!1,s=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(s){var u=this.startNode();return this.next(),s==="await using"&&this.next(),this.parseVar(u,!0,s),this.finishNode(u,"VariableDeclaration"),this.parseForAfterInit(e,u,t)}var l=this.containsEsc,f=new ym,p=this.start,m=t>-1?this.parseExprSubscripts(f,"await"):this.parseExpression(!0,f);return this.type===D._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===D._in&&this.unexpected(t),e.await=!0):a&&this.options.ecmaVersion>=8&&(m.start===p&&!l&&m.type==="Identifier"&&m.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),o&&a&&this.raise(m.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(m,!1,f),this.checkLValPattern(m),this.parseForIn(e,m)):(this.checkExpressionErrors(f,!0),t>-1&&this.unexpected(t),this.parseFor(e,m))};ye.parseForAfterInit=function(e,t,r){return(this.type===D._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===D._in?r>-1&&this.unexpected(r):e.await=r>-1),this.parseForIn(e,t)):(r>-1&&this.unexpected(r),this.parseFor(e,t))};ye.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,df|(r?0:u1),!1,t)};ye.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(D._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};ye.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(D.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};ye.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(D.braceL),this.labels.push(SU),this.enterScope(0);for(var t,r=!1;this.type!==D.braceR;)if(this.type===D._case||this.type===D._default){var n=this.type===D._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(D.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};ye.parseThrowStatement=function(e){return this.next(),sn.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};_U=[];ye.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?lP:0),this.checkLValPattern(e,t?pP:$o),this.expect(D.parenR),e};ye.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===D._catch){var t=this.startNode();this.next(),this.eat(D.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(D._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};ye.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};ye.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(m1),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};ye.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};ye.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};ye.parseLabeledStatement=function(e,t,r,n){for(var i=0,o=this.labels;i<o.length;i+=1){var a=o[i];a.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var s=this.type.isLoop?"loop":this.type===D._switch?"switch":null,u=this.labels.length-1;u>=0;u--){var l=this.labels[u];if(l.statementStart===e.start)l.statementStart=this.start,l.kind=s;else break}return this.labels.push({name:t,kind:s,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};ye.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};ye.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(D.braceL),e&&this.enterScope(0);this.type!==D.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};ye.parseFor=function(e,t){return e.init=t,this.expect(D.semi),e.test=this.type===D.semi?null:this.parseExpression(),this.expect(D.semi),e.update=this.type===D.parenR?null:this.parseExpression(),this.expect(D.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};ye.parseForIn=function(e,t){var r=this.type===D._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(D.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};ye.parseVar=function(e,t,r,n){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(D.eq)?i.init=this.parseMaybeAssign(t):!n&&r==="const"&&!(this.type===D._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!n&&(r==="using"||r==="await using")&&this.options.ecmaVersion>=17&&this.type!==D._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+r+" declaration"):!n&&i.id.type!=="Identifier"&&!(t&&(this.type===D._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(D.comma))break}return e};ye.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?d1:$o,!1)};df=1,u1=2,dP=4;ye.parseFunction=function(e,t,r,n,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===D.star&&t&u1&&this.unexpected(),e.generator=this.eat(D.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&df&&(e.id=t&dP&&this.type!==D.name?null:this.parseIdent(),e.id&&!(t&u1)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?d1:$o:fP));var o=this.yieldPos,a=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(h1(e.async,e.generator)),t&df||(e.id=this.type===D.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=o,this.awaitPos=a,this.awaitIdentPos=s,this.finishNode(e,t&df?"FunctionDeclaration":"FunctionExpression")};ye.parseFunctionParams=function(e){this.expect(D.parenL),e.params=this.parseBindingList(D.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};ye.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),i=this.startNode(),o=!1;for(i.body=[],this.expect(D.braceL);this.type!==D.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"?(o&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),o=!0):a.key&&a.key.type==="PrivateIdentifier"&&CU(n,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};ye.parseClassElement=function(e){if(this.eat(D.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",i=!1,o=!1,a="method",s=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(D.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===D.star?s=!0:n="static"}if(r.static=s,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===D.star)&&!this.canInsertSemicolon()?o=!0:n="async"),!n&&(t>=9||!o)&&this.eat(D.star)&&(i=!0),!n&&!o&&!i){var u=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=u:n=u)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===D.parenL||a!=="method"||i||o){var l=!r.static&&pm(r,"constructor"),f=l&&e;l&&a!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=l?"constructor":a,this.parseClassMethod(r,i,o,f)}else this.parseClassField(r);return r};ye.isClassElementNameStart=function(){return this.type===D.name||this.type===D.privateId||this.type===D.num||this.type===D.string||this.type===D.bracketL||this.type.keyword};ye.parseClassElementName=function(e){this.type===D.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};ye.parseClassMethod=function(e,t,r,n){var i=e.key;e.kind==="constructor"?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&pm(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var o=e.value=this.parseMethod(t,r,n);return e.kind==="get"&&o.params.length!==0&&this.raiseRecoverable(o.start,"getter should have no params"),e.kind==="set"&&o.params.length!==1&&this.raiseRecoverable(o.start,"setter should have exactly one param"),e.kind==="set"&&o.params[0].type==="RestElement"&&this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};ye.parseClassField=function(e){return pm(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&pm(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(D.eq)?(this.enterScope(bf|gm),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};ye.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(qs|gm);this.type!==D.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};ye.parseClassId=function(e,t){this.type===D.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,$o,!1)):(t===!0&&this.unexpected(),e.id=null)};ye.parseClassSuper=function(e){e.superClass=this.eat(D._extends)?this.parseExprSubscripts(null,!1):null};ye.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};ye.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,i=n===0?null:this.privateNameStack[n-1],o=0;o<r.length;++o){var a=r[o];sl(t,a.name)||(i?i.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}};ye.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==D.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};ye.parseExport=function(e,t){if(this.next(),this.eat(D.star))return this.parseExportAllDeclaration(e,t);if(this.eat(D._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==D.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,n=e.specifiers;r<n.length;r+=1){var i=n[r];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type==="Literal"&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};ye.parseExportDeclaration=function(e){return this.parseStatement(null)};ye.parseExportDefaultDeclaration=function(){var e;if(this.type===D._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,df|dP,!1,e)}else if(this.type===D._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var n=this.parseMaybeAssign();return this.semicolon(),n}};ye.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),sl(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};ye.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var n=0,i=t.properties;n<i.length;n+=1){var o=i[n];this.checkPatternExport(e,o)}else if(r==="ArrayPattern")for(var a=0,s=t.elements;a<s.length;a+=1){var u=s[a];u&&this.checkPatternExport(e,u)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};ye.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}};ye.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};ye.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};ye.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(D.braceL);!this.eat(D.braceR);){if(r)r=!1;else if(this.expect(D.comma),this.afterTrailingComma(D.braceR))break;t.push(this.parseExportSpecifier(e))}return t};ye.parseImport=function(e){return this.next(),this.type===D.string?(e.specifiers=_U,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===D.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};ye.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,$o),this.finishNode(e,"ImportSpecifier")};ye.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,$o),this.finishNode(e,"ImportDefaultSpecifier")};ye.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,$o),this.finishNode(e,"ImportNamespaceSpecifier")};ye.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===D.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(D.comma)))return e;if(this.type===D.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(D.braceL);!this.eat(D.braceR);){if(t)t=!1;else if(this.expect(D.comma),this.afterTrailingComma(D.braceR))break;e.push(this.parseImportSpecifier())}return e};ye.parseWithClause=function(){var e=[];if(!this.eat(D._with))return e;this.expect(D.braceL);for(var t={},r=!0;!this.eat(D.braceR);){if(r)r=!1;else if(this.expect(D.comma),this.afterTrailingComma(D.braceR))break;var n=this.parseImportAttribute(),i=n.key.type==="Identifier"?n.key.name:n.key.value;sl(t,i)&&this.raiseRecoverable(n.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(n)}return e};ye.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===D.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(D.colon),this.type!==D.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};ye.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===D.string){var e=this.parseLiteral(this.value);return vU.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};ye.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};ye.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};Qn=nr.prototype;Qn.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var o=i[n];this.toAssignable(o,t),o.type==="RestElement"&&(o.argument.type==="ArrayPattern"||o.argument.type==="ObjectPattern")&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};Qn.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var o=e[r-1];this.options.ecmaVersion===6&&t&&o&&o.type==="RestElement"&&o.argument.type!=="Identifier"&&this.unexpected(o.argument.start)}return e};Qn.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};Qn.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==D.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};Qn.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case D.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(D.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case D.braceL:return this.parseObj(!0)}return this.parseIdent()};Qn.parseBindingList=function(e,t,r,n){for(var i=[],o=!0;!this.eat(e);)if(o?o=!1:this.expect(D.comma),t&&this.type===D.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===D.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),i.push(a),this.type===D.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(n))}return i};Qn.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};Qn.parseBindingListItem=function(e){return e};Qn.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(D.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")};Qn.checkLValSimple=function(e,t,r){t===void 0&&(t=fm);var n=t!==fm;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===$o&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(sl(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==hP&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}};Qn.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=fm),e.type){case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var o=i[n];this.checkLValInnerPattern(o,t,r)}break;case"ArrayPattern":for(var a=0,s=e.elements;a<s.length;a+=1){var u=s[a];u&&this.checkLValInnerPattern(u,t,r)}break;default:this.checkLValSimple(e,t,r)}};Qn.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=fm),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};Ci=function(t,r,n,i,o){this.token=t,this.isExpr=!!r,this.preserveSpace=!!n,this.override=i,this.generator=!!o},St={b_stat:new Ci("{",!1),b_expr:new Ci("{",!0),b_tmpl:new Ci("${",!1),p_stat:new Ci("(",!1),p_expr:new Ci("(",!0),q_tmpl:new Ci("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Ci("function",!1),f_expr:new Ci("function",!0),f_expr_gen:new Ci("function",!0,!1,null,!0),f_gen:new Ci("function",!1,!1,null,!0)},ll=nr.prototype;ll.initialContext=function(){return[St.b_stat]};ll.curContext=function(){return this.context[this.context.length-1]};ll.braceIsBlock=function(e){var t=this.curContext();return t===St.f_expr||t===St.f_stat?!0:e===D.colon&&(t===St.b_stat||t===St.b_expr)?!t.isExpr:e===D._return||e===D.name&&this.exprAllowed?sn.test(this.input.slice(this.lastTokEnd,this.start)):e===D._else||e===D.semi||e===D.eof||e===D.parenR||e===D.arrow?!0:e===D.braceL?t===St.b_stat:e===D._var||e===D._const||e===D.name?!1:!this.exprAllowed};ll.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};ll.updateContext=function(e){var t,r=this.type;r.keyword&&e===D.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};ll.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};D.parenR.updateContext=D.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===St.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};D.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?St.b_stat:St.b_expr),this.exprAllowed=!0};D.dollarBraceL.updateContext=function(){this.context.push(St.b_tmpl),this.exprAllowed=!0};D.parenL.updateContext=function(e){var t=e===D._if||e===D._for||e===D._with||e===D._while;this.context.push(t?St.p_stat:St.p_expr),this.exprAllowed=!0};D.incDec.updateContext=function(){};D._function.updateContext=D._class.updateContext=function(e){e.beforeExpr&&e!==D._else&&!(e===D.semi&&this.curContext()!==St.p_stat)&&!(e===D._return&&sn.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===D.colon||e===D.braceL)&&this.curContext()===St.b_stat)?this.context.push(St.f_expr):this.context.push(St.f_stat),this.exprAllowed=!1};D.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};D.backQuote.updateContext=function(){this.curContext()===St.q_tmpl?this.context.pop():this.context.push(St.q_tmpl),this.exprAllowed=!1};D.star.updateContext=function(e){if(e===D._function){var t=this.context.length-1;this.context[t]===St.f_expr?this.context[t]=St.f_expr_gen:this.context[t]=St.f_gen}this.exprAllowed=!0};D.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==D.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};Ie=nr.prototype;Ie.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n=e.key,i;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&o==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var a=t[i];if(a){var s;o==="init"?s=this.strict&&a.init||a.get||a.set:s=a.init||a[o],s&&this.raiseRecoverable(n.start,"Redefinition of property")}else a=t[i]={init:!1,get:!1,set:!1};a[o]=!0}};Ie.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===D.comma){var o=this.startNodeAt(r,n);for(o.expressions=[i];this.eat(D.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i};Ie.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,i=-1,o=-1,a=-1;t?(i=t.parenthesizedAssign,o=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new ym,n=!0);var s=this.start,u=this.startLoc;(this.type===D.parenL||this.type===D.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var l=this.parseMaybeConditional(e,t);if(r&&(l=r.call(this,l,s,u)),this.type.isAssign){var f=this.startNodeAt(s,u);return f.operator=this.value,this.type===D.eq&&(l=this.toAssignable(l,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===D.eq?this.checkLValPattern(l):this.checkLValSimple(l),f.left=l,this.next(),f.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(f,"AssignmentExpression")}else n&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),l};Ie.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(D.question)){var o=this.startNodeAt(r,n);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(D.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i};Ie.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,r,n,-1,e)};Ie.parseExprOp=function(e,t,r,n,i){var o=this.type.binop;if(o!=null&&(!i||this.type!==D._in)&&o>n){var a=this.type===D.logicalOR||this.type===D.logicalAND,s=this.type===D.coalesce;s&&(o=D.logicalAND.binop);var u=this.value;this.next();var l=this.start,f=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),l,f,o,i),m=this.buildBinary(t,r,e,p,u,a||s);return(a&&this.type===D.coalesce||s&&(this.type===D.logicalOR||this.type===D.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(m,t,r,n,i)}return e};Ie.buildBinary=function(e,t,r,n,i,o){n.type==="PrivateIdentifier"&&this.raise(n.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(e,t);return a.left=r,a.operator=i,a.right=n,this.finishNode(a,o?"LogicalExpression":"BinaryExpression")};Ie.parseMaybeUnary=function(e,t,r,n){var i=this.start,o=this.startLoc,a;if(this.isContextual("await")&&this.canAwait)a=this.parseAwait(n),t=!0;else if(this.type.prefix){var s=this.startNode(),u=this.type===D.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0,u,n),this.checkExpressionErrors(e,!0),u?this.checkLValSimple(s.argument):this.strict&&s.operator==="delete"&&mP(s.argument)?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):s.operator==="delete"&&l1(s.argument)?this.raiseRecoverable(s.start,"Private fields can not be deleted"):t=!0,a=this.finishNode(s,u?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===D.privateId)(n||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),a=this.parsePrivateIdent(),this.type!==D._in&&this.unexpected();else{if(a=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(i,o);l.operator=this.value,l.prefix=!1,l.argument=a,this.checkLValSimple(a),this.next(),a=this.finishNode(l,"UpdateExpression")}}if(!r&&this.eat(D.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,o,a,this.parseMaybeUnary(null,!1,!1,n),"**",!1);else return a};Ie.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprAtom(e,t);if(i.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return i;var o=this.parseSubscripts(i,r,n,!1,t);return e&&o.type==="MemberExpression"&&(e.parenthesizedAssign>=o.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=o.start&&(e.parenthesizedBind=-1),e.trailingComma>=o.start&&(e.trailingComma=-1)),o};Ie.parseSubscripts=function(e,t,r,n,i){for(var o=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var s=this.parseSubscript(e,t,r,n,o,a,i);if(s.optional&&(a=!0),s===e||s.type==="ArrowFunctionExpression"){if(a){var u=this.startNodeAt(t,r);u.expression=s,s=this.finishNode(u,"ChainExpression")}return s}e=s}};Ie.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(D.arrow)};Ie.parseSubscriptAsyncArrow=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,n)};Ie.parseSubscript=function(e,t,r,n,i,o,a){var s=this.options.ecmaVersion>=11,u=s&&this.eat(D.questionDot);n&&u&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(D.bracketL);if(l||u&&this.type!==D.parenL&&this.type!==D.backQuote||this.eat(D.dot)){var f=this.startNodeAt(t,r);f.object=e,l?(f.property=this.parseExpression(),this.expect(D.bracketR)):this.type===D.privateId&&e.type!=="Super"?f.property=this.parsePrivateIdent():f.property=this.parseIdent(this.options.allowReserved!=="never"),f.computed=!!l,s&&(f.optional=u),e=this.finishNode(f,"MemberExpression")}else if(!n&&this.eat(D.parenL)){var p=new ym,m=this.yieldPos,b=this.awaitPos,v=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var w=this.parseExprList(D.parenR,this.options.ecmaVersion>=8,!1,p);if(i&&!u&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=m,this.awaitPos=b,this.awaitIdentPos=v,this.parseSubscriptAsyncArrow(t,r,w,a);this.checkExpressionErrors(p,!0),this.yieldPos=m||this.yieldPos,this.awaitPos=b||this.awaitPos,this.awaitIdentPos=v||this.awaitIdentPos;var C=this.startNodeAt(t,r);C.callee=e,C.arguments=w,s&&(C.optional=u),e=this.finishNode(C,"CallExpression")}else if(this.type===D.backQuote){(u||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var P=this.startNodeAt(t,r);P.tag=e,P.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(P,"TaggedTemplateExpression")}return e};Ie.parseExprAtom=function(e,t,r){this.type===D.slash&&this.readRegexp();var n,i=this.potentialArrowAt===this.start;switch(this.type){case D._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type===D.parenL&&!this.allowDirectSuper&&this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==D.dot&&this.type!==D.bracketL&&this.type!==D.parenL&&this.unexpected(),this.finishNode(n,"Super");case D._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case D.name:var o=this.start,a=this.startLoc,s=this.containsEsc,u=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(D._function))return this.overrideContext(St.f_expr),this.parseFunction(this.startNodeAt(o,a),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(D.arrow))return this.parseArrowExpression(this.startNodeAt(o,a),[u],!1,t);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===D.name&&!s&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(D.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,a),[u],!0,t)}return u;case D.regexp:var l=this.value;return n=this.parseLiteral(l.value),n.regex={pattern:l.pattern,flags:l.flags},n;case D.num:case D.string:return this.parseLiteral(this.value);case D._null:case D._true:case D._false:return n=this.startNode(),n.value=this.type===D._null?null:this.type===D._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case D.parenL:var f=this.start,p=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=f),e.parenthesizedBind<0&&(e.parenthesizedBind=f)),p;case D.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(D.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case D.braceL:return this.overrideContext(St.b_expr),this.parseObj(!1,e);case D._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case D._class:return this.parseClass(this.startNode(),!1);case D._new:return this.parseNew();case D.backQuote:return this.parseTemplate();case D._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};Ie.parseExprAtomDefault=function(){this.unexpected()};Ie.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===D.parenL&&!e)return this.parseDynamicImport(t);if(this.type===D.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};Ie.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(D.parenR)?e.options=null:(this.expect(D.comma),this.afterTrailingComma(D.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(D.parenR)||(this.expect(D.comma),this.afterTrailingComma(D.parenR)||this.unexpected())));else if(!this.eat(D.parenR)){var t=this.start;this.eat(D.comma)&&this.eat(D.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};Ie.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};Ie.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};Ie.parseParenExpression=function(){this.expect(D.parenL);var e=this.parseExpression();return this.expect(D.parenR),e};Ie.shouldParseArrow=function(e){return!this.canInsertSemicolon()};Ie.parseParenAndDistinguishExpression=function(e,t){var r=this.start,n=this.startLoc,i,o=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,s=this.startLoc,u=[],l=!0,f=!1,p=new ym,m=this.yieldPos,b=this.awaitPos,v;for(this.yieldPos=0,this.awaitPos=0;this.type!==D.parenR;)if(l?l=!1:this.expect(D.comma),o&&this.afterTrailingComma(D.parenR,!0)){f=!0;break}else if(this.type===D.ellipsis){v=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===D.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else u.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var w=this.lastTokEnd,C=this.lastTokEndLoc;if(this.expect(D.parenR),e&&this.shouldParseArrow(u)&&this.eat(D.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=m,this.awaitPos=b,this.parseParenArrowList(r,n,u,t);(!u.length||f)&&this.unexpected(this.lastTokStart),v&&this.unexpected(v),this.checkExpressionErrors(p,!0),this.yieldPos=m||this.yieldPos,this.awaitPos=b||this.awaitPos,u.length>1?(i=this.startNodeAt(a,s),i.expressions=u,this.finishNodeAt(i,"SequenceExpression",w,C)):i=u[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var P=this.startNodeAt(r,n);return P.expression=i,this.finishNode(P,"ParenthesizedExpression")}else return i};Ie.parseParenItem=function(e){return e};Ie.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};EU=[];Ie.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===D.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,i,!0,!1),this.eat(D.parenL)?e.arguments=this.parseExprList(D.parenR,this.options.ecmaVersion>=8,!1):e.arguments=EU,this.finishNode(e,"NewExpression")};Ie.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===D.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,`
|
|
24
|
+
`),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
25
|
+
`),cooked:this.value},this.next(),r.tail=this.type===D.backQuote,this.finishNode(r,"TemplateElement")};Ie.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===D.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(D.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(D.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};Ie.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===D.name||this.type===D.num||this.type===D.string||this.type===D.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===D.star)&&!sn.test(this.input.slice(this.lastTokEnd,this.start))};Ie.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(D.braceR);){if(n)n=!1;else if(this.expect(D.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(D.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};Ie.parseProperty=function(e,t){var r=this.startNode(),n,i,o,a;if(this.options.ecmaVersion>=9&&this.eat(D.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===D.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===D.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,a=this.startLoc),e||(n=this.eat(D.star)));var s=this.containsEsc;return this.parsePropertyName(r),!e&&!s&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(i=!0,n=this.options.ecmaVersion>=9&&this.eat(D.star),this.parsePropertyName(r)):i=!1,this.parsePropertyValue(r,e,n,i,o,a,t,s),this.finishNode(r,"Property")};Ie.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var n=e.value.start;e.kind==="get"?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};Ie.parsePropertyValue=function(e,t,r,n,i,o,a,s){(r||n)&&this.type===D.colon&&this.unexpected(),this.eat(D.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===D.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,n),e.kind="init"):!t&&!s&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==D.comma&&this.type!==D.braceR&&this.type!==D.eq?((r||n)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),t?e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key)):this.type===D.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};Ie.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(D.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(D.bracketR),e.key;e.computed=!1}return e.key=this.type===D.num||this.type===D.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Ie.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};Ie.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(h1(t,n.generator)|gm|(r?cP:0)),this.expect(D.parenL),n.params=this.parseBindingList(D.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(n,"FunctionExpression")};Ie.parseArrowExpression=function(e,t,r,n){var i=this.yieldPos,o=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(h1(r,!1)|p1),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};Ie.parseFunctionBody=function(e,t,r,n){var i=t&&this.type!==D.braceL,o=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!o||s)&&(a=this.strictDirective(this.end),a&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var u=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!o&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,hP),e.body=this.parseBlock(!1,void 0,a&&!o),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()};Ie.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var n=r[t];if(n.type!=="Identifier")return!1}return!0};Ie.checkParams=function(e,t){for(var r=Object.create(null),n=0,i=e.params;n<i.length;n+=1){var o=i[n];this.checkLValInnerPattern(o,d1,t?null:r)}};Ie.parseExprList=function(e,t,r,n){for(var i=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(D.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===D.comma?a=null:this.type===D.ellipsis?(a=this.parseSpread(n),n&&this.type===D.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):a=this.parseMaybeAssign(!1,n),i.push(a)}return i};Ie.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&n==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&bm)&&n==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(n==="arguments"||n==="await")&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(!this.inAsync&&n==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}};Ie.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};Ie.parseIdentNode=function(){var e=this.startNode();return this.type===D.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=D.name):this.unexpected(),e};Ie.parsePrivateIdent=function(){var e=this.startNode();return this.type===D.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};Ie.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===D.semi||this.canInsertSemicolon()||this.type!==D.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(D.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};Ie.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};hm=nr.prototype;hm.raise=function(e,t){var r=sP(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n};hm.raiseRecoverable=hm.raise;hm.curPosition=function(){if(this.options.locations)return new mf(this.curLine,this.pos-this.lineStart)};$a=nr.prototype,AU=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};$a.enterScope=function(e){this.scopeStack.push(new AU(e))};$a.exitScope=function(){this.scopeStack.pop()};$a.treatFunctionsAsVarInScope=function(e){return e.flags&ul||!this.inModule&&e.flags&gf};$a.declareName=function(e,t,r){var n=!1;if(t===$o){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&gf&&delete this.undefinedExports[e]}else if(t===pP){var o=this.currentScope();o.lexical.push(e)}else if(t===fP){var a=this.currentScope();this.treatFunctionsAsVar?n=a.lexical.indexOf(e)>-1:n=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var s=this.scopeStack.length-1;s>=0;--s){var u=this.scopeStack[s];if(u.lexical.indexOf(e)>-1&&!(u.flags&lP&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){n=!0;break}if(u.var.push(e),this.inModule&&u.flags&gf&&delete this.undefinedExports[e],u.flags&bm)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};$a.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};$a.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};$a.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(bm|bf|qs))return t}};$a.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(bm|bf|qs)&&!(t.flags&p1))return t}};vm=function(t,r,n){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new mm(t,n)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},yf=nr.prototype;yf.startNode=function(){return new vm(this,this.start,this.startLoc)};yf.startNodeAt=function(e,t){return new vm(this,e,t)};yf.finishNode=function(e,t){return gP.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};yf.finishNodeAt=function(e,t,r,n){return gP.call(this,e,t,r,n)};yf.copyNode=function(e){var t=new vm(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};DU="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",bP="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",yP=bP+" Extended_Pictographic",vP=yP,xP=vP+" EBase EComp EMod EPres ExtPict",wP=xP,PU=wP,OU={9:bP,10:yP,11:vP,12:xP,13:wP,14:PU},TU="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",RU={9:"",10:"",11:"",12:"",13:"",14:TU},eP="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",kP="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",SP=kP+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",_P=SP+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",CP=_P+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",EP=CP+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",FU=EP+" "+DU,IU={9:kP,10:SP,11:_P,12:CP,13:EP,14:FU},AP={};for(cm=0,o1=[9,10,11,12,13,14];cm<o1.length;cm+=1)tP=o1[cm],LU(tP);ge=nr.prototype,dm=function(t,r){this.parent=t,this.base=r||this};dm.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var n=t;n;n=n.parent)if(r.base===n.base&&r!==n)return!0;return!1};dm.prototype.sibling=function(){return new dm(this.parent,this.base)};Yi=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=AP[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Yi.prototype.reset=function(t,r,n){var i=n.indexOf("v")!==-1,o=n.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=n,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=o&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=o&&this.parser.options.ecmaVersion>=9)};Yi.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Yi.prototype.at=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return-1;var o=n.charCodeAt(t);if(!(r||this.switchU)||o<=55295||o>=57344||t+1>=i)return o;var a=n.charCodeAt(t+1);return a>=56320&&a<=57343?(o<<10)+a-56613888:o};Yi.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var n=this.source,i=n.length;if(t>=i)return i;var o=n.charCodeAt(t),a;return!(r||this.switchU)||o<=55295||o>=57344||t+1>=i||(a=n.charCodeAt(t+1))<56320||a>57343?t+1:t+2};Yi.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Yi.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Yi.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Yi.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};Yi.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var n=this.pos,i=0,o=t;i<o.length;i+=1){var a=o[i],s=this.at(n,r);if(s===-1||s!==a)return!1;n=this.nextIndex(n,r)}return this.pos=n,!0};ge.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=!1,i=!1,o=0;o<r.length;o++){var a=r.charAt(o);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,o+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),a==="u"&&(n=!0),a==="v"&&(i=!0)}this.options.ecmaVersion>=15&&n&&i&&this.raise(e.start,"Invalid regular expression flag")};ge.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&$U(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};ge.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}};ge.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new dm(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};ge.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};ge.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};ge.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};ge.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};ge.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};ge.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};ge.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};ge.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};ge.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),n=e.eat(45);if(r||n){for(var i=0;i<r.length;i++){var o=r.charAt(i);r.indexOf(o,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(n){var a=this.regexp_eatModifiers(e);!r&&!a&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var s=0;s<a.length;s++){var u=a.charAt(s);(a.indexOf(u,s+1)>-1||r.indexOf(u)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};ge.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};ge.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&NU(r);)t+=Io(r),e.advance();return t};ge.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};ge.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};ge.regexp_eatSyntaxCharacter=function(e){var t=e.current();return DP(t)?(e.lastIntValue=t,e.advance(),!0):!1};ge.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!DP(r);)e.advance();return e.pos!==t};ge.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};ge.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var n=0,i=r;n<i.length;n+=1){var o=i[n];o.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};ge.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};ge.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Io(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Io(e.lastIntValue);return!0}return!1};ge.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),BU(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};ge.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),jU(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)};ge.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};ge.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};ge.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};ge.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};ge.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};ge.regexp_eatZero=function(e){return e.current()===48&&!xm(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};ge.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};ge.regexp_eatControlLetter=function(e){var t=e.current();return PP(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};ge.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(i-55296)*1024+(a-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&MU(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1};ge.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};ge.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};OP=0,Lo=1,Yn=2;ge.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(qU(t))return e.lastIntValue=-1,e.advance(),Lo;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var n;if(e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&n===Yn&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return OP};ge.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),Lo}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return OP};ge.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){sl(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};ge.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Lo;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return Yn;e.raise("Invalid property name")};ge.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";TP(t=e.current());)e.lastStringValue+=Io(t),e.advance();return e.lastStringValue!==""};ge.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";VU(t=e.current());)e.lastStringValue+=Io(t),e.advance();return e.lastStringValue!==""};ge.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};ge.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===Yn&&e.raise("Negated character class may contain strings"),!0}return!1};ge.regexp_classContents=function(e){return e.current()===93?Lo:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Lo)};ge.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};ge.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||IP(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1};ge.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};ge.regexp_classSetExpression=function(e){var t=Lo,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===Yn&&(t=Yn);for(var n=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==Yn&&(t=Lo);continue}e.raise("Invalid character in character class")}if(n!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===Yn&&(t=Yn)}};ge.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return r!==-1&&n!==-1&&r>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};ge.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Lo:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};ge.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return r&&n===Yn&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null};ge.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};ge.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===Yn&&(t=Yn);return t};ge.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Lo:Yn};ge.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&UU(r)||zU(r)?!1:(e.advance(),e.lastIntValue=r,!0)};ge.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return WU(t)?(e.lastIntValue=t,e.advance(),!0):!1};ge.regexp_eatClassControlLetter=function(e){var t=e.current();return xm(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};ge.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};ge.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;xm(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};ge.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;RP(r=e.current());)e.lastIntValue=16*e.lastIntValue+FP(r),e.advance();return e.pos!==t};ge.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};ge.regexp_eatOctalDigit=function(e){var t=e.current();return IP(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};ge.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!RP(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+FP(i),e.advance()}return!0};g1=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new mm(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Je=nr.prototype;Je.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new g1(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};Je.getToken=function(){return this.next(),new g1(this)};typeof Symbol<"u"&&(Je[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===D.eof,value:t}}}});Je.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(D.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};Je.readToken=function(e){return Gi(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};Je.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Je.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,i=t;(n=iP(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};Je.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!al(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};Je.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&oP.test(String.fromCharCode(e)))++this.pos;else break e}}};Je.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};Je.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(D.ellipsis)):(++this.pos,this.finishToken(D.dot))};Je.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(D.assign,2):this.finishOp(D.slash,1)};Je.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?D.star:D.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=D.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(D.assign,r+1):this.finishOp(n,r)};Je.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(D.assign,3)}return this.finishOp(e===124?D.logicalOR:D.logicalAND,2)}return t===61?this.finishOp(D.assign,2):this.finishOp(e===124?D.bitwiseOR:D.bitwiseAND,1)};Je.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(D.assign,2):this.finishOp(D.bitwiseXOR,1)};Je.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||sn.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(D.incDec,2):t===61?this.finishOp(D.assign,2):this.finishOp(D.plusMin,1)};Je.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(D.assign,r+1):this.finishOp(D.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(D.relational,r))};Je.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(D.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(D.arrow)):this.finishOp(e===61?D.eq:D.prefix,1)};Je.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(D.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(D.assign,3)}return this.finishOp(D.coalesce,2)}}return this.finishOp(D.question,1)};Je.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Gi(t,!0)||t===92))return this.finishToken(D.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Io(t)+"'")};Je.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(D.parenL);case 41:return++this.pos,this.finishToken(D.parenR);case 59:return++this.pos,this.finishToken(D.semi);case 44:return++this.pos,this.finishToken(D.comma);case 91:return++this.pos,this.finishToken(D.bracketL);case 93:return++this.pos,this.finishToken(D.bracketR);case 123:return++this.pos,this.finishToken(D.braceL);case 125:return++this.pos,this.finishToken(D.braceR);case 58:return++this.pos,this.finishToken(D.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(D.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(D.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Io(e)+"'")};Je.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};Je.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(sn.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var o=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(o);var s=this.regexpState||(this.regexpState=new Yi(this));s.reset(r,i,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var u=null;try{u=new RegExp(i,a)}catch{}return this.finishToken(D.regexp,{pattern:i,flags:a,value:u})};Je.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,i=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,a=0,s=0,u=0,l=t??1/0;u<l;++u,++this.pos){var f=this.input.charCodeAt(this.pos),p=void 0;if(n&&f===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),s===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),s=f;continue}if(f>=97?p=f-97+10:f>=65?p=f-65+10:f>=48&&f<=57?p=f-48:p=1/0,p>=e)break;s=f,a=a*e+p}return n&&s===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:a};Je.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=LP(this.input.slice(t,this.pos)),++this.pos):Gi(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(D.num,r)};Je.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var i=LP(this.input.slice(t,this.pos));return++this.pos,Gi(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(D.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Gi(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=HU(this.input.slice(t,this.pos),r);return this.finishToken(D.num,o)};Je.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};Je.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):n===8232||n===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(al(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(D.string,t)};$P={};Je.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===$P)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};Je.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw $P;this.raise(e,t)};Je.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===D.template||this.type===D.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(D.dollarBraceL)):(++this.pos,this.finishToken(D.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(D.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(al(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
26
|
+
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};Je.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(D.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
27
|
+
`&&++this.pos;case`
|
|
28
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};Je.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
29
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Io(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return al(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};Je.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};Je.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(La(i,n))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?Gi:La)(a,n)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=Io(a),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};Je.readWord=function(){var e=this.readWord1(),t=D.name;return this.keywords.test(e)&&(t=c1[e]),this.finishToken(t,e)};GU="8.15.0";nr.acorn={Parser:nr,version:GU,defaultOptions:s1,Position:mf,SourceLocation:mm,getLineInfo:sP,Node:vm,TokenType:rt,tokTypes:D,keywordTypes:c1,TokContext:Ci,tokContexts:St,isIdentifierChar:La,isIdentifierStart:Gi,Token:g1,isNewLine:al,lineBreak:sn,lineBreakG:gU,nonASCIIwhitespace:oP}});var KU,b1,BP=$(()=>{KU=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,b1=function(e){return KU.test(e)}});var jP=$(()=>{BP()});function k1(e){return e.replace(/\\/g,"/")}function XU(e){return e!==null&&typeof e=="object"}function y1(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}function Xn(e,t,r){return t5.set(e,t),rz(r,e)}function rz(e,t){return r;function r(...n){let i=Error.stackTraceLimit;S1()&&(Error.stackTraceLimit=0);let o=new e;S1()&&(Error.stackTraceLimit=i);let a=oz(t,n,o);return Object.defineProperties(o,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),iz(o),o.code=t,o}}function S1(){try{if(ZP.default.startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):JU.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function nz(e){let t=tz+e.name;return Object.defineProperty(e,"name",{value:t}),e}function oz(e,t,r){let n=t5.get(e);if((0,No.default)(n!==void 0,"expected `message` to be found"),typeof n=="function")return(0,No.default)(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,r,t);let i=/%[dfijoOs]/g,o=0;for(;i.exec(n)!==null;)o++;return(0,No.default)(o===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${o}).`),t.length===0?n:(t.unshift(n),Reflect.apply(cl.format,null,t))}function az(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${(0,cl.inspect)(e,{depth:-1})}`;let t=(0,cl.inspect)(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}function r5(e,{base:t,specifier:r}){let n=qP.get(e);if(n)return n;let i;try{i=Bo.default.readFileSync(kf.default.toNamespacedPath(e),"utf8")}catch(a){let s=a;if(s.code!=="ENOENT")throw s}let o={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(i!==void 0){let a;try{a=JSON.parse(i)}catch(s){let u=s,l=new sz(e,(t?`"${r}" from `:"")+(0,we.fileURLToPath)(t||r),u.message);throw l.cause=u,l}o.exists=!0,vf.call(a,"name")&&typeof a.name=="string"&&(o.name=a.name),vf.call(a,"main")&&typeof a.main=="string"&&(o.main=a.main),vf.call(a,"exports")&&(o.exports=a.exports),vf.call(a,"imports")&&(o.imports=a.imports),vf.call(a,"type")&&(a.type==="commonjs"||a.type==="module")&&(o.type=a.type)}return qP.set(e,o),o}function _1(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let i=r5((0,we.fileURLToPath)(t),{specifier:e});if(i.exists)return i;let o=t;if(t=new URL("../package.json",t),t.pathname===o.pathname)break}return{pjsonPath:(0,we.fileURLToPath)(t),exists:!1,type:"none"}}function VP(e){return _1(e).type}function fz(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}function pz(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return fz(t)}function hz(e){let t=e.pathname,r=t.length;for(;r--;){let n=t.codePointAt(r);if(n===47)return"";if(n===46)return t.codePointAt(r-1)===47?"":t.slice(r)}return""}function dz(e,t,r){let n=hz(e);if(n===".js"){let a=VP(e);return a!=="none"?a:"commonjs"}if(n===""){let a=VP(e);return a==="none"||a==="commonjs"?"commonjs":"module"}let i=cz[n];if(i)return i;if(r)return;let o=(0,we.fileURLToPath)(e);throw new uz(n,o)}function zP(){}function mz(e,t){let r=e.protocol;return lz.call(UP,r)&&UP[r](e,t,!0)||null}function YP(e,t,r,n,i,o,a){if(Na.default.noDeprecation)return;let s=(0,we.fileURLToPath)(n),u=kz.exec(a?e:t)!==null;Na.default.emitWarning(`Use of deprecated ${u?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${i?"imports":"exports"}" field module resolution of the package at ${s}${o?` imported from ${(0,we.fileURLToPath)(o)}`:""}.`,"DeprecationWarning","DEP0166")}function QP(e,t,r,n){if(Na.default.noDeprecation||mz(e,{parentURL:r.href})!=="module")return;let o=(0,we.fileURLToPath)(e.href),a=(0,we.fileURLToPath)(new we.URL(".",t)),s=(0,we.fileURLToPath)(r);n?kf.default.resolve(a,n)!==o&&Na.default.emitWarning(`Package ${a} has a "main" field set to "${n}", excluding the full filename and extension to the resolved file at "${o.slice(a.length)}", imported from ${s}.
|
|
30
|
+
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):Na.default.emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${o.slice(a.length)}", imported from ${s}.
|
|
31
|
+
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function o5(e){try{return(0,Bo.statSync)(e)}catch{}}function v1(e){let t=(0,Bo.statSync)(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r??!1}function Sz(e,t,r){let n;if(t.main!==void 0){if(n=new we.URL(t.main,e),v1(n))return n;let a=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],s=-1;for(;++s<a.length&&(n=new we.URL(a[s],e),!v1(n));)n=void 0;if(n)return QP(n,e,r,t.main),n}let i=["./index.js","./index.json","./index.node"],o=-1;for(;++o<i.length&&(n=new we.URL(i[o],e),!v1(n));)n=void 0;if(n)return QP(n,e,r,t.main),n;throw new C1((0,we.fileURLToPath)(new we.URL(".",e)),(0,we.fileURLToPath)(r))}function _z(e,t,r){if(wz.exec(e.pathname)!==null)throw new _m(e.pathname,'must not include encoded "/" or "\\" characters',(0,we.fileURLToPath)(t));let n;try{n=(0,we.fileURLToPath)(e)}catch(o){let a=o;throw Object.defineProperty(a,"input",{value:String(e)}),Object.defineProperty(a,"module",{value:String(t)}),a}let i=o5(n.endsWith("/")?n.slice(-1):n);if(i&&i.isDirectory()){let o=new vz(n,(0,we.fileURLToPath)(t));throw o.url=String(e),o}if(!i||!i.isFile()){let o=new C1(n||e.pathname,t&&(0,we.fileURLToPath)(t),!0);throw o.url=String(e),o}{let o=(0,Bo.realpathSync)(n),{search:a,hash:s}=e;e=(0,we.pathToFileURL)(o+(n.endsWith(kf.default.sep)?"/":"")),e.search=a,e.hash=s}return e}function Cz(e,t,r){return new bz(e,t&&(0,we.fileURLToPath)(new we.URL(".",t)),(0,we.fileURLToPath)(r))}function x1(e,t,r){return new yz((0,we.fileURLToPath)(new we.URL(".",t)),e,r&&(0,we.fileURLToPath)(r))}function Ez(e,t,r,n,i){let o=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${(0,we.fileURLToPath)(r)}`;throw new _m(e,o,i&&(0,we.fileURLToPath)(i))}function xf(e,t,r,n,i){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new gz((0,we.fileURLToPath)(new we.URL(".",r)),e,t,n,i&&(0,we.fileURLToPath)(i))}function Az(e,t,r,n,i,o,a,s,u){if(t!==""&&!o&&e[e.length-1]!=="/")throw xf(r,e,n,a,i);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let m=!1;try{new we.URL(e),m=!0}catch{}if(!m){let b=o?wm.call(km,e,()=>t):e+t;return s5(b,n,u)}}throw xf(r,e,n,a,i)}if(HP.exec(e.slice(2))!==null)if(GP.exec(e.slice(2))===null){if(!s){let m=o?r.replace("*",()=>t):r+t,b=o?wm.call(km,e,()=>t):e;YP(b,m,r,n,a,i,!0)}}else throw xf(r,e,n,a,i);let l=new we.URL(e,n),f=l.pathname,p=new we.URL(".",n).pathname;if(!f.startsWith(p))throw xf(r,e,n,a,i);if(t==="")return l;if(HP.exec(t)!==null){let m=o?r.replace("*",()=>t):r+t;if(GP.exec(t)===null){if(!s){let b=o?wm.call(km,e,()=>t):e;YP(b,m,r,n,a,i,!1)}}else Ez(m,r,n,a,i)}return o?new we.URL(wm.call(km,l.href,()=>t)):new we.URL(t,l)}function Dz(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function fl(e,t,r,n,i,o,a,s,u){if(typeof t=="string")return Az(t,r,n,e,i,o,a,s,u);if(Array.isArray(t)){let l=t;if(l.length===0)return null;let f,p=-1;for(;++p<l.length;){let m=l[p],b;try{b=fl(e,m,r,n,i,o,a,s,u)}catch(v){let w=v;if(f=w,w.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw v}if(b!==void 0){if(b===null){f=null;continue}return b}}if(f==null)return null;throw f}if(typeof t=="object"&&t!==null){let l=Object.getOwnPropertyNames(t),f=-1;for(;++f<l.length;){let p=l[f];if(Dz(p))throw new n5((0,we.fileURLToPath)(e),i,'"exports" cannot contain numeric property keys.')}for(f=-1;++f<l.length;){let p=l[f];if(p==="default"||u&&u.has(p)){let m=t[p],b=fl(e,m,r,n,i,o,a,s,u);if(b===void 0)continue;return b}}return null}if(t===null)return null;throw xf(n,t,e,a,i)}function Pz(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let n=Object.getOwnPropertyNames(e),i=!1,o=0,a=-1;for(;++a<n.length;){let s=n[a],u=s===""||s[0]!==".";if(o++===0)i=u;else if(i!==u)throw new n5((0,we.fileURLToPath)(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return i}function Oz(e,t,r){if(Na.default.noDeprecation)return;let n=(0,we.fileURLToPath)(t);KP.has(n+"|"+e)||(KP.add(n+"|"+e),Na.default.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${(0,we.fileURLToPath)(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function XP(e,t,r,n,i){let o=r.exports;if(Pz(o,e,n)&&(o={".":o}),i5.call(o,t)&&!t.includes("*")&&!t.endsWith("/")){let f=o[t],p=fl(e,f,"",t,n,!1,!1,!1,i);if(p==null)throw x1(t,e,n);return p}let a="",s="",u=Object.getOwnPropertyNames(o),l=-1;for(;++l<u.length;){let f=u[l],p=f.indexOf("*");if(p!==-1&&t.startsWith(f.slice(0,p))){t.endsWith("/")&&Oz(t,e,n);let m=f.slice(p+1);t.length>=f.length&&t.endsWith(m)&&a5(a,f)===1&&f.lastIndexOf("*")===p&&(a=f,s=t.slice(p,t.length-m.length))}}if(a){let f=o[a],p=fl(e,f,s,a,n,!0,!1,t.endsWith("/"),i);if(p==null)throw x1(t,e,n);return p}throw x1(t,e,n)}function a5(e,t){let r=e.indexOf("*"),n=t.indexOf("*"),i=r===-1?e.length:r+1,o=n===-1?t.length:n+1;return i>o?-1:o>i||r===-1?1:n===-1||e.length>t.length?-1:t.length>e.length?1:0}function Tz(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let o="is not a valid internal imports specifier name";throw new _m(e,o,(0,we.fileURLToPath)(t))}let n,i=_1(t);if(i.exists){n=(0,we.pathToFileURL)(i.pjsonPath);let o=i.imports;if(o)if(i5.call(o,e)&&!e.includes("*")){let a=fl(n,o[e],"",e,t,!1,!0,!1,r);if(a!=null)return a}else{let a="",s="",u=Object.getOwnPropertyNames(o),l=-1;for(;++l<u.length;){let f=u[l],p=f.indexOf("*");if(p!==-1&&e.startsWith(f.slice(0,-1))){let m=f.slice(p+1);e.length>=f.length&&e.endsWith(m)&&a5(a,f)===1&&f.lastIndexOf("*")===p&&(a=f,s=e.slice(p,e.length-m.length))}}if(a){let f=o[a],p=fl(n,f,s,a,t,!0,!0,!1,r);if(p!=null)return p}}}throw Cz(e,n,t)}function Rz(e,t){let r=e.indexOf("/"),n=!0,i=!1;e[0]==="@"&&(i=!0,r===-1||e.length===0?n=!1:r=e.indexOf("/",r+1));let o=r===-1?e:e.slice(0,r);if(xz.exec(o)!==null&&(n=!1),!n)throw new _m(e,"is not a valid package name",(0,we.fileURLToPath)(t));let a="."+(r===-1?"":e.slice(r));return{packageName:o,packageSubpath:a,isScoped:i}}function s5(e,t,r){if(wf.builtinModules.includes(e))return new we.URL("node:"+e);let{packageName:n,packageSubpath:i,isScoped:o}=Rz(e,t),a=_1(t);if(a.exists){let f=(0,we.pathToFileURL)(a.pjsonPath);if(a.name===n&&a.exports!==void 0&&a.exports!==null)return XP(f,i,a,t,r)}let s=new we.URL("./node_modules/"+n+"/package.json",t),u=(0,we.fileURLToPath)(s),l;do{let f=o5(u.slice(0,-13));if(!f||!f.isDirectory()){l=u,s=new we.URL((o?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",s),u=(0,we.fileURLToPath)(s);continue}let p=r5(u,{base:t,specifier:e});return p.exports!==void 0&&p.exports!==null?XP(s,i,p,t,r):i==="."?Sz(s,p,t):new we.URL(i,s)}while(u.length!==l.length);throw new C1(n,(0,we.fileURLToPath)(t),!1)}function Fz(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function Iz(e){return e===""?!1:e[0]==="/"?!0:Fz(e)}function Lz(e,t,r,n){let i=t.protocol,a=i==="data:"||i==="http:"||i==="https:",s;if(Iz(e))try{s=new we.URL(e,t)}catch(u){let l=new WP(e,t);throw l.cause=u,l}else if(i==="file:"&&e[0]==="#")s=Tz(e,t,r);else try{s=new we.URL(e)}catch(u){if(a&&!wf.builtinModules.includes(e)){let l=new WP(e,t);throw l.cause=u,l}s=s5(e,t,r)}return(0,No.default)(s!==void 0,"expected to be defined"),s.protocol!=="file:"?s:_z(s,t)}function Sm(e){return typeof e=="string"&&!e.startsWith("file://")?k1(e):k1((0,we.fileURLToPath)(e))}function w1(e){return(0,we.pathToFileURL)(Sm(e)).toString()}function $z(e){return typeof e!="string"&&(e=e.toString()),/(node|data|http|https|file):/.test(e)?e:e5.has(e)?"node:"+e:"file://"+encodeURI(k1(e))}function JP(e,t,r){try{return Lz(e,t,r)}catch(n){if(!jz.has(n?.code))throw n}}function Mz(e,t={}){if(typeof e!="string")if(e instanceof URL)e=Sm(e);else throw new TypeError("input must be a `string` or `URL`");if(/(node|data|http|https):/.test(e))return e;if(e5.has(e))return"node:"+e;if(e.startsWith("file://")&&(e=Sm(e)),b1(e))try{if((0,Bo.statSync)(e).isFile())return w1(e)}catch(a){if(a?.code!=="ENOENT")throw a}let r=t.conditions?new Set(t.conditions):Nz,n=(Array.isArray(t.url)?t.url:[t.url]).filter(Boolean).map(a=>new URL($z(a.toString())));n.length===0&&n.push(new URL(w1(process.cwd())));let i=[...n];for(let a of n)a.protocol==="file:"&&i.push(new URL("./",a),new URL(am(a.pathname,"_index.js"),a),new URL("node_modules",a));let o;for(let a of i){if(o=JP(e,a,r),o)break;for(let s of["","/index"]){for(let u of t.extensions||Bz)if(o=JP(am(e,s)+u,a,r),o)break;if(o)break}if(o)break}if(!o){let a=new Error(`Cannot find module ${e} imported from ${i.join(", ")}`);throw a.code="ERR_MODULE_NOT_FOUND",a}return w1(o)}function qz(e,t){return Mz(e,t)}function E1(e,t){return Sm(qz(e,t))}function Vs(e,t){try{return Promise.resolve(E1(e,t))}catch(r){return Promise.reject(r)}}function u5(e,t={}){if(!XU(e)||!("default"in e))return e;let r=e.default;if(r==null)return e;let n=typeof r;if(n!=="object"&&!(n==="function"&&!t.preferNamespace))return t.preferNamespace?e:r;for(let i in e)try{i in r||Object.defineProperty(r,i,{enumerable:i!=="default",configurable:i!=="default",get(){return e[i]}})}catch{}return r}var wf,Bo,we,No,Na,kf,ZP,cl,e5,JU,ZU,ez,Nr,t5,tz,MP,iz,vf,sz,qP,uz,lz,cz,UP,wm,YSe,_m,n5,gz,C1,bz,yz,vz,WP,i5,HP,GP,xz,km,wz,KP,kz,Nz,Bz,jz,A1=$(()=>{NP();wf=require("node:module"),Bo=At(require("node:fs"),1);Xv();jP();we=require("node:url"),No=At(require("node:assert"),1),Na=At(require("node:process"),1),kf=At(require("node:path"),1),ZP=At(require("node:v8"),1),cl=require("node:util"),e5=new Set(wf.builtinModules);JU={}.hasOwnProperty,ZU=/^([A-Z][a-z\d]*)+$/,ez=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Nr={};t5=new Map,tz="__node_internal_";Nr.ERR_INVALID_ARG_TYPE=Xn("ERR_INVALID_ARG_TYPE",(e,t,r)=>{(0,No.default)(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";if(e.endsWith(" argument"))n+=`${e} `;else{let s=e.includes(".")?"property":"argument";n+=`"${e}" ${s} `}n+="must be ";let i=[],o=[],a=[];for(let s of t)(0,No.default)(typeof s=="string","All expected entries have to be of type string"),ez.has(s)?i.push(s.toLowerCase()):ZU.exec(s)===null?((0,No.default)(s!=="object",'The value "object" should be written as "Object"'),a.push(s)):o.push(s);if(o.length>0){let s=i.indexOf("object");s!==-1&&(i.slice(s,1),o.push("Object"))}return i.length>0&&(n+=`${i.length>1?"one of type":"of type"} ${y1(i,"or")}`,(o.length>0||a.length>0)&&(n+=" or ")),o.length>0&&(n+=`an instance of ${y1(o,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${y1(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${az(r)}`,n},TypeError);Nr.ERR_INVALID_MODULE_SPECIFIER=Xn("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);Nr.ERR_INVALID_PACKAGE_CONFIG=Xn("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);Nr.ERR_INVALID_PACKAGE_TARGET=Xn("ERR_INVALID_PACKAGE_TARGET",(e,t,r,n=!1,i=void 0)=>{let o=typeof r=="string"&&!n&&r.length>0&&!r.startsWith("./");return t==="."?((0,No.default)(n===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`},Error);Nr.ERR_MODULE_NOT_FOUND=Xn("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);Nr.ERR_NETWORK_IMPORT_DISALLOWED=Xn("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Nr.ERR_PACKAGE_IMPORT_NOT_DEFINED=Xn("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);Nr.ERR_PACKAGE_PATH_NOT_EXPORTED=Xn("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);Nr.ERR_UNSUPPORTED_DIR_IMPORT=Xn("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);Nr.ERR_UNSUPPORTED_RESOLVE_REQUEST=Xn("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);Nr.ERR_UNKNOWN_FILE_EXTENSION=Xn("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);Nr.ERR_INVALID_ARG_VALUE=Xn("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=(0,cl.inspect)(t);return n.length>128&&(n=`${n.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);iz=nz(function(e){let t=S1();return t&&(MP=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=MP),e});vf={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:sz}=Nr,qP=new Map;({ERR_UNKNOWN_FILE_EXTENSION:uz}=Nr),lz={}.hasOwnProperty,cz={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};UP={__proto__:null,"data:":pz,"file:":dz,"http:":zP,"https:":zP,"node:"(){return"builtin"}};wm=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:YSe,ERR_INVALID_MODULE_SPECIFIER:_m,ERR_INVALID_PACKAGE_CONFIG:n5,ERR_INVALID_PACKAGE_TARGET:gz,ERR_MODULE_NOT_FOUND:C1,ERR_PACKAGE_IMPORT_NOT_DEFINED:bz,ERR_PACKAGE_PATH_NOT_EXPORTED:yz,ERR_UNSUPPORTED_DIR_IMPORT:vz,ERR_UNSUPPORTED_RESOLVE_REQUEST:WP}=Nr,i5={}.hasOwnProperty,HP=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,GP=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,xz=/^\.|%|\\/,km=/\*/g,wz=/%2f|%5c/i,KP=new Set,kz=/[/\\]{2}/;Nz=new Set(["node","import"]),Bz=[".mjs",".cjs",".js",".json"],jz=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"])});function P1(e){return e&&typeof e=="object"&&typeof e.then=="function"}function Vz(e){return e&&typeof e=="object"&&typeof e[Symbol.iterator]=="function"&&"__quansync"in e}function O1(e){let t=function*(...n){return(yield l5)?yield e.async.apply(this,n):e.sync.apply(this,n)};function r(...n){let i=t.apply(this,n);return i.then=(...o)=>e.async.apply(this,n).then(...o),i.__quansync=!0,i}return r.sync=e.sync,r.async=e.async,r}function Uz(e){return O1({async:()=>Promise.resolve(e),sync:()=>{if(P1(e))throw new Cm;return e}})}function D1(e,t){if(e===l5)return t;if(Vz(e))return t?p5(e):f5(e);if(!t&&P1(e))throw new Cm;return e}function f5(e,t=c5){let r=e.next();for(;!r.done;)try{r=e.next(D1(t(r.value,!1)))}catch(n){r=e.throw(n)}return D1(r.value)}async function p5(e,t=c5){let r=e.next();for(;!r.done;)try{r=e.next(await D1(t(r.value,!0),!0))}catch(n){r=e.throw(n)}return r.value}function zz(e,t){return O1({name:e.name,async(...r){return p5(e.apply(this,r),t?.onYield)},sync(...r){return f5(e.apply(this,r),t?.onYield)}})}function T1(e,t){return P1(e)?Uz(e):typeof e=="function"?zz(e,t):O1(e)}var l5,Cm,c5,XSe,h5=$(()=>{l5=Symbol.for("quansync.getIsAsync"),Cm=class extends Error{constructor(t="Unexpected promise in sync context"){super(t),this.name="QuansyncError"}};c5=e=>e;XSe=T1({async:()=>Promise.resolve(!0),sync:()=>!1})});var pl,d5=$(()=>{h5();pl=T1});async function Wz(e,{cwd:t=Us.default.cwd(),type:r="file",stopAt:n}={}){let i=qt.default.resolve(Em(t)??""),{root:o}=qt.default.parse(i);n=qt.default.resolve(i,Em(n??o));let a=qt.default.isAbsolute(e);for(;i;){let s=a?e:qt.default.join(i,e);try{let u=await b5.default.stat(s);if(r==="file"&&u.isFile()||r==="directory"&&u.isDirectory())return s}catch{}if(i===n||i===o)break;i=qt.default.dirname(i)}}function Hz(e,{cwd:t=Us.default.cwd(),type:r="file",stopAt:n}={}){let i=qt.default.resolve(Em(t)??""),{root:o}=qt.default.parse(i);n=qt.default.resolve(i,Em(n)??o);let a=qt.default.isAbsolute(e);for(;i;){let s=a?e:qt.default.join(i,e);try{let u=hl.default.statSync(s,{throwIfNoEntry:!1});if(r==="file"&&u?.isFile()||r==="directory"&&u?.isDirectory())return s}catch{}if(i===n||i===o)break;i=qt.default.dirname(i)}}function m5(e,t={}){if((t.platform==="auto"||!t.platform)&&(t.platform=Us.default.platform==="win32"?"win32":"posix"),Us.default.versions.pnp){let n=t.paths||[];n.length===0&&n.push(Us.default.cwd());let i=(0,g5.createRequire)(Zz.url);try{return i.resolve(e,{paths:n})}catch{}}let r=E1(e,{url:t.paths});return t.platform==="win32"?qt.win32.normalize(r):r}async function v5(e){let t=await import(e);return t&&u5(t)}function Gz(e,t={}){let r=Yz(e,t);if(r)return Qz(r)}function Yz(e,t={}){try{return m5(`${e}/package.json`,t)}catch{}try{return m5(e,t)}catch(r){return r.code!=="MODULE_NOT_FOUND"&&r.code!=="ERR_MODULE_NOT_FOUND"&&console.error(r),!1}}function Qz(e){let t;for(;;){if(!e)return;let r=(0,qt.dirname)(e);if(r===e)return;if(e=r,t=(0,qt.join)(e,"package.json"),hl.default.existsSync(t))break}return t}var hl,g5,qt,Us,b5,y5,Zz,Em,x5,Kz,n2e,Xz,w5,i2e,Jz,o2e,k5=$(()=>{hl=At(require("node:fs"),1),g5=require("node:module"),qt=At(require("node:path"),1),Us=At(require("node:process"),1),b5=At(require("node:fs/promises"),1),y5=require("node:url");A1();d5();Zz={},Em=e=>e instanceof URL?(0,y5.fileURLToPath)(e):e;x5=pl({async:e=>hl.default.promises.readFile(e,"utf8"),sync:e=>hl.default.readFileSync(e,"utf8")}),Kz=pl(function*(e,t={}){let r=Gz(e,t);if(!r)return;let n=JSON.parse(yield x5(r));return{name:e,version:n.version,rootPath:(0,qt.dirname)(r),packageJsonPath:r,packageJson:n}}),n2e=Kz.sync;Xz=pl({sync:Hz,async:Wz}),w5=pl(function*(e=Us.default.cwd()){let t=yield Xz("package.json",{cwd:e});return!t||!hl.default.existsSync(t)?null:JSON.parse(yield x5(t))}),i2e=w5.sync,Jz=pl(function*(e,t){let r=(yield w5(t))||{};return e in(r.dependencies||{})||e in(r.devDependencies||{})}),o2e=Jz.sync});var R1,F1,I1,S5=$(()=>{R1=["npm","yarn","yarn@berry","pnpm","pnpm@6","bun","deno"],F1={"bun.lock":"bun","bun.lockb":"bun","deno.lock":"deno","pnpm-lock.yaml":"pnpm","pnpm-workspace.yaml":"pnpm","yarn.lock":"yarn","package-lock.json":"npm","npm-shrinkwrap.json":"npm"},I1={"node_modules/.deno/":"deno","node_modules/.pnpm/":"pnpm","node_modules/.yarn-state.yml":"yarn","node_modules/.yarn_integrity":"yarn","node_modules/.package-lock.json":"npm",".pnp.cjs":"yarn",".pnp.js":"yarn","bun.lock":"bun","bun.lockb":"bun"}});var B1={};Hu(B1,{detect:()=>rW,getUserAgent:()=>eW});async function L1(e,t){try{let r=await $1.default.stat(e);return t==="file"?r.isFile():r.isDirectory()}catch{return!1}}function eW(){let e=N1.default.env.npm_config_user_agent;if(!e)return null;let t=e.split("/")[0];return R1.includes(t)?t:null}function*tW(e=N1.default.cwd()){let t=jo.default.resolve(e),{root:r}=jo.default.parse(t);for(;t&&t!==r;)yield t,t=jo.default.dirname(t)}async function _5(e,t){return!e||!L1(e,"file")?null:await iW(e,t)}async function rW(e={}){let{cwd:t,strategies:r=["lockfile","packageManager-field","devEngines-field"],onUnknown:n}=e,i;if(typeof e.stopDir=="string"){let o=jo.default.resolve(e.stopDir);i=a=>a===o}else i=e.stopDir;for(let o of tW(t)){for(let a of r)switch(a){case"lockfile":{for(let s of Object.keys(F1))if(await L1(jo.default.join(o,s),"file")){let u=F1[s],l=await _5(jo.default.join(o,"package.json"),n);return l||{name:u,agent:u}}break}case"packageManager-field":case"devEngines-field":{let s=await _5(jo.default.join(o,"package.json"),n);if(s)return s;break}case"install-metadata":{for(let s of Object.keys(I1)){let u=s.endsWith("/")?"dir":"file";if(await L1(jo.default.join(o,s),u)){let l=I1[s],f=l==="yarn"?oW(s)?"yarn":"yarn@berry":l;return{name:l,agent:f}}}break}}if(i?.(o))break}return null}function nW(e){let t=r=>r?.match(/\d+(\.\d+){0,2}/)?.[0]??r;if(typeof e.packageManager=="string"){let[r,n]=e.packageManager.replace(/^\^/,"").split("@");return{name:r,ver:t(n)}}if(typeof e.devEngines?.packageManager?.name=="string")return{name:e.devEngines.packageManager.name,ver:t(e.devEngines.packageManager.version)}}async function iW(e,t){try{let r=JSON.parse(await $1.default.readFile(e,"utf8")),n,i=nW(r);if(i){let o=i.name,a=i.ver,s=a;return o==="yarn"&&a&&Number.parseInt(a)>1?(n="yarn@berry",s="berry",{name:o,agent:n,version:s}):o==="pnpm"&&a&&Number.parseInt(a)<7?(n="pnpm@6",{name:o,agent:n,version:s}):R1.includes(o)?(n=o,{name:o,agent:n,version:s}):t?.(r.packageManager)??null}}catch{}return null}function oW(e){return e.endsWith(".yarn_integrity")}var $1,jo,N1,j1=$(()=>{$1=At(require("node:fs/promises"),1),jo=At(require("node:path"),1),N1=At(require("node:process"),1);S5()});var K1={};function fW(e){return e&&e.__esModule?e:{default:e}}function C5(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void r(l)}s.done?t(u):Promise.resolve(u).then(n,i)}function pW(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(u){C5(o,n,i,a,s,"next",u)}function s(u){C5(o,n,i,a,s,"throw",u)}a(void 0)})}}function _f(){var e,t,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(b,v,w,C){var P=v&&v.prototype instanceof s?v:s,A=Object.create(P.prototype);return Cn(A,"_invoke",function(E,y,L){var I,T,N,X=0,se=L||[],ie=!1,te={p:0,n:0,v:e,a:Ee,f:Ee.bind(e,4),d:function(G,Z){return I=G,T=0,N=e,te.n=Z,a}};function Ee(W,G){for(T=W,N=G,t=0;!ie&&X&&!Z&&t<se.length;t++){var Z,Q=se[t],pe=te.p,Le=Q[2];W>3?(Z=Le===G)&&(N=Q[(T=Q[4])?5:(T=3,3)],Q[4]=Q[5]=e):Q[0]<=pe&&((Z=W<2&&pe<Q[1])?(T=0,te.v=G,te.n=Q[1]):pe<Le&&(Z=W<3||Q[0]>G||G>Le)&&(Q[4]=W,Q[5]=G,te.n=Le,T=0))}if(Z||W>1)return a;throw ie=!0,G}return function(W,G,Z){if(X>1)throw TypeError("Generator is already running");for(ie&&G===1&&Ee(G,Z),T=G,N=Z;(t=T<2?e:N)||!ie;){I||(T?T<3?(T>1&&(te.n=-1),Ee(T,N)):te.n=N:te.v=N);try{if(X=2,I){if(T||(W="next"),t=I[W]){if(!(t=t.call(I,N)))throw TypeError("iterator result is not an object");if(!t.done)return t;N=t.value,T<2&&(T=0)}else T===1&&(t=I.return)&&t.call(I),T<2&&(N=TypeError("The iterator does not provide a '"+W+"' method"),T=1);I=e}else if((t=(ie=te.n<0)?N:E.call(y,te))!==a)break}catch(Q){I=e,T=1,N=Q}finally{X=1}}return{value:t,done:ie}}}(b,w,C),!0),A}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var f=[][n]?t(t([][n]())):(Cn(t={},n,function(){return this}),t),p=l.prototype=s.prototype=Object.create(f);function m(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,l):(b.__proto__=l,Cn(b,i,"GeneratorFunction")),b.prototype=Object.create(p),b}return u.prototype=l,Cn(p,"constructor",l),Cn(l,"constructor",u),u.displayName="GeneratorFunction",Cn(l,i,"GeneratorFunction"),Cn(p),Cn(p,i,"Generator"),Cn(p,n,function(){return this}),Cn(p,"toString",function(){return"[object Generator]"}),(_f=function(){return{w:o,m}})()}function Cn(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}Cn=function(a,s,u,l){if(s)i?i(a,s,{value:u,enumerable:!l,configurable:!l,writable:!l}):a[s]=u;else{var f=function(m,b){Cn(a,m,function(v){return this._invoke(m,b,v)})};f("next",0),f("throw",1),f("return",2)}},Cn(e,t,r,n)}function T5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,F5(n.key),n)}}function R5(e,t,r){return t&&E5(e.prototype,t),r&&E5(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function hW(e,t,r){return t=Af(t),dW(e,W1()?Reflect.construct(t,r||[],Af(e).constructor):t.apply(e,r))}function dW(e,t){if(t&&(Ei(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return V1(e)}function V1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ef(e,t)}function U1(e){var t=typeof Map=="function"?new Map:void 0;return U1=function(n){if(n===null||!bW(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,i)}function i(){return gW(n,arguments,Af(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Ef(i,n)},U1(e)}function gW(e,t,r){if(W1())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&Ef(i,r.prototype),i}function W1(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(W1=function(){return!!e})()}function bW(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Ef(e,t){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Ef(e,t)}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Af(e)}function A5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ba(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?A5(Object(r),!0).forEach(function(n){Br(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A5(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Br(e,t,r){return(t=F5(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F5(e){var t=yW(e,"string");return Ei(t)=="symbol"?t:t+""}function yW(e,t){if(Ei(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ei(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vW(e,t){return kW(e)||wW(e,t)||G1(e,t)||xW()}function xW(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
32
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wW(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function kW(e){if(Array.isArray(e))return e}function D5(e){return CW(e)||_W(e)||G1(e)||SW()}function SW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
33
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _W(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CW(e){if(Array.isArray(e))return z1(e)}function H1(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=G1(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
34
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}function G1(e,t){if(e){if(typeof e=="string")return z1(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z1(e,t):void 0}}function z1(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Ei(e){"@babel/helpers - typeof";return Ei=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ei(e)}function M1(e){return new I5(e,0)}function EW(e){return function(){return new Cf(e.apply(this,arguments))}}function Cf(e){var t,r;function n(o,a){try{var s=e[o](a),u=s.value,l=u instanceof I5;Promise.resolve(l?u.v:u).then(function(f){if(l){var p=o==="return"?"return":"next";if(!u.k||f.done)return n(p,f);f=e[p](f).value}i(s.done?"return":"normal",f)},function(f){n("throw",f)})}catch(f){i("throw",f)}}function i(o,a){switch(o){case"return":t.resolve({value:a,done:!0});break;case"throw":t.reject(a);break;default:t.resolve({value:a,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(o,a){return new Promise(function(s,u){var l={key:o,arg:a,resolve:s,reject:u,next:null};r?r=r.next=l:(t=r=l,n(o,a))})},typeof e.return!="function"&&(this.return=void 0)}function I5(e,t){this.v=e,this.k=t}function q1(e){var t,r,n,i=2;for(typeof Symbol<"u"&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&(t=e[r])!=null)return t.call(e);if(n&&(t=e[n])!=null)return new Am(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function Am(e){function t(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(i){return{value:i,done:n}})}return Am=function(n){this.s=n,this.n=n.next},Am.prototype={s:null,n:null,next:function(){return t(this.n.apply(this.s,arguments))},return:function(n){var i=this.s.return;return i===void 0?Promise.resolve({value:n,done:!0}):t(i.apply(this.s,arguments))},throw:function(n){var i=this.s.return;return i===void 0?Promise.reject(n):t(i.apply(this.s,arguments))}},new Am(e)}function KW(e){for(var t in e)if(!(!Object.prototype.hasOwnProperty.call(e,t)||!GW.test(t))){var r=e[t];return r?{key:t,value:r}:P5}return P5}function YW(e,t){var r=t.value.split(Sf.delimiter),n=e,i;do r.push((0,Sf.resolve)(n,"node_modules",".bin")),i=n,n=(0,Sf.dirname)(n);while(n!==i);return{key:t.key,value:r.join(Sf.delimiter)}}function QW(e,t){var r=Ba(Ba({},process.env),t),n=YW(e,KW(r));return r[n.key]=n.value,r}function tH(e,t){return{command:(0,Sf.normalize)(e),args:t??[]}}function rH(e){var t=new AbortController,r=H1(e),n;try{var i=function(){var s=n.value;if(s.aborted)return{v:(t.abort(),s)};var u=function(){t.abort(s.reason)};s.addEventListener("abort",u,{signal:t.signal})},o;for(r.s();!(n=r.n()).done;)if(o=i(),o)return o.v}catch(a){r.e(a)}finally{r.f()}return t.signal}var aH,aW,sW,Sf,uW,lW,cW,dl,AW,L5,DW,PW,OW,TW,ja,En,RW,FW,IW,LW,$W,NW,BW,jW,MW,qW,VW,UW,zW,WW,HW,GW,P5,XW,JW,O5,ZW,eH,nH,iH,oH,Dm=$(()=>{"use strict";aH={};Object.defineProperty(exports,"__esModule",{value:!0});exports.x=exports.exec=exports.NonZeroExitError=exports.ExecProcess=void 0;aW=require("node:module"),sW=require("child_process"),Sf=require("path"),uW=require("process"),lW=require("stream"),cW=fW(require("readline"));Cf.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Cf.prototype.next=function(e){return this._invoke("next",e)},Cf.prototype.throw=function(e){return this._invoke("throw",e)},Cf.prototype.return=function(e){return this._invoke("return",e)};dl=(0,aW.createRequire)(aH.url),AW=Object.create,L5=Object.defineProperty,DW=Object.getOwnPropertyDescriptor,PW=Object.getOwnPropertyNames,OW=Object.getPrototypeOf,TW=Object.prototype.hasOwnProperty,ja=function(e){return Ei(dl)<"u"?dl:(typeof Proxy>"u"?"undefined":Ei(Proxy))<"u"?new Proxy(e,{get:function(r,n){return(Ei(dl)<"u"?dl:r)[n]}}):e}(function(e){if(Ei(dl)<"u")return dl.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),En=function(t,r){return function(){return r||t((r={exports:{}}).exports,r),r.exports}},RW=function(t,r,n,i){if(r&&Ei(r)=="object"||typeof r=="function"){var o=H1(PW(r)),a;try{var s=function(){var l=a.value;!TW.call(t,l)&&l!==n&&L5(t,l,{get:function(){return r[l]},enumerable:!(i=DW(r,l))||i.enumerable})};for(o.s();!(a=o.n()).done;)s()}catch(u){o.e(u)}finally{o.f()}}return t},FW=function(t,r,n){return n=t!=null?AW(OW(t)):{},RW(r||!t||!t.__esModule?L5(n,"default",{value:t,enumerable:!0}):n,t)},IW=En(function(e,t){"use strict";t.exports=o,o.sync=a;var r=ja("fs");function n(s,u){var l=u.pathExt!==void 0?u.pathExt:process.env.PATHEXT;if(!l||(l=l.split(";"),l.indexOf("")!==-1))return!0;for(var f=0;f<l.length;f++){var p=l[f].toLowerCase();if(p&&s.substr(-p.length).toLowerCase()===p)return!0}return!1}function i(s,u,l){return!s.isSymbolicLink()&&!s.isFile()?!1:n(u,l)}function o(s,u,l){r.stat(s,function(f,p){l(f,f?!1:i(p,s,u))})}function a(s,u){return i(r.statSync(s),s,u)}}),LW=En(function(e,t){"use strict";t.exports=n,n.sync=i;var r=ja("fs");function n(s,u,l){r.stat(s,function(f,p){l(f,f?!1:o(p,u))})}function i(s,u){return o(r.statSync(s),u)}function o(s,u){return s.isFile()&&a(s,u)}function a(s,u){var l=s.mode,f=s.uid,p=s.gid,m=u.uid!==void 0?u.uid:process.getuid&&process.getuid(),b=u.gid!==void 0?u.gid:process.getgid&&process.getgid(),v=parseInt("100",8),w=parseInt("010",8),C=parseInt("001",8),P=v|w,A=l&C||l&w&&p===b||l&v&&f===m||l&P&&m===0;return A}}),$W=En(function(e,t){"use strict";var r=ja("fs"),n;process.platform==="win32"||global.TESTING_WINDOWS?n=IW():n=LW(),t.exports=i,i.sync=o;function i(a,s,u){if(typeof s=="function"&&(u=s,s={}),!u){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(l,f){i(a,s||{},function(p,m){p?f(p):l(m)})})}n(a,s||{},function(l,f){l&&(l.code==="EACCES"||s&&s.ignoreErrors)&&(l=null,f=!1),u(l,f)})}function o(a,s){try{return n.sync(a,s||{})}catch(u){if(s&&s.ignoreErrors||u.code==="EACCES")return!1;throw u}}}),NW=En(function(e,t){"use strict";var r=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",n=ja("path"),i=r?";":":",o=$W(),a=function(p){return Object.assign(new Error("not found: ".concat(p)),{code:"ENOENT"})},s=function(p,m){var b=m.colon||i,v=p.match(/\//)||r&&p.match(/\\/)?[""]:[].concat(D5(r?[process.cwd()]:[]),D5((m.path||process.env.PATH||"").split(b))),w=r?m.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",C=r?w.split(b):[""];return r&&p.indexOf(".")!==-1&&C[0]!==""&&C.unshift(""),{pathEnv:v,pathExt:C,pathExtExe:w}},u=function(p,m,b){typeof m=="function"&&(b=m,m={}),m||(m={});var v=s(p,m),w=v.pathEnv,C=v.pathExt,P=v.pathExtExe,A=[],E=function(I){return new Promise(function(T,N){if(I===w.length)return m.all&&A.length?T(A):N(a(p));var X=w[I],se=/^".*"$/.test(X)?X.slice(1,-1):X,ie=n.join(se,p),te=!se&&/^\.[\\\/]/.test(p)?p.slice(0,2)+ie:ie;T(y(te,I,0))})},y=function(I,T,N){return new Promise(function(X,se){if(N===C.length)return X(E(T+1));var ie=C[N];o(I+ie,{pathExt:P},function(te,Ee){if(!te&&Ee)if(m.all)A.push(I+ie);else return X(I+ie);return X(y(I,T,N+1))})})};return b?E(0).then(function(L){return b(null,L)},b):E(0)},l=function(p,m){m=m||{};for(var b=s(p,m),v=b.pathEnv,w=b.pathExt,C=b.pathExtExe,P=[],A=0;A<v.length;A++)for(var E=v[A],y=/^".*"$/.test(E)?E.slice(1,-1):E,L=n.join(y,p),I=!y&&/^\.[\\\/]/.test(p)?p.slice(0,2)+L:L,T=0;T<w.length;T++){var N=I+w[T];try{if(o.sync(N,{pathExt:C}))if(m.all)P.push(N);else return N}catch{}}if(m.all&&P.length)return P;if(m.nothrow)return null;throw a(p)};t.exports=u,u.sync=l}),BW=En(function(e,t){"use strict";var r=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=i.env||process.env;return(i.platform||process.platform)!=="win32"?"PATH":Object.keys(o).reverse().find(function(a){return a.toUpperCase()==="PATH"})||"Path"};t.exports=r,t.exports.default=r}),jW=En(function(e,t){"use strict";var r=ja("path"),n=NW(),i=BW();function o(s,u){var l=s.options.env||process.env,f=process.cwd(),p=s.options.cwd!=null,m=p&&process.chdir!==void 0&&!process.chdir.disabled;if(m)try{process.chdir(s.options.cwd)}catch{}var b;try{b=n.sync(s.command,{path:l[i({env:l})],pathExt:u?r.delimiter:void 0})}catch{}finally{m&&process.chdir(f)}return b&&(b=r.resolve(p?s.options.cwd:"",b)),b}function a(s){return o(s)||o(s,!0)}t.exports=a}),MW=En(function(e,t){"use strict";var r=/([()\][%!^"`<>&|;, *?])/g;function n(o){return o=o.replace(r,"^$1"),o}function i(o,a){return o="".concat(o),o=o.replace(/(\\*)"/g,'$1$1\\"'),o=o.replace(/(\\*)$/,"$1$1"),o='"'.concat(o,'"'),o=o.replace(r,"^$1"),a&&(o=o.replace(r,"^$1")),o}t.exports.command=n,t.exports.argument=i}),qW=En(function(e,t){"use strict";t.exports=/^#!(.*)/}),VW=En(function(e,t){"use strict";var r=qW();t.exports=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=n.match(r);if(!i)return null;var o=i[0].replace(/#! ?/,"").split(" "),a=vW(o,2),s=a[0],u=a[1],l=s.split("/").pop();return l==="env"?u:u?"".concat(l," ").concat(u):l}}),UW=En(function(e,t){"use strict";var r=ja("fs"),n=VW();function i(o){var a=Buffer.alloc(150),s;try{s=r.openSync(o,"r"),r.readSync(s,a,0,150,0),r.closeSync(s)}catch{}return n(a.toString())}t.exports=i}),zW=En(function(e,t){"use strict";var r=ja("path"),n=jW(),i=MW(),o=UW(),a=process.platform==="win32",s=/\.(?:com|exe)$/i,u=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function l(m){m.file=n(m);var b=m.file&&o(m.file);return b?(m.args.unshift(m.file),m.command=b,n(m)):m.file}function f(m){if(!a)return m;var b=l(m),v=!s.test(b);if(m.options.forceShell||v){var w=u.test(b);m.command=r.normalize(m.command),m.command=i.command(m.command),m.args=m.args.map(function(P){return i.argument(P,w)});var C=[m.command].concat(m.args).join(" ");m.args=["/d","/s","/c",'"'.concat(C,'"')],m.command=process.env.comspec||"cmd.exe",m.options.windowsVerbatimArguments=!0}return m}function p(m,b,v){b&&!Array.isArray(b)&&(v=b,b=null),b=b?b.slice(0):[],v=Object.assign({},v);var w={command:m,args:b,options:v,file:void 0,original:{command:m,args:b}};return v.shell?w:f(w)}t.exports=p}),WW=En(function(e,t){"use strict";var r=process.platform==="win32";function n(s,u){return Object.assign(new Error("".concat(u," ").concat(s.command," ENOENT")),{code:"ENOENT",errno:"ENOENT",syscall:"".concat(u," ").concat(s.command),path:s.command,spawnargs:s.args})}function i(s,u){if(r){var l=s.emit;s.emit=function(f,p){if(f==="exit"){var m=o(p,u,"spawn");if(m)return l.call(s,"error",m)}return l.apply(s,arguments)}}}function o(s,u){return r&&s===1&&!u.file?n(u.original,"spawn"):null}function a(s,u){return r&&s===1&&!u.file?n(u.original,"spawnSync"):null}t.exports={hookChildProcess:i,verifyENOENT:o,verifyENOENTSync:a,notFoundError:n}}),HW=En(function(e,t){"use strict";var r=ja("child_process"),n=zW(),i=WW();function o(s,u,l){var f=n(s,u,l),p=r.spawn(f.command,f.args,f.options);return i.hookChildProcess(p,f),p}function a(s,u,l){var f=n(s,u,l),p=r.spawnSync(f.command,f.args,f.options);return p.error=p.error||i.verifyENOENTSync(p.status,f),p}t.exports=o,t.exports.spawn=o,t.exports.sync=a,t.exports._parse=n,t.exports._enoent=i}),GW=/^path$/i,P5={key:"PATH",value:""};XW=function(t){var r=t.length,n=new lW.PassThrough,i=function(){--r===0&&n.emit("end")},o=H1(t),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;s.pipe(n,{end:!1}),s.on("end",i)}}catch(u){o.e(u)}finally{o.f()}return n},JW=FW(HW(),1),O5=exports.NonZeroExitError=function(e){function t(r,n){var i;return T5(this,t),i=hW(this,t,["Process exited with non-zero status (".concat(r.exitCode,")")]),Br(V1(i),"result",void 0),Br(V1(i),"output",void 0),i.result=r,i.output=n,i}return mW(t,e),R5(t,[{key:"exitCode",get:function(){if(this.result.exitCode!==null)return this.result.exitCode}}])}(U1(Error)),ZW={timeout:void 0,persist:!1},eH={windowsHide:!0};nH=exports.ExecProcess=function(){function e(t,r,n){var i=this;T5(this,e),Br(this,"_process",void 0),Br(this,"_aborted",!1),Br(this,"_options",void 0),Br(this,"_command",void 0),Br(this,"_args",void 0),Br(this,"_resolveClose",void 0),Br(this,"_processClosed",void 0),Br(this,"_thrownError",void 0),Br(this,"_streamOut",void 0),Br(this,"_streamErr",void 0),Br(this,"_onError",function(o){if(o.name==="AbortError"&&(!(o.cause instanceof Error)||o.cause.name!=="TimeoutError")){i._aborted=!0;return}i._thrownError=o}),Br(this,"_onClose",function(){i._resolveClose&&i._resolveClose()}),this._options=Ba(Ba({},ZW),n),this._command=t,this._args=r??[],this._processClosed=new Promise(function(o){i._resolveClose=o})}return R5(e,[{key:"process",get:function(){return this._process}},{key:"pid",get:function(){var r;return(r=this._process)===null||r===void 0?void 0:r.pid}},{key:"exitCode",get:function(){if(this._process&&this._process.exitCode!==null)return this._process.exitCode}},{key:"kill",value:function(r){var n;return((n=this._process)===null||n===void 0?void 0:n.kill(r))===!0}},{key:"aborted",get:function(){return this._aborted}},{key:"killed",get:function(){var r;return((r=this._process)===null||r===void 0?void 0:r.killed)===!0}},{key:"pipe",value:function(r,n,i){return oH(r,n,Ba(Ba({},i),{},{stdin:this}))}},{key:Symbol.asyncIterator,value:function(){var r=this;return EW(_f().m(function n(){var i,o,a,s,u,l,f,p,m,b,v,w;return _f().w(function(C){for(;;)switch(C.n){case 0:if(o=r._process,o){C.n=1;break}return C.a(2);case 1:a=[],r._streamErr&&a.push(r._streamErr),r._streamOut&&a.push(r._streamOut),s=XW(a),u=cW.default.createInterface({input:s}),l=!1,f=!1,C.p=2,m=q1(u);case 3:return C.n=4,M1(m.next());case 4:if(!(l=!(b=C.v).done)){C.n=6;break}return v=b.value,C.n=5,v.toString();case 5:l=!1,C.n=3;break;case 6:C.n=8;break;case 7:C.p=7,w=C.v,f=!0,p=w;case 8:if(C.p=8,C.p=9,!(l&&m.return!=null)){C.n=10;break}return C.n=10,M1(m.return());case 10:if(C.p=10,!f){C.n=11;break}throw p;case 11:return C.f(10);case 12:return C.f(8);case 13:return C.n=14,M1(r._processClosed);case 14:if(o.removeAllListeners(),!r._thrownError){C.n=15;break}throw r._thrownError;case 15:if(!((i=r._options)!==null&&i!==void 0&&i.throwOnError&&r.exitCode!==0&&r.exitCode!==void 0)){C.n=16;break}throw new O5(r);case 16:return C.a(2)}},n,null,[[9,,10,12],[2,7,8,13]])}))()}},{key:"_waitForOutput",value:function(){var t=pW(_f().m(function n(){var i,o,a,s,u,l,f,p,m,b,v,w,C,P,A,E,y,L,I,T;return _f().w(function(N){for(;;)switch(N.n){case 0:if(o=this._process,o){N.n=1;break}throw new Error("No process was started");case 1:if(a="",s="",!this._streamOut){N.n=13;break}u=!1,l=!1,N.p=2,p=q1(this._streamOut);case 3:return N.n=4,p.next();case 4:if(!(u=!(m=N.v).done)){N.n=6;break}b=m.value,s+=b.toString();case 5:u=!1,N.n=3;break;case 6:N.n=8;break;case 7:N.p=7,L=N.v,l=!0,f=L;case 8:if(N.p=8,N.p=9,!(u&&p.return!=null)){N.n=10;break}return N.n=10,p.return();case 10:if(N.p=10,!l){N.n=11;break}throw f;case 11:return N.f(10);case 12:return N.f(8);case 13:if(!this._streamErr){N.n=25;break}v=!1,w=!1,N.p=14,P=q1(this._streamErr);case 15:return N.n=16,P.next();case 16:if(!(v=!(A=N.v).done)){N.n=18;break}E=A.value,a+=E.toString();case 17:v=!1,N.n=15;break;case 18:N.n=20;break;case 19:N.p=19,I=N.v,w=!0,C=I;case 20:if(N.p=20,N.p=21,!(v&&P.return!=null)){N.n=22;break}return N.n=22,P.return();case 22:if(N.p=22,!w){N.n=23;break}throw C;case 23:return N.f(22);case 24:return N.f(20);case 25:return N.n=26,this._processClosed;case 26:if(T=(i=this._options)!==null&&i!==void 0&&i.stdin,!T){N.n=27;break}return N.n=27,this._options.stdin;case 27:if(o.removeAllListeners(),!this._thrownError){N.n=28;break}throw this._thrownError;case 28:if(y={stderr:a,stdout:s,exitCode:this.exitCode},!(this._options.throwOnError&&this.exitCode!==0&&this.exitCode!==void 0)){N.n=29;break}throw new O5(this,y);case 29:return N.a(2,y)}},n,this,[[21,,22,24],[14,19,20,25],[9,,10,12],[2,7,8,13]])}));function r(){return t.apply(this,arguments)}return r}()},{key:"then",value:function(r,n){return this._waitForOutput().then(r,n)}},{key:"spawn",value:function(){var r=(0,uW.cwd)(),n=this._options,i=Ba(Ba({},eH),n.nodeOptions),o=[];this._resetState(),n.timeout!==void 0&&o.push(AbortSignal.timeout(n.timeout)),n.signal!==void 0&&o.push(n.signal),n.persist===!0&&(i.detached=!0),o.length>0&&(i.signal=rH(o)),i.env=QW(r,i.env);var a=tH(this._command,this._args),s=a.command,u=a.args,l=(0,JW._parse)(s,u,i),f=(0,sW.spawn)(l.command,l.args,l.options);if(f.stderr&&(this._streamErr=f.stderr),f.stdout&&(this._streamOut=f.stdout),this._process=f,f.once("error",this._onError),f.once("close",this._onClose),n.stdin!==void 0&&f.stdin&&n.stdin.process){var p=n.stdin.process.stdout;p&&p.pipe(f.stdin)}}},{key:"_resetState",value:function(){var r=this;this._aborted=!1,this._processClosed=new Promise(function(n){r._resolveClose=n}),this._thrownError=void 0}}])}(),iH=exports.x=function(t,r,n){var i=new nH(t,r,n);return i.spawn(),i},oH=exports.exec=iH});function uH(e){return e&&e.__esModule?e:{default:e}}function Pm(e){return fH(e)||cH(e)||q5(e)||lH()}function lH(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
35
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cH(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fH(e){if(Array.isArray(e))return Y1(e)}function M5(e,t){return dH(e)||hH(e,t)||q5(e,t)||pH()}function pH(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
36
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function q5(e,t){if(e){if(typeof e=="string")return Y1(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y1(e,t):void 0}}function Y1(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function hH(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function dH(e){if(Array.isArray(e))return e}function zs(){var e,t,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(b,v,w,C){var P=v&&v.prototype instanceof s?v:s,A=Object.create(P.prototype);return An(A,"_invoke",function(E,y,L){var I,T,N,X=0,se=L||[],ie=!1,te={p:0,n:0,v:e,a:Ee,f:Ee.bind(e,4),d:function(G,Z){return I=G,T=0,N=e,te.n=Z,a}};function Ee(W,G){for(T=W,N=G,t=0;!ie&&X&&!Z&&t<se.length;t++){var Z,Q=se[t],pe=te.p,Le=Q[2];W>3?(Z=Le===G)&&(N=Q[(T=Q[4])?5:(T=3,3)],Q[4]=Q[5]=e):Q[0]<=pe&&((Z=W<2&&pe<Q[1])?(T=0,te.v=G,te.n=Q[1]):pe<Le&&(Z=W<3||Q[0]>G||G>Le)&&(Q[4]=W,Q[5]=G,te.n=Le,T=0))}if(Z||W>1)return a;throw ie=!0,G}return function(W,G,Z){if(X>1)throw TypeError("Generator is already running");for(ie&&G===1&&Ee(G,Z),T=G,N=Z;(t=T<2?e:N)||!ie;){I||(T?T<3?(T>1&&(te.n=-1),Ee(T,N)):te.n=N:te.v=N);try{if(X=2,I){if(T||(W="next"),t=I[W]){if(!(t=t.call(I,N)))throw TypeError("iterator result is not an object");if(!t.done)return t;N=t.value,T<2&&(T=0)}else T===1&&(t=I.return)&&t.call(I),T<2&&(N=TypeError("The iterator does not provide a '"+W+"' method"),T=1);I=e}else if((t=(ie=te.n<0)?N:E.call(y,te))!==a)break}catch(Q){I=e,T=1,N=Q}finally{X=1}}return{value:t,done:ie}}}(b,w,C),!0),A}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var f=[][n]?t(t([][n]())):(An(t={},n,function(){return this}),t),p=l.prototype=s.prototype=Object.create(f);function m(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,l):(b.__proto__=l,An(b,i,"GeneratorFunction")),b.prototype=Object.create(p),b}return u.prototype=l,An(p,"constructor",l),An(l,"constructor",u),u.displayName="GeneratorFunction",An(l,i,"GeneratorFunction"),An(p),An(p,i,"Generator"),An(p,n,function(){return this}),An(p,"toString",function(){return"[object Generator]"}),(zs=function(){return{w:o,m}})()}function An(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}An=function(a,s,u,l){if(s)i?i(a,s,{value:u,enumerable:!l,configurable:!l,writable:!l}):a[s]=u;else{var f=function(m,b){An(a,m,function(v){return this._invoke(m,b,v)})};f("next",0),f("throw",1),f("return",2)}},An(e,t,r,n)}function $5(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void r(l)}s.done?t(u):Promise.resolve(u).then(n,i)}function ex(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(u){$5(o,n,i,a,s,"next",u)}function s(u){$5(o,n,i,a,s,"throw",u)}a(void 0)})}}function tx(){return Q1.apply(this,arguments)}function Q1(){return Q1=ex(zs().m(function e(){var t,r,n=arguments;return zs().w(function(i){for(;;)switch(i.n){case 0:return t=n.length>0&&n[0]!==void 0?n[0]:Z1.default.cwd(),i.n=1,(0,sH.detect)({cwd:t,onUnknown:function(a){console.warn("[@antfu/install-pkg] Unknown packageManager:",a)}});case 1:return r=i.v,i.a(2,r?.agent||null)}},e)})),Q1.apply(this,arguments)}function mH(e){return X1.apply(this,arguments)}function X1(){return X1=ex(zs().m(function e(t){var r,n,i,o,a,s,u,l=arguments,f,p;return zs().w(function(m){for(;;)switch(m.n){case 0:if(r=l.length>1&&l[1]!==void 0?l[1]:{},p=r.packageManager,p){m.n=2;break}return m.n=1,tx(r.cwd);case 1:p=m.v;case 2:if(f=p,f){m.n=3;break}f="npm";case 3:return n=f,i=n.split("@"),o=M5(i,1),a=o[0],Array.isArray(t)||(t=[t]),s=(typeof r.additionalArgs=="function"?r.additionalArgs(a,n):r.additionalArgs)||[],r.preferOffline&&(n==="yarn@berry"?s.unshift("--cached"):s.unshift("--prefer-offline")),a==="pnpm"&&(s.unshift("--prod=false"),(0,N5.existsSync)((0,B5.resolve)((u=r.cwd)!==null&&u!==void 0?u:Z1.default.cwd(),"pnpm-workspace.yaml"))&&s.unshift("-w")),m.a(2,(0,j5.x)(a,[a==="yarn"?"add":"install",r.dev?"-D":""].concat(Pm(s),Pm(t)).filter(Boolean),{nodeOptions:{stdio:r.silent?"ignore":"inherit",cwd:r.cwd},throwOnError:!0}))}},e)})),X1.apply(this,arguments)}function gH(e){return J1.apply(this,arguments)}function J1(){return J1=ex(zs().m(function e(t){var r,n,i,o,a,s,u,l=arguments,f,p;return zs().w(function(m){for(;;)switch(m.n){case 0:if(n=l.length>1&&l[1]!==void 0?l[1]:{},p=n.packageManager,p){m.n=2;break}return m.n=1,tx(n.cwd);case 1:p=m.v;case 2:if(f=p,f){m.n=3;break}f="npm";case 3:return i=f,o=i.split("@"),a=M5(o,1),s=a[0],Array.isArray(t)||(t=[t]),u=n.additionalArgs||[],s==="pnpm"&&(0,N5.existsSync)((0,B5.resolve)((r=n.cwd)!==null&&r!==void 0?r:Z1.default.cwd(),"pnpm-workspace.yaml"))&&u.unshift("-w"),m.a(2,(0,j5.x)(s,[s==="yarn"?"remove":"uninstall",n.dev?"-D":""].concat(Pm(u),Pm(t)).filter(Boolean),{nodeOptions:{stdio:n.silent?"ignore":"inherit",cwd:n.cwd},throwOnError:!0}))}},e)})),J1.apply(this,arguments)}var Z1,sH,N5,B5,j5,V5=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.detectPackageManager=tx;exports.installPackage=mH;exports.uninstallPackage=gH;Z1=uH(require("node:process")),sH=(j1(),R(B1)),N5=require("node:fs"),B5=require("node:path"),j5=(Dm(),R(K1))});function rx(e,t){return new Promise(r=>setTimeout(async()=>{await t?.(),r()},e))}var l2e,U5=$(()=>{l2e=Symbol("p-void")});function ze(e,t,r=1){let n=`\x1B[${e}m`,i=`\x1B[${t}m`,o=new RegExp(`\\x1b\\[${t}m`,"g");return a=>z5.enabled&&z5.supportLevel>=r?n+(""+a).replace(o,n)+i:""+a}var Ws,ml,Df,z5,f2e,p2e,h2e,d2e,m2e,g2e,b2e,y2e,v2e,x2e,w2e,W5,k2e,S2e,H5,_2e,C2e,E2e,A2e,D2e,P2e,O2e,T2e,R2e,F2e,I2e,L2e,$2e,N2e,B2e,j2e,M2e,q2e,V2e,U2e,z2e,W2e,H2e,G2e,K2e,Pf=$(()=>{Ws=!0,ml=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{},Df=0;if(ml.process&&ml.process.env&&ml.process.stdout){let{FORCE_COLOR:e,NODE_DISABLE_COLORS:t,NO_COLOR:r,TERM:n,COLORTERM:i}=ml.process.env;t||r||e==="0"?Ws=!1:e==="1"||e==="2"||e==="3"?Ws=!0:n==="dumb"?Ws=!1:"CI"in ml.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in ml.process.env)?Ws=!0:Ws=process.stdout.isTTY,Ws&&(process.platform==="win32"||i&&(i==="truecolor"||i==="24bit")?Df=3:n&&(n.endsWith("-256color")||n.endsWith("256"))?Df=2:Df=1)}z5={enabled:Ws,supportLevel:Df};f2e=ze(0,0),p2e=ze(1,22),h2e=ze(2,22),d2e=ze(3,23),m2e=ze(4,24),g2e=ze(7,27),b2e=ze(8,28),y2e=ze(9,29),v2e=ze(30,39),x2e=ze(31,39),w2e=ze(32,39),W5=ze(33,39),k2e=ze(34,39),S2e=ze(35,39),H5=ze(36,39),_2e=ze(97,39),C2e=ze(90,39),E2e=ze(37,39),A2e=ze(91,39),D2e=ze(92,39),P2e=ze(93,39),O2e=ze(94,39),T2e=ze(95,39),R2e=ze(96,39),F2e=ze(40,49),I2e=ze(41,49),L2e=ze(42,49),$2e=ze(43,49),N2e=ze(44,49),B2e=ze(45,49),j2e=ze(46,49),M2e=ze(107,49),q2e=ze(100,49),V2e=ze(101,49),U2e=ze(102,49),z2e=ze(103,49),W2e=ze(104,49),H2e=ze(105,49),G2e=ze(106,49),K2e=ze(47,49)});function Om(e){G5.has(e)||(G5.add(e),console.warn(W5(`[@iconify-loader] ${e}`)))}var G5,nx=$(()=>{Pf();G5=new Set});async function ix(e,t){return gl&&await gl,Tm[e]||(console.log(H5(`Installing ${e}...`)),typeof t=="function"?Tm[e]=gl=t(e).then(()=>rx(300)).finally(()=>{gl=void 0}):Tm[e]=gl=(void 0)(e,{dev:!0,preferOffline:!0}).then(()=>rx(300)).catch(r=>{Om(`Failed to install ${e}`),console.error(r)}).finally(()=>{gl=void 0})),Tm[e]}var gl,Tm,Y5=$(()=>{V5();U5();Pf();nx();Tm={}});async function X5(e,t=!1,r="@iconify-json",n=process.cwd()){let i=Q5[n]||(Q5[n]=Object.create(null));return await i[e]||(i[e]=o()),i[e];async function o(){let a=r.length===0?e:`${r}/${e}`,s=await Vs(`${a}/icons.json`,{url:n}).catch(()=>{});if(r==="@iconify-json"){if(ox[n]===void 0){let f=await Vs("@iconify/json/collections.json",{url:n}).catch(()=>{});ox[n]=!!f}let l=ox[n];!s&&l&&(s=await Vs(`@iconify/json/json/${e}.json`,{url:n}).catch(()=>{})),!s&&!l&&t&&(await ix(a,t),s=await Vs(`${a}/icons.json`,{url:n}).catch(()=>{}))}else!s&&t&&(await ix(a,t),s=await Vs(`${a}/icons.json`,{url:n}).catch(()=>{}));if(!s){let l=await Vs(a,{url:n}).catch(()=>{});if(l?.match(/^[a-z]:/i)&&(l=`file:///${l}`.replace(/\\/g,"/")),l){let{icons:f}=await v5(l);if(f)return f}}let u;try{u=s?await ax.promises.lstat(s):void 0}catch{return}if(u?.isFile())return JSON.parse(await ax.promises.readFile(s,"utf8"))}}var ax,Q5,ox,J5=$(()=>{ax=require("fs");k5();Y5();A1();Pf();Q5=Object.create(null),ox=Object.create(null)});var Z5={};Hu(Z5,{loadNodeIcon:()=>bH});var p_e,bH,eO=$(()=>{Ud();J5();nx();zd();Bd();p_e=At(zi(),1);Pf();bH=async(e,t,r)=>{let n=await Os(e,t,r);if(n)return n;let i=Array.isArray(r?.cwd)?r.cwd:[r?.cwd];for(let o=0;o<i.length;o++){let a=await X5(e,o===i.length-1?r?.autoInstall:!1,void 0,i[o]);if(a&&(n=await el(a,e,b3(t),r),n))return n}r?.warn&&Om(`failed to load ${r.warn} icon`)}});var Qi=ne(Of=>{"use strict";var tO=Object.freeze({left:0,top:0,width:16,height:16}),rO=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),nO=Object.freeze({...tO,...rO}),yH=Object.freeze({...nO,body:"",hidden:!1});Of.defaultExtendedIconProps=yH;Of.defaultIconDimensions=tO;Of.defaultIconProps=nO;Of.defaultIconTransformations=rO});var Hs=ne(sx=>{"use strict";var vH=Qi(),iO=Object.freeze({width:null,height:null}),xH=Object.freeze({...iO,...vH.defaultIconTransformations});sx.defaultIconCustomisations=xH;sx.defaultIconSizeCustomisations=iO});var Gs=ne(oO=>{"use strict";var wH=/(-?[0-9.]*[0-9]+[0-9.]*)/g,kH=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function SH(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;let n=e.split(wH);if(n===null||!n.length)return e;let i=[],o=n.shift(),a=kH.test(o);for(;;){if(a){let s=parseFloat(o);isNaN(s)?i.push(o):i.push(Math.ceil(s*t*r)/r)}else i.push(o);if(o=n.shift(),o===void 0)return i.join("");a=!a}}oO.calculateSize=SH});var Ks=ne(Rm=>{"use strict";function aO(e,t="defs"){let r="",n=e.indexOf("<"+t);for(;n>=0;){let i=e.indexOf(">",n),o=e.indexOf("</"+t);if(i===-1||o===-1)break;let a=e.indexOf(">",o);if(a===-1)break;r+=e.slice(i+1,o).trim(),e=e.slice(0,n).trim()+e.slice(a+1)}return{defs:r,content:e}}function sO(e,t){return e?"<defs>"+e+"</defs>"+t:t}function _H(e,t,r){let n=aO(e);return sO(n.defs,t+n.content+r)}Rm.mergeDefsAndContent=sO;Rm.splitSVGDefs=aO;Rm.wrapSVGContent=_H});var bl=ne(ux=>{"use strict";var CH=Qi(),EH=Hs(),uO=Gs(),AH=Ks(),lO=e=>e==="unset"||e==="undefined"||e==="none";function DH(e,t){let r={...CH.defaultIconProps,...e},n={...EH.defaultIconCustomisations,...t},i={left:r.left,top:r.top,width:r.width,height:r.height},o=r.body;[r,n].forEach(w=>{let C=[],P=w.hFlip,A=w.vFlip,E=w.rotate;P?A?E+=2:(C.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),C.push("scale(-1 1)"),i.top=i.left=0):A&&(C.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),C.push("scale(1 -1)"),i.top=i.left=0);let y;switch(E<0&&(E-=Math.floor(E/4)*4),E=E%4,E){case 1:y=i.height/2+i.top,C.unshift("rotate(90 "+y.toString()+" "+y.toString()+")");break;case 2:C.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:y=i.width/2+i.left,C.unshift("rotate(-90 "+y.toString()+" "+y.toString()+")");break}E%2===1&&(i.left!==i.top&&(y=i.left,i.left=i.top,i.top=y),i.width!==i.height&&(y=i.width,i.width=i.height,i.height=y)),C.length&&(o=AH.wrapSVGContent(o,'<g transform="'+C.join(" ")+'">',"</g>"))});let a=n.width,s=n.height,u=i.width,l=i.height,f,p;a===null?(p=s===null?"1em":s==="auto"?l:s,f=uO.calculateSize(p,u/l)):(f=a==="auto"?u:a,p=s===null?uO.calculateSize(f,l/u):s==="auto"?l:s);let m={},b=(w,C)=>{lO(C)||(m[w]=C.toString())};b("width",f),b("height",p);let v=[i.left,i.top,u,l];return m.viewBox=v.join(" "),{attributes:m,viewBox:v,body:o}}ux.iconToSVG=DH;ux.isUnsetKeyword=lO});var yl=ne(cO=>{"use strict";function PH(e,t){let r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);let n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}cO.mergeIconTransformations=PH});var Tf=ne(fO=>{"use strict";var lx=Qi(),OH=yl();function TH(e,t){let r=OH.mergeIconTransformations(e,t);for(let n in lx.defaultExtendedIconProps)n in lx.defaultIconTransformations?n in e&&!(n in r)&&(r[n]=lx.defaultIconTransformations[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}fO.mergeIconData=TH});var Rf=ne(pO=>{"use strict";function RH(e,t){let r=e.icons,n=e.aliases||Object.create(null),i=Object.create(null);function o(a){if(r[a])return i[a]=[];if(!(a in i)){i[a]=null;let s=n[a]&&n[a].parent,u=s&&o(s);u&&(i[a]=[s].concat(u))}return i[a]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(o),i}pO.getIconsTree=RH});var Fm=ne(fx=>{"use strict";var hO=Tf(),FH=Rf();Qi();yl();function cx(e,t,r){let n=e.icons,i=e.aliases||Object.create(null),o={};function a(s){o=hO.mergeIconData(n[s]||i[s],o)}return a(t),r.forEach(a),hO.mergeIconData(e,o)}function IH(e,t){if(e.icons[t])return cx(e,t,[]);let r=FH.getIconsTree(e,[t])[t];return r?cx(e,t,r):null}fx.getIconData=IH;fx.internalGetIconData=cx});var Ff=ne(hx=>{"use strict";var LH=bl(),$H=Gs();Qi();Hs();Ks();var NH=/\swidth\s*=\s*["']([\w.]+)["']/,BH=/\sheight\s*=\s*["']([\w.]+)["']/,px=/<svg\s+/;function jH(e,t,r){let n=e.slice(0,e.indexOf(">")),i=(o,a)=>{let s=a.exec(n),u=s!=null,l=t[o];return!l&&!LH.isUnsetKeyword(l)&&(typeof r=="number"?r>0&&(t[o]=$H.calculateSize(s?.[1]??"1em",r)):s&&(t[o]=s[1])),u};return[i("width",NH),i("height",BH)]}async function MH(e,t,r,n,i,o){let{scale:a,addXmlNs:s=!1}=n??{},{additionalProps:u={},iconCustomizer:l}=n?.customizations??{},f=await i?.()??{};await l?.(t,r,f),Object.keys(u).forEach(w=>{let C=u[w];C!=null&&(f[w]=C)}),o?.(f);let[p,m]=jH(e,f,a);s&&(!e.includes("xmlns=")&&!f.xmlns&&(f.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!f["xmlns:xlink"]&&(f["xmlns:xlink"]="http://www.w3.org/1999/xlink"));let b=Object.keys(f).map(w=>w==="width"&&p||w==="height"&&m?null:`${w}="${f[w]}"`).filter(w=>w!=null);if(b.length&&(e=e.replace(px,`<svg ${b.join(" ")} `)),n){let{defaultStyle:w,defaultClass:C}=n;C&&!e.includes("class=")&&(e=e.replace(px,`<svg class="${C}" `)),w&&!e.includes("style=")&&(e=e.replace(px,`<svg style="${w}" `))}let v=n?.usedProps;return v&&(Object.keys(u).forEach(w=>{let C=f[w];C!=null&&(v[w]=C)}),typeof f.width<"u"&&f.width!==null&&(v.width=f.width),typeof f.height<"u"&&f.height!==null&&(v.height=f.height)),e}function qH(e){return[e,e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.replace(/([a-z])(\d+)/g,"$1-$2")]}hx.getPossibleIconNames=qH;hx.mergeIconProps=MH});var dx=ne(mO=>{"use strict";var dO=bl(),VH=Fm(),UH=Gs(),zH=Ff(),WH=zi(),HH=Hs();Qi();Ks();Tf();yl();Rf();function GH(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var KH=GH(WH),YH=KH("@iconify-loader:icon");async function QH(e,t,r,n){let i,{customize:o}=n?.customizations??{};for(let a of r)if(i=VH.getIconData(e,a),i){YH(`${t}:${a}`);let s={...HH.defaultIconCustomisations};typeof o=="function"&&(i=Object.assign({},i),s=o(s,i,`${t}:${a}`)??s);let{attributes:{width:u,height:l,...f},body:p}=dO.iconToSVG(i,s),m=n?.scale;return await zH.mergeIconProps(`<svg >${p}</svg>`,t,a,n,()=>({...f}),b=>{let v=(w,C)=>{let P=b[w],A;if(!dO.isUnsetKeyword(P)){if(P)return;typeof m=="number"?m&&(A=UH.calculateSize(C??"1em",m)):A=C}A?b[w]=A:delete b[w]};v("width",u),v("height",l)})}}mO.searchForIcon=QH});var bO=ne((Im,gO)=>{"use strict";function Lm(e){"@babel/helpers - typeof";return Lm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lm(e)}(function(e,t){(typeof Im>"u"?"undefined":Lm(Im))==="object"&&typeof gO<"u"?t(Im):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.acorn={}))})(void 0,function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],r=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],n="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",i="\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\u0560-\u0588\u05D0-\u05EA\u05EF-\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\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u09FC\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\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-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\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-\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-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\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-\uAB69\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",o={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},a="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",s={5:a,"5module":a+" export import",6:a+" const class extends export import super"},u=/^in(stanceof)?$/,l=new RegExp("["+i+"]"),f=new RegExp("["+i+n+"]");function p(c,d){for(var x=65536,_=0;_<d.length;_+=2){if(x+=d[_],x>c)return!1;if(x+=d[_+1],x>=c)return!0}return!1}function m(c,d){return c<65?c===36:c<91?!0:c<97?c===95:c<123?!0:c<=65535?c>=170&&l.test(String.fromCharCode(c)):d===!1?!1:p(c,r)}function b(c,d){return c<48?c===36:c<58?!0:c<65?!1:c<91?!0:c<97?c===95:c<123?!0:c<=65535?c>=170&&f.test(String.fromCharCode(c)):d===!1?!1:p(c,r)||p(c,t)}var v=function(d,x){x===void 0&&(x={}),this.label=d,this.keyword=x.keyword,this.beforeExpr=!!x.beforeExpr,this.startsExpr=!!x.startsExpr,this.isLoop=!!x.isLoop,this.isAssign=!!x.isAssign,this.prefix=!!x.prefix,this.postfix=!!x.postfix,this.binop=x.binop||null,this.updateContext=null};function w(c,d){return new v(c,{beforeExpr:!0,binop:d})}var C={beforeExpr:!0},P={startsExpr:!0},A={};function E(c,d){return d===void 0&&(d={}),d.keyword=c,A[c]=new v(c,d)}var y={num:new v("num",P),regexp:new v("regexp",P),string:new v("string",P),name:new v("name",P),privateId:new v("privateId",P),eof:new v("eof"),bracketL:new v("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:!0,startsExpr:!0}),braceR:new v("}"),parenL:new v("(",{beforeExpr:!0,startsExpr:!0}),parenR:new v(")"),comma:new v(",",C),semi:new v(";",C),colon:new v(":",C),dot:new v("."),question:new v("?",C),questionDot:new v("?."),arrow:new v("=>",C),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",C),backQuote:new v("`",P),dollarBraceL:new v("${",{beforeExpr:!0,startsExpr:!0}),eq:new v("=",{beforeExpr:!0,isAssign:!0}),assign:new v("_=",{beforeExpr:!0,isAssign:!0}),incDec:new v("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new v("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:w("||",1),logicalAND:w("&&",2),bitwiseOR:w("|",3),bitwiseXOR:w("^",4),bitwiseAND:w("&",5),equality:w("==/!=/===/!==",6),relational:w("</>/<=/>=",7),bitShift:w("<</>>/>>>",8),plusMin:new v("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:w("%",10),star:w("*",10),slash:w("/",10),starstar:new v("**",{beforeExpr:!0}),coalesce:w("??",1),_break:E("break"),_case:E("case",C),_catch:E("catch"),_continue:E("continue"),_debugger:E("debugger"),_default:E("default",C),_do:E("do",{isLoop:!0,beforeExpr:!0}),_else:E("else",C),_finally:E("finally"),_for:E("for",{isLoop:!0}),_function:E("function",P),_if:E("if"),_return:E("return",C),_switch:E("switch"),_throw:E("throw",C),_try:E("try"),_var:E("var"),_const:E("const"),_while:E("while",{isLoop:!0}),_with:E("with"),_new:E("new",{beforeExpr:!0,startsExpr:!0}),_this:E("this",P),_super:E("super",P),_class:E("class",P),_extends:E("extends",C),_export:E("export"),_import:E("import",P),_null:E("null",P),_true:E("true",P),_false:E("false",P),_in:E("in",{beforeExpr:!0,binop:7}),_instanceof:E("instanceof",{beforeExpr:!0,binop:7}),_typeof:E("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:E("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:E("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},L=/\r\n?|\n|\u2028|\u2029/,I=new RegExp(L.source,"g");function T(c){return c===10||c===13||c===8232||c===8233}function N(c,d,x){x===void 0&&(x=c.length);for(var _=d;_<x;_++){var O=c.charCodeAt(_);if(T(O))return _<x-1&&O===13&&c.charCodeAt(_+1)===10?_+2:_+1}return-1}var X=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,se=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ie=Object.prototype,te=ie.hasOwnProperty,Ee=ie.toString,W=Object.hasOwn||function(c,d){return te.call(c,d)},G=Array.isArray||function(c){return Ee.call(c)==="[object Array]"},Z=Object.create(null);function Q(c){return Z[c]||(Z[c]=new RegExp("^(?:"+c.replace(/ /g,"|")+")$"))}function pe(c){return c<=65535?String.fromCharCode(c):(c-=65536,String.fromCharCode((c>>10)+55296,(c&1023)+56320))}var Le=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Mt=function(d,x){this.line=d,this.column=x};Mt.prototype.offset=function(d){return new Mt(this.line,this.column+d)};var Wr=function(d,x,_){this.start=x,this.end=_,d.sourceFile!==null&&(this.source=d.sourceFile)};function Hr(c,d){for(var x=1,_=0;;){var O=N(c,_,d);if(O<0)return new Mt(x,d-_);++x,_=O}}var pt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Zt=!1;function Fu(c){var d={};for(var x in pt)d[x]=c&&W(c,x)?c[x]:pt[x];if(d.ecmaVersion==="latest"?d.ecmaVersion=1e8:d.ecmaVersion==null?(!Zt&&(typeof console>"u"?"undefined":Lm(console))==="object"&&console.warn&&(Zt=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
37
|
+
Defaulting to 2020, but this will stop working in the future.`)),d.ecmaVersion=11):d.ecmaVersion>=2015&&(d.ecmaVersion-=2009),d.allowReserved==null&&(d.allowReserved=d.ecmaVersion<5),(!c||c.allowHashBang==null)&&(d.allowHashBang=d.ecmaVersion>=14),G(d.onToken)){var _=d.onToken;d.onToken=function(O){return _.push(O)}}return G(d.onComment)&&(d.onComment=Dr(d,d.onComment)),d}function Dr(c,d){return function(x,_,O,M,V,re){var oe={type:x?"Block":"Line",value:_,start:O,end:M};c.locations&&(oe.loc=new Wr(this,V,re)),c.ranges&&(oe.range=[O,M]),d.push(oe)}}var Nt=1,fi=2,pi=4,Pr=8,ji=16,ho=32,Mi=64,ls=128,Gr=256,Nn=512,Kr=Nt|fi|Gr;function mo(c,d){return fi|(c?pi:0)|(d?Pr:0)}var Bn=0,hi=1,Or=2,Yr=3,Tr=4,di=5,lt=function(d,x,_){this.options=d=Fu(d),this.sourceFile=d.sourceFile,this.keywords=Q(s[d.ecmaVersion>=6?6:d.sourceType==="module"?"5module":5]);var O="";d.allowReserved!==!0&&(O=o[d.ecmaVersion>=6?6:d.ecmaVersion===5?5:3],d.sourceType==="module"&&(O+=" await")),this.reservedWords=Q(O);var M=(O?O+" ":"")+o.strict;this.reservedWordsStrict=Q(M),this.reservedWordsStrictBind=Q(M+" "+o.strictBind),this.input=String(x),this.containsEsc=!1,_?(this.pos=_,this.lineStart=this.input.lastIndexOf(`
|
|
38
|
+
`,_-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(L).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=d.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&d.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Nt),this.regexpState=null,this.privateNameStack=[]},mr={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};lt.prototype.parse=function(){var d=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(d)},mr.inFunction.get=function(){return(this.currentVarScope().flags&fi)>0},mr.inGenerator.get=function(){return(this.currentVarScope().flags&Pr)>0},mr.inAsync.get=function(){return(this.currentVarScope().flags&pi)>0},mr.canAwait.get=function(){for(var c=this.scopeStack.length-1;c>=0;c--){var d=this.scopeStack[c],x=d.flags;if(x&(Gr|Nn))return!1;if(x&fi)return(x&pi)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},mr.allowSuper.get=function(){var c=this.currentThisScope(),d=c.flags;return(d&Mi)>0||this.options.allowSuperOutsideMethod},mr.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ls)>0},mr.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},mr.allowNewDotTarget.get=function(){for(var c=this.scopeStack.length-1;c>=0;c--){var d=this.scopeStack[c],x=d.flags;if(x&(Gr|Nn)||x&fi&&!(x&ji))return!0}return!1},mr.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Gr)>0},lt.extend=function(){for(var d=[],x=arguments.length;x--;)d[x]=arguments[x];for(var _=this,O=0;O<d.length;O++)_=d[O](_);return _},lt.parse=function(d,x){return new this(x,d).parse()},lt.parseExpressionAt=function(d,x,_){var O=new this(_,d,x);return O.nextToken(),O.parseExpression()},lt.tokenizer=function(d,x){return new this(x,d)},Object.defineProperties(lt.prototype,mr);var Et=lt.prototype,Pc=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Et.strictDirective=function(c){if(this.options.ecmaVersion<5)return!1;for(;;){se.lastIndex=c,c+=se.exec(this.input)[0].length;var d=Pc.exec(this.input.slice(c));if(!d)return!1;if((d[1]||d[2])==="use strict"){se.lastIndex=c+d[0].length;var x=se.exec(this.input),_=x.index+x[0].length,O=this.input.charAt(_);return O===";"||O==="}"||L.test(x[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(O)||O==="!"&&this.input.charAt(_+1)==="=")}c+=d[0].length,se.lastIndex=c,c+=se.exec(this.input)[0].length,this.input[c]===";"&&c++}},Et.eat=function(c){return this.type===c?(this.next(),!0):!1},Et.isContextual=function(c){return this.type===y.name&&this.value===c&&!this.containsEsc},Et.eatContextual=function(c){return this.isContextual(c)?(this.next(),!0):!1},Et.expectContextual=function(c){this.eatContextual(c)||this.unexpected()},Et.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||L.test(this.input.slice(this.lastTokEnd,this.start))},Et.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Et.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()},Et.afterTrailingComma=function(c,d){if(this.type===c)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),d||this.next(),!0},Et.expect=function(c){this.eat(c)||this.unexpected()},Et.unexpected=function(c){this.raise(c??this.start,"Unexpected token")};var go=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Et.checkPatternErrors=function(c,d){if(c){c.trailingComma>-1&&this.raiseRecoverable(c.trailingComma,"Comma is not permitted after the rest element");var x=d?c.parenthesizedAssign:c.parenthesizedBind;x>-1&&this.raiseRecoverable(x,d?"Assigning to rvalue":"Parenthesized pattern")}},Et.checkExpressionErrors=function(c,d){if(!c)return!1;var x=c.shorthandAssign,_=c.doubleProto;if(!d)return x>=0||_>=0;x>=0&&this.raise(x,"Shorthand property assignments are valid only in destructuring patterns"),_>=0&&this.raiseRecoverable(_,"Redefinition of __proto__ property")},Et.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Et.isSimpleAssignTarget=function(c){return c.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(c.expression):c.type==="Identifier"||c.type==="MemberExpression"};var le=lt.prototype;le.parseTopLevel=function(c){var d=Object.create(null);for(c.body||(c.body=[]);this.type!==y.eof;){var x=this.parseStatement(null,!0,d);c.body.push(x)}if(this.inModule)for(var _=0,O=Object.keys(this.undefinedExports);_<O.length;_+=1){var M=O[_];this.raiseRecoverable(this.undefinedExports[M].start,"Export '"+M+"' is not defined")}return this.adaptDirectivePrologue(c.body),this.next(),c.sourceType=this.options.sourceType,this.finishNode(c,"Program")};var bo={kind:"loop"},cs={kind:"switch"};le.isLet=function(c){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;se.lastIndex=this.pos;var d=se.exec(this.input),x=this.pos+d[0].length,_=this.input.charCodeAt(x);if(_===91||_===92)return!0;if(c)return!1;if(_===123||_>55295&&_<56320)return!0;if(m(_,!0)){for(var O=x+1;b(_=this.input.charCodeAt(O),!0);)++O;if(_===92||_>55295&&_<56320)return!0;var M=this.input.slice(x,O);if(!u.test(M))return!0}return!1},le.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;se.lastIndex=this.pos;var c=se.exec(this.input),d=this.pos+c[0].length,x;return!L.test(this.input.slice(this.pos,d))&&this.input.slice(d,d+8)==="function"&&(d+8===this.input.length||!(b(x=this.input.charCodeAt(d+8))||x>55295&&x<56320))},le.isUsingKeyword=function(c,d){if(this.options.ecmaVersion<17||!this.isContextual(c?"await":"using"))return!1;se.lastIndex=this.pos;var x=se.exec(this.input),_=this.pos+x[0].length;if(L.test(this.input.slice(this.pos,_)))return!1;if(c){var O=_+5,M;if(this.input.slice(_,O)!=="using"||O===this.input.length||b(M=this.input.charCodeAt(O))||M>55295&&M<56320)return!1;se.lastIndex=O;var V=se.exec(this.input);if(V&&L.test(this.input.slice(O,O+V[0].length)))return!1}if(d){var re=_+2,oe;if(this.input.slice(_,re)==="of"&&(re===this.input.length||!b(oe=this.input.charCodeAt(re))&&!(oe>55295&&oe<56320)))return!1}var Oe=this.input.charCodeAt(_);return m(Oe,!0)||Oe===92},le.isAwaitUsing=function(c){return this.isUsingKeyword(!0,c)},le.isUsing=function(c){return this.isUsingKeyword(!1,c)},le.parseStatement=function(c,d,x){var _=this.type,O=this.startNode(),M;switch(this.isLet(c)&&(_=y._var,M="let"),_){case y._break:case y._continue:return this.parseBreakContinueStatement(O,_.keyword);case y._debugger:return this.parseDebuggerStatement(O);case y._do:return this.parseDoStatement(O);case y._for:return this.parseForStatement(O);case y._function:return c&&(this.strict||c!=="if"&&c!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(O,!1,!c);case y._class:return c&&this.unexpected(),this.parseClass(O,!0);case y._if:return this.parseIfStatement(O);case y._return:return this.parseReturnStatement(O);case y._switch:return this.parseSwitchStatement(O);case y._throw:return this.parseThrowStatement(O);case y._try:return this.parseTryStatement(O);case y._const:case y._var:return M=M||this.value,c&&M!=="var"&&this.unexpected(),this.parseVarStatement(O,M);case y._while:return this.parseWhileStatement(O);case y._with:return this.parseWithStatement(O);case y.braceL:return this.parseBlock(!0,O);case y.semi:return this.parseEmptyStatement(O);case y._export:case y._import:if(this.options.ecmaVersion>10&&_===y._import){se.lastIndex=this.pos;var V=se.exec(this.input),re=this.pos+V[0].length,oe=this.input.charCodeAt(re);if(oe===40||oe===46)return this.parseExpressionStatement(O,this.parseExpression())}return this.options.allowImportExportEverywhere||(d||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),_===y._import?this.parseImport(O):this.parseExport(O,x);default:if(this.isAsyncFunction())return c&&this.unexpected(),this.next(),this.parseFunctionStatement(O,!0,!c);var Oe=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(Oe)return d&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),Oe==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(O,!1,Oe),this.semicolon(),this.finishNode(O,"VariableDeclaration");var Ne=this.value,ot=this.parseExpression();return _===y.name&&ot.type==="Identifier"&&this.eat(y.colon)?this.parseLabeledStatement(O,Ne,ot,c):this.parseExpressionStatement(O,ot)}},le.parseBreakContinueStatement=function(c,d){var x=d==="break";this.next(),this.eat(y.semi)||this.insertSemicolon()?c.label=null:this.type!==y.name?this.unexpected():(c.label=this.parseIdent(),this.semicolon());for(var _=0;_<this.labels.length;++_){var O=this.labels[_];if((c.label==null||O.name===c.label.name)&&(O.kind!=null&&(x||O.kind==="loop")||c.label&&x))break}return _===this.labels.length&&this.raise(c.start,"Unsyntactic "+d),this.finishNode(c,x?"BreakStatement":"ContinueStatement")},le.parseDebuggerStatement=function(c){return this.next(),this.semicolon(),this.finishNode(c,"DebuggerStatement")},le.parseDoStatement=function(c){return this.next(),this.labels.push(bo),c.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),c.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(c,"DoWhileStatement")},le.parseForStatement=function(c){this.next();var d=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(bo),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return d>-1&&this.unexpected(d),this.parseFor(c,null);var x=this.isLet();if(this.type===y._var||this.type===y._const||x){var _=this.startNode(),O=x?"let":this.value;return this.next(),this.parseVar(_,!0,O),this.finishNode(_,"VariableDeclaration"),this.parseForAfterInit(c,_,d)}var M=this.isContextual("let"),V=!1,re=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(re){var oe=this.startNode();return this.next(),re==="await using"&&this.next(),this.parseVar(oe,!0,re),this.finishNode(oe,"VariableDeclaration"),this.parseForAfterInit(c,oe,d)}var Oe=this.containsEsc,Ne=new go,ot=this.start,Kt=d>-1?this.parseExprSubscripts(Ne,"await"):this.parseExpression(!0,Ne);return this.type===y._in||(V=this.options.ecmaVersion>=6&&this.isContextual("of"))?(d>-1?(this.type===y._in&&this.unexpected(d),c.await=!0):V&&this.options.ecmaVersion>=8&&(Kt.start===ot&&!Oe&&Kt.type==="Identifier"&&Kt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(c.await=!1)),M&&V&&this.raise(Kt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Kt,!1,Ne),this.checkLValPattern(Kt),this.parseForIn(c,Kt)):(this.checkExpressionErrors(Ne,!0),d>-1&&this.unexpected(d),this.parseFor(c,Kt))},le.parseForAfterInit=function(c,d,x){return(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&d.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===y._in?x>-1&&this.unexpected(x):c.await=x>-1),this.parseForIn(c,d)):(x>-1&&this.unexpected(x),this.parseFor(c,d))},le.parseFunctionStatement=function(c,d,x){return this.next(),this.parseFunction(c,qi|(x?0:yo),!1,d)},le.parseIfStatement=function(c){return this.next(),c.test=this.parseParenExpression(),c.consequent=this.parseStatement("if"),c.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(c,"IfStatement")},le.parseReturnStatement=function(c){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?c.argument=null:(c.argument=this.parseExpression(),this.semicolon()),this.finishNode(c,"ReturnStatement")},le.parseSwitchStatement=function(c){this.next(),c.discriminant=this.parseParenExpression(),c.cases=[],this.expect(y.braceL),this.labels.push(cs),this.enterScope(0);for(var d,x=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var _=this.type===y._case;d&&this.finishNode(d,"SwitchCase"),c.cases.push(d=this.startNode()),d.consequent=[],this.next(),_?d.test=this.parseExpression():(x&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),x=!0,d.test=null),this.expect(y.colon)}else d||this.unexpected(),d.consequent.push(this.parseStatement(null));return this.exitScope(),d&&this.finishNode(d,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(c,"SwitchStatement")},le.parseThrowStatement=function(c){return this.next(),L.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")};var fs=[];le.parseCatchClauseParam=function(){var c=this.parseBindingAtom(),d=c.type==="Identifier";return this.enterScope(d?ho:0),this.checkLValPattern(c,d?Tr:Or),this.expect(y.parenR),c},le.parseTryStatement=function(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.type===y._catch){var d=this.startNode();this.next(),this.eat(y.parenL)?d.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),d.param=null,this.enterScope(0)),d.body=this.parseBlock(!1),this.exitScope(),c.handler=this.finishNode(d,"CatchClause")}return c.finalizer=this.eat(y._finally)?this.parseBlock():null,!c.handler&&!c.finalizer&&this.raise(c.start,"Missing catch or finally clause"),this.finishNode(c,"TryStatement")},le.parseVarStatement=function(c,d,x){return this.next(),this.parseVar(c,!1,d,x),this.semicolon(),this.finishNode(c,"VariableDeclaration")},le.parseWhileStatement=function(c){return this.next(),c.test=this.parseParenExpression(),this.labels.push(bo),c.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(c,"WhileStatement")},le.parseWithStatement=function(c){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),c.object=this.parseParenExpression(),c.body=this.parseStatement("with"),this.finishNode(c,"WithStatement")},le.parseEmptyStatement=function(c){return this.next(),this.finishNode(c,"EmptyStatement")},le.parseLabeledStatement=function(c,d,x,_){for(var O=0,M=this.labels;O<M.length;O+=1){var V=M[O];V.name===d&&this.raise(x.start,"Label '"+d+"' is already declared")}for(var re=this.type.isLoop?"loop":this.type===y._switch?"switch":null,oe=this.labels.length-1;oe>=0;oe--){var Oe=this.labels[oe];if(Oe.statementStart===c.start)Oe.statementStart=this.start,Oe.kind=re;else break}return this.labels.push({name:d,kind:re,statementStart:this.start}),c.body=this.parseStatement(_?_.indexOf("label")===-1?_+"label":_:"label"),this.labels.pop(),c.label=x,this.finishNode(c,"LabeledStatement")},le.parseExpressionStatement=function(c,d){return c.expression=d,this.semicolon(),this.finishNode(c,"ExpressionStatement")},le.parseBlock=function(c,d,x){for(c===void 0&&(c=!0),d===void 0&&(d=this.startNode()),d.body=[],this.expect(y.braceL),c&&this.enterScope(0);this.type!==y.braceR;){var _=this.parseStatement(null);d.body.push(_)}return x&&(this.strict=!1),this.next(),c&&this.exitScope(),this.finishNode(d,"BlockStatement")},le.parseFor=function(c,d){return c.init=d,this.expect(y.semi),c.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),c.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),c.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(c,"ForStatement")},le.parseForIn=function(c,d){var x=this.type===y._in;return this.next(),d.type==="VariableDeclaration"&&d.declarations[0].init!=null&&(!x||this.options.ecmaVersion<8||this.strict||d.kind!=="var"||d.declarations[0].id.type!=="Identifier")&&this.raise(d.start,(x?"for-in":"for-of")+" loop variable declaration may not have an initializer"),c.left=d,c.right=x?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),c.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(c,x?"ForInStatement":"ForOfStatement")},le.parseVar=function(c,d,x,_){for(c.declarations=[],c.kind=x;;){var O=this.startNode();if(this.parseVarId(O,x),this.eat(y.eq)?O.init=this.parseMaybeAssign(d):!_&&x==="const"&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!_&&(x==="using"||x==="await using")&&this.options.ecmaVersion>=17&&this.type!==y._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+x+" declaration"):!_&&O.id.type!=="Identifier"&&!(d&&(this.type===y._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):O.init=null,c.declarations.push(this.finishNode(O,"VariableDeclarator")),!this.eat(y.comma))break}return c},le.parseVarId=function(c,d){c.id=d==="using"||d==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(c.id,d==="var"?hi:Or,!1)};var qi=1,yo=2,ma=4;le.parseFunction=function(c,d,x,_,O){this.initFunction(c),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!_)&&(this.type===y.star&&d&yo&&this.unexpected(),c.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(c.async=!!_),d&qi&&(c.id=d&ma&&this.type!==y.name?null:this.parseIdent(),c.id&&!(d&yo)&&this.checkLValSimple(c.id,this.strict||c.generator||c.async?this.treatFunctionsAsVar?hi:Or:Yr));var M=this.yieldPos,V=this.awaitPos,re=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(mo(c.async,c.generator)),d&qi||(c.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(c),this.parseFunctionBody(c,x,!1,O),this.yieldPos=M,this.awaitPos=V,this.awaitIdentPos=re,this.finishNode(c,d&qi?"FunctionDeclaration":"FunctionExpression")},le.parseFunctionParams=function(c){this.expect(y.parenL),c.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},le.parseClass=function(c,d){this.next();var x=this.strict;this.strict=!0,this.parseClassId(c,d),this.parseClassSuper(c);var _=this.enterClassBody(),O=this.startNode(),M=!1;for(O.body=[],this.expect(y.braceL);this.type!==y.braceR;){var V=this.parseClassElement(c.superClass!==null);V&&(O.body.push(V),V.type==="MethodDefinition"&&V.kind==="constructor"?(M&&this.raiseRecoverable(V.start,"Duplicate constructor in the same class"),M=!0):V.key&&V.key.type==="PrivateIdentifier"&&ps(_,V)&&this.raiseRecoverable(V.key.start,"Identifier '#"+V.key.name+"' has already been declared"))}return this.strict=x,this.next(),c.body=this.finishNode(O,"ClassBody"),this.exitClassBody(),this.finishNode(c,d?"ClassDeclaration":"ClassExpression")},le.parseClassElement=function(c){if(this.eat(y.semi))return null;var d=this.options.ecmaVersion,x=this.startNode(),_="",O=!1,M=!1,V="method",re=!1;if(this.eatContextual("static")){if(d>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(x),x;this.isClassElementNameStart()||this.type===y.star?re=!0:_="static"}if(x.static=re,!_&&d>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===y.star)&&!this.canInsertSemicolon()?M=!0:_="async"),!_&&(d>=9||!M)&&this.eat(y.star)&&(O=!0),!_&&!M&&!O){var oe=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?V=oe:_=oe)}if(_?(x.computed=!1,x.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),x.key.name=_,this.finishNode(x.key,"Identifier")):this.parseClassElementName(x),d<13||this.type===y.parenL||V!=="method"||O||M){var Oe=!x.static&&Qr(x,"constructor"),Ne=Oe&&c;Oe&&V!=="method"&&this.raise(x.key.start,"Constructor can't have get/set modifier"),x.kind=Oe?"constructor":V,this.parseClassMethod(x,O,M,Ne)}else this.parseClassField(x);return x},le.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword},le.parseClassElementName=function(c){this.type===y.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),c.computed=!1,c.key=this.parsePrivateIdent()):this.parsePropertyName(c)},le.parseClassMethod=function(c,d,x,_){var O=c.key;c.kind==="constructor"?(d&&this.raise(O.start,"Constructor can't be a generator"),x&&this.raise(O.start,"Constructor can't be an async method")):c.static&&Qr(c,"prototype")&&this.raise(O.start,"Classes may not have a static property named prototype");var M=c.value=this.parseMethod(d,x,_);return c.kind==="get"&&M.params.length!==0&&this.raiseRecoverable(M.start,"getter should have no params"),c.kind==="set"&&M.params.length!==1&&this.raiseRecoverable(M.start,"setter should have exactly one param"),c.kind==="set"&&M.params[0].type==="RestElement"&&this.raiseRecoverable(M.params[0].start,"Setter cannot use rest params"),this.finishNode(c,"MethodDefinition")},le.parseClassField=function(c){return Qr(c,"constructor")?this.raise(c.key.start,"Classes can't have a field named 'constructor'"):c.static&&Qr(c,"prototype")&&this.raise(c.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.eq)?(this.enterScope(Nn|Mi),c.value=this.parseMaybeAssign(),this.exitScope()):c.value=null,this.semicolon(),this.finishNode(c,"PropertyDefinition")},le.parseClassStaticBlock=function(c){c.body=[];var d=this.labels;for(this.labels=[],this.enterScope(Gr|Mi);this.type!==y.braceR;){var x=this.parseStatement(null);c.body.push(x)}return this.next(),this.exitScope(),this.labels=d,this.finishNode(c,"StaticBlock")},le.parseClassId=function(c,d){this.type===y.name?(c.id=this.parseIdent(),d&&this.checkLValSimple(c.id,Or,!1)):(d===!0&&this.unexpected(),c.id=null)},le.parseClassSuper=function(c){c.superClass=this.eat(y._extends)?this.parseExprSubscripts(null,!1):null},le.enterClassBody=function(){var c={declared:Object.create(null),used:[]};return this.privateNameStack.push(c),c.declared},le.exitClassBody=function(){var c=this.privateNameStack.pop(),d=c.declared,x=c.used;if(this.options.checkPrivateFields)for(var _=this.privateNameStack.length,O=_===0?null:this.privateNameStack[_-1],M=0;M<x.length;++M){var V=x[M];W(d,V.name)||(O?O.used.push(V):this.raiseRecoverable(V.start,"Private field '#"+V.name+"' must be declared in an enclosing class"))}};function ps(c,d){var x=d.key.name,_=c[x],O="true";return d.type==="MethodDefinition"&&(d.kind==="get"||d.kind==="set")&&(O=(d.static?"s":"i")+d.kind),_==="iget"&&O==="iset"||_==="iset"&&O==="iget"||_==="sget"&&O==="sset"||_==="sset"&&O==="sget"?(c[x]="true",!1):_?!0:(c[x]=O,!1)}function Qr(c,d){var x=c.computed,_=c.key;return!x&&(_.type==="Identifier"&&_.name===d||_.type==="Literal"&&_.value===d)}le.parseExportAllDeclaration=function(c,d){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(c.exported=this.parseModuleExportName(),this.checkExport(d,c.exported,this.lastTokStart)):c.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),c.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(c.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(c,"ExportAllDeclaration")},le.parseExport=function(c,d){if(this.next(),this.eat(y.star))return this.parseExportAllDeclaration(c,d);if(this.eat(y._default))return this.checkExport(d,"default",this.lastTokStart),c.declaration=this.parseExportDefaultDeclaration(),this.finishNode(c,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())c.declaration=this.parseExportDeclaration(c),c.declaration.type==="VariableDeclaration"?this.checkVariableExport(d,c.declaration.declarations):this.checkExport(d,c.declaration.id,c.declaration.id.start),c.specifiers=[],c.source=null,this.options.ecmaVersion>=16&&(c.attributes=[]);else{if(c.declaration=null,c.specifiers=this.parseExportSpecifiers(d),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),c.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(c.attributes=this.parseWithClause());else{for(var x=0,_=c.specifiers;x<_.length;x+=1){var O=_[x];this.checkUnreserved(O.local),this.checkLocalExport(O.local),O.local.type==="Literal"&&this.raise(O.local.start,"A string literal cannot be used as an exported binding without `from`.")}c.source=null,this.options.ecmaVersion>=16&&(c.attributes=[])}this.semicolon()}return this.finishNode(c,"ExportNamedDeclaration")},le.parseExportDeclaration=function(c){return this.parseStatement(null)},le.parseExportDefaultDeclaration=function(){var c;if(this.type===y._function||(c=this.isAsyncFunction())){var d=this.startNode();return this.next(),c&&this.next(),this.parseFunction(d,qi|ma,!1,c)}else if(this.type===y._class){var x=this.startNode();return this.parseClass(x,"nullableID")}else{var _=this.parseMaybeAssign();return this.semicolon(),_}},le.checkExport=function(c,d,x){c&&(typeof d!="string"&&(d=d.type==="Identifier"?d.name:d.value),W(c,d)&&this.raiseRecoverable(x,"Duplicate export '"+d+"'"),c[d]=!0)},le.checkPatternExport=function(c,d){var x=d.type;if(x==="Identifier")this.checkExport(c,d,d.start);else if(x==="ObjectPattern")for(var _=0,O=d.properties;_<O.length;_+=1){var M=O[_];this.checkPatternExport(c,M)}else if(x==="ArrayPattern")for(var V=0,re=d.elements;V<re.length;V+=1){var oe=re[V];oe&&this.checkPatternExport(c,oe)}else x==="Property"?this.checkPatternExport(c,d.value):x==="AssignmentPattern"?this.checkPatternExport(c,d.left):x==="RestElement"&&this.checkPatternExport(c,d.argument)},le.checkVariableExport=function(c,d){if(c)for(var x=0,_=d;x<_.length;x+=1){var O=_[x];this.checkPatternExport(c,O.id)}},le.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},le.parseExportSpecifier=function(c){var d=this.startNode();return d.local=this.parseModuleExportName(),d.exported=this.eatContextual("as")?this.parseModuleExportName():d.local,this.checkExport(c,d.exported,d.exported.start),this.finishNode(d,"ExportSpecifier")},le.parseExportSpecifiers=function(c){var d=[],x=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(x)x=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;d.push(this.parseExportSpecifier(c))}return d},le.parseImport=function(c){return this.next(),this.type===y.string?(c.specifiers=fs,c.source=this.parseExprAtom()):(c.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),c.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(c.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(c,"ImportDeclaration")},le.parseImportSpecifier=function(){var c=this.startNode();return c.imported=this.parseModuleExportName(),this.eatContextual("as")?c.local=this.parseIdent():(this.checkUnreserved(c.imported),c.local=c.imported),this.checkLValSimple(c.local,Or),this.finishNode(c,"ImportSpecifier")},le.parseImportDefaultSpecifier=function(){var c=this.startNode();return c.local=this.parseIdent(),this.checkLValSimple(c.local,Or),this.finishNode(c,"ImportDefaultSpecifier")},le.parseImportNamespaceSpecifier=function(){var c=this.startNode();return this.next(),this.expectContextual("as"),c.local=this.parseIdent(),this.checkLValSimple(c.local,Or),this.finishNode(c,"ImportNamespaceSpecifier")},le.parseImportSpecifiers=function(){var c=[],d=!0;if(this.type===y.name&&(c.push(this.parseImportDefaultSpecifier()),!this.eat(y.comma)))return c;if(this.type===y.star)return c.push(this.parseImportNamespaceSpecifier()),c;for(this.expect(y.braceL);!this.eat(y.braceR);){if(d)d=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;c.push(this.parseImportSpecifier())}return c},le.parseWithClause=function(){var c=[];if(!this.eat(y._with))return c;this.expect(y.braceL);for(var d={},x=!0;!this.eat(y.braceR);){if(x)x=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var _=this.parseImportAttribute(),O=_.key.type==="Identifier"?_.key.name:_.key.value;W(d,O)&&this.raiseRecoverable(_.key.start,"Duplicate attribute key '"+O+"'"),d[O]=!0,c.push(_)}return c},le.parseImportAttribute=function(){var c=this.startNode();return c.key=this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(y.colon),this.type!==y.string&&this.unexpected(),c.value=this.parseExprAtom(),this.finishNode(c,"ImportAttribute")},le.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var c=this.parseLiteral(this.value);return Le.test(c.value)&&this.raise(c.start,"An export name cannot include a lone surrogate."),c}return this.parseIdent(!0)},le.adaptDirectivePrologue=function(c){for(var d=0;d<c.length&&this.isDirectiveCandidate(c[d]);++d)c[d].directive=c[d].expression.raw.slice(1,-1)},le.isDirectiveCandidate=function(c){return this.options.ecmaVersion>=5&&c.type==="ExpressionStatement"&&c.expression.type==="Literal"&&typeof c.expression.value=="string"&&(this.input[c.start]==='"'||this.input[c.start]==="'")};var er=lt.prototype;er.toAssignable=function(c,d,x){if(this.options.ecmaVersion>=6&&c)switch(c.type){case"Identifier":this.inAsync&&c.name==="await"&&this.raise(c.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":c.type="ObjectPattern",x&&this.checkPatternErrors(x,!0);for(var _=0,O=c.properties;_<O.length;_+=1){var M=O[_];this.toAssignable(M,d),M.type==="RestElement"&&(M.argument.type==="ArrayPattern"||M.argument.type==="ObjectPattern")&&this.raise(M.argument.start,"Unexpected token")}break;case"Property":c.kind!=="init"&&this.raise(c.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(c.value,d);break;case"ArrayExpression":c.type="ArrayPattern",x&&this.checkPatternErrors(x,!0),this.toAssignableList(c.elements,d);break;case"SpreadElement":c.type="RestElement",this.toAssignable(c.argument,d),c.argument.type==="AssignmentPattern"&&this.raise(c.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":c.operator!=="="&&this.raise(c.left.end,"Only '=' operator can be used for specifying default value."),c.type="AssignmentPattern",delete c.operator,this.toAssignable(c.left,d);break;case"ParenthesizedExpression":this.toAssignable(c.expression,d,x);break;case"ChainExpression":this.raiseRecoverable(c.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!d)break;default:this.raise(c.start,"Assigning to rvalue")}else x&&this.checkPatternErrors(x,!0);return c},er.toAssignableList=function(c,d){for(var x=c.length,_=0;_<x;_++){var O=c[_];O&&this.toAssignable(O,d)}if(x){var M=c[x-1];this.options.ecmaVersion===6&&d&&M&&M.type==="RestElement"&&M.argument.type!=="Identifier"&&this.unexpected(M.argument.start)}return c},er.parseSpread=function(c){var d=this.startNode();return this.next(),d.argument=this.parseMaybeAssign(!1,c),this.finishNode(d,"SpreadElement")},er.parseRestBinding=function(){var c=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==y.name&&this.unexpected(),c.argument=this.parseBindingAtom(),this.finishNode(c,"RestElement")},er.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var c=this.startNode();return this.next(),c.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(c,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()},er.parseBindingList=function(c,d,x,_){for(var O=[],M=!0;!this.eat(c);)if(M?M=!1:this.expect(y.comma),d&&this.type===y.comma)O.push(null);else{if(x&&this.afterTrailingComma(c))break;if(this.type===y.ellipsis){var V=this.parseRestBinding();this.parseBindingListItem(V),O.push(V),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(c);break}else O.push(this.parseAssignableListItem(_))}return O},er.parseAssignableListItem=function(c){var d=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(d),d},er.parseBindingListItem=function(c){return c},er.parseMaybeDefault=function(c,d,x){if(x=x||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return x;var _=this.startNodeAt(c,d);return _.left=x,_.right=this.parseMaybeAssign(),this.finishNode(_,"AssignmentPattern")},er.checkLValSimple=function(c,d,x){d===void 0&&(d=Bn);var _=d!==Bn;switch(c.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(c.name)&&this.raiseRecoverable(c.start,(_?"Binding ":"Assigning to ")+c.name+" in strict mode"),_&&(d===Or&&c.name==="let"&&this.raiseRecoverable(c.start,"let is disallowed as a lexically bound name"),x&&(W(x,c.name)&&this.raiseRecoverable(c.start,"Argument name clash"),x[c.name]=!0),d!==di&&this.declareName(c.name,d,c.start));break;case"ChainExpression":this.raiseRecoverable(c.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":_&&this.raiseRecoverable(c.start,"Binding member expression");break;case"ParenthesizedExpression":return _&&this.raiseRecoverable(c.start,"Binding parenthesized expression"),this.checkLValSimple(c.expression,d,x);default:this.raise(c.start,(_?"Binding":"Assigning to")+" rvalue")}},er.checkLValPattern=function(c,d,x){switch(d===void 0&&(d=Bn),c.type){case"ObjectPattern":for(var _=0,O=c.properties;_<O.length;_+=1){var M=O[_];this.checkLValInnerPattern(M,d,x)}break;case"ArrayPattern":for(var V=0,re=c.elements;V<re.length;V+=1){var oe=re[V];oe&&this.checkLValInnerPattern(oe,d,x)}break;default:this.checkLValSimple(c,d,x)}},er.checkLValInnerPattern=function(c,d,x){switch(d===void 0&&(d=Bn),c.type){case"Property":this.checkLValInnerPattern(c.value,d,x);break;case"AssignmentPattern":this.checkLValPattern(c.left,d,x);break;case"RestElement":this.checkLValPattern(c.argument,d,x);break;default:this.checkLValPattern(c,d,x)}};var kt=function(d,x,_,O,M){this.token=d,this.isExpr=!!x,this.preserveSpace=!!_,this.override=O,this.generator=!!M},Xe={b_stat:new kt("{",!1),b_expr:new kt("{",!0),b_tmpl:new kt("${",!1),p_stat:new kt("(",!1),p_expr:new kt("(",!0),q_tmpl:new kt("`",!0,!0,function(c){return c.tryReadTemplateToken()}),f_stat:new kt("function",!1),f_expr:new kt("function",!0),f_expr_gen:new kt("function",!0,!1,null,!0),f_gen:new kt("function",!1,!1,null,!0)},jn=lt.prototype;jn.initialContext=function(){return[Xe.b_stat]},jn.curContext=function(){return this.context[this.context.length-1]},jn.braceIsBlock=function(c){var d=this.curContext();return d===Xe.f_expr||d===Xe.f_stat?!0:c===y.colon&&(d===Xe.b_stat||d===Xe.b_expr)?!d.isExpr:c===y._return||c===y.name&&this.exprAllowed?L.test(this.input.slice(this.lastTokEnd,this.start)):c===y._else||c===y.semi||c===y.eof||c===y.parenR||c===y.arrow?!0:c===y.braceL?d===Xe.b_stat:c===y._var||c===y._const||c===y.name?!1:!this.exprAllowed},jn.inGeneratorContext=function(){for(var c=this.context.length-1;c>=1;c--){var d=this.context[c];if(d.token==="function")return d.generator}return!1},jn.updateContext=function(c){var d,x=this.type;x.keyword&&c===y.dot?this.exprAllowed=!1:(d=x.updateContext)?d.call(this,c):this.exprAllowed=x.beforeExpr},jn.overrideContext=function(c){this.curContext()!==c&&(this.context[this.context.length-1]=c)},y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var c=this.context.pop();c===Xe.b_stat&&this.curContext().token==="function"&&(c=this.context.pop()),this.exprAllowed=!c.isExpr},y.braceL.updateContext=function(c){this.context.push(this.braceIsBlock(c)?Xe.b_stat:Xe.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(Xe.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(c){var d=c===y._if||c===y._for||c===y._with||c===y._while;this.context.push(d?Xe.p_stat:Xe.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(c){c.beforeExpr&&c!==y._else&&!(c===y.semi&&this.curContext()!==Xe.p_stat)&&!(c===y._return&&L.test(this.input.slice(this.lastTokEnd,this.start)))&&!((c===y.colon||c===y.braceL)&&this.curContext()===Xe.b_stat)?this.context.push(Xe.f_expr):this.context.push(Xe.f_stat),this.exprAllowed=!1},y.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},y.backQuote.updateContext=function(){this.curContext()===Xe.q_tmpl?this.context.pop():this.context.push(Xe.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(c){if(c===y._function){var d=this.context.length-1;this.context[d]===Xe.f_expr?this.context[d]=Xe.f_expr_gen:this.context[d]=Xe.f_gen}this.exprAllowed=!0},y.name.updateContext=function(c){var d=!1;this.options.ecmaVersion>=6&&c!==y.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(d=!0),this.exprAllowed=d};var Ae=lt.prototype;Ae.checkPropClash=function(c,d,x){if(!(this.options.ecmaVersion>=9&&c.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(c.computed||c.method||c.shorthand))){var _=c.key,O;switch(_.type){case"Identifier":O=_.name;break;case"Literal":O=String(_.value);break;default:return}var M=c.kind;if(this.options.ecmaVersion>=6){O==="__proto__"&&M==="init"&&(d.proto&&(x?x.doubleProto<0&&(x.doubleProto=_.start):this.raiseRecoverable(_.start,"Redefinition of __proto__ property")),d.proto=!0);return}O="$"+O;var V=d[O];if(V){var re;M==="init"?re=this.strict&&V.init||V.get||V.set:re=V.init||V[M],re&&this.raiseRecoverable(_.start,"Redefinition of property")}else V=d[O]={init:!1,get:!1,set:!1};V[M]=!0}},Ae.parseExpression=function(c,d){var x=this.start,_=this.startLoc,O=this.parseMaybeAssign(c,d);if(this.type===y.comma){var M=this.startNodeAt(x,_);for(M.expressions=[O];this.eat(y.comma);)M.expressions.push(this.parseMaybeAssign(c,d));return this.finishNode(M,"SequenceExpression")}return O},Ae.parseMaybeAssign=function(c,d,x){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(c);this.exprAllowed=!1}var _=!1,O=-1,M=-1,V=-1;d?(O=d.parenthesizedAssign,M=d.trailingComma,V=d.doubleProto,d.parenthesizedAssign=d.trailingComma=-1):(d=new go,_=!0);var re=this.start,oe=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=c==="await");var Oe=this.parseMaybeConditional(c,d);if(x&&(Oe=x.call(this,Oe,re,oe)),this.type.isAssign){var Ne=this.startNodeAt(re,oe);return Ne.operator=this.value,this.type===y.eq&&(Oe=this.toAssignable(Oe,!1,d)),_||(d.parenthesizedAssign=d.trailingComma=d.doubleProto=-1),d.shorthandAssign>=Oe.start&&(d.shorthandAssign=-1),this.type===y.eq?this.checkLValPattern(Oe):this.checkLValSimple(Oe),Ne.left=Oe,this.next(),Ne.right=this.parseMaybeAssign(c),V>-1&&(d.doubleProto=V),this.finishNode(Ne,"AssignmentExpression")}else _&&this.checkExpressionErrors(d,!0);return O>-1&&(d.parenthesizedAssign=O),M>-1&&(d.trailingComma=M),Oe},Ae.parseMaybeConditional=function(c,d){var x=this.start,_=this.startLoc,O=this.parseExprOps(c,d);if(this.checkExpressionErrors(d))return O;if(this.eat(y.question)){var M=this.startNodeAt(x,_);return M.test=O,M.consequent=this.parseMaybeAssign(),this.expect(y.colon),M.alternate=this.parseMaybeAssign(c),this.finishNode(M,"ConditionalExpression")}return O},Ae.parseExprOps=function(c,d){var x=this.start,_=this.startLoc,O=this.parseMaybeUnary(d,!1,!1,c);return this.checkExpressionErrors(d)||O.start===x&&O.type==="ArrowFunctionExpression"?O:this.parseExprOp(O,x,_,-1,c)},Ae.parseExprOp=function(c,d,x,_,O){var M=this.type.binop;if(M!=null&&(!O||this.type!==y._in)&&M>_){var V=this.type===y.logicalOR||this.type===y.logicalAND,re=this.type===y.coalesce;re&&(M=y.logicalAND.binop);var oe=this.value;this.next();var Oe=this.start,Ne=this.startLoc,ot=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,O),Oe,Ne,M,O),Kt=this.buildBinary(d,x,c,ot,oe,V||re);return(V&&this.type===y.coalesce||re&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Kt,d,x,_,O)}return c},Ae.buildBinary=function(c,d,x,_,O,M){_.type==="PrivateIdentifier"&&this.raise(_.start,"Private identifier can only be left side of binary expression");var V=this.startNodeAt(c,d);return V.left=x,V.operator=O,V.right=_,this.finishNode(V,M?"LogicalExpression":"BinaryExpression")},Ae.parseMaybeUnary=function(c,d,x,_){var O=this.start,M=this.startLoc,V;if(this.isContextual("await")&&this.canAwait)V=this.parseAwait(_),d=!0;else if(this.type.prefix){var re=this.startNode(),oe=this.type===y.incDec;re.operator=this.value,re.prefix=!0,this.next(),re.argument=this.parseMaybeUnary(null,!0,oe,_),this.checkExpressionErrors(c,!0),oe?this.checkLValSimple(re.argument):this.strict&&re.operator==="delete"&&hs(re.argument)?this.raiseRecoverable(re.start,"Deleting local variable in strict mode"):re.operator==="delete"&&vo(re.argument)?this.raiseRecoverable(re.start,"Private fields can not be deleted"):d=!0,V=this.finishNode(re,oe?"UpdateExpression":"UnaryExpression")}else if(!d&&this.type===y.privateId)(_||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),V=this.parsePrivateIdent(),this.type!==y._in&&this.unexpected();else{if(V=this.parseExprSubscripts(c,_),this.checkExpressionErrors(c))return V;for(;this.type.postfix&&!this.canInsertSemicolon();){var Oe=this.startNodeAt(O,M);Oe.operator=this.value,Oe.prefix=!1,Oe.argument=V,this.checkLValSimple(V),this.next(),V=this.finishNode(Oe,"UpdateExpression")}}if(!x&&this.eat(y.starstar))if(d)this.unexpected(this.lastTokStart);else return this.buildBinary(O,M,V,this.parseMaybeUnary(null,!1,!1,_),"**",!1);else return V};function hs(c){return c.type==="Identifier"||c.type==="ParenthesizedExpression"&&hs(c.expression)}function vo(c){return c.type==="MemberExpression"&&c.property.type==="PrivateIdentifier"||c.type==="ChainExpression"&&vo(c.expression)||c.type==="ParenthesizedExpression"&&vo(c.expression)}Ae.parseExprSubscripts=function(c,d){var x=this.start,_=this.startLoc,O=this.parseExprAtom(c,d);if(O.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return O;var M=this.parseSubscripts(O,x,_,!1,d);return c&&M.type==="MemberExpression"&&(c.parenthesizedAssign>=M.start&&(c.parenthesizedAssign=-1),c.parenthesizedBind>=M.start&&(c.parenthesizedBind=-1),c.trailingComma>=M.start&&(c.trailingComma=-1)),M},Ae.parseSubscripts=function(c,d,x,_,O){for(var M=this.options.ecmaVersion>=8&&c.type==="Identifier"&&c.name==="async"&&this.lastTokEnd===c.end&&!this.canInsertSemicolon()&&c.end-c.start===5&&this.potentialArrowAt===c.start,V=!1;;){var re=this.parseSubscript(c,d,x,_,M,V,O);if(re.optional&&(V=!0),re===c||re.type==="ArrowFunctionExpression"){if(V){var oe=this.startNodeAt(d,x);oe.expression=re,re=this.finishNode(oe,"ChainExpression")}return re}c=re}},Ae.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(y.arrow)},Ae.parseSubscriptAsyncArrow=function(c,d,x,_){return this.parseArrowExpression(this.startNodeAt(c,d),x,!0,_)},Ae.parseSubscript=function(c,d,x,_,O,M,V){var re=this.options.ecmaVersion>=11,oe=re&&this.eat(y.questionDot);_&&oe&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Oe=this.eat(y.bracketL);if(Oe||oe&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var Ne=this.startNodeAt(d,x);Ne.object=c,Oe?(Ne.property=this.parseExpression(),this.expect(y.bracketR)):this.type===y.privateId&&c.type!=="Super"?Ne.property=this.parsePrivateIdent():Ne.property=this.parseIdent(this.options.allowReserved!=="never"),Ne.computed=!!Oe,re&&(Ne.optional=oe),c=this.finishNode(Ne,"MemberExpression")}else if(!_&&this.eat(y.parenL)){var ot=new go,Kt=this.yieldPos,ws=this.awaitPos,Co=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var kn=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,ot);if(O&&!oe&&this.shouldParseAsyncArrow())return this.checkPatternErrors(ot,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Kt,this.awaitPos=ws,this.awaitIdentPos=Co,this.parseSubscriptAsyncArrow(d,x,kn,V);this.checkExpressionErrors(ot,!0),this.yieldPos=Kt||this.yieldPos,this.awaitPos=ws||this.awaitPos,this.awaitIdentPos=Co||this.awaitIdentPos;var Ui=this.startNodeAt(d,x);Ui.callee=c,Ui.arguments=kn,re&&(Ui.optional=oe),c=this.finishNode(Ui,"CallExpression")}else if(this.type===y.backQuote){(oe||M)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Eo=this.startNodeAt(d,x);Eo.tag=c,Eo.quasi=this.parseTemplate({isTagged:!0}),c=this.finishNode(Eo,"TaggedTemplateExpression")}return c},Ae.parseExprAtom=function(c,d,x){this.type===y.slash&&this.readRegexp();var _,O=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),_=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(_.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(_,"Super");case y._this:return _=this.startNode(),this.next(),this.finishNode(_,"ThisExpression");case y.name:var M=this.start,V=this.startLoc,re=this.containsEsc,oe=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!re&&oe.name==="async"&&!this.canInsertSemicolon()&&this.eat(y._function))return this.overrideContext(Xe.f_expr),this.parseFunction(this.startNodeAt(M,V),0,!1,!0,d);if(O&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(M,V),[oe],!1,d);if(this.options.ecmaVersion>=8&&oe.name==="async"&&this.type===y.name&&!re&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return oe=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(M,V),[oe],!0,d)}return oe;case y.regexp:var Oe=this.value;return _=this.parseLiteral(Oe.value),_.regex={pattern:Oe.pattern,flags:Oe.flags},_;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return _=this.startNode(),_.value=this.type===y._null?null:this.type===y._true,_.raw=this.type.keyword,this.next(),this.finishNode(_,"Literal");case y.parenL:var Ne=this.start,ot=this.parseParenAndDistinguishExpression(O,d);return c&&(c.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ot)&&(c.parenthesizedAssign=Ne),c.parenthesizedBind<0&&(c.parenthesizedBind=Ne)),ot;case y.bracketL:return _=this.startNode(),this.next(),_.elements=this.parseExprList(y.bracketR,!0,!0,c),this.finishNode(_,"ArrayExpression");case y.braceL:return this.overrideContext(Xe.b_expr),this.parseObj(!1,c);case y._function:return _=this.startNode(),this.next(),this.parseFunction(_,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:return this.options.ecmaVersion>=11?this.parseExprImport(x):this.unexpected();default:return this.parseExprAtomDefault()}},Ae.parseExprAtomDefault=function(){this.unexpected()},Ae.parseExprImport=function(c){var d=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===y.parenL&&!c)return this.parseDynamicImport(d);if(this.type===y.dot){var x=this.startNodeAt(d.start,d.loc&&d.loc.start);return x.name="import",d.meta=this.finishNode(x,"Identifier"),this.parseImportMeta(d)}else this.unexpected()},Ae.parseDynamicImport=function(c){if(this.next(),c.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(y.parenR)?c.options=null:(this.expect(y.comma),this.afterTrailingComma(y.parenR)?c.options=null:(c.options=this.parseMaybeAssign(),this.eat(y.parenR)||(this.expect(y.comma),this.afterTrailingComma(y.parenR)||this.unexpected())));else if(!this.eat(y.parenR)){var d=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(d,"Trailing comma is not allowed in import()"):this.unexpected(d)}return this.finishNode(c,"ImportExpression")},Ae.parseImportMeta=function(c){this.next();var d=this.containsEsc;return c.property=this.parseIdent(!0),c.property.name!=="meta"&&this.raiseRecoverable(c.property.start,"The only valid meta property for import is 'import.meta'"),d&&this.raiseRecoverable(c.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(c.start,"Cannot use 'import.meta' outside a module"),this.finishNode(c,"MetaProperty")},Ae.parseLiteral=function(c){var d=this.startNode();return d.value=c,d.raw=this.input.slice(this.start,this.end),d.raw.charCodeAt(d.raw.length-1)===110&&(d.bigint=d.value!=null?d.value.toString():d.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(d,"Literal")},Ae.parseParenExpression=function(){this.expect(y.parenL);var c=this.parseExpression();return this.expect(y.parenR),c},Ae.shouldParseArrow=function(c){return!this.canInsertSemicolon()},Ae.parseParenAndDistinguishExpression=function(c,d){var x=this.start,_=this.startLoc,O,M=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var V=this.start,re=this.startLoc,oe=[],Oe=!0,Ne=!1,ot=new go,Kt=this.yieldPos,ws=this.awaitPos,Co;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;)if(Oe?Oe=!1:this.expect(y.comma),M&&this.afterTrailingComma(y.parenR,!0)){Ne=!0;break}else if(this.type===y.ellipsis){Co=this.start,oe.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else oe.push(this.parseMaybeAssign(!1,ot,this.parseParenItem));var kn=this.lastTokEnd,Ui=this.lastTokEndLoc;if(this.expect(y.parenR),c&&this.shouldParseArrow(oe)&&this.eat(y.arrow))return this.checkPatternErrors(ot,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Kt,this.awaitPos=ws,this.parseParenArrowList(x,_,oe,d);(!oe.length||Ne)&&this.unexpected(this.lastTokStart),Co&&this.unexpected(Co),this.checkExpressionErrors(ot,!0),this.yieldPos=Kt||this.yieldPos,this.awaitPos=ws||this.awaitPos,oe.length>1?(O=this.startNodeAt(V,re),O.expressions=oe,this.finishNodeAt(O,"SequenceExpression",kn,Ui)):O=oe[0]}else O=this.parseParenExpression();if(this.options.preserveParens){var Eo=this.startNodeAt(x,_);return Eo.expression=O,this.finishNode(Eo,"ParenthesizedExpression")}else return O},Ae.parseParenItem=function(c){return c},Ae.parseParenArrowList=function(c,d,x,_){return this.parseArrowExpression(this.startNodeAt(c,d),x,!1,_)};var ga=[];Ae.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var c=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===y.dot){var d=this.startNodeAt(c.start,c.loc&&c.loc.start);d.name="new",c.meta=this.finishNode(d,"Identifier"),this.next();var x=this.containsEsc;return c.property=this.parseIdent(!0),c.property.name!=="target"&&this.raiseRecoverable(c.property.start,"The only valid meta property for new is 'new.target'"),x&&this.raiseRecoverable(c.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(c.start,"'new.target' can only be used in functions and class static block"),this.finishNode(c,"MetaProperty")}var _=this.start,O=this.startLoc;return c.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),_,O,!0,!1),this.eat(y.parenL)?c.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):c.arguments=ga,this.finishNode(c,"NewExpression")},Ae.parseTemplateElement=function(c){var d=c.isTagged,x=this.startNode();return this.type===y.invalidTemplate?(d||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),x.value={raw:this.value.replace(/\r\n?/g,`
|
|
39
|
+
`),cooked:null}):x.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
40
|
+
`),cooked:this.value},this.next(),x.tail=this.type===y.backQuote,this.finishNode(x,"TemplateElement")},Ae.parseTemplate=function(c){c===void 0&&(c={});var d=c.isTagged;d===void 0&&(d=!1);var x=this.startNode();this.next(),x.expressions=[];var _=this.parseTemplateElement({isTagged:d});for(x.quasis=[_];!_.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),x.expressions.push(this.parseExpression()),this.expect(y.braceR),x.quasis.push(_=this.parseTemplateElement({isTagged:d}));return this.next(),this.finishNode(x,"TemplateLiteral")},Ae.isAsyncProp=function(c){return!c.computed&&c.key.type==="Identifier"&&c.key.name==="async"&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!L.test(this.input.slice(this.lastTokEnd,this.start))},Ae.parseObj=function(c,d){var x=this.startNode(),_=!0,O={};for(x.properties=[],this.next();!this.eat(y.braceR);){if(_)_=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var M=this.parseProperty(c,d);c||this.checkPropClash(M,O,d),x.properties.push(M)}return this.finishNode(x,c?"ObjectPattern":"ObjectExpression")},Ae.parseProperty=function(c,d){var x=this.startNode(),_,O,M,V;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return c?(x.argument=this.parseIdent(!1),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(x,"RestElement")):(x.argument=this.parseMaybeAssign(!1,d),this.type===y.comma&&d&&d.trailingComma<0&&(d.trailingComma=this.start),this.finishNode(x,"SpreadElement"));this.options.ecmaVersion>=6&&(x.method=!1,x.shorthand=!1,(c||d)&&(M=this.start,V=this.startLoc),c||(_=this.eat(y.star)));var re=this.containsEsc;return this.parsePropertyName(x),!c&&!re&&this.options.ecmaVersion>=8&&!_&&this.isAsyncProp(x)?(O=!0,_=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(x)):O=!1,this.parsePropertyValue(x,c,_,O,M,V,d,re),this.finishNode(x,"Property")},Ae.parseGetterSetter=function(c){var d=c.key.name;this.parsePropertyName(c),c.value=this.parseMethod(!1),c.kind=d;var x=c.kind==="get"?0:1;if(c.value.params.length!==x){var _=c.value.start;c.kind==="get"?this.raiseRecoverable(_,"getter should have no params"):this.raiseRecoverable(_,"setter should have exactly one param")}else c.kind==="set"&&c.value.params[0].type==="RestElement"&&this.raiseRecoverable(c.value.params[0].start,"Setter cannot use rest params")},Ae.parsePropertyValue=function(c,d,x,_,O,M,V,re){(x||_)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon)?(c.value=d?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,V),c.kind="init"):this.options.ecmaVersion>=6&&this.type===y.parenL?(d&&this.unexpected(),c.method=!0,c.value=this.parseMethod(x,_),c.kind="init"):!d&&!re&&this.options.ecmaVersion>=5&&!c.computed&&c.key.type==="Identifier"&&(c.key.name==="get"||c.key.name==="set")&&this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq?((x||_)&&this.unexpected(),this.parseGetterSetter(c)):this.options.ecmaVersion>=6&&!c.computed&&c.key.type==="Identifier"?((x||_)&&this.unexpected(),this.checkUnreserved(c.key),c.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=O),d?c.value=this.parseMaybeDefault(O,M,this.copyNode(c.key)):this.type===y.eq&&V?(V.shorthandAssign<0&&(V.shorthandAssign=this.start),c.value=this.parseMaybeDefault(O,M,this.copyNode(c.key))):c.value=this.copyNode(c.key),c.kind="init",c.shorthand=!0):this.unexpected()},Ae.parsePropertyName=function(c){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return c.computed=!0,c.key=this.parseMaybeAssign(),this.expect(y.bracketR),c.key;c.computed=!1}return c.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Ae.initFunction=function(c){c.id=null,this.options.ecmaVersion>=6&&(c.generator=c.expression=!1),this.options.ecmaVersion>=8&&(c.async=!1)},Ae.parseMethod=function(c,d,x){var _=this.startNode(),O=this.yieldPos,M=this.awaitPos,V=this.awaitIdentPos;return this.initFunction(_),this.options.ecmaVersion>=6&&(_.generator=c),this.options.ecmaVersion>=8&&(_.async=!!d),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(mo(d,_.generator)|Mi|(x?ls:0)),this.expect(y.parenL),_.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(_,!1,!0,!1),this.yieldPos=O,this.awaitPos=M,this.awaitIdentPos=V,this.finishNode(_,"FunctionExpression")},Ae.parseArrowExpression=function(c,d,x,_){var O=this.yieldPos,M=this.awaitPos,V=this.awaitIdentPos;return this.enterScope(mo(x,!1)|ji),this.initFunction(c),this.options.ecmaVersion>=8&&(c.async=!!x),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,c.params=this.toAssignableList(d,!0),this.parseFunctionBody(c,!0,!1,_),this.yieldPos=O,this.awaitPos=M,this.awaitIdentPos=V,this.finishNode(c,"ArrowFunctionExpression")},Ae.parseFunctionBody=function(c,d,x,_){var O=d&&this.type!==y.braceL,M=this.strict,V=!1;if(O)c.body=this.parseMaybeAssign(_),c.expression=!0,this.checkParams(c,!1);else{var re=this.options.ecmaVersion>=7&&!this.isSimpleParamList(c.params);(!M||re)&&(V=this.strictDirective(this.end),V&&re&&this.raiseRecoverable(c.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var oe=this.labels;this.labels=[],V&&(this.strict=!0),this.checkParams(c,!M&&!V&&!d&&!x&&this.isSimpleParamList(c.params)),this.strict&&c.id&&this.checkLValSimple(c.id,di),c.body=this.parseBlock(!1,void 0,V&&!M),c.expression=!1,this.adaptDirectivePrologue(c.body.body),this.labels=oe}this.exitScope()},Ae.isSimpleParamList=function(c){for(var d=0,x=c;d<x.length;d+=1){var _=x[d];if(_.type!=="Identifier")return!1}return!0},Ae.checkParams=function(c,d){for(var x=Object.create(null),_=0,O=c.params;_<O.length;_+=1){var M=O[_];this.checkLValInnerPattern(M,hi,d?null:x)}},Ae.parseExprList=function(c,d,x,_){for(var O=[],M=!0;!this.eat(c);){if(M)M=!1;else if(this.expect(y.comma),d&&this.afterTrailingComma(c))break;var V=void 0;x&&this.type===y.comma?V=null:this.type===y.ellipsis?(V=this.parseSpread(_),_&&this.type===y.comma&&_.trailingComma<0&&(_.trailingComma=this.start)):V=this.parseMaybeAssign(!1,_),O.push(V)}return O},Ae.checkUnreserved=function(c){var d=c.start,x=c.end,_=c.name;if(this.inGenerator&&_==="yield"&&this.raiseRecoverable(d,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&_==="await"&&this.raiseRecoverable(d,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Kr)&&_==="arguments"&&this.raiseRecoverable(d,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(_==="arguments"||_==="await")&&this.raise(d,"Cannot use "+_+" in class static initialization block"),this.keywords.test(_)&&this.raise(d,"Unexpected keyword '"+_+"'"),!(this.options.ecmaVersion<6&&this.input.slice(d,x).indexOf("\\")!==-1)){var O=this.strict?this.reservedWordsStrict:this.reservedWords;O.test(_)&&(!this.inAsync&&_==="await"&&this.raiseRecoverable(d,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(d,"The keyword '"+_+"' is reserved"))}},Ae.parseIdent=function(c){var d=this.parseIdentNode();return this.next(!!c),this.finishNode(d,"Identifier"),c||(this.checkUnreserved(d),d.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=d.start)),d},Ae.parseIdentNode=function(){var c=this.startNode();return this.type===y.name?c.name=this.value:this.type.keyword?(c.name=this.type.keyword,(c.name==="class"||c.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=y.name):this.unexpected(),c},Ae.parsePrivateIdent=function(){var c=this.startNode();return this.type===y.privateId?c.name=this.value:this.unexpected(),this.next(),this.finishNode(c,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(c.start,"Private field '#"+c.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(c)),c},Ae.parseYield=function(c){this.yieldPos||(this.yieldPos=this.start);var d=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(d.delegate=!1,d.argument=null):(d.delegate=this.eat(y.star),d.argument=this.parseMaybeAssign(c)),this.finishNode(d,"YieldExpression")},Ae.parseAwait=function(c){this.awaitPos||(this.awaitPos=this.start);var d=this.startNode();return this.next(),d.argument=this.parseMaybeUnary(null,!0,!1,c),this.finishNode(d,"AwaitExpression")};var xo=lt.prototype;xo.raise=function(c,d){var x=Hr(this.input,c);d+=" ("+x.line+":"+x.column+")",this.sourceFile&&(d+=" in "+this.sourceFile);var _=new SyntaxError(d);throw _.pos=c,_.loc=x,_.raisedAt=this.pos,_},xo.raiseRecoverable=xo.raise,xo.curPosition=function(){if(this.options.locations)return new Mt(this.curLine,this.pos-this.lineStart)};var xn=lt.prototype,Iu=function(d){this.flags=d,this.var=[],this.lexical=[],this.functions=[]};xn.enterScope=function(c){this.scopeStack.push(new Iu(c))},xn.exitScope=function(){this.scopeStack.pop()},xn.treatFunctionsAsVarInScope=function(c){return c.flags&fi||!this.inModule&&c.flags&Nt},xn.declareName=function(c,d,x){var _=!1;if(d===Or){var O=this.currentScope();_=O.lexical.indexOf(c)>-1||O.functions.indexOf(c)>-1||O.var.indexOf(c)>-1,O.lexical.push(c),this.inModule&&O.flags&Nt&&delete this.undefinedExports[c]}else if(d===Tr){var M=this.currentScope();M.lexical.push(c)}else if(d===Yr){var V=this.currentScope();this.treatFunctionsAsVar?_=V.lexical.indexOf(c)>-1:_=V.lexical.indexOf(c)>-1||V.var.indexOf(c)>-1,V.functions.push(c)}else for(var re=this.scopeStack.length-1;re>=0;--re){var oe=this.scopeStack[re];if(oe.lexical.indexOf(c)>-1&&!(oe.flags&ho&&oe.lexical[0]===c)||!this.treatFunctionsAsVarInScope(oe)&&oe.functions.indexOf(c)>-1){_=!0;break}if(oe.var.push(c),this.inModule&&oe.flags&Nt&&delete this.undefinedExports[c],oe.flags&Kr)break}_&&this.raiseRecoverable(x,"Identifier '"+c+"' has already been declared")},xn.checkLocalExport=function(c){this.scopeStack[0].lexical.indexOf(c.name)===-1&&this.scopeStack[0].var.indexOf(c.name)===-1&&(this.undefinedExports[c.name]=c)},xn.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},xn.currentVarScope=function(){for(var c=this.scopeStack.length-1;;c--){var d=this.scopeStack[c];if(d.flags&(Kr|Nn|Gr))return d}},xn.currentThisScope=function(){for(var c=this.scopeStack.length-1;;c--){var d=this.scopeStack[c];if(d.flags&(Kr|Nn|Gr)&&!(d.flags&ji))return d}};var mi=function(d,x,_){this.type="",this.start=x,this.end=0,d.options.locations&&(this.loc=new Wr(d,_)),d.options.directSourceFile&&(this.sourceFile=d.options.directSourceFile),d.options.ranges&&(this.range=[x,0])},gi=lt.prototype;gi.startNode=function(){return new mi(this,this.start,this.startLoc)},gi.startNodeAt=function(c,d){return new mi(this,c,d)};function wo(c,d,x,_){return c.type=d,c.end=x,this.options.locations&&(c.loc.end=_),this.options.ranges&&(c.range[1]=x),c}gi.finishNode=function(c,d){return wo.call(this,c,d,this.lastTokEnd,this.lastTokEndLoc)},gi.finishNodeAt=function(c,d,x,_){return wo.call(this,c,d,x,_)},gi.copyNode=function(c){var d=new mi(this,c.start,this.startLoc);for(var x in c)d[x]=c[x];return d};var ba="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",ds="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Xr=ds+" Extended_Pictographic",ya=Xr,ms=ya+" EBase EComp EMod EPres ExtPict",gs=ms,bi=gs,Rr={9:ds,10:Xr,11:ya,12:ms,13:gs,14:bi},Mn="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",H={9:"",10:"",11:"",12:"",13:"",14:Mn},ee="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ae="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",be=ae+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Pe=be+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ke=Pe+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",it=Ke+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",lr=it+" "+ba,gr={9:ae,10:be,11:Pe,12:Ke,13:it,14:lr},ko={};function va(c){var d=ko[c]={binary:Q(Rr[c]+" "+ee),binaryOfStrings:Q(H[c]),nonBinary:{General_Category:Q(ee),Script:Q(gr[c])}};d.nonBinary.Script_Extensions=d.nonBinary.Script,d.nonBinary.gc=d.nonBinary.General_Category,d.nonBinary.sc=d.nonBinary.Script,d.nonBinary.scx=d.nonBinary.Script_Extensions}for(var yi=0,So=[9,10,11,12,13,14];yi<So.length;yi+=1){var Gh=So[yi];va(Gh)}var he=lt.prototype,bs=function(d,x){this.parent=d,this.base=x||this};bs.prototype.separatedFrom=function(d){for(var x=this;x;x=x.parent)for(var _=d;_;_=_.parent)if(x.base===_.base&&x!==_)return!0;return!1},bs.prototype.sibling=function(){return new bs(this.parent,this.base)};var wn=function(d){this.parser=d,this.validFlags="gim"+(d.options.ecmaVersion>=6?"uy":"")+(d.options.ecmaVersion>=9?"s":"")+(d.options.ecmaVersion>=13?"d":"")+(d.options.ecmaVersion>=15?"v":""),this.unicodeProperties=ko[d.options.ecmaVersion>=14?14:d.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};wn.prototype.reset=function(d,x,_){var O=_.indexOf("v")!==-1,M=_.indexOf("u")!==-1;this.start=d|0,this.source=x+"",this.flags=_,O&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=M&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=M&&this.parser.options.ecmaVersion>=9)},wn.prototype.raise=function(d){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+d)},wn.prototype.at=function(d,x){x===void 0&&(x=!1);var _=this.source,O=_.length;if(d>=O)return-1;var M=_.charCodeAt(d);if(!(x||this.switchU)||M<=55295||M>=57344||d+1>=O)return M;var V=_.charCodeAt(d+1);return V>=56320&&V<=57343?(M<<10)+V-56613888:M},wn.prototype.nextIndex=function(d,x){x===void 0&&(x=!1);var _=this.source,O=_.length;if(d>=O)return O;var M=_.charCodeAt(d),V;return!(x||this.switchU)||M<=55295||M>=57344||d+1>=O||(V=_.charCodeAt(d+1))<56320||V>57343?d+1:d+2},wn.prototype.current=function(d){return d===void 0&&(d=!1),this.at(this.pos,d)},wn.prototype.lookahead=function(d){return d===void 0&&(d=!1),this.at(this.nextIndex(this.pos,d),d)},wn.prototype.advance=function(d){d===void 0&&(d=!1),this.pos=this.nextIndex(this.pos,d)},wn.prototype.eat=function(d,x){return x===void 0&&(x=!1),this.current(x)===d?(this.advance(x),!0):!1},wn.prototype.eatChars=function(d,x){x===void 0&&(x=!1);for(var _=this.pos,O=0,M=d;O<M.length;O+=1){var V=M[O],re=this.at(_,x);if(re===-1||re!==V)return!1;_=this.nextIndex(_,x)}return this.pos=_,!0},he.validateRegExpFlags=function(c){for(var d=c.validFlags,x=c.flags,_=!1,O=!1,M=0;M<x.length;M++){var V=x.charAt(M);d.indexOf(V)===-1&&this.raise(c.start,"Invalid regular expression flag"),x.indexOf(V,M+1)>-1&&this.raise(c.start,"Duplicate regular expression flag"),V==="u"&&(_=!0),V==="v"&&(O=!0)}this.options.ecmaVersion>=15&&_&&O&&this.raise(c.start,"Invalid regular expression flag")};function Oc(c){for(var d in c)return!0;return!1}he.validateRegExpPattern=function(c){this.regexp_pattern(c),!c.switchN&&this.options.ecmaVersion>=9&&Oc(c.groupNames)&&(c.switchN=!0,this.regexp_pattern(c))},he.regexp_pattern=function(c){c.pos=0,c.lastIntValue=0,c.lastStringValue="",c.lastAssertionIsQuantifiable=!1,c.numCapturingParens=0,c.maxBackReference=0,c.groupNames=Object.create(null),c.backReferenceNames.length=0,c.branchID=null,this.regexp_disjunction(c),c.pos!==c.source.length&&(c.eat(41)&&c.raise("Unmatched ')'"),(c.eat(93)||c.eat(125))&&c.raise("Lone quantifier brackets")),c.maxBackReference>c.numCapturingParens&&c.raise("Invalid escape");for(var d=0,x=c.backReferenceNames;d<x.length;d+=1){var _=x[d];c.groupNames[_]||c.raise("Invalid named capture referenced")}},he.regexp_disjunction=function(c){var d=this.options.ecmaVersion>=16;for(d&&(c.branchID=new bs(c.branchID,null)),this.regexp_alternative(c);c.eat(124);)d&&(c.branchID=c.branchID.sibling()),this.regexp_alternative(c);d&&(c.branchID=c.branchID.parent),this.regexp_eatQuantifier(c,!0)&&c.raise("Nothing to repeat"),c.eat(123)&&c.raise("Lone quantifier brackets")},he.regexp_alternative=function(c){for(;c.pos<c.source.length&&this.regexp_eatTerm(c););},he.regexp_eatTerm=function(c){return this.regexp_eatAssertion(c)?(c.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(c)&&c.switchU&&c.raise("Invalid quantifier"),!0):(c.switchU?this.regexp_eatAtom(c):this.regexp_eatExtendedAtom(c))?(this.regexp_eatQuantifier(c),!0):!1},he.regexp_eatAssertion=function(c){var d=c.pos;if(c.lastAssertionIsQuantifiable=!1,c.eat(94)||c.eat(36))return!0;if(c.eat(92)){if(c.eat(66)||c.eat(98))return!0;c.pos=d}if(c.eat(40)&&c.eat(63)){var x=!1;if(this.options.ecmaVersion>=9&&(x=c.eat(60)),c.eat(61)||c.eat(33))return this.regexp_disjunction(c),c.eat(41)||c.raise("Unterminated group"),c.lastAssertionIsQuantifiable=!x,!0}return c.pos=d,!1},he.regexp_eatQuantifier=function(c,d){return d===void 0&&(d=!1),this.regexp_eatQuantifierPrefix(c,d)?(c.eat(63),!0):!1},he.regexp_eatQuantifierPrefix=function(c,d){return c.eat(42)||c.eat(43)||c.eat(63)||this.regexp_eatBracedQuantifier(c,d)},he.regexp_eatBracedQuantifier=function(c,d){var x=c.pos;if(c.eat(123)){var _=0,O=-1;if(this.regexp_eatDecimalDigits(c)&&(_=c.lastIntValue,c.eat(44)&&this.regexp_eatDecimalDigits(c)&&(O=c.lastIntValue),c.eat(125)))return O!==-1&&O<_&&!d&&c.raise("numbers out of order in {} quantifier"),!0;c.switchU&&!d&&c.raise("Incomplete quantifier"),c.pos=x}return!1},he.regexp_eatAtom=function(c){return this.regexp_eatPatternCharacters(c)||c.eat(46)||this.regexp_eatReverseSolidusAtomEscape(c)||this.regexp_eatCharacterClass(c)||this.regexp_eatUncapturingGroup(c)||this.regexp_eatCapturingGroup(c)},he.regexp_eatReverseSolidusAtomEscape=function(c){var d=c.pos;if(c.eat(92)){if(this.regexp_eatAtomEscape(c))return!0;c.pos=d}return!1},he.regexp_eatUncapturingGroup=function(c){var d=c.pos;if(c.eat(40)){if(c.eat(63)){if(this.options.ecmaVersion>=16){var x=this.regexp_eatModifiers(c),_=c.eat(45);if(x||_){for(var O=0;O<x.length;O++){var M=x.charAt(O);x.indexOf(M,O+1)>-1&&c.raise("Duplicate regular expression modifiers")}if(_){var V=this.regexp_eatModifiers(c);!x&&!V&&c.current()===58&&c.raise("Invalid regular expression modifiers");for(var re=0;re<V.length;re++){var oe=V.charAt(re);(V.indexOf(oe,re+1)>-1||x.indexOf(oe)>-1)&&c.raise("Duplicate regular expression modifiers")}}}}if(c.eat(58)){if(this.regexp_disjunction(c),c.eat(41))return!0;c.raise("Unterminated group")}}c.pos=d}return!1},he.regexp_eatCapturingGroup=function(c){if(c.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(c):c.current()===63&&c.raise("Invalid group"),this.regexp_disjunction(c),c.eat(41))return c.numCapturingParens+=1,!0;c.raise("Unterminated group")}return!1},he.regexp_eatModifiers=function(c){for(var d="",x=0;(x=c.current())!==-1&&_o(x);)d+=pe(x),c.advance();return d};function _o(c){return c===105||c===109||c===115}he.regexp_eatExtendedAtom=function(c){return c.eat(46)||this.regexp_eatReverseSolidusAtomEscape(c)||this.regexp_eatCharacterClass(c)||this.regexp_eatUncapturingGroup(c)||this.regexp_eatCapturingGroup(c)||this.regexp_eatInvalidBracedQuantifier(c)||this.regexp_eatExtendedPatternCharacter(c)},he.regexp_eatInvalidBracedQuantifier=function(c){return this.regexp_eatBracedQuantifier(c,!0)&&c.raise("Nothing to repeat"),!1},he.regexp_eatSyntaxCharacter=function(c){var d=c.current();return Tc(d)?(c.lastIntValue=d,c.advance(),!0):!1};function Tc(c){return c===36||c>=40&&c<=43||c===46||c===63||c>=91&&c<=94||c>=123&&c<=125}he.regexp_eatPatternCharacters=function(c){for(var d=c.pos,x=0;(x=c.current())!==-1&&!Tc(x);)c.advance();return c.pos!==d},he.regexp_eatExtendedPatternCharacter=function(c){var d=c.current();return d!==-1&&d!==36&&!(d>=40&&d<=43)&&d!==46&&d!==63&&d!==91&&d!==94&&d!==124?(c.advance(),!0):!1},he.regexp_groupSpecifier=function(c){if(c.eat(63)){this.regexp_eatGroupName(c)||c.raise("Invalid group");var d=this.options.ecmaVersion>=16,x=c.groupNames[c.lastStringValue];if(x)if(d)for(var _=0,O=x;_<O.length;_+=1){var M=O[_];M.separatedFrom(c.branchID)||c.raise("Duplicate capture group name")}else c.raise("Duplicate capture group name");d?(x||(c.groupNames[c.lastStringValue]=[])).push(c.branchID):c.groupNames[c.lastStringValue]=!0}},he.regexp_eatGroupName=function(c){if(c.lastStringValue="",c.eat(60)){if(this.regexp_eatRegExpIdentifierName(c)&&c.eat(62))return!0;c.raise("Invalid capture group name")}return!1},he.regexp_eatRegExpIdentifierName=function(c){if(c.lastStringValue="",this.regexp_eatRegExpIdentifierStart(c)){for(c.lastStringValue+=pe(c.lastIntValue);this.regexp_eatRegExpIdentifierPart(c);)c.lastStringValue+=pe(c.lastIntValue);return!0}return!1},he.regexp_eatRegExpIdentifierStart=function(c){var d=c.pos,x=this.options.ecmaVersion>=11,_=c.current(x);return c.advance(x),_===92&&this.regexp_eatRegExpUnicodeEscapeSequence(c,x)&&(_=c.lastIntValue),ys(_)?(c.lastIntValue=_,!0):(c.pos=d,!1)};function ys(c){return m(c,!0)||c===36||c===95}he.regexp_eatRegExpIdentifierPart=function(c){var d=c.pos,x=this.options.ecmaVersion>=11,_=c.current(x);return c.advance(x),_===92&&this.regexp_eatRegExpUnicodeEscapeSequence(c,x)&&(_=c.lastIntValue),xa(_)?(c.lastIntValue=_,!0):(c.pos=d,!1)};function xa(c){return b(c,!0)||c===36||c===95||c===8204||c===8205}he.regexp_eatAtomEscape=function(c){return this.regexp_eatBackReference(c)||this.regexp_eatCharacterClassEscape(c)||this.regexp_eatCharacterEscape(c)||c.switchN&&this.regexp_eatKGroupName(c)?!0:(c.switchU&&(c.current()===99&&c.raise("Invalid unicode escape"),c.raise("Invalid escape")),!1)},he.regexp_eatBackReference=function(c){var d=c.pos;if(this.regexp_eatDecimalEscape(c)){var x=c.lastIntValue;if(c.switchU)return x>c.maxBackReference&&(c.maxBackReference=x),!0;if(x<=c.numCapturingParens)return!0;c.pos=d}return!1},he.regexp_eatKGroupName=function(c){if(c.eat(107)){if(this.regexp_eatGroupName(c))return c.backReferenceNames.push(c.lastStringValue),!0;c.raise("Invalid named reference")}return!1},he.regexp_eatCharacterEscape=function(c){return this.regexp_eatControlEscape(c)||this.regexp_eatCControlLetter(c)||this.regexp_eatZero(c)||this.regexp_eatHexEscapeSequence(c)||this.regexp_eatRegExpUnicodeEscapeSequence(c,!1)||!c.switchU&&this.regexp_eatLegacyOctalEscapeSequence(c)||this.regexp_eatIdentityEscape(c)},he.regexp_eatCControlLetter=function(c){var d=c.pos;if(c.eat(99)){if(this.regexp_eatControlLetter(c))return!0;c.pos=d}return!1},he.regexp_eatZero=function(c){return c.current()===48&&!vi(c.lookahead())?(c.lastIntValue=0,c.advance(),!0):!1},he.regexp_eatControlEscape=function(c){var d=c.current();return d===116?(c.lastIntValue=9,c.advance(),!0):d===110?(c.lastIntValue=10,c.advance(),!0):d===118?(c.lastIntValue=11,c.advance(),!0):d===102?(c.lastIntValue=12,c.advance(),!0):d===114?(c.lastIntValue=13,c.advance(),!0):!1},he.regexp_eatControlLetter=function(c){var d=c.current();return wa(d)?(c.lastIntValue=d%32,c.advance(),!0):!1};function wa(c){return c>=65&&c<=90||c>=97&&c<=122}he.regexp_eatRegExpUnicodeEscapeSequence=function(c,d){d===void 0&&(d=!1);var x=c.pos,_=d||c.switchU;if(c.eat(117)){if(this.regexp_eatFixedHexDigits(c,4)){var O=c.lastIntValue;if(_&&O>=55296&&O<=56319){var M=c.pos;if(c.eat(92)&&c.eat(117)&&this.regexp_eatFixedHexDigits(c,4)){var V=c.lastIntValue;if(V>=56320&&V<=57343)return c.lastIntValue=(O-55296)*1024+(V-56320)+65536,!0}c.pos=M,c.lastIntValue=O}return!0}if(_&&c.eat(123)&&this.regexp_eatHexDigits(c)&&c.eat(125)&&Fr(c.lastIntValue))return!0;_&&c.raise("Invalid unicode escape"),c.pos=x}return!1};function Fr(c){return c>=0&&c<=1114111}he.regexp_eatIdentityEscape=function(c){if(c.switchU)return this.regexp_eatSyntaxCharacter(c)?!0:c.eat(47)?(c.lastIntValue=47,!0):!1;var d=c.current();return d!==99&&(!c.switchN||d!==107)?(c.lastIntValue=d,c.advance(),!0):!1},he.regexp_eatDecimalEscape=function(c){c.lastIntValue=0;var d=c.current();if(d>=49&&d<=57){do c.lastIntValue=10*c.lastIntValue+(d-48),c.advance();while((d=c.current())>=48&&d<=57);return!0}return!1};var Lu=0,Jr=1,br=2;he.regexp_eatCharacterClassEscape=function(c){var d=c.current();if(vs(d))return c.lastIntValue=-1,c.advance(),Jr;var x=!1;if(c.switchU&&this.options.ecmaVersion>=9&&((x=d===80)||d===112)){c.lastIntValue=-1,c.advance();var _;if(c.eat(123)&&(_=this.regexp_eatUnicodePropertyValueExpression(c))&&c.eat(125))return x&&_===br&&c.raise("Invalid property name"),_;c.raise("Invalid property name")}return Lu};function vs(c){return c===100||c===68||c===115||c===83||c===119||c===87}he.regexp_eatUnicodePropertyValueExpression=function(c){var d=c.pos;if(this.regexp_eatUnicodePropertyName(c)&&c.eat(61)){var x=c.lastStringValue;if(this.regexp_eatUnicodePropertyValue(c)){var _=c.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(c,x,_),Jr}}if(c.pos=d,this.regexp_eatLoneUnicodePropertyNameOrValue(c)){var O=c.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(c,O)}return Lu},he.regexp_validateUnicodePropertyNameAndValue=function(c,d,x){W(c.unicodeProperties.nonBinary,d)||c.raise("Invalid property name"),c.unicodeProperties.nonBinary[d].test(x)||c.raise("Invalid property value")},he.regexp_validateUnicodePropertyNameOrValue=function(c,d){if(c.unicodeProperties.binary.test(d))return Jr;if(c.switchV&&c.unicodeProperties.binaryOfStrings.test(d))return br;c.raise("Invalid property name")},he.regexp_eatUnicodePropertyName=function(c){var d=0;for(c.lastStringValue="";ka(d=c.current());)c.lastStringValue+=pe(d),c.advance();return c.lastStringValue!==""};function ka(c){return wa(c)||c===95}he.regexp_eatUnicodePropertyValue=function(c){var d=0;for(c.lastStringValue="";Rc(d=c.current());)c.lastStringValue+=pe(d),c.advance();return c.lastStringValue!==""};function Rc(c){return ka(c)||vi(c)}he.regexp_eatLoneUnicodePropertyNameOrValue=function(c){return this.regexp_eatUnicodePropertyValue(c)},he.regexp_eatCharacterClass=function(c){if(c.eat(91)){var d=c.eat(94),x=this.regexp_classContents(c);return c.eat(93)||c.raise("Unterminated character class"),d&&x===br&&c.raise("Negated character class may contain strings"),!0}return!1},he.regexp_classContents=function(c){return c.current()===93?Jr:c.switchV?this.regexp_classSetExpression(c):(this.regexp_nonEmptyClassRanges(c),Jr)},he.regexp_nonEmptyClassRanges=function(c){for(;this.regexp_eatClassAtom(c);){var d=c.lastIntValue;if(c.eat(45)&&this.regexp_eatClassAtom(c)){var x=c.lastIntValue;c.switchU&&(d===-1||x===-1)&&c.raise("Invalid character class"),d!==-1&&x!==-1&&d>x&&c.raise("Range out of order in character class")}}},he.regexp_eatClassAtom=function(c){var d=c.pos;if(c.eat(92)){if(this.regexp_eatClassEscape(c))return!0;if(c.switchU){var x=c.current();(x===99||Lc(x))&&c.raise("Invalid class escape"),c.raise("Invalid escape")}c.pos=d}var _=c.current();return _!==93?(c.lastIntValue=_,c.advance(),!0):!1},he.regexp_eatClassEscape=function(c){var d=c.pos;if(c.eat(98))return c.lastIntValue=8,!0;if(c.switchU&&c.eat(45))return c.lastIntValue=45,!0;if(!c.switchU&&c.eat(99)){if(this.regexp_eatClassControlLetter(c))return!0;c.pos=d}return this.regexp_eatCharacterClassEscape(c)||this.regexp_eatCharacterEscape(c)},he.regexp_classSetExpression=function(c){var d=Jr,x;if(!this.regexp_eatClassSetRange(c))if(x=this.regexp_eatClassSetOperand(c)){x===br&&(d=br);for(var _=c.pos;c.eatChars([38,38]);){if(c.current()!==38&&(x=this.regexp_eatClassSetOperand(c))){x!==br&&(d=Jr);continue}c.raise("Invalid character in character class")}if(_!==c.pos)return d;for(;c.eatChars([45,45]);)this.regexp_eatClassSetOperand(c)||c.raise("Invalid character in character class");if(_!==c.pos)return d}else c.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(c)){if(x=this.regexp_eatClassSetOperand(c),!x)return d;x===br&&(d=br)}},he.regexp_eatClassSetRange=function(c){var d=c.pos;if(this.regexp_eatClassSetCharacter(c)){var x=c.lastIntValue;if(c.eat(45)&&this.regexp_eatClassSetCharacter(c)){var _=c.lastIntValue;return x!==-1&&_!==-1&&x>_&&c.raise("Range out of order in character class"),!0}c.pos=d}return!1},he.regexp_eatClassSetOperand=function(c){return this.regexp_eatClassSetCharacter(c)?Jr:this.regexp_eatClassStringDisjunction(c)||this.regexp_eatNestedClass(c)},he.regexp_eatNestedClass=function(c){var d=c.pos;if(c.eat(91)){var x=c.eat(94),_=this.regexp_classContents(c);if(c.eat(93))return x&&_===br&&c.raise("Negated character class may contain strings"),_;c.pos=d}if(c.eat(92)){var O=this.regexp_eatCharacterClassEscape(c);if(O)return O;c.pos=d}return null},he.regexp_eatClassStringDisjunction=function(c){var d=c.pos;if(c.eatChars([92,113])){if(c.eat(123)){var x=this.regexp_classStringDisjunctionContents(c);if(c.eat(125))return x}else c.raise("Invalid escape");c.pos=d}return null},he.regexp_classStringDisjunctionContents=function(c){for(var d=this.regexp_classString(c);c.eat(124);)this.regexp_classString(c)===br&&(d=br);return d},he.regexp_classString=function(c){for(var d=0;this.regexp_eatClassSetCharacter(c);)d++;return d===1?Jr:br},he.regexp_eatClassSetCharacter=function(c){var d=c.pos;if(c.eat(92))return this.regexp_eatCharacterEscape(c)||this.regexp_eatClassSetReservedPunctuator(c)?!0:c.eat(98)?(c.lastIntValue=8,!0):(c.pos=d,!1);var x=c.current();return x<0||x===c.lookahead()&&Kh(x)||Yh(x)?!1:(c.advance(),c.lastIntValue=x,!0)};function Kh(c){return c===33||c>=35&&c<=38||c>=42&&c<=44||c===46||c>=58&&c<=64||c===94||c===96||c===126}function Yh(c){return c===40||c===41||c===45||c===47||c>=91&&c<=93||c>=123&&c<=125}he.regexp_eatClassSetReservedPunctuator=function(c){var d=c.current();return $u(d)?(c.lastIntValue=d,c.advance(),!0):!1};function $u(c){return c===33||c===35||c===37||c===38||c===44||c===45||c>=58&&c<=62||c===64||c===96||c===126}he.regexp_eatClassControlLetter=function(c){var d=c.current();return vi(d)||d===95?(c.lastIntValue=d%32,c.advance(),!0):!1},he.regexp_eatHexEscapeSequence=function(c){var d=c.pos;if(c.eat(120)){if(this.regexp_eatFixedHexDigits(c,2))return!0;c.switchU&&c.raise("Invalid escape"),c.pos=d}return!1},he.regexp_eatDecimalDigits=function(c){var d=c.pos,x=0;for(c.lastIntValue=0;vi(x=c.current());)c.lastIntValue=10*c.lastIntValue+(x-48),c.advance();return c.pos!==d};function vi(c){return c>=48&&c<=57}he.regexp_eatHexDigits=function(c){var d=c.pos,x=0;for(c.lastIntValue=0;Fc(x=c.current());)c.lastIntValue=16*c.lastIntValue+Ic(x),c.advance();return c.pos!==d};function Fc(c){return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102}function Ic(c){return c>=65&&c<=70?10+(c-65):c>=97&&c<=102?10+(c-97):c-48}he.regexp_eatLegacyOctalEscapeSequence=function(c){if(this.regexp_eatOctalDigit(c)){var d=c.lastIntValue;if(this.regexp_eatOctalDigit(c)){var x=c.lastIntValue;d<=3&&this.regexp_eatOctalDigit(c)?c.lastIntValue=d*64+x*8+c.lastIntValue:c.lastIntValue=d*8+x}else c.lastIntValue=d;return!0}return!1},he.regexp_eatOctalDigit=function(c){var d=c.current();return Lc(d)?(c.lastIntValue=d-48,c.advance(),!0):(c.lastIntValue=0,!1)};function Lc(c){return c>=48&&c<=55}he.regexp_eatFixedHexDigits=function(c,d){var x=c.pos;c.lastIntValue=0;for(var _=0;_<d;++_){var O=c.current();if(!Fc(O))return c.pos=x,!1;c.lastIntValue=16*c.lastIntValue+Ic(O),c.advance()}return!0};var Sa=function(d){this.type=d.type,this.value=d.value,this.start=d.start,this.end=d.end,d.options.locations&&(this.loc=new Wr(d,d.startLoc,d.endLoc)),d.options.ranges&&(this.range=[d.start,d.end])},qe=lt.prototype;qe.next=function(c){!c&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Sa(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},qe.getToken=function(){return this.next(),new Sa(this)},typeof Symbol<"u"&&(qe[Symbol.iterator]=function(){var c=this;return{next:function(){var x=c.getToken();return{done:x.type===y.eof,value:x}}}}),qe.nextToken=function(){var c=this.curContext();if((!c||!c.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(y.eof);if(c.override)return c.override(this);this.readToken(this.fullCharCodeAtPos())},qe.readToken=function(c){return m(c,this.options.ecmaVersion>=6)||c===92?this.readWord():this.getTokenFromCode(c)},qe.fullCharCodeAtPos=function(){var c=this.input.charCodeAt(this.pos);if(c<=55295||c>=56320)return c;var d=this.input.charCodeAt(this.pos+1);return d<=56319||d>=57344?c:(c<<10)+d-56613888},qe.skipBlockComment=function(){var c=this.options.onComment&&this.curPosition(),d=this.pos,x=this.input.indexOf("*/",this.pos+=2);if(x===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=x+2,this.options.locations)for(var _=void 0,O=d;(_=N(this.input,O,this.pos))>-1;)++this.curLine,O=this.lineStart=_;this.options.onComment&&this.options.onComment(!0,this.input.slice(d+2,x),d,this.pos,c,this.curPosition())},qe.skipLineComment=function(c){for(var d=this.pos,x=this.options.onComment&&this.curPosition(),_=this.input.charCodeAt(this.pos+=c);this.pos<this.input.length&&!T(_);)_=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(d+c,this.pos),d,this.pos,x,this.curPosition())},qe.skipSpace=function(){e:for(;this.pos<this.input.length;){var c=this.input.charCodeAt(this.pos);switch(c){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(c>8&&c<14||c>=5760&&X.test(String.fromCharCode(c)))++this.pos;else break e}}},qe.finishToken=function(c,d){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var x=this.type;this.type=c,this.value=d,this.updateContext(x)},qe.readToken_dot=function(){var c=this.input.charCodeAt(this.pos+1);if(c>=48&&c<=57)return this.readNumber(!0);var d=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&c===46&&d===46?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},qe.readToken_slash=function(){var c=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):c===61?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},qe.readToken_mult_modulo_exp=function(c){var d=this.input.charCodeAt(this.pos+1),x=1,_=c===42?y.star:y.modulo;return this.options.ecmaVersion>=7&&c===42&&d===42&&(++x,_=y.starstar,d=this.input.charCodeAt(this.pos+2)),d===61?this.finishOp(y.assign,x+1):this.finishOp(_,x)},qe.readToken_pipe_amp=function(c){var d=this.input.charCodeAt(this.pos+1);if(d===c){if(this.options.ecmaVersion>=12){var x=this.input.charCodeAt(this.pos+2);if(x===61)return this.finishOp(y.assign,3)}return this.finishOp(c===124?y.logicalOR:y.logicalAND,2)}return d===61?this.finishOp(y.assign,2):this.finishOp(c===124?y.bitwiseOR:y.bitwiseAND,1)},qe.readToken_caret=function(){var c=this.input.charCodeAt(this.pos+1);return c===61?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},qe.readToken_plus_min=function(c){var d=this.input.charCodeAt(this.pos+1);return d===c?d===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||L.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2):d===61?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},qe.readToken_lt_gt=function(c){var d=this.input.charCodeAt(this.pos+1),x=1;return d===c?(x=c===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+x)===61?this.finishOp(y.assign,x+1):this.finishOp(y.bitShift,x)):d===33&&c===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(d===61&&(x=2),this.finishOp(y.relational,x))},qe.readToken_eq_excl=function(c){var d=this.input.charCodeAt(this.pos+1);return d===61?this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2):c===61&&d===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(c===61?y.eq:y.prefix,1)},qe.readToken_question=function(){var c=this.options.ecmaVersion;if(c>=11){var d=this.input.charCodeAt(this.pos+1);if(d===46){var x=this.input.charCodeAt(this.pos+2);if(x<48||x>57)return this.finishOp(y.questionDot,2)}if(d===63){if(c>=12){var _=this.input.charCodeAt(this.pos+2);if(_===61)return this.finishOp(y.assign,3)}return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)},qe.readToken_numberSign=function(){var c=this.options.ecmaVersion,d=35;if(c>=13&&(++this.pos,d=this.fullCharCodeAtPos(),m(d,!0)||d===92))return this.finishToken(y.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+pe(d)+"'")},qe.getTokenFromCode=function(c){switch(c){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var d=this.input.charCodeAt(this.pos+1);if(d===120||d===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(d===111||d===79)return this.readRadixNumber(8);if(d===98||d===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(c);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(c);case 124:case 38:return this.readToken_pipe_amp(c);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(c);case 60:case 62:return this.readToken_lt_gt(c);case 61:case 33:return this.readToken_eq_excl(c);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+pe(c)+"'")},qe.finishOp=function(c,d){var x=this.input.slice(this.pos,this.pos+d);return this.pos+=d,this.finishToken(c,x)},qe.readRegexp=function(){for(var c,d,x=this.pos;;){this.pos>=this.input.length&&this.raise(x,"Unterminated regular expression");var _=this.input.charAt(this.pos);if(L.test(_)&&this.raise(x,"Unterminated regular expression"),c)c=!1;else{if(_==="[")d=!0;else if(_==="]"&&d)d=!1;else if(_==="/"&&!d)break;c=_==="\\"}++this.pos}var O=this.input.slice(x,this.pos);++this.pos;var M=this.pos,V=this.readWord1();this.containsEsc&&this.unexpected(M);var re=this.regexpState||(this.regexpState=new wn(this));re.reset(x,O,V),this.validateRegExpFlags(re),this.validateRegExpPattern(re);var oe=null;try{oe=new RegExp(O,V)}catch{}return this.finishToken(y.regexp,{pattern:O,flags:V,value:oe})},qe.readInt=function(c,d,x){for(var _=this.options.ecmaVersion>=12&&d===void 0,O=x&&this.input.charCodeAt(this.pos)===48,M=this.pos,V=0,re=0,oe=0,Oe=d??1/0;oe<Oe;++oe,++this.pos){var Ne=this.input.charCodeAt(this.pos),ot=void 0;if(_&&Ne===95){O&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),re===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),oe===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),re=Ne;continue}if(Ne>=97?ot=Ne-97+10:Ne>=65?ot=Ne-65+10:Ne>=48&&Ne<=57?ot=Ne-48:ot=1/0,ot>=c)break;re=Ne,V=V*c+ot}return _&&re===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===M||d!=null&&this.pos-M!==d?null:V};function Qh(c,d){return d?parseInt(c,8):parseFloat(c.replace(/_/g,""))}function Nu(c){return typeof BigInt!="function"?null:BigInt(c.replace(/_/g,""))}qe.readRadixNumber=function(c){var d=this.pos;this.pos+=2;var x=this.readInt(c);return x==null&&this.raise(this.start+2,"Expected number in radix "+c),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(x=Nu(this.input.slice(d,this.pos)),++this.pos):m(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,x)},qe.readNumber=function(c){var d=this.pos;!c&&this.readInt(10,void 0,!0)===null&&this.raise(d,"Invalid number");var x=this.pos-d>=2&&this.input.charCodeAt(d)===48;x&&this.strict&&this.raise(d,"Invalid number");var _=this.input.charCodeAt(this.pos);if(!x&&!c&&this.options.ecmaVersion>=11&&_===110){var O=Nu(this.input.slice(d,this.pos));return++this.pos,m(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,O)}x&&/[89]/.test(this.input.slice(d,this.pos))&&(x=!1),_===46&&!x&&(++this.pos,this.readInt(10),_=this.input.charCodeAt(this.pos)),(_===69||_===101)&&!x&&(_=this.input.charCodeAt(++this.pos),(_===43||_===45)&&++this.pos,this.readInt(10)===null&&this.raise(d,"Invalid number")),m(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var M=Qh(this.input.slice(d,this.pos),x);return this.finishToken(y.num,M)},qe.readCodePoint=function(){var c=this.input.charCodeAt(this.pos),d;if(c===123){this.options.ecmaVersion<6&&this.unexpected();var x=++this.pos;d=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,d>1114111&&this.invalidStringToken(x,"Code point out of bounds")}else d=this.readHexChar(4);return d},qe.readString=function(c){for(var d="",x=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var _=this.input.charCodeAt(this.pos);if(_===c)break;_===92?(d+=this.input.slice(x,this.pos),d+=this.readEscapedChar(!1),x=this.pos):_===8232||_===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(T(_)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return d+=this.input.slice(x,this.pos++),this.finishToken(y.string,d)};var xs={};qe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(c){if(c===xs)this.readInvalidTemplateToken();else throw c}this.inTemplateElement=!1},qe.invalidStringToken=function(c,d){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw xs;this.raise(c,d)},qe.readTmplToken=function(){for(var c="",d=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var x=this.input.charCodeAt(this.pos);if(x===96||x===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)?x===36?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote)):(c+=this.input.slice(d,this.pos),this.finishToken(y.template,c));if(x===92)c+=this.input.slice(d,this.pos),c+=this.readEscapedChar(!0),d=this.pos;else if(T(x)){switch(c+=this.input.slice(d,this.pos),++this.pos,x){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:c+=`
|
|
41
|
+
`;break;default:c+=String.fromCharCode(x);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),d=this.pos}else++this.pos}},qe.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(y.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
42
|
+
`&&++this.pos;case`
|
|
43
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},qe.readEscapedChar=function(c){var d=this.input.charCodeAt(++this.pos);switch(++this.pos,d){case 110:return`
|
|
44
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return pe(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),c){var x=this.pos-1;this.invalidStringToken(x,"Invalid escape sequence in template string")}default:if(d>=48&&d<=55){var _=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],O=parseInt(_,8);return O>255&&(_=_.slice(0,-1),O=parseInt(_,8)),this.pos+=_.length-1,d=this.input.charCodeAt(this.pos),(_!=="0"||d===56||d===57)&&(this.strict||c)&&this.invalidStringToken(this.pos-1-_.length,c?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(O)}return T(d)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(d)}},qe.readHexChar=function(c){var d=this.pos,x=this.readInt(16,c);return x===null&&this.invalidStringToken(d,"Bad character escape sequence"),x},qe.readWord1=function(){this.containsEsc=!1;for(var c="",d=!0,x=this.pos,_=this.options.ecmaVersion>=6;this.pos<this.input.length;){var O=this.fullCharCodeAtPos();if(b(O,_))this.pos+=O<=65535?1:2;else if(O===92){this.containsEsc=!0,c+=this.input.slice(x,this.pos);var M=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var V=this.readCodePoint();(d?m:b)(V,_)||this.invalidStringToken(M,"Invalid Unicode escape"),c+=pe(V),x=this.pos}else break;d=!1}return c+this.input.slice(x,this.pos)},qe.readWord=function(){var c=this.readWord1(),d=y.name;return this.keywords.test(c)&&(d=A[c]),this.finishToken(d,c)};var xi="8.15.0";lt.acorn={Parser:lt,version:xi,defaultOptions:pt,Position:Mt,SourceLocation:Wr,getLineInfo:Hr,Node:mi,TokenType:v,tokTypes:y,keywordTypes:A,TokContext:kt,tokContexts:Xe,isIdentifierChar:b,isIdentifierStart:m,Token:Sa,isNewLine:T,lineBreak:L,lineBreakG:I,nonASCIIwhitespace:X};function Vi(c,d){return lt.parse(c,d)}function $c(c,d,x){return lt.parseExpressionAt(c,d,x)}function Xh(c,d){return lt.tokenizer(c,d)}e.Node=mi,e.Parser=lt,e.Position=Mt,e.SourceLocation=Wr,e.TokContext=kt,e.Token=Sa,e.TokenType=v,e.defaultOptions=pt,e.getLineInfo=Hr,e.isIdentifierChar=b,e.isIdentifierStart=m,e.isNewLine=T,e.keywordTypes=A,e.lineBreak=L,e.lineBreakG=I,e.nonASCIIwhitespace=X,e.parse=Vi,e.parseExpressionAt=$c,e.tokContexts=Xe,e.tokTypes=y,e.tokenizer=Xh,e.version=xi})});var OO=ne(De=>{"use strict";var XH=/[^\0-\x7E]/,JH=/[\x2E\u3002\uFF0E\uFF61]/g,ZH={overflow:"Overflow Error","not-basic":"Illegal Input","invalid-input":"Invalid Input"},vl=Math.floor,mx=String.fromCharCode;function yO(e){throw new RangeError(ZH[e])}var vO=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},eG=function(e,t,r){let n=0;for(e=r?vl(e/700):e>>1,e+=vl(e/t);e>455;n+=36)e=vl(e/35);return vl(n+36*e/(e+38))};function tG(e){return function(t,r){let n=t.split("@"),i="";n.length>1&&(i=n[0]+"@",t=n[1]);let o=function(a,s){let u=[],l=a.length;for(;l--;)u[l]=s(a[l]);return u}((t=t.replace(JH,".")).split("."),r).join(".");return i+o}(e,function(t){return XH.test(t)?"xn--"+function(r){let n=[],i=(r=function(f){let p=[],m=0,b=f.length;for(;m<b;){let v=f.charCodeAt(m++);if(v>=55296&&v<=56319&&m<b){let w=f.charCodeAt(m++);(64512&w)==56320?p.push(((1023&v)<<10)+(1023&w)+65536):(p.push(v),m--)}else p.push(v)}return p}(r)).length,o=128,a=0,s=72;for(let f of r)f<128&&n.push(mx(f));let u=n.length,l=u;for(u&&n.push("-");l<i;){let f=2147483647;for(let m of r)m>=o&&m<f&&(f=m);let p=l+1;f-o>vl((2147483647-a)/p)&&yO("overflow"),a+=(f-o)*p,o=f;for(let m of r)if(m<o&&++a>2147483647&&yO("overflow"),m==o){let b=a;for(let v=36;;v+=36){let w=v<=s?1:v>=s+26?26:v-s;if(b<w)break;let C=b-w,P=36-w;n.push(mx(vO(w+C%P,0))),b=vl(C/P)}n.push(mx(vO(b,0))),s=eG(a,p,l==u),a=0,++l}++a,++o}return n.join("")}(t):t})}var xO=/#/g,wO=/&/g,kO=/\//g,rG=/=/g,nG=/\?/g,Vm=/\+/g,SO=/%5e/gi,iG=/%60/gi,oG=/%7b/gi,aG=/%7c/gi,sG=/%7d/gi,uG=/%20/gi,lG=/%2f/gi,cG=/%252f/gi;function Um(e){return encodeURI(""+e).replace(aG,"|")}function zm(e){return Um(e).replace(oG,"{").replace(sG,"}").replace(SO,"^")}function Bm(e){return Um(typeof e=="string"?e:JSON.stringify(e)).replace(Vm,"%2B").replace(uG,"+").replace(xO,"%23").replace(wO,"%26").replace(iG,"`").replace(SO,"^").replace(kO,"%2F")}function $m(e){return Bm(e).replace(rG,"%3D")}function Wm(e){return Um(e).replace(xO,"%23").replace(nG,"%3F").replace(cG,"%2F").replace(wO,"%26").replace(Vm,"%2B")}function fG(e){return Wm(e).replace(kO,"%2F")}function fr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function vx(e){return fr(e.replace(lG,"%252F"))}function _O(e){return fr(e.replace(Vm," "))}function CO(e){return fr(e.replace(Vm," "))}function jm(e=""){return tG(e)}function Ma(e=""){let t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(let r of e.split("&")){let n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;let i=_O(n[1]);if(i==="__proto__"||i==="constructor")continue;let o=CO(n[2]||"");t[i]===void 0?t[i]=o:Array.isArray(t[i])?t[i].push(o):t[i]=[t[i],o]}return t}function EO(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${$m(e)}=${Bm(r)}`).join("&"):`${$m(e)}=${Bm(t)}`:$m(e)}function wl(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>EO(t,e[t])).filter(Boolean).join("&")}var pG=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,AO=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,hG=/^([/\\]\s*){2,}[^/\\]/,dG=/^[\s\0]*(blob|data|javascript|vbscript):$/i,mG=/\/$|\/\?|\/#/,gG=/^\.?\//;function bG(e){return["./","../"].some(t=>e.startsWith(t))}function Hm(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?pG.test(e):AO.test(e)||(t.acceptRelative?hG.test(e):!1)}function yG(e){return!!e&&dG.test(e)}function Mm(e="",t){return t?mG.test(e):e.endsWith("/")}function If(e="",t){if(!t)return(Mm(e)?e.slice(0,-1):e)||"/";if(!Mm(e,!0))return e||"/";let r=e,n="",i=e.indexOf("#");i!==-1&&(r=e.slice(0,i),n=e.slice(i));let[o,...a]=r.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(a.length>0?`?${a.join("?")}`:"")+n}function xl(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Mm(e,!0))return e||"/";let r=e,n="",i=e.indexOf("#");if(i!==-1&&(r=e.slice(0,i),n=e.slice(i),!r))return n;let[o,...a]=r.split("?");return o+"/"+(a.length>0?`?${a.join("?")}`:"")+n}function xx(e=""){return e.startsWith("/")}function wx(e=""){return(xx(e)?e.slice(1):e)||"/"}function gx(e=""){return xx(e)?e:"/"+e}function vG(e=""){return e.split("://").map(t=>t.replace(/\/{2,}/g,"/")).join("://")}function xG(e,t){if(kx(t)||Hm(e))return e;let r=If(t);return e.startsWith(r)?e:DO(r,e)}function wG(e,t){if(kx(t))return e;let r=If(t);if(!e.startsWith(r))return e;let n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function kG(e,t){let r=Dn(e),n={...Ma(r.search),...t};return r.search=wl(n),Ys(r)}function SG(e,t){if(!e.includes("?"))return e;let r=Dn(e),n=Ma(r.search),i=Object.fromEntries(Object.entries(n).filter(([o,a])=>t(o,a)));return r.search=wl(i),Ys(r)}function _G(e){return Ma(Dn(e).search)}function kx(e){return!e||e==="/"}function Sx(e){return e&&e!=="/"}function DO(e,...t){let r=e||"";for(let n of t.filter(i=>Sx(i)))if(r){let i=n.replace(gG,"");r=xl(r)+i}else r=n;return r}function CG(...e){let t=/\/(?!\/)/,r=e.filter(Boolean),n=[],i=0;for(let a of r)if(!(!a||a==="/")){for(let[s,u]of a.split(t).entries())if(!(!u||u===".")){if(u===".."){if(n.length===1&&Hm(n[0]))continue;n.pop(),i--;continue}if(s===1&&n[n.length-1]?.endsWith(":/")){n[n.length-1]+="/"+u;continue}n.push(u),i++}}let o=n.join("/");return i>=0?r[0]?.startsWith("/")&&!o.startsWith("/")?o="/"+o:r[0]?.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*i)+o,r[r.length-1]?.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function EG(e){return Gm(e,"http://")}function AG(e){return Gm(e,"https://")}function DG(e){return Gm(e,"")}function Gm(e,t){let r=e.match(AO);return r||(r=e.match(/^\/{2,}/)),r?t+e.slice(r[0].length):t+e}function PG(e){let t=Dn(e);return t.pathname=Wm(vx(t.pathname)),t.hash=zm(fr(t.hash)),t.host=jm(fr(t.host)),t.search=wl(Ma(t.search)),Ys(t)}function OG(e="",...t){if(typeof e!="string")throw new TypeError(`URL input should be string received ${typeof e} (${e})`);let r=t.filter(i=>Sx(i));if(r.length===0)return e;let n=Dn(e);for(let i of r){let o=Dn(i);if(o.pathname&&(n.pathname=xl(n.pathname)+wx(o.pathname)),o.hash&&o.hash!=="#"&&(n.hash=o.hash),o.search&&o.search!=="?")if(n.search&&n.search!=="?"){let a=wl({...Ma(n.search),...Ma(o.search)});n.search=a.length>0?"?"+a:""}else n.search=o.search}return Ys(n)}function TG(e,t){return fr(If(e))===fr(If(t))}function RG(e,t,r={}){return r.trailingSlash||(e=xl(e),t=xl(t)),r.leadingSlash||(e=gx(e),t=gx(t)),r.encoding||(e=fr(e),t=fr(t)),e===t}function FG(e,t){if(!t||t==="#")return e;let r=Dn(e);return r.hash=t===""?"":"#"+zm(t),Ys(r)}function IG(e){return Ys({...Dn(e),hash:""})}function LG(e){let t=Dn(e);return(t.pathname||"/")+t.search+t.hash}var PO=Symbol.for("ufo:protocolRelative");function Dn(e="",t){let r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){let[,p,m=""]=r;return{protocol:p.toLowerCase(),pathname:m,href:p+m,auth:"",host:"",search:"",hash:""}}if(!Hm(e,{acceptRelative:!0}))return t?Dn(t+e):bx(e);let[,n="",i,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",s=""]=o.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:u,search:l,hash:f}=bx(s);return{protocol:n.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:a,pathname:u,search:l,hash:f,[PO]:!n}}function bx(e=""){let[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function Nm(e=""){let[t,r]=e.split(":");return{username:fr(t),password:fr(r)}}function yx(e=""){let[t,r]=(e.match(/([^/:]*):?(\d+)?/)||[]).splice(1);return{hostname:fr(t),port:r}}function Ys(e){let t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",i=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[PO]?(e.protocol||"")+"//":"")+i+o+t+r+n}var $G=/\/([^/]+\.[^/]+)$/,NG=/\/([^/]+)$/;function BG(e="",t){let{pathname:r}=Dn(e),n=t?.strict?r.match($G):r.match(NG);return n?n[1]:void 0}var qm=class{protocol;host;auth;pathname;query={};hash;constructor(t=""){if(typeof t!="string")throw new TypeError(`URL input should be string received ${typeof t} (${t})`);let r=Dn(t);this.protocol=fr(r.protocol),this.host=fr(r.host),this.auth=fr(r.auth),this.pathname=vx(r.pathname),this.query=Ma(r.search),this.hash=fr(r.hash)}get hostname(){return yx(this.host).hostname}get port(){return yx(this.host).port||""}get username(){return Nm(this.auth).username}get password(){return Nm(this.auth).password||""}get hasProtocol(){return this.protocol.length}get isAbsolute(){return this.hasProtocol||this.pathname[0]==="/"}get search(){let t=wl(this.query);return t.length>0?"?"+t:""}get searchParams(){let t=new URLSearchParams;for(let r in this.query){let n=this.query[r];if(Array.isArray(n))for(let i of n)t.append(r,i);else t.append(r,typeof n=="string"?n:JSON.stringify(n))}return t}get origin(){return(this.protocol?this.protocol+"//":"")+jm(this.host)}get fullpath(){return Wm(this.pathname)+this.search+zm(this.hash)}get encodedAuth(){if(!this.auth)return"";let{username:t,password:r}=Nm(this.auth);return encodeURIComponent(t)+(r?":"+encodeURIComponent(r):"")}get href(){let t=this.encodedAuth,r=(this.protocol?this.protocol+"//":"")+(t?t+"@":"")+jm(this.host);return this.hasProtocol&&this.isAbsolute?r+this.fullpath:this.fullpath}append(t){if(t.hasProtocol)throw new Error("Cannot append a URL with protocol");Object.assign(this.query,t.query),t.pathname&&(this.pathname=xl(this.pathname)+wx(t.pathname)),t.hash&&(this.hash=t.hash)}toJSON(){return this.href}toString(){return this.href}};function jG(e){return new qm(e)}De.$URL=qm;De.cleanDoubleSlashes=vG;De.createURL=jG;De.decode=fr;De.decodePath=vx;De.decodeQueryKey=_O;De.decodeQueryValue=CO;De.encode=Um;De.encodeHash=zm;De.encodeHost=jm;De.encodeParam=fG;De.encodePath=Wm;De.encodeQueryItem=EO;De.encodeQueryKey=$m;De.encodeQueryValue=Bm;De.filterQuery=SG;De.getQuery=_G;De.hasLeadingSlash=xx;De.hasProtocol=Hm;De.hasTrailingSlash=Mm;De.isEmptyURL=kx;De.isEqual=RG;De.isNonEmptyURL=Sx;De.isRelative=bG;De.isSamePath=TG;De.isScriptProtocol=yG;De.joinRelativeURL=CG;De.joinURL=DO;De.normalizeURL=PG;De.parseAuth=Nm;De.parseFilename=BG;De.parseHost=yx;De.parsePath=bx;De.parseQuery=Ma;De.parseURL=Dn;De.resolveURL=OG;De.stringifyParsedURL=Ys;De.stringifyQuery=wl;De.withBase=xG;De.withFragment=FG;De.withHttp=EG;De.withHttps=AG;De.withLeadingSlash=gx;De.withProtocol=Gm;De.withQuery=kG;De.withTrailingSlash=xl;De.withoutBase=wG;De.withoutFragment=IG;De.withoutHost=LG;De.withoutLeadingSlash=wx;De.withoutProtocol=DG;De.withoutTrailingSlash=If});var qO=ne(pr=>{"use strict";var TO=()=>{var e=(()=>{var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o=(H,ee)=>{for(var ae in ee)t(H,ae,{get:ee[ae],enumerable:!0})},a=(H,ee,ae,be)=>{if(ee&&typeof ee=="object"||typeof ee=="function")for(let Pe of n(ee))!i.call(H,Pe)&&Pe!==ae&&t(H,Pe,{get:()=>ee[Pe],enumerable:!(be=r(ee,Pe))||be.enumerable});return H},s=H=>a(t({},"__esModule",{value:!0}),H),u={};o(u,{default:()=>Mn});var l=H=>Array.isArray(H),f=H=>typeof H=="function",p=H=>H.length===0,m=H=>typeof H=="number",b=H=>typeof H=="object"&&H!==null,v=H=>H instanceof RegExp,w=H=>typeof H=="string",C=H=>H===void 0,P=H=>{let ee=new Map;return ae=>{let be=ee.get(ae);if(be)return be;let Pe=H(ae);return ee.set(ae,Pe),Pe}},A=(H,ee,ae={})=>{let be={cache:{},input:H,index:0,indexMax:0,options:ae,output:[]};if(Z(ee)(be)&&be.index===H.length)return be.output;throw new Error(`Failed to parse at index ${be.indexMax}`)},E=(H,ee)=>l(H)?y(H,ee):w(H)?I(H,ee):L(H,ee),y=(H,ee)=>{let ae={};for(let be of H){if(be.length!==1)throw new Error(`Invalid character: "${be}"`);let Pe=be.charCodeAt(0);ae[Pe]=!0}return be=>{let Pe=be.index,Ke=be.input;for(;be.index<Ke.length&&Ke.charCodeAt(be.index)in ae;)be.index+=1;let it=be.index;if(it>Pe){if(!C(ee)&&!be.options.silent){let lr=be.input.slice(Pe,it),gr=f(ee)?ee(lr,Ke,String(Pe)):ee;C(gr)||be.output.push(gr)}be.indexMax=Math.max(be.indexMax,be.index)}return!0}},L=(H,ee)=>{let ae=H.source,be=H.flags.replace(/y|$/,"y"),Pe=new RegExp(ae,be);return W(Ke=>{Pe.lastIndex=Ke.index;let it=Pe.exec(Ke.input);if(it){if(!C(ee)&&!Ke.options.silent){let lr=f(ee)?ee(...it,Ke.input,String(Ke.index)):ee;C(lr)||Ke.output.push(lr)}return Ke.index+=it[0].length,Ke.indexMax=Math.max(Ke.indexMax,Ke.index),!0}else return!1})},I=(H,ee)=>ae=>{if(ae.input.startsWith(H,ae.index)){if(!C(ee)&&!ae.options.silent){let be=f(ee)?ee(H,ae.input,String(ae.index)):ee;C(be)||ae.output.push(be)}return ae.index+=H.length,ae.indexMax=Math.max(ae.indexMax,ae.index),!0}else return!1},T=(H,ee,ae,be)=>{let Pe=Z(H);return W(Ee(te(Ke=>{let it=0;for(;it<ae;){let lr=Ke.index;if(!Pe(Ke)||(it+=1,Ke.index===lr))break}return it>=ee})))},N=(H,ee)=>T(H,0,1),X=(H,ee)=>T(H,0,1/0),se=(H,ee)=>{let ae=H.map(Z);return W(Ee(te(be=>{for(let Pe=0,Ke=ae.length;Pe<Ke;Pe++)if(!ae[Pe](be))return!1;return!0})))},ie=(H,ee)=>{let ae=H.map(Z);return W(Ee(be=>{for(let Pe=0,Ke=ae.length;Pe<Ke;Pe++)if(ae[Pe](be))return!0;return!1}))},te=(H,ee=!1)=>{let ae=Z(H);return be=>{let Pe=be.index,Ke=be.output.length,it=ae(be);return(!it||ee)&&(be.index=Pe,be.output.length!==Ke&&(be.output.length=Ke)),it}},Ee=(H,ee)=>Z(H),W=(()=>{let H=0;return ee=>{let ae=Z(ee),be=H+=1;return Pe=>{var Ke;if(Pe.options.memoization===!1)return ae(Pe);let it=Pe.index,lr=(Ke=Pe.cache)[be]||(Ke[be]=new Map),gr=lr.get(it);if(gr===!1)return!1;if(m(gr))return Pe.index=gr,!0;if(gr)return Pe.index=gr.index,gr.output?.length&&Pe.output.push(...gr.output),!0;{let ko=Pe.output.length;if(ae(Pe)){let va=Pe.index,yi=Pe.output.length;if(yi>ko){let So=Pe.output.slice(ko,yi);lr.set(it,{index:va,output:So})}else lr.set(it,va);return!0}else return lr.set(it,!1),!1}}}})(),G=H=>{let ee;return ae=>(ee||(ee=Z(H())),ee(ae))},Z=P(H=>{if(f(H))return p(H)?G(H):H;if(w(H)||v(H))return E(H);if(l(H))return se(H);if(b(H))return ie(Object.values(H));throw new Error("Invalid rule")}),Q="abcdefghijklmnopqrstuvwxyz",pe=H=>{let ee="";for(;H>0;){let ae=(H-1)%26;ee=Q[ae]+ee,H=Math.floor((H-1)/26)}return ee},Le=H=>{let ee=0;for(let ae=0,be=H.length;ae<be;ae++)ee=ee*26+Q.indexOf(H[ae])+1;return ee},Mt=(H,ee)=>{if(ee<H)return Mt(ee,H);let ae=[];for(;H<=ee;)ae.push(H++);return ae},Wr=(H,ee,ae)=>Mt(H,ee).map(be=>String(be).padStart(ae,"0")),Hr=(H,ee)=>Mt(Le(H),Le(ee)).map(pe),pt=H=>H,Zt=H=>Fu(ee=>A(ee,H,{memoization:!1}).join("")),Fu=H=>{let ee={};return ae=>ee[ae]??(ee[ae]=H(ae))},Dr=E(/^\*\*\/\*$/,".*"),Nt=E(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(H,ee,ae)=>`.*${ee?"":"(?:^|/)"}${ae.replaceAll(".","\\.")}`),fi=E(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(H,ee,ae,be)=>`.*${ee?"":"(?:^|/)"}${ae.replaceAll(".","\\.")}(?:${be.replaceAll(",","|").replaceAll(".","\\.")})`),pi=E(/\\./,pt),Pr=E(/[$.*+?^(){}[\]\|]/,H=>`\\${H}`),ji=E(/./,pt),ho=E(/^(?:!!)*!(.*)$/,(H,ee)=>`(?!^${mi(ee)}$).*?`),Mi=E(/^(!!)+/,""),ls=ie([ho,Mi]),Gr=E(/\/(\*\*\/)+/,"(?:/.+/|/)"),Nn=E(/^(\*\*\/)+/,"(?:^|.*/)"),Kr=E(/\/(\*\*)$/,"(?:/.*|$)"),mo=E(/\*\*/,".*"),Bn=ie([Gr,Nn,Kr,mo]),hi=E(/\*\/(?!\*\*\/)/,"[^/]*/"),Or=E(/\*/,"[^/]*"),Yr=ie([hi,Or]),Tr=E("?","[^/]"),di=E("[",pt),lt=E("]",pt),mr=E(/[!^]/,"^/"),Et=E(/[a-z]-[a-z]|[0-9]-[0-9]/i,pt),Pc=E(/[$.*+?^(){}[\|]/,H=>`\\${H}`),go=E(/[^\]]/,pt),le=ie([pi,Pc,Et,go]),bo=se([di,N(mr),X(le),lt]),cs=E("{","(?:"),fs=E("}",")"),qi=E(/(\d+)\.\.(\d+)/,(H,ee,ae)=>Wr(+ee,+ae,Math.min(ee.length,ae.length)).join("|")),yo=E(/([a-z]+)\.\.([a-z]+)/,(H,ee,ae)=>Hr(ee,ae).join("|")),ma=E(/([A-Z]+)\.\.([A-Z]+)/,(H,ee,ae)=>Hr(ee.toLowerCase(),ae.toLowerCase()).join("|").toUpperCase()),ps=ie([qi,yo,ma]),Qr=se([cs,ps,fs]),er=E("{","(?:"),kt=E("}",")"),Xe=E(",","|"),jn=E(/[$.*+?^(){[\]\|]/,H=>`\\${H}`),Ae=E(/[^}]/,pt),hs=G(()=>ga),vo=ie([Bn,Yr,Tr,bo,Qr,hs,pi,jn,Xe,Ae]),ga=se([er,X(vo),kt]),xo=X(ie([Dr,Nt,fi,ls,Bn,Yr,Tr,bo,Qr,ga,pi,Pr,ji])),xn=xo,Iu=Zt(xn),mi=Iu,gi=E(/\\./,pt),wo=E(/./,pt),ba=E(/\*\*\*+/,"*"),ds=E(/([^/{[(!])\*\*/,(H,ee)=>`${ee}*`),Xr=E(/(^|.)\*\*(?=[^*/)\]}])/,(H,ee)=>`${ee}*`),ya=X(ie([gi,ba,ds,Xr,wo])),ms=ya,gs=Zt(ms),bi=gs,Rr=(H,ee)=>{let ae=Array.isArray(H)?H:[H];if(!ae.length)return!1;let be=ae.map(Rr.compile),Pe=ae.every(it=>/(\/(?:\*\*)?|\[\/\])$/.test(it)),Ke=ee.replace(/[\\\/]+/g,"/").replace(/\/$/,Pe?"/":"");return be.some(it=>it.test(Ke))};Rr.compile=H=>new RegExp(`^${mi(bi(H))}$`,"s");var Mn=Rr;return s(u)})();return e.default||e},_x,MG=(e,t)=>(_x||(_x=TO(),TO=null),_x(e,t)),qG=/^[A-Za-z]:\//;function qa(e=""){return e&&e.replace(/\\/g,"/").replace(qG,t=>t.toUpperCase())}var VG=/^[/\\]{2}/,UG=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,FO=/^[A-Za-z]:$/,RO=/^\/([A-Za-z]:)?$/,zG=/.(\.[^./]+|\.)$/,WG=/^[/\\]|^[a-zA-Z]:[/\\]/,IO="/",Km=function(e){if(e.length===0)return".";e=qa(e);let t=e.match(VG),r=Qs(e),n=e[e.length-1]==="/";return e=Ym(e,!r),e.length===0?r?"/":n?"./":".":(n&&(e+="/"),FO.test(e)&&(e+="/"),t?r?`//${e}`:`//./${e}`:r&&!Qs(e)?`/${e}`:e)},LO=function(...e){let t="";for(let r of e)if(r)if(t.length>0){let n=t[t.length-1]==="/",i=r[0]==="/";n&&i?t+=r.slice(1):t+=n||i?r:`/${r}`}else t+=r;return Km(t)};function HG(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}var Lf=function(...e){e=e.map(n=>qa(n));let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i=n>=0?e[n]:HG();!i||i.length===0||(t=`${i}/${t}`,r=Qs(i))}return t=Ym(t,!r),r&&!Qs(t)?`/${t}`:t.length>0?t:"."};function Ym(e,t){let r="",n=0,i=-1,o=0,a=null;for(let s=0;s<=e.length;++s){if(s<e.length)a=e[s];else{if(a==="/")break;a="/"}if(a==="/"){if(!(i===s-1||o===1))if(o===2){if(r.length<2||n!==2||r[r.length-1]!=="."||r[r.length-2]!=="."){if(r.length>2){let u=r.lastIndexOf("/");u===-1?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),i=s,o=0;continue}else if(r.length>0){r="",n=0,i=s,o=0;continue}}t&&(r+=r.length>0?"/..":"..",n=2)}else r.length>0?r+=`/${e.slice(i+1,s)}`:r=e.slice(i+1,s),n=s-i-1;i=s,o=0}else a==="."&&o!==-1?++o:o=-1}return r}var Qs=function(e){return UG.test(e)},$O=function(e){return qa(e)},Cx=function(e){if(e==="..")return"";let t=zG.exec(qa(e));return t&&t[1]||""},NO=function(e,t){let r=Lf(e).replace(RO,"$1").split("/"),n=Lf(t).replace(RO,"$1").split("/");if(n[0][1]===":"&&r[0][1]===":"&&r[0]!==n[0])return n.join("/");let i=[...r];for(let o of i){if(n[0]!==o)break;r.shift(),n.shift()}return[...r.map(()=>".."),...n].join("/")},Ex=function(e){let t=qa(e).replace(/\/$/,"").split("/").slice(0,-1);return t.length===1&&FO.test(t[0])&&(t[0]+="/"),t.join("/")||(Qs(e)?"/":".")},BO=function(e){let t=e.ext?e.ext.startsWith(".")?e.ext:`.${e.ext}`:"",r=[e.root,e.dir,e.base??(e.name??"")+t].filter(Boolean);return qa(e.root?Lf(...r):r.join("/"))},Ax=function(e,t){let r=qa(e).split("/"),n="";for(let i=r.length-1;i>=0;i--){let o=r[i];if(o){n=o;break}}return t&&n.endsWith(t)?n.slice(0,-t.length):n},jO=function(e){let t=WG.exec(e)?.[0]?.replace(/\\/g,"/")||"",r=Ax(e),n=Cx(r);return{root:t,dir:Ex(e),base:r,ext:n,name:r.slice(0,r.length-n.length)}},MO=(e,t)=>MG(t,Km(e)),GG={__proto__:null,basename:Ax,dirname:Ex,extname:Cx,format:BO,isAbsolute:Qs,join:LO,matchesGlob:MO,normalize:Km,normalizeString:Ym,parse:jO,relative:NO,resolve:Lf,sep:IO,toNamespacedPath:$O};pr._path=GG;pr.basename=Ax;pr.dirname=Ex;pr.extname=Cx;pr.format=BO;pr.isAbsolute=Qs;pr.join=LO;pr.matchesGlob=MO;pr.normalize=Km;pr.normalizeString=Ym;pr.normalizeWindowsPath=qa;pr.parse=jO;pr.relative=NO;pr.resolve=Lf;pr.sep=IO;pr.toNamespacedPath=$O});var Px=ne(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});var xr=qO(),VO=globalThis.process?.platform==="win32"?";":":",KG={posix:void 0,win32:void 0},UO=(e=VO)=>new Proxy(xr._path,{get(t,r){return r==="delimiter"?e:r==="posix"?Dx:r==="win32"?zO:KG[r]||xr._path[r]}}),Dx=UO(":"),zO=UO(";");Vt.basename=xr.basename;Vt.dirname=xr.dirname;Vt.extname=xr.extname;Vt.format=xr.format;Vt.isAbsolute=xr.isAbsolute;Vt.join=xr.join;Vt.matchesGlob=xr.matchesGlob;Vt.normalize=xr.normalize;Vt.normalizeString=xr.normalizeString;Vt.parse=xr.parse;Vt.relative=xr.relative;Vt.resolve=xr.resolve;Vt.sep=xr.sep;Vt.toNamespacedPath=xr.toNamespacedPath;Vt.default=Dx;Vt.delimiter=VO;Vt.posix=Dx;Vt.win32=zO});var kl=ne(Tx=>{"use strict";var YG=/^(?:( )+|\t+)/,$f="space";function WO(e,t){let r=new Map,n=0,i,o;for(let a of e.split(/\n/g)){if(!a)continue;let s,u,l,f,p,m=a.match(YG);if(m===null)n=0,i="";else{if(s=m[0].length,u=m[1]?$f:"tab",t&&u===$f&&s===1)continue;u!==i&&(n=0),i=u,l=1,f=0;let b=s-n;if(n=s,b===0)l=0,f=1;else{let v=b>0?b:-b;o=QG(u,v)}p=r.get(o),p=p===void 0?[1,0]:[p[0]+l,p[1]+f],r.set(o,p)}}return r}function QG(e,t){return(e===$f?"s":"t")+String(t)}function XG(e){let t=e[0]==="s"?$f:"tab",r=Number(e.slice(1));return{type:t,amount:r}}function JG(e){let t,r=0,n=0;for(let[i,[o,a]]of e)(o>r||o===r&&a>n)&&(r=o,n=a,t=i);return t}function ZG(e,t){return(e===$f?" ":" ").repeat(t)}function eK(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=WO(e,!0);t.size===0&&(t=WO(e,!1));let r=JG(t),n,i=0,o="";return r!==void 0&&({type:n,amount:i}=XG(r),o=ZG(n,i)),{amount:i,type:n,indent:o}}var Ox=Symbol.for("__confbox_fmt__"),tK=/^(\s+)/,rK=/(\s+)$/;function nK(e,t={}){let r=t.indent===void 0&&t.preserveIndentation!==!1&&e.slice(0,t?.sampleSize||1024),n=t.preserveWhitespace===!1?void 0:{start:tK.exec(e)?.[0]||"",end:rK.exec(e)?.[0]||""};return{sample:r,whiteSpace:n}}function iK(e,t,r){!t||typeof t!="object"||Object.defineProperty(t,Ox,{enumerable:!1,configurable:!0,writable:!0,value:nK(e,r)})}function oK(e,t){if(!e||typeof e!="object"||!(Ox in e))return{indent:t?.indent,whitespace:{start:"",end:""}};let r=e[Ox];return{indent:t?.indent||eK(r.sample||"").indent,whitespace:r.whiteSpace||{start:"",end:""}}}Tx.getFormat=oK,Tx.storeFormat=iK});var JO=ne(Bx=>{"use strict";var GO=kl();function KO(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xm={};Xm.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xm.ID_Start=/[\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\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\u09FC\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\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\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-\u1884\u1887-\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\u1C80-\u1C88\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\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\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\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[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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\uDD00-\uDD43]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,Xm.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\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\u09FC\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-\u0AFF\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\u0C80-\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\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\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-\u19D9\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\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\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\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\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\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\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\uDE3E\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[\uDC00-\uDC4A\uDC50-\uDC59\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\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\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\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\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]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/;var Rx=Xm,YO={isSpaceSeparator(e){return typeof e=="string"&&Rx.Space_Separator.test(e)},isIdStartChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||Rx.ID_Start.test(e))},isIdContinueChar(e){return typeof e=="string"&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="\u200C"||e==="\u200D"||Rx.ID_Continue.test(e))},isDigit(e){return typeof e=="string"&&/[0-9]/.test(e)},isHexDigit(e){return typeof e=="string"&&/[0-9A-Fa-f]/.test(e)}},ir=YO,Lx,jr,qo,Jm,Va,Ai,or,jx,Bf,aK=function(e,t){Lx=String(e),jr="start",qo=[],Jm=0,Va=1,Ai=0,or=void 0,jx=void 0,Bf=void 0;do or=sK(),cK[jr]();while(or.type!=="eof");return typeof t=="function"?$x({"":Bf},"",t):Bf};function $x(e,t,r){let n=e[t];if(n!=null&&typeof n=="object")if(Array.isArray(n))for(let i=0;i<n.length;i++){let o=String(i),a=$x(n,o,r);a===void 0?delete n[o]:Object.defineProperty(n,o,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(let i in n){let o=$x(n,i,r);o===void 0?delete n[i]:Object.defineProperty(n,i,{value:o,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,n)}var We,Be,Nf,Mo,Ze;function sK(){for(We="default",Be="",Nf=!1,Mo=1;;){Ze=Vo();let e=QO[We]();if(e)return e}}function Vo(){if(Lx[Jm])return String.fromCodePoint(Lx.codePointAt(Jm))}function Y(){let e=Vo();return e===`
|
|
45
|
+
`?(Va++,Ai=0):e?Ai+=e.length:Ai++,e&&(Jm+=e.length),e}var QO={default(){switch(Ze){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
46
|
+
`:case"\r":case"\u2028":case"\u2029":Y();return;case"/":Y(),We="comment";return;case void 0:return Y(),yt("eof")}if(ir.isSpaceSeparator(Ze)){Y();return}return QO[jr]()},comment(){switch(Ze){case"*":Y(),We="multiLineComment";return;case"/":Y(),We="singleLineComment";return}throw _t(Y())},multiLineComment(){switch(Ze){case"*":Y(),We="multiLineCommentAsterisk";return;case void 0:throw _t(Y())}Y()},multiLineCommentAsterisk(){switch(Ze){case"*":Y();return;case"/":Y(),We="default";return;case void 0:throw _t(Y())}Y(),We="multiLineComment"},singleLineComment(){switch(Ze){case`
|
|
47
|
+
`:case"\r":case"\u2028":case"\u2029":Y(),We="default";return;case void 0:return Y(),yt("eof")}Y()},value(){switch(Ze){case"{":case"[":return yt("punctuator",Y());case"n":return Y(),Xs("ull"),yt("null",null);case"t":return Y(),Xs("rue"),yt("boolean",!0);case"f":return Y(),Xs("alse"),yt("boolean",!1);case"-":case"+":Y()==="-"&&(Mo=-1),We="sign";return;case".":Be=Y(),We="decimalPointLeading";return;case"0":Be=Y(),We="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Be=Y(),We="decimalInteger";return;case"I":return Y(),Xs("nfinity"),yt("numeric",1/0);case"N":return Y(),Xs("aN"),yt("numeric",NaN);case'"':case"'":Nf=Y()==='"',Be="",We="string";return}throw _t(Y())},identifierNameStartEscape(){if(Ze!=="u")throw _t(Y());Y();let e=Nx();switch(e){case"$":case"_":break;default:if(!ir.isIdStartChar(e))throw HO();break}Be+=e,We="identifierName"},identifierName(){switch(Ze){case"$":case"_":case"\u200C":case"\u200D":Be+=Y();return;case"\\":Y(),We="identifierNameEscape";return}if(ir.isIdContinueChar(Ze)){Be+=Y();return}return yt("identifier",Be)},identifierNameEscape(){if(Ze!=="u")throw _t(Y());Y();let e=Nx();switch(e){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!ir.isIdContinueChar(e))throw HO();break}Be+=e,We="identifierName"},sign(){switch(Ze){case".":Be=Y(),We="decimalPointLeading";return;case"0":Be=Y(),We="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Be=Y(),We="decimalInteger";return;case"I":return Y(),Xs("nfinity"),yt("numeric",Mo*(1/0));case"N":return Y(),Xs("aN"),yt("numeric",NaN)}throw _t(Y())},zero(){switch(Ze){case".":Be+=Y(),We="decimalPoint";return;case"e":case"E":Be+=Y(),We="decimalExponent";return;case"x":case"X":Be+=Y(),We="hexadecimal";return}return yt("numeric",Mo*0)},decimalInteger(){switch(Ze){case".":Be+=Y(),We="decimalPoint";return;case"e":case"E":Be+=Y(),We="decimalExponent";return}if(ir.isDigit(Ze)){Be+=Y();return}return yt("numeric",Mo*Number(Be))},decimalPointLeading(){if(ir.isDigit(Ze)){Be+=Y(),We="decimalFraction";return}throw _t(Y())},decimalPoint(){switch(Ze){case"e":case"E":Be+=Y(),We="decimalExponent";return}if(ir.isDigit(Ze)){Be+=Y(),We="decimalFraction";return}return yt("numeric",Mo*Number(Be))},decimalFraction(){switch(Ze){case"e":case"E":Be+=Y(),We="decimalExponent";return}if(ir.isDigit(Ze)){Be+=Y();return}return yt("numeric",Mo*Number(Be))},decimalExponent(){switch(Ze){case"+":case"-":Be+=Y(),We="decimalExponentSign";return}if(ir.isDigit(Ze)){Be+=Y(),We="decimalExponentInteger";return}throw _t(Y())},decimalExponentSign(){if(ir.isDigit(Ze)){Be+=Y(),We="decimalExponentInteger";return}throw _t(Y())},decimalExponentInteger(){if(ir.isDigit(Ze)){Be+=Y();return}return yt("numeric",Mo*Number(Be))},hexadecimal(){if(ir.isHexDigit(Ze)){Be+=Y(),We="hexadecimalInteger";return}throw _t(Y())},hexadecimalInteger(){if(ir.isHexDigit(Ze)){Be+=Y();return}return yt("numeric",Mo*Number(Be))},string(){switch(Ze){case"\\":Y(),Be+=uK();return;case'"':if(Nf)return Y(),yt("string",Be);Be+=Y();return;case"'":if(!Nf)return Y(),yt("string",Be);Be+=Y();return;case`
|
|
48
|
+
`:case"\r":throw _t(Y());case"\u2028":case"\u2029":fK(Ze);break;case void 0:throw _t(Y())}Be+=Y()},start(){switch(Ze){case"{":case"[":return yt("punctuator",Y())}We="value"},beforePropertyName(){switch(Ze){case"$":case"_":Be=Y(),We="identifierName";return;case"\\":Y(),We="identifierNameStartEscape";return;case"}":return yt("punctuator",Y());case'"':case"'":Nf=Y()==='"',We="string";return}if(ir.isIdStartChar(Ze)){Be+=Y(),We="identifierName";return}throw _t(Y())},afterPropertyName(){if(Ze===":")return yt("punctuator",Y());throw _t(Y())},beforePropertyValue(){We="value"},afterPropertyValue(){switch(Ze){case",":case"}":return yt("punctuator",Y())}throw _t(Y())},beforeArrayValue(){if(Ze==="]")return yt("punctuator",Y());We="value"},afterArrayValue(){switch(Ze){case",":case"]":return yt("punctuator",Y())}throw _t(Y())},end(){throw _t(Y())}};function yt(e,t){return{type:e,value:t,line:Va,column:Ai}}function Xs(e){for(let t of e){if(Vo()!==t)throw _t(Y());Y()}}function uK(){switch(Vo()){case"b":return Y(),"\b";case"f":return Y(),"\f";case"n":return Y(),`
|
|
49
|
+
`;case"r":return Y(),"\r";case"t":return Y()," ";case"v":return Y(),"\v";case"0":if(Y(),ir.isDigit(Vo()))throw _t(Y());return"\0";case"x":return Y(),lK();case"u":return Y(),Nx();case`
|
|
50
|
+
`:case"\u2028":case"\u2029":return Y(),"";case"\r":return Y(),Vo()===`
|
|
51
|
+
`&&Y(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw _t(Y());case void 0:throw _t(Y())}return Y()}function lK(){let e="",t=Vo();if(!ir.isHexDigit(t)||(e+=Y(),t=Vo(),!ir.isHexDigit(t)))throw _t(Y());return e+=Y(),String.fromCodePoint(parseInt(e,16))}function Nx(){let e="",t=4;for(;t-- >0;){let r=Vo();if(!ir.isHexDigit(r))throw _t(Y());e+=Y()}return String.fromCodePoint(parseInt(e,16))}var cK={start(){if(or.type==="eof")throw Js();Fx()},beforePropertyName(){switch(or.type){case"identifier":case"string":jx=or.value,jr="afterPropertyName";return;case"punctuator":Qm();return;case"eof":throw Js()}},afterPropertyName(){if(or.type==="eof")throw Js();jr="beforePropertyValue"},beforePropertyValue(){if(or.type==="eof")throw Js();Fx()},beforeArrayValue(){if(or.type==="eof")throw Js();if(or.type==="punctuator"&&or.value==="]"){Qm();return}Fx()},afterPropertyValue(){if(or.type==="eof")throw Js();switch(or.value){case",":jr="beforePropertyName";return;case"}":Qm()}},afterArrayValue(){if(or.type==="eof")throw Js();switch(or.value){case",":jr="beforeArrayValue";return;case"]":Qm()}},end(){}};function Fx(){let e;switch(or.type){case"punctuator":switch(or.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=or.value;break}if(Bf===void 0)Bf=e;else{let t=qo[qo.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,jx,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(e!==null&&typeof e=="object")qo.push(e),Array.isArray(e)?jr="beforeArrayValue":jr="beforePropertyName";else{let t=qo[qo.length-1];t==null?jr="end":Array.isArray(t)?jr="afterArrayValue":jr="afterPropertyValue"}}function Qm(){qo.pop();let e=qo[qo.length-1];e==null?jr="end":Array.isArray(e)?jr="afterArrayValue":jr="afterPropertyValue"}function _t(e){return Mx(e===void 0?`JSON5: invalid end of input at ${Va}:${Ai}`:`JSON5: invalid character '${XO(e)}' at ${Va}:${Ai}`)}function Js(){return Mx(`JSON5: invalid end of input at ${Va}:${Ai}`)}function HO(){return Ai-=5,Mx(`JSON5: invalid identifier character at ${Va}:${Ai}`)}function fK(e){console.warn(`JSON5: '${XO(e)}' in strings is not valid ECMAScript; consider escaping`)}function XO(e){let t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){let r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function Mx(e){let t=new SyntaxError(e);return t.lineNumber=Va,t.columnNumber=Ai,t}var pK=KO(aK),Ix=YO,hK=function(e,t,r){let n=[],i="",o,a,s="",u;if(t!=null&&typeof t=="object"&&!Array.isArray(t)&&(r=t.space,u=t.quote,t=t.replacer),typeof t=="function")a=t;else if(Array.isArray(t)){o=[];for(let v of t){let w;typeof v=="string"?w=v:(typeof v=="number"||v instanceof String||v instanceof Number)&&(w=String(v)),w!==void 0&&o.indexOf(w)<0&&o.push(w)}}return r instanceof Number?r=Number(r):r instanceof String&&(r=String(r)),typeof r=="number"?r>0&&(r=Math.min(10,Math.floor(r)),s=" ".substr(0,r)):typeof r=="string"&&(s=r.substr(0,10)),l("",{"":e});function l(v,w){let C=w[v];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(v):typeof C.toJSON=="function"&&(C=C.toJSON(v))),a&&(C=a.call(w,v,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return f(C);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?b(C):p(C)}function f(v){let w={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},P="";for(let E=0;E<v.length;E++){let y=v[E];switch(y){case"'":case'"':w[y]++,P+=y;continue;case"\0":if(Ix.isDigit(v[E+1])){P+="\\x00";continue}}if(C[y]){P+=C[y];continue}if(y<" "){let L=y.charCodeAt(0).toString(16);P+="\\x"+("00"+L).substring(L.length);continue}P+=y}let A=u||Object.keys(w).reduce((E,y)=>w[E]<w[y]?E:y);return P=P.replace(new RegExp(A,"g"),C[A]),A+P+A}function p(v){if(n.indexOf(v)>=0)throw TypeError("Converting circular structure to JSON5");n.push(v);let w=i;i=i+s;let C=o||Object.keys(v),P=[];for(let E of C){let y=l(E,v);if(y!==void 0){let L=m(E)+":";s!==""&&(L+=" "),L+=y,P.push(L)}}let A;if(P.length===0)A="{}";else{let E;if(s==="")E=P.join(","),A="{"+E+"}";else{let y=`,
|
|
52
|
+
`+i;E=P.join(y),A=`{
|
|
53
|
+
`+i+E+`,
|
|
54
|
+
`+w+"}"}}return n.pop(),i=w,A}function m(v){if(v.length===0)return f(v);let w=String.fromCodePoint(v.codePointAt(0));if(!Ix.isIdStartChar(w))return f(v);for(let C=w.length;C<v.length;C++)if(!Ix.isIdContinueChar(String.fromCodePoint(v.codePointAt(C))))return f(v);return v}function b(v){if(n.indexOf(v)>=0)throw TypeError("Converting circular structure to JSON5");n.push(v);let w=i;i=i+s;let C=[];for(let A=0;A<v.length;A++){let E=l(String(A),v);C.push(E!==void 0?E:"null")}let P;if(C.length===0)P="[]";else if(s==="")P="["+C.join(",")+"]";else{let A=`,
|
|
55
|
+
`+i,E=C.join(A);P=`[
|
|
56
|
+
`+i+E+`,
|
|
57
|
+
`+w+"]"}return n.pop(),i=w,P}},dK=KO(hK);function mK(e,t){let r=pK(e,t?.reviver);return GO.storeFormat(e,r,t),r}function gK(e,t){let r=GO.getFormat(e,t),n=dK(e,t?.replacer,r.indent);return r.whitespace.start+n+r.whitespace.end}Bx.parseJSON5=mK,Bx.stringifyJSON5=gK});var i4=ne(Mf=>{"use strict";var Vx=kl();function bK(e,t=!1){let r=e.length,n=0,i="",o=0,a=16,s=0,u=0,l=0,f=0,p=0;function m(E,y){let L=0,I=0;for(;L<E||!y;){let T=e.charCodeAt(n);if(T>=48&&T<=57)I=I*16+T-48;else if(T>=65&&T<=70)I=I*16+T-65+10;else if(T>=97&&T<=102)I=I*16+T-97+10;else break;n++,L++}return L<E&&(I=-1),I}function b(E){n=E,i="",o=0,a=16,p=0}function v(){let E=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&Sl(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&Sl(e.charCodeAt(n)))for(n++;n<e.length&&Sl(e.charCodeAt(n));)n++;else return p=3,e.substring(E,n);let y=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&Sl(e.charCodeAt(n))){for(n++;n<e.length&&Sl(e.charCodeAt(n));)n++;y=n}else p=3;return e.substring(E,y)}function w(){let E="",y=n;for(;;){if(n>=r){E+=e.substring(y,n),p=2;break}let L=e.charCodeAt(n);if(L===34){E+=e.substring(y,n),n++;break}if(L===92){if(E+=e.substring(y,n),n++,n>=r){p=2;break}switch(e.charCodeAt(n++)){case 34:E+='"';break;case 92:E+="\\";break;case 47:E+="/";break;case 98:E+="\b";break;case 102:E+="\f";break;case 110:E+=`
|
|
58
|
+
`;break;case 114:E+="\r";break;case 116:E+=" ";break;case 117:let I=m(4,!0);I>=0?E+=String.fromCharCode(I):p=4;break;default:p=5}y=n;continue}if(L>=0&&L<=31)if(jf(L)){E+=e.substring(y,n),p=2;break}else p=6;n++}return E}function C(){if(i="",p=0,o=n,u=s,f=l,n>=r)return o=r,a=17;let E=e.charCodeAt(n);if(qx(E)){do n++,i+=String.fromCharCode(E),E=e.charCodeAt(n);while(qx(E));return a=15}if(jf(E))return n++,i+=String.fromCharCode(E),E===13&&e.charCodeAt(n)===10&&(n++,i+=`
|
|
59
|
+
`),s++,l=n,a=14;switch(E){case 123:return n++,a=1;case 125:return n++,a=2;case 91:return n++,a=3;case 93:return n++,a=4;case 58:return n++,a=6;case 44:return n++,a=5;case 34:return n++,i=w(),a=10;case 47:let y=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<r&&!jf(e.charCodeAt(n));)n++;return i=e.substring(y,n),a=12}if(e.charCodeAt(n+1)===42){n+=2;let L=r-1,I=!1;for(;n<L;){let T=e.charCodeAt(n);if(T===42&&e.charCodeAt(n+1)===47){n+=2,I=!0;break}n++,jf(T)&&(T===13&&e.charCodeAt(n)===10&&n++,s++,l=n)}return I||(n++,p=1),i=e.substring(y,n),a=13}return i+=String.fromCharCode(E),n++,a=16;case 45:if(i+=String.fromCharCode(E),n++,n===r||!Sl(e.charCodeAt(n)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return i+=v(),a=11;default:for(;n<r&&P(E);)n++,E=e.charCodeAt(n);if(o!==n){switch(i=e.substring(o,n),i){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return i+=String.fromCharCode(E),n++,a=16}}function P(E){if(qx(E)||jf(E))return!1;switch(E){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function A(){let E;do E=C();while(E>=12&&E<=15);return E}return{setPosition:b,getPosition:()=>n,scan:t?A:C,getToken:()=>a,getTokenValue:()=>i,getTokenOffset:()=>o,getTokenLength:()=>n-o,getTokenStartLine:()=>u,getTokenStartCharacter:()=>o-f,getTokenError:()=>p}}function qx(e){return e===32||e===9}function jf(e){return e===10||e===13}function Sl(e){return e>=48&&e<=57}var ZO;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(ZO||(ZO={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));var _l=200;new Array(_l).fill(0).map((e,t)=>`
|
|
60
|
+
`+" ".repeat(t)),new Array(_l).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(_l).fill(0).map((e,t)=>`\r
|
|
61
|
+
`+" ".repeat(t)),new Array(_l).fill(0).map((e,t)=>`
|
|
62
|
+
`+" ".repeat(t)),new Array(_l).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(_l).fill(0).map((e,t)=>`\r
|
|
63
|
+
`+" ".repeat(t));var Zm;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Zm||(Zm={}));function yK(e,t=[],r=Zm.DEFAULT){let n=null,i=[],o=[];function a(s){Array.isArray(i)?i.push(s):n!==null&&(i[n]=s)}return vK(e,{onObjectBegin:()=>{let s={};a(s),o.push(i),i=s,n=null},onObjectProperty:s=>{n=s},onObjectEnd:()=>{i=o.pop()},onArrayBegin:()=>{let s=[];a(s),o.push(i),i=s,n=null},onArrayEnd:()=>{i=o.pop()},onLiteralValue:a,onError:(s,u,l)=>{t.push({error:s,offset:u,length:l})}},r),i[0]}function vK(e,t,r=Zm.DEFAULT){let n=bK(e,!1),i=[],o=0;function a(W){return W?()=>o===0&&W(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function s(W){return W?G=>o===0&&W(G,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter()):()=>!0}function u(W){return W?G=>o===0&&W(G,n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice()):()=>!0}function l(W){return W?()=>{o>0?o++:W(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter(),()=>i.slice())===!1&&(o=1)}:()=>!0}function f(W){return W?()=>{o>0&&o--,o===0&&W(n.getTokenOffset(),n.getTokenLength(),n.getTokenStartLine(),n.getTokenStartCharacter())}:()=>!0}let p=l(t.onObjectBegin),m=u(t.onObjectProperty),b=f(t.onObjectEnd),v=l(t.onArrayBegin),w=f(t.onArrayEnd),C=u(t.onLiteralValue),P=s(t.onSeparator),A=a(t.onComment),E=s(t.onError),y=r&&r.disallowComments,L=r&&r.allowTrailingComma;function I(){for(;;){let W=n.scan();switch(n.getTokenError()){case 4:T(14);break;case 5:T(15);break;case 3:T(13);break;case 1:y||T(11);break;case 2:T(12);break;case 6:T(16);break}switch(W){case 12:case 13:y?T(10):A();break;case 16:T(1);break;case 15:case 14:break;default:return W}}}function T(W,G=[],Z=[]){if(E(W),G.length+Z.length>0){let Q=n.getToken();for(;Q!==17;){if(G.indexOf(Q)!==-1){I();break}else if(Z.indexOf(Q)!==-1)break;Q=I()}}}function N(W){let G=n.getTokenValue();return W?C(G):(m(G),i.push(G)),I(),!0}function X(){switch(n.getToken()){case 11:let W=n.getTokenValue(),G=Number(W);isNaN(G)&&(T(2),G=0),C(G);break;case 7:C(null);break;case 8:C(!0);break;case 9:C(!1);break;default:return!1}return I(),!0}function se(){return n.getToken()!==10?(T(3,[],[2,5]),!1):(N(!1),n.getToken()===6?(P(":"),I(),Ee()||T(4,[],[2,5])):T(5,[],[2,5]),i.pop(),!0)}function ie(){p(),I();let W=!1;for(;n.getToken()!==2&&n.getToken()!==17;){if(n.getToken()===5){if(W||T(4,[],[]),P(","),I(),n.getToken()===2&&L)break}else W&&T(6,[],[]);se()||T(4,[],[2,5]),W=!0}return b(),n.getToken()!==2?T(7,[2],[]):I(),!0}function te(){v(),I();let W=!0,G=!1;for(;n.getToken()!==4&&n.getToken()!==17;){if(n.getToken()===5){if(G||T(4,[],[]),P(","),I(),n.getToken()===4&&L)break}else G&&T(6,[],[]);W?(i.push(0),W=!1):i[i.length-1]++,Ee()||T(4,[],[4,5]),G=!0}return w(),W||i.pop(),n.getToken()!==4?T(8,[4],[]):I(),!0}function Ee(){switch(n.getToken()){case 3:return te();case 1:return ie();case 10:return N(!0);default:return X()}}return I(),n.getToken()===17?r.allowEmptyContent?!0:(T(4,[],[]),!1):Ee()?(n.getToken()!==17&&T(9,[],[]),!0):(T(4,[],[]),!1)}var e4;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(e4||(e4={}));var t4;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(t4||(t4={}));var xK=yK,r4;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(r4||(r4={}));function wK(e,t){let r=JSON.parse(e,t?.reviver);return Vx.storeFormat(e,r,t),r}function n4(e,t){let r=Vx.getFormat(e,t),n=JSON.stringify(e,t?.replacer,r.indent);return r.whitespace.start+n+r.whitespace.end}function kK(e,t){let r=xK(e,t?.errors,t);return Vx.storeFormat(e,r,t),r}function SK(e,t){return n4(e,t)}Mf.parseJSON=wK,Mf.parseJSONC=kK,Mf.stringifyJSON=n4,Mf.stringifyJSONC=SK});var U4=ne(Zx=>{"use strict";var x4=kl();function w4(e){return typeof e>"u"||e===null}function _K(e){return typeof e=="object"&&e!==null}function CK(e){return Array.isArray(e)?e:w4(e)?[]:[e]}function EK(e,t){var r,n,i,o;if(t)for(o=Object.keys(t),r=0,n=o.length;r<n;r+=1)i=o[r],e[i]=t[i];return e}function AK(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function DK(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var PK=w4,OK=_K,TK=CK,RK=AK,FK=DK,IK=EK,Xt={isNothing:PK,isObject:OK,toArray:TK,repeat:RK,isNegativeZero:FK,extend:IK};function k4(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=`
|
|
64
|
+
|
|
65
|
+
`+e.mark.snippet),n+" "+r):n}function qf(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=k4(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}qf.prototype=Object.create(Error.prototype),qf.prototype.constructor=qf,qf.prototype.toString=function(e){return this.name+": "+k4(this,e)};var un=qf;function Ux(e,t,r,n,i){var o="",a="",s=Math.floor(i/2)-1;return n-t>s&&(o=" ... ",t=n-s+o.length),r-n>s&&(a=" ...",r=n+s-a.length),{str:o+e.slice(t,r).replace(/\t/g,"\u2192")+a,pos:n-t+o.length}}function zx(e,t){return Xt.repeat(" ",t-e.length)+e}function LK(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],i=[],o,a=-1;o=r.exec(e.buffer);)i.push(o.index),n.push(o.index+o[0].length),e.position<=o.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var s="",u,l,f=Math.min(e.line+t.linesAfter,i.length).toString().length,p=t.maxLength-(t.indent+f+3);for(u=1;u<=t.linesBefore&&!(a-u<0);u++)l=Ux(e.buffer,n[a-u],i[a-u],e.position-(n[a]-n[a-u]),p),s=Xt.repeat(" ",t.indent)+zx((e.line-u+1).toString(),f)+" | "+l.str+`
|
|
66
|
+
`+s;for(l=Ux(e.buffer,n[a],i[a],e.position,p),s+=Xt.repeat(" ",t.indent)+zx((e.line+1).toString(),f)+" | "+l.str+`
|
|
67
|
+
`,s+=Xt.repeat("-",t.indent+f+3+l.pos)+`^
|
|
68
|
+
`,u=1;u<=t.linesAfter&&!(a+u>=i.length);u++)l=Ux(e.buffer,n[a+u],i[a+u],e.position-(n[a]-n[a+u]),p),s+=Xt.repeat(" ",t.indent)+zx((e.line+u+1).toString(),f)+" | "+l.str+`
|
|
69
|
+
`;return s.replace(/\n$/,"")}var $K=LK,NK=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],BK=["scalar","sequence","mapping"];function jK(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function MK(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(NK.indexOf(r)===-1)throw new un('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=jK(t.styleAliases||null),BK.indexOf(this.kind)===-1)throw new un('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var kr=MK;function o4(e,t){var r=[];return e[t].forEach(function(n){var i=r.length;r.forEach(function(o,a){o.tag===n.tag&&o.kind===n.kind&&o.multi===n.multi&&(i=a)}),r[i]=n}),r}function qK(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(i){i.multi?(e.multi[i.kind].push(i),e.multi.fallback.push(i)):e[i.kind][i.tag]=e.fallback[i.tag]=i}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function Hx(e){return this.extend(e)}Hx.prototype.extend=function(e){var t=[],r=[];if(e instanceof kr)r.push(e);else if(Array.isArray(e))r=r.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(r=r.concat(e.explicit));else throw new un("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(i){if(!(i instanceof kr))throw new un("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new un("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(i.multi)throw new un("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(i){if(!(i instanceof kr))throw new un("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(Hx.prototype);return n.implicit=(this.implicit||[]).concat(t),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=o4(n,"implicit"),n.compiledExplicit=o4(n,"explicit"),n.compiledTypeMap=qK(n.compiledImplicit,n.compiledExplicit),n};var VK=Hx,UK=new kr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),zK=new kr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),WK=new kr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),HK=new VK({explicit:[UK,zK,WK]});function GK(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function KK(){return null}function YK(e){return e===null}var QK=new kr("tag:yaml.org,2002:null",{kind:"scalar",resolve:GK,construct:KK,predicate:YK,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function XK(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function JK(e){return e==="true"||e==="True"||e==="TRUE"}function ZK(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var eY=new kr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:XK,construct:JK,predicate:ZK,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function tY(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function rY(e){return 48<=e&&e<=55}function nY(e){return 48<=e&&e<=57}function iY(e){if(e===null)return!1;var t=e.length,r=0,n=!1,i;if(!t)return!1;if(i=e[r],(i==="-"||i==="+")&&(i=e[++r]),i==="0"){if(r+1===t)return!0;if(i=e[++r],i==="b"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(i!=="0"&&i!=="1")return!1;n=!0}return n&&i!=="_"}if(i==="x"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!tY(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}if(i==="o"){for(r++;r<t;r++)if(i=e[r],i!=="_"){if(!rY(e.charCodeAt(r)))return!1;n=!0}return n&&i!=="_"}}if(i==="_")return!1;for(;r<t;r++)if(i=e[r],i!=="_"){if(!nY(e.charCodeAt(r)))return!1;n=!0}return!(!n||i==="_")}function oY(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function aY(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!Xt.isNegativeZero(e)}var sY=new kr("tag:yaml.org,2002:int",{kind:"scalar",resolve:iY,construct:oY,predicate:aY,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),uY=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function lY(e){return!(e===null||!uY.test(e)||e[e.length-1]==="_")}function cY(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var fY=/^[-+]?[0-9]+e/;function pY(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Xt.isNegativeZero(e))return"-0.0";return r=e.toString(10),fY.test(r)?r.replace("e",".e"):r}function hY(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Xt.isNegativeZero(e))}var dY=new kr("tag:yaml.org,2002:float",{kind:"scalar",resolve:lY,construct:cY,predicate:hY,represent:pY,defaultStyle:"lowercase"}),mY=HK.extend({implicit:[QK,eY,sY,dY]}),gY=mY,S4=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_4=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function bY(e){return e===null?!1:S4.exec(e)!==null||_4.exec(e)!==null}function yY(e){var t,r,n,i,o,a,s,u=0,l=null,f,p,m;if(t=S4.exec(e),t===null&&(t=_4.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(r,n,i));if(o=+t[4],a=+t[5],s=+t[6],t[7]){for(u=t[7].slice(0,3);u.length<3;)u+="0";u=+u}return t[9]&&(f=+t[10],p=+(t[11]||0),l=(f*60+p)*6e4,t[9]==="-"&&(l=-l)),m=new Date(Date.UTC(r,n,i,o,a,s,u)),l&&m.setTime(m.getTime()-l),m}function vY(e){return e.toISOString()}var xY=new kr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:bY,construct:yY,instanceOf:Date,represent:vY});function wY(e){return e==="<<"||e===null}var kY=new kr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:wY}),ew=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
70
|
+
\r`;function SY(e){if(e===null)return!1;var t,r,n=0,i=e.length,o=ew;for(r=0;r<i;r++)if(t=o.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function _Y(e){var t,r,n=e.replace(/[\r\n=]/g,""),i=n.length,o=ew,a=0,s=[];for(t=0;t<i;t++)t%4===0&&t&&(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)),a=a<<6|o.indexOf(n.charAt(t));return r=i%4*6,r===0?(s.push(a>>16&255),s.push(a>>8&255),s.push(a&255)):r===18?(s.push(a>>10&255),s.push(a>>2&255)):r===12&&s.push(a>>4&255),new Uint8Array(s)}function CY(e){var t="",r=0,n,i,o=e.length,a=ew;for(n=0;n<o;n++)n%3===0&&n&&(t+=a[r>>18&63],t+=a[r>>12&63],t+=a[r>>6&63],t+=a[r&63]),r=(r<<8)+e[n];return i=o%3,i===0?(t+=a[r>>18&63],t+=a[r>>12&63],t+=a[r>>6&63],t+=a[r&63]):i===2?(t+=a[r>>10&63],t+=a[r>>4&63],t+=a[r<<2&63],t+=a[64]):i===1&&(t+=a[r>>2&63],t+=a[r<<4&63],t+=a[64],t+=a[64]),t}function EY(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var AY=new kr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:SY,construct:_Y,predicate:EY,represent:CY}),DY=Object.prototype.hasOwnProperty,PY=Object.prototype.toString;function OY(e){if(e===null)return!0;var t=[],r,n,i,o,a,s=e;for(r=0,n=s.length;r<n;r+=1){if(i=s[r],a=!1,PY.call(i)!=="[object Object]")return!1;for(o in i)if(DY.call(i,o))if(!a)a=!0;else return!1;if(!a)return!1;if(t.indexOf(o)===-1)t.push(o);else return!1}return!0}function TY(e){return e!==null?e:[]}var RY=new kr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:OY,construct:TY}),FY=Object.prototype.toString;function IY(e){if(e===null)return!0;var t,r,n,i,o,a=e;for(o=new Array(a.length),t=0,r=a.length;t<r;t+=1){if(n=a[t],FY.call(n)!=="[object Object]"||(i=Object.keys(n),i.length!==1))return!1;o[t]=[i[0],n[i[0]]]}return!0}function LY(e){if(e===null)return[];var t,r,n,i,o,a=e;for(o=new Array(a.length),t=0,r=a.length;t<r;t+=1)n=a[t],i=Object.keys(n),o[t]=[i[0],n[i[0]]];return o}var $Y=new kr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:IY,construct:LY}),NY=Object.prototype.hasOwnProperty;function BY(e){if(e===null)return!0;var t,r=e;for(t in r)if(NY.call(r,t)&&r[t]!==null)return!1;return!0}function jY(e){return e!==null?e:{}}var MY=new kr("tag:yaml.org,2002:set",{kind:"mapping",resolve:BY,construct:jY}),C4=gY.extend({implicit:[xY,kY],explicit:[AY,RY,$Y,MY]}),za=Object.prototype.hasOwnProperty,e0=1,E4=2,A4=3,t0=4,Wx=1,qY=2,a4=3,VY=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,UY=/[\x85\u2028\u2029]/,zY=/[,\[\]\{\}]/,D4=/^(?:!|!!|![a-z\-]+!)$/i,P4=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function s4(e){return Object.prototype.toString.call(e)}function Xi(e){return e===10||e===13}function eu(e){return e===9||e===32}function ln(e){return e===9||e===32||e===10||e===13}function El(e){return e===44||e===91||e===93||e===123||e===125}function WY(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function HY(e){return e===120?2:e===117?4:e===85?8:0}function GY(e){return 48<=e&&e<=57?e-48:-1}function u4(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?`
|
|
71
|
+
`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"\x85":e===95?"\xA0":e===76?"\u2028":e===80?"\u2029":""}function KY(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}for(Gx=new Array(256),Kx=new Array(256),Zs=0;Zs<256;Zs++)Gx[Zs]=u4(Zs)?1:0,Kx[Zs]=u4(Zs);var Gx,Kx,Zs;function YY(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||C4,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function O4(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=$K(r),new un(t,r)}function Se(e,t){throw O4(e,t)}function r0(e,t){e.onWarning&&e.onWarning.call(null,O4(e,t))}var l4={YAML:function(e,t,r){var n,i,o;e.version!==null&&Se(e,"duplication of %YAML directive"),r.length!==1&&Se(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),n===null&&Se(e,"ill-formed argument of the YAML directive"),i=parseInt(n[1],10),o=parseInt(n[2],10),i!==1&&Se(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=o<2,o!==1&&o!==2&&r0(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,i;r.length!==2&&Se(e,"TAG directive accepts exactly two arguments"),n=r[0],i=r[1],D4.test(n)||Se(e,"ill-formed tag handle (first argument) of the TAG directive"),za.call(e.tagMap,n)&&Se(e,'there is a previously declared suffix for "'+n+'" tag handle'),P4.test(i)||Se(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{Se(e,"tag prefix is malformed: "+i)}e.tagMap[n]=i}};function Ua(e,t,r,n){var i,o,a,s;if(t<r){if(s=e.input.slice(t,r),n)for(i=0,o=s.length;i<o;i+=1)a=s.charCodeAt(i),a===9||32<=a&&a<=1114111||Se(e,"expected valid JSON character");else VY.test(s)&&Se(e,"the stream contains non-printable characters");e.result+=s}}function c4(e,t,r,n){var i,o,a,s;for(Xt.isObject(r)||Se(e,"cannot merge mappings; the provided source object is unacceptable"),i=Object.keys(r),a=0,s=i.length;a<s;a+=1)o=i[a],za.call(t,o)||(t[o]=r[o],n[o]=!0)}function Al(e,t,r,n,i,o,a,s,u){var l,f;if(Array.isArray(i))for(i=Array.prototype.slice.call(i),l=0,f=i.length;l<f;l+=1)Array.isArray(i[l])&&Se(e,"nested arrays are not supported inside keys"),typeof i=="object"&&s4(i[l])==="[object Object]"&&(i[l]="[object Object]");if(typeof i=="object"&&s4(i)==="[object Object]"&&(i="[object Object]"),i=String(i),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(o))for(l=0,f=o.length;l<f;l+=1)c4(e,t,o[l],r);else c4(e,t,o,r);else!e.json&&!za.call(r,i)&&za.call(t,i)&&(e.line=a||e.line,e.lineStart=s||e.lineStart,e.position=u||e.position,Se(e,"duplicated mapping key")),i==="__proto__"?Object.defineProperty(t,i,{configurable:!0,enumerable:!0,writable:!0,value:o}):t[i]=o,delete r[i];return t}function tw(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):Se(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Ut(e,t,r){for(var n=0,i=e.input.charCodeAt(e.position);i!==0;){for(;eu(i);)i===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&i===35)do i=e.input.charCodeAt(++e.position);while(i!==10&&i!==13&&i!==0);if(Xi(i))for(tw(e),i=e.input.charCodeAt(e.position),n++,e.lineIndent=0;i===32;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&r0(e,"deficient indentation"),n}function o0(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||ln(r)))}function rw(e,t){t===1?e.result+=" ":t>1&&(e.result+=Xt.repeat(`
|
|
72
|
+
`,t-1))}function QY(e,t,r){var n,i,o,a,s,u,l,f,p=e.kind,m=e.result,b;if(b=e.input.charCodeAt(e.position),ln(b)||El(b)||b===35||b===38||b===42||b===33||b===124||b===62||b===39||b===34||b===37||b===64||b===96||(b===63||b===45)&&(i=e.input.charCodeAt(e.position+1),ln(i)||r&&El(i)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,s=!1;b!==0;){if(b===58){if(i=e.input.charCodeAt(e.position+1),ln(i)||r&&El(i))break}else if(b===35){if(n=e.input.charCodeAt(e.position-1),ln(n))break}else{if(e.position===e.lineStart&&o0(e)||r&&El(b))break;if(Xi(b))if(u=e.line,l=e.lineStart,f=e.lineIndent,Ut(e,!1,-1),e.lineIndent>=t){s=!0,b=e.input.charCodeAt(e.position);continue}else{e.position=a,e.line=u,e.lineStart=l,e.lineIndent=f;break}}s&&(Ua(e,o,a,!1),rw(e,e.line-u),o=a=e.position,s=!1),eu(b)||(a=e.position+1),b=e.input.charCodeAt(++e.position)}return Ua(e,o,a,!1),e.result?!0:(e.kind=p,e.result=m,!1)}function XY(e,t){var r,n,i;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=i=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Ua(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,i=e.position;else return!0;else Xi(r)?(Ua(e,n,i,!0),rw(e,Ut(e,!1,t)),n=i=e.position):e.position===e.lineStart&&o0(e)?Se(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);Se(e,"unexpected end of the stream within a single quoted scalar")}function JY(e,t){var r,n,i,o,a,s;if(s=e.input.charCodeAt(e.position),s!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(s=e.input.charCodeAt(e.position))!==0;){if(s===34)return Ua(e,r,e.position,!0),e.position++,!0;if(s===92){if(Ua(e,r,e.position,!0),s=e.input.charCodeAt(++e.position),Xi(s))Ut(e,!1,t);else if(s<256&&Gx[s])e.result+=Kx[s],e.position++;else if((a=HY(s))>0){for(i=a,o=0;i>0;i--)s=e.input.charCodeAt(++e.position),(a=WY(s))>=0?o=(o<<4)+a:Se(e,"expected hexadecimal character");e.result+=KY(o),e.position++}else Se(e,"unknown escape sequence");r=n=e.position}else Xi(s)?(Ua(e,r,n,!0),rw(e,Ut(e,!1,t)),r=n=e.position):e.position===e.lineStart&&o0(e)?Se(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Se(e,"unexpected end of the stream within a double quoted scalar")}function ZY(e,t){var r=!0,n,i,o,a=e.tag,s,u=e.anchor,l,f,p,m,b,v=Object.create(null),w,C,P,A;if(A=e.input.charCodeAt(e.position),A===91)f=93,b=!1,s=[];else if(A===123)f=125,b=!0,s={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),A=e.input.charCodeAt(++e.position);A!==0;){if(Ut(e,!0,t),A=e.input.charCodeAt(e.position),A===f)return e.position++,e.tag=a,e.anchor=u,e.kind=b?"mapping":"sequence",e.result=s,!0;r?A===44&&Se(e,"expected the node content, but found ','"):Se(e,"missed comma between flow collection entries"),C=w=P=null,p=m=!1,A===63&&(l=e.input.charCodeAt(e.position+1),ln(l)&&(p=m=!0,e.position++,Ut(e,!0,t))),n=e.line,i=e.lineStart,o=e.position,Dl(e,t,e0,!1,!0),C=e.tag,w=e.result,Ut(e,!0,t),A=e.input.charCodeAt(e.position),(m||e.line===n)&&A===58&&(p=!0,A=e.input.charCodeAt(++e.position),Ut(e,!0,t),Dl(e,t,e0,!1,!0),P=e.result),b?Al(e,s,v,C,w,P,n,i,o):p?s.push(Al(e,null,v,C,w,P,n,i,o)):s.push(w),Ut(e,!0,t),A=e.input.charCodeAt(e.position),A===44?(r=!0,A=e.input.charCodeAt(++e.position)):r=!1}Se(e,"unexpected end of the stream within a flow collection")}function eQ(e,t){var r,n,i=Wx,o=!1,a=!1,s=t,u=0,l=!1,f,p;if(p=e.input.charCodeAt(e.position),p===124)n=!1;else if(p===62)n=!0;else return!1;for(e.kind="scalar",e.result="";p!==0;)if(p=e.input.charCodeAt(++e.position),p===43||p===45)Wx===i?i=p===43?a4:qY:Se(e,"repeat of a chomping mode identifier");else if((f=GY(p))>=0)f===0?Se(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?Se(e,"repeat of an indentation width identifier"):(s=t+f-1,a=!0);else break;if(eu(p)){do p=e.input.charCodeAt(++e.position);while(eu(p));if(p===35)do p=e.input.charCodeAt(++e.position);while(!Xi(p)&&p!==0)}for(;p!==0;){for(tw(e),e.lineIndent=0,p=e.input.charCodeAt(e.position);(!a||e.lineIndent<s)&&p===32;)e.lineIndent++,p=e.input.charCodeAt(++e.position);if(!a&&e.lineIndent>s&&(s=e.lineIndent),Xi(p)){u++;continue}if(e.lineIndent<s){i===a4?e.result+=Xt.repeat(`
|
|
73
|
+
`,o?1+u:u):i===Wx&&o&&(e.result+=`
|
|
74
|
+
`);break}for(n?eu(p)?(l=!0,e.result+=Xt.repeat(`
|
|
75
|
+
`,o?1+u:u)):l?(l=!1,e.result+=Xt.repeat(`
|
|
76
|
+
`,u+1)):u===0?o&&(e.result+=" "):e.result+=Xt.repeat(`
|
|
77
|
+
`,u):e.result+=Xt.repeat(`
|
|
78
|
+
`,o?1+u:u),o=!0,a=!0,u=0,r=e.position;!Xi(p)&&p!==0;)p=e.input.charCodeAt(++e.position);Ua(e,r,e.position,!1)}return!0}function f4(e,t){var r,n=e.tag,i=e.anchor,o=[],a,s=!1,u;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=o),u=e.input.charCodeAt(e.position);u!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Se(e,"tab characters must not be used in indentation")),!(u!==45||(a=e.input.charCodeAt(e.position+1),!ln(a))));){if(s=!0,e.position++,Ut(e,!0,-1)&&e.lineIndent<=t){o.push(null),u=e.input.charCodeAt(e.position);continue}if(r=e.line,Dl(e,t,A4,!1,!0),o.push(e.result),Ut(e,!0,-1),u=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&u!==0)Se(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return s?(e.tag=n,e.anchor=i,e.kind="sequence",e.result=o,!0):!1}function tQ(e,t,r){var n,i,o,a,s,u,l=e.tag,f=e.anchor,p={},m=Object.create(null),b=null,v=null,w=null,C=!1,P=!1,A;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=p),A=e.input.charCodeAt(e.position);A!==0;){if(!C&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Se(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),o=e.line,(A===63||A===58)&&ln(n))A===63?(C&&(Al(e,p,m,b,v,null,a,s,u),b=v=w=null),P=!0,C=!0,i=!0):C?(C=!1,i=!0):Se(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,A=n;else{if(a=e.line,s=e.lineStart,u=e.position,!Dl(e,r,E4,!1,!0))break;if(e.line===o){for(A=e.input.charCodeAt(e.position);eu(A);)A=e.input.charCodeAt(++e.position);if(A===58)A=e.input.charCodeAt(++e.position),ln(A)||Se(e,"a whitespace character is expected after the key-value separator within a block mapping"),C&&(Al(e,p,m,b,v,null,a,s,u),b=v=w=null),P=!0,C=!1,i=!1,b=e.tag,v=e.result;else if(P)Se(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=l,e.anchor=f,!0}else if(P)Se(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=l,e.anchor=f,!0}if((e.line===o||e.lineIndent>t)&&(C&&(a=e.line,s=e.lineStart,u=e.position),Dl(e,t,t0,!0,i)&&(C?v=e.result:w=e.result),C||(Al(e,p,m,b,v,w,a,s,u),b=v=w=null),Ut(e,!0,-1),A=e.input.charCodeAt(e.position)),(e.line===o||e.lineIndent>t)&&A!==0)Se(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return C&&Al(e,p,m,b,v,null,a,s,u),P&&(e.tag=l,e.anchor=f,e.kind="mapping",e.result=p),P}function rQ(e){var t,r=!1,n=!1,i,o,a;if(a=e.input.charCodeAt(e.position),a!==33)return!1;if(e.tag!==null&&Se(e,"duplication of a tag property"),a=e.input.charCodeAt(++e.position),a===60?(r=!0,a=e.input.charCodeAt(++e.position)):a===33?(n=!0,i="!!",a=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){do a=e.input.charCodeAt(++e.position);while(a!==0&&a!==62);e.position<e.length?(o=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):Se(e,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!ln(a);)a===33&&(n?Se(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),D4.test(i)||Se(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);o=e.input.slice(t,e.position),zY.test(o)&&Se(e,"tag suffix cannot contain flow indicator characters")}o&&!P4.test(o)&&Se(e,"tag name cannot contain such characters: "+o);try{o=decodeURIComponent(o)}catch{Se(e,"tag name is malformed: "+o)}return r?e.tag=o:za.call(e.tagMap,i)?e.tag=e.tagMap[i]+o:i==="!"?e.tag="!"+o:i==="!!"?e.tag="tag:yaml.org,2002:"+o:Se(e,'undeclared tag handle "'+i+'"'),!0}function nQ(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&Se(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!ln(r)&&!El(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&Se(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function iQ(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!ln(n)&&!El(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&Se(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),za.call(e.anchorMap,r)||Se(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],Ut(e,!0,-1),!0}function Dl(e,t,r,n,i){var o,a,s,u=1,l=!1,f=!1,p,m,b,v,w,C;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,o=a=s=t0===r||A4===r,n&&Ut(e,!0,-1)&&(l=!0,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)),u===1)for(;rQ(e)||nQ(e);)Ut(e,!0,-1)?(l=!0,s=o,e.lineIndent>t?u=1:e.lineIndent===t?u=0:e.lineIndent<t&&(u=-1)):s=!1;if(s&&(s=l||i),(u===1||t0===r)&&(e0===r||E4===r?w=t:w=t+1,C=e.position-e.lineStart,u===1?s&&(f4(e,C)||tQ(e,C,w))||ZY(e,w)?f=!0:(a&&eQ(e,w)||XY(e,w)||JY(e,w)?f=!0:iQ(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&Se(e,"alias node should not have any properties")):QY(e,w,e0===r)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):u===0&&(f=s&&f4(e,C))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&Se(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),p=0,m=e.implicitTypes.length;p<m;p+=1)if(v=e.implicitTypes[p],v.resolve(e.result)){e.result=v.construct(e.result),e.tag=v.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(za.call(e.typeMap[e.kind||"fallback"],e.tag))v=e.typeMap[e.kind||"fallback"][e.tag];else for(v=null,b=e.typeMap.multi[e.kind||"fallback"],p=0,m=b.length;p<m;p+=1)if(e.tag.slice(0,b[p].tag.length)===b[p].tag){v=b[p];break}v||Se(e,"unknown tag !<"+e.tag+">"),e.result!==null&&v.kind!==e.kind&&Se(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+v.kind+'", not "'+e.kind+'"'),v.resolve(e.result,e.tag)?(e.result=v.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Se(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||f}function oQ(e){var t=e.position,r,n,i,o=!1,a;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(a=e.input.charCodeAt(e.position))!==0&&(Ut(e,!0,-1),a=e.input.charCodeAt(e.position),!(e.lineIndent>0||a!==37));){for(o=!0,a=e.input.charCodeAt(++e.position),r=e.position;a!==0&&!ln(a);)a=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),i=[],n.length<1&&Se(e,"directive name must not be less than one character in length");a!==0;){for(;eu(a);)a=e.input.charCodeAt(++e.position);if(a===35){do a=e.input.charCodeAt(++e.position);while(a!==0&&!Xi(a));break}if(Xi(a))break;for(r=e.position;a!==0&&!ln(a);)a=e.input.charCodeAt(++e.position);i.push(e.input.slice(r,e.position))}a!==0&&tw(e),za.call(l4,n)?l4[n](e,n,i):r0(e,'unknown document directive "'+n+'"')}if(Ut(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Ut(e,!0,-1)):o&&Se(e,"directives end mark is expected"),Dl(e,e.lineIndent-1,t0,!1,!0),Ut(e,!0,-1),e.checkLineBreaks&&UY.test(e.input.slice(t,e.position))&&r0(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&o0(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Ut(e,!0,-1));return}if(e.position<e.length-1)Se(e,"end of the stream or a document separator is expected");else return}function T4(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
|
|
79
|
+
`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new YY(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,Se(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)oQ(r);return r.documents}function aQ(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=T4(e,r);if(typeof t!="function")return n;for(var i=0,o=n.length;i<o;i+=1)t(n[i])}function sQ(e,t){var r=T4(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new un("expected a single document in the stream, but found more")}}var uQ=aQ,lQ=sQ,cQ={loadAll:uQ,load:lQ},R4=Object.prototype.toString,F4=Object.prototype.hasOwnProperty,nw=65279,fQ=9,Uf=10,pQ=13,hQ=32,dQ=33,mQ=34,Yx=35,gQ=37,bQ=38,yQ=39,vQ=42,I4=44,xQ=45,n0=58,wQ=61,kQ=62,SQ=63,_Q=64,L4=91,$4=93,CQ=96,N4=123,EQ=124,B4=125,wr={};wr[0]="\\0",wr[7]="\\a",wr[8]="\\b",wr[9]="\\t",wr[10]="\\n",wr[11]="\\v",wr[12]="\\f",wr[13]="\\r",wr[27]="\\e",wr[34]='\\"',wr[92]="\\\\",wr[133]="\\N",wr[160]="\\_",wr[8232]="\\L",wr[8233]="\\P";var AQ=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],DQ=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function PQ(e,t){var r,n,i,o,a,s,u;if(t===null)return{};for(r={},n=Object.keys(t),i=0,o=n.length;i<o;i+=1)a=n[i],s=String(t[a]),a.slice(0,2)==="!!"&&(a="tag:yaml.org,2002:"+a.slice(2)),u=e.compiledTypeMap.fallback[a],u&&F4.call(u.styleAliases,s)&&(s=u.styleAliases[s]),r[a]=s;return r}function OQ(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new un("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+Xt.repeat("0",n-t.length)+t}var TQ=1,zf=2;function RQ(e){this.schema=e.schema||C4,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=Xt.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=PQ(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?zf:TQ,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function p4(e,t){for(var r=Xt.repeat(" ",t),n=0,i=-1,o="",a,s=e.length;n<s;)i=e.indexOf(`
|
|
80
|
+
`,n),i===-1?(a=e.slice(n),n=s):(a=e.slice(n,i+1),n=i+1),a.length&&a!==`
|
|
81
|
+
`&&(o+=r),o+=a;return o}function Qx(e,t){return`
|
|
82
|
+
`+Xt.repeat(" ",e.indent*t)}function FQ(e,t){var r,n,i;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(i=e.implicitTypes[r],i.resolve(t))return!0;return!1}function i0(e){return e===hQ||e===fQ}function Wf(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==nw||65536<=e&&e<=1114111}function h4(e){return Wf(e)&&e!==nw&&e!==pQ&&e!==Uf}function d4(e,t,r){var n=h4(e),i=n&&!i0(e);return(r?n:n&&e!==I4&&e!==L4&&e!==$4&&e!==N4&&e!==B4)&&e!==Yx&&!(t===n0&&!i)||h4(t)&&!i0(t)&&e===Yx||t===n0&&i}function IQ(e){return Wf(e)&&e!==nw&&!i0(e)&&e!==xQ&&e!==SQ&&e!==n0&&e!==I4&&e!==L4&&e!==$4&&e!==N4&&e!==B4&&e!==Yx&&e!==bQ&&e!==vQ&&e!==dQ&&e!==EQ&&e!==wQ&&e!==kQ&&e!==yQ&&e!==mQ&&e!==gQ&&e!==_Q&&e!==CQ}function LQ(e){return!i0(e)&&e!==n0}function Vf(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function j4(e){var t=/^\n* /;return t.test(e)}var M4=1,Xx=2,q4=3,V4=4,Cl=5;function $Q(e,t,r,n,i,o,a,s){var u,l=0,f=null,p=!1,m=!1,b=n!==-1,v=-1,w=IQ(Vf(e,0))&&LQ(Vf(e,e.length-1));if(t||a)for(u=0;u<e.length;l>=65536?u+=2:u++){if(l=Vf(e,u),!Wf(l))return Cl;w=w&&d4(l,f,s),f=l}else{for(u=0;u<e.length;l>=65536?u+=2:u++){if(l=Vf(e,u),l===Uf)p=!0,b&&(m=m||u-v-1>n&&e[v+1]!==" ",v=u);else if(!Wf(l))return Cl;w=w&&d4(l,f,s),f=l}m=m||b&&u-v-1>n&&e[v+1]!==" "}return!p&&!m?w&&!a&&!i(e)?M4:o===zf?Cl:Xx:r>9&&j4(e)?Cl:a?o===zf?Cl:Xx:m?V4:q4}function NQ(e,t,r,n,i){e.dump=function(){if(t.length===0)return e.quotingType===zf?'""':"''";if(!e.noCompatMode&&(AQ.indexOf(t)!==-1||DQ.test(t)))return e.quotingType===zf?'"'+t+'"':"'"+t+"'";var o=e.indent*Math.max(1,r),a=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),s=n||e.flowLevel>-1&&r>=e.flowLevel;function u(l){return FQ(e,l)}switch($Q(t,s,e.indent,a,u,e.quotingType,e.forceQuotes&&!n,i)){case M4:return t;case Xx:return"'"+t.replace(/'/g,"''")+"'";case q4:return"|"+m4(t,e.indent)+g4(p4(t,o));case V4:return">"+m4(t,e.indent)+g4(p4(BQ(t,a),o));case Cl:return'"'+jQ(t)+'"';default:throw new un("impossible error: invalid scalar style")}}()}function m4(e,t){var r=j4(e)?String(t):"",n=e[e.length-1]===`
|
|
83
|
+
`,i=n&&(e[e.length-2]===`
|
|
84
|
+
`||e===`
|
|
85
|
+
`),o=i?"+":n?"":"-";return r+o+`
|
|
86
|
+
`}function g4(e){return e[e.length-1]===`
|
|
87
|
+
`?e.slice(0,-1):e}function BQ(e,t){for(var r=/(\n+)([^\n]*)/g,n=function(){var l=e.indexOf(`
|
|
88
|
+
`);return l=l!==-1?l:e.length,r.lastIndex=l,b4(e.slice(0,l),t)}(),i=e[0]===`
|
|
89
|
+
`||e[0]===" ",o,a;a=r.exec(e);){var s=a[1],u=a[2];o=u[0]===" ",n+=s+(!i&&!o&&u!==""?`
|
|
90
|
+
`:"")+b4(u,t),i=o}return n}function b4(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,i=0,o,a=0,s=0,u="";n=r.exec(e);)s=n.index,s-i>t&&(o=a>i?a:s,u+=`
|
|
91
|
+
`+e.slice(i,o),i=o+1),a=s;return u+=`
|
|
92
|
+
`,e.length-i>t&&a>i?u+=e.slice(i,a)+`
|
|
93
|
+
`+e.slice(a+1):u+=e.slice(i),u.slice(1)}function jQ(e){for(var t="",r=0,n,i=0;i<e.length;r>=65536?i+=2:i++)r=Vf(e,i),n=wr[r],!n&&Wf(r)?(t+=e[i],r>=65536&&(t+=e[i+1])):t+=n||OQ(r);return t}function MQ(e,t,r){var n="",i=e.tag,o,a,s;for(o=0,a=r.length;o<a;o+=1)s=r[o],e.replacer&&(s=e.replacer.call(r,String(o),s)),(Uo(e,t,s,!1,!1)||typeof s>"u"&&Uo(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=i,e.dump="["+n+"]"}function y4(e,t,r,n){var i="",o=e.tag,a,s,u;for(a=0,s=r.length;a<s;a+=1)u=r[a],e.replacer&&(u=e.replacer.call(r,String(a),u)),(Uo(e,t+1,u,!0,!0,!1,!0)||typeof u>"u"&&Uo(e,t+1,null,!0,!0,!1,!0))&&((!n||i!=="")&&(i+=Qx(e,t)),e.dump&&Uf===e.dump.charCodeAt(0)?i+="-":i+="- ",i+=e.dump);e.tag=o,e.dump=i||"[]"}function qQ(e,t,r){var n="",i=e.tag,o=Object.keys(r),a,s,u,l,f;for(a=0,s=o.length;a<s;a+=1)f="",n!==""&&(f+=", "),e.condenseFlow&&(f+='"'),u=o[a],l=r[u],e.replacer&&(l=e.replacer.call(r,u,l)),Uo(e,t,u,!1,!1)&&(e.dump.length>1024&&(f+="? "),f+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Uo(e,t,l,!1,!1)&&(f+=e.dump,n+=f));e.tag=i,e.dump="{"+n+"}"}function VQ(e,t,r,n){var i="",o=e.tag,a=Object.keys(r),s,u,l,f,p,m;if(e.sortKeys===!0)a.sort();else if(typeof e.sortKeys=="function")a.sort(e.sortKeys);else if(e.sortKeys)throw new un("sortKeys must be a boolean or a function");for(s=0,u=a.length;s<u;s+=1)m="",(!n||i!=="")&&(m+=Qx(e,t)),l=a[s],f=r[l],e.replacer&&(f=e.replacer.call(r,l,f)),Uo(e,t+1,l,!0,!0,!0)&&(p=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,p&&(e.dump&&Uf===e.dump.charCodeAt(0)?m+="?":m+="? "),m+=e.dump,p&&(m+=Qx(e,t)),Uo(e,t+1,f,!0,p)&&(e.dump&&Uf===e.dump.charCodeAt(0)?m+=":":m+=": ",m+=e.dump,i+=m));e.tag=o,e.dump=i||"{}"}function v4(e,t,r){var n,i,o,a,s,u;for(i=r?e.explicitTypes:e.implicitTypes,o=0,a=i.length;o<a;o+=1)if(s=i[o],(s.instanceOf||s.predicate)&&(!s.instanceOf||typeof t=="object"&&t instanceof s.instanceOf)&&(!s.predicate||s.predicate(t))){if(r?s.multi&&s.representName?e.tag=s.representName(t):e.tag=s.tag:e.tag="?",s.represent){if(u=e.styleMap[s.tag]||s.defaultStyle,R4.call(s.represent)==="[object Function]")n=s.represent(t,u);else if(F4.call(s.represent,u))n=s.represent[u](t,u);else throw new un("!<"+s.tag+'> tag resolver accepts not "'+u+'" style');e.dump=n}return!0}return!1}function Uo(e,t,r,n,i,o,a){e.tag=null,e.dump=r,v4(e,r,!1)||v4(e,r,!0);var s=R4.call(e.dump),u=n,l;n&&(n=e.flowLevel<0||e.flowLevel>t);var f=s==="[object Object]"||s==="[object Array]",p,m;if(f&&(p=e.duplicates.indexOf(r),m=p!==-1),(e.tag!==null&&e.tag!=="?"||m||e.indent!==2&&t>0)&&(i=!1),m&&e.usedDuplicates[p])e.dump="*ref_"+p;else{if(f&&m&&!e.usedDuplicates[p]&&(e.usedDuplicates[p]=!0),s==="[object Object]")n&&Object.keys(e.dump).length!==0?(VQ(e,t,e.dump,i),m&&(e.dump="&ref_"+p+e.dump)):(qQ(e,t,e.dump),m&&(e.dump="&ref_"+p+" "+e.dump));else if(s==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!a&&t>0?y4(e,t-1,e.dump,i):y4(e,t,e.dump,i),m&&(e.dump="&ref_"+p+e.dump)):(MQ(e,t,e.dump),m&&(e.dump="&ref_"+p+" "+e.dump));else if(s==="[object String]")e.tag!=="?"&&NQ(e,e.dump,t,o,u);else{if(s==="[object Undefined]"||e.skipInvalid)return!1;throw new un("unacceptable kind of an object to dump "+s)}e.tag!==null&&e.tag!=="?"&&(l=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?l="!"+l:l.slice(0,18)==="tag:yaml.org,2002:"?l="!!"+l.slice(18):l="!<"+l+">",e.dump=l+" "+e.dump)}return!0}function UQ(e,t){var r=[],n=[],i,o;for(Jx(e,r,n),i=0,o=n.length;i<o;i+=1)t.duplicates.push(r[n[i]]);t.usedDuplicates=new Array(o)}function Jx(e,t,r){var n,i,o;if(e!==null&&typeof e=="object")if(i=t.indexOf(e),i!==-1)r.indexOf(i)===-1&&r.push(i);else if(t.push(e),Array.isArray(e))for(i=0,o=e.length;i<o;i+=1)Jx(e[i],t,r);else for(n=Object.keys(e),i=0,o=n.length;i<o;i+=1)Jx(e[n[i]],t,r)}function zQ(e,t){t=t||{};var r=new RQ(t);r.noRefs||UQ(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),Uo(r,0,n,!0,!0)?r.dump+`
|
|
94
|
+
`:""}var WQ=zQ,HQ={dump:WQ},GQ=cQ.load,KQ=HQ.dump;function YQ(e,t){let r=GQ(e,t);return x4.storeFormat(e,r,t),r}function QQ(e,t){let r=x4.getFormat(e,{preserveIndentation:!1}),n=typeof r.indent=="string"?r.indent.length:r.indent,i=KQ(e,{indent:n,...t});return r.whitespace.start+i.trim()+r.whitespace.end}Zx.parseYAML=YQ,Zx.stringifyYAML=QQ});var J4=ne(sw=>{"use strict";var XQ=Object.defineProperty,JQ=(e,t,r)=>t in e?XQ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,iw=(e,t,r)=>(JQ(e,typeof t!="symbol"?t+"":t,r),r),G4=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},hr=(e,t,r)=>(G4(e,t,"read from private field"),r?r.call(e):t.get(e)),ow=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},zo=(e,t,r,n)=>(G4(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Wo,Ho,cn,K4=kl();function ZQ(e,t){let r=e.slice(0,t).split(/\r\n|\n|\r/g);return[r.length,r.pop().length+1]}function eX(e,t,r){let n=e.split(/\r\n|\n|\r/g),i="",o=(Math.log10(t+1)|0)+1;for(let a=t-1;a<=t+1;a++){let s=n[a-1];s&&(i+=a.toString().padEnd(o," "),i+=": ",i+=s,i+=`
|
|
95
|
+
`,a===t&&(i+=" ".repeat(o+r+2),i+=`^
|
|
96
|
+
`))}return i}var Ye=class extends Error{constructor(t,r){let[n,i]=ZQ(r.toml,r.ptr),o=eX(r.toml,n,i);super(`Invalid TOML document: ${t}
|
|
97
|
+
|
|
98
|
+
${o}`,r),iw(this,"line"),iw(this,"column"),iw(this,"codeblock"),this.line=n,this.column=i,this.codeblock=o}};function a0(e,t=0,r=e.length){let n=e.indexOf(`
|
|
99
|
+
`,t);return e[n-1]==="\r"&&n--,n<=r?n:-1}function uw(e,t){for(let r=t;r<e.length;r++){let n=e[r];if(n===`
|
|
100
|
+
`)return r;if(n==="\r"&&e[r+1]===`
|
|
101
|
+
`)return r+1;if(n<" "&&n!==" "||n==="\x7F")throw new Ye("control characters are not allowed in comments",{toml:e,ptr:t})}return e.length}function Go(e,t,r,n){let i;for(;(i=e[t])===" "||i===" "||!r&&(i===`
|
|
102
|
+
`||i==="\r"&&e[t+1]===`
|
|
103
|
+
`);)t++;return n||i!=="#"?t:Go(e,uw(e,t),r)}function z4(e,t,r,n,i=!1){if(!n)return t=a0(e,t),t<0?e.length:t;for(let o=t;o<e.length;o++){let a=e[o];if(a==="#")o=a0(e,o);else{if(a===r)return o+1;if(a===n||i&&(a===`
|
|
104
|
+
`||a==="\r"&&e[o+1]===`
|
|
105
|
+
`))return o}}throw new Ye("cannot find end of structure",{toml:e,ptr:t})}function Y4(e,t){let r=e[t],n=r===e[t+1]&&e[t+1]===e[t+2]?e.slice(t,t+3):r;t+=n.length-1;do t=e.indexOf(n,++t);while(t>-1&&r!=="'"&&e[t-1]==="\\"&&e[t-2]!=="\\");return t>-1&&(t+=n.length,n.length>1&&(e[t]===r&&t++,e[t]===r&&t++)),t}var tX=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i,rX=class Hf extends Date{constructor(t){let r=!0,n=!0,i="Z";if(typeof t=="string"){let o=t.match(tX);o?(o[1]||(r=!1,t=`0000-01-01T${t}`),n=!!o[2],o[2]&&+o[2]>23?t="":(i=o[3]||null,t=t.toUpperCase(),!i&&n&&(t+="Z"))):t=""}super(t),ow(this,Wo,!1),ow(this,Ho,!1),ow(this,cn,null),isNaN(this.getTime())||(zo(this,Wo,r),zo(this,Ho,n),zo(this,cn,i))}isDateTime(){return hr(this,Wo)&&hr(this,Ho)}isLocal(){return!hr(this,Wo)||!hr(this,Ho)||!hr(this,cn)}isDate(){return hr(this,Wo)&&!hr(this,Ho)}isTime(){return hr(this,Ho)&&!hr(this,Wo)}isValid(){return hr(this,Wo)||hr(this,Ho)}toISOString(){let t=super.toISOString();if(this.isDate())return t.slice(0,10);if(this.isTime())return t.slice(11,23);if(hr(this,cn)===null)return t.slice(0,-1);if(hr(this,cn)==="Z")return t;let r=+hr(this,cn).slice(1,3)*60+ +hr(this,cn).slice(4,6);return r=hr(this,cn)[0]==="-"?r:-r,new Date(this.getTime()-r*6e4).toISOString().slice(0,-1)+hr(this,cn)}static wrapAsOffsetDateTime(t,r="Z"){let n=new Hf(t);return zo(n,cn,r),n}static wrapAsLocalDateTime(t){let r=new Hf(t);return zo(r,cn,null),r}static wrapAsLocalDate(t){let r=new Hf(t);return zo(r,Ho,!1),zo(r,cn,null),r}static wrapAsLocalTime(t){let r=new Hf(t);return zo(r,Wo,!1),zo(r,cn,null),r}};Wo=new WeakMap,Ho=new WeakMap,cn=new WeakMap;var nX=rX;var iX=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/,oX=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/,aX=/^[+-]?0[0-9_]/,sX=/^[0-9a-f]{4,8}$/i,W4={b:"\b",t:" ",n:`
|
|
106
|
+
`,f:"\f",r:"\r",'"':'"',"\\":"\\"};function Q4(e,t=0,r=e.length){let n=e[t]==="'",i=e[t++]===e[t]&&e[t]===e[t+1];i&&(r-=2,e[t+=2]==="\r"&&t++,e[t]===`
|
|
107
|
+
`&&t++);let o=0,a,s="",u=t;for(;t<r-1;){let l=e[t++];if(l===`
|
|
108
|
+
`||l==="\r"&&e[t]===`
|
|
109
|
+
`){if(!i)throw new Ye("newlines are not allowed in strings",{toml:e,ptr:t-1})}else if(l<" "&&l!==" "||l==="\x7F")throw new Ye("control characters are not allowed in strings",{toml:e,ptr:t-1});if(a){if(a=!1,l==="u"||l==="U"){let f=e.slice(t,t+=l==="u"?4:8);if(!sX.test(f))throw new Ye("invalid unicode escape",{toml:e,ptr:o});try{s+=String.fromCodePoint(parseInt(f,16))}catch{throw new Ye("invalid unicode escape",{toml:e,ptr:o})}}else if(i&&(l===`
|
|
110
|
+
`||l===" "||l===" "||l==="\r")){if(t=Go(e,t-1,!0),e[t]!==`
|
|
111
|
+
`&&e[t]!=="\r")throw new Ye("invalid escape: only line-ending whitespace may be escaped",{toml:e,ptr:o});t=Go(e,t)}else if(l in W4)s+=W4[l];else throw new Ye("unrecognized escape sequence",{toml:e,ptr:o});u=t}else!n&&l==="\\"&&(o=t-1,a=!0,s+=e.slice(u,o))}return s+e.slice(u,r-1)}function uX(e,t,r){if(e==="true")return!0;if(e==="false")return!1;if(e==="-inf")return-1/0;if(e==="inf"||e==="+inf")return 1/0;if(e==="nan"||e==="+nan"||e==="-nan")return NaN;if(e==="-0")return 0;let n;if((n=iX.test(e))||oX.test(e)){if(aX.test(e))throw new Ye("leading zeroes are not allowed",{toml:t,ptr:r});let o=+e.replace(/_/g,"");if(isNaN(o))throw new Ye("invalid number",{toml:t,ptr:r});if(n&&!Number.isSafeInteger(o))throw new Ye("integer value cannot be represented losslessly",{toml:t,ptr:r});return o}let i=new nX(e);if(!i.isValid())throw new Ye("invalid value",{toml:t,ptr:r});return i}function lX(e,t,r,n){let i=e.slice(t,r),o=i.indexOf("#");o>-1&&(uw(e,o),i=i.slice(0,o));let a=i.trimEnd();if(!n){let s=i.indexOf(`
|
|
112
|
+
`,a.length);if(s>-1)throw new Ye("newlines are not allowed in inline tables",{toml:e,ptr:t+s})}return[a,o]}function lw(e,t,r){let n=e[t];if(n==="["||n==="{"){let[a,s]=n==="["?pX(e,t):fX(e,t),u=z4(e,s,",",r);if(r==="}"){let l=a0(e,s,u);if(l>-1)throw new Ye("newlines are not allowed in inline tables",{toml:e,ptr:l})}return[a,u]}let i;if(n==='"'||n==="'"){i=Y4(e,t);let a=Q4(e,t,i);if(r){if(i=Go(e,i,r!=="]"),e[i]&&e[i]!==","&&e[i]!==r&&e[i]!==`
|
|
113
|
+
`&&e[i]!=="\r")throw new Ye("unexpected character encountered",{toml:e,ptr:i});i+=+(e[i]===",")}return[a,i]}i=z4(e,t,",",r);let o=lX(e,t,i-+(e[i-1]===","),r==="]");if(!o[0])throw new Ye("incomplete key-value declaration: no value specified",{toml:e,ptr:t});return r&&o[1]>-1&&(i=Go(e,t+o[1]),i+=+(e[i]===",")),[uX(o[0],e,t),i]}var cX=/^[a-zA-Z0-9-_]+[ \t]*$/;function aw(e,t,r="="){let n=t-1,i=[],o=e.indexOf(r,t);if(o<0)throw new Ye("incomplete key-value: cannot find end of key",{toml:e,ptr:t});do{let a=e[t=++n];if(a!==" "&&a!==" ")if(a==='"'||a==="'"){if(a===e[t+1]&&a===e[t+2])throw new Ye("multiline strings are not allowed in keys",{toml:e,ptr:t});let s=Y4(e,t);if(s<0)throw new Ye("unfinished string encountered",{toml:e,ptr:t});n=e.indexOf(".",s);let u=e.slice(s,n<0||n>o?o:n),l=a0(u);if(l>-1)throw new Ye("newlines are not allowed in keys",{toml:e,ptr:t+n+l});if(u.trimStart())throw new Ye("found extra tokens after the string part",{toml:e,ptr:s});if(o<s&&(o=e.indexOf(r,s),o<0))throw new Ye("incomplete key-value: cannot find end of key",{toml:e,ptr:t});i.push(Q4(e,t,s))}else{n=e.indexOf(".",t);let s=e.slice(t,n<0||n>o?o:n);if(!cX.test(s))throw new Ye("only letter, numbers, dashes and underscores are allowed in keys",{toml:e,ptr:t});i.push(s.trimEnd())}}while(n+1&&n<o);return[i,Go(e,o+1,!0,!0)]}function fX(e,t){let r={},n=new Set,i,o=0;for(t++;(i=e[t++])!=="}"&&i;){if(i===`
|
|
114
|
+
`)throw new Ye("newlines are not allowed in inline tables",{toml:e,ptr:t-1});if(i==="#")throw new Ye("inline tables cannot contain comments",{toml:e,ptr:t-1});if(i===",")throw new Ye("expected key-value, found comma",{toml:e,ptr:t-1});if(i!==" "&&i!==" "){let a,s=r,u=!1,[l,f]=aw(e,t-1);for(let b=0;b<l.length;b++){if(b&&(s=u?s[a]:s[a]={}),a=l[b],(u=Object.hasOwn(s,a))&&(typeof s[a]!="object"||n.has(s[a])))throw new Ye("trying to redefine an already defined value",{toml:e,ptr:t});!u&&a==="__proto__"&&Object.defineProperty(s,a,{enumerable:!0,configurable:!0,writable:!0})}if(u)throw new Ye("trying to redefine an already defined value",{toml:e,ptr:t});let[p,m]=lw(e,f,"}");n.add(p),s[a]=p,t=m,o=e[t-1]===","?t-1:0}}if(o)throw new Ye("trailing commas are not allowed in inline tables",{toml:e,ptr:o});if(!i)throw new Ye("unfinished table encountered",{toml:e,ptr:t});return[r,t]}function pX(e,t){let r=[],n;for(t++;(n=e[t++])!=="]"&&n;){if(n===",")throw new Ye("expected value, found comma",{toml:e,ptr:t-1});if(n==="#")t=uw(e,t);else if(n!==" "&&n!==" "&&n!==`
|
|
115
|
+
`&&n!=="\r"){let i=lw(e,t-1,"]");r.push(i[0]),t=i[1]}}if(!n)throw new Ye("unfinished array encountered",{toml:e,ptr:t});return[r,t]}function H4(e,t,r,n){let i=t,o=r,a,s=!1,u;for(let l=0;l<e.length;l++){if(l){if(i=s?i[a]:i[a]={},o=(u=o[a]).c,n===0&&(u.t===1||u.t===2))return null;if(u.t===2){let f=i.length-1;i=i[f],o=o[f].c}}if(a=e[l],(s=Object.hasOwn(i,a))&&o[a]?.t===0&&o[a]?.d)return null;s||(a==="__proto__"&&(Object.defineProperty(i,a,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(o,a,{enumerable:!0,configurable:!0,writable:!0})),o[a]={t:l<e.length-1&&n===2?3:n,d:!1,i:0,c:{}})}if(u=o[a],u.t!==n&&!(n===1&&u.t===3)||(n===2&&(u.d||(u.d=!0,i[a]=[]),i[a].push(i={}),u.c[u.i++]=u={t:1,d:!1,i:0,c:{}}),u.d))return null;if(u.d=!0,n===1)i=s?i[a]:i[a]={};else if(n===0&&s)return null;return[a,i,u.c]}function hX(e){let t={},r={},n=t,i=r;for(let o=Go(e,0);o<e.length;){if(e[o]==="["){let a=e[++o]==="[",s=aw(e,o+=+a,"]");if(a){if(e[s[1]-1]!=="]")throw new Ye("expected end of table declaration",{toml:e,ptr:s[1]-1});s[1]++}let u=H4(s[0],t,r,a?2:1);if(!u)throw new Ye("trying to redefine an already defined table or value",{toml:e,ptr:o});i=u[2],n=u[1],o=s[1]}else{let a=aw(e,o),s=H4(a[0],n,i,0);if(!s)throw new Ye("trying to redefine an already defined table or value",{toml:e,ptr:o});let u=lw(e,a[1]);s[1][s[0]]=u[0],o=u[1]}if(o=Go(e,o,!0),e[o]&&e[o]!==`
|
|
116
|
+
`&&e[o]!=="\r")throw new Ye("each key-value declaration must be followed by an end-of-line",{toml:e,ptr:o});o=Go(e,o)}return t}var X4=/^[a-z0-9-_]+$/i;function s0(e){let t=typeof e;if(t==="object"){if(Array.isArray(e))return"array";if(e instanceof Date)return"date"}return t}function dX(e){for(let t=0;t<e.length;t++)if(s0(e[t])!=="object")return!1;return e.length!=0}function cw(e){return JSON.stringify(e).replace(/\x7f/g,"\\u007f")}function fw(e,t=s0(e)){if(t==="number")return isNaN(e)?"nan":e===1/0?"inf":e===-1/0?"-inf":e.toString();if(t==="bigint"||t==="boolean")return e.toString();if(t==="string")return cw(e);if(t==="date"){if(isNaN(e.getTime()))throw new TypeError("cannot serialize invalid date");return e.toISOString()}if(t==="object")return mX(e);if(t==="array")return gX(e)}function mX(e){let t=Object.keys(e);if(t.length===0)return"{}";let r="{ ";for(let n=0;n<t.length;n++){let i=t[n];n&&(r+=", "),r+=X4.test(i)?i:cw(i),r+=" = ",r+=fw(e[i])}return r+" }"}function gX(e){if(e.length===0)return"[]";let t="[ ";for(let r=0;r<e.length;r++){if(r&&(t+=", "),e[r]===null||e[r]===void 0)throw new TypeError("arrays cannot contain null or undefined values");t+=fw(e[r])}return t+" ]"}function bX(e,t){let r="";for(let n=0;n<e.length;n++)r+=`[[${t}]]
|
|
117
|
+
`,r+=pw(e[n],t),r+=`
|
|
118
|
+
|
|
119
|
+
`;return r}function pw(e,t=""){let r="",n="",i=Object.keys(e);for(let o=0;o<i.length;o++){let a=i[o];if(e[a]!==null&&e[a]!==void 0){let s=s0(e[a]);if(s==="symbol"||s==="function")throw new TypeError(`cannot serialize values of type '${s}'`);let u=X4.test(a)?a:cw(a);if(s==="array"&&dX(e[a]))n+=bX(e[a],t?`${t}.${u}`:u);else if(s==="object"){let l=t?`${t}.${u}`:u;n+=`[${l}]
|
|
120
|
+
`,n+=pw(e[a],l),n+=`
|
|
121
|
+
|
|
122
|
+
`}else r+=u,r+=" = ",r+=fw(e[a],s),r+=`
|
|
123
|
+
`}}return`${r}
|
|
124
|
+
${n}`.trim()}function yX(e){if(s0(e)!=="object")throw new TypeError("stringify can only be called with an object");return pw(e)}function vX(e){let t=hX(e);return K4.storeFormat(e,t,{preserveIndentation:!1}),t}function xX(e){let t=K4.getFormat(e,{preserveIndentation:!1}),r=yX(e);return t.whitespace.start+r+t.whitespace.end}sw.parseTOML=vX,sw.stringifyTOML=xX});var rT=ne(Di=>{"use strict";var Z4=JO(),u0=i4(),eT=U4(),tT=J4();kl(),Di.parseJSON5=Z4.parseJSON5,Di.stringifyJSON5=Z4.stringifyJSON5,Di.parseJSON=u0.parseJSON,Di.parseJSONC=u0.parseJSONC,Di.stringifyJSON=u0.stringifyJSON,Di.stringifyJSONC=u0.stringifyJSONC,Di.parseYAML=eT.parseYAML,Di.stringifyYAML=eT.stringifyYAML,Di.parseTOML=tT.parseTOML,Di.stringifyTOML=tT.stringifyTOML});var sT=ne(fn=>{"use strict";var Kf=require("node:fs"),Ji=Px(),l0=Qf(),Gf=rT(),wX={startingFrom:".",rootPattern:/^node_modules$/,reverse:!1,test:e=>{try{if(Kf.statSync(e).isFile())return!0}catch{}}};async function c0(e,t={}){let r=Array.isArray(e)?e:[e],n={...wX,...t},i=Ji.resolve(n.startingFrom),o=i[0]==="/",a=i.split("/").filter(Boolean);o&&(a[0]="/"+a[0]);let s=a.findIndex(u=>u.match(n.rootPattern));if(s===-1&&(s=0),n.reverse)for(let u=s+1;u<=a.length;u++)for(let l of r){let f=Ji.join(...a.slice(0,u),l);if(await n.test(f))return f}else for(let u=a.length;u>s;u--)for(let l of r){let f=Ji.join(...a.slice(0,u),l);if(await n.test(f))return f}throw new Error(`Cannot find matching ${e} in ${n.startingFrom} or parent directories`)}function Yf(e,t={}){return c0(e,t)}function kX(e,t={}){return c0(e,{...t,reverse:!0})}function SX(e){return e}function _X(e){return e}var nT=new Map;async function CX(e,t={}){let r=await iT(e,t),n=t.cache&&typeof t.cache!="boolean"?t.cache:nT;if(t.cache&&n.has(r))return n.get(r);let i=await Kf.promises.readFile(r,"utf8"),o;try{o=Gf.parseJSON(i)}catch{o=Gf.parseJSONC(i)}return n.set(r,o),o}async function EX(e,t){await Kf.promises.writeFile(e,Gf.stringifyJSON(t))}async function AX(e,t={}){let r=await oT(e,t),n=t.cache&&typeof t.cache!="boolean"?t.cache:nT;if(t.cache&&n.has(r))return n.get(r);let i=await Kf.promises.readFile(r,"utf8"),o=Gf.parseJSONC(i);return n.set(r,o),o}async function DX(e,t){await Kf.promises.writeFile(e,Gf.stringifyJSONC(t))}async function iT(e=process.cwd(),t={}){let r=Ji.isAbsolute(e)?e:await l0.resolvePath(e,t);return Yf("package.json",{startingFrom:r,...t})}async function oT(e=process.cwd(),t={}){let r=Ji.isAbsolute(e)?e:await l0.resolvePath(e,t);return Yf("tsconfig.json",{startingFrom:r,...t})}var PX=["yarn.lock","package-lock.json","pnpm-lock.yaml","npm-shrinkwrap.json","bun.lockb","bun.lock"];async function aT(e=process.cwd(),t={}){let n={startingFrom:Ji.isAbsolute(e)?e:await l0.resolvePath(e,t),...t};try{return await Yf(PX,n)}catch{}throw new Error("No lockfile found from "+e)}async function OX(e=process.cwd(),t={}){let r=Ji.isAbsolute(e)?e:await l0.resolvePath(e,t),n={startingFrom:r,...t};try{let i=await Yf(".git/config",n);return Ji.resolve(i,"../..")}catch{}try{let i=await aT(r,{...n,reverse:!0});return Ji.dirname(i)}catch{}try{let i=await c0(r,n);return Ji.dirname(i)}catch{}throw new Error("Cannot detect workspace root from "+e)}fn.definePackageJSON=SX;fn.defineTSConfig=_X;fn.findFarthestFile=kX;fn.findFile=c0;fn.findNearestFile=Yf;fn.findWorkspaceDir=OX;fn.readPackageJSON=CX;fn.readTSConfig=AX;fn.resolveLockfile=aT;fn.resolvePackageJSON=iT;fn.resolveTSConfig=oT;fn.writePackageJSON=EX;fn.writeTSConfig=DX});var Qf=ne(He=>{"use strict";var TX=bO(),m0=require("node:module"),ru=require("node:fs"),gw=OO(),g0=Px(),wT=sT(),_e=require("node:url"),RX=require("node:assert"),FX=require("node:process"),kT=require("node:path"),IX=require("node:v8"),d0=require("node:util");function Zf(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var LX=Zf(ru),Wa=Zf(RX),tu=Zf(FX),vw=Zf(kT),$X=Zf(IX),xw=new Set(m0.builtinModules);function bw(e){return e.replace(/\\/g,"/")}function NX(e){return e!==null&&typeof e=="object"}function Jn(e,t,r){let n=[];for(let i of t.matchAll(e))n.push({...r,...i.groups,code:i[0],start:i.index,end:(i.index||0)+i[0].length});return n}function ST(e){return(e||"").replace(/(\/\/[^\n]*\n|\/\*.*\*\/)/g,"").replace(/\s+/g," ")}function _T(e){let t=e.replace(/{([^}]*)}/,""),r=t.match(/\* as \s*(\S*)/)?.[1],n=t.split(",").find(i=>!/[*{}]/.test(i))?.trim()||void 0;return{namespacedImport:r,defaultImport:n}}var BX={}.hasOwnProperty,jX=/^([A-Z][a-z\d]*)+$/,MX=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Mr={};function hw(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}var CT=new Map,qX="__node_internal_",uT;Mr.ERR_INVALID_ARG_TYPE=Zn("ERR_INVALID_ARG_TYPE",(e,t,r)=>{Wa(typeof e=="string","'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";if(e.endsWith(" argument"))n+=`${e} `;else{let s=e.includes(".")?"property":"argument";n+=`"${e}" ${s} `}n+="must be ";let i=[],o=[],a=[];for(let s of t)Wa(typeof s=="string","All expected entries have to be of type string"),MX.has(s)?i.push(s.toLowerCase()):jX.exec(s)===null?(Wa(s!=="object",'The value "object" should be written as "Object"'),a.push(s)):o.push(s);if(o.length>0){let s=i.indexOf("object");s!==-1&&(i.slice(s,1),o.push("Object"))}return i.length>0&&(n+=`${i.length>1?"one of type":"of type"} ${hw(i,"or")}`,(o.length>0||a.length>0)&&(n+=" or ")),o.length>0&&(n+=`an instance of ${hw(o,"or")}`,a.length>0&&(n+=" or ")),a.length>0&&(a.length>1?n+=`one of ${hw(a,"or")}`:(a[0].toLowerCase()!==a[0]&&(n+="an "),n+=`${a[0]}`)),n+=`. Received ${HX(r)}`,n},TypeError);Mr.ERR_INVALID_MODULE_SPECIFIER=Zn("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError);Mr.ERR_INVALID_PACKAGE_CONFIG=Zn("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error);Mr.ERR_INVALID_PACKAGE_TARGET=Zn("ERR_INVALID_PACKAGE_TARGET",(e,t,r,n=!1,i=void 0)=>{let o=typeof r=="string"&&!n&&r.length>0&&!r.startsWith("./");return t==="."?(Wa(n===!1),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`},Error);Mr.ERR_MODULE_NOT_FOUND=Zn("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error);Mr.ERR_NETWORK_IMPORT_DISALLOWED=Zn("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Mr.ERR_PACKAGE_IMPORT_NOT_DEFINED=Zn("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError);Mr.ERR_PACKAGE_PATH_NOT_EXPORTED=Zn("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>t==="."?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error);Mr.ERR_UNSUPPORTED_DIR_IMPORT=Zn("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error);Mr.ERR_UNSUPPORTED_RESOLVE_REQUEST=Zn("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);Mr.ERR_UNKNOWN_FILE_EXTENSION=Zn("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError);Mr.ERR_INVALID_ARG_VALUE=Zn("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=d0.inspect(t);return n.length>128&&(n=`${n.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);function Zn(e,t,r){return CT.set(e,t),VX(r,e)}function VX(e,t){return r;function r(...n){let i=Error.stackTraceLimit;yw()&&(Error.stackTraceLimit=0);let o=new e;yw()&&(Error.stackTraceLimit=i);let a=WX(t,n,o);return Object.defineProperties(o,{message:{value:a,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${t}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),zX(o),o.code=t,o}}function yw(){try{if($X.startupSnapshot.isBuildingSnapshot())return!1}catch{}let e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return e===void 0?Object.isExtensible(Error):BX.call(e,"writable")&&e.writable!==void 0?e.writable:e.set!==void 0}function UX(e){let t=qX+e.name;return Object.defineProperty(e,"name",{value:t}),e}var zX=UX(function(e){let t=yw();return t&&(uT=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=uT),e});function WX(e,t,r){let n=CT.get(e);if(Wa(n!==void 0,"expected `message` to be found"),typeof n=="function")return Wa(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,r,t);let i=/%[dfijoOs]/g,o=0;for(;i.exec(n)!==null;)o++;return Wa(o===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${o}).`),t.length===0?n:(t.unshift(n),Reflect.apply(d0.format,null,t))}function HX(e){if(e==null)return String(e);if(typeof e=="function"&&e.name)return`function ${e.name}`;if(typeof e=="object")return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${d0.inspect(e,{depth:-1})}`;let t=d0.inspect(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}var Xf={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:GX}=Mr,lT=new Map;function ET(e,{base:t,specifier:r}){let n=lT.get(e);if(n)return n;let i;try{i=LX.readFileSync(vw.toNamespacedPath(e),"utf8")}catch(a){let s=a;if(s.code!=="ENOENT")throw s}let o={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(i!==void 0){let a;try{a=JSON.parse(i)}catch(s){let u=s,l=new GX(e,(t?`"${r}" from `:"")+_e.fileURLToPath(t||r),u.message);throw l.cause=u,l}o.exists=!0,Xf.call(a,"name")&&typeof a.name=="string"&&(o.name=a.name),Xf.call(a,"main")&&typeof a.main=="string"&&(o.main=a.main),Xf.call(a,"exports")&&(o.exports=a.exports),Xf.call(a,"imports")&&(o.imports=a.imports),Xf.call(a,"type")&&(a.type==="commonjs"||a.type==="module")&&(o.type=a.type)}return lT.set(e,o),o}function ww(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){let i=ET(_e.fileURLToPath(t),{specifier:e});if(i.exists)return i;let o=t;if(t=new URL("../package.json",t),t.pathname===o.pathname)break}return{pjsonPath:_e.fileURLToPath(t),exists:!1,type:"none"}}function cT(e){return ww(e).type}var{ERR_UNKNOWN_FILE_EXTENSION:KX}=Mr,YX={}.hasOwnProperty,QX={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function XX(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":e==="application/json"?"json":null}var fT={__proto__:null,"data:":JX,"file:":eJ,"http:":pT,"https:":pT,"node:"(){return"builtin"}};function JX(e){let{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return XX(t)}function ZX(e){let t=e.pathname,r=t.length;for(;r--;){let n=t.codePointAt(r);if(n===47)return"";if(n===46)return t.codePointAt(r-1)===47?"":t.slice(r)}return""}function eJ(e,t,r){let n=ZX(e);if(n===".js"){let a=cT(e);return a!=="none"?a:"commonjs"}if(n===""){let a=cT(e);return a==="none"||a==="commonjs"?"commonjs":"module"}let i=QX[n];if(i)return i;if(r)return;let o=_e.fileURLToPath(e);throw new KX(n,o)}function pT(){}function tJ(e,t){let r=e.protocol;return YX.call(fT,r)&&fT[r](e,t,!0)||null}var f0=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:L_e,ERR_INVALID_MODULE_SPECIFIER:b0,ERR_INVALID_PACKAGE_CONFIG:AT,ERR_INVALID_PACKAGE_TARGET:rJ,ERR_MODULE_NOT_FOUND:kw,ERR_PACKAGE_IMPORT_NOT_DEFINED:nJ,ERR_PACKAGE_PATH_NOT_EXPORTED:iJ,ERR_UNSUPPORTED_DIR_IMPORT:oJ,ERR_UNSUPPORTED_RESOLVE_REQUEST:hT}=Mr,DT={}.hasOwnProperty,dT=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,mT=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,aJ=/^\.|%|\\/,p0=/\*/g,sJ=/%2f|%5c/i,gT=new Set,uJ=/[/\\]{2}/;function bT(e,t,r,n,i,o,a){if(tu.noDeprecation)return;let s=_e.fileURLToPath(n),u=uJ.exec(a?e:t)!==null;tu.emitWarning(`Use of deprecated ${u?"double slash":"leading or trailing slash matching"} resolving "${e}" for module request "${t}" ${t===r?"":`matched to "${r}" `}in the "${i?"imports":"exports"}" field module resolution of the package at ${s}${o?` imported from ${_e.fileURLToPath(o)}`:""}.`,"DeprecationWarning","DEP0166")}function yT(e,t,r,n){if(tu.noDeprecation||tJ(e,{parentURL:r.href})!=="module")return;let o=_e.fileURLToPath(e.href),a=_e.fileURLToPath(new _e.URL(".",t)),s=_e.fileURLToPath(r);n?vw.resolve(a,n)!==o&&tu.emitWarning(`Package ${a} has a "main" field set to "${n}", excluding the full filename and extension to the resolved file at "${o.slice(a.length)}", imported from ${s}.
|
|
125
|
+
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):tu.emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${o.slice(a.length)}", imported from ${s}.
|
|
126
|
+
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function PT(e){try{return ru.statSync(e)}catch{}}function dw(e){let t=ru.statSync(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return r??!1}function lJ(e,t,r){let n;if(t.main!==void 0){if(n=new _e.URL(t.main,e),dw(n))return n;let a=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`],s=-1;for(;++s<a.length&&(n=new _e.URL(a[s],e),!dw(n));)n=void 0;if(n)return yT(n,e,r,t.main),n}let i=["./index.js","./index.json","./index.node"],o=-1;for(;++o<i.length&&(n=new _e.URL(i[o],e),!dw(n));)n=void 0;if(n)return yT(n,e,r,t.main),n;throw new kw(_e.fileURLToPath(new _e.URL(".",e)),_e.fileURLToPath(r))}function cJ(e,t,r){if(sJ.exec(e.pathname)!==null)throw new b0(e.pathname,'must not include encoded "/" or "\\" characters',_e.fileURLToPath(t));let n;try{n=_e.fileURLToPath(e)}catch(o){let a=o;throw Object.defineProperty(a,"input",{value:String(e)}),Object.defineProperty(a,"module",{value:String(t)}),a}let i=PT(n.endsWith("/")?n.slice(-1):n);if(i&&i.isDirectory()){let o=new oJ(n,_e.fileURLToPath(t));throw o.url=String(e),o}if(!i||!i.isFile()){let o=new kw(n||e.pathname,t&&_e.fileURLToPath(t),!0);throw o.url=String(e),o}{let o=ru.realpathSync(n),{search:a,hash:s}=e;e=_e.pathToFileURL(o+(n.endsWith(vw.sep)?"/":"")),e.search=a,e.hash=s}return e}function fJ(e,t,r){return new nJ(e,t&&_e.fileURLToPath(new _e.URL(".",t)),_e.fileURLToPath(r))}function mw(e,t,r){return new iJ(_e.fileURLToPath(new _e.URL(".",t)),e,r&&_e.fileURLToPath(r))}function pJ(e,t,r,n,i){let o=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${_e.fileURLToPath(r)}`;throw new b0(e,o,i&&_e.fileURLToPath(i))}function Jf(e,t,r,n,i){return t=typeof t=="object"&&t!==null?JSON.stringify(t,null,""):`${t}`,new rJ(_e.fileURLToPath(new _e.URL(".",r)),e,t,n,i&&_e.fileURLToPath(i))}function hJ(e,t,r,n,i,o,a,s,u){if(t!==""&&!o&&e[e.length-1]!=="/")throw Jf(r,e,n,a,i);if(!e.startsWith("./")){if(a&&!e.startsWith("../")&&!e.startsWith("/")){let m=!1;try{new _e.URL(e),m=!0}catch{}if(!m){let b=o?f0.call(p0,e,()=>t):e+t;return TT(b,n,u)}}throw Jf(r,e,n,a,i)}if(dT.exec(e.slice(2))!==null)if(mT.exec(e.slice(2))===null){if(!s){let m=o?r.replace("*",()=>t):r+t,b=o?f0.call(p0,e,()=>t):e;bT(b,m,r,n,a,i,!0)}}else throw Jf(r,e,n,a,i);let l=new _e.URL(e,n),f=l.pathname,p=new _e.URL(".",n).pathname;if(!f.startsWith(p))throw Jf(r,e,n,a,i);if(t==="")return l;if(dT.exec(t)!==null){let m=o?r.replace("*",()=>t):r+t;if(mT.exec(t)===null){if(!s){let b=o?f0.call(p0,e,()=>t):e;bT(b,m,r,n,a,i,!1)}}else pJ(m,r,n,a,i)}return o?new _e.URL(f0.call(p0,l.href,()=>t)):new _e.URL(t,l)}function dJ(e){let t=Number(e);return`${t}`!==e?!1:t>=0&&t<4294967295}function Pl(e,t,r,n,i,o,a,s,u){if(typeof t=="string")return hJ(t,r,n,e,i,o,a,s,u);if(Array.isArray(t)){let l=t;if(l.length===0)return null;let f,p=-1;for(;++p<l.length;){let m=l[p],b;try{b=Pl(e,m,r,n,i,o,a,s,u)}catch(v){let w=v;if(f=w,w.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw v}if(b!==void 0){if(b===null){f=null;continue}return b}}if(f==null)return null;throw f}if(typeof t=="object"&&t!==null){let l=Object.getOwnPropertyNames(t),f=-1;for(;++f<l.length;){let p=l[f];if(dJ(p))throw new AT(_e.fileURLToPath(e),i,'"exports" cannot contain numeric property keys.')}for(f=-1;++f<l.length;){let p=l[f];if(p==="default"||u&&u.has(p)){let m=t[p],b=Pl(e,m,r,n,i,o,a,s,u);if(b===void 0)continue;return b}}return null}if(t===null)return null;throw Jf(n,t,e,a,i)}function mJ(e,t,r){if(typeof e=="string"||Array.isArray(e))return!0;if(typeof e!="object"||e===null)return!1;let n=Object.getOwnPropertyNames(e),i=!1,o=0,a=-1;for(;++a<n.length;){let s=n[a],u=s===""||s[0]!==".";if(o++===0)i=u;else if(i!==u)throw new AT(_e.fileURLToPath(t),r,`"exports" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.`)}return i}function gJ(e,t,r){if(tu.noDeprecation)return;let n=_e.fileURLToPath(t);gT.has(n+"|"+e)||(gT.add(n+"|"+e),tu.emitWarning(`Use of deprecated trailing slash pattern mapping "${e}" in the "exports" field module resolution of the package at ${n}${r?` imported from ${_e.fileURLToPath(r)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function vT(e,t,r,n,i){let o=r.exports;if(mJ(o,e,n)&&(o={".":o}),DT.call(o,t)&&!t.includes("*")&&!t.endsWith("/")){let f=o[t],p=Pl(e,f,"",t,n,!1,!1,!1,i);if(p==null)throw mw(t,e,n);return p}let a="",s="",u=Object.getOwnPropertyNames(o),l=-1;for(;++l<u.length;){let f=u[l],p=f.indexOf("*");if(p!==-1&&t.startsWith(f.slice(0,p))){t.endsWith("/")&&gJ(t,e,n);let m=f.slice(p+1);t.length>=f.length&&t.endsWith(m)&&OT(a,f)===1&&f.lastIndexOf("*")===p&&(a=f,s=t.slice(p,t.length-m.length))}}if(a){let f=o[a],p=Pl(e,f,s,a,n,!0,!1,t.endsWith("/"),i);if(p==null)throw mw(t,e,n);return p}throw mw(t,e,n)}function OT(e,t){let r=e.indexOf("*"),n=t.indexOf("*"),i=r===-1?e.length:r+1,o=n===-1?t.length:n+1;return i>o?-1:o>i||r===-1?1:n===-1||e.length>t.length?-1:t.length>e.length?1:0}function bJ(e,t,r){if(e==="#"||e.startsWith("#/")||e.endsWith("/")){let o="is not a valid internal imports specifier name";throw new b0(e,o,_e.fileURLToPath(t))}let n,i=ww(t);if(i.exists){n=_e.pathToFileURL(i.pjsonPath);let o=i.imports;if(o)if(DT.call(o,e)&&!e.includes("*")){let a=Pl(n,o[e],"",e,t,!1,!0,!1,r);if(a!=null)return a}else{let a="",s="",u=Object.getOwnPropertyNames(o),l=-1;for(;++l<u.length;){let f=u[l],p=f.indexOf("*");if(p!==-1&&e.startsWith(f.slice(0,-1))){let m=f.slice(p+1);e.length>=f.length&&e.endsWith(m)&&OT(a,f)===1&&f.lastIndexOf("*")===p&&(a=f,s=e.slice(p,e.length-m.length))}}if(a){let f=o[a],p=Pl(n,f,s,a,t,!0,!0,!1,r);if(p!=null)return p}}}throw fJ(e,n,t)}function yJ(e,t){let r=e.indexOf("/"),n=!0,i=!1;e[0]==="@"&&(i=!0,r===-1||e.length===0?n=!1:r=e.indexOf("/",r+1));let o=r===-1?e:e.slice(0,r);if(aJ.exec(o)!==null&&(n=!1),!n)throw new b0(e,"is not a valid package name",_e.fileURLToPath(t));let a="."+(r===-1?"":e.slice(r));return{packageName:o,packageSubpath:a,isScoped:i}}function TT(e,t,r){if(m0.builtinModules.includes(e))return new _e.URL("node:"+e);let{packageName:n,packageSubpath:i,isScoped:o}=yJ(e,t),a=ww(t);if(a.exists){let f=_e.pathToFileURL(a.pjsonPath);if(a.name===n&&a.exports!==void 0&&a.exports!==null)return vT(f,i,a,t,r)}let s=new _e.URL("./node_modules/"+n+"/package.json",t),u=_e.fileURLToPath(s),l;do{let f=PT(u.slice(0,-13));if(!f||!f.isDirectory()){l=u,s=new _e.URL((o?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",s),u=_e.fileURLToPath(s);continue}let p=ET(u,{base:t,specifier:e});return p.exports!==void 0&&p.exports!==null?vT(s,i,p,t,r):i==="."?lJ(s,p,t):new _e.URL(i,s)}while(u.length!==l.length);throw new kw(n,_e.fileURLToPath(t),!1)}function vJ(e){return e[0]==="."&&(e.length===1||e[1]==="/"||e[1]==="."&&(e.length===2||e[2]==="/"))}function xJ(e){return e===""?!1:e[0]==="/"?!0:vJ(e)}function wJ(e,t,r,n){let i=t.protocol,a=i==="data:"||i==="http:"||i==="https:",s;if(xJ(e))try{s=new _e.URL(e,t)}catch(u){let l=new hT(e,t);throw l.cause=u,l}else if(i==="file:"&&e[0]==="#")s=bJ(e,t,r);else try{s=new _e.URL(e)}catch(u){if(a&&!m0.builtinModules.includes(e)){let l=new hT(e,t);throw l.cause=u,l}s=TT(e,t,r)}return Wa(s!==void 0,"expected to be defined"),s.protocol!=="file:"?s:cJ(s,t)}function Ko(e){return typeof e=="string"&&!e.startsWith("file://")?bw(e):bw(_e.fileURLToPath(e))}function h0(e){return _e.pathToFileURL(Ko(e)).toString()}var kJ=/[\u0000-\u001F"#$&*+,/:;<=>?@[\]^`{|}\u007F]+/g;function RT(e="",t="_"){return e.replace(kJ,t).replace(/%../g,t)}function SJ(e=""){return e.replace(/\?.*$/,"").split(/[/\\]/g).map(t=>RT(t)).join("/").replace(/^([A-Za-z])_\//,"$1:/")}function FT(e){return typeof e!="string"&&(e=e.toString()),/(node|data|http|https|file):/.test(e)?e:xw.has(e)?"node:"+e:"file://"+encodeURI(bw(e))}async function y0(e){return await ru.promises.readFile(Ko(e),"utf8")}function Sw(e){return`data:text/javascript;base64,${Buffer.from(e).toString("base64")}`}function IT(e=""){return e=e.replace(/^node:/,"").split("/")[0],xw.has(e)}var _J=/^(?<proto>.{2,}?):.+$/;function LT(e){let t=e.match(_J);return t?t.groups?.proto:void 0}var CJ=new Set(["node","import"]),EJ=[".mjs",".cjs",".js",".json"],AJ=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function xT(e,t,r){try{return wJ(e,t,r)}catch(n){if(!AJ.has(n?.code))throw n}}function DJ(e,t={}){if(typeof e!="string")if(e instanceof URL)e=Ko(e);else throw new TypeError("input must be a `string` or `URL`");if(/(node|data|http|https):/.test(e))return e;if(xw.has(e))return"node:"+e;if(e.startsWith("file://")&&(e=Ko(e)),g0.isAbsolute(e))try{if(ru.statSync(e).isFile())return h0(e)}catch(a){if(a?.code!=="ENOENT")throw a}let r=t.conditions?new Set(t.conditions):CJ,n=(Array.isArray(t.url)?t.url:[t.url]).filter(Boolean).map(a=>new URL(FT(a.toString())));n.length===0&&n.push(new URL(h0(process.cwd())));let i=[...n];for(let a of n)a.protocol==="file:"&&i.push(new URL("./",a),new URL(gw.joinURL(a.pathname,"_index.js"),a),new URL("node_modules",a));let o;for(let a of i){if(o=xT(e,a,r),o)break;for(let s of["","/index"]){for(let u of t.extensions||EJ)if(o=xT(gw.joinURL(e,s)+u,a,r),o)break;if(o)break}if(o)break}if(!o){let a=new Error(`Cannot find module ${e} imported from ${i.join(", ")}`);throw a.code="ERR_MODULE_NOT_FOUND",a}return h0(o)}function _w(e,t){return DJ(e,t)}function v0(e,t){try{return Promise.resolve(_w(e,t))}catch(r){return Promise.reject(r)}}function $T(e,t){return Ko(_w(e,t))}function Cw(e,t){try{return Promise.resolve($T(e,t))}catch(r){return Promise.reject(r)}}function PJ(e){return(t,r)=>v0(t,{url:r,...e})}var OJ=/^(.+\/node_modules\/)([^/@]+|@[^/]+\/[^/]+)(\/?.*?)?$/;function NT(e){if(!e)return{};e=g0.normalize(Ko(e));let t=OJ.exec(e);if(!t)return{};let[,r,n,i]=t;return{dir:r,name:n,subpath:i?`.${i}`:void 0}}async function TJ(e){e=g0.normalize(Ko(e));let{name:t,subpath:r}=NT(e);if(!t||!r)return r;let{exports:n}=await wT.readPackageJSON(e).catch(()=>{})||{};if(n){let i=RJ(r,n);if(i)return i}return r}function RJ(e,t){return typeof t=="string"&&(t={".":t}),e.startsWith(".")||(e=e.startsWith("/")?`.${e}`:`./${e}`),e in(t||{})?e:BT(t).find(r=>r.fsPath===e)?.subpath}function BT(e={},t="./"){return Object.entries(e).flatMap(([r,n])=>{let[i,o]=r.startsWith(".")?[r.slice(1),void 0]:["",r],a=gw.joinURL(t,i);return typeof n=="string"?[{subpath:a,fsPath:n,condition:o}]:BT(n,a)})}var Ew=/(?<=\s|^|;|\})import\s*([\s"']*(?<imports>[\p{L}\p{M}\w\t\n\r $*,/{}@.]+)from\s*)?["']\s*(?<specifier>(?<="\s*)[^"]*[^\s"](?=\s*")|(?<='\s*)[^']*[^\s'](?=\s*'))\s*["'][\s;]*/gmu,jT=/import\s*\((?<expression>(?:[^()]+|\((?:[^()]+|\([^()]*\))*\))*)\)/gm,FJ=/(?<=\s|^|;|})import\s*type\s+([\s"']*(?<imports>[\w\t\n\r $*,/{}]+)from\s*)?["']\s*(?<specifier>(?<="\s*)[^"]*[^\s"](?=\s*")|(?<='\s*)[^']*[^\s'](?=\s*'))\s*["'][\s;]*/gm,MT=/\bexport\s+(?<declaration>(async function\s*\*?|function\s*\*?|let|const enum|const|enum|var|class))\s+\*?(?<name>[\w$]+)(?<extraNames>.*,\s*[\s\w:[\]{}]*[\w$\]}]+)*/g,qT=/\bexport\s+(?<declaration>(interface|type|declare (async function|function|let|const enum|const|enum|var|class)))\s+(?<name>[\w$]+)/g,IJ=/\bexport\s*{(?<exports>[^}]+?)[\s,]*}(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^\s"](?=\s*")|(?<='\s*)[^']*[^\s'](?=\s*'))\s*["'][^\n;]*)?/g,LJ=/\bexport\s+type\s*{(?<exports>[^}]+?)[\s,]*}(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^\s"](?=\s*")|(?<='\s*)[^']*[^\s'](?=\s*'))\s*["'][^\n;]*)?/g,$J=/\bexport\s+(let|var|const)\s+(?:{(?<exports1>[^}]+?)[\s,]*}|\[(?<exports2>[^\]]+?)[\s,]*])\s+=/gm,NJ=/\bexport\s*(\*)(\s*as\s+(?<name>[\w$]+)\s+)?\s*(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^\s"](?=\s*")|(?<='\s*)[^']*[^\s'](?=\s*'))\s*["'][^\n;]*)?/g,BJ=/\bexport\s+default\s+(async function|function|class|true|false|\W|\d)|\bexport\s+default\s+(?<defaultName>.*)/g,x0=/^\s*?type\s/;function jJ(e){return w0(k0(e,"import"),Jn(Ew,e,{type:"static"}))}function MJ(e){return w0(k0(e,"import"),Jn(jT,e,{type:"dynamic"}))}function qJ(e){return[...Jn(FJ,e,{type:"type"}),...Jn(Ew,e,{type:"static"}).filter(t=>/[^A-Za-z]type\s/.test(t.imports))]}function VT(e){let t=ST(e.imports),r={},n=t.match(/{([^}]*)}/)?.[1]?.split(",")||[];for(let a of n){let s=a.match(/^\s*(\S*) as (\S*)\s*$/),u=s?.[1]||a.trim(),l=s?.[2]||u;u&&!x0.test(u)&&(r[u]=l)}let{namespacedImport:i,defaultImport:o}=_T(t);return{...e,defaultImport:o,namespacedImport:i,namedImports:r}}function VJ(e){if(e.type==="type")return VT(e);let t=ST(e.imports),r={},n=t.match(/{([^}]*)}/)?.[1]?.split(",")||[];for(let a of n){let s=/\s+as\s+/.test(a)?a.match(/^\s*type\s+(\S*) as (\S*)\s*$/):a.match(/^\s*type\s+(\S*)\s*$/),u=s?.[1]||a.trim(),l=s?.[2]||u;u&&x0.test(a)&&(r[u]=l)}let{namespacedImport:i,defaultImport:o}=_T(t);return{...e,defaultImport:o,namespacedImport:i,namedImports:r}}function Aw(e){let t=Jn(MT,e,{type:"declaration"});for(let u of t){let l=u.extraNames;if(l){let f=Jn(/({.*?})|(\[.*?])|(,\s*(?<name>\w+))/g,l,{}).map(p=>p.name).filter(Boolean);u.names=[u.name,...f]}delete u.extraNames}let r=zT(Jn(IJ,e,{type:"named"})),n=Jn($J,e,{type:"named"});for(let u of n)u.exports=u.exports1||u.exports2,u.names=u.exports.replace(/^\r?\n?/,"").split(/\s*,\s*/g).filter(l=>!x0.test(l)).map(l=>l.replace(/^.*?\s*:\s*/,"").replace(/\s*=\s*.*$/,"").trim());let i=Jn(BJ,e,{type:"default",name:"default"}),o=Jn(NJ,e,{type:"star"}),a=UT([...t,...r,...n,...i,...o]);if(a.length===0)return[];let s=k0(e,"export");return s&&s.length===0?[]:w0(s,a).filter((u,l,f)=>{let p=f[l+1];return!p||u.type!==p.type||!u.name||u.name!==p.name})}function UJ(e){let t=Jn(qT,e,{type:"declaration"}),r=zT(Jn(LJ,e,{type:"named"})),n=UT([...t,...r]);if(n.length===0)return[];let i=k0(e,"export");return i&&i.length===0?[]:w0(i,n).filter((o,a,s)=>{let u=s[a+1];return!u||o.type!==u.type||!o.name||o.name!==u.name})}function UT(e){for(let t of e)!t.name&&t.names&&t.names.length===1&&(t.name=t.names[0]),t.name==="default"&&t.type!=="default"&&(t._type=t.type,t.type="default"),!t.names&&t.name&&(t.names=[t.name]),t.type==="declaration"&&t.declaration&&(t.declarationType=t.declaration.replace(/^declare\s*/,""));return e}function zT(e){for(let t of e)t.names=t.exports.replace(/^\r?\n?/,"").split(/\s*,\s*/g).filter(r=>!x0.test(r)).map(r=>r.replace(/^.*?\sas\s/,"").trim());return e}function zJ(e){return Aw(e).flatMap(t=>t.names).filter(Boolean)}async function WT(e,t){let r=await Cw(e,t),n=await y0(r),i=Aw(n),o=new Set(i.flatMap(a=>a.names).filter(Boolean));for(let a of i){if(a.type!=="star"||!a.specifier)continue;let s=await WT(a.specifier,{...t,url:r});for(let u of s)o.add(u)}return[...o]}function w0(e,t){return t.filter(r=>!e||e.some(n=>r.start<=n.start&&r.end>=n.end))}function k0(e,t){try{return WJ(e,t)}catch{}}function WJ(e,t){let r=TX.tokenizer(e,{ecmaVersion:"latest",sourceType:"module",allowHashBang:!0,allowAwaitOutsideFunction:!0,allowImportExportEverywhere:!0}),n=[];for(let i of r)i.type.label===t&&n.push({start:i.start,end:i.end});return n}function HJ(e){let t=Ko(e),r=kT.dirname(t),n,i=()=>(n||(n=m0.createRequire(e)),n);function o(a){return i()(a)}return o.resolve=function(s,u){return i().resolve(s,u)},{__filename:t,__dirname:r,require:o}}function GJ(e,t={}){if(!NX(e)||!("default"in e))return e;let r=e.default;if(r==null)return e;let n=typeof r;if(n!=="object"&&!(n==="function"&&!t.preferNamespace))return t.preferNamespace?e:r;for(let i in e)try{i in r||Object.defineProperty(r,i,{enumerable:i!=="default",configurable:i!=="default",get(){return e[i]}})}catch{}return r}var KJ=/(?<=import .* from ["'])([^"']+)(?=["'])|(?<=export .* from ["'])([^"']+)(?=["'])|(?<=import\s*["'])([^"']+)(?=["'])|(?<=import\s*\(["'])([^"']+)(?=["']\))/g;async function YJ(e,t={}){let r=await v0(e,t),n=await y0(r);return HT(n,{...t,url:r})}async function HT(e,t={}){let r=await Dw(e,t),n=Sw(r);return import(n).catch(i=>{throw i.stack=i.stack.replace(new RegExp(n,"g"),t.url||"_mlly_eval_"),i})}function Dw(e,t={}){return t.url&&t.url.endsWith(".json")?Promise.resolve("export default "+e):(t.url&&(e=e.replace(/import\.meta\.url/g,`'${t.url}'`)),Promise.resolve(e))}async function QJ(e,t){let r=[...e.matchAll(KJ)].map(a=>a[0]);if(r.length===0)return e;let n=[...new Set(r)],i=new Map;await Promise.all(n.map(async a=>{let s=await v0(a,t);if(s.endsWith(".json")){let u=await y0(s);s=Sw(await Dw(u,{url:s}))}i.set(a,s)}));let o=new RegExp(n.map(a=>`(${a})`).join("|"),"g");return e.replace(o,a=>i.get(a))}var XJ=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,JJ=/([\s;]|^)(module.exports\b|exports\.\w|require\s*\(|global\.\w)/m,Pw=/\/\*.+?\*\/|\/\/.*(?=[nr])/g,ZJ=new Set([".mjs",".cjs",".node",".wasm"]);function Ow(e,t={}){return t.stripComments&&(e=e.replace(Pw,"")),XJ.test(e)}function GT(e,t={}){return t.stripComments&&(e=e.replace(Pw,"")),JJ.test(e)}function eZ(e,t={}){t.stripComments&&(e=e.replace(Pw,""));let r=Ow(e,{}),n=GT(e,{});return{hasESM:r,hasCJS:n,isMixed:r&&n}}var tZ={allowedProtocols:["node","file","data"]};async function rZ(e,t={}){if(IT(e))return!0;let r={...tZ,...t},n=LT(e);if(n&&!r.allowedProtocols?.includes(n))return!1;if(n==="data")return!0;let i=await Cw(e,r),o=g0.extname(i);if(ZJ.has(o))return!0;if(o!==".js")return!1;if((await wT.readPackageJSON(i).catch(()=>{}))?.type==="module")return!0;if(/\.(\w+-)?esm?(-\w+)?\.js$|\/(esm?)\//.test(i))return!1;let s=r.code||await ru.promises.readFile(i,"utf8").catch(()=>{})||"";return!Ow(s,{stripComments:r.stripComments})}He.DYNAMIC_IMPORT_RE=jT;He.ESM_STATIC_IMPORT_RE=Ew;He.EXPORT_DECAL_RE=MT;He.EXPORT_DECAL_TYPE_RE=qT;He.createCommonJS=HJ;He.createResolve=PJ;He.detectSyntax=eZ;He.evalModule=HT;He.fileURLToPath=Ko;He.findDynamicImports=MJ;He.findExportNames=zJ;He.findExports=Aw;He.findStaticImports=jJ;He.findTypeExports=UJ;He.findTypeImports=qJ;He.getProtocol=LT;He.hasCJSSyntax=GT;He.hasESMSyntax=Ow;He.interopDefault=GJ;He.isNodeBuiltin=IT;He.isValidNodeImport=rZ;He.loadModule=YJ;He.loadURL=y0;He.lookupNodeModuleSubpath=TJ;He.normalizeid=FT;He.parseNodeModulePath=NT;He.parseStaticImport=VT;He.parseTypeImport=VJ;He.pathToFileURL=h0;He.resolve=v0;He.resolveImports=QJ;He.resolveModuleExportNames=WT;He.resolvePath=Cw;He.resolvePathSync=$T;He.resolveSync=_w;He.sanitizeFilePath=SJ;He.sanitizeURIComponent=RT;He.toDataURL=Sw;He.transformModule=Dw});var eR=ne(Ol=>{"use strict";var Rw=Symbol.for("quansync.getIsAsync"),ep=class extends Error{constructor(t="Unexpected promise in sync context"){super(t),this.name="QuansyncError"}};function Fw(e){return e&&typeof e=="object"&&typeof e.then=="function"}function KT(e){return e&&typeof e=="object"&&typeof e[Symbol.iterator]=="function"&&"__quansync"in e}function Iw(e){let t=function*(...n){return(yield Rw)?yield e.async.apply(this,n):e.sync.apply(this,n)};function r(...n){let i=t.apply(this,n);return i.then=(...o)=>e.async.apply(this,n).then(...o),i.__quansync=!0,i}return r.sync=e.sync,r.async=e.async,r}function YT(e){return Iw({async:()=>Promise.resolve(e),sync:()=>{if(Fw(e))throw new ep;return e}})}function Tw(e,t){if(e===Rw)return t;if(KT(e))return t?JT(e):XT(e);if(!t&&Fw(e))throw new ep;return e}var QT=e=>e;function XT(e,t=QT){let r=e.next();for(;!r.done;)try{r=e.next(Tw(t(r.value,!1)))}catch(n){r=e.throw(n)}return Tw(r.value)}async function JT(e,t=QT){let r=e.next();for(;!r.done;)try{r=e.next(await Tw(t(r.value,!0),!0))}catch(n){r=e.throw(n)}return r.value}function nZ(e,t){return Iw({name:e.name,async(...r){return JT(e.apply(this,r),t?.onYield)},sync(...r){return XT(e.apply(this,r),t?.onYield)}})}function ZT(e,t){return Fw(e)?YT(e):typeof e=="function"?nZ(e,t):Iw(e)}function iZ(e){return KT(e)?e:YT(e)()}var oZ=ZT({async:()=>Promise.resolve(!0),sync:()=>!1});Ol.GET_IS_ASYNC=Rw;Ol.QuansyncError=ep;Ol.getIsAsync=oZ;Ol.quansync=ZT;Ol.toGenerator=iZ});var rR=ne(tR=>{"use strict";var aZ=eR(),sZ=aZ.quansync;tR.quansync=sZ});var Bw=ne(Zi=>{"use strict";var uZ=require("node:fs"),lZ=require("node:module"),tp=require("node:path"),cZ=require("node:process"),fZ=require("node:fs/promises"),pZ=require("node:url"),nR=Qf(),np=rR(),Lw=typeof document<"u"?document.currentScript:null;function _0(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var rp=_0(uZ),ei=_0(tp),Tl=_0(cZ),hZ=_0(fZ),S0=e=>e instanceof URL?pZ.fileURLToPath(e):e;async function dZ(e,{cwd:t=Tl.cwd(),type:r="file",stopAt:n}={}){let i=ei.resolve(S0(t)??""),{root:o}=ei.parse(i);n=ei.resolve(i,S0(n??o));let a=ei.isAbsolute(e);for(;i;){let s=a?e:ei.join(i,e);try{let u=await hZ.stat(s);if(r==="file"&&u.isFile()||r==="directory"&&u.isDirectory())return s}catch{}if(i===n||i===o)break;i=ei.dirname(i)}}function mZ(e,{cwd:t=Tl.cwd(),type:r="file",stopAt:n}={}){let i=ei.resolve(S0(t)??""),{root:o}=ei.parse(i);n=ei.resolve(i,S0(n)??o);let a=ei.isAbsolute(e);for(;i;){let s=a?e:ei.join(i,e);try{let u=rp.statSync(s,{throwIfNoEntry:!1});if(r==="file"&&u?.isFile()||r==="directory"&&u?.isDirectory())return s}catch{}if(i===n||i===o)break;i=ei.dirname(i)}}function $w(e,t={}){if((t.platform==="auto"||!t.platform)&&(t.platform=Tl.platform==="win32"?"win32":"posix"),Tl.versions.pnp){let n=t.paths||[];n.length===0&&n.push(Tl.cwd());let i=lZ.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:Lw&&Lw.tagName.toUpperCase()==="SCRIPT"&&Lw.src||new URL("index.cjs",document.baseURI).href);try{return i.resolve(e,{paths:n})}catch{}}let r=nR.resolvePathSync(e,{url:t.paths});return t.platform==="win32"?tp.win32.normalize(r):r}function gZ(e,t={}){try{return $w(e,t)}catch{return}}async function bZ(e){let t=await import(e);return t&&nR.interopDefault(t)}function yZ(e,t={}){return!!aR(e,t)}function vZ(e,t={}){let r=aR(e,t);if(r)return wZ(r)}var iR=np.quansync({async:e=>rp.promises.readFile(e,"utf8"),sync:e=>rp.readFileSync(e,"utf8")}),oR=np.quansync(function*(e,t={}){let r=vZ(e,t);if(!r)return;let n=JSON.parse(yield iR(r));return{name:e,version:n.version,rootPath:tp.dirname(r),packageJsonPath:r,packageJson:n}}),xZ=oR.sync;function aR(e,t={}){try{return $w(`${e}/package.json`,t)}catch{}try{return $w(e,t)}catch(r){return r.code!=="MODULE_NOT_FOUND"&&r.code!=="ERR_MODULE_NOT_FOUND"&&console.error(r),!1}}function wZ(e){let t;for(;;){if(!e)return;let r=tp.dirname(e);if(r===e)return;if(e=r,t=tp.join(e,"package.json"),rp.existsSync(t))break}return t}var kZ=np.quansync({sync:mZ,async:dZ}),Nw=np.quansync(function*(e=Tl.cwd()){let t=yield kZ("package.json",{cwd:e});return!t||!rp.existsSync(t)?null:JSON.parse(yield iR(t))}),SZ=Nw.sync,sR=np.quansync(function*(e,t){let r=(yield Nw(t))||{};return e in(r.dependencies||{})||e in(r.devDependencies||{})}),_Z=sR.sync;Zi.getPackageInfo=oR;Zi.getPackageInfoSync=xZ;Zi.importModule=bZ;Zi.isPackageExists=yZ;Zi.isPackageListed=sR;Zi.isPackageListedSync=_Z;Zi.loadPackageJSON=Nw;Zi.loadPackageJSONSync=SZ;Zi.resolveModule=gZ});var E0=ne((M_e,cR)=>{"use strict";var CZ=Object.create,C0=Object.defineProperty,EZ=Object.getOwnPropertyDescriptor,AZ=Object.getOwnPropertyNames,DZ=Object.getPrototypeOf,PZ=Object.prototype.hasOwnProperty,OZ=(e,t)=>{for(var r in t)C0(e,r,{get:t[r],enumerable:!0})},uR=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of AZ(t))!PZ.call(e,i)&&i!==r&&C0(e,i,{get:()=>t[i],enumerable:!(n=EZ(t,i))||n.enumerable});return e},jw=(e,t,r)=>(r=e!=null?CZ(DZ(e)):{},uR(t||!e||!e.__esModule?C0(r,"default",{value:e,enumerable:!0}):r,e)),TZ=e=>uR(C0({},"__esModule",{value:!0}),e),lR={};OZ(lR,{detectPackageManager:()=>Mw,installPackage:()=>BZ,uninstallPackage:()=>UZ});cR.exports=TZ(lR);var RZ=jw(require("process"),1),FZ=(j1(),R(B1));async function Mw(e=RZ.default.cwd()){return(await(0,FZ.detect)({cwd:e,onUnknown(r){console.warn("[@antfu/install-pkg] Unknown packageManager:",r)}}))?.agent||null}var IZ=require("fs"),LZ=require("path"),$Z=jw(require("process"),1),NZ=(Dm(),R(K1));async function BZ(e,t={}){let r=t.packageManager||await Mw(t.cwd)||"npm",[n]=r.split("@");Array.isArray(e)||(e=[e]);let i=(typeof t.additionalArgs=="function"?t.additionalArgs(n,r):t.additionalArgs)||[];return t.preferOffline&&(r==="yarn@berry"?i.unshift("--cached"):i.unshift("--prefer-offline")),n==="pnpm"&&(i.unshift("--prod=false"),(0,IZ.existsSync)((0,LZ.resolve)(t.cwd??$Z.default.cwd(),"pnpm-workspace.yaml"))&&i.unshift("-w")),(0,NZ.x)(n,[n==="yarn"?"add":"install",t.dev?"-D":"",...i,...e].filter(Boolean),{nodeOptions:{stdio:t.silent?"ignore":"inherit",cwd:t.cwd},throwOnError:!0})}var jZ=require("fs"),MZ=jw(require("process"),1),qZ=require("path"),VZ=(Dm(),R(K1));async function UZ(e,t={}){let r=t.packageManager||await Mw(t.cwd)||"npm",[n]=r.split("@");Array.isArray(e)||(e=[e]);let i=t.additionalArgs||[];return n==="pnpm"&&(0,jZ.existsSync)((0,qZ.resolve)(t.cwd??MZ.default.cwd(),"pnpm-workspace.yaml"))&&i.unshift("-w"),(0,VZ.x)(n,[n==="yarn"?"remove":"uninstall",t.dev?"-D":"",...i,...e].filter(Boolean),{nodeOptions:{stdio:t.silent?"ignore":"inherit",cwd:t.cwd},throwOnError:!0})}});var P0=ne(fe=>{"use strict";function Gw(e,t,r){return Math.min(r,Math.max(t,e))}function zZ(...e){return hR(e).reduce((t,r)=>t+r,0)}function pR(e,t,r){let n=Gw(r,0,1);return e+(t-e)*n}function WZ(e,t,r,n,i){let o=(e-t)/(r-t);return pR(n,i,o)}function Kw(e){return e=e??[],Array.isArray(e)?e:[e]}function hR(e){return Kw(e).flat(1)}function HZ(...e){return e.flatMap(t=>Kw(t))}function GZ(e,...t){let r=Array.from({length:t.length+1}).fill(null).map(()=>[]);return e.forEach((n,i,o)=>{let a=0;for(let s of t){if(s(n,i,o)){r[a].push(n);return}a+=1}r[a].push(n)}),r}function KZ(e){return Array.from(new Set(e))}function YZ(e,t){return e.reduce((r,n)=>(r.findIndex(o=>t(n,o))===-1&&r.push(n),r),[])}function QZ(e){return mR(e,-1)}function dR(e,t){if(!e)return!1;let r=e.indexOf(t);return r>=0?(e.splice(r,1),!0):!1}function mR(e,t){let r=e.length;if(r)return t<0&&(t+=r),e[t]}function XZ(...e){let t,r,n;e.length===1?(t=0,n=1,[r]=e):[t,r,n=1]=e;let i=[],o=t;for(;o<r;)i.push(o),o+=n||1;return i}function JZ(e,t,r){return e.splice(r,0,e.splice(t,1)[0]),e}function ZZ(e,t){return Gw(e,0,t.length-1)}function eee(e,t){return Array.from({length:t},r=>e[Math.round(Math.random()*(e.length-1))])}function tee(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1));[e[t],e[r]]=[e[r],e[t]]}return e}function ree(e,t){for(let r=e.length;r--;r>=0)t(e[r],r,e)||e.splice(r,1);return e}function nee(e,t){if(!e)throw new Error(t)}var Ha=e=>Object.prototype.toString.call(e);function qw(e){if(e===null)return"null";let t=Ha(e).slice(8,-1).toLowerCase();return typeof e=="object"||typeof e=="function"?t:typeof e}function iee(){}function Vw(e,t){let r=qw(e),n=qw(t);if(r!==n)return!1;if(r==="array")return e.length!==t.length?!1:e.every((i,o)=>Vw(i,t[o]));if(r==="object"){let i=Object.keys(e);return i.length!==Object.keys(t).length?!1:i.every(o=>Vw(e[o],t[o]))}return Object.is(e,t)}function oee(e){e.forEach(t=>t&&t())}function aee(e){return e()}function see(e,t){return t(e),e}function gR(e){return e!=null}function uee(e){return e!==null}function lee(e){return e!==void 0}function cee(e){return!!e}var fee=e=>typeof e<"u",pee=e=>typeof e=="boolean",hee=e=>typeof e=="function",dee=e=>typeof e=="number",mee=e=>typeof e=="string",Yw=e=>Ha(e)==="[object Object]",gee=e=>Ha(e)==="[object Undefined]",bee=e=>Ha(e)==="[object Null]",yee=e=>Ha(e)==="[object RegExp]",vee=e=>Ha(e)==="[object Date]",xee=e=>typeof window<"u"&&Ha(e)==="[object Window]",wee=typeof window<"u";function kee(e,t){return Object.fromEntries(Object.entries(e).map(([r,n])=>t(r,n)).filter(gR))}function See(e,t){return t in e}function Qw(e){return Object.keys(e)}function _ee(e){return Object.entries(e)}function Uw(e,...t){if(!t.length)return e;let r=t.shift();return r===void 0?e:(nu(e)&&nu(r)&&Qw(r).forEach(n=>{n==="__proto__"||n==="constructor"||n==="prototype"||(nu(r[n])?(e[n]||(e[n]={}),nu(e[n])?Uw(e[n],r[n]):e[n]=r[n]):e[n]=r[n])}),Uw(e,...t))}function D0(e,...t){if(!t.length)return e;let r=t.shift();return r===void 0?e:(Array.isArray(e)&&Array.isArray(r)&&e.push(...r),nu(e)&&nu(r)&&Qw(r).forEach(n=>{n==="__proto__"||n==="constructor"||n==="prototype"||(Array.isArray(r[n])?(e[n]||(e[n]=[]),D0(e[n],r[n])):nu(r[n])?(e[n]||(e[n]={}),D0(e[n],r[n])):e[n]=r[n])}),D0(e,...t))}function nu(e){return Yw(e)&&!Array.isArray(e)}function Cee(e,t,r=!1){return t.reduce((n,i)=>(i in e&&(!r||e[i]!==void 0)&&(n[i]=e[i]),n),{})}function Eee(e){return Object.keys(e).forEach(t=>e[t]===void 0?delete e[t]:{}),e}function Aee(e,t){return e==null?!1:Object.prototype.hasOwnProperty.call(e,t)}var zw=class{value;next;constructor(t){this.value=t}},Ww=class{#e;#t;#r;constructor(){this.clear()}enqueue(t){let r=new zw(t);this.#e?(this.#t.next=r,this.#t=r):(this.#e=r,this.#t=r),this.#r++}dequeue(){let t=this.#e;if(t)return this.#e=this.#e.next,this.#r--,t.value}peek(){if(this.#e)return this.#e.value}clear(){this.#e=void 0,this.#t=void 0,this.#r=0}get size(){return this.#r}*[Symbol.iterator](){let t=this.#e;for(;t;)yield t.value,t=t.next}};function Dee(e){fR(e);let t=new Ww,r=0,n=()=>{r<e&&t.size>0&&(t.dequeue()(),r++)},i=()=>{r--,n()},o=async(u,l,f)=>{let p=(async()=>u(...f))();l(p);try{await p}catch{}i()},a=(u,l,f)=>{new Promise(p=>{t.enqueue(p)}).then(o.bind(void 0,u,l,f)),(async()=>(await Promise.resolve(),r<e&&n()))()},s=(u,...l)=>new Promise(f=>{a(u,f,l)});return Object.defineProperties(s,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value(){t.clear()}},concurrency:{get:()=>e,set(u){fR(u),e=u,queueMicrotask(()=>{for(;r<e&&t.size>0;)n()})}}}),s}function fR(e){if(!((Number.isInteger(e)||e===Number.POSITIVE_INFINITY)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up")}var A0=Symbol("p-void"),Hw=class e extends Promise{constructor(t=[],r){super(()=>{}),this.items=t,this.options=r,this.promises=new Set}get promise(){var t;let r,n=[...Array.from(this.items),...Array.from(this.promises)];if((t=this.options)!=null&&t.concurrency){let i=Dee(this.options.concurrency);r=Promise.all(n.map(o=>i(()=>o)))}else r=Promise.all(n);return r.then(i=>i.filter(o=>o!==A0))}add(...t){t.forEach(r=>{this.promises.add(r)})}map(t){return new e(Array.from(this.items).map(async(r,n)=>{let i=await r;return i===A0?A0:t(i,n)}),this.options)}filter(t){return new e(Array.from(this.items).map(async(r,n)=>{let i=await r;return await t(i,n)?i:A0}),this.options)}forEach(t){return this.map(t).then()}reduce(t,r){return this.promise.then(n=>n.reduce(t,r))}clear(){this.promises.clear()}then(t){let r=this.promise;return t?r.then(t):r}catch(t){return this.promise.catch(t)}finally(t){return this.promise.finally(t)}};function Pee(e,t){return new Hw(e,t)}function Oee(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{let n=t;t=void 0,n&&await n},r}function Tee(e,t){return new Promise(r=>setTimeout(async()=>{await t?.(),r()},e))}function Ree(){let e=[];return{async run(t){let r=t();e.push(r);try{return await r}finally{dR(e,r)}},async wait(){await Promise.allSettled(e)},isWaiting(){return!!e.length},clear(){e.length=0}}}function Fee(){let e,t,r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r}function Iee(e){return e.replace(/\\/g,"/")}function Lee(e,t){return t.startsWith(e)?t:e+t}function $ee(e,t){return t.endsWith(e)?t:t+e}function Nee(e,...t){let[r,n]=t;if(Yw(r)){let i=r;return e.replace(/\{(\w+)\}/g,(o,a)=>i[a]||((typeof n=="function"?n(a):n)??a))}else return e.replace(/\{(\d+)\}/g,(i,o)=>{let a=Number(o);return Number.isNaN(a)?o:t[a]})}var Bee="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function jee(e=16,t=Bee){let r="",n=e,i=t.length;for(;n--;)r+=t[Math.random()*i|0];return r}function Mee(e){return e[0].toUpperCase()+e.slice(1).toLowerCase()}var qee=/^\s*$/;function Vee(e){let t=(typeof e=="string"?e:e[0]).split(`
|
|
127
|
+
`),r=t.map(a=>qee.test(a)),n=t.reduce((a,s,u)=>{var l;if(r[u])return a;let f=(l=s.match(/^\s*/))==null?void 0:l[0].length;return f===void 0?a:Math.min(a,f)},Number.POSITIVE_INFINITY),i=0;for(;i<t.length&&r[i];)i++;let o=0;for(;o<t.length&&r[t.length-o-1];)o++;return t.slice(i,t.length-o).map(a=>a.slice(n)).join(`
|
|
128
|
+
`)}var Uee=()=>+Date.now();function bR(e,t,r){var n=r||{},i=n.noTrailing,o=i===void 0?!1:i,a=n.noLeading,s=a===void 0?!1:a,u=n.debounceMode,l=u===void 0?void 0:u,f,p=!1,m=0;function b(){f&&clearTimeout(f)}function v(C){var P=C||{},A=P.upcomingOnly,E=A===void 0?!1:A;b(),p=!E}function w(){for(var C=arguments.length,P=new Array(C),A=0;A<C;A++)P[A]=arguments[A];var E=this,y=Date.now()-m;if(p)return;function L(){m=Date.now(),t.apply(E,P)}function I(){f=void 0}!s&&l&&!f&&L(),b(),l===void 0&&y>e?s?(m=Date.now(),o||(f=setTimeout(l?I:L,e))):L():o!==!0&&(f=setTimeout(l?I:L,l===void 0?e-y:e))}return w.cancel=v,w}function zee(e,t,r){var n=r||{},i=n.atBegin,o=i===void 0?!1:i;return bR(e,t,{debounceMode:o!==!1})}fe.assert=nee;fe.at=mR;fe.batchInvoke=oee;fe.capitalize=Mee;fe.clamp=Gw;fe.clampArrayRange=ZZ;fe.clearUndefined=Eee;fe.createControlledPromise=Fee;fe.createPromiseLock=Ree;fe.createSingletonPromise=Oee;fe.debounce=zee;fe.deepMerge=Uw;fe.deepMergeWithArray=D0;fe.ensurePrefix=Lee;fe.ensureSuffix=$ee;fe.filterInPlace=ree;fe.flattenArrayable=hR;fe.getTypeName=qw;fe.hasOwnProperty=Aee;fe.invoke=aee;fe.isBoolean=pee;fe.isBrowser=wee;fe.isDate=vee;fe.isDeepEqual=Vw;fe.isDef=fee;fe.isFunction=hee;fe.isKeyOf=See;fe.isNull=bee;fe.isNumber=dee;fe.isObject=Yw;fe.isRegExp=yee;fe.isString=mee;fe.isTruthy=cee;fe.isUndefined=gee;fe.isWindow=xee;fe.last=QZ;fe.lerp=pR;fe.mergeArrayable=HZ;fe.move=JZ;fe.noNull=uee;fe.noop=iee;fe.notNullish=gR;fe.notUndefined=lee;fe.objectEntries=_ee;fe.objectKeys=Qw;fe.objectMap=kee;fe.objectPick=Cee;fe.p=Pee;fe.partition=GZ;fe.randomStr=jee;fe.range=XZ;fe.remap=WZ;fe.remove=dR;fe.sample=eee;fe.shuffle=tee;fe.slash=Iee;fe.sleep=Tee;fe.sum=zZ;fe.tap=see;fe.template=Nee;fe.throttle=bR;fe.timestamp=Uee;fe.toArray=Kw;fe.toString=Ha;fe.unindent=Vee;fe.uniq=KZ;fe.uniqueBy=YZ});var sp=ne(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});J.link=J.trueColorBg=J.trueColor=J.ansi256Bg=J.ansi256=J.bgLightGray=J.bgLightCyan=J.bgLightMagenta=J.bgLightBlue=J.bgLightYellow=J.bgLightGreen=J.bgLightRed=J.bgGray=J.bgWhite=J.bgCyan=J.bgMagenta=J.bgBlue=J.bgYellow=J.bgGreen=J.bgRed=J.bgBlack=J.lightCyan=J.lightMagenta=J.lightBlue=J.lightYellow=J.lightGreen=J.lightRed=J.lightGray=J.gray=J.white=J.cyan=J.magenta=J.blue=J.yellow=J.green=J.red=J.black=J.strikethrough=J.hidden=J.inverse=J.underline=J.italic=J.dim=J.bold=J.reset=J.stripColors=J.options=void 0;var iu=!0,Rl=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{},ap=0;Rl.process&&Rl.process.env&&Rl.process.stdout&&(Fl=Rl.process.env,ip=Fl.FORCE_COLOR,yR=Fl.NODE_DISABLE_COLORS,vR=Fl.NO_COLOR,op=Fl.TERM,O0=Fl.COLORTERM,yR||vR||ip==="0"?iu=!1:ip==="1"||ip==="2"||ip==="3"?iu=!0:op==="dumb"?iu=!1:"CI"in Rl.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(function(e){return e in Rl.process.env})?iu=!0:iu=process.stdout.isTTY,iu&&(process.platform==="win32"||O0&&(O0==="truecolor"||O0==="24bit")?ap=3:op&&(op.endsWith("-256color")||op.endsWith("256"))?ap=2:ap=1));var Fl,ip,yR,vR,op,O0;J.options={enabled:iu,supportLevel:ap};function $e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,n="\x1B[".concat(e,"m"),i="\x1B[".concat(t,"m"),o=new RegExp("\\x1b\\[".concat(t,"m"),"g");return function(a){return J.options.enabled&&J.options.supportLevel>=r?n+(""+a).replace(o,n)+i:""+a}}function kR(e,t,r){if(e>>4===t>>4&&t>>4===r>>4)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;var n=16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5);return n}function Wee(e){return(""+e).replace(/\x1b\[[0-9;]+m/g,"").replace(/\x1b\]8;;.*?\x07(.*?)\x1b\]8;;\x07/g,function(t,r){return r})}J.stripColors=Wee;J.reset=$e(0,0);J.bold=$e(1,22);J.dim=$e(2,22);J.italic=$e(3,23);J.underline=$e(4,24);J.inverse=$e(7,27);J.hidden=$e(8,28);J.strikethrough=$e(9,29);J.black=$e(30,39);J.red=$e(31,39);J.green=$e(32,39);J.yellow=$e(33,39);J.blue=$e(34,39);J.magenta=$e(35,39);J.cyan=$e(36,39);J.white=$e(97,39);J.gray=$e(90,39);J.lightGray=$e(37,39);J.lightRed=$e(91,39);J.lightGreen=$e(92,39);J.lightYellow=$e(93,39);J.lightBlue=$e(94,39);J.lightMagenta=$e(95,39);J.lightCyan=$e(96,39);J.bgBlack=$e(40,49);J.bgRed=$e(41,49);J.bgGreen=$e(42,49);J.bgYellow=$e(43,49);J.bgBlue=$e(44,49);J.bgMagenta=$e(45,49);J.bgCyan=$e(46,49);J.bgWhite=$e(107,49);J.bgGray=$e(100,49);J.bgLightRed=$e(101,49);J.bgLightGreen=$e(102,49);J.bgLightYellow=$e(103,49);J.bgLightBlue=$e(104,49);J.bgLightMagenta=$e(105,49);J.bgLightCyan=$e(106,49);J.bgLightGray=$e(47,49);var Hee=function(t){return $e("38;5;"+t,0,2)};J.ansi256=Hee;var Gee=function(t){return $e("48;5;"+t,0,2)};J.ansi256Bg=Gee;var Kee=function(t,r,n){return J.options.supportLevel===2?J.ansi256(kR(t,r,n)):$e("38;2;".concat(t,";").concat(r,";").concat(n),0,3)};J.trueColor=Kee;var Yee=function(t,r,n){return J.options.supportLevel===2?J.ansi256Bg(kR(t,r,n)):$e("48;2;".concat(t,";").concat(r,";").concat(n),0,3)};J.trueColorBg=Yee;var xR="\x1B]",wR="\x07",T0=";";function Qee(e,t){return J.options.enabled?xR+"8"+T0+T0+t+wR+e+xR+"8"+T0+T0+wR:"".concat(e," (\u200B").concat(t,"\u200B)")}J.link=Qee});var R0=ne(_R=>{"use strict";var Xee=sp(),SR=new Set;function Jee(e){SR.has(e)||(SR.add(e),console.warn(Xee.yellow(`[@iconify-loader] ${e}`)))}_R.warnOnce=Jee});var Xw=ne(ER=>{"use strict";var Zee=E0(),CR=P0(),ete=sp(),tte=R0(),Il,F0={};async function rte(e,t){return Il&&await Il,F0[e]||(console.log(ete.cyan(`Installing ${e}...`)),typeof t=="function"?F0[e]=Il=t(e).then(()=>CR.sleep(300)).finally(()=>{Il=void 0}):F0[e]=Il=Zee.installPackage(e,{dev:!0,preferOffline:!0}).then(()=>CR.sleep(300)).catch(r=>{tte.warnOnce(`Failed to install ${e}`),console.error(r)}).finally(()=>{Il=void 0})),F0[e]}ER.tryInstallPkg=rte});var TR=ne(OR=>{"use strict";var AR=require("fs"),nte=Bw(),DR=Xw(),Ll=Qf();E0();P0();sp();R0();var PR=Object.create(null),Jw=Object.create(null);async function ite(e,t=!1,r="@iconify-json",n=process.cwd()){let i=PR[n]||(PR[n]=Object.create(null));return await i[e]||(i[e]=o()),i[e];async function o(){let a=r.length===0?e:`${r}/${e}`,s=await Ll.resolvePath(`${a}/icons.json`,{url:n}).catch(()=>{});if(r==="@iconify-json"){if(Jw[n]===void 0){let f=await Ll.resolvePath("@iconify/json/collections.json",{url:n}).catch(()=>{});Jw[n]=!!f}let l=Jw[n];!s&&l&&(s=await Ll.resolvePath(`@iconify/json/json/${e}.json`,{url:n}).catch(()=>{})),!s&&!l&&t&&(await DR.tryInstallPkg(a,t),s=await Ll.resolvePath(`${a}/icons.json`,{url:n}).catch(()=>{}))}else!s&&t&&(await DR.tryInstallPkg(a,t),s=await Ll.resolvePath(`${a}/icons.json`,{url:n}).catch(()=>{}));if(!s){let l=await Ll.resolvePath(a,{url:n}).catch(()=>{});if(l?.match(/^[a-z]:/i)&&(l=`file:///${l}`.replace(/\\/g,"/")),l){let{icons:f}=await nte.importModule(l);if(f)return f}}let u;try{u=s?await AR.promises.lstat(s):void 0}catch{return}if(u?.isFile())return JSON.parse(await AR.promises.readFile(s,"utf8"))}}OR.loadCollectionFromFS=ite});var I0=ne(RR=>{"use strict";function ote(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}RR.trimSVG=ote});var Zw=ne(FR=>{"use strict";var ate=zi(),ste=Ff(),ute=I0();bl();Qi();Hs();Gs();Ks();function lte(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var cte=lte(ate),fte=cte("@iconify-loader:custom");async function pte(e,t,r,n){let i;fte(`${t}:${r}`);try{if(typeof e=="function")i=await e(r);else{let o=e[r];i=typeof o=="function"?await o():o}}catch(o){console.warn(`Failed to load custom icon "${r}" in "${t}":`,o);return}if(i){let o=i.indexOf("<svg");o>0&&(i=i.slice(o));let{transform:a}=n?.customizations??{};return i=typeof a=="function"?await a(i,t,r):i,i.startsWith("<svg")?await ste.mergeIconProps(n?.customizations?.trimCustomSvg===!0?ute.trimSVG(i):i,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),i)}}FR.getCustomIcon=pte});var $R=ne(LR=>{"use strict";var IR=Zw(),hte=dx();zi();Ff();bl();Qi();Hs();Gs();Ks();I0();Fm();Tf();yl();Rf();var dte=async(e,t,r)=>{let n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let i;try{i=await n(t)}catch(o){console.warn(`Failed to load custom icon "${t}" in "${e}":`,o);return}if(i){if(typeof i=="string")return await IR.getCustomIcon(()=>i,e,t,r);if("icons"in i){let o=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await hte.searchForIcon(i,e,o,r)}}}else return await IR.getCustomIcon(n,e,t,r)};LR.loadIcon=dte});var BR=ne(NR=>{"use strict";var mte=dx(),gte=TR(),bte=R0(),yte=$R(),vte=Ff();bl();Qi();Hs();Gs();Ks();Fm();Tf();yl();Rf();zi();require("fs");Bw();Xw();E0();P0();sp();Qf();Zw();I0();var xte=async(e,t,r)=>{let n=await yte.loadIcon(e,t,r);if(n)return n;let i=Array.isArray(r?.cwd)?r.cwd:[r?.cwd];for(let o=0;o<i.length;o++){let a=await gte.loadCollectionFromFS(e,o===i.length-1?r?.autoInstall:!1,void 0,i[o]);if(a&&(n=await mte.searchForIcon(a,e,vte.getPossibleIconNames(t),r),n))return n}r?.warn&&bte.warnOnce(`failed to load ${r.warn} icon`)};NR.loadNodeIcon=xte});async function MR(){try{return await Promise.resolve().then(()=>(eO(),Z5)).then(e=>e?.loadNodeIcon)}catch{}try{return BR().loadNodeIcon}catch{}}var wte,jR,qR=$(()=>{P3();QD();r1();wte=HD(async e=>{let{cdn:t}=e,r=[],{isNode:n,isVSCode:i,isESLint:o}=t1();if(n&&!i&&!o){let a=await MR();a!==void 0&&r.push(a)}return t&&r.push(YD(t)),r.push(Os),GD(r)}),jR=(e={})=>{let t=wte(e),r=t.api;return r.createNodeLoader=MR,t}});function kte(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Ste(e,t,r,n){for(let i of Array.from(e.matchAll(r)))if(i!=null){let o=i[0],a=`${n}${kte(o)}`;t.set(a,o),e=e.replace(o,a)}return e}function _te(e,t){for(let[r,n]of t.entries())e=e.replaceAll(r,n);return e}function Ete(e){return e.includes("sourceMappingURL=")?e.replace(Cte,""):e}function Ote(e){let t=[];for(let i of e.matchAll(Dte))i.index!==0&&!/^[\s'"`]/.test(e[i.index-1]??"")||t.push(i[0]);for(let i of e.matchAll(Ate))t.push(i[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return e=Ste(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(Od).forEach(i=>{i.includes(n)&&(i=_te(i,r)),Yu(i)&&!Pte.test(i)&&t.push(i)}),t}function L0(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return Ote(Ete(e))}}}var Cte,Ate,Dte,Pte,ek=$(()=>{Dt();Cte=/\/\/#\s*sourceMappingURL=.*\n?/g;Ate=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Dte=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Pte=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/});function up(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let i=n&31;n>>>=5,n>0&&(i|=32),e.write(WR[i])}while(n>0);return t}function HR(e){let t=new Ite,r=0,n=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(a>0&&t.write(Rte),s.length===0)continue;let u=0;for(let l=0;l<s.length;l++){let f=s[l];l>0&&t.write(Tte),u=up(t,f[0],u),f.length!==1&&(r=up(t,f[1],r),n=up(t,f[2],n),i=up(t,f[3],i),f.length!==4&&(o=up(t,f[4],o)))}}return t.flush()}var Tte,Rte,VR,WR,Fte,UR,zR,Ite,GR=$(()=>{Tte=44,Rte=59,VR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",WR=new Uint8Array(64),Fte=new Uint8Array(128);for(let e=0;e<VR.length;e++){let t=VR.charCodeAt(e);WR[e]=t,Fte[t]=e}UR=1024*16,zR=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},Ite=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(UR)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===UR&&(this.out+=zR.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:r}=this;return r>0?t+zR.decode(e.subarray(0,r)):t}}});function Lte(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}function Nte(e){let t=e.split(`
|
|
129
|
+
`),r=t.filter(o=>/^\t+/.test(o)),n=t.filter(o=>/^ {2,}/.test(o));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((o,a)=>{let s=/^ +/.exec(a)[0].length;return Math.min(s,o)},1/0);return new Array(i+1).join(" ")}function Bte(e,t){let r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}function Mte(e){return jte.call(e)==="[object Object]"}function KR(e){let t=e.split(`
|
|
130
|
+
`),r=[];for(let n=0,i=0;n<t.length;n++)r.push(i),i+=t[n].length+1;return function(i){let o=0,a=r.length;for(;o<a;){let l=o+a>>1;i<r[l]?a=l:o=l+1}let s=o-1,u=i-r[s];return{line:s,column:u}}}var $0,N0,$te,tk,jte,qte,rk,lp,$l,B0,YR=$(()=>{GR();$0=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},N0=class e{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,n=this.original.slice(0,r),i=this.original.slice(r);this.original=n;let o=new e(t,this.end,i);return o.outro=this.outro,this.outro="",this.end=t,this.edited?(o.edit("",!1),this.content=""):this.content=n,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};$te=Lte(),tk=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=HR(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+$te(this.toString())}};jte=Object.prototype.toString;qte=/\w/,rk=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,i){if(r.length){let o=r.length-1,a=r.indexOf(`
|
|
131
|
+
`,0),s=-1;for(;a>=0&&o>a;){let l=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&l.push(i),this.rawSegments.push(l),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=a,a=r.indexOf(`
|
|
132
|
+
`,a+1)}let u=[this.generatedCodeColumn,t,n.line,n.column];i>=0&&u.push(i),this.rawSegments.push(u),this.advance(r.slice(s+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,i,o){let a=r.start,s=!0,u=!1;for(;a<r.end;){if(n[a]===`
|
|
133
|
+
`)i.line+=1,i.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,s=!0,u=!1;else{if(this.hires||s||o.has(a)){let l=[this.generatedCodeColumn,t,i.line,i.column];this.hires==="boundary"?qte.test(n[a])?u||(this.rawSegments.push(l),u=!0):(this.rawSegments.push(l),u=!1):this.rawSegments.push(l)}i.column+=1,this.generatedCodeColumn+=1,s=!1}a+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
|
|
134
|
+
`);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},lp=`
|
|
135
|
+
`,$l={insertLeft:!1,insertRight:!1,storeName:!1},B0=class e{constructor(t,r={}){let n=new N0(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new $0},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;let i=r.next,o=i&&i.clone();o&&(n.next=o,o.previous=n,n=o),r=i}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new $0(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,n=Object.keys(this.storedNames),i=new rk(t.hires),o=KR(this.original);return this.intro&&i.advance(this.intro),this.firstChunk.eachNext(a=>{let s=o(a.start);a.intro.length&&i.advance(a.intro),a.edited?i.addEdit(r,a.content,s,a.storeName?n.indexOf(a.original):-1):i.addUneditedChunk(r,a,this.original,s,this.sourcemapLocations),a.outro.length&&i.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Bte(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:i.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new tk(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Nte(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let n=/^[^\r\n]/gm;if(Mte(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let i={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let p=f[0];p<f[1];p+=1)i[p]=!0});let o=r.indentStart!==!1,a=l=>o?`${t}${l}`:(o=!0,l);this.intro=this.intro.replace(n,a);let s=0,u=this.firstChunk;for(;u;){let l=u.end;if(u.edited)i[s]||(u.content=u.content.replace(n,a),u.content.length&&(o=u.content[u.content.length-1]===`
|
|
136
|
+
`));else for(s=u.start;s<l;){if(!i[s]){let f=this.original[s];f===`
|
|
137
|
+
`?o=!0:f!=="\r"&&o&&(o=!1,s===u.start||(this._splitChunk(u,s),u=u.next),u.prependRight(t))}s+=1}s=u.end,u=u.next}return this.outro=this.outro.replace(n,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return $l.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),$l.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return $l.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),$l.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);let i=this.byStart[t],o=this.byEnd[r],a=i.previous,s=o.next,u=this.byStart[n];if(!u&&o===this.lastChunk)return this;let l=u?u.previous:this.lastChunk;return a&&(a.next=s),s&&(s.previous=a),l&&(l.next=i),u&&(u.previous=o),i.previous||(this.firstChunk=o.next),o.next||(this.lastChunk=i.previous,this.lastChunk.next=null),i.previous=l,o.next=u||null,l||(this.firstChunk=i),u||(this.lastChunk=o),this}overwrite(t,r,n,i){return i=i||{},this.update(t,r,n,{...i,overwrite:!i.contentOnly})}update(t,r,n,i){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),i===!0&&($l.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),$l.storeName=!0),i={storeName:!0});let o=i!==void 0?i.storeName:!1,a=i!==void 0?i.overwrite:!1;if(o){let l=this.original.slice(t,r);Object.defineProperty(this.storedNames,l,{writable:!0,value:!0,enumerable:!0})}let s=this.byStart[t],u=this.byEnd[r];if(s){let l=s;for(;l!==u;){if(l.next!==this.byStart[l.end])throw new Error("Cannot overwrite across a split point");l=l.next,l.edit("",!1)}s.edit(n,o,!a)}else{let l=new N0(t,r,"").edit(n,o);u.next=l,l.previous=u}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(lp);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(lp),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(lp),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(lp),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(lp),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",i=this.firstChunk;for(;i&&(i.start>t||i.end<=t);){if(i.start<r&&i.end>=r)return n;i=i.next}if(i&&i.edited&&i.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let o=i;for(;i;){i.intro&&(o!==i||i.start===t)&&(n+=i.intro);let a=i.start<r&&i.end>=r;if(a&&i.edited&&i.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let s=o===i?t-i.start:0,u=a?i.content.length+r-i.end:i.content.length;if(n+=i.content.slice(s,u),i.outro&&(!a||i.end===r)&&(n+=i.outro),a)break;i=i.next}return n}snip(t,r){let n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let i=KR(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${i.line}:${i.column} \u2013 "${t.original}")`)}let n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{let i=n.end,o=n.trimEnd(r);if(n.end!==i&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),o)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{let i=n.end,o=n.trimStart(r);if(n.end!==i&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),o)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(o,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(s,u)=>u==="$"?"$":u==="&"?o[0]:+u<o.length?o[+u]:`$${u}`):r(...o,o.index,a,o.groups)}function i(o,a){let s,u=[];for(;s=o.exec(a);)u.push(s);return u}if(t.global)i(t,this.original).forEach(a=>{if(a.index!=null){let s=n(a,this.original);s!==a[0]&&this.overwrite(a.index,a.index+a[0].length,s)}});else{let o=this.original.match(t);if(o&&o.index!=null){let a=n(o,this.original);a!==o[0]&&this.overwrite(o.index,o.index+o[0].length,a)}}return this}_replaceString(t,r){let{original:n}=this,i=n.indexOf(t);return i!==-1&&this.overwrite(i,i+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:n}=this,i=t.length;for(let o=n.indexOf(t);o!==-1;o=n.indexOf(t,o+i))n.slice(o,o+i)!==r&&this.overwrite(o,o+i,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}}});function Pi(e,t,r){if(e==="")return;let n=e.length,i=0,o=!1,a=0;for(let s=0;s<n;s++)switch(e[s]){case t:o||(o=!0,a=s),i++;break;case r:if(--i,i<0)return;if(i===0)return[e.slice(a,s+1),e.slice(s+1),e.slice(0,a)];break}}function ti(e,t,r,n){if(e===""||(ft(n)&&(n=[n]),n.length===0))return;let i=e.length,o=0;for(let a=0;a<i;a++)switch(e[a]){case t:o++;break;case r:if(--o<0)return;break;default:for(let s of n){let u=s.length;if(u&&s===e.slice(a,a+u)&&o===0)return a===0||a===i-u?void 0:[e.slice(0,a),e.slice(a+u)]}}return[e,""]}function Ga(e,t,r,n="(",i=")"){r=r??10;let o=[],a=0;for(;e!=="";){if(++a>r)return;let s=ti(e,n,i,t);if(!s)return;let[u,l]=s;o.push(u),e=l}if(o.length>0)return o}function sk(e){return e?Vte.some(t=>e.includes(t))||Ute.some(t=>e.includes(t))||zte.some(t=>e.includes(t)):!1}function Sr(e=""){let t=Wte(e);if(t==null||t===!1)return;let{type:r,components:n,alpha:i}=t,o=r.toLowerCase();if(n.length!==0&&!(ok.includes(o)&&![1,3].includes(n.length)))return{type:o,components:n.map(a=>typeof a=="string"?a.trim():a),alpha:typeof i=="string"?i.trim():i}}function au(e){let t=e.alpha??1;return typeof t=="string"&&j0.includes(t)?1:t}function Rt(e,t){if(typeof e=="string")return e.replace(ak,`${t??1}`);let{components:r}=e,{alpha:n,type:i}=e;return n=t??n,i=i.toLowerCase(),["hsla","rgba"].includes(i)?`${i}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,ok.includes(i)?`${i}(${r.join(" ")}${n})`:`color(${i} ${r.join(" ")}${n})`)}function Wte(e){if(!e)return;let t=Hte(e);if(t!=null||(t=Gte(e),t!=null)||(t=Kte(e),t!=null)||(t=Qte(e),t!=null)||(t=Xte(e),t!=null))return t}function Hte(e){let[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{let r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{let r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Gte(e){let t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Kte(e){let t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;let[,r,n]=t,i=Ga(n,",",5);if(i){if([3,4].includes(i.length))return{type:r,components:i.slice(0,3),alpha:i[3]};if(i.length!==1)return!1}}function Qte(e){let t=e.match(Yte);if(!t)return;let[,r,n]=t,i=ZR(`${r} ${n}`);if(i){let{alpha:o,components:[a,...s]}=i;return{type:a,components:s,alpha:o}}}function Xte(e){let t=e.match(/^color\((.+)\)$/);if(!t)return;let r=ZR(t[1]);if(r){let{alpha:n,components:[i,...o]}=r;return{type:i,components:o,alpha:n}}}function ZR(e){let t=Ga(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){let o=t.splice(r-2);t.push(o.join(" ")),--r}let n=Ga(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};let i=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:i}}function Nl(e){return e.includes("theme(")&&e.includes(")")}function Bl(e,t,r=!0){let n=Array.from(e.toString().matchAll(Jte));if(!n.length)return e;let i=new B0(e);for(let o of n){let a=o[2];if(!a)throw new Error("theme() expect exact one argument, but got 0");let s=uk(a,t,r);s&&i.overwrite(o.index,o.index+o[0].length,s)}return i.toString()}function uk(e,t,r=!0){let[n,i]=e.split("/"),a=n.trim().split(".").reduce((s,u)=>s?.[u],t);if(typeof a=="object"&&(a=a.DEFAULT),typeof a=="string"){if(i){let s=Sr(a);s&&(a=Rt(s,i))}return a}else if(r)throw new Error(`theme of "${e}" did not found`)}function Yo(e){let t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){let n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function M0(e){let t=function(n){let i=this.__options?.sequence||[];this.__options.sequence=[];for(let o of i){let a=e[o](n);if(a!=null)return a}};function r(n,i){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(i),n}for(let n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}function eF(e){return e.includes("icon(")&&e.includes(")")}function tre(e,t,r,n){let{h:i,variantGetBracket:o}=n,a=new RegExp(`^(${tn(t)}:)(\\S+)${tn(r)}\\1`),s,u,l,f,p=v=>{let w=o(`${e}-`,v,[]);if(!w)return;let[C,P]=w,A=i.bracket(C);if(A==null)return;let E=P.split(s,1)?.[0]??"",y=`${t}${rn(E)}`;return[E,v.slice(v.length-(P.length-E.length-1)),A.includes("&")?A.replace(/&/g,y):`${y}${A}`]},m=v=>{let w=v.match(u)||v.match(l);if(!w)return;let[C,P,A]=w,E=w[3]??"",y=jl[A]||Ml[A]||`:${A}`;return P&&(y=`:${P}(${y})`),[E,v.slice(C.length),`${t}${rn(E)}${y}`,A]},b=v=>{let w=v.match(f);if(!w)return;let[C,P,A]=w,E=w[3]??"",y=`:${P}(${A})`;return[E,v.slice(C.length),`${t}${rn(E)}${y}`]};return{name:`pseudo:${e}`,match(v,w){if(s&&u&&l||(s=new RegExp(`(?:${w.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${ou})-)?(${nk}))(?:(/[\\w-]+))?(?:${w.generator.config.separators.join("|")})`),l=new RegExp(`^${e}-(?:(?:(${ou})-)?(${ik}))(?:(/[\\w-]+))?(?:${w.generator.config.separators.filter(L=>L!=="-").join("|")})`),f=new RegExp(`^${e}-(?:(${ou})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${w.generator.config.separators.filter(L=>L!=="-").join("|")})`)),!v.startsWith(e))return;let C=p(v)||m(v)||b(v);if(!C)return;let[P,A,E,y=""]=C;return{matcher:A,handle:(L,I)=>I({...L,prefix:`${E}${r}${L.prefix}`.replace(a,"$1$2:"),sort:rF.indexOf(y)??nF.indexOf(y)})}},multiPass:!0}}function q0(e){let{h:t}=e,r,n,i;return[{name:"pseudo",match(o,a){r&&n||(r=new RegExp(`^(${XR})(?:-(\\d+|\\[\\w+\\]))?(?:${a.generator.config.separators.join("|")})`),n=new RegExp(`^(${JR})(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`));let s=o.match(r)||o.match(n);if(s){let u=jl[s[1]]||Ml[s[1]]||`:${s[1]}`;if(s[2]){let f;s[2].startsWith("[")&&s[2].endsWith("]")?f=t.bracket(s[2]):f=s[2],f&&(u=u.replace(tF,f))}let l=rF.indexOf(s[1]);return l===-1&&(l=nF.indexOf(s[1])),l===-1&&(l=void 0),{matcher:o.slice(s[0].length),handle:(f,p)=>{let m=u.includes("::")&&!ere.includes(u)?{pseudo:`${f.pseudo}${u}`}:{selector:`${f.selector}${u}`};return p({...f,...m,sort:l,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${XR}|${JR}):`},{name:"pseudo:multi",match(o,a){i||(i=new RegExp(`^(${QR})(?:${a.generator.config.separators.join("|")})`));let s=o.match(i);if(s)return iF[s[1]].map(l=>({matcher:o.slice(s[0].length),handle:(f,p)=>p({...f,pseudo:`${f.pseudo}${l}`})}))},multiPass:!1,autocomplete:`(${QR}):`}]}function V0(e){let{getBracket:t,h:r}=e,n,i,o;return{match(a,s){n&&i||(n=new RegExp(`^(${ou})-(${nk})(?:${s.generator.config.separators.join("|")})`),i=new RegExp(`^(${ou})-(${ik})(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`),o=new RegExp(`^(${ou})-(\\[.+\\])(?:${s.generator.config.separators.filter(l=>l!=="-").join("|")})`));let u=a.match(n)||a.match(i)||a.match(o);if(u){let l=u[1],p=t(u[2],"[","]")?r.bracket(u[2]):jl[u[2]]||Ml[u[2]]||`:${u[2]}`;return{matcher:a.slice(u[0].length),selector:m=>`${m}:${l}(${p})`}}},multiPass:!0,autocomplete:`(${ou})-(${nk}|${ik}):`}}function U0(e,t){let r=!!e?.attributifyPseudo,n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";let i=(o,a)=>tre(o,r?`[${n}${o}=""]`:`.${n}${o}`,a,t);return[i("group"," "),i("peer","~"),i("parent",">"),i("previous","+")]}function z0(){return{match(e){let t=e.match(rre);if(t){let r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function Ct(e,t,r={}){let n;return{name:e,match(i,o){n||(n=new RegExp(`^${tn(e)}(?:${o.generator.config.separators.join("|")})`));let a=i.match(n);if(a){let s=i.slice(a[0].length),u=Fe(t).map(l=>({matcher:s,handle:(f,p)=>p({...f,...l(f)}),...r}));return u.length===1?u[0]:u}},autocomplete:`${e}:`}}function st(e,t){let r;return{name:e,match(n,i){r||(r=new RegExp(`^${tn(e)}(?:${i.generator.config.separators.join("|")})`));let o=n.match(r);if(o)return{matcher:n.slice(o[0].length),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function qr(e,t,r){if(t.startsWith(`${e}[`)){let[n,i]=Pi(t.slice(e.length),"[","]")??[];if(n&&i){for(let o of r)if(i.startsWith(o))return[n,i.slice(o.length),o];return[n,i,""]}}}function vt(e,t,r){for(let n of Fe(e))if(t.startsWith(n)){let i=qr(n,t,r);if(i){let[o="",a=i[1]]=vt("/",i[1],r)??[];return[i[0],a,o]}for(let o of r.filter(a=>a!=="/")){let a=t.indexOf(o,n.length);if(a!==-1){let s=t.indexOf("/",n.length),u=s===-1||a<=s;return[t.slice(n.length,u?a:s),t.slice(a+o.length),u?"":t.slice(s+1,a)]}}}}var ok,Vte,Ute,zte,j0,ak,Yte,Jte,tF,jl,rF,Ml,nF,Zte,iF,nk,ik,ou,QR,ere,XR,JR,rre,Pn=$(()=>{Dt();YR();ok=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Vte=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Ute=["hsl","hwb","lch","oklch"],zte=["shorter","longer","increasing","decreasing"],j0=["%alpha","<alpha-value>"],ak=new RegExp(j0.map(e=>tn(e)).join("|"),"g");Yte=new RegExp(`^(${ok.join("|")})\\((.+)\\)$`,"i");Jte=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;tF="__pseudo_placeholder__",jl=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${tF})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),rF=Object.keys(jl),Ml=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),nF=Object.keys(Ml),Zte=["not","is","where","has"],iF=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),nk=Object.entries(jl).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ik=Object.entries(Ml).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ou=Zte.join("|"),QR=Object.keys(iF).sort((e,t)=>t.length-e.length).join("|"),ere=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],XR=Object.entries(jl).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),JR=Object.entries(Ml).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");rre=/(part-\[(.+)\]:)(.+)/});function ri(e){return+e.toFixed(10)}function ore(e){let t=e.match(K0);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(n&&!Number.isNaN(i))return`${ri(i)}${n}`}function are(e){if(e==="auto"||e==="a")return"auto"}function sre(e){if(!e)return;if(pF.test(e))return`${hF[e]}${e}`;let t=e.match(K0);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${ri(i)}${n}`:`${ri(i/4)}rem`}function ure(e){if(pF.test(e))return`${hF[e]}${e}`;let t=e.match(K0);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return n?`${ri(i)}${n}`:`${ri(i)}px`}function lre(e){if(!fF.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return ri(t)}function cre(e){if(e.endsWith("%")&&(e=e.slice(0,-1)),!fF.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return`${ri(t/100)}`}function fre(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${ri(n*100)}%`}function Y0(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,i=e.match(dF);if(i?(t||(n=i[1]),r=e.slice(i[0].length,-1)):r=e.slice(1,-1),!r||r==='=""')return;r.startsWith("--")&&(r=`var(${r})`);let o=0;for(let a of r)if(a==="[")o+=1;else if(a==="]"&&(o-=1,o<0))return;if(o)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(u,l)=>(s.push(l),u.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function pre(e){return Y0(e)}function hre(e){return Y0(e,"color")}function dre(e){return Y0(e,"length")}function mre(e){return Y0(e,"position")}function gre(e){if(/^\$[^\s'"`;{}]/.test(e)){let[t,r]=e.slice(1).split(",");return`var(--${rn(t)}${r?`, ${r}`:""})`}}function bre(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0&&!n?"0s":n?`${ri(i)}${n}`:`${ri(i)}ms`}function yre(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${ri(i)}${n}`:`${ri(i)}deg`}function vre(e){if(ut.includes(e))return e}function xre(e){if(e.split(",").every(t=>ire.includes(t)))return e}function wre(e){if(["top","left","right","bottom","center"].includes(e))return e}function xt(e){return([t,r,n],{theme:i})=>{let o=i.spacing?.[n||"DEFAULT"]??q.bracket.cssvar.global.auto.fraction.rem(n);if(o!=null)return _r[r].map(a=>[`${e}${a}`,o]);if(n?.startsWith("-")){let a=i.spacing?.[n.slice(1)];if(a!=null)return _r[r].map(s=>[`${e}${s}`,`calc(${a} * -1)`])}}}function aF(e,t,r="colors"){let n=e[r],i=-1;for(let o of t){if(i+=1,n&&typeof n!="string"){let a=t.slice(i).join("-").replace(/(-[a-z])/g,s=>s.slice(1).toUpperCase());if(n[a])return n[a];if(n[o]){n=n[o];continue}}return}return n}function sF(e,t,r){return aF(e,t,r)||aF(e,t,"colors")}function Q0(e,t){let[r,n]=ti(e,"[","]",["/",":"])??[];if(r!=null){let i=(r.match(dF)??[])[1];if(i==null||i===t)return[r,n]}}function su(e,t,r){let n=Q0(e,"color");if(!n)return;let[i,o]=n,a=i.replace(/([a-z])(\d)/g,"$1-$2").split(/-/g),[s]=a;if(!s)return;let u,l=q.bracketOfColor(i),f=l||i;if(q.numberWithUnit(f))return;if(/^#[\da-f]+$/i.test(f)?u=f:/^hex-[\da-fA-F]+$/.test(f)?u=`#${f.slice(4)}`:i.startsWith("$")&&(u=q.cssvar(i)),u=u||l,!u){let m=sF(t,[i],r);typeof m=="string"&&(u=m)}let p="DEFAULT";if(!u){let m=a,b,[v]=a.slice(-1);/^\d+$/.test(v)&&(p=b=v,m=a.slice(0,-1));let w=sF(t,m,r);typeof w=="object"?u=w[b??p]:typeof w=="string"&&!b&&(u=w)}return{opacity:o,name:s,no:p,color:u,cssColor:Sr(u),alpha:q.bracket.cssvar.percent(o??"")}}function Ft(e,t,r,n){return([,i],{theme:o,generator:a})=>{let s=su(i??"",o,r);if(!s)return;let{alpha:u,color:l,cssColor:f}=s,m=a.config.envMode==="dev"&&l?` /* ${l} */`:"",b={};if(f)if(u!=null)b[e]=Rt(f,u)+m;else{let v=`--un-${t}-opacity`,w=Rt(f,`var(${v})`);w.includes(v)&&(b[v]=au(f)),b[e]=w+m}else if(l)if(u!=null)b[e]=Rt(l,u)+m;else{let v=`--un-${t}-opacity`,w=Rt(l,`var(${v})`);w.includes(v)&&(b[v]=1),b[e]=w+m}if(n?.(b)!==!1)return b}}function uu(e,t){let r=[];e=Fe(e);for(let n=0;n<e.length;n++){let i=Ga(e[n]," ",6);if(!i||i.length<3)return e;let o=!1,a=i.indexOf("inset");a!==-1&&(i.splice(a,1),o=!0);let s="",u=i.at(-1);if(Sr(i.at(0))){let l=Sr(i.shift());l&&(s=`, ${Rt(l)}`)}else if(Sr(u)){let l=Sr(i.pop());l&&(s=`, ${Rt(l)}`)}else u&&G0.test(u)&&(s=`, ${i.pop()}`);r.push(`${o?"inset ":""}${i.join(" ")} var(${t}${s})`)}return r}function lu(e,t,r){return e!=null&&!!su(e,t,r)?.color}function Ka({theme:e,generator:t},r="breakpoints"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(lk.has(e))return lk.get(e);let i=Object.entries(n).sort((o,a)=>Number.parseInt(o[1].replace(uF,""))-Number.parseInt(a[1].replace(uF,""))).map(([o,a])=>({point:o,size:a}));return lk.set(e,i),i}function je(e,t){return ut.map(r=>[`${e}-${r}`,{[t??e]:r}])}function Qo(e){return e!=null&&cp.test(e)}function fk(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),cp.test(e)||K0.test(e)}function fp(e,t,r){let n=t.split(nre);return e||!e&&n.length===1?lF[e].map(i=>[`--un-${r}${i}`,t]):n.map((i,o)=>[`--un-${r}-${cF[o]}`,i])}var _r,W0,H0,lF,cF,oF,ar,ut,cp,G0,K0,fF,pF,hF,dF,nre,ire,mF,gF,q,ck,uF,lk,ql=$(()=>{Dt();Pn();_r={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-left","-right"],y:["-top","-bottom"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},W0={..._r,s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},H0={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},lF={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},cF=["x","y","z"],oF=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],ar=Object.assign({},...oF.map(e=>({[e.replace(/ /,"-")]:e})),...oF.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),ut=["inherit","initial","revert","revert-layer","unset"],cp=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,G0=/^(var)\s*\((.+)\)(.*)/,K0=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,fF=/^(-?\d*(?:\.\d+)?)$/,pF=/^(px|[sld]?v[wh])$/i,hF={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},dF=/^\[(color|image|length|size|position|quoted|string):/i,nre=/,(?![^()]*\))/g,ire=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];mF={__proto__:null,auto:are,bracket:pre,bracketOfColor:hre,bracketOfLength:dre,bracketOfPosition:mre,cssvar:gre,degree:yre,fraction:fre,global:vre,number:lre,numberWithUnit:ore,percent:cre,position:wre,properties:xre,px:ure,rem:sre,time:bre},gF=M0(mF),q=gF,ck="$$mini-no-negative";uF=/[a-z]+/gi,lk=new WeakMap});function X0(e,t,r={}){return{name:`${e}-aria`,match(n,i){let o=vt(`${e}-aria-`,n,i.generator.config.separators);if(o){let[a,s,u]=o,l=q.bracket(a)??i.theme.aria?.[a]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,b=rn(u?`/${u}`:"");return{matcher:s,handle:(v,w)=>{let C=new RegExp(`${tn(m)}${tn(b)}(?:\\[.+?\\])+`),P=v.prefix.match(C),A;if(P){let E=(P.index??0)+m.length+b.length;A=[v.prefix.slice(0,E),`[aria-${l}]`,v.prefix.slice(E)].join("")}else{let E=Math.max(v.prefix.indexOf(m),0);A=[v.prefix.slice(0,E),m,b,`[aria-${l}]`,t,v.prefix.slice(E)].join("")}return w({...v,prefix:A})}}}}},multiPass:!0}}function kre(){return{name:"has-aria",match(e,t){let r=vt("has-aria-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??t.theme.aria?.[n]??"";if(o)return{matcher:i,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([aria-${o}])`})}}},multiPass:!0}}function vF(e={}){return[X0("group"," ",e),X0("peer","~",e),X0("parent",">",e),X0("previous","+",e),kre()]}function xF(){let e={};return{name:"breakpoints",match(t,r){if(bF.test(t)){let i=t.match(bF);return{matcher:t.replace(i[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}let n=(Ka(r)??[]).map(({point:i,size:o},a)=>[i,o,a]);for(let[i,o,a]of n){e[i]||(e[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[i]);if(!s)continue;let[,u]=s,l=t.slice(u.length);if(l==="container")continue;let f=u.startsWith("lt-")||u.startsWith("<")||u.startsWith("max-"),p=u.startsWith("at-")||u.startsWith("~"),m=3e3;return f?(m-=a+1,{matcher:l,handle:(b,v)=>v({...b,parent:`${b.parent?`${b.parent} $$ `:""}@media (max-width: ${Yo(o)})`,parentOrder:m})}):(m+=a+1,p&&a<n.length-1?{matcher:l,handle:(b,v)=>v({...b,parent:`${b.parent?`${b.parent} $$ `:""}@media (min-width: ${o}) and (max-width: ${Yo(n[a+1][1])})`,parentOrder:m})}:{matcher:l,handle:(b,v)=>v({...b,parent:`${b.parent?`${b.parent} $$ `:""}@media (min-width: ${o})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoints:"}}function pp(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let i=n.generator.config.separators,o=qr(`${e}-`,r,i);if(!o){for(let s of i)if(r.startsWith(`${e}${s}`)){o=["",r.slice(e.length+s.length)];break}if(!o)return}let a=q.bracket(o[0])??"";return a===""&&(a="*"),{matcher:o[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}function _F(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[Ct("dark",Fe(t).map(n=>i=>({prefix:`${n} $$ ${i.prefix}`}))),Ct("light",Fe(r).map(n=>i=>({prefix:`${n} $$ ${i.prefix}`})))]}return[st("dark","@media (prefers-color-scheme: dark)"),st("light","@media (prefers-color-scheme: light)")]}function J0(e,t,r={}){return{name:`${e}-data`,match(n,i){let o=vt(`${e}-data-`,n,i.generator.config.separators);if(o){let[a,s,u]=o,l=q.bracket(a)??i.theme.data?.[a]??"";if(l){let f=!!r?.attributifyPseudo,p=r?.prefix??"";p=(Array.isArray(p)?p:[p]).filter(Boolean)[0]??"";let m=`${f?`[${p}${e}=""]`:`.${p}${e}`}`,b=rn(u?`/${u}`:"");return{matcher:s,handle:(v,w)=>{let C=new RegExp(`${tn(m)}${tn(b)}(?:\\[.+?\\])+`),P=v.prefix.match(C),A;if(P){let E=(P.index??0)+m.length+b.length;A=[v.prefix.slice(0,E),`[data-${l}]`,v.prefix.slice(E)].join("")}else{let E=Math.max(v.prefix.indexOf(m),0);A=[v.prefix.slice(0,E),m,b,`[data-${l}]`,t,v.prefix.slice(E)].join("")}return w({...v,prefix:A})}}}}},multiPass:!0}}function Sre(){return{name:"has-data",match(e,t){let r=vt("has-data-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??t.theme.data?.[n]??"";if(o)return{matcher:i,handle:(a,s)=>s({...a,pseudo:`${a.pseudo}:has([data-${o}])`})}}},multiPass:!0}}function EF(e={}){return[J0("group"," ",e),J0("peer","~",e),J0("parent",">",e),J0("previous","+",e),Sre()]}function DF(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,i=t.match(e);if(i?n=t.slice(i[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:o=>(o.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),o)}}}}function Cre(e){let t=e.match(cp)||e.match(G0);if(t){let[r,n]=ti(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}function Are(e){let t=e.match(Ere);if(t){let[r,n]=ti(t[2],"(",")"," ")??[];if(r){let i=NF.test(r.slice(1,-1))?r.replace(BF,o=>o.startsWith("-")?o.slice(1):`-${o}`):`(calc(${r} * -1))`;return`${t[1]}${i}${n?` ${n}`:""}`}}}function MF(){return q0({getBracket:Pi,h:q,variantGetBracket:qr})}function qF(){return V0({getBracket:Pi,h:q,variantGetBracket:qr})}function VF(e={}){return U0(e,{getBracket:Pi,h:q,variantGetBracket:qr})}function hp(e){return[yF,CF,RF,TF,FF,jF,zF,DF(),WF,PF,OF,xF(),...kF,...MF(),qF(),...VF(e),UF,..._F(e),...AF,IF,...wF,SF,LF,...EF(e),...vF(e),$F]}var yF,bF,wF,kF,SF,CF,AF,PF,OF,TF,RF,FF,IF,LF,$F,NF,BF,_re,Ere,jF,UF,zF,WF,pk=$(()=>{Dt();Pn();ql();yF={name:"aria",match(e,t){let r=vt("aria-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??t.theme.aria?.[n]??"";if(o)return{matcher:i,selector:a=>`${a}[aria-${o}]`}}},multiPass:!0};bF=/(max|min)-\[([^\]]*)\]:/;wF=[Ct("*",e=>({selector:`${e.selector} > *`}),{order:-1})];kF=[pp("all"," "),pp("children",">"),pp("next","+"),pp("sibling","+"),pp("siblings","~")],SF={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=vt("@",e,t.generator.config.separators);if(r){let[n,i,o]=r,a=q.bracket(n),s;if(a?s=q.numberWithUnit(a):s=t.theme.containers?.[n]??"",s){let u=1e3+Object.keys(t.theme.containers??{}).indexOf(n);return o&&(u+=1e3),{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${o?` ${o} `:" "}(min-width: ${s})`,parentOrder:u})}}}},multiPass:!0};CF={name:"data",match(e,t){let r=vt("data-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??t.theme.data?.[n]??"";if(o)return{matcher:i,selector:a=>`${a}[data-${o}]`}}},multiPass:!0};AF=[Ct("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Ct("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];PF=st("print","@media print"),OF={name:"media",match(e,t){let r=vt("media-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??"";if(o===""&&(o=t.theme.media?.[n]??""),o)return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${o}`})}}},multiPass:!0},TF={name:"selector",match(e,t){let r=qr("selector-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n);if(o)return{matcher:i,selector:()=>o}}}},RF={name:"layer",match(e,t){let r=vt("layer-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??n;if(o)return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${o}`})}}}},FF={name:"uno-layer",match(e,t){let r=vt("uno-layer-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??n;if(o)return{matcher:i,layer:o}}}},IF={name:"scope",match(e,t){let r=qr("scope-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n);if(o)return{matcher:i,selector:a=>`${o} $$ ${a}`}}}},LF={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=Pi(e,"[","]")??[];if(!(r&&n))return;let i;for(let s of t.generator.config.separators)if(n.startsWith(s)){i=n.slice(s.length);break}if(i==null)return;let o=q.bracket(r)??"",a=o.startsWith("@");if(a||o.includes("&"))return{matcher:i,handle(s,u){let l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${o}`}:{selector:o.replace(/&/g,s.selector)};return u({...s,...l})}}},multiPass:!0},$F={name:"theme-variables",match(e,t){if(Nl(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Bl(JSON.stringify(r.entries),t.theme))})}}}},NF=/^-?[0-9.]+(?:[a-z]+|%)?$/,BF=/-?[0-9.]+(?:[a-z]+|%)?/,_re=[/\b(opacity|color|flex|backdrop-filter|^filter|transform)\b/];Ere=/\b(hue-rotate)\s*(\(.*)/;jF={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===ck))return;let r=!1;return t.forEach(n=>{let i=n[1]?.toString();if(!i||i==="0"||_re.some(s=>s.test(n[0])))return;let o=Cre(i);if(o){n[1]=o,r=!0;return}let a=Are(i);if(a){n[1]=a,r=!0;return}NF.test(i)&&(n[1]=i.replace(BF,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}};UF=z0(),zF={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},WF={name:"supports",match(e,t){let r=vt("supports-",e,t.generator.config.separators);if(r){let[n,i]=r,o=q.bracket(n)??"";if(o===""&&(o=t.theme.supports?.[n]??""),o)return o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${o}`})}}},multiPass:!0}});function QF([,e],{theme:t}){return{"--un-ring-width":t.ringWidth?.[e]??q.bracket.cssvar.px(e)}}function Tre(e,t){return Qo(q.bracket(e[1]))?QF(e,t):Ft("--un-ring-color","ring","borderColor")(e,t)}function HF([,e,t],{theme:r}){let n=r.spacing?.[t]??q.bracket.cssvar.fraction.rem(t);if(n!=null)return[...fp(e,n,"translate"),["transform",Vl]]}function GF([,e,t]){let r=q.bracket.cssvar.fraction.percent(t);if(r!=null)return[...fp(e,r,"scale"),["transform",Vl]]}function KF([,e="",t]){let r=q.bracket.cssvar.degree(t);if(r!=null)return e?{"--un-rotate":0,[`--un-rotate-${e}`]:r,transform:Vl}:{"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-rotate":r,transform:Vl}}function YF([,e,t]){let r=q.bracket.cssvar.degree(t);if(r!=null)return[...fp(e,r,"skew"),["transform",Vl]]}var Dre,Pre,nt,dp,mp,gp,bp,yp,vp,xp,wp,kp,Sp,_p,Cp,Ep,Ap,Dp,Pp,Op,Ul,Ore,Tp,zl,Rre,Rp,Z0,Fre,Vl,Ire,Wl,eo,Fp,eg=$(()=>{ql();Dre=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],Pre=["none","strict","content","size","inline-size","layout","style","paint"],nt=" ",dp=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:q.bracket.cssvar.global(e)})]],mp=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...je("backface","backface-visibility")],gp=[[/^cursor-(.+)$/,([,e])=>({cursor:q.bracket.cssvar.global(e)})],...Dre.map(e=>[`cursor-${e}`,{cursor:e}])],bp=[[/^contain-(.*)$/,([,e])=>q.bracket(e)!=null?{contain:q.bracket(e).split(" ").map(t=>q.cssvar.fraction(t)??t).join(" ")}:Pre.includes(e)?{contain:e}:void 0]],yp=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...je("pointer-events")],vp=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...je("resize")],xp=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...je("select","user-select")],wp=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...ut].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],kp=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":q.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...je("content-visibility")],Sp=[[/^content-(.+)$/,([,e])=>({content:q.bracket.cssvar(e)})],["content-empty",{content:'""'}],["content-none",{content:"none"}]],_p=[["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"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],Cp=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Ep=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Ap=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],...je("case","text-transform")],Dp=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Pp=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Op=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Ul={"--un-ring-inset":nt,"--un-ring-offset-width":"0px","--un-ring-offset-color":"#fff","--un-ring-width":"0px","--un-ring-color":"rgb(147 197 253 / 0.5)","--un-shadow":"0 0 rgb(0 0 0 / 0)"},Ore=Object.keys(Ul),Tp=[[/^ring(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.ringWidth?.[e||"DEFAULT"]??q.px(e||"1");if(r)return{"--un-ring-width":r,"--un-ring-offset-shadow":"var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)","--un-ring-shadow":"var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color)","box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}},{custom:{preflightKeys:Ore},autocomplete:"ring-$ringWidth"}],[/^ring-(?:width-|size-)(.+)$/,QF,{autocomplete:"ring-(width|size)-$lineWidth"}],["ring-offset",{"--un-ring-offset-width":"1px"}],[/^ring-offset-(?:width-|size-)?(.+)$/,([,e],{theme:t})=>({"--un-ring-offset-width":t.lineWidth?.[e]??q.bracket.cssvar.px(e)}),{autocomplete:"ring-offset-(width|size)-$lineWidth"}],[/^ring-(.+)$/,Tre,{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^ring-offset-(.+)$/,Ft("--un-ring-offset-color","ring-offset","borderColor"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]];zl={"--un-ring-offset-shadow":"0 0 rgb(0 0 0 / 0)","--un-ring-shadow":"0 0 rgb(0 0 0 / 0)","--un-shadow-inset":nt,"--un-shadow":"0 0 rgb(0 0 0 / 0)"},Rre=Object.keys(zl),Rp=[[/^shadow(?:-(.+))?$/,(e,t)=>{let[,r]=e,{theme:n}=t,i=n.boxShadow?.[r||"DEFAULT"],o=r?q.bracket.cssvar(r):void 0;return(i!=null||o!=null)&&!lu(o,n,"shadowColor")?{"--un-shadow":uu(i||o,"--un-shadow-color").join(","),"box-shadow":"var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"}:Ft("--un-shadow-color","shadow","shadowColor")(e,t)},{custom:{preflightKeys:Rre},autocomplete:["shadow-$colors","shadow-$boxShadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],["shadow-inset",{"--un-shadow-inset":"inset"}]],Z0=["translate","rotate","scale"],Fre=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","rotate(var(--un-rotate))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))"].join(" "),Vl=["translateX(var(--un-translate-x))","translateY(var(--un-translate-y))","translateZ(var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Ire=["translate3d(var(--un-translate-x), var(--un-translate-y), var(--un-translate-z))","rotate(var(--un-rotate))","rotateX(var(--un-rotate-x))","rotateY(var(--un-rotate-y))","rotateZ(var(--un-rotate-z))","skewX(var(--un-skew-x))","skewY(var(--un-skew-y))","scaleX(var(--un-scale-x))","scaleY(var(--un-scale-y))","scaleZ(var(--un-scale-z))"].join(" "),Wl={"--un-rotate":0,"--un-rotate-x":0,"--un-rotate-y":0,"--un-rotate-z":0,"--un-scale-x":1,"--un-scale-y":1,"--un-scale-z":1,"--un-skew-x":0,"--un-skew-y":0,"--un-translate-x":0,"--un-translate-y":0,"--un-translate-z":0},eo=Object.keys(Wl),Fp=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":ar[e]??q.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(ar).join("|")})`,`origin-(${Object.keys(ar).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e])=>{let t=q.bracket.cssvar.px.numberWithUnit(e);if(t!=null)return{"-webkit-perspective":t,perspective:t}}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=q.bracket.cssvar(e)??(e.length>=3?ar[e]:void 0);if(t!=null)return{"-webkit-perspective-origin":t,"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,HF,{custom:{preflightKeys:eo}}],[/^(?:transform-)?translate-([xyz])-(.+)$/,HF,{custom:{preflightKeys:eo}}],[/^(?:transform-)?rotate-()(.+)$/,KF,{custom:{preflightKeys:eo}}],[/^(?:transform-)?rotate-([xyz])-(.+)$/,KF,{custom:{preflightKeys:eo}}],[/^(?:transform-)?skew-()(.+)$/,YF,{custom:{preflightKeys:eo}}],[/^(?:transform-)?skew-([xy])-(.+)$/,YF,{custom:{preflightKeys:eo},autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,GF,{custom:{preflightKeys:eo}}],[/^(?:transform-)?scale-([xyz])-(.+)$/,GF,{custom:{preflightKeys:eo},autocomplete:[`transform-(${Z0.join("|")})-<percent>`,`transform-(${Z0.join("|")})-(x|y|z)-<percent>`,`(${Z0.join("|")})-<percent>`,`(${Z0.join("|")})-(x|y|z)-<percent>`]}],[/^(?:transform-)?preserve-3d$/,()=>({"transform-style":"preserve-3d"})],[/^(?:transform-)?preserve-flat$/,()=>({"transform-style":"flat"})],["transform",{transform:Vl},{custom:{preflightKeys:eo}}],["transform-cpu",{transform:Fre},{custom:{preflightKeys:["--un-translate-x","--un-translate-y","--un-rotate","--un-rotate-z","--un-skew-x","--un-skew-y","--un-scale-x","--un-scale-y"]}}],["transform-gpu",{transform:Ire},{custom:{preflightKeys:eo}}],["transform-none",{transform:"none"}],...je("transform")]});function n6([,e],{theme:t}){return{"outline-width":t.lineWidth?.[e]??q.bracket.cssvar.global.px(e)}}function Lre(e,t){return Qo(q.bracket(e[1]))?n6(e,t):Ft("outline-color","outline-color","borderColor")(e,t)}function $re(e){return q.properties.auto.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}function ZF(e,t,r){if(t!=null)return{[`border${r}-color`]:Rt(e,t)};if(r===""){let n={},i="--un-border-opacity",o=Rt(e,`var(${i})`);return o.includes(i)&&(n[i]=typeof e=="string"?1:au(e)),n["border-color"]=o,n}else{let n={},i="--un-border-opacity",o=`--un-border${r}-opacity`,a=Rt(e,`var(${o})`);return a.includes(o)&&(n[i]=typeof e=="string"?1:au(e),n[o]=`var(${i})`),n[`border${r}-color`]=a,n}}function Nre(e){return([,t],r)=>{let n=su(t,r,"borderColor");if(!n)return;let{alpha:i,color:o,cssColor:a}=n;if(a)return ZF(a,i,e);if(o)return ZF(o,i,e)}}function Oi([,e="",t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??q.bracket.cssvar.global.px(t||"1");if(e in _r&&n!=null)return _r[e].map(i=>[`border${i}-width`,n])}function Ip([,e="",t],r){if(e in _r){if(Qo(q.bracket(t)))return Oi(["",e,t],r);if(lu(t,r.theme,"borderColor"))return Object.assign({},..._r[e].map(n=>Nre(n)(["",t],r.theme)))}}function Lp([,e="",t]){let r=q.bracket.percent.cssvar(t);if(e in _r&&r!=null)return _r[e].map(n=>[`--un-border${n}-opacity`,r])}function $p([,e="",t],{theme:r}){let n=r.borderRadius?.[t||"DEFAULT"]||q.bracket.cssvar.global.fraction.rem(t||"1");if(e in H0&&n!=null)return H0[e].map(i=>[`border${i}-radius`,n])}function Hl([,e="",t]){if(Ya.includes(t)&&e in _r)return _r[e].map(r=>[`border${r}-style`,t])}function i6([,e],{theme:t}){return{"text-decoration-thickness":t.lineWidth?.[e]??q.bracket.cssvar.global.px(e)}}function Ure(e,t){if(Qo(q.bracket(e[1])))return i6(e,t);let r=Ft("text-decoration-color","line","borderColor")(e,t);if(r)return{"-webkit-text-decoration-color":r["text-decoration-color"],...r}}function hk([,e="",t],{theme:r}){let n=r.spacing?.[t]??q.bracket.cssvar.global.rem(t);if(n!=null)return{[`${zre[e]}gap`]:n}}function to(e){return e.replace("col","column")}function dk(e){return e[0]==="r"?"Row":"Column"}function Wre(e,t,r){let n=t[`gridAuto${dk(e)}`]?.[r];if(n!=null)return n;switch(r){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return q.bracket.cssvar.auto.rem(r)}function mk(e,{theme:t}){return t.spacing?.[e]??q.bracket.cssvar.global.auto.fraction.rem(e)}function Np([,e,t],r){let n=mk(t,r);if(n!=null&&e in W0)return W0[e].map(i=>[i.slice(1),n])}function cu(e,t){return`${e||""}${Hre[t]}`}function rg(e,t,r,n){let i=cu(e,t).replace(/-(\w)/g,(a,s)=>s.toUpperCase()),o=r[i]?.[n];if(o!=null)return o;switch(n){case"fit":case"max":case"min":return`${n}-content`}return q.bracket.cssvar.global.auto.fraction.rem(n)}function t6(e,t,r="breakpoints"){let n=Ka(e,r);if(n)return n.find(i=>i.point===t)?.size}function Gre(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return q.bracket.cssvar.global.auto.number(e)}function o6([,e],{theme:t}){return{"stroke-width":t.lineWidth?.[e]??q.bracket.cssvar.fraction.px.number(e)}}function Kre(e,t){return Qo(q.bracket(e[1]))?o6(e,t):Ft("stroke","stroke","borderColor")(e,t)}function r6(e,t){let r;if(q.cssvar(e)!=null)r=q.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(i=>t.transitionProperty?.[i]??q.properties(i));n.every(Boolean)&&(r=n.join(","))}return r}function gk(e,t,r){return t[r]?.[e]||q.bracket.cssvar.global.rem(e)}function a6([,e],{theme:t}){let n=Fe(t.fontSize?.[e])?.[0]??q.bracket.cssvar.global.rem(e);if(n!=null)return{"font-size":n}}function Yre(e,t){return Qo(q.bracket(e[1]))?a6(e,t):Ft("color","text","textColor")(e,t)}function Qre([,e="base"],{theme:t}){let r=Q0(e,"length");if(!r)return;let[n,i]=r,o=Fe(t.fontSize?.[n]),a=i?gk(i,t,"lineHeight"):void 0;if(o?.[0]){let[u,l,f]=o;return typeof l=="object"?{"font-size":u,...l}:{"font-size":u,"line-height":a??l??"1","letter-spacing":f?gk(f,t,"letterSpacing"):void 0}}let s=q.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":q.bracketOfLength.rem(e)}}function Jre(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function Zre(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var XF,ng,JF,ig,og,ag,sg,Ya,ug,lg,Bre,jre,Mre,qre,Vre,cg,fg,pg,e6,hg,dg,zre,mg,gg,tg,bg,yg,Bp,vg,jp,Mp,xg,wg,kg,Sg,_g,Cg,Hre,Eg,Ag,Dg,Pg,Og,Tg,Rg,Fg,Ig,Lg,$g,Xre,Ng,Bg,bk,yk=$(()=>{ql();Pn();eg();Dt();XF={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(ut.map(e=>[e,e]))},ng=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":XF[e]??q.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(XF).join("|")})`,"(vertical|align|v)-<percentage>"]}]],JF=["center","left","right","justify","start","end"],ig=[...JF.map(e=>[`text-${e}`,{"text-align":e}]),...[...ut,...JF].map(e=>[`text-align-${e}`,{"text-align":e}])],og=[[/^outline-(?:width-|size-)?(.+)$/,n6,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,Lre,{autocomplete:"outline-$colors"}],[/^outline-offset-(.+)$/,([,e],{theme:t})=>({"outline-offset":t.lineWidth?.[e]??q.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline",{"outline-style":"solid"}],...["auto","dashed","dotted","double","hidden","solid","groove","ridge","inset","outset",...ut].map(e=>[`outline-${e}`,{"outline-style":e}]),["outline-none",{outline:"2px solid transparent","outline-offset":"2px"}]];ag=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];sg=[[/^will-change-(.+)/,([,e])=>({"will-change":$re(e)})]],Ya=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...ut],ug=[[/^(?:border|b)()(?:-(.+))?$/,Oi,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Oi],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Oi],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Oi],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Oi],[/^(?:border|b)-()(?:width|size)-(.+)$/,Oi,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Oi],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Oi],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Oi],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Oi],[/^(?:border|b)-()(?:color-)?(.+)$/,Ip,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ip],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ip],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ip],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ip],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Lp,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Lp],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Lp],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Lp],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Lp],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,$p,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$borderRadius","(rounded|rd)","(rounded|rd)-$borderRadius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,$p],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,$p],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,$p],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,$p],[/^(?:border|b)-(?:style-)?()(.+)$/,Hl,{autocomplete:["(border|b)-style",`(border|b)-(${Ya.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${Ya.join("|")})`,`(border|b)-<directions>-style-(${Ya.join("|")})`,`(border|b)-style-(${Ya.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,Hl],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,Hl],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,Hl],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,Hl]];lg=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:q.bracket.percent.cssvar(e)})]],Bre=/^\[url\(.+\)\]$/,jre=/^\[(?:length|size):.+\]$/,Mre=/^\[position:.+\]$/,qre=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Vre=/^\[image:.+\]$/,cg=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Bre.test(t))return{"--un-url":q.bracket(t),"background-image":"var(--un-url)"};if(jre.test(t)&&q.bracketOfLength(t)!=null)return{"background-size":q.bracketOfLength(t).split(" ").map(r=>q.fraction.auto.px.cssvar(r)??r).join(" ")};if((fk(t)||Mre.test(t))&&q.bracketOfPosition(t)!=null)return{"background-position":q.bracketOfPosition(t).split(" ").map(r=>q.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(qre.test(t)||Vre.test(t)){let r=q.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:q.cssvar(r))??r}}return Ft("background-color","bg","backgroundColor")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],fg=[[/^color-scheme-(\w+)$/,([,e])=>({"color-scheme":e})]],pg=[[/^@container(?:\/(\w+))?(?:-(normal|inline-size|size))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],e6=["solid","double","dotted","dashed","wavy",...ut],hg=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,i6,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Ure,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e],{theme:t})=>({"text-underline-offset":t.lineWidth?.[e]??q.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...e6.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...e6.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];dg=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:q.bracket(e)!=null?q.bracket(e).split(" ").map(t=>q.cssvar.fraction(t)??t).join(" "):q.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":q.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":q.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e],{theme:t})=>({"flex-basis":t.spacing?.[e]??q.bracket.cssvar.auto.fraction.rem(e)}),{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],zre={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};mg=[[/^(?:flex-|grid-)?gap-?()(.+)$/,hk,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,hk,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,hk,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];gg=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t],{theme:r})=>({[`grid-${to(e)}`]:r[`grid${dk(e)}`]?.[t]??q.bracket.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${to(e)}`]:"1/-1"};let r=q.bracket.number(t);if(r!=null)return{[`grid-${to(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${to(e)}-start`]:q.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${to(e)}-end`]:q.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-auto-${to(e)}`]:Wre(e,r,t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":q.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":to(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t],{theme:r})=>({[`grid-template-${to(e)}`]:r[`gridTemplate${dk(e)}`]?.[t]??q.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${to(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${to(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":q.cssvar(t)??t.split("-").map(r=>`"${q.bracket(r)}"`).join(" ")}:{"grid-area":q.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],tg=["auto","hidden","clip","visible","scroll","overlay",...ut],bg=[[/^(?:overflow|of)-(.+)$/,([,e])=>tg.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${tg.join("|")})`,`(overflow|of)-(x|y)-(${tg.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>tg.includes(t)?{[`overflow-${e}`]:t}:void 0]],yg=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>ut.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Bp=[["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"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...je("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...je("justify-items"),["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"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...je("justify-self")],vg=[[/^order-(.+)$/,([,e])=>({order:q.bracket.cssvar.number(e)})],["order-first",{order:"-9999"}],["order-last",{order:"9999"}],["order-none",{order:"0"}]],jp=[["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"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...je("content","align-content"),["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"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...je("items","align-items"),["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"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...je("self","align-self")],Mp=[["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-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...je("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...je("place-items"),["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"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...je("place-self")],xg=[...Bp,...jp,...Mp].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);wg=[[/^(?:position-|pos-)?inset-(.+)$/,([,e],t)=>({inset:mk(e,t)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Np],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Np],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Np],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Np],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Np],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t],r)=>({[e]:mk(t,r)})]],kg=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...je("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...je("clear")],Sg=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":q.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e],{theme:t})=>({"z-index":t.zIndex?.[e]??q.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],_g=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...je("box","box-sizing")],Cg=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Hre={h:"height",w:"width",inline:"inline-size",block:"block-size"};Eg=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[cu(e,"w")]:rg(e,"w",r,t),[cu(e,"h")]:rg(e,"h",r,t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[cu(e,t)]:rg(e,t,n,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[cu(e,t)]:rg(e,t,n,r)}),{autocomplete:["(w|h)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-$width|height|maxWidth|maxHeight|minWidth|minHeight|inlineSize|blockSize|maxInlineSize|maxBlockSize|minInlineSize|minBlockSize","(w|h)-full","(max|min)-(w|h)-full"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[cu(e,t)]:t6(n,r,"verticalBreakpoints")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[cu(e,t)]:t6(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$verticalBreakpoints","(min|max)-h-screen-$verticalBreakpoints","w-screen-$breakpoints","(min|max)-w-screen-$breakpoints"]}]];Ag=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":Gre(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],Dg=[[/^pa?()-?(.+)$/,xt("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,xt("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,xt("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,xt("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,xt("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,xt("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Pg=[[/^ma?()-?(.+)$/,xt("margin")],[/^m-?xy()()$/,xt("margin")],[/^m-?([xy])(?:-?(.+))?$/,xt("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,xt("margin")],[/^m-(block|inline)(?:-(.+))?$/,xt("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,xt("margin")]],Og=[[/^fill-(.+)$/,Ft("fill","fill","backgroundColor"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,o6,{autocomplete:["stroke-width-$lineWidth","stroke-size-$lineWidth"]}],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":q.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e],{theme:t})=>({"stroke-dashoffset":t.lineWidth?.[e]??q.bracket.cssvar.px.numberWithUnit(e)}),{autocomplete:"stroke-offset-$lineWidth"}],[/^stroke-(.+)$/,Kre,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];Tg=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{if(!e&&!t)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.DEFAULT??q.time("150")};if(e!=null){let n=r6(e,r),i=r.duration?.[t||"DEFAULT"]??q.time(t||"150");if(n)return{"transition-property":n,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":i}}else if(t!=null)return{"transition-property":r.transitionProperty?.DEFAULT,"transition-timing-function":r.easing?.DEFAULT,"transition-duration":r.duration?.[t]??q.time(t)}},{autocomplete:"transition-$transitionProperty-$duration"}],[/^(?:transition-)?duration-(.+)$/,([,e],{theme:t})=>({"transition-duration":t.duration?.[e||"DEFAULT"]??q.bracket.cssvar.time(e)}),{autocomplete:["transition-duration-$duration","duration-$duration"]}],[/^(?:transition-)?delay-(.+)$/,([,e],{theme:t})=>({"transition-delay":t.duration?.[e||"DEFAULT"]??q.bracket.cssvar.time(e)}),{autocomplete:["transition-delay-$duration","delay-$duration"]}],[/^(?:transition-)?ease(?:-(.+))?$/,([,e],{theme:t})=>({"transition-timing-function":t.easing?.[e||"DEFAULT"]??q.bracket.cssvar(e)}),{autocomplete:["transition-ease-(linear|in|out|in-out|DEFAULT)","ease-(linear|in|out|in-out|DEFAULT)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=q.global(e)||r6(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...ut].join("|")})`,"transition-property-$transitionProperty","property-$transitionProperty"]}],["transition-none",{transition:"none"}],...je("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Rg=[[/^text-(.+)$/,Qre,{autocomplete:"text-$fontSize"}],[/^(?:text|font)-size-(.+)$/,a6,{autocomplete:"text-size-$fontSize"}],[/^text-(?:color-)?(.+)$/,Yre,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,Ft("color","text","textColor"),{autocomplete:"(color|c)-$colors"}],[/^(?:text|color|c)-(.+)$/,([,e])=>ut.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${ut.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^(?:font|fw)-?([^-]+)$/,([,e],{theme:t})=>({"font-weight":t.fontWeight?.[e]||q.bracket.global.number(e)}),{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>({"line-height":gk(e,t,"lineHeight")}),{autocomplete:"(leading|lh|line-height)-$lineHeight"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":q.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>({"letter-spacing":t.letterSpacing?.[e]||q.bracket.cssvar.global.rem(e)}),{autocomplete:"tracking-$letterSpacing"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>({"word-spacing":t.wordSpacing?.[e]||q.bracket.cssvar.global.rem(e)}),{autocomplete:"word-spacing-$wordSpacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":q.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>({"font-family":t.fontFamily?.[e]||q.bracket.cssvar.global(e)}),{autocomplete:"font-$fontFamily"}]],Fg=[[/^tab(?:-(.+))?$/,([,e])=>{let t=q.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Ig=[[/^indent(?:-(.+))?$/,([,e],{theme:t})=>({"text-indent":t.textIndent?.[e||"DEFAULT"]||q.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"indent-$textIndent"}]],Lg=[[/^text-stroke(?:-(.+))?$/,([,e],{theme:t})=>({"-webkit-text-stroke-width":t.textStrokeWidth?.[e||"DEFAULT"]||q.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,Ft("-webkit-text-stroke-color","text-stroke","borderColor"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],$g=[[/^text-shadow(?:-(.+))?$/,([,e],{theme:t})=>{let r=t.textShadow?.[e||"DEFAULT"];return r!=null?{"--un-text-shadow":uu(r,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:{"text-shadow":q.bracket.cssvar.global(e)}},{autocomplete:"text-shadow-$textShadow"}],[/^text-shadow-color-(.+)$/,Ft("--un-text-shadow-color","text-shadow","shadowColor"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":q.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]];Xre={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space"},Ng=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Xre[e];if(r)return{[r]:q.cssvar(t)}}]],Bg=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),i=n.join(":");if(!Zre(t)&&/^[\w-]+$/.test(r)&&Jre(i)){let o=q.bracket(`[${i}]`);if(o)return{[r]:o}}}]];bk=[Ng,Bg,bp,yp,mp,yg,wg,Sg,vg,gg,kg,Pg,_g,dp,Ag,Eg,dg,Fp,gp,xp,vp,ag,Mp,jp,Bp,mg,xg,bg,Ep,wp,_p,ug,cg,fg,Og,Dg,ig,Ig,Cp,ng,Rg,Ap,Dp,hg,Pp,Fg,Lg,$g,lg,Rp,og,Tp,Tg,sg,kp,Sp,pg,Op,Cg].flat(1)});var vk,s6=$(()=>{vk={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},light:{50:"#fdfdfd",100:"#fcfcfc",200:"#fafafa",300:"#f8f9fa",400:"#f6f6f6",500:"#f2f2f2",600:"#f1f3f5",700:"#e9ecef",800:"#dee2e6",900:"#dde1e3",950:"#d8dcdf"},dark:{50:"#4a4a4a",100:"#3c3c3c",200:"#323232",300:"#2d2d2d",400:"#222222",500:"#1f1f1f",600:"#1c1c1e",700:"#1b1b1b",800:"#181818",900:"#0f0f0f",950:"#080808"},get lightblue(){return this.sky},get lightBlue(){return this.sky},get warmgray(){return this.stone},get warmGray(){return this.stone},get truegray(){return this.neutral},get trueGray(){return this.neutral},get coolgray(){return this.gray},get coolGray(){return this.gray},get bluegray(){return this.slate},get blueGray(){return this.slate}};Object.values(vk).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400],Object.keys(e).forEach(t=>{let r=+t/100;r===Math.round(r)&&(e[r]=e[t])}))})});var u6,l6,c6,f6,p6,h6,d6,m6,_k,g6,b6,Ck,y6,v6,x6,w6,k6,S6,_6,C6,E6,A6,ro,D6,xk,P6,O6,T6,wk,kk,Sk,R6,ene,tne,qp,Ek=$(()=>{s6();eg();u6={DEFAULT:"8px",0:"0",sm:"4px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},l6={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],sm:"0 1px 1px rgb(0 0 0 / 0.05)",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 rgb(0 0 0 / 0)"},c6={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"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},f6={xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},p6={DEFAULT:"1.5rem",xs:"0.5rem",sm:"1rem",md:"1.5rem",lg:"2rem",xl:"2.5rem","2xl":"3rem","3xl":"4rem"},h6={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},d6={DEFAULT:["0 0 1px rgb(0 0 0 / 0.2)","0 0 1px rgb(1 0 5 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"1px 1px 3px rgb(36 37 47 / 0.25)",md:["0 1px 2px rgb(30 29 39 / 0.19)","1px 2px 4px rgb(54 64 147 / 0.18)"],lg:["3px 3px 6px rgb(0 0 0 / 0.26)","0 0 5px rgb(15 3 86 / 0.22)"],xl:["1px 1px 3px rgb(0 0 0 / 0.29)","2px 4px 7px rgb(73 64 125 / 0.35)"]},m6={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},_k={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},g6={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},b6=_k,Ck={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},y6={...Ck},v6={DEFAULT:"1px",none:"0"},x6={DEFAULT:"1rem",none:"0",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},w6={DEFAULT:"150ms",none:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},k6={DEFAULT:"0.25rem",none:"0",sm:"0.125rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},S6={DEFAULT:["var(--un-shadow-inset) 0 1px 3px 0 rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 1px 2px -1px rgb(0 0 0 / 0.1)"],none:"0 0 rgb(0 0 0 / 0)",sm:"var(--un-shadow-inset) 0 1px 2px 0 rgb(0 0 0 / 0.05)",md:["var(--un-shadow-inset) 0 4px 6px -1px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["var(--un-shadow-inset) 0 10px 15px -3px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["var(--un-shadow-inset) 0 20px 25px -5px rgb(0 0 0 / 0.1)","var(--un-shadow-inset) 0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"var(--un-shadow-inset) 0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},_6={DEFAULT:"3px",none:"0"},C6={auto:"auto"},E6={mouse:"(hover) and (pointer: fine)"},A6={...Wl,...zl,...Ul},ro={xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},D6={auto:"auto",...ro,screen:"100vw"},xk={none:"none",...ro,screen:"100vw"},P6={auto:"auto",...ro,screen:"100vb"},O6={auto:"auto",...ro,screen:"100vi"},T6={auto:"auto",...ro,screen:"100vh"},wk={none:"none",...ro,screen:"100vh"},kk={none:"none",...ro,screen:"100vb"},Sk={none:"none",...ro,screen:"100vi"},R6={...ro},ene={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)"},tne={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke"].join(","),opacity:"opacity",shadow:"box-shadow",transform:"transform",get DEFAULT(){return[this.colors,"opacity","box-shadow","transform","filter","backdrop-filter"].join(",")}},qp={width:D6,height:T6,maxWidth:xk,maxHeight:wk,minWidth:xk,minHeight:wk,inlineSize:O6,blockSize:P6,maxInlineSize:Sk,maxBlockSize:kk,minInlineSize:Sk,minBlockSize:kk,colors:vk,fontFamily:c6,fontSize:f6,fontWeight:g6,breakpoints:Ck,verticalBreakpoints:y6,borderRadius:k6,lineHeight:m6,letterSpacing:_k,wordSpacing:b6,boxShadow:S6,textIndent:p6,textShadow:d6,textStrokeWidth:h6,blur:u6,dropShadow:l6,easing:ene,transitionProperty:tne,lineWidth:v6,spacing:x6,duration:w6,ringWidth:_6,preflightBase:A6,containers:R6,zIndex:C6,media:E6}});function rne(e){if(e.preflight)return[{layer:"preflights",getCSS({theme:t,generator:r}){if(t.preflightBase){let n=Object.entries(t.preflightBase);if(e.preflight==="on-demand"){let i=new Set(Array.from(r.activatedRules).map(o=>o[2]?.custom?.preflightKeys).filter(Boolean).flat());n=n.filter(([o])=>i.has(o))}if(n.length>0){let i=Ku(n);return e.variablePrefix!=="un-"&&(i=i.replace(/--un-/g,`--${e.variablePrefix}`)),Fe(t.preflightRoot??["*,::before,::after","::backdrop"]).map(a=>`${a}{${i}}`).join("")}}}}]}function ine(e){if(e!=="un-")return t=>{t.entries.forEach(r=>{r[0]=r[0].replace(/^--un-/,`--${e}`),typeof r[1]=="string"&&(r[1]=r[1].replace(/var\(--un-/g,`var(--${e}`))})}}var nne,Gl,Ak=$(()=>{Dt();ek();ql();pk();yk();Ek();nne={position:["relative","absolute","fixed","sticky","static"],globalKeyword:ut},Gl=(e={})=>(e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.preflight=e.preflight??!0,e.variablePrefix=e.variablePrefix??"un-",{name:"@unocss/preset-mini",theme:qp,rules:bk,variants:hp(e),options:e,prefix:e.prefix,postprocess:ine(e.variablePrefix),preflights:rne(e),extractorDefault:e.arbitraryVariants===!1?void 0:L0(),autocomplete:{shorthands:nne}})});function ane(e){let{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(one)).filter(({1:i})=>{for(let o of r)if(typeof o=="string"){if(i===o)return!1}else if(o.test(i))return!1;return i.startsWith(t)}).map(([,i])=>`${Dk}${i}`)}}}function sne(e){let{extraProperties:t}=e,r=`${Dk}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;let i=n.slice(r.length),o={matcher:i,selector:a=>a.slice(Dk.length+1)};return t&&(typeof t=="function"?o.body=a=>[...a,...Object.entries(t(i)??{})]:o.body=a=>[...a,...Object.entries(t)]),o}}}var Dk,one,F6,I6=$(()=>{Dk="__TAGIFY__",one=/<([\w:-]+)/g;F6=(e={})=>{let{defaultExtractor:t=!0}=e,r=[sne(e)],n=[ane(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}}});function L6(e){return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":e.fontFamily?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}function lne(e){for(let[t,...r]of une)if(t===e)return r.length>0?r:[t]}function $6(e){let t="",{escapedSelector:r,selectorName:n,preflights:i,compatibility:o,important:a}=e,s=o?.noColonNot||o?.noColonWhere;for(let u in i){let l=i[u],f=`:not(:where(.not-${n},.not-${n} *))`,p=u.split(",").map(m=>{let b=m.match(/:[():\-\w]+$/g);if(b){let v=b[0];return m=m.replace(v,""),r.map(w=>s?`${w} ${m}${v}`:`${w} :where(${m})${f}${v}`).join(",")}return null}).filter(m=>m);p.length?t+=p.join(","):t+=r.map(m=>s?u.split(",").map(b=>`${m} ${b}`).join(","):`${m} :where(${u})${f}`).join(","),t+="{";for(let m in l){let b=l[m];t+=`${m}:${b}${a?" !important":""};`}t+="}"}return t}function cne(e,t){let{compatibility:r,selectorName:n,important:i=!1}=t,o=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend,a=Array.from(t.escapedSelectors);return!a[a.length-1].startsWith(".")&&!r?.noColonIs&&(a=[`:is(${a[a.length-1]},.${t.selectorName})`]),typeof i=="string"&&(a=a.map(s=>r?.noColonIs?`${i} ${s}`:`:is(${i}) ${s}`)),$6(o?{escapedSelector:a,selectorName:n,preflights:Oa(L6(e.theme),o),compatibility:r,important:i===!0}:{escapedSelector:a,selectorName:n,preflights:L6(e.theme),compatibility:r,important:i===!0})}var une,N6,B6=$(()=>{Dt();Pn();une=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];N6=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');let t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),i=new RegExp(`^${r}-([-\\w]+)$`),o=new RegExp(`^${r}-invert$`),a=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(s,{rawSelector:u})=>(t.add(Fd(u)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[i,([,s],{theme:u})=>{let l=u.colors?.[s];if(l==null)return;let f=typeof l=="object"?l:{},p={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},m={};for(let b in p){let v=p[b],w=f[v]??l,C=!1;for(let P of j0)if(w.includes(P)){C=!0,m[`--un-prose-${b}-opacity`]=1,m[`--un-prose-${b}`]=w.replace(P,`var(--un-prose-${b}-opacity)`);break}C||(m[`--un-prose-${b}`]=w)}return m},{layer:"typography"}],[o,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:s=>{if(s.startsWith(`${r}-`)){let u=new RegExp(`^${r}-(\\w+)[:-].+$`),l=s.match(u)?.[1];if(l){let f=lne(l);if(f?.length)return{matcher:s.slice(r.length+l.length+2),selector:p=>{let m=`:not(:where(.not-${r},.not-${r} *))`;return a?f.map(v=>`${p} ${v}`).join(","):`${p} :is(:where(${f})${m})`}}}}}}],preflights:[{layer:"typography",getCSS:s=>{if(t.size>0)return cne(s,{escapedSelectors:t,...e,selectorName:r})}}]}}});var Vp=$(()=>{ql();Pn()});var fne,j6,M6,Pk=$(()=>{Dt();Vp();fne=/@media \(min-width: (.+)\)/,j6=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,i=r.container?.padding,o;ft(i)?o=i:o=i?.DEFAULT;let a=r.container?.maxWidth,s;for(let l of n){let f=l.handle?.({},p=>p)?.parent;if(ft(f)){let p=f.match(fne)?.[1];if(p){let b=(Ka(t)??[]).find(v=>v.size===p)?.point;a?b&&(s=a?.[b]):s=p,b&&!ft(i)&&(o=i?.[b]??o)}}}let u={"max-width":s};return n.length||(u.width="100%"),r.container?.center&&(u["margin-left"]="auto",u["margin-right"]="auto"),i&&(u["padding-left"]=o,u["padding-right"]=o),u},{internal:!0}]],M6=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(Ka(t)??[]).map(i=>i.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(i=>`${i}:__container`);return e||n.unshift("__container"),n}]]});var q6,V6=$(()=>{Pk();q6=[...M6]});var Up=$(()=>{yk();eg()});var U6=$(()=>{Ek()});function Ok(e){let t=q.bracket.cssvar(e||"");if(t!=null||(t=e?q.percent(e):"1",t!=null&&Number.parseFloat(t)<=1))return t}function Jo(e,t){return([,r,n],{theme:i})=>{let o=t(n,i)??(n==="none"?"0":"");if(o!=="")return r?{[`--un-${r}${e}`]:`${e}(${o})`,"-webkit-backdrop-filter":Mg,"backdrop-filter":Mg}:{[`--un-${e}`]:`${e}(${o})`,filter:jg}}}function dne([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return{"--un-drop-shadow":`drop-shadow(${uu(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:jg};if(r=q.bracket.cssvar(e),r!=null)return{"--un-drop-shadow":`drop-shadow(${r})`,filter:jg}}function Xa(e){return{...e,"font-variant-numeric":"var(--un-ordinal) var(--un-slashed-zero) var(--un-numeric-figure) var(--un-numeric-spacing) var(--un-numeric-fraction)"}}var Fk,K6,z6,jg,Ik,Y6,hne,Mg,Xo,Q6,Lk,W6,X6,$k,H6,G6,J6,Nk,Tk,Rk,Z6,Bk,Qa,e8,jk=$(()=>{Up();Vp();Fk={"--un-blur":nt,"--un-brightness":nt,"--un-contrast":nt,"--un-drop-shadow":nt,"--un-grayscale":nt,"--un-hue-rotate":nt,"--un-invert":nt,"--un-saturate":nt,"--un-sepia":nt},K6=Object.keys(Fk),z6={preflightKeys:K6},jg="var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)",Ik={"--un-backdrop-blur":nt,"--un-backdrop-brightness":nt,"--un-backdrop-contrast":nt,"--un-backdrop-grayscale":nt,"--un-backdrop-hue-rotate":nt,"--un-backdrop-invert":nt,"--un-backdrop-opacity":nt,"--un-backdrop-saturate":nt,"--un-backdrop-sepia":nt},Y6=Object.keys(Ik),hne={preflightKeys:Y6},Mg="var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)",Xo={preflightKeys:[...K6,...Y6]};Q6=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Jo("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||q.bracket.cssvar.px(e)),{custom:Xo,autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Jo("brightness",e=>q.bracket.cssvar.percent(e)),{custom:Xo,autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Jo("contrast",e=>q.bracket.cssvar.percent(e)),{custom:Xo,autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,dne,{custom:z6,autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,Ft("--un-drop-shadow-color","drop-shadow","shadowColor")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":q.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Jo("grayscale",Ok),{custom:Xo,autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Jo("hue-rotate",e=>q.bracket.cssvar.degree(e)),{custom:Xo}],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Jo("invert",Ok),{custom:Xo,autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Jo("opacity",e=>q.bracket.cssvar.percent(e)),{custom:Xo,autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Jo("saturate",e=>q.bracket.cssvar.percent(e)),{custom:Xo,autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Jo("sepia",Ok),{custom:Xo,autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:jg},{custom:z6}],["backdrop-filter",{"-webkit-backdrop-filter":Mg,"backdrop-filter":Mg},{custom:hne}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...ut.map(e=>[`filter-${e}`,{filter:e}]),...ut.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Lk={"--un-scroll-snap-strictness":"proximity"},W6={preflightKeys:Object.keys(Lk)},X6=[[/^snap-(x|y)$/,([,e])=>({"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`}),{custom:W6,autocomplete:"snap-(x|y|both)"}],[/^snap-both$/,()=>({"scroll-snap-type":"both var(--un-scroll-snap-strictness)"}),{custom:W6}],["snap-mandatory",{"--un-scroll-snap-strictness":"mandatory"}],["snap-proximity",{"--un-scroll-snap-strictness":"proximity"}],["snap-none",{"scroll-snap-type":"none"}],["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"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,xt("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,xt("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,xt("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,xt("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,xt("scroll-margin")],[/^scroll-pa?()-?(.+)$/,xt("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,xt("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,xt("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,xt("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,xt("scroll-padding")]],$k={"--un-border-spacing-x":0,"--un-border-spacing-y":0},H6={preflightKeys:Object.keys($k)},G6="var(--un-border-spacing-x) var(--un-border-spacing-y)",J6=[["inline-table",{display:"inline-table"}],["table",{display:"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",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.spacing?.[e]??q.bracket.cssvar.global.auto.fraction.rem(e);if(r!=null)return{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":G6}},{custom:H6,autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,([,e,t],{theme:r})=>{let n=r.spacing?.[t]??q.bracket.cssvar.global.auto.fraction.rem(t);if(n!=null)return{[`--un-border-spacing-${e}`]:n,"border-spacing":G6}},{custom:H6,autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]],Nk={"--un-pan-x":nt,"--un-pan-y":nt,"--un-pinch-zoom":nt},Tk={preflightKeys:Object.keys(Nk)},Rk="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",Z6=[[/^touch-pan-(x|left|right)$/,([,e])=>({"--un-pan-x":`pan-${e}`,"touch-action":Rk}),{custom:Tk,autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,([,e])=>({"--un-pan-y":`pan-${e}`,"touch-action":Rk}),{custom:Tk}],["touch-pinch-zoom",{"--un-pinch-zoom":"pinch-zoom","touch-action":Rk},{custom:Tk}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...je("touch","touch-action")],Bk={"--un-ordinal":nt,"--un-slashed-zero":nt,"--un-numeric-figure":nt,"--un-numeric-spacing":nt,"--un-numeric-fraction":nt},Qa={preflightKeys:Object.keys(Bk)};e8=[[/^ordinal$/,()=>Xa({"--un-ordinal":"ordinal"}),{custom:Qa,autocomplete:"ordinal"}],[/^slashed-zero$/,()=>Xa({"--un-slashed-zero":"slashed-zero"}),{custom:Qa,autocomplete:"slashed-zero"}],[/^lining-nums$/,()=>Xa({"--un-numeric-figure":"lining-nums"}),{custom:Qa,autocomplete:"lining-nums"}],[/^oldstyle-nums$/,()=>Xa({"--un-numeric-figure":"oldstyle-nums"}),{custom:Qa,autocomplete:"oldstyle-nums"}],[/^proportional-nums$/,()=>Xa({"--un-numeric-spacing":"proportional-nums"}),{custom:Qa,autocomplete:"proportional-nums"}],[/^tabular-nums$/,()=>Xa({"--un-numeric-spacing":"tabular-nums"}),{custom:Qa,autocomplete:"tabular-nums"}],[/^diagonal-fractions$/,()=>Xa({"--un-numeric-fraction":"diagonal-fractions"}),{custom:Qa,autocomplete:"diagonal-fractions"}],[/^stacked-fractions$/,()=>Xa({"--un-numeric-fraction":"stacked-fractions"}),{custom:Qa,autocomplete:"stacked-fractions"}],["normal-nums",{"font-variant-numeric":"normal"}]]});var t8,r8=$(()=>{Up();U6();jk();t8={...qp,aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},animation:{keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},media:{portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},supports:{grid:"(display: grid)"},preflightBase:{...Wl,...Nk,...Lk,...Bk,...$k,...zl,...Ul,...Fk,...Ik}}});var n8=$(()=>{pk()});function i8(e,t,r){return`calc(${t} + (${e} - ${t}) * ${r} / 100)`}function o8(e,t,r){let n=[e,t],i=[];for(let a=0;a<2;a++){let s=typeof n[a]=="string"?Sr(n[a]):n[a];if(!s||!["rgb","rgba"].includes(s.type))return;i.push(s)}let o=[];for(let a=0;a<3;a++)o.push(i8(i[0].components[a],i[1].components[a],r));return{type:"rgb",components:o,alpha:i8(i[0].alpha??1,i[1].alpha??1,r)}}function a8(e,t){return o8("#fff",e,t)}function s8(e,t){return o8("#000",e,t)}function kne(e,t){let r=Number.parseFloat(`${t}`);if(!Number.isNaN(r))return r>0?s8(e,t):a8(e,-r)}function _ne(){let e;return{name:"mix",match(t,r){e||(e=new RegExp(`^mix-(tint|shade|shift)-(-?\\d{1,3})(?:${r.generator.config.separators.join("|")})`));let n=t.match(e);if(n)return{matcher:t.slice(n[0].length),body:i=>(i.forEach(o=>{if(o[1]){let a=Sr(`${o[1]}`);if(a){let s=Sne[n[1]](a,n[2]);s&&(o[1]=Rt(s))}}}),i)}}}}function Ene(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?q.bracket.percent(t[1])!=null:!1}function u8(e){return[Cne,xne,...hp(e),...bne,...vne,...yne,...mne,...gne,...wne,_ne()]}var mne,gne,bne,yne,vne,xne,wne,Sne,Cne,l8=$(()=>{n8();Vp();Pn();mne=[Ct("svg",e=>({selector:`${e.selector} svg`}))],gne=[Ct(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Ct(".light",e=>({prefix:`.light $$ ${e.prefix}`})),st("@dark","@media (prefers-color-scheme: dark)"),st("@light","@media (prefers-color-scheme: light)")],bne=[st("contrast-more","@media (prefers-contrast: more)"),st("contrast-less","@media (prefers-contrast: less)")],yne=[st("motion-reduce","@media (prefers-reduced-motion: reduce)"),st("motion-safe","@media (prefers-reduced-motion: no-preference)")],vne=[st("landscape","@media (orientation: landscape)"),st("portrait","@media (orientation: portrait)")],xne=e=>{if(!e.startsWith("_")&&(/space-[xy]-.+$/.test(e)||/divide-/.test(e)))return{matcher:e,selector:t=>{let r=">:not([hidden])~:not([hidden])";return t.includes(r)?t:`${t}${r}`}}},wne=[Ct("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))];Sne={tint:a8,shade:s8,shift:kne};Cne=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",i,o]=r;if(lu(o,t,"accentColor")||Ene(o))return{matcher:`${n}placeholder-$ ${i}${o}`}}}});function c8(e){return e?Rt(e,0):"rgb(255 255 255 / 0)"}function Dne(e,t,r,n){return t?n!=null?Rt(t,n):Rt(t,`var(--un-${e}-opacity, ${au(t)})`):Rt(r,n)}function Mk(){return([,e,t],{theme:r})=>{let n=su(t,r,"backgroundColor");if(!n)return;let{alpha:i,color:o,cssColor:a}=n;if(!o)return;let s=Dne(e,a,o,i);switch(e){case"from":return{"--un-gradient-from-position":"0%","--un-gradient-from":`${s} var(--un-gradient-from-position)`,"--un-gradient-to-position":"100%","--un-gradient-to":`${c8(a)} var(--un-gradient-to-position)`,"--un-gradient-stops":"var(--un-gradient-from), var(--un-gradient-to)"};case"via":return{"--un-gradient-via-position":"50%","--un-gradient-to":c8(a),"--un-gradient-stops":`var(--un-gradient-from), ${s} var(--un-gradient-via-position), var(--un-gradient-to)`};case"to":return{"--un-gradient-to-position":"100%","--un-gradient-to":`${s} var(--un-gradient-to-position)`}}}}function Pne(){return([,e,t])=>({[`--un-gradient-${e}-position`]:`${Number(q.bracket.cssvar.percent(t))*100}%`})}function qg([,e,t],{theme:r}){let n=r.lineWidth?.[t||"DEFAULT"]??q.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let i=_r[e].map(o=>{let a=`border${o}-width`,s=o.endsWith("right")||o.endsWith("bottom")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[a,s]});if(i)return[[`--un-divide-${e}-reverse`,0],...i]}}function f8([,e,t],{theme:r}){let n=r.spacing?.[t||"DEFAULT"]??q.bracket.cssvar.auto.fraction.rem(t||"1");if(n!=null){n==="0"&&(n="0px");let i=_r[e].map(o=>{let a=`margin${o}`,s=o.endsWith("right")||o.endsWith("bottom")?`calc(${n} * var(--un-space-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-space-${e}-reverse)))`;return[a,s]});if(i)return[[`--un-space-${e}-reverse`,0],...i]}}var Ane,One,qk,Tne,Rne,Fne,Ine,Lne,$ne,Nne,Bne,jne,Mne,qne,Vne,Une,zne,Wne,Hne,Gne,Kne,Yne,Qne,Xne,Jne,Zne,eie,p8,h8=$(()=>{Up();Up();Vp();Pn();Pk();jk();Ane=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",i=t.animation?.timingFns?.[e]??"linear",o=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${i} ${o}`,...a}]}return{animation:q.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":q.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??q.bracket.cssvar.time(e)}),{autocomplete:["animate-duration","animate-duration-$duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??q.bracket.cssvar.time(e)}),{autocomplete:["animate-delay","animate-delay-$duration"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.easing?.[e||"DEFAULT"]??q.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$easing"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?ut:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?ut:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":q.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?ut:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...je("animate","animation")];One=[[/^bg-gradient-(.+)$/,([,e])=>({"--un-gradient":q.bracket(e)}),{autocomplete:["bg-gradient","bg-gradient-(from|to|via)","bg-gradient-(from|to|via)-$colors","bg-gradient-(from|to|via)-(op|opacity)","bg-gradient-(from|to|via)-(op|opacity)-<percent>"]}],[/^(?:bg-gradient-)?stops-(\[.+\])$/,([,e])=>({"--un-gradient-stops":q.bracket(e)})],[/^(?:bg-gradient-)?(from)-(.+)$/,Mk()],[/^(?:bg-gradient-)?(via)-(.+)$/,Mk()],[/^(?:bg-gradient-)?(to)-(.+)$/,Mk()],[/^(?:bg-gradient-)?(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:q.bracket.percent(t)})],[/^(from|via|to)-([\d.]+)%$/,Pne()],[/^bg-gradient-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-gradient-to-([rltb]{1,2})$/,([,e])=>{if(e in ar)return{"--un-gradient-shape":`to ${ar[e]} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)","background-image":"linear-gradient(var(--un-gradient))"}},{autocomplete:`bg-gradient-to-(${Object.keys(ar).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],[/^(?:bg-gradient-)?shape-(.+)$/,([,e])=>{let t=e in ar?`to ${ar[e]}`:q.bracket(e);if(t!=null)return{"--un-gradient-shape":`${t} in oklch`,"--un-gradient":"var(--un-gradient-shape), var(--un-gradient-stops)"}},{autocomplete:["bg-gradient-shape",`bg-gradient-shape-(${Object.keys(ar).join("|")})`,`shape-(${Object.keys(ar).join("|")})`]}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...je("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...ut.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":ar[e]})],["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"}],...je("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...je("bg-origin","background-origin")],qk={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Tne=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=qk[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(qk).join("|")})`,`list-(${Object.keys(qk).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":q.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...je("list","list-style-type")],Rne=[[/^accent-(.+)$/,Ft("accent-color","accent","accentColor"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":q.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Fne=[[/^caret-(.+)$/,Ft("caret-color","caret","textColor"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":q.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],Ine=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],Lne=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...je("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...je("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...je("overscroll-y","overscroll-behavior-y")],$ne=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...je("scroll","scroll-behavior")],Nne=[[/^columns-(.+)$/,([,e])=>({columns:q.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["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"}],...je("break-before"),["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"}],...je("break-inside"),["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"}],...je("break-after")],Bne=[[/^divide-?([xy])$/,qg,{autocomplete:["divide-(x|y|block|inline)","divide-(x|y|block|inline)-reverse","divide-(x|y|block|inline)-$lineWidth"]}],[/^divide-?([xy])-?(.+)$/,qg],[/^divide-?([xy])-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(block|inline)$/,qg],[/^divide-(block|inline)-(.+)$/,qg],[/^divide-(block|inline)-reverse$/,([,e])=>({[`--un-divide-${e}-reverse`]:1})],[/^divide-(.+)$/,Ft("border-color","divide","borderColor"),{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,([,e])=>({"--un-divide-opacity":q.bracket.percent(e)}),{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],...Ya.map(e=>[`divide-${e}`,{"border-style":e}])];jne=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e,"line-clamp":e}),{autocomplete:["line-clamp","line-clamp-<num>"]}],...["none",...ut].map(e=>[`line-clamp-${e}`,{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":e,"line-clamp":e}])],Mne=[[/^\$ placeholder-(.+)$/,Ft("color","placeholder","accentColor"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":q.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],qne=[[/^space-([xy])-(.+)$/,f8,{autocomplete:["space-(x|y|block|inline)","space-(x|y|block|inline)-reverse","space-(x|y|block|inline)-$spacing"]}],[/^space-([xy])-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})],[/^space-(block|inline)-(.+)$/,f8],[/^space-(block|inline)-reverse$/,([,e])=>({[`--un-space-${e}-reverse`]:1})]];Vne=[["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}]],Une=[...["manual","auto","none",...ut].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],zne=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...je("write","writing-mode")],Wne=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...je("write-orient","text-orientation")],Hne=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Gne=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Kne=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(ar[e])return{"object-position":ar[e]};if(q.bracketOfPosition(e)!=null)return{"object-position":q.bracketOfPosition(e).split(" ").map(t=>q.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(ar).join("|")})`}]],Yne=[["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"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...je("bg-blend","background-blend")],Qne=[["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"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...je("mix-blend")],Xne=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Jne={"bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-gradient":"linear-gradient","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},Zne=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=Jne[e];if(r)return{[r]:q.cssvar(t)}}]],eie=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],p8=[Ng,Zne,Bg,j6,bp,Hne,yp,mp,yg,wg,jne,Gne,Sg,vg,gg,kg,Pg,_g,dp,Ag,Eg,dg,J6,Fp,Ane,gp,Z6,xp,vp,X6,Tne,ag,Nne,Mp,jp,Bp,mg,xg,qne,Bne,bg,Lne,$ne,Ep,wp,_p,ug,cg,One,fg,Og,Kne,Dg,ig,Ig,Cp,ng,Rg,Ap,Vne,Dp,e8,hg,Pp,Fg,Lg,$g,Une,zne,Wne,Fne,Rne,lg,Yne,Qne,Rp,og,Tp,Ine,Q6,Tg,sg,kp,Sp,Mne,pg,eie,Xne,Op,Cg].flat(1)});function tie(e){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function rie(e){return[...Fe(Gl(e).postprocess),...tie(e.important)]}var Kl,Vg=$(()=>{Dt();Ak();V6();r8();l8();h8();Kl=(e={})=>(e.important=e.important??!1,{...Gl(e),name:"@unocss/preset-wind3",theme:t8,rules:p8,shortcuts:q6,variants:u8(e),postprocess:rie(e)})});var d8,m8=$(()=>{Vg();d8=(e={})=>({...Kl(e),name:"@unocss/preset-uno"})});function nie(e,t){return{name:e,getImportUrl(r){let n=r.map(i=>{let{name:o,weights:a,italic:s}=i,u=o.toLowerCase().replace(/\s/g,"-");if(!a?.length)return`${u}${s?":i":""}`;let l=a.map(p=>p.toString());return!l.some(p=>p.endsWith("i"))&&s&&(l=l.map(p=>p+="i")),`${u}:${l.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}function oie(e,t){return{name:e,getImportUrl(r){let n=o=>{let a=o.map(u=>u[0]),s=o.map(u=>u[1]);return`${a.join(";")};${s.join(";")}`},i=r.map(o=>{let a=o.name.replace(/\s+/g,"+");return o.weights?.length&&(a+=o.italic?`:ital,wght@${n(o.weights.map(s=>[`0,${s}`,`1,${s}`]))}`:`:wght@${o.weights.join(";")}`),`family=${a}`}).join("&");return`${t}/css2?${i}&display=swap`}}}function uie(e,t){return{name:e,getImportUrl(r){let n=r.map(i=>{let o=i.name.replace(/\s+/g,"-").toLocaleLowerCase();return i.weights?.length?o+=`@${i.weights.flatMap(a=>i.italic?Number(a)+1:a).sort().join()}`:o+=`@${i.italic?2:1}`,`f[]=${o}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function lie(e,t){let r=new Map,n=new Map;return{name:e,async getPreflight(i){return(await Promise.all(i.map(async a=>{let s=[],u=a.name.toLowerCase().replace(/\s+/g,"-"),l=r.get(u);if(!l){let C=`https://api.fontsource.org/v1/fonts/${u}`;try{l=await(await Promise.resolve().then(()=>(hf(),lm))).$fetch(C),r.set(u,l)}catch{throw new Error(`Failed to fetch font: ${a.name}`)}}let{weights:f,unicodeRange:p,variants:m,family:b}=l,v=l.subsets.filter(C=>a.subsets?a.subsets.includes(C):!0),w=a.italic?"italic":"normal";if(l.variable&&!a.preferStatic){let C=n.get(u),P=`https://api.fontsource.org/v1/variable/${u}`;try{C=await(await Promise.resolve().then(()=>(hf(),lm))).$fetch(P),n.set(u,C)}catch{throw new Error(`Failed to fetch font variable: ${a.name}`)}let A=Oa(C.axes,a.variable??{});for(let E of v)if(p[E]){let y=`${t}/fontsource/fonts/${l.id}:vf@latest/${E}-wght-${w}.woff2`,L={family:b,display:"swap",style:w,weight:400,src:[{url:y,format:"woff2-variations"}],variable:{wght:A.wght??void 0,wdth:A.wdth??void 0,slnt:A.slnt??void 0},unicodeRange:p[E],comment:`${l.id}-${E}-wght-normal`};s.push(Vk(L))}else Object.entries(p).filter(([y])=>!l.subsets.includes(y)).forEach(([y,L])=>{let I=`${t}/fontsource/fonts/${l.id}:vf@latest/${y.slice(1,-1)}-wght-${w}.woff2`,T={family:b,display:"swap",style:w,weight:400,src:[{url:I,format:"woff2-variations"}],variable:{wght:A.wght??void 0,wdth:A.wdth??void 0,slnt:A.slnt??void 0},unicodeRange:L,comment:`${l.id}-${y}-wght-normal`};s.push(Vk(T))})}else{let C=a.weights&&a.weights.length>0?a.weights:f;for(let P of v)for(let A of C){let E=m[A][w][P].url,y={family:b,display:"swap",style:w,weight:Number(A),src:[{url:E.woff2,format:"woff2"}],unicodeRange:p[P],comment:`${l.id}-${P}-${A}-${w}`};s.push(Vk(y))}}return s}))).flat().join(`
|
|
138
|
+
|
|
139
|
+
`)}}}function Vk(e){let{family:t,style:r,display:n,weight:i,variable:o,src:a,unicodeRange:s,comment:u,spacer:l=`
|
|
140
|
+
`}=e,{wght:f,wdth:p,slnt:m}=o??{},b="@font-face {";return b+=`${l}font-family: '${t}';`,b+=`${l}font-style: ${m?`oblique ${Number(m.max)*-1}deg ${Number(m.min)*-1}deg`:r};`,b+=`${l}font-display: ${n};`,b+=`${l}font-weight: ${f?fie(f):i};`,p&&(b+=`${l}font-stretch: ${p.min}% ${p.max}%;`),b+=`${l}src: ${a.map(({url:v,format:w})=>`url(${v}) format('${w}')`).join(", ")};`,s&&(b+=`${l}unicode-range: ${s};`),u&&(b=`/* ${u} */
|
|
141
|
+
${b}`),`${b}
|
|
142
|
+
}`}function fie(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}function pie(e,t){return{name:e,getImportUrl(r){let n=o=>{let a=o.map(u=>u[0]),s=o.map(u=>u[1]);return`${a.join(";")};${s.join(";")}`},i=r.map(o=>{let a=o.name.replace(/\s+/g,"+");return o.weights?.length&&(a+=o.italic?`:ital,wght@${n(o.weights.map(s=>[`0,${s}`,`1,${s}`]))}`:`:wght@${o.weights.join(";")}`),`family=${a}`}).join("&");return`${t}/css2?${i}&display=swap`}}}function g8(e){return typeof e=="string"?mie[e]:e}function gie(e,t){if(typeof e!="string")return e.provider=g8(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((i,o)=>i.toString().localeCompare(o.toString(),"en",{numeric:!0})))]),e;let[r,n=""]=e.split(":");return{name:r,weights:[...new Set(n.split(/[,;]\s*/).filter(Boolean).sort((i,o)=>i.localeCompare(o,"en",{numeric:!0})))],provider:g8(t)}}function bie(e){return(t={})=>{let{provider:r="google",extendTheme:n=!0,inlineImports:i=!0,customFetch:o=e,timeouts:a={}}=t,s="fonts",u=i?s:Pd,l=Fe(t.processors||[]),f=Object.fromEntries(Object.entries(t.fonts||{}).map(([A,E])=>[A,Fe(E).map(y=>gie(y,r))])),p=Object.values(f).flatMap(A=>A),m={};async function b(A){if(a===!1)return o(A);let{warning:E=1e3,failure:y=2e3}=a,L=!1,I=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${A}`),L=!0},E);return await Promise.race([o(A),new Promise((T,N)=>{setTimeout(()=>N(new Error("[unocss] Fetch web fonts timeout.")),y)})]).then(T=>(L&&console.info("[unocss] Web fonts fetched."),T)).finally(()=>clearTimeout(I))}async function v(A){return i?(m[A]||(m[A]=b(A).catch(E=>{if(console.error(`[unocss] Failed to fetch web fonts: ${A}`),console.error(E),typeof process<"u"&&process.env.CI)throw E})),await m[A]):`@import url('${A}');`}let w=Array.from(new Set(p.map(A=>A.provider)));async function C(A,E){let y=[];for(let I of E){let T=A.filter(N=>N.provider.name===I.name);if(I.getImportUrl){let N=I.getImportUrl(T);N&&y.push(await v(N))}y.push(await I.getPreflight?.(T))}return y.filter(Boolean).join(`
|
|
143
|
+
`)}let P={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let A;for(let E of l){let y=await E.getCSS?.(p,w,C);if(y){A=y;break}}A||(A=await C(p,w));for(let E of l)A=await E.transformCSS?.(A)||A;return A},layer:u}],layers:{[s]:-200}};return n&&(P.extendTheme=(A,E)=>{let y=E.presets.some(T=>T.name==="@unocss/preset-wind4"),L=t.themeKey??(y?"font":"fontFamily");A[L]||(A[L]={});let I=Object.fromEntries(Object.entries(f).map(([T,N])=>[T,N.map(X=>X.provider.getFontName?.(X)??`"${X.name}"`)]));for(let T of Object.keys(I))typeof A[L][T]=="string"?A[L][T]=I[T].map(N=>`${N},`).join("")+A[L][T]:A[L][T]=I[T].join(",")}),P}}var iie,aie,sie,cie,hie,die,mie,yie,vie,b8,y8=$(()=>{Dt();iie=nie("bunny","https://fonts.bunny.net");aie=oie("coollabs","https://api.fonts.coollabs.io"),sie=uie("fontshare","https://api.fontshare.com");cie=lie("fontsource","https://cdn.jsdelivr.net");hie=pie("google","https://fonts.googleapis.com"),die={name:"none",getPreflight(){return""},getFontName(e){return e.name}},mie={google:hie,bunny:iie,fontshare:sie,fontsource:cie,coollabs:aie,none:die};yie="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",vie=async e=>(await Promise.resolve().then(()=>(hf(),lm))).$fetch(e,{headers:{"User-Agent":yie},retry:3}),b8=bie(vie)});var v8,x8=$(()=>{Vg();v8=(e={})=>({...Kl(e),name:"@unocss/preset-wind"})});function Ti(e){return+e.toFixed(10)}function kie(e){let t=e.match(Gp);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(n&&!Number.isNaN(i))return`${Ti(i)}${n}`}function Sie(e){if(e==="auto"||e==="a")return"auto"}function _ie(e){if(!e)return;if(E8.test(e))return`${A8[e]}${e}`;let t=e.match(Gp);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${Ti(i)}${n}`:`${Ti(i/4)}rem`}function Cie(e){if(E8.test(e))return`${A8[e]}${e}`;let t=e.match(Gp);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return n?`${Ti(i)}${n}`:`${Ti(i)}px`}function P8(e){if(!xie.test(e))return;let t=Number.parseFloat(e);if(!Number.isNaN(t))return Ti(t)}function Eie(e){e.endsWith("%")&&(e=e.slice(0,-1));let t=P8(e);if(t!=null)return`${t}%`}function Aie(e){if(!e)return;if(e==="full")return"100%";let[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Ti(n*100)}%`}function fu(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n,i=e.match(zg);if(!i)r=e.slice(1,-1);else{if(!t)n=i[1];else if(i[1]!==t)return;r=e.slice(i[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){let[a,s]=r.slice(2).split(",");r=`var(--${rn(a)}${s?`, ${s}`:""})`}let o=0;for(let a of r)if(a==="[")o+=1;else if(a==="]"&&(o-=1,o<0))return;if(o)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,a=>a.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,a=>{let s=[];return a.replace(/var\((--.+?)[,)]/g,(u,l)=>(s.push(l),u.replace(l,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>s.shift())})}}function Die(e){return fu(e)}function Pie(e){return fu(e,"color")}function Oie(e){return fu(e,"length")||fu(e,"size")}function Tie(e){return fu(e,"position")}function Rie(e){return fu(e,"family")}function Fie(e){return fu(e,"number")}function Iie(e){if(e.startsWith("var("))return e;let t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){let[r,n]=t[1].split(",");return`var(--${rn(r)}${n?`, ${n}`:""})`}}function Lie(e){let t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0&&!n?"0s":n?`${Ti(i)}${n}`:`${Ti(i)}ms`}function $ie(e){let t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;let[,r,n]=t,i=Number.parseFloat(r);if(!Number.isNaN(i))return i===0?"0":n?`${Ti(i)}${n}`:`${Ti(i)}deg`}function Nie(e){if(Ot.includes(e))return e}function Bie(e){if(e.split(",").every(t=>wie.includes(t)))return e}function jie(e){if(["top","left","right","bottom","center"].includes(e))return e}function Mie(e){if(e==="none")return"none"}function hn(e,t){let r=B.number(e)??t;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function Tt(e){function t(n){let i=n.match(Gp);if(i){let[,o,a]=i,s=Number.parseFloat(o);if(!Number.isNaN(s))return[s,a]}return[void 0,void 0]}function r(n){let i,o;if(n.spacing?.DEFAULT){let[a,s]=t(n.spacing.DEFAULT);a!=null&&s!=null&&(i=a,o=s)}return Object.entries(n.spacing??{}).reduce((a,[s,u])=>{let[l,f]=t(u);return l!=null&&f!=null&&f===o?a[s]=l/i:a[s]=u,a},{})}return([n,i,o],{theme:a})=>{if(o!=null&&i!=null){let s=r(a),u,l=o.startsWith("-");if(l&&(o=o.slice(1)),u=hn(o,s[o]),u!=null)return Number.isNaN(u)?(Me("spacing",o),pn[i].map(f=>[`${e}${f}`,l?`calc(var(--spacing-${o} * -1)`:`var(--spacing-${o})`])):(Me("spacing"),pn[i].map(f=>[`${e}${f}`,`calc(var(--spacing) * ${l?"-":""}${u})`]));if(u=B.bracket.cssvar.global.auto.fraction.rem(l?`-${o}`:o),u!=null)return pn[i].map(f=>[`${e}${f}`,u])}}}function Kp(e,t){let r,[n,...i]=Ga(e,["/",":"],3)??[];if(n!=null){let w=(n.match(zg)??[])[1];(w==null||w==="color")&&(r=[n,...i])}if(!r)return;let o,[a,s,u]=r;sk(s)||sk(B.bracket(s??""))?u=s:o=s;let l=a.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[f]=l;if(!f)return;let p=k8(t,l);if(!p&&l.length>=2){let w=l.at(-1),C=l.at(-2);if(/^\d+$/.test(w)){let P=l.slice(0,-2).concat([`${C}${w}`]);p=k8(t,P)}}let{no:m,keys:b,color:v}=p??{};if(!v){let w=B.bracketOfColor(a),C=w||a;if(B.numberWithUnit(C))return;/^#[\da-f]+$/i.test(C)?v=C:/^hex-[\da-fA-F]+$/.test(C)?v=`#${C.slice(4)}`:a.startsWith("$")&&(v=B.cssvar(a)),v=v||w}return{opacity:o,modifier:u&&B.bracket.cssvar(u)||u,name:f,no:m,color:v??Wp[f],alpha:B.bracket.cssvar.percent(o??""),keys:b,get cssColor(){return Sr(this.color)}}}function k8(e,t){let r,n,i,o=Yp(e,"colors",t);if(typeof o=="object"?"DEFAULT"in o&&(r=o.DEFAULT,n="DEFAULT",i=[...t,n]):typeof o=="string"&&(r=o,i=t,n=t.at(-1)),!!r)return{color:r,no:n,keys:i}}function Yp(e,t,r){let n=e[t];function i(o,a){if(!(!o||typeof o!="object")){if(a.length===0)return o;for(let s=a.length;s>0;s--){let u=a.slice(0,s).join("-");if(u in o){let l=o[u];return s===a.length?l:i(l,a.slice(s))}}}}return i(n,r)}function Gk(e,t,r,n){if(!e)return;let{color:i,keys:o,alpha:a,modifier:s}=e,u=n?.generator.config.envMode==="dev"&&i?` /* ${i} */`:"",l={};if(i){let f=[l];if(Object.values(Wp).includes(i))l[t]=i;else{let p=`--un-${r}-opacity`,m=o?Lt("colors",o):i,b=s??(o?"in srgb":"in oklab");!b.startsWith("in ")&&!b.startsWith("var(")&&(b=`in ${b}`),l[t]=`color-mix(${b}, ${m} ${a??`var(${p})`}, transparent)${u}`,f.push(xe(p,{syntax:"<percentage>",initialValue:"100%"})),o&&(Me("colors",o),s||f.push({[Qt.parent]:"@supports (color: color-mix(in lab, red, red))",[Qt.noMerge]:!0,[Qt.shortcutsNoMerge]:!0,[t]:`color-mix(in oklab, ${m} ${a??`var(${p})`}, transparent)${u}`})),n?.theme&&Ql(i,n.theme)}return f}}function It(e,t){return([,r],n)=>{let i=Kp(r??"",n.theme);if(i)return Gk(i,e,t,n)}}function Wg(e,t){let r=[];e=Fe(e);for(let n=0;n<e.length;n++){let i=Ga(e[n]," ",6);if(!i||i.length<3)return e;let o=!1,a=i.indexOf("inset");a!==-1&&(i.splice(a,1),o=!0);let s="",u=i.at(-1);if(Sr(i.at(0))){let l=Sr(i.shift());l&&(s=`, ${Rt(l)}`)}else if(Sr(u)){let l=Sr(i.pop());l&&(s=`, ${Rt(l)}`)}else u&&Hk.test(u)&&(s=`, ${i.pop()}`);r.push(`${o?"inset ":""}${i.join(" ")} var(${t}${s})`)}return r}function du(e,t){return e!=null&&!!Kp(e,t)?.color}function mu({theme:e,generator:t},r="breakpoint"){let n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(Uk.has(e))return Uk.get(e);let i=Object.entries(n).sort((o,a)=>Number.parseInt(o[1].replace(S8,""))-Number.parseInt(a[1].replace(S8,""))).map(([o,a])=>({point:o,size:a}));return Uk.set(e,i),i}function Qe(e,t){return Ot.map(r=>[`${e}-${r}`,{[t??e]:r}])}function xe(e,t={}){let{syntax:r="*",inherits:n=!1,initialValue:i}=t,o={[Qt.shortcutsNoMerge]:!0,[Qt.noMerge]:!0,[Qt.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return i!=null&&(o["initial-value"]=i),Uie(e,i?String(i):"initial"),o}function Yl(e){return e!=null&&Ug.test(e)}function O8(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Ug.test(e)||Gp.test(e)}function Hg(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function Kk(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}function Me(e,t="DEFAULT"){let r=`${e}:${Fe(t).join("-")}`;pu.has(r)||pu.add(r)}function Lt(e,t){return`var(--${e}-${Fe(t).join("-")})`}function Ql(e,t){if(e.startsWith("var(")){let r=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){let[n,...i]=r.split("-"),o=Yp(t,n,i);typeof o=="string"&&(Me(n,i),Ql(o,t))}}}function Uie(e,t){hu.has(e)||hu.set(e,t)}var _8,zp,Wp,pn,zk,Hp,Wk,C8,w8,Vr,Ot,Ug,Hk,Gp,xie,E8,A8,zg,D8,wie,qie,Vie,B,S8,Uk,pu,hu,Qp=$(()=>{Dt();Pn();_8="@unocss/preset-wind4",zp="$$mini-no-negative",Wp={transparent:"transparent",current:"currentColor",inherit:"inherit"},pn={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},zk={...pn,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Hp={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},Wk={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},C8=["x","y","z"],w8=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],Vr=Object.assign({},...w8.map(e=>({[e.replace(/ /,"-")]:e})),...w8.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),Ot=["inherit","initial","revert","revert-layer","unset"],Ug=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,Hk=/^(var)\s*\((.+)\)(.*)/,Gp=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,xie=/^(-?\d*(?:\.\d+)?)$/,E8=/^(px|[sld]?v[wh])$/i,A8={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},zg=/^\[(color|image|length|size|position|quoted|string|number|family):/i,D8=/,(?![^()]*\))/g,wie=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];qie={__proto__:null,auto:Sie,bracket:Die,bracketOfColor:Pie,bracketOfFamily:Rie,bracketOfLength:Oie,bracketOfNumber:Fie,bracketOfPosition:Tie,cssvar:Iie,degree:$ie,fraction:Aie,global:Nie,none:Mie,number:P8,numberWithUnit:kie,percent:Eie,position:jie,properties:Bie,px:Cie,rem:_ie,time:Lie},Vie=M0(qie),B=Vie;S8=/[a-z]+/gi,Uk=new WeakMap;pu=new Set([]);hu=new Map});function zie({important:e}){if(e==null||e===!1)return[];let t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.layer!=="properties"&&r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function Wie({variablePrefix:e}){return e!=="un-"?[r=>{r.entries.forEach(n=>{n[0]=n[0].replace(/^--un-/,`--${e}`),typeof n[1]=="string"&&(n[1]=n[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function Yk(e){return[zie,Wie].flatMap(t=>t(e))}var T8=$(()=>{});function Xl(e){return{name:`${e}-aria`,match(t,r){let n=vt(`${e}-aria-`,t,r.generator.config.separators);if(n){let[i,o,a]=n,s=B.bracket(i)??r.theme.aria?.[i]??"";if(s){let u={group:`&:is(:where(.group${a?`\\/${a}`:""})[aria-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[aria-${s}] ~ *)`,previous:`:where(*[aria-${s}] + &)`,parent:`:where(*[aria-${s}] > &)`,has:`&:has(*[aria-${s}])`,in:`:where(*[aria-${s}]) &`};return{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:u[e]})}}}},multiPass:!0}}function Kie(){let e={};return{name:"breakpoints",match(t,r){if(R8.test(t)){let i=t.match(R8);return{matcher:t.replace(i[0],""),handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (${i[1]}-width: ${i[2]})`})}}let n=(mu(r)??[]).map(({point:i,size:o},a)=>[i,o,a]);for(let[i,o,a]of n){e[i]||(e[i]=new RegExp(`^((?:([al]t-|[<~]|max-))?${i}(?:${r.generator.config.separators.join("|")}))`));let s=t.match(e[i]);if(!s)continue;let[,u]=s,l=t.slice(u.length);if(l==="container")continue;let f=u.startsWith("lt-")||u.startsWith("<")||u.startsWith("max-"),p=u.startsWith("at-")||u.startsWith("~"),m=3e3;return f?(m-=a+1,{matcher:l,handle:(b,v)=>v({...b,parent:`${b.parent?`${b.parent} $$ `:""}@media (max-width: ${Yo(o)})`,parentOrder:m})}):(m+=a+1,p&&a<n.length-1?{matcher:l,handle:(b,v)=>v({...b,parent:`${b.parent?`${b.parent} $$ `:""}@media (min-width: ${o}) and (max-width: ${Yo(n[a+1][1])})`,parentOrder:m})}:{matcher:l,handle:(b,v)=>v({...b,parent:`${b.parent?`${b.parent} $$ `:""}@media (min-width: ${o})`,parentOrder:m})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}function Xp(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;let i=n.generator.config.separators,o=qr(`${e}-`,r,i);if(!o){for(let s of i)if(r.startsWith(`${e}${s}`)){o=["",r.slice(e.length+s.length)];break}if(!o)return}let a=B.bracket(o[0])??"";return a===""&&(a="*"),{matcher:o[1],selector:s=>`${s}${t}${a}`}},multiPass:!0}}function Zie(e={}){if(e?.dark==="class"||typeof e.dark=="object"){let{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[Ct("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),Ct("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[st("dark","@media (prefers-color-scheme: dark)"),st("light","@media (prefers-color-scheme: light)")]}function Jl(e){return{name:`${e}-data`,match(t,r){let n=vt(`${e}-data-`,t,r.generator.config.separators);if(n){let[i,o,a]=n,s=B.bracket(i)??r.theme.data?.[i]??"";if(s){let u={group:`&:is(:where(.group${a?`\\/${a}`:""})[data-${s}] *)`,peer:`&:is(:where(.peer${a?`\\/${a}`:""})[data-${s}] ~ *)`,previous:`:where(*[data-${s}] + &)`,parent:`:where(*[data-${s}] > &)`,has:`&:has(*[data-${s}])`,in:`:where(*[data-${s}]) &`};return{matcher:o,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}${l.selector}`,selector:u[e]})}}}},multiPass:!0}}function ioe(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n,i=t.match(e);if(i?n=t.slice(i[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:o=>(o.forEach(a=>{a[1]!=null&&(a[1]+=" !important")}),o)}}}}function Soe(e){let t=e.match(Ug)||e.match(Hk);if(t){let[r,n]=ti(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}function Coe(e){let t=e.match(_oe);if(t){let[r,n]=ti(t[2],"(",")"," ")??[];if(r){let i=F8.test(r.slice(1,-1))?r.replace(I8,o=>o.startsWith("-")?o.slice(1):`-${o}`):`(calc(${r} * -1))`;return`${t[1]}${i}${n?` ${n}`:""}`}}}function Doe(e){let t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?B.bracket.percent(t[1])!=null:!1}function Poe(){return q0({getBracket:Pi,h:B,variantGetBracket:qr})}function Ooe(){return V0({getBracket:Pi,h:B,variantGetBracket:qr})}function Toe(e={}){return U0(e,{getBracket:Pi,h:B,variantGetBracket:qr})}function Qk(e){return[Hie,toe,moe,doe,goe,Eoe,Foe,ioe(),Ioe,aoe,soe,uoe,loe,...coe,...foe,...poe,...hoe,Kie(),...Qie,...Xie,Aoe,...Poe(),Ooe(),...Toe(e),Roe,...Zie(e),...eoe,...noe,boe,...Yie,ooe,Jie,yoe,...roe,...Gie,voe,...xoe,woe].flat()}var Hie,Gie,R8,Yie,Qie,Xie,Jie,eoe,toe,roe,noe,ooe,aoe,soe,uoe,loe,coe,foe,poe,hoe,doe,moe,goe,boe,yoe,voe,xoe,woe,F8,I8,koe,_oe,Eoe,Aoe,Roe,Foe,Ioe,L8=$(()=>{Pn();Qp();Dt();Hie={name:"aria",match(e,t){let r=vt("aria-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n)??t.theme.aria?.[n]??"";if(o)return{matcher:i,selector:a=>`${a}[aria-${o}]`}}},multiPass:!0,autocomplete:"aria-$aria"};Gie=[Xl("group"),Xl("peer"),Xl("parent"),Xl("previous"),Xl("has"),Xl("in")],R8=/(max|min)-\[([^\]]*)\]:/;Yie=[Ct("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Ct("**",e=>({selector:`${e.selector} *`}),{order:-1})];Qie=[Xp("all"," "),Xp("children",">"),Xp("next","+"),Xp("sibling","+"),Xp("siblings","~")],Xie=[Ct("svg",e=>({selector:`${e.selector} svg`}))],Jie={name:"@",match(e,t){if(e.startsWith("@container"))return;let r=vt("@",e,t.generator.config.separators);if(r){let[n,i,o]=r,a=B.bracket(n),s;if(a?s=B.numberWithUnit(a):s=t.theme.container?.[n]??"",s){let u=1e3+Object.keys(t.theme.container??{}).indexOf(n);return o&&(u+=1e3),{matcher:i,handle:(l,f)=>f({...l,parent:`${l.parent?`${l.parent} $$ `:""}@container${o?` ${o} `:" "}(min-width: ${s})`,parentOrder:u})}}}},multiPass:!0};eoe=[Ct(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Ct(".light",e=>({prefix:`.light $$ ${e.prefix}`})),st("@dark","@media (prefers-color-scheme: dark)"),st("@light","@media (prefers-color-scheme: light)"),st("not-dark","@media not (prefers-color-scheme: dark)")],toe={name:"data",match(e,t){let r=vt("data-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n)??t.theme.data?.[n]??"";if(o)return{matcher:i,selector:a=>`${a}[data-${o}]`}}},multiPass:!0};roe=[Jl("group"),Jl("peer"),Jl("parent"),Jl("previous"),Jl("has"),Jl("in")],noe=[Ct("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Ct("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];ooe=Ct("inert",e=>({parent:`${e.parent?`${e.parent} $$ `:""}${e.selector}`,selector:"&:is([inert],[inert] *)"})),aoe=st("noscript","@media (scripting: none)"),soe={name:"scripting",match(e,t){let r=vt(["script-","scripting-"],e,t.generator.config.separators);if(r){let[n,i]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},uoe=st("print","@media print"),loe={name:"media",match(e,t){let r=vt("media-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n)??"";if(o===""&&(o=t.theme.media?.[n]??""),o)return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@media ${o}`})}}},multiPass:!0,autocomplete:"media-$media"},coe=[st("contrast-more","@media (prefers-contrast: more)"),st("contrast-less","@media (prefers-contrast: less)")],foe=[st("motion-reduce","@media (prefers-reduced-motion: reduce)"),st("motion-safe","@media (prefers-reduced-motion: no-preference)")],poe=[st("landscape","@media (orientation: landscape)"),st("portrait","@media (orientation: portrait)")],hoe=[st("forced-colors","@media (forced-colors: active)")],doe={name:"selector",match(e,t){let r=qr("selector-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n);if(o)return{matcher:i,selector:()=>o}}}},moe={name:"layer",match(e,t){let r=vt("layer-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n)??n;if(o)return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@layer ${o}`})}}}},goe={name:"uno-layer",match(e,t){let r=vt("uno-layer-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n)??n;if(o)return{matcher:i,layer:o}}}},boe={name:"scope",match(e,t){let r=qr("scope-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n);if(o)return{matcher:i,selector:a=>`${o} $$ ${a}`}}}},yoe={name:"variables",match(e,t){if(!e.startsWith("["))return;let[r,n]=Pi(e,"[","]")??[];if(!(r&&n))return;let i;for(let s of t.generator.config.separators)if(n.startsWith(s)){i=n.slice(s.length);break}if(i==null)return;let o=B.bracket(r)??"",a=o.startsWith("@");if(a||o.includes("&"))return{matcher:i,handle(s,u){let l=a?{parent:`${s.parent?`${s.parent} $$ `:""}${o}`}:{selector:o.replace(/&/g,s.selector)};return u({...s,...l})}}},multiPass:!0},voe={name:"theme-variables",match(e,t){if(Nl(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Bl(JSON.stringify(r.entries),t.theme))})}}}},xoe=[Ct("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],woe={name:"implicit-group",match(e,t){let r=vt("in-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n)??n;if(o)return{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}${a.selector}`,selector:`:where(*:is(${o})) &`})}}}},F8=/^-?[0-9.]+(?:[a-z]+|%)?$/,I8=/-?[0-9.]+(?:[a-z]+|%)?/,koe=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];_oe=/\b(hue-rotate)\s*(\(.*)/;Eoe={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===zp))return;let r=!1;return t.forEach(n=>{if(Fe(n[2]).includes(zp))return;let i=n[1]?.toString();if(!i||i==="0"||koe.some(s=>s.test(n[0])))return;let o=Soe(i);if(o){n[1]=o,r=!0;return}let a=Coe(i);if(a){n[1]=a,r=!0;return}F8.test(i)&&(n[1]=i.replace(I8,s=>s.startsWith("-")?s.slice(1):`-${s}`),r=!0)}),r?t:[]}}}},Aoe=(e,{theme:t})=>{let r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){let[,n="",i,o]=r;if(du(o,t)||Doe(o))return{matcher:`${n}placeholder-$ ${i}${o}`}}};Roe=z0(),Foe={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},Ioe={name:"supports",match(e,t){let r=vt("supports-",e,t.generator.config.separators);if(r){let[n,i]=r,o=B.bracket(n)??"";if(o===""&&(o=t.theme.supports?.[n]??""),o)return o.startsWith("(")&&o.endsWith(")")||(o=`(${o})`),{matcher:i,handle:(a,s)=>s({...a,parent:`${a.parent?`${a.parent} $$ `:""}@supports ${o}`})}}},multiPass:!0}});var Xk,$8=$(()=>{Xk={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(Xk).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])})});var Loe,$oe,Noe,Boe,joe,Moe,qoe,Voe,Uoe,zoe,Woe,Hoe,Goe,Koe,Yoe,Qoe,Xoe,Joe,Zoe,N8,eae,tae,rae,nae,Jk,B8=$(()=>{$8();Loe={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},$oe={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},Noe={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Boe={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"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},joe={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},Moe={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},qoe={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Voe={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Uoe={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},zoe={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Woe={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Hoe={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},Goe={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["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)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Koe={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Yoe={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},Qoe={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},Xoe={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Joe={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Zoe={"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",prose:"65ch"},N8={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},eae={...N8},tae={grid:"(display: grid)"},rae={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)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},nae={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},Jk={font:Boe,colors:Xk,spacing:Woe,breakpoint:N8,verticalBreakpoint:eae,text:joe,fontWeight:Moe,tracking:qoe,leading:Voe,textStrokeWidth:Uoe,radius:Hoe,shadow:Goe,insetShadow:Koe,dropShadow:Yoe,textShadow:Qoe,ease:rae,animation:Loe,blur:Noe,perspective:Xoe,property:nae,default:Joe,container:Zoe,aria:$oe,media:zoe,supports:tae}});var j8,iae,M8,q8,Zk=$(()=>{Dt();Qp();j8=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],iae=/@media \(min-width: (.+)\)/,M8=[[/^__container$/,(e,t)=>{let{theme:r,variantHandlers:n}=t,i=r.containers?.padding,o;ft(i)?o=i:o=i?.DEFAULT;let a=r.containers?.maxWidth,s;for(let l of n){let f=l.handle?.({},p=>p)?.parent;if(ft(f)){let p=f.match(iae)?.[1];if(p){let b=(mu(t)??[]).find(v=>v.size===p)?.point;a?b&&(s=a?.[b]):s=p,b&&!ft(i)&&(o=i?.[b]??o)}}}let u={"max-width":s};return n.length||(u.width="100%"),r.containers?.center&&(u["margin-left"]="auto",u["margin-right"]="auto"),i&&(u["padding-left"]=o,u["padding-right"]=o),u},{internal:!0}]],q8=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(mu(t)??[]).map(i=>i.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}let n=r.map(i=>`${i}:__container`);return e||n.unshift("__container"),n}]]});var eS,V8=$(()=>{Zk();eS=[...q8]});function W8(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function uae(){return function*([,e,t],{theme:r}){let n={},i=Kp(t,r);if(i){let{color:o,keys:a,alpha:s}=i;if(o){if(Object.values(Wp).includes(o))n[`--un-gradient-${e}`]=o;else{n[`--un-${e}-opacity`]=s;let u=a?Lt("colors",a):o;n[`--un-gradient-${e}`]=`color-mix(in oklab, ${u} var(--un-${e}-opacity), transparent)`,yield xe(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}a&&Me("colors",a),r&&Ql(o,r)}}else n[`--un-gradient-${e}`]=B.bracket.cssvar(t);if(n[`--un-gradient-${e}`]){switch(e){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(let o of Object.values(uI))yield o}}}function lae(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${B.bracket.cssvar.percent(t)}`};for(let r of Object.values(uI))yield r}}function*lI([,e]){let t=B.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield xe("--un-outline-style",{initialValue:"solid"}))}function*fae(e,t){if(Yl(B.bracket(e[1])))yield*lI(e);else{let r=It("outline-color","outline")(e,t);if(r)for(let n of r)yield n}}function hae(e){let t=B.bracket(e);return t&&B.properties(t)?t:B.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}function wae(e){return([,t],r)=>{let n=Kp(t,r.theme),i=Gk(n,`border${e}-color`,`border${e}`,r);if(i){let o=i[0];return n?.color&&!Object.values(Wp).includes(n.color)&&!n.alpha&&e&&e!==""&&(o[`--un-border${e}-opacity`]="var(--un-border-opacity)"),i}}}function Ri([,e="",t="1"]){let r=B.bracket.cssvar.global.px(t);if(e in pn&&r!=null)return pn[e].map(n=>[`border${n}-width`,r])}function Jp([,e="",t],r){if(e in pn){if(Yl(B.bracket(t)))return Ri(["",e,t]);if(du(t,r.theme)){let n=pn[e].map(i=>wae(i)(["",t],r)).filter(Fo);return[n.map(i=>i[0]).reduce((i,o)=>(Object.assign(i,o),i),{}),...n.flatMap(i=>i.slice(1))]}}}function Zp([,e="",t]){let r=B.bracket.percent.cssvar(t);if(e in pn&&r!=null)return pn[e].map(n=>[`--un-border${n}-opacity`,r])}function eh([,e="",t="DEFAULT"],{theme:r}){if(e in Hp){if(t==="full")return Hp[e].map(i=>[`border${i}-radius`,"calc(infinity * 1px)"]);let n=r.radius?.[t]??B.bracket.cssvar.global.fraction.rem(t);if(n!=null){let i=r.radius&&t in r.radius;return i&&Me("radius",t),Hp[e].map(o=>[`border${o}-radius`,i?Lt("radius",t):n])}}}function th([,e="",t]){if(gu.includes(t)&&e in pn)return[["--un-border-style",t],...pn[e].map(r=>[`border${r}-style`,t])]}function cI([,e]){return{"text-decoration-thickness":B.bracket.cssvar.global.px(e)}}function Rae(e,t){if(Yl(B.bracket(e[1])))return cI(e);let r=It("text-decoration-color","line")(e,t);if(r){let n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}function bu(e){let t=">:not(:last-child)";return e.includes(t)?e:`${e}${t}`}function*$ae([,e,t],{theme:r,symbols:n}){let i,o=hn(t);if(o!=null?(Me("spacing"),i=`calc(var(--spacing) * ${o})`):i=r.spacing?.[t]??B.bracket.cssvar.auto.fraction.rem(t||"1"),i!=null){let a=pn[e==="x"?"inline":"block"].map((s,u)=>{let l=`margin${s}`,f=` calc(${i} * ${u===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[l,f]});a&&(yield{[n.selector]:bu,[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(a)},yield xe(`--un-space-${e}-reverse`,{initialValue:0}))}}function*Y8([,e,t],{symbols:r}){let n=B.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");let o={x:["-left","-right"],y:["-top","-bottom"]}[e].map(a=>{let s=a.endsWith("left")||a.endsWith("top")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${a}-width`,s],[`border${a}-style`,"var(--un-border-style)"]]});o&&(yield{[r.selector]:bu,[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(o.flat())},yield xe(`--un-divide-${e}-reverse`,{initialValue:0}),yield xe("--un-border-style",{initialValue:"solid"}))}}function rS(e){let t=B.bracket.cssvar(e||"");if(t!=null||(t=e?B.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function Zo(e,t){return([,r,n],{theme:i})=>{let o=t(n,i)??(n==="none"?"0":"");if(o!=="")return r?[{[`--un-${r}${e}`]:`${e}(${o})`,"-webkit-backdrop-filter":Xg,"backdrop-filter":Xg},...Bae]:[{[`--un-${e}`]:`${e}(${o})`,filter:Qg},...uS]}}function jae([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${Wg(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:Qg},...uS];if(r=B.bracket.cssvar(e)??(e==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:Qg},...uS]}function nS([,e="",t]){let r=hn(t);return r!=null?(Me("spacing"),{[`${Q8[e]}gap`]:`calc(var(--spacing) * ${r})`}):{[`${Q8[e]}gap`]:B.bracket.cssvar.global.rem(t)}}function no(e){return e.replace("col","column")}function Uae(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return B.bracket.cssvar.auto.rem(e)}function J8([,e=""]){if(e in Hp)return{"mask-position":e.split("").flatMap(n=>lS[n]).join(" ")};let t=B.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function iS([e,t="",r,n],i){let o={...Gae},a=[];if(a.push(...["linear","radial","conic"].map(s=>xe(`--un-mask-${s}`,{initialValue:X8}))),t in lS){o["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(let s of lS[t]){if(o[`--un-mask-${s}`]=`linear-gradient(to ${s}, var(--un-mask-${s}-from-color) var(--un-mask-${s}-from-position), var(--un-mask-${s}-to-color) var(--un-mask-${s}-to-position))`,hn(n)!=null?(Me("spacing"),o[`--un-mask-${s}-${r}-position`]=`calc(var(--spacing) * ${B.bracket.cssvar.fraction.number(n)})`):o[`--un-mask-${s}-${r}-position`]=B.bracket.cssvar.fraction.rem(n),du(n,i.theme)){let u=It(`--un-mask-${s}-${r}-color`,Hg("colors"))([e,n],i);if(u){let[l,...f]=u;Object.assign(o,l),a.push(...f)}}a.push(...["from","to"].flatMap(u=>[xe(`--un-mask-${s}-${u}-position`,{syntax:"<length-percentage>",initialValue:u==="from"?"0%":"100%"}),xe(`--un-mask-${s}-${u}-color`,{syntax:"<color>",initialValue:u==="from"?"black":"transparent"})]))}a.push(...["top","right","bottom","left"].map(s=>xe(`--un-mask-${s}`,{initialValue:X8})))}else{if(r==null)t==="radial"?(o["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",o["--un-mask-radial-size"]=B.bracket.cssvar.rem(n)):(o[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,o[`--un-mask-${t}-position`]=hn(n)?`calc(1deg * ${B.bracket.cssvar.number(n)})`:B.bracket.cssvar.fraction(n));else{let s={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(o[`--un-mask-${t}-stops`]=`${s[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,o[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,du(n,i.theme)){let u=It(`--un-mask-${t}-${r}-color`,Hg("colors"))([e,n],i);if(u){let[l,...f]=u;Object.assign(o,l),a.push(...f)}}else hn(n)!=null?(Me("spacing"),o[`--un-mask-${t}-${r}-position`]=`calc(var(--spacing) * ${B.bracket.cssvar.fraction.number(n)})`):o[`--un-mask-${t}-${r}-position`]=B.bracket.cssvar.fraction.rem(n)}t==="radial"&&a.push(xe("--un-mask-radial-shape",{initialValue:"ellipse"}),xe("--un-mask-radial-size",{initialValue:"farthest-corner"})),a.push(...["from","to"].flatMap(s=>[xe(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),xe(`--un-mask-${t}-${s}-position`,{syntax:"<length-percentage>",initialValue:s==="from"?"0%":"100%"}),xe(`--un-mask-${t}-${s}-color`,{syntax:"<color>",initialValue:s==="from"?"black":"transparent"})]))}return[o,...a]}function Kae([,e=""]){let t=B.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}function cS(e){let t=hn(e);return t!=null?(Me("spacing"),`calc(var(--spacing) * ${t})`):B.bracket.cssvar.global.auto.fraction.rem(e)}function rh([,e,t]){let r=cS(t);if(r!=null&&e in zk)return zk[e].map(n=>[n.slice(1),r])}function Z8(e){return(t,r)=>{let[,n]=t,{theme:i}=r,o=i[e]?.[n||"DEFAULT"],a=n?B.bracket.cssvar(n):void 0,s=Hg(e);return(o!=null||a!=null)&&!du(a,i)?[{[`--un-${s}`]:Wg(o||a,`--un-${s}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(fS)]:It(`--un-${s}-color`,s)(t,r)}}function Zl(e,t){return`${e||""}${use[t]}`}function Kg(e,t,r){let n,i=["container","spacing"];for(let o of i)if(e[o]?.[r]){Me(o,r),n=Lt(o,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=t==="w"?"100vw":"100vh";break}return!n&&B.number(r)!=null&&(Me("spacing"),n=`calc(var(--spacing) * ${B.number(r)})`),n??B.bracket.cssvar.global.auto.none.fraction.rem(r)}function eI(e,t,r="breakpoint"){let n=mu(e,r);if(n)return n.find(i=>i.point===t)?.size}function cse(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return B.bracket.cssvar.global.auto.number(e)}function gI([,e]){return{"stroke-width":B.bracket.cssvar.fraction.px.number(e)}}function qse(e,t){return Yl(B.bracket(e[1]))?gI(e):It("stroke","stroke")(e,t)}function tI(e,t){let r=t.spacing?.[e];if(!r){let n=hn(e);n!=null?(Me("spacing"),r=`calc(var(--spacing) * ${n})`):r=B.bracket.cssvar.global.auto.fraction.rem(e)}return r}function rI([,e,t]){let r=hn(t)??B.bracket.cssvar.none.fraction.rem(t);if(r!=null)return r==="none"?{translate:"none"}:(Me("spacing"),[[...dS(e,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,zp]],...["x","y","z"].map(n=>xe(`--un-translate-${n}`,{initialValue:0}))])}function nI([,e,t]){let r=B.bracket.cssvar.none.fraction.percent(t);if(r!=null)return r==="none"?{scale:"none"}:[[...dS(e,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>xe(`--un-scale-${n}`,{initialValue:1}))]}function iI([,e="",t]){let r=B.bracket.cssvar.none.degree(t);if(r!=null)return r==="none"?{rotate:"none"}:e?[[...dS(e,r.endsWith("deg")?`rotate${e.toUpperCase()}(${r})`:r,"rotate"),["transform",hS]],...["x","y","z"].map(n=>xe(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>xe(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:B.bracket.cssvar.degree(t)}}function oI([,e,t]){let r=B.bracket.cssvar.degree(t),n=Wk[e];if(r!=null&&n)return[[...n.map(i=>[`--un-skew${i}`,r.endsWith("deg")?`skew${i.slice(1).toUpperCase()}(${r})`:r]),["transform",hS]],...["x","y","z"].map(i=>xe(`--un-rotate-${i}`,{initialValue:`rotate${i.toUpperCase()}(0)`})),...["x","y"].map(i=>xe(`--un-skew-${i}`,{initialValue:`skew${i.toUpperCase()}(0)`}))]}function dS(e,t,r){let n=t.split(D8);return e||!e&&n.length===1?Wk[e].map(i=>[`--un-${r}${i}`,t]):n.map((i,o)=>[`--un-${r}-${C8[o]}`,i])}function aI(e,t){let r;if(B.cssvar(e)!=null)r=B.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));let n=e.split(",").map(i=>t.property?.[i]??B.properties(i));n.every(Boolean)&&(r=n.join(","))}return r}function Zse([,e="base"],{theme:t}){let r=tue(e,"length");if(!r)return;let[n,i]=r,o=t.text?.[n],a;if(i&&(t.leading?.[i]?(Me("leading",i),a=Lt("leading",i)):a=B.bracket.cssvar.global.rem(i)),o)return Me("text",[n,"fontSize"]),Me("text",[n,"lineHeight"]),o.letterSpacing&&Me("text",[n,"letterSpacing"]),{"font-size":Lt("text",[n,"fontSize"]),"line-height":a??`var(--un-leading, ${Lt("text",[n,"lineHeight"])})`,"letter-spacing":o.letterSpacing?Lt("text",[n,"letterSpacing"]):void 0};let s=B.bracketOfLength.rem(n);return a&&s?{"font-size":s,"line-height":a}:{"font-size":B.bracketOfLength.rem(e)}}function bI([,e],{theme:t}){if(t.text?.[e]!=null)return Me("text",[e,"fontSize"]),Me("text",[e,"lineHeight"]),{"font-size":Lt("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${Lt("text",[e,"lineHeight"])})`};{let r=B.bracket.cssvar.global.rem(e);if(r)return{"font-size":r}}}function eue(e,t){return Yl(B.bracket(e[1]))?bI(e,t):It("color","text")(e,t)}function tue(e,t){let[r,n]=ti(e,"[","]",["/",":"])??[];if(r!=null){let i=(r.match(zg)??[])[1];if(i==null||i===t)return[r,n]}}function oue(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){let n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function aue(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}var U8,oae,z8,aae,sae,uI,cae,H8,pae,G8,tS,dae,mae,gae,bae,yae,vae,gu,xae,kae,Sae,_ae,Cae,Eae,Aae,Dae,Pae,Oae,K8,Tae,Fae,Iae,Lae,Nae,fI,uS,Qg,pI,Bae,Xg,Mae,qae,Q8,Vae,zae,Gg,Wae,Hae,lS,X8,Gae,Yae,Qae,Xae,hI,Jae,dI,mI,Zae,ese,tse,rse,nse,ise,fS,ose,ase,sse,use,lse,fse,pse,oS,hse,dse,mse,gse,bse,yse,vse,xse,wse,kse,Sse,_se,Cse,Ese,Ase,Dse,Pse,Ose,Tse,Rse,Fse,Ise,Lse,$se,Nse,Bse,jse,Mse,Vse,aS,sS,Use,Yg,pS,hS,zse,Wse,Hse,Gse,Kse,Yse,Qse,sI,Xse,Ja,Za,Jse,rue,nue,iue,sue,mS,yI=$(()=>{Qp();Dt();Zk();Pn();U8={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(Ot.map(e=>[e,e]))},oae=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":U8[e]??B.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(U8).join("|")})`,"(vertical|align|v)-<percentage>"]}]],z8=["center","left","right","justify","start","end"],aae=[...z8.map(e=>[`text-${e}`,{"text-align":e}]),...[...Ot,...z8].map(e=>[`text-align-${e}`,{"text-align":e}])],sae=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{let r=t.animation?.keyframes?.[e];if(r){let n=t.animation?.durations?.[e]??"1s",i=t.animation?.timingFns?.[e]??"linear",o=t.animation?.counts?.[e]??1,a=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${i} ${o}`,...a}]}return{animation:B.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":B.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??B.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??B.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??B.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?Ot:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?Ot:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":B.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?Ot:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...Qe("animate","animation")],uI={"gradient-position":xe("--un-gradient-position"),"gradient-from":xe("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":xe("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":xe("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":xe("--un-gradient-stops"),"gradient-via-stops":xe("--un-gradient-via-stops"),"gradient-from-position":xe("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":xe("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":xe("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};cae=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,r])=>{let n;if(B.number(t)!=null?n=`from ${B.number(t)}deg ${W8(r)};`:n=B.bracket(t),n)return{"--un-gradient-position":n,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,uae()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:B.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,lae()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,r])=>({"--un-gradient-position":`${t in Vr?`to ${Vr[t]} `:" "}${W8(r)}`,"background-image":`${e}-gradient(var(--un-gradient-stops))`}),{autocomplete:`bg-gradient-to-(${Object.keys(Vr).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...Qe("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],[/^bg-size-(.+)$/,([,e])=>({"background-size":B.bracket.cssvar(e)})],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...Ot.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":Vr[e]})],["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"}],...Qe("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...Qe("bg-origin","background-origin")],H8=[[/^outline-(?:width-|size-)?(.+)$/,lI,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,fae,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":B.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},xe("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[Qt.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...Ot].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];pae=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];G8=[[/^will-change-(.+)/,([,e])=>({"will-change":hae(e)})]],tS={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},dae=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{let r=tS[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(tS).join("|")})`,`list-(${Object.keys(tS).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":B.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...Qe("list","list-style-type")],mae=[[/^accent-(.+)$/,It("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":B.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],gae=[[/^caret-(.+)$/,It("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":B.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],bae=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],yae=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...Qe("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...Qe("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...Qe("overscroll-y","overscroll-behavior-y")],vae=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...Qe("scroll","scroll-behavior")],gu=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...Ot],xae=[[/^(?:border|b)()(?:-(.+))?$/,Ri,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Ri],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Ri],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Ri],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Ri],[/^(?:border|b)-()(?:width|size)-(.+)$/,Ri,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Ri],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Ri],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Ri],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Ri],[/^(?:border|b)-()(?:color-)?(.+)$/,Jp,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Jp],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Jp],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Jp],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Jp],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Zp,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Zp],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Zp],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Zp],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Zp],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,eh,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,eh],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,eh],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,eh],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,eh],[/^(?:border|b)-(?:style-)?()(.+)$/,th,{autocomplete:["(border|b)-style",`(border|b)-(${gu.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${gu.join("|")})`,`(border|b)-<directions>-style-(${gu.join("|")})`,`(border|b)-style-(${gu.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,th],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,th],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,th],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,th]];kae=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:B.bracket.percent.cssvar(e)})]],Sae=/^\[url\(.+\)\]$/,_ae=/^\[(?:length|size):.+\]$/,Cae=/^\[position:.+\]$/,Eae=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Aae=/^\[image:.+\]$/,Dae=[[/^bg-(.+)$/,(...e)=>{let t=e[0][1];if(Sae.test(t))return{"--un-url":B.bracket(t),"background-image":"var(--un-url)"};if(_ae.test(t)&&B.bracketOfLength(t)!=null)return{"background-size":B.bracketOfLength(t).split(" ").map(r=>B.fraction.auto.px.cssvar(r)??r).join(" ")};if((O8(t)||Cae.test(t))&&B.bracketOfPosition(t)!=null)return{"background-position":B.bracketOfPosition(t).split(" ").map(r=>B.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Eae.test(t)||Aae.test(t)){let r=B.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:B.cssvar(r))??r}}return It("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Pae=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],Oae=[[/^columns-(.+)$/,([,e])=>({columns:B.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["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"}],...Qe("break-before"),["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"}],...Qe("break-inside"),["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"}],...Qe("break-after")],K8=["solid","double","dotted","dashed","wavy",...Ot],Tae=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,cI,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Rae,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":B.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...K8.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...K8.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];Fae=[[/^pa?()-?(.+)$/,Tt("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,Tt("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,Tt("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,Tt("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,Tt("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,Tt("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Iae=[[/^ma?()-?(.+)$/,Tt("margin")],[/^m-?xy()()$/,Tt("margin")],[/^m-?([xy])(?:-?(.+))?$/,Tt("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,Tt("margin")],[/^m-(block|inline)(?:-(.+))?$/,Tt("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,Tt("margin")]],Lae=[[/^space-([xy])-(.+)$/,$ae,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:bu,[`--un-space-${e}-reverse`]:"1"},yield xe(`--un-space-${e}-reverse`,{initialValue:0})}]];Nae=[[/^divide-(.+)$/,function*(e,t){let r=It("border-color","divide")(e,t);r&&(yield{[t.symbols.selector]:bu,...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,e],{symbols:t}){yield{[t.selector]:bu,"--un-divide-opacity":B.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Y8,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Y8],[/^divide-?([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:bu,[`--un-divide-${e}-reverse`]:"1"},yield xe(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${gu.join("|")})$`),function*([,e],{symbols:t}){yield{[t.selector]:bu,"border-style":e}},{autocomplete:gu.map(e=>`divide-${e}`)}]];fI=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],uS=fI.map(e=>xe(`--un-${e}`)),Qg=fI.map(e=>`var(--un-${e},)`).join(" "),pI=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Bae=pI.map(e=>xe(`--un-${e}`)),Xg=pI.map(e=>`var(--un-${e},)`).join(" ");Mae=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Zo("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||B.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Zo("brightness",e=>B.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Zo("contrast",e=>B.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,jae,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,It("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":B.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Zo("grayscale",rS),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Zo("hue-rotate",e=>B.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Zo("invert",rS),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Zo("opacity",e=>B.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Zo("saturate",e=>B.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Zo("sepia",rS),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:Qg}],["backdrop-filter",{"-webkit-backdrop-filter":Xg,"backdrop-filter":Xg}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...Ot.map(e=>[`filter-${e}`,{filter:e}]),...Ot.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],qae=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:B.bracket(e)!=null?B.bracket(e).split(" ").map(t=>B.cssvar.fraction(t)??t).join(" "):B.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":B.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":B.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{let t=hn(e);return t!=null?(Me("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":B.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Q8={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};Vae=[[/^(?:flex-|grid-)?gap-?()(.+)$/,nS,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,nS,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,nS,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];zae=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${no(e)}`]:B.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${no(e)}`]:"1/-1"};let r=B.bracket.number.cssvar(t);if(r!=null)return{[`grid-${no(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${no(e)}-start`]:B.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${no(e)}-end`]:B.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${no(e)}`]:Uae(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":B.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":no(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${no(e)}`]:B.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${no(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${no(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":B.cssvar(t)??t.split("-").map(r=>`"${B.bracket(r)}"`).join(" ")}:{"grid-area":B.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Gg=["auto","hidden","clip","visible","scroll","overlay",...Ot],Wae=[[/^(?:overflow|of)-(.+)$/,([,e])=>Gg.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Gg.join("|")})`,`(overflow|of)-(x|y)-(${Gg.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Gg.includes(t)?{[`overflow-${e}`]:t}:void 0]],Hae=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],lS={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},X8="linear-gradient(#fff, #fff)",Gae={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};Yae=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":B.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,iS,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,iS],[/^mask-([trblxy])-(from|to)-(.*)$/,iS],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":Vr[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(Vr).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,J8],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":Vr[e]})],[/^mask-(?:position-|pos-)(.+)$/,J8],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Kae],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Qae=[[/^\$ placeholder-(.+)$/,It("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":B.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],Xae=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>Ot.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],hI=[["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"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...Qe("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...Qe("justify-items"),["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"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...Qe("justify-self")],Jae=[[/^order-(.+)$/,([,e])=>({order:B.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],dI=[["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"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...Qe("content","align-content"),["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"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...Qe("items","align-items"),["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"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...Qe("self","align-self")],mI=[["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-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...Qe("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...Qe("place-items"),["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"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...Qe("place-self")],Zae=[...hI,...dI,...mI].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);ese=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:cS(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,rh],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,rh],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,rh],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,rh],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,rh],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:cS(t)})]],tse=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...Qe("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...Qe("clear")],rse=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":B.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":B.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],nse=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...Qe("box","box-sizing")],ise=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],fS={shadow:xe("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:xe("--un-shadow-color"),insetShadow:xe("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:xe("--un-inset-shadow-color"),ringColor:xe("--un-ring-color"),ringShadow:xe("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:xe("--un-inset-ring-color"),insetRingShadow:xe("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:xe("--un-ring-inset"),ringOffsetWidth:xe("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:xe("--un-ring-offset-color"),ringOffsetShadow:xe("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},ose=[[/^shadow(?:-(.+))?$/,Z8("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Z8("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];ase=[[/^ring(?:-(.+))?$/,([,e])=>{let t=B.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(fS)]}],[/^ring-(.+)$/,It("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{let t=B.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(fS)]}],[/^inset-ring-(.+)$/,It("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{let t=B.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,It("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],sse=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},xe("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},xe("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["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"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,Tt("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,Tt("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,Tt("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,Tt("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,Tt("scroll-margin")],[/^scroll-pa?()-?(.+)$/,Tt("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,Tt("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,Tt("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,Tt("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,Tt("scroll-padding")]],use={h:"height",w:"width",inline:"inline-size",block:"block-size"};lse=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[Zl(e,"w")]:Kg(r,"w",t),[Zl(e,"h")]:Kg(r,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[Zl(e,t)]:Kg(n,t,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[Zl(e,t)]:Kg(n,t,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[Zl(e,t)]:eI(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[Zl(e,t)]:eI(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];fse=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":cse(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],pse=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],oS=["size","layout","paint","style"],hse=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:B.bracket.cssvar.global(e)})]],dse=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...Qe("backface","backface-visibility")],mse=[[/^cursor-(.+)$/,([,e])=>({cursor:B.bracket.cssvar.global(e)})],...pse.map(e=>[`cursor-${e}`,{cursor:e}])],gse=[[/^contain-(.*)$/,([,e])=>B.bracket(e)!=null?{contain:B.bracket(e).split(" ").map(t=>B.cssvar.fraction(t)??t).join(" ")}:oS.includes(e)?[{"--un-contain-size":e,contain:oS.map(t=>`var(--un-contain-${t})`).join(" ")},...oS.map(t=>xe(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],bse=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...Qe("pointer-events")],yse=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...Qe("resize")],vse=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...Qe("select","user-select")],xse=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...Ot].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],wse=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":B.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...Qe("content-visibility")],kse=[[/^content-(.+)$/,([,e])=>{if(B.bracket.cssvar(e)!=null)return[{"--un-content":B.bracket.cssvar(e),content:"var(--un-content)"},xe("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Sse=[["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"}],["break-anywhere",{"overflow-wrap":"anywhere"}],["wrap-break-word",{"overflow-wrap":"break-word"}],["wrap-anywhere",{"overflow-wrap":"anywhere"}],["wrap-normal",{"overflow-wrap":"normal"}]],_se=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Cse=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Ese=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...Qe("case","text-transform")],Ase=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Dse=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Pse=[...["manual","auto","none",...Ot].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Ose=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...Qe("write","writing-mode")],Tse=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...Qe("write-orient","text-orientation")],Rse=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Fse=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Ise=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(Vr[e])return{"object-position":Vr[e]};if(B.bracketOfPosition(e)!=null)return{"object-position":B.bracketOfPosition(e).split(" ").map(t=>B.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(Vr).join("|")})`}]],Lse=[["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"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...Qe("bg-blend","background-blend")],$se=[["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"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...Qe("mix-blend")],Nse=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Bse=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],jse=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Mse=[[/^fill-(.+)$/,It("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,gI],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":B.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":B.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,qse,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];Vse=[["inline-table",{display:"inline-table"}],["table",{display:"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",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){let r=tI(e,t);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let n of["x","y"])yield xe(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:r}){let n=tI(t,r);if(n!=null){yield{[`--un-border-spacing-${e}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(let i of["x","y"])yield xe(`--un-border-spacing-${i}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];aS="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",sS=["pan-x","pan-y","pinch-zoom"].map(e=>xe(`--un-${e}`)),Use=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":aS};for(let t of sS)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":aS};for(let t of sS)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":aS};for(let e of sS)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...Qe("touch","touch-action")],Yg=["translate","rotate","scale"],pS=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),hS=pS,zse=["translateZ(0)",pS].join(" "),Wse=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":Vr[e]??B.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(Vr).join("|")})`,`origin-(${Object.keys(Vr).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let r;if(t.perspective?.[e]?(Me("perspective",e),r=Lt("perspective",e)):r=B.bracket.cssvar.px.numberWithUnit(e),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{let t=B.bracket.cssvar(e)??(e.length>=3?Vr[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,rI],[/^(?:transform-)?translate-([xyz])-(.+)$/,rI],[/^(?:transform-)?rotate-()(.+)$/,iI],[/^(?:transform-)?rotate-([xyz])-(.+)$/,iI],[/^(?:transform-)?skew-()(.+)$/,oI],[/^(?:transform-)?skew-([xy])-(.+)$/,oI,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,nI],[/^(?:transform-)?scale-([xyz])-(.+)$/,nI,{autocomplete:[`transform-(${Yg.join("|")})-<percent>`,`transform-(${Yg.join("|")})-(x|y|z)-<percent>`,`(${Yg.join("|")})-<percent>`,`(${Yg.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:hS}],["transform-cpu",{transform:pS}],["transform-gpu",{transform:zse}],["transform-none",{transform:"none"}],...Qe("transform")];Hse=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{Me("default",["transition","timingFunction"]),Me("default",["transition","duration"]);let n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${Lt("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${Lt("default",["transition","duration"])})`};if(!e&&!t)return{...n};if(e!=null){let i=aI(e,r);if(i)return{"--un-duration":t&&B.time(t),...n,"transition-property":i}}else if(t!=null)return{"--un-duration":B.time(t),...n}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":B.bracket.cssvar.time(e),"transition-duration":B.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":B.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let r;return t.ease?.[e]?(Me("ease",e),r=Lt("ease",e)):r=B.bracket.cssvar(e),[{"--un-ease":r,"transition-timing-function":r},xe("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{let r=B.global(e)||aI(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...Ot].join("|")})`]}],["transition-none",{transition:"none"}],...Qe("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Gse=[[/^text-(.+)$/,Zse,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,bI,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,eue,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,It("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>Ot.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${Ot.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let r;return t.fontWeight?.[e]?(Me("fontWeight",e),r=Lt("fontWeight",e)):r=B.bracket.cssvar.global.number(e),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{let r;if(t.leading?.[e]?(Me("leading",e),r=Lt("leading",e)):hn(e)?(Me("spacing"),r=`calc(var(--spacing) * ${hn(e)})`):r=B.bracket.cssvar.global.rem(e),r!=null)return[{"--un-leading":r,"line-height":r},xe("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":B.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let r;return t.tracking?.[e]?(Me("tracking",e),r=Lt("tracking",e)):r=B.bracket.cssvar.global.rem(e),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{let r=t.tracking?.[e]?Lt("tracking",e):B.bracket.cssvar.global.rem(e);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":B.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let r;if(t.font?.[e])return Me("font",e),r=Lt("font",e),{"font-family":r};if(t.fontWeight?.[e])return Me("fontWeight",e),r=Lt("fontWeight",e),{"--un-font-weight":r,"font-weight":r};if(r=B.number(e),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=B.bracketOfFamily(e),r!=null&&B.number(r)==null)return r=B.cssvar(r)??r,{"font-family":r};if(r=B.bracketOfNumber(e),r!=null)return r=B.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=B.bracket(e),r!=null&&B.number(r)!=null){let n=B.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=B.bracket.cssvar.global(e),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Kse=[[/^tab(?:-(.+))?$/,([,e])=>{let t=B.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Yse=[[/^indent-(.+)$/,([,e])=>{let t=hn(e);if(t!=null)return Me("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=B.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],Qse=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&Me("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?Lt("textStrokeWidth",e):B.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,It("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],sI=/op(?:acity)?-/,Xse=[[/^text-shadow(?:-(.+))?$/,(e,t)=>{let[r,n="DEFAULT"]=e,i=t.theme.textShadow?.[n];return i!=null?{"--un-text-shadow":Wg(i,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:sI.test(n)?{"--un-text-shadow-opacity":B.bracket.percent.cssvar(n.replace(sI,""))}:It("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":B.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,It("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":B.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],Ja=[xe("--un-ordinal"),xe("--un-slashed-zero"),xe("--un-numeric-figure"),xe("--un-numeric-spacing"),xe("--un-numeric-fraction")],Za={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},Jse=[["ordinal",[{"--un-ordinal":"ordinal",...Za},...Ja]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Za},...Ja]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Za},...Ja]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Za},...Ja]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Za},...Ja]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Za},...Ja]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Za},...Ja]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Za},...Ja]],["normal-nums",[{"font-variant-numeric":"normal"}]]];rue={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},nue=[[/^(.+?)-(\$.+)$/,([,e,t])=>{let r=rue[e];if(r)return{[r]:B.cssvar(t)}}]],iue=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;let[r,...n]=t.split(":"),i=n.join(":");if(!aue(t)&&/^[\w-]+$/.test(r)&&oue(i)){let o=B.bracket(`[${i}]`);if(o)return{[r]:o}}}]];sue=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],mS=[Gse,Kse,Yse,Qse,Xse,Iae,Fae,aae,oae,pae,H8,G8,dae,mae,gae,bae,yae,H8,vae,G8,xae,Dae,kae,Pae,M8,j8,Tae,qae,Vae,zae,lse,fse,hse,dse,mse,gse,bse,yse,vse,xse,wse,kse,Sse,_se,Cse,Ese,Ase,Dse,ase,ose,Wse,Hse,nue,iue,dI,nse,Zae,tse,ese,hI,Jae,mI,Xae,rse,Wae,Mse,sae,cae,Pse,Ose,Tse,Bse,Rse,Fse,Ise,Lse,$se,Nse,Yae,Oae,Mae,Hae,Qae,sse,Vse,Use,Jse,sue,Lae,Nae,jse,ise].flat()});var wI={};Hu(wI,{default:()=>gS,postprocessors:()=>Yk,preflights:()=>vI,presetWind4:()=>gS,rules:()=>mS,shortcuts:()=>eS,shorthands:()=>xI,theme:()=>Jk,variants:()=>Qk});function uue(){return{getCSS:()=>{if(hu.size>0){let e="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",t="*, ::before, ::after, ::backdrop",r=Array.from(hu.entries()).map(([n,i])=>`${n}:${i};`).join("");return`${e}{${t}{${r}}}`}},layer:"properties"}}function cue(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(Me("font","sans"),Me("font","mono"),Me("default",["font","family"]),Me("default",["monoFont","family"]),Kk(lue,t.config.envMode==="dev")),layer:"base"}}function pue(e,t){let r=new Map([["--spacing",e.spacing.DEFAULT]]),n=o=>o.replace(ak,"1");function i(o,a){for(let s in o)Array.isArray(o[s])?r.set(`--${a}-${s}`,n(o[s].join(","))):typeof o[s]=="object"?i(o[s],`${a}-${s}`):r.set(`--${a}-${s}`,n(o[s]))}for(let o in e)t.includes(o)&&i(e[o],o);return r}function hue(e){return{layer:"theme",getCSS(t){let{theme:r,generator:n}=t,i=zn(n.config.safelist.flatMap(l=>typeof l=="function"?l(t):l)),{mode:o,process:a}=e.preflights.theme;if(o===!1)return;if(i.length>0)for(let l of i){let[f,...p]=l.trim().split(":");if(f in r&&p.length<=1){let m=p.length===0?["DEFAULT"]:p[0].split("-"),b=Yp(r,f,m);typeof b=="string"&&(Me(f,m),Ql(b,r))}}let s,u=l=>{if(a)for(let m of l)for(let b of Fe(a))b(m,t);let f=l.map(([m,b])=>m&&b?`${m}: ${b};`:void 0).filter(Boolean);if(f.length===0)return;let p=f.join(`
|
|
144
|
+
`);return Kk(`
|
|
145
|
+
:root, :host {
|
|
146
|
+
${p}
|
|
147
|
+
}`,n.config.envMode==="dev")};if(o==="on-demand"){if(pu.size===0)return;s=Array.from(pu).map(l=>{let[f,p]=l.split(":"),m=Yp(r,f,p.split("-"));if(typeof m=="string")return[`--${f}${`${f==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,m]}).filter(Boolean)}else{let l=Object.keys(r).filter(f=>!fue.includes(f));s=Array.from(pue(r,l))}return u(s)}}}var lue,fue,vI,xI,gS,bS=$(()=>{Dt();ek();Qp();Pn();T8();L8();B8();V8();yI();lue=`
|
|
148
|
+
/*
|
|
149
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
150
|
+
2. Remove default margins and padding
|
|
151
|
+
3. Reset all borders.
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
*,
|
|
155
|
+
::after,
|
|
156
|
+
::before,
|
|
157
|
+
::backdrop,
|
|
158
|
+
::file-selector-button {
|
|
159
|
+
box-sizing: border-box; /* 1 */
|
|
160
|
+
margin: 0; /* 2 */
|
|
161
|
+
padding: 0; /* 2 */
|
|
162
|
+
border: 0 solid; /* 3 */
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/*
|
|
166
|
+
1. Use a consistent sensible line-height in all browsers.
|
|
167
|
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
168
|
+
3. Use a more readable tab size.
|
|
169
|
+
4. Use the user's configured \`sans\` font-family by default.
|
|
170
|
+
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
171
|
+
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
172
|
+
7. Disable tap highlights on iOS.
|
|
173
|
+
*/
|
|
174
|
+
|
|
175
|
+
html,
|
|
176
|
+
:host {
|
|
177
|
+
line-height: 1.5; /* 1 */
|
|
178
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
|
179
|
+
tab-size: 4; /* 3 */
|
|
180
|
+
font-family: var(
|
|
181
|
+
--default-font-family,
|
|
182
|
+
ui-sans-serif,
|
|
183
|
+
system-ui,
|
|
184
|
+
sans-serif,
|
|
185
|
+
'Apple Color Emoji',
|
|
186
|
+
'Segoe UI Emoji',
|
|
187
|
+
'Segoe UI Symbol',
|
|
188
|
+
'Noto Color Emoji'
|
|
189
|
+
); /* 4 */
|
|
190
|
+
font-feature-settings: var(--default-font-featureSettings, normal); /* 5 */
|
|
191
|
+
font-variation-settings: var(--default-font-variationSettings, normal); /* 6 */
|
|
192
|
+
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/*
|
|
196
|
+
1. Add the correct height in Firefox.
|
|
197
|
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
198
|
+
3. Reset the default border style to a 1px solid border.
|
|
199
|
+
*/
|
|
200
|
+
|
|
201
|
+
hr {
|
|
202
|
+
height: 0; /* 1 */
|
|
203
|
+
color: inherit; /* 2 */
|
|
204
|
+
border-top-width: 1px; /* 3 */
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/*
|
|
208
|
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
209
|
+
*/
|
|
210
|
+
|
|
211
|
+
abbr:where([title]) {
|
|
212
|
+
-webkit-text-decoration: underline dotted;
|
|
213
|
+
text-decoration: underline dotted;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/*
|
|
217
|
+
Remove the default font size and weight for headings.
|
|
218
|
+
*/
|
|
219
|
+
|
|
220
|
+
h1,
|
|
221
|
+
h2,
|
|
222
|
+
h3,
|
|
223
|
+
h4,
|
|
224
|
+
h5,
|
|
225
|
+
h6 {
|
|
226
|
+
font-size: inherit;
|
|
227
|
+
font-weight: inherit;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/*
|
|
231
|
+
Reset links to optimize for opt-in styling instead of opt-out.
|
|
232
|
+
*/
|
|
233
|
+
|
|
234
|
+
a {
|
|
235
|
+
color: inherit;
|
|
236
|
+
-webkit-text-decoration: inherit;
|
|
237
|
+
text-decoration: inherit;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/*
|
|
241
|
+
Add the correct font weight in Edge and Safari.
|
|
242
|
+
*/
|
|
243
|
+
|
|
244
|
+
b,
|
|
245
|
+
strong {
|
|
246
|
+
font-weight: bolder;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/*
|
|
250
|
+
1. Use the user's configured \`mono\` font-family by default.
|
|
251
|
+
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
252
|
+
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
253
|
+
4. Correct the odd \`em\` font sizing in all browsers.
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
code,
|
|
257
|
+
kbd,
|
|
258
|
+
samp,
|
|
259
|
+
pre {
|
|
260
|
+
font-family: var(
|
|
261
|
+
--default-monoFont-family,
|
|
262
|
+
ui-monospace,
|
|
263
|
+
SFMono-Regular,
|
|
264
|
+
Menlo,
|
|
265
|
+
Monaco,
|
|
266
|
+
Consolas,
|
|
267
|
+
'Liberation Mono',
|
|
268
|
+
'Courier New',
|
|
269
|
+
monospace
|
|
270
|
+
); /* 1 */
|
|
271
|
+
font-feature-settings: var(--default-monoFont-featureSettings, normal); /* 2 */
|
|
272
|
+
font-variation-settings: var(--default-monoFont-variationSettings, normal); /* 3 */
|
|
273
|
+
font-size: 1em; /* 4 */
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/*
|
|
277
|
+
Add the correct font size in all browsers.
|
|
278
|
+
*/
|
|
279
|
+
|
|
280
|
+
small {
|
|
281
|
+
font-size: 80%;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/*
|
|
285
|
+
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
286
|
+
*/
|
|
287
|
+
|
|
288
|
+
sub,
|
|
289
|
+
sup {
|
|
290
|
+
font-size: 75%;
|
|
291
|
+
line-height: 0;
|
|
292
|
+
position: relative;
|
|
293
|
+
vertical-align: baseline;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
sub {
|
|
297
|
+
bottom: -0.25em;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
sup {
|
|
301
|
+
top: -0.5em;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/*
|
|
305
|
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
306
|
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
307
|
+
3. Remove gaps between table borders by default.
|
|
308
|
+
*/
|
|
309
|
+
|
|
310
|
+
table {
|
|
311
|
+
text-indent: 0; /* 1 */
|
|
312
|
+
border-color: inherit; /* 2 */
|
|
313
|
+
border-collapse: collapse; /* 3 */
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/*
|
|
317
|
+
Use the modern Firefox focus style for all focusable elements.
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
:-moz-focusring {
|
|
321
|
+
outline: auto;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/*
|
|
325
|
+
Add the correct vertical alignment in Chrome and Firefox.
|
|
326
|
+
*/
|
|
327
|
+
|
|
328
|
+
progress {
|
|
329
|
+
vertical-align: baseline;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/*
|
|
333
|
+
Add the correct display in Chrome and Safari.
|
|
334
|
+
*/
|
|
335
|
+
|
|
336
|
+
summary {
|
|
337
|
+
display: list-item;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/*
|
|
341
|
+
Make lists unstyled by default.
|
|
342
|
+
*/
|
|
343
|
+
|
|
344
|
+
ol,
|
|
345
|
+
ul,
|
|
346
|
+
menu {
|
|
347
|
+
list-style: none;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/*
|
|
351
|
+
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
352
|
+
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
353
|
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
354
|
+
*/
|
|
355
|
+
|
|
356
|
+
img,
|
|
357
|
+
svg,
|
|
358
|
+
video,
|
|
359
|
+
canvas,
|
|
360
|
+
audio,
|
|
361
|
+
iframe,
|
|
362
|
+
embed,
|
|
363
|
+
object {
|
|
364
|
+
display: block; /* 1 */
|
|
365
|
+
vertical-align: middle; /* 2 */
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/*
|
|
369
|
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
370
|
+
*/
|
|
371
|
+
|
|
372
|
+
img,
|
|
373
|
+
video {
|
|
374
|
+
max-width: 100%;
|
|
375
|
+
height: auto;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
1. Inherit font styles in all browsers.
|
|
380
|
+
2. Remove border radius in all browsers.
|
|
381
|
+
3. Remove background color in all browsers.
|
|
382
|
+
4. Ensure consistent opacity for disabled states in all browsers.
|
|
383
|
+
*/
|
|
384
|
+
|
|
385
|
+
button,
|
|
386
|
+
input,
|
|
387
|
+
select,
|
|
388
|
+
optgroup,
|
|
389
|
+
textarea,
|
|
390
|
+
::file-selector-button {
|
|
391
|
+
font: inherit; /* 1 */
|
|
392
|
+
font-feature-settings: inherit; /* 1 */
|
|
393
|
+
font-variation-settings: inherit; /* 1 */
|
|
394
|
+
letter-spacing: inherit; /* 1 */
|
|
395
|
+
color: inherit; /* 1 */
|
|
396
|
+
border-radius: 0; /* 2 */
|
|
397
|
+
background-color: transparent; /* 3 */
|
|
398
|
+
opacity: 1; /* 4 */
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/*
|
|
402
|
+
Restore default font weight.
|
|
403
|
+
*/
|
|
404
|
+
|
|
405
|
+
:where(select:is([multiple], [size])) optgroup {
|
|
406
|
+
font-weight: bolder;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
/*
|
|
410
|
+
Restore indentation.
|
|
411
|
+
*/
|
|
412
|
+
|
|
413
|
+
:where(select:is([multiple], [size])) optgroup option {
|
|
414
|
+
padding-inline-start: 20px;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/*
|
|
418
|
+
Restore space after button.
|
|
419
|
+
*/
|
|
420
|
+
|
|
421
|
+
::file-selector-button {
|
|
422
|
+
margin-inline-end: 4px;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/*
|
|
426
|
+
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
427
|
+
*/
|
|
428
|
+
|
|
429
|
+
::placeholder {
|
|
430
|
+
opacity: 1;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/*
|
|
434
|
+
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
435
|
+
crash when using \`color-mix(\u2026)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
436
|
+
*/
|
|
437
|
+
|
|
438
|
+
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
439
|
+
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
440
|
+
::placeholder {
|
|
441
|
+
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
/*
|
|
446
|
+
Prevent resizing textareas horizontally by default.
|
|
447
|
+
*/
|
|
448
|
+
|
|
449
|
+
textarea {
|
|
450
|
+
resize: vertical;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/*
|
|
454
|
+
Remove the inner padding in Chrome and Safari on macOS.
|
|
455
|
+
*/
|
|
456
|
+
|
|
457
|
+
::-webkit-search-decoration {
|
|
458
|
+
-webkit-appearance: none;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/*
|
|
462
|
+
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
463
|
+
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
464
|
+
*/
|
|
465
|
+
|
|
466
|
+
::-webkit-date-and-time-value {
|
|
467
|
+
min-height: 1lh; /* 1 */
|
|
468
|
+
text-align: inherit; /* 2 */
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/*
|
|
472
|
+
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
473
|
+
*/
|
|
474
|
+
|
|
475
|
+
::-webkit-datetime-edit {
|
|
476
|
+
display: inline-flex;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/*
|
|
480
|
+
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
481
|
+
*/
|
|
482
|
+
|
|
483
|
+
::-webkit-datetime-edit-fields-wrapper {
|
|
484
|
+
padding: 0;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
::-webkit-datetime-edit,
|
|
488
|
+
::-webkit-datetime-edit-year-field,
|
|
489
|
+
::-webkit-datetime-edit-month-field,
|
|
490
|
+
::-webkit-datetime-edit-day-field,
|
|
491
|
+
::-webkit-datetime-edit-hour-field,
|
|
492
|
+
::-webkit-datetime-edit-minute-field,
|
|
493
|
+
::-webkit-datetime-edit-second-field,
|
|
494
|
+
::-webkit-datetime-edit-millisecond-field,
|
|
495
|
+
::-webkit-datetime-edit-meridiem-field {
|
|
496
|
+
padding-block: 0;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/*
|
|
500
|
+
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
501
|
+
*/
|
|
502
|
+
|
|
503
|
+
:-moz-ui-invalid {
|
|
504
|
+
box-shadow: none;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/*
|
|
508
|
+
Correct the inability to style the border radius in iOS Safari.
|
|
509
|
+
*/
|
|
510
|
+
|
|
511
|
+
button,
|
|
512
|
+
input:where([type='button'], [type='reset'], [type='submit']),
|
|
513
|
+
::file-selector-button {
|
|
514
|
+
appearance: button;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/*
|
|
518
|
+
Correct the cursor style of increment and decrement buttons in Safari.
|
|
519
|
+
*/
|
|
520
|
+
|
|
521
|
+
::-webkit-inner-spin-button,
|
|
522
|
+
::-webkit-outer-spin-button {
|
|
523
|
+
height: auto;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
/*
|
|
527
|
+
Make elements with the HTML hidden attribute stay hidden by default.
|
|
528
|
+
*/
|
|
529
|
+
|
|
530
|
+
[hidden]:where(:not([hidden='until-found'])) {
|
|
531
|
+
display: none !important;
|
|
532
|
+
}
|
|
533
|
+
`;fue=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];vI=e=>[cue(e),hue(e),uue()].filter(Boolean),xI={position:["relative","absolute","fixed","sticky","static"],globalKeyword:Ot},gS=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;let t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:_8,rules:mS,shortcuts:eS,theme:Jk,layers:{properties:-200,theme:-150,base:-100},preflights:vI(e),variants:Qk(e),prefix:e.prefix,postprocess:Yk(e),extractorDefault:e.arbitraryVariants===!1?void 0:L0(),autocomplete:{shorthands:xI},options:e,configResolved(){pu.clear(),hu.clear()},meta:{themeDeps:pu,propertyDeps:hu}}}});function due(e,t){let r=Fe(e||[]),n=Fe(t||[]);return i=>n.some(o=>i.match(o))?!1:r.some(o=>i.match(o))}function SI(e={}){let{blocklist:t=[]}=e,r=i=>{for(let o of t)if(o instanceof RegExp){if(o.test(i))return!0}else if(i===o)return!0;return!1};return{name:"@unocss/transformer-attributify-jsx",enforce:"pre",idFilter:due(e.include||[/\.[jt]sx$/,/\.mdx$/],e.exclude||[]),async transform(i,o,{uno:a}){let s=[],l=a.config.presets.find(f=>f.name==="@unocss/preset-attributify")?.options?.prefix??"un-";for(let f of Array.from(i.original.matchAll(kI))){let p=f[2];Jg.test(p)&&(p=p.replace(Jg,(m,b,v)=>{if(!v)return" ".repeat(m.length);let w=0,C=m;for(let P of m.matchAll(kI)){let A=P[2];Jg.test(A)&&A.replace(Jg,y=>" ".repeat(y.length));let E=C.slice(0,w)+" ".repeat(P.index+P[0].indexOf(P[2])-w)+A;C=E+" ".repeat(P.input.length-E.length),w=E.length}return w!==0?C:" ".repeat(m.length)}));for(let m of p.matchAll(mue)){let b=m[0].replace(/:/,"-");if(b.includes("=")||r(b))continue;let v=b.startsWith(l)?b.slice(l.length):b;s.push(a.parseToken(v).then(w=>{if(w){let C=(f.index||0)+(m.index||0)+f[0].indexOf(f[2]),P=C+b.length;i.overwrite(C,P,`${b}=""`)}}))}}await Promise.all(s)}}}var kI,mue,Jg,_I=$(()=>{Dt();kI=/<([^/?<>0-9$_!][^\s>]*)\s+((?:"[^"]*"|'[^"]*'|(\{[^}]*\})|[^{>])+)>/g,mue=/(?<![~`!$%^&*()_+\-=[{;':"|,.<>/?])([a-z()#][[?\w\-:()#%\]]*)(?:\s*=\s*('[^']*'|"[^"]*"|\S+))?|\{[^}]*\}/gi,Jg=/((?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=(?:"[^"]*"|'[^']*'|(\{)((?:[`(][^`)]*[`)]|[^}])+)(\}))/g});function CI(e={}){let{trigger:t=/(["'`]):uno-?(?<name>\S+)?:\s(.*?)\1/g,classPrefix:r="uno-",hashFn:n=gue,keepUnknown:i=!0,alwaysHash:o=!1}=e,a=new Set,s=typeof t=="string"?new RegExp(`(["'\`])${tn(t)}\\s([^\\1]*?)\\1`,"g"):t;return{name:"@unocss/transformer-compile-class",enforce:"pre",async transform(u,l,{uno:f,tokens:p,invalidate:m}){let b=[...u.original.matchAll(s)];if(!b.length)return;let v=a.size;for(let w of b){let C=w.length===4&&w.groups?As(w[3].trim()):As(w[2].trim()),P=w.index,A=[];if(i){let E=await Promise.all(C.split(/\s+/).filter(Boolean).map(async I=>[I,!!await f.parseToken(I)])),y=E.filter(([,I])=>I).map(([I])=>I),L=E.filter(([,I])=>!I).map(([I])=>I);A.push(...L),C=y.join(" ")}if(C){C=C.split(/\s+/).sort().join(" ");let E,y=!1;w.groups&&w.groups.name?(E=w.groups.name,o&&(E+=`-${n(C)}`),y=!0):E=n(C);let L=`${r}${E}`;if(p&&p.has(L)&&y){let I=f.config.shortcuts.find(T=>T[0]===L);if(I&&I[1]!==C)throw new Error(`Duplicated compile class name "${L}". One is "${C}" and the other is "${I[1]}". Please choose different class name or set 'alwaysHash' to 'true'.`)}a.add(L),A.unshift(L),e.layer?f.config.shortcuts.push([L,C,{layer:e.layer}]):f.config.shortcuts.push([L,C]),p&&p.add(L)}u.overwrite(P+1,P+w[0].length-1,A.join(" "))}a.size>v&&m()}}}function gue(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}var EI=$(()=>{Dt()});var yS={};var lAe,cAe,fAe,pAe,hAe,dAe,mAe,gAe,bAe,yAe,vAe,xAe,wAe,kAe,SAe,_Ae,CAe,EAe,AAe,DAe,PAe,OAe,TAe,RAe,FAe,IAe,Zg=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.WhiteSpace=exports.Url=exports.String=exports.Semicolon=exports.RightSquareBracket=exports.RightParenthesis=exports.RightCurlyBracket=exports.Percentage=exports.Number=exports.LeftSquareBracket=exports.LeftParenthesis=exports.LeftCurlyBracket=exports.Ident=exports.Hash=exports.Function=exports.EOF=exports.Dimension=exports.Delim=exports.Comment=exports.Comma=exports.Colon=exports.CDO=exports.CDC=exports.BadUrl=exports.BadString=exports.AtKeyword=void 0;lAe=exports.EOF=0,cAe=exports.Ident=1,fAe=exports.Function=2,pAe=exports.AtKeyword=3,hAe=exports.Hash=4,dAe=exports.String=5,mAe=exports.BadString=6,gAe=exports.Url=7,bAe=exports.BadUrl=8,yAe=exports.Delim=9,vAe=exports.Number=10,xAe=exports.Percentage=11,wAe=exports.Dimension=12,kAe=exports.WhiteSpace=13,SAe=exports.CDO=14,_Ae=exports.CDC=15,CAe=exports.Colon=16,EAe=exports.Semicolon=17,AAe=exports.Comma=18,DAe=exports.LeftSquareBracket=19,PAe=exports.RightSquareBracket=20,OAe=exports.LeftParenthesis=21,TAe=exports.RightParenthesis=22,RAe=exports.LeftCurlyBracket=23,FAe=exports.RightCurlyBracket=24,IAe=exports.Comment=25});var kS={};function es(e){return e>=48&&e<=57}function yue(e){return es(e)||e>=65&&e<=70||e>=97&&e<=102}function AI(e){return e>=65&&e<=90}function DI(e){return e>=97&&e<=122}function PI(e){return AI(e)||DI(e)}function OI(e){return e>=128}function nh(e){return PI(e)||OI(e)||e===95}function vue(e){return nh(e)||es(e)||e===45}function TI(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function wS(e){return e===10||e===13||e===12}function RI(e){return wS(e)||e===32||e===9}function vS(e,t){return!(e!==92||wS(t)||t===bue)}function xue(e,t,r){return e===45?nh(t)||t===45||vS(t,r):nh(e)?!0:e===92?vS(e,t):!1}function wue(e,t,r){return e===43||e===45?es(t)?2:t===46&&es(r)?3:0:e===46?es(t)?2:0:es(e)?1:0}function kue(e){return e===65279||e===65534?1:0}function Aue(e){return e<128?xS[e]:FI}var bue,xS,Sue,_ue,Cue,FI,Eue,ea,eb=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.WhiteSpaceCategory=exports.NonPrintableCategory=exports.NameStartCategory=exports.EofCategory=exports.DigitCategory=void 0;exports.charCodeCategory=Aue;exports.isBOM=kue;exports.isDigit=es;exports.isHexDigit=yue;exports.isIdentifierStart=xue;exports.isLetter=PI;exports.isLowercaseLetter=DI;exports.isName=vue;exports.isNameStart=nh;exports.isNewline=wS;exports.isNonAscii=OI;exports.isNonPrintable=TI;exports.isNumberStart=wue;exports.isUppercaseLetter=AI;exports.isValidEscape=vS;exports.isWhiteSpace=RI;bue=0;xS=new Array(128),Sue=exports.EofCategory=128,_ue=exports.WhiteSpaceCategory=130,Cue=exports.DigitCategory=131,FI=exports.NameStartCategory=132,Eue=exports.NonPrintableCategory=133;for(ea=0;ea<xS.length;ea++)xS[ea]=RI(ea)&&_ue||es(ea)&&Cue||nh(ea)&&FI||TI(ea)&&Eue||ea||Sue});var $I={};function ec(e,t){return t<e.length?e.charCodeAt(t):0}function II(e,t,r){return r===13&&ec(e,t+1)===10?2:1}function LI(e,t,r){var n=e.charCodeAt(t);return(0,Ur.isUppercaseLetter)(n)&&(n=n|32),n===r}function Due(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(var i=t;i<r;i++){var o=n.charCodeAt(i-t),a=e.charCodeAt(i);if((0,Ur.isUppercaseLetter)(a)&&(a=a|32),a!==o)return!1}return!0}function Pue(e,t){for(;t>=0&&(0,Ur.isWhiteSpace)(e.charCodeAt(t));t--);return t+1}function Oue(e,t){for(;t<e.length&&(0,Ur.isWhiteSpace)(e.charCodeAt(t));t++);return t}function tb(e,t){for(;t<e.length&&(0,Ur.isDigit)(e.charCodeAt(t));t++);return t}function SS(e,t){if(t+=2,(0,Ur.isHexDigit)(ec(e,t-1))){for(var r=Math.min(e.length,t+5);t<r&&(0,Ur.isHexDigit)(ec(e,t));t++);var n=ec(e,t);(0,Ur.isWhiteSpace)(n)&&(t+=II(e,t,n))}return t}function Tue(e,t){for(;t<e.length;t++){var r=e.charCodeAt(t);if(!(0,Ur.isName)(r)){if((0,Ur.isValidEscape)(r,ec(e,t+1))){t=SS(e,t)-1;continue}break}}return t}function Rue(e,t){var r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),(0,Ur.isDigit)(r)&&(t=tb(e,t+1),r=e.charCodeAt(t)),r===46&&(0,Ur.isDigit)(e.charCodeAt(t+1))&&(t+=2,t=tb(e,t)),LI(e,t,101)){var n=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(n=1,r=e.charCodeAt(t+2)),(0,Ur.isDigit)(r)&&(t=tb(e,t+1+n+1))}return t}function Fue(e,t){for(;t<e.length;t++){var r=e.charCodeAt(t);if(r===41){t++;break}(0,Ur.isValidEscape)(r,ec(e,t+1))&&(t=SS(e,t))}return t}function Iue(e){if(e.length===1&&!(0,Ur.isHexDigit)(e.charCodeAt(0)))return e[0];var t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var Ur,_S=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.cmpChar=LI;exports.cmpStr=Due;exports.consumeBadUrlRemnants=Fue;exports.consumeEscaped=SS;exports.consumeName=Tue;exports.consumeNumber=Rue;exports.decodeEscaped=Iue;exports.findDecimalNumberEnd=tb;exports.findWhiteSpaceEnd=Oue;exports.findWhiteSpaceStart=Pue;exports.getNewlineLength=II;Ur=(eb(),R(kS))});var NI={};var LAe,CS=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;LAe=exports.default=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"]});var BI={};function $ue(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return e===null||e.length<t?new Uint32Array(Math.max(t+1024,Lue)):e}var Lue,ES=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.adoptBuffer=$ue;Lue=16*1024});var Uue={};function ih(e){"@babel/helpers - typeof";return ih=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ih(e)}function Bue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Mue(n.key),n)}}function jue(e,t,r){return t&&MI(e.prototype,t),r&&MI(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Mue(e){var t=que(e,"string");return ih(t)=="symbol"?t:t+""}function que(e,t){if(ih(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ih(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function UI(e){for(var t=e.source,r=t.length,n=t.length>0?(0,Nue.isBOM)(t.charCodeAt(0)):0,i=(0,jI.adoptBuffer)(e.lines,r),o=(0,jI.adoptBuffer)(e.columns,r),a=e.startLine,s=e.startColumn,u=n;u<r;u++){var l=t.charCodeAt(u);i[u]=a,o[u]=s++,(l===qI||l===VI||l===Vue)&&(l===VI&&u+1<r&&t.charCodeAt(u+1)===qI&&(u++,i[u]=a,o[u]=s),a++,s=1)}i[r]=a,o[r]=s,e.lines=i,e.columns=o,e.computed=!0}var jI,Nue,qI,Vue,VI,$Ae,zI=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.OffsetToLocation=void 0;jI=(ES(),R(BI)),Nue=(eb(),R(kS));qI=10,Vue=12,VI=13;$Ae=exports.OffsetToLocation=function(){function e(t,r,n,i){Bue(this,e),this.setSource(t,r,n,i),this.lines=null,this.columns=null}return jue(e,[{key:"setSource",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;this.source=r,this.startOffset=n,this.startLine=i,this.startColumn=o,this.computed=!1}},{key:"getLocation",value:function(r,n){return this.computed||UI(this),{source:n,offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]}}},{key:"getLocationRange",value:function(r,n,i){return this.computed||UI(this),{source:i,start:{offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}])}()});var Xue={};function Hue(e){return e&&e.__esModule?e:{default:e}}function oh(e){"@babel/helpers - typeof";return oh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oh(e)}function Gue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Yue(n.key),n)}}function Kue(e,t,r){return t&&HI(e.prototype,t),r&&HI(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Yue(e){var t=Que(e,"string");return oh(t)=="symbol"?t:t+""}function Que(e,t){if(oh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(oh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function GI(e){return yu[e]!==0}var WI,zue,Wue,Bt,io,oo,yu,NAe,KI=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.TokenStream=void 0;WI=(ES(),R(BI)),zue=(_S(),R($I)),Wue=Hue((CS(),R(NI))),Bt=(Zg(),R(yS));io=16777215,oo=24,yu=new Uint8Array(32);yu[Bt.Function]=Bt.RightParenthesis;yu[Bt.LeftParenthesis]=Bt.RightParenthesis;yu[Bt.LeftSquareBracket]=Bt.RightSquareBracket;yu[Bt.LeftCurlyBracket]=Bt.RightCurlyBracket;NAe=exports.TokenStream=function(){function e(t,r){Gue(this,e),this.setSource(t,r)}return Kue(e,[{key:"reset",value:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}},{key:"setSource",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){};r=String(r||"");var i=r.length,o=(0,WI.adoptBuffer)(this.offsetAndType,r.length+1),a=(0,WI.adoptBuffer)(this.balance,r.length+1),s=0,u=-1,l=0,f=r.length;this.offsetAndType=null,this.balance=null,a.fill(0),n(r,function(v,w,C){var P=s++;if(o[P]=v<<oo|C,u===-1&&(u=w),a[P]=f,v===l){var A=a[f];a[f]=P,f=A,l=yu[o[A]>>oo]}else GI(v)&&(f=P,l=yu[v])}),o[s]=Bt.EOF<<oo|i,a[s]=s;for(var p=0;p<s;p++){var m=a[p];if(m<=p){var b=a[m];b!==p&&(a[p]=b)}else m>s&&(a[p]=s)}this.source=r,this.firstCharOffset=u===-1?0:u,this.tokenCount=s,this.offsetAndType=o,this.balance=a,this.reset(),this.next()}},{key:"lookupType",value:function(r){return r+=this.tokenIndex,r<this.tokenCount?this.offsetAndType[r]>>oo:Bt.EOF}},{key:"lookupTypeNonSC",value:function(r){for(var n=this.tokenIndex;n<this.tokenCount;n++){var i=this.offsetAndType[n]>>oo;if(i!==Bt.WhiteSpace&&i!==Bt.Comment&&r--===0)return i}return Bt.EOF}},{key:"lookupOffset",value:function(r){return r+=this.tokenIndex,r<this.tokenCount?this.offsetAndType[r-1]&io:this.source.length}},{key:"lookupOffsetNonSC",value:function(r){for(var n=this.tokenIndex;n<this.tokenCount;n++){var i=this.offsetAndType[n]>>oo;if(i!==Bt.WhiteSpace&&i!==Bt.Comment&&r--===0)return n-this.tokenIndex}return Bt.EOF}},{key:"lookupValue",value:function(r,n){return r+=this.tokenIndex,r<this.tokenCount?(0,zue.cmpStr)(this.source,this.offsetAndType[r-1]&io,this.offsetAndType[r]&io,n):!1}},{key:"getTokenStart",value:function(r){return r===this.tokenIndex?this.tokenStart:r>0?r<this.tokenCount?this.offsetAndType[r-1]&io:this.offsetAndType[this.tokenCount]&io:this.firstCharOffset}},{key:"substrToCursor",value:function(r){return this.source.substring(r,this.tokenStart)}},{key:"isBalanceEdge",value:function(r){return this.balance[this.tokenIndex]<r}},{key:"isDelim",value:function(r,n){return n?this.lookupType(n)===Bt.Delim&&this.source.charCodeAt(this.lookupOffset(n))===r:this.tokenType===Bt.Delim&&this.source.charCodeAt(this.tokenStart)===r}},{key:"skip",value:function(r){var n=this.tokenIndex+r;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&io,n=this.offsetAndType[n],this.tokenType=n>>oo,this.tokenEnd=n&io):(this.tokenIndex=this.tokenCount,this.next())}},{key:"next",value:function(){var r=this.tokenIndex+1;r<this.tokenCount?(this.tokenIndex=r,this.tokenStart=this.tokenEnd,r=this.offsetAndType[r],this.tokenType=r>>oo,this.tokenEnd=r&io):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Bt.EOF,this.tokenStart=this.tokenEnd=this.source.length)}},{key:"skipSC",value:function(){for(;this.tokenType===Bt.WhiteSpace||this.tokenType===Bt.Comment;)this.next()}},{key:"skipUntilBalanced",value:function(r,n){var i=r,o=0,a=0;e:for(;i<this.tokenCount;i++){if(o=this.balance[i],o<r)break e;switch(a=i>0?this.offsetAndType[i-1]&io:this.firstCharOffset,n(this.source.charCodeAt(a))){case 1:break e;case 2:i++;break e;default:GI(this.offsetAndType[i]>>oo)&&(i=o)}}this.skip(i-this.tokenIndex)}},{key:"forEachToken",value:function(r){for(var n=0,i=this.firstCharOffset;n<this.tokenCount;n++){var o=i,a=this.offsetAndType[n],s=a&io,u=a>>oo;i=s,r(u,o,s,n)}}},{key:"dump",value:function(){var r=this,n=new Array(this.tokenCount);return this.forEachToken(function(i,o,a,s){n[s]={idx:s,type:Wue.default[i],chunk:r.source.substring(o,a),balance:r.balance[s]}}),n}}])}()});var me={};function PS(e){"@babel/helpers - typeof";return PS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},PS(e)}function Zue(e){return e&&e.__esModule?e:{default:e}}function YI(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(YI=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||PS(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function ele(e,t){function r(m){return m<s?e.charCodeAt(m):0}function n(){if(l=(0,zt.consumeNumber)(e,l),(0,mt.isIdentifierStart)(r(l),r(l+1),r(l+2))){f=Ge.Dimension,l=(0,zt.consumeName)(e,l);return}if(r(l)===37){f=Ge.Percentage,l++;return}f=Ge.Number}function i(){var m=l;if(l=(0,zt.consumeName)(e,l),(0,zt.cmpStr)(e,m,l,"url")&&r(l)===40){if(l=(0,zt.findWhiteSpaceEnd)(e,l+1),r(l)===34||r(l)===39){f=Ge.Function,l=m+4;return}a();return}if(r(l)===40){f=Ge.Function,l++;return}f=Ge.Ident}function o(m){for(m||(m=r(l++)),f=Ge.String;l<e.length;l++){var b=e.charCodeAt(l);switch((0,mt.charCodeCategory)(b)){case m:l++;return;case mt.WhiteSpaceCategory:if((0,mt.isNewline)(b)){l+=(0,zt.getNewlineLength)(e,l,b),f=Ge.BadString;return}break;case 92:if(l===e.length-1)break;var v=r(l+1);(0,mt.isNewline)(v)?l+=(0,zt.getNewlineLength)(e,l+1,v):(0,mt.isValidEscape)(b,v)&&(l=(0,zt.consumeEscaped)(e,l)-1);break}}}function a(){for(f=Ge.Url,l=(0,zt.findWhiteSpaceEnd)(e,l);l<e.length;l++){var m=e.charCodeAt(l);switch((0,mt.charCodeCategory)(m)){case 41:l++;return;case mt.WhiteSpaceCategory:if(l=(0,zt.findWhiteSpaceEnd)(e,l),r(l)===41||l>=e.length){l<e.length&&l++;return}l=(0,zt.consumeBadUrlRemnants)(e,l),f=Ge.BadUrl;return;case 34:case 39:case 40:case mt.NonPrintableCategory:l=(0,zt.consumeBadUrlRemnants)(e,l),f=Ge.BadUrl;return;case 92:if((0,mt.isValidEscape)(m,r(l+1))){l=(0,zt.consumeEscaped)(e,l)-1;break}l=(0,zt.consumeBadUrlRemnants)(e,l),f=Ge.BadUrl;return}}}e=String(e||"");for(var s=e.length,u=(0,mt.isBOM)(r(0)),l=u,f;l<s;){var p=e.charCodeAt(l);switch((0,mt.charCodeCategory)(p)){case mt.WhiteSpaceCategory:f=Ge.WhiteSpace,l=(0,zt.findWhiteSpaceEnd)(e,l+1);break;case 34:o();break;case 35:(0,mt.isName)(r(l+1))||(0,mt.isValidEscape)(r(l+1),r(l+2))?(f=Ge.Hash,l=(0,zt.consumeName)(e,l+1)):(f=Ge.Delim,l++);break;case 39:o();break;case 40:f=Ge.LeftParenthesis,l++;break;case 41:f=Ge.RightParenthesis,l++;break;case 43:(0,mt.isNumberStart)(p,r(l+1),r(l+2))?n():(f=Ge.Delim,l++);break;case 44:f=Ge.Comma,l++;break;case 45:(0,mt.isNumberStart)(p,r(l+1),r(l+2))?n():r(l+1)===45&&r(l+2)===62?(f=Ge.CDC,l=l+3):(0,mt.isIdentifierStart)(p,r(l+1),r(l+2))?i():(f=Ge.Delim,l++);break;case 46:(0,mt.isNumberStart)(p,r(l+1),r(l+2))?n():(f=Ge.Delim,l++);break;case 47:r(l+1)===42?(f=Ge.Comment,l=e.indexOf("*/",l+2),l=l===-1?e.length:l+2):(f=Ge.Delim,l++);break;case 58:f=Ge.Colon,l++;break;case 59:f=Ge.Semicolon,l++;break;case 60:r(l+1)===33&&r(l+2)===45&&r(l+3)===45?(f=Ge.CDO,l=l+4):(f=Ge.Delim,l++);break;case 64:(0,mt.isIdentifierStart)(r(l+1),r(l+2),r(l+3))?(f=Ge.AtKeyword,l=(0,zt.consumeName)(e,l+1)):(f=Ge.Delim,l++);break;case 91:f=Ge.LeftSquareBracket,l++;break;case 92:(0,mt.isValidEscape)(p,r(l+1))?i():(f=Ge.Delim,l++);break;case 93:f=Ge.RightSquareBracket,l++;break;case 123:f=Ge.LeftCurlyBracket,l++;break;case 125:f=Ge.RightCurlyBracket,l++;break;case mt.DigitCategory:n();break;case mt.NameStartCategory:i();break;default:f=Ge.Delim,l++}t(f,u,u=l)}}var ah,Ge,mt,zt,Jue,AS,DS,de=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});ah={tokenize:!0,tokenTypes:!0,tokenNames:!0};Object.defineProperty(exports,"tokenNames",{enumerable:!0,get:function(){return Jue.default}});exports.tokenTypes=void 0;exports.tokenize=ele;Ge=YI((Zg(),R(yS)));exports.tokenTypes=Ge;Object.keys(Ge).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ah,e)||e in exports&&exports[e]===Ge[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return Ge[e]}})});mt=(eb(),R(kS));Object.keys(mt).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ah,e)||e in exports&&exports[e]===mt[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return mt[e]}})});zt=(_S(),R($I));Object.keys(zt).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ah,e)||e in exports&&exports[e]===zt[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return zt[e]}})});Jue=Zue((CS(),R(NI))),AS=(zI(),R(Uue));Object.keys(AS).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ah,e)||e in exports&&exports[e]===AS[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return AS[e]}})});DS=(KI(),R(Xue));Object.keys(DS).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(ah,e)||e in exports&&exports[e]===DS[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return DS[e]}})})});var rc={};function sh(e){"@babel/helpers - typeof";return sh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sh(e)}function QI(e){return nle(e)||rle(e)||ZI(e)||tle()}function tle(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
534
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rle(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nle(e){if(Array.isArray(e))return OS(e)}function XI(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ZI(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
535
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}function ZI(e,t){if(e){if(typeof e=="string")return OS(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?OS(e,t):void 0}}function OS(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function TS(){var e,t,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(b,v,w,C){var P=v&&v.prototype instanceof s?v:s,A=Object.create(P.prototype);return On(A,"_invoke",function(E,y,L){var I,T,N,X=0,se=L||[],ie=!1,te={p:0,n:0,v:e,a:Ee,f:Ee.bind(e,4),d:function(G,Z){return I=G,T=0,N=e,te.n=Z,a}};function Ee(W,G){for(T=W,N=G,t=0;!ie&&X&&!Z&&t<se.length;t++){var Z,Q=se[t],pe=te.p,Le=Q[2];W>3?(Z=Le===G)&&(N=Q[(T=Q[4])?5:(T=3,3)],Q[4]=Q[5]=e):Q[0]<=pe&&((Z=W<2&&pe<Q[1])?(T=0,te.v=G,te.n=Q[1]):pe<Le&&(Z=W<3||Q[0]>G||G>Le)&&(Q[4]=W,Q[5]=G,te.n=Le,T=0))}if(Z||W>1)return a;throw ie=!0,G}return function(W,G,Z){if(X>1)throw TypeError("Generator is already running");for(ie&&G===1&&Ee(G,Z),T=G,N=Z;(t=T<2?e:N)||!ie;){I||(T?T<3?(T>1&&(te.n=-1),Ee(T,N)):te.n=N:te.v=N);try{if(X=2,I){if(T||(W="next"),t=I[W]){if(!(t=t.call(I,N)))throw TypeError("iterator result is not an object");if(!t.done)return t;N=t.value,T<2&&(T=0)}else T===1&&(t=I.return)&&t.call(I),T<2&&(N=TypeError("The iterator does not provide a '"+W+"' method"),T=1);I=e}else if((t=(ie=te.n<0)?N:E.call(y,te))!==a)break}catch(Q){I=e,T=1,N=Q}finally{X=1}}return{value:t,done:ie}}}(b,w,C),!0),A}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var f=[][n]?t(t([][n]())):(On(t={},n,function(){return this}),t),p=l.prototype=s.prototype=Object.create(f);function m(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,l):(b.__proto__=l,On(b,i,"GeneratorFunction")),b.prototype=Object.create(p),b}return u.prototype=l,On(p,"constructor",l),On(l,"constructor",u),u.displayName="GeneratorFunction",On(l,i,"GeneratorFunction"),On(p),On(p,i,"Generator"),On(p,n,function(){return this}),On(p,"toString",function(){return"[object Generator]"}),(TS=function(){return{w:o,m}})()}function On(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}On=function(a,s,u,l){if(s)i?i(a,s,{value:u,enumerable:!l,configurable:!l,writable:!l}):a[s]=u;else{var f=function(m,b){On(a,m,function(v){return this._invoke(m,b,v)})};f("next",0),f("throw",1),f("return",2)}},On(e,t,r,n)}function ile(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ale(n.key),n)}}function ole(e,t,r){return t&&JI(e.prototype,t),r&&JI(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ale(e){var t=sle(e,"string");return sh(t)=="symbol"?t:t+""}function sle(e,t){if(sh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(sh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var tc,BAe,vu=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.List=void 0;tc=null,BAe=exports.List=function(){function e(){ile(this,e),this.head=null,this.tail=null,this.cursor=null}return ole(e,[{key:"createItem",value:function(r){return e.createItem(r)}},{key:"allocateCursor",value:function(r,n){var i;return tc!==null?(i=tc,tc=tc.cursor,i.prev=r,i.next=n,i.cursor=this.cursor):i={prev:r,next:n,cursor:this.cursor},this.cursor=i,i}},{key:"releaseCursor",value:function(){var r=this.cursor;this.cursor=r.cursor,r.prev=null,r.next=null,r.cursor=tc,tc=r}},{key:"updateCursors",value:function(r,n,i,o){for(var a=this.cursor;a!==null;)a.prev===r&&(a.prev=n),a.next===i&&(a.next=o),a=a.cursor}},{key:Symbol.iterator,value:TS().m(function t(){var r;return TS().w(function(n){for(;;)switch(n.n){case 0:r=this.head;case 1:if(r===null){n.n=3;break}return n.n=2,r.data;case 2:r=r.next,n.n=1;break;case 3:return n.a(2)}},t,this)})},{key:"size",get:function(){for(var r=0,n=this.head;n!==null;n=n.next)r++;return r}},{key:"isEmpty",get:function(){return this.head===null}},{key:"first",get:function(){return this.head&&this.head.data}},{key:"last",get:function(){return this.tail&&this.tail.data}},{key:"fromArray",value:function(r){var n=null;this.head=null;var i=XI(r),o;try{for(i.s();!(o=i.n()).done;){var a=o.value,s=e.createItem(a);n!==null?n.next=s:this.head=s,s.prev=n,n=s}}catch(u){i.e(u)}finally{i.f()}return this.tail=n,this}},{key:"toArray",value:function(){return QI(this)}},{key:"toJSON",value:function(){return QI(this)}},{key:"forEach",value:function(r){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,i=this.allocateCursor(null,this.head);i.next!==null;){var o=i.next;i.next=o.next,r.call(n,o.data,o,this)}this.releaseCursor()}},{key:"forEachRight",value:function(r){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,i=this.allocateCursor(this.tail,null);i.prev!==null;){var o=i.prev;i.prev=o.prev,r.call(n,o.data,o,this)}this.releaseCursor()}},{key:"reduce",value:function(r,n){for(var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this,o=this.allocateCursor(null,this.head),a=n,s;o.next!==null;)s=o.next,o.next=s.next,a=r.call(i,a,s.data,s,this);return this.releaseCursor(),a}},{key:"reduceRight",value:function(r,n){for(var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this,o=this.allocateCursor(this.tail,null),a=n,s;o.prev!==null;)s=o.prev,o.prev=s.prev,a=r.call(i,a,s.data,s,this);return this.releaseCursor(),a}},{key:"some",value:function(r){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,i=this.head;i!==null;i=i.next)if(r.call(n,i.data,i,this))return!0;return!1}},{key:"map",value:function(r){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,i=new e,o=this.head;o!==null;o=o.next)i.appendData(r.call(n,o.data,o,this));return i}},{key:"filter",value:function(r){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this,i=new e,o=this.head;o!==null;o=o.next)r.call(n,o.data,o,this)&&i.appendData(o.data);return i}},{key:"nextUntil",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this;if(r!==null){for(var o=this.allocateCursor(null,r);o.next!==null;){var a=o.next;if(o.next=a.next,n.call(i,a.data,a,this))break}this.releaseCursor()}}},{key:"prevUntil",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this;if(r!==null){for(var o=this.allocateCursor(r,null);o.prev!==null;){var a=o.prev;if(o.prev=a.prev,n.call(i,a.data,a,this))break}this.releaseCursor()}}},{key:"clear",value:function(){this.head=null,this.tail=null}},{key:"copy",value:function(){var r=new e,n=XI(this),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;r.appendData(o)}}catch(a){n.e(a)}finally{n.f()}return r}},{key:"prepend",value:function(r){return this.updateCursors(null,r,this.head,r),this.head!==null?(this.head.prev=r,r.next=this.head):this.tail=r,this.head=r,this}},{key:"prependData",value:function(r){return this.prepend(e.createItem(r))}},{key:"append",value:function(r){return this.insert(r)}},{key:"appendData",value:function(r){return this.insert(e.createItem(r))}},{key:"insert",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(n!==null)if(this.updateCursors(n.prev,r,n,r),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=r,n.prev=r,r.next=n,this.updateCursors(null,r)}else n.prev.next=r,r.prev=n.prev,n.prev=r,r.next=n;else this.updateCursors(this.tail,r,null,r),this.tail!==null?(this.tail.next=r,r.prev=this.tail):this.head=r,this.tail=r;return this}},{key:"insertData",value:function(r,n){return this.insert(e.createItem(r),n)}},{key:"remove",value:function(r){if(this.updateCursors(r,r.prev,r,r.next),r.prev!==null)r.prev.next=r.next;else{if(this.head!==r)throw new Error("item doesn't belong to list");this.head=r.next}if(r.next!==null)r.next.prev=r.prev;else{if(this.tail!==r)throw new Error("item doesn't belong to list");this.tail=r.prev}return r.prev=null,r.next=null,r}},{key:"push",value:function(r){this.insert(e.createItem(r))}},{key:"pop",value:function(){return this.tail!==null?this.remove(this.tail):null}},{key:"unshift",value:function(r){this.prepend(e.createItem(r))}},{key:"shift",value:function(){return this.head!==null?this.remove(this.head):null}},{key:"prependList",value:function(r){return this.insertList(r,this.head)}},{key:"appendList",value:function(r){return this.insertList(r)}},{key:"insertList",value:function(r,n){return r.head===null?this:(n!=null?(this.updateCursors(n.prev,r.tail,n,r.head),n.prev!==null?(n.prev.next=r.head,r.head.prev=n.prev):this.head=r.head,n.prev=r.tail,r.tail.next=n):(this.updateCursors(this.tail,r.tail,null,r.head),this.tail!==null?(this.tail.next=r.head,r.head.prev=this.tail):this.head=r.head,this.tail=r.tail),r.head=null,r.tail=null,this)}},{key:"replace",value:function(r,n){"head"in n?this.insertList(n,r):this.insert(n,r),this.remove(r)}}],[{key:"createItem",value:function(r){return{prev:null,next:null,data:r}}}])}()});var RS={};function ule(e,t){var r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,"".concat(e,": ").concat(t,`
|
|
536
|
+
`))}})}var rb=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.createCustomError=ule});var fle={};function rL(e,t){var r=e.source,n=e.line,i=e.column,o=e.baseLine,a=e.baseColumn;function s(C,P){return f.slice(C,P).map(function(A,E){return String(C+E+1).padStart(b)+" |"+A}).join(`
|
|
537
|
+
`)}var u=`
|
|
538
|
+
`.repeat(Math.max(o-1,0)),l=" ".repeat(Math.max(a-1,0)),f=(u+l+r).split(/\r\n?|\n|\f/),p=Math.max(1,n-t)-1,m=Math.min(n+t,f.length+1),b=Math.max(4,String(m).length)+1,v=0;i+=(tL.length-1)*(f[n-1].substr(0,i-1).match(/\t/g)||[]).length,i>FS&&(v=i-eL+3,i=eL-2);for(var w=p;w<=m;w++)w>=0&&w<f.length&&(f[w]=f[w].replace(/\t/g,tL),f[w]=(v>0&&f[w].length>v?"\u2026":"")+f[w].substr(v,FS-2)+(f[w].length>v+FS-1?"\u2026":""));return[s(p,n),new Array(i+b+2).join("-")+"^",s(n,m)].filter(Boolean).join(`
|
|
539
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function cle(e,t,r,n,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1,a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:1,s=Object.assign((0,lle.createCustomError)("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment:function(l){return rL({source:t,line:n,column:i,baseLine:o,baseColumn:a},isNaN(l)?0:l)},get formattedMessage(){return"Parse error: ".concat(e,`
|
|
540
|
+
`)+rL({source:t,line:n,column:i,baseLine:o,baseColumn:a},2)}});return s}var lle,FS,eL,tL,nL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.SyntaxError=cle;lle=(rb(),R(RS)),FS=100,eL=60,tL=" "});var hle={};function ple(e){for(var t=this.createList(),r=!1,n={recognizer:e};!this.eof;){switch(this.tokenType){case iL.Comment:this.next();continue;case iL.WhiteSpace:r=!0,this.next();continue}var i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var iL,oL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.readSequence=ple;iL=(de(),R(me))});var Dle={};function uL(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function lL(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uL(Object(r),!0).forEach(function(n){mle(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uL(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mle(e,t,r){return(t=gle(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gle(e){var t=ble(e,"string");return nc(t)=="symbol"?t:t+""}function ble(e,t){if(nc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(nc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function nc(e){"@babel/helpers - typeof";return nc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nc(e)}function yle(e,t){return kle(e)||wle(e,t)||xle(e,t)||vle()}function vle(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
541
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xle(e,t){if(e){if(typeof e=="string")return cL(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cL(e,t):void 0}}function cL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function wle(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function kle(e){if(Array.isArray(e))return e}function Cle(e){return function(){return this[e]()}}function LS(e){for(var t=Object.create(null),r=0,n=Object.keys(e);r<n.length;r++){var i=n[r],o=e[i],a=o.parse||o;a&&(t[i]=a)}return t}function Ele(e){for(var t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:LS(e.atrule),pseudo:LS(e.pseudo),node:LS(e.node)},r=0,n=Object.entries(e.parseContext);r<n.length;r++){var i=yle(n[r],2),o=i[0],a=i[1];switch(nc(a)){case"function":t.context[o]=a;break;case"string":t.context[o]=Cle(a);break}}return lL(lL({config:t},t),t.node)}function Ale(e){var t="",r="<unknown>",n=!1,i=fL,o=!1,a=new Wt.OffsetToLocation,s=Object.assign(new Wt.TokenStream,Ele(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:dle.readSequence,consumeUntilBalanceEnd:function(){return 0},consumeUntilLeftCurlyBracket:function(f){return f===pL?1:0},consumeUntilLeftCurlyBracketOrSemicolon:function(f){return f===pL||f===IS?1:0},consumeUntilExclamationMarkOrSemicolon:function(f){return f===Sle||f===IS?1:0},consumeUntilSemicolonIncluded:function(f){return f===IS?2:0},createList:function(){return new aL.List},createSingleNodeList:function(f){return new aL.List().appendData(f)},getFirstListNode:function(f){return f&&f.first},getLastListNode:function(f){return f&&f.last},parseWithFallback:function(f,p){var m=this.tokenIndex;try{return f.call(this)}catch(v){if(o)throw v;this.skip(m-this.tokenIndex);var b=p.call(this);return o=!0,i(v,b),o=!1,b}},lookupNonWSType:function(f){var p;do if(p=this.lookupType(f++),p!==Wt.WhiteSpace&&p!==Wt.Comment)return p;while(p!==hL);return hL},charCodeAt:function(f){return f>=0&&f<t.length?t.charCodeAt(f):0},substring:function(f,p){return t.substring(f,p)},substrToCursor:function(f){return this.source.substring(f,this.tokenStart)},cmpChar:function(f,p){return(0,Wt.cmpChar)(t,f,p)},cmpStr:function(f,p,m){return(0,Wt.cmpStr)(t,f,p,m)},consume:function(f){var p=this.tokenStart;return this.eat(f),this.substrToCursor(p)},consumeFunctionName:function(){var f=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(Wt.Function),f},consumeNumber:function(f){var p=t.substring(this.tokenStart,(0,Wt.consumeNumber)(t,this.tokenStart));return this.eat(f),p},eat:function(f){if(this.tokenType!==f){var p=Wt.tokenNames[f].slice(0,-6).replace(/-/g," ").replace(/^./,function(v){return v.toUpperCase()}),m="".concat(/[[\](){}]/.test(p)?'"'.concat(p,'"'):p," is expected"),b=this.tokenStart;switch(f){case Wt.Ident:this.tokenType===Wt.Function||this.tokenType===Wt.Url?(b=this.tokenEnd-1,m="Identifier is expected but function found"):m="Identifier is expected";break;case Wt.Hash:this.isDelim(_le)&&(this.next(),b++,m="Name is expected");break;case Wt.Percentage:this.tokenType===Wt.Number&&(b=this.tokenEnd,m="Percent sign is expected");break}this.error(m,b)}this.next()},eatIdent:function(f){(this.tokenType!==Wt.Ident||this.lookupValue(0,f)===!1)&&this.error('Identifier "'.concat(f,'" is expected')),this.next()},eatDelim:function(f){this.isDelim(f)||this.error('Delim "'.concat(String.fromCharCode(f),'" is expected')),this.next()},getLocation:function(f,p){return n?a.getLocationRange(f,p,r):null},getLocationFromList:function(f){if(n){var p=this.getFirstListNode(f),m=this.getLastListNode(f);return a.getLocationRange(p!==null?p.loc.start.offset-a.startOffset:this.tokenStart,m!==null?m.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error:function(f,p){var m=typeof p<"u"&&p<t.length?a.getLocation(p):this.eof?a.getLocation((0,Wt.findWhiteSpaceStart)(t,t.length-1)):a.getLocation(this.tokenStart);throw new sL.SyntaxError(f||"Unexpected input",t,m.offset,m.line,m.column,a.startLine,a.startColumn)}}),u=function(f,p){t=f,p=p||{},s.setSource(t,Wt.tokenize),a.setSource(t,p.offset,p.line,p.column),r=p.filename||"<unknown>",n=!!p.positions,i=typeof p.onParseError=="function"?p.onParseError:fL,o=!1,s.parseAtrulePrelude="parseAtrulePrelude"in p?!!p.parseAtrulePrelude:!0,s.parseRulePrelude="parseRulePrelude"in p?!!p.parseRulePrelude:!0,s.parseValue="parseValue"in p?!!p.parseValue:!0,s.parseCustomProperty="parseCustomProperty"in p?!!p.parseCustomProperty:!1;var m=p,b=m.context,v=b===void 0?"default":b,w=m.onComment;if(!(v in s.context))throw new Error("Unknown context `"+v+"`");typeof w=="function"&&s.forEachToken(function(P,A,E){if(P===Wt.Comment){var y=s.getLocation(A,E),L=(0,Wt.cmpStr)(t,E-2,E,"*/")?t.slice(A+2,E-2):t.slice(A+2,E);w(L,y)}});var C=s.context[v].call(s,p);return s.eof||s.error(),C};return Object.assign(u,{SyntaxError:sL.SyntaxError,config:s.config})}var aL,sL,Wt,dle,fL,Sle,_le,IS,pL,hL,dL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.createParser=Ale;aL=(vu(),R(rc)),sL=(nL(),R(fle)),Wt=(de(),R(me)),dle=(oL(),R(hle));fL=function(){},Sle=33,_le=35,IS=59,pL=123,hL=0});var gL=ne($S=>{"use strict";var mL="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");$S.encode=function(e){if(0<=e&&e<mL.length)return mL[e];throw new TypeError("Must be between 0 and 63: "+e)};$S.decode=function(e){var t=65,r=90,n=97,i=122,o=48,a=57,s=43,u=47,l=26,f=52;return t<=e&&e<=r?e-t:n<=e&&e<=i?e-n+l:o<=e&&e<=a?e-o+f:e==s?62:e==u?63:-1}});var wL=ne(BS=>{"use strict";var bL=gL(),NS=5,yL=1<<NS,vL=yL-1,xL=yL;function Ple(e){return e<0?(-e<<1)+1:(e<<1)+0}function Ole(e){var t=(e&1)===1,r=e>>1;return t?-r:r}BS.encode=function(t){var r="",n,i=Ple(t);do n=i&vL,i>>>=NS,i>0&&(n|=xL),r+=bL.encode(n);while(i>0);return r};BS.decode=function(t,r,n){var i=t.length,o=0,a=0,s,u;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(u=bL.decode(t.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));s=!!(u&xL),u&=vL,o=o+(u<<a),a+=NS}while(s);n.value=Ole(o),n.rest=r}});var nb=ne(sr=>{"use strict";function Tle(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}sr.getArg=Tle;var kL=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Rle=/^data:.+\,.+$/;function uh(e){var t=e.match(kL);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}sr.urlParse=uh;function ic(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}sr.urlGenerate=ic;var Fle=32;function Ile(e){var t=[];return function(r){for(var n=0;n<t.length;n++)if(t[n].input===r){var i=t[0];return t[0]=t[n],t[n]=i,t[0].result}var o=e(r);return t.unshift({input:r,result:o}),t.length>Fle&&t.pop(),o}}var jS=Ile(function(t){var r=t,n=uh(t);if(n){if(!n.path)return t;r=n.path}for(var i=sr.isAbsolute(r),o=[],a=0,s=0;;)if(a=s,s=r.indexOf("/",a),s===-1){o.push(r.slice(a));break}else for(o.push(r.slice(a,s));s<r.length&&r[s]==="/";)s++;for(var u,l=0,s=o.length-1;s>=0;s--)u=o[s],u==="."?o.splice(s,1):u===".."?l++:l>0&&(u===""?(o.splice(s+1,l),l=0):(o.splice(s,2),l--));return r=o.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,ic(n)):r});sr.normalize=jS;function SL(e,t){e===""&&(e="."),t===""&&(t=".");var r=uh(t),n=uh(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),ic(r);if(r||t.match(Rle))return t;if(n&&!n.host&&!n.path)return n.host=t,ic(n);var i=t.charAt(0)==="/"?t:jS(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,ic(n)):i}sr.join=SL;sr.isAbsolute=function(e){return e.charAt(0)==="/"||kL.test(e)};function Lle(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}sr.relative=Lle;var _L=function(){var e=Object.create(null);return!("__proto__"in e)}();function CL(e){return e}function $le(e){return EL(e)?"$"+e:e}sr.toSetString=_L?CL:$le;function Nle(e){return EL(e)?e.slice(1):e}sr.fromSetString=_L?CL:Nle;function EL(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function Ble(e,t,r){var n=ta(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ta(e.name,t.name)}sr.compareByOriginalPositions=Ble;function jle(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:ta(e.name,t.name)}sr.compareByOriginalPositionsNoSource=jle;function Mle(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=ta(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ta(e.name,t.name)}sr.compareByGeneratedPositionsDeflated=Mle;function qle(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=ta(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:ta(e.name,t.name)}sr.compareByGeneratedPositionsDeflatedNoLine=qle;function ta(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function Vle(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=ta(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:ta(e.name,t.name)}sr.compareByGeneratedPositionsInflated=Vle;function Ule(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}sr.parseSourceMapInput=Ule;function zle(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=uh(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=SL(ic(n),t)}return jS(t)}sr.computeSourceURL=zle});var DL=ne(AL=>{"use strict";var MS=nb(),qS=Object.prototype.hasOwnProperty,xu=typeof Map<"u";function ra(){this._array=[],this._set=xu?new Map:Object.create(null)}ra.fromArray=function(t,r){for(var n=new ra,i=0,o=t.length;i<o;i++)n.add(t[i],r);return n};ra.prototype.size=function(){return xu?this._set.size:Object.getOwnPropertyNames(this._set).length};ra.prototype.add=function(t,r){var n=xu?t:MS.toSetString(t),i=xu?this.has(t):qS.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(t),i||(xu?this._set.set(t,o):this._set[n]=o)};ra.prototype.has=function(t){if(xu)return this._set.has(t);var r=MS.toSetString(t);return qS.call(this._set,r)};ra.prototype.indexOf=function(t){if(xu){var r=this._set.get(t);if(r>=0)return r}else{var n=MS.toSetString(t);if(qS.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};ra.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};ra.prototype.toArray=function(){return this._array.slice()};AL.ArraySet=ra});var TL=ne(OL=>{"use strict";var PL=nb();function Wle(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return n>r||n==r&&o>=i||PL.compareByGeneratedPositionsInflated(e,t)<=0}function ib(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}ib.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};ib.prototype.add=function(t){Wle(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};ib.prototype.toArray=function(){return this._sorted||(this._array.sort(PL.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};OL.MappingList=ib});var FL=ne(RL=>{"use strict";var lh=wL(),jt=nb(),ob=DL().ArraySet,Hle=TL().MappingList;function ni(e){e||(e={}),this._file=jt.getArg(e,"file",null),this._sourceRoot=jt.getArg(e,"sourceRoot",null),this._skipValidation=jt.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=jt.getArg(e,"ignoreInvalidMapping",!1),this._sources=new ob,this._names=new ob,this._mappings=new Hle,this._sourcesContents=null}ni.prototype._version=3;ni.fromSourceMap=function(t,r){var n=t.sourceRoot,i=new ni(Object.assign(r||{},{file:t.file,sourceRoot:n}));return t.eachMapping(function(o){var a={generated:{line:o.generatedLine,column:o.generatedColumn}};o.source!=null&&(a.source=o.source,n!=null&&(a.source=jt.relative(n,a.source)),a.original={line:o.originalLine,column:o.originalColumn},o.name!=null&&(a.name=o.name)),i.addMapping(a)}),t.sources.forEach(function(o){var a=o;n!==null&&(a=jt.relative(n,o)),i._sources.has(a)||i._sources.add(a);var s=t.sourceContentFor(o);s!=null&&i.setSourceContent(o,s)}),i};ni.prototype.addMapping=function(t){var r=jt.getArg(t,"generated"),n=jt.getArg(t,"original",null),i=jt.getArg(t,"source",null),o=jt.getArg(t,"name",null);!this._skipValidation&&this._validateMapping(r,n,i,o)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o}))};ni.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=jt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[jt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[jt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ni.prototype.applySourceMap=function(t,r,n){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 o=this._sourceRoot;o!=null&&(i=jt.relative(o,i));var a=new ob,s=new ob;this._mappings.unsortedForEach(function(u){if(u.source===i&&u.originalLine!=null){var l=t.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,n!=null&&(u.source=jt.join(n,u.source)),o!=null&&(u.source=jt.relative(o,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var f=u.source;f!=null&&!a.has(f)&&a.add(f);var p=u.name;p!=null&&!s.has(p)&&s.add(p)},this),this._sources=a,this._names=s,t.sources.forEach(function(u){var l=t.sourceContentFor(u);l!=null&&(n!=null&&(u=jt.join(n,u)),o!=null&&(u=jt.relative(o,u)),this.setSourceContent(u,l))},this)};ni.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number"){var o="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(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(o),!1;throw new Error(o)}if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!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&&n)return;var o="Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(o),!1;throw new Error(o)}};ni.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,o=0,a=0,s="",u,l,f,p,m=this._mappings.toArray(),b=0,v=m.length;b<v;b++){if(l=m[b],u="",l.generatedLine!==r)for(t=0;l.generatedLine!==r;)u+=";",r++;else if(b>0){if(!jt.compareByGeneratedPositionsInflated(l,m[b-1]))continue;u+=","}u+=lh.encode(l.generatedColumn-t),t=l.generatedColumn,l.source!=null&&(p=this._sources.indexOf(l.source),u+=lh.encode(p-a),a=p,u+=lh.encode(l.originalLine-1-i),i=l.originalLine-1,u+=lh.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(f=this._names.indexOf(l.name),u+=lh.encode(f-o),o=f)),s+=u}return s};ni.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=jt.relative(r,n));var i=jt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};ni.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};ni.prototype.toString=function(){return JSON.stringify(this.toJSON())};RL.SourceMapGenerator=ni});var Yle={};function Kle(e){var t=new Gle.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},o={generated:i},a=1,s=0,u=!1,l=e.node;e.node=function(m){if(m.loc&&m.loc.start&&IL.has(m.type)){var b=m.loc.start.line,v=m.loc.start.column-1;(n.line!==b||n.column!==v)&&(n.line=b,n.column=v,r.line=a,r.column=s,u&&(u=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(o)),u=!0,t.addMapping({source:m.loc.source,original:n,generated:r}))}l.call(this,m),u&&IL.has(m.type)&&(i.line=a,i.column=s)};var f=e.emit;e.emit=function(m,b,v){for(var w=0;w<m.length;w++)m.charCodeAt(w)===10?(a++,s=0):s++;f(m,b,v)};var p=e.result;return e.result=function(){return u&&t.addMapping(o),{css:p(),map:t}},e}var Gle,IL,LL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generateSourceMap=Kle;Gle=FL(),IL=new Set(["Atrule","Selector","Declaration"])});var ice={};function Qle(e,t){return ece(e)||Zle(e,t)||Jle(e,t)||Xle()}function Xle(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
542
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jle(e,t){if(e){if(typeof e=="string")return $L(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$L(e,t):void 0}}function $L(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Zle(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function ece(e){if(Array.isArray(e))return e}function BL(e){var t=new Set(e.map(function(r){var n=Qle(r,2),i=n[0],o=n[1];return VS(i)<<16|VS(o)}));return function(r,n,i){var o=VS(n,i),a=i.charCodeAt(0),s=a===rce&&n!==U.Ident&&n!==U.Function&&n!==U.CDC||a===tce?t.has(r<<16|a<<8):t.has(r<<16|o);return s&&this.emit(" ",U.WhiteSpace,!0),o}}var U,tce,rce,VS,NL,nce,WAe,HAe,jL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.spec=exports.safe=void 0;U=(de(),R(me));tce=43,rce=45,VS=function(t,r){if(t===U.Delim&&(t=r),typeof t=="string"){var n=t.charCodeAt(0);return n>127?32768:n<<8}return t},NL=[[U.Ident,U.Ident],[U.Ident,U.Function],[U.Ident,U.Url],[U.Ident,U.BadUrl],[U.Ident,"-"],[U.Ident,U.Number],[U.Ident,U.Percentage],[U.Ident,U.Dimension],[U.Ident,U.CDC],[U.Ident,U.LeftParenthesis],[U.AtKeyword,U.Ident],[U.AtKeyword,U.Function],[U.AtKeyword,U.Url],[U.AtKeyword,U.BadUrl],[U.AtKeyword,"-"],[U.AtKeyword,U.Number],[U.AtKeyword,U.Percentage],[U.AtKeyword,U.Dimension],[U.AtKeyword,U.CDC],[U.Hash,U.Ident],[U.Hash,U.Function],[U.Hash,U.Url],[U.Hash,U.BadUrl],[U.Hash,"-"],[U.Hash,U.Number],[U.Hash,U.Percentage],[U.Hash,U.Dimension],[U.Hash,U.CDC],[U.Dimension,U.Ident],[U.Dimension,U.Function],[U.Dimension,U.Url],[U.Dimension,U.BadUrl],[U.Dimension,"-"],[U.Dimension,U.Number],[U.Dimension,U.Percentage],[U.Dimension,U.Dimension],[U.Dimension,U.CDC],["#",U.Ident],["#",U.Function],["#",U.Url],["#",U.BadUrl],["#","-"],["#",U.Number],["#",U.Percentage],["#",U.Dimension],["#",U.CDC],["-",U.Ident],["-",U.Function],["-",U.Url],["-",U.BadUrl],["-","-"],["-",U.Number],["-",U.Percentage],["-",U.Dimension],["-",U.CDC],[U.Number,U.Ident],[U.Number,U.Function],[U.Number,U.Url],[U.Number,U.BadUrl],[U.Number,U.Number],[U.Number,U.Percentage],[U.Number,U.Dimension],[U.Number,"%"],[U.Number,U.CDC],["@",U.Ident],["@",U.Function],["@",U.Url],["@",U.BadUrl],["@","-"],["@",U.CDC],[".",U.Number],[".",U.Percentage],[".",U.Dimension],["+",U.Number],["+",U.Percentage],["+",U.Dimension],["/","*"]],nce=NL.concat([[U.Ident,U.Hash],[U.Dimension,U.Hash],[U.Hash,U.Hash],[U.AtKeyword,U.LeftParenthesis],[U.AtKeyword,U.String],[U.AtKeyword,U.Colon],[U.Percentage,U.Percentage],[U.Percentage,U.Dimension],[U.Percentage,U.Function],[U.Percentage,"-"],[U.RightParenthesis,U.Ident],[U.RightParenthesis,U.Function],[U.RightParenthesis,U.Percentage],[U.RightParenthesis,U.Dimension],[U.RightParenthesis,U.Hash],[U.RightParenthesis,"-"]]);WAe=exports.spec=BL(NL),HAe=exports.safe=BL(nce)});var mce={};function zS(e){"@babel/helpers - typeof";return zS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zS(e)}function qL(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(qL=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||zS(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function ace(e,t){return cce(e)||lce(e,t)||uce(e,t)||sce()}function sce(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
543
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uce(e,t){if(e){if(typeof e=="string")return ML(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ML(e,t):void 0}}function ML(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function lce(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function cce(e){if(Array.isArray(e))return e}function pce(e,t){var r=this;if(typeof t=="function"){var n=null;e.children.forEach(function(i){n!==null&&t.call(r,n),r.node(i),n=i});return}e.children.forEach(this.node,this)}function hce(e){var t=this;(0,WS.tokenize)(e,function(r,n,i){t.token(r,e.slice(n,i))})}function dce(e){for(var t=new Map,r=0,n=Object.entries(e.node);r<n.length;r++){var i=ace(n[r],2),o=i[0],a=i[1],s=a.generate||a;typeof s=="function"&&t.set(o,a.generate||a)}return function(u,l){var f="",p=0,m={node:function(w){if(t.has(w.type))t.get(w.type).call(b,w);else throw new Error("Unknown node type: "+w.type)},tokenBefore:US.safe,token:function(w,C){p=this.tokenBefore(p,w,C),this.emit(C,w,!1),w===WS.Delim&&C.charCodeAt(0)===fce&&this.emit(`
|
|
544
|
+
`,WS.WhiteSpace,!0)},emit:function(w){f+=w},result:function(){return f}};l&&(typeof l.decorator=="function"&&(m=l.decorator(m)),l.sourceMap&&(m=(0,oce.generateSourceMap)(m)),l.mode in US&&(m.tokenBefore=US[l.mode]));var b={node:function(w){return m.node(w)},children:pce,token:function(w,C){return m.token(w,C)},tokenize:hce};return m.node(u),m.result()}}var WS,oce,US,fce,VL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.createGenerator=dce;WS=(de(),R(me)),oce=(LL(),R(Yle)),US=qL((jL(),R(ice)));fce=92});var bce={};function gce(e){return{fromPlainObject:function(r){return e(r,{enter:function(i){i.children&&!(i.children instanceof HS.List)&&(i.children=new HS.List().fromArray(i.children))}}),r},toPlainObject:function(r){return e(r,{leave:function(i){i.children&&i.children instanceof HS.List&&(i.children=i.children.toArray())}}),r}}}var HS,UL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.createConvertor=gce;HS=(vu(),R(rc))});var kce={};function YL(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=yce(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
545
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}function yce(e,t){if(e){if(typeof e=="string")return zL(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zL(e,t):void 0}}function zL(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function WL(e){return typeof e=="function"?e:ch}function HL(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function vce(e,t){var r=t.structure,n=[];for(var i in r)if(GS.call(r,i)!==!1){var o=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);var s=YL(o),u;try{for(s.s();!(u=s.n()).done;){var l=u.value;l===null?a.nullable=!0:typeof l=="string"?a.type="node":Array.isArray(l)&&(a.type="list")}}catch(f){s.e(f)}finally{s.f()}a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function xce(e){var t={};for(var r in e.node)if(GS.call(e.node,r)){var n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=vce(r,n)}return t}function GL(e,t){var r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(o,a,s,u){var l;i&&(l=a[n],a[n]=o);var f=YL(r),p;try{for(f.s();!(p=f.n()).done;){var m=p.value,b=o[m.name];if(!m.nullable||b){if(m.type==="list"){var v=t?b.reduceRight(u,!1):b.reduce(u,!1);if(v)return!0}else if(s(b))return!0}}}catch(w){f.e(w)}finally{f.f()}i&&(a[n]=l)}}function KL(e){var t=e.StyleSheet,r=e.Atrule,n=e.Rule,i=e.Block,o=e.DeclarationList;return{Atrule:{StyleSheet:t,Atrule:r,Rule:n,Block:i},Rule:{StyleSheet:t,Atrule:r,Rule:n,Block:i},Declaration:{StyleSheet:t,Atrule:r,Rule:n,Block:i,DeclarationList:o}}}function wce(e){var t=xce(e),r={},n={},i=Symbol("break-walk"),o=Symbol("skip-node");for(var a in t)GS.call(t,a)&&t[a]!==null&&(r[a]=GL(t[a],!1),n[a]=GL(t[a],!0));var s=KL(r),u=KL(n),l=function(p,m){function b(E,y,L){var I=v.call(A,E,y,L);return I===i?!0:I===o?!1:!!(C.hasOwnProperty(E.type)&&C[E.type](E,A,b,P)||w.call(A,E,y,L)===i)}var v=ch,w=ch,C=r,P=function(y,L,I,T){return y||b(L,I,T)},A={break:i,skip:o,root:p,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof m=="function")v=m;else if(m&&(v=WL(m.enter),w=WL(m.leave),m.reverse&&(C=n),m.visit)){if(s.hasOwnProperty(m.visit))C=m.reverse?u[m.visit]:s[m.visit];else if(!t.hasOwnProperty(m.visit))throw new Error("Bad value `"+m.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");v=HL(v,m.visit),w=HL(w,m.visit)}if(v===ch&&w===ch)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");b(p)};return l.break=i,l.skip=o,l.find=function(f,p){var m=null;return l(f,function(b,v,w){if(p.call(this,b,v,w))return m=b,i}),m},l.findLast=function(f,p){var m=null;return l(f,{reverse:!0,enter:function(v,w,C){if(p.call(this,v,w,C))return m=v,i}}),m},l.findAll=function(f,p){var m=[];return l(f,function(b,v,w){p.call(this,b,v,w)&&m.push(b)}),m},l}var GS,ch,QL=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.createWalker=wce;GS=Object.prototype.hasOwnProperty,ch=function(){}});var XL={};function Sce(e){return e}function _ce(e){var t=e.min,r=e.max,n=e.comma;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function Cce(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function Ece(e,t,r,n){var i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",o=e.terms.map(function(a){return ab(a,t,r,n)}).join(i);return e.explicit||r?(n||o[0]===","?"[":"[ ")+o+(n?"]":" ]"):o}function ab(e,t,r,n){var i;switch(e.type){case"Group":i=Ece(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return ab(e.term,t,r,n)+t(_ce(e),e);case"Boolean":i="<boolean-expr["+ab(e.term,t,r,n)+"]>";break;case"Type":i="<"+e.name+(e.opts?t(Cce(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function Ace(e,t){var r=Sce,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),ab(e,r,n,i)}var KS=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Ace});var Oce={};function Pce(e,t){for(var r=e.tokens,n=e.longestMatch,i=n<r.length&&r[n].node||null,o=i!==t?i:null,a=0,s=0,u=0,l="",f,p,m=0;m<r.length;m++){var b=r[m].value;m===n&&(s=b.length,a=l.length),o!==null&&r[m].node===o&&(m<=n?u++:u=0),l+=b}return n===r.length||u>1?(f=sb(o||t,"end")||fh(JL,l),p=fh(f)):(f=sb(o,"start")||fh(sb(t,"start")||JL,l.slice(0,a)),p=sb(o,"end")||fh(f,l.substr(a,s))),{css:l,mismatchOffset:a,mismatchLength:s,start:f,end:p}}function sb(e,t){var r=e&&e.loc&&e.loc[t];return r?"line"in r?fh(r):r:null}function fh(e,t){var r=e.offset,n=e.line,i=e.column,o={offset:r,line:n,column:i};if(t){var a=t.split(/\n|\r\n?|\f/);o.offset+=t.length,o.line+=a.length-1,o.column=a.length===1?o.column+t.length:a.pop().length+1}return o}var ZL,Dce,JL,GAe,KAe,e$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.SyntaxReferenceError=exports.SyntaxMatchError=void 0;ZL=(rb(),R(RS)),Dce=(KS(),R(XL)),JL={offset:0,line:1,column:1};GAe=exports.SyntaxReferenceError=function(t,r){var n=(0,ZL.createCustomError)("SyntaxReferenceError",t+(r?" `"+r+"`":""));return n.reference=r,n},KAe=exports.SyntaxMatchError=function(t,r,n,i){var o=(0,ZL.createCustomError)("SyntaxMatchError",t),a=Pce(i,n),s=a.css,u=a.mismatchOffset,l=a.mismatchLength,f=a.start,p=a.end;return o.rawMessage=t,o.syntax=r?(0,Dce.generate)(r):"<generic>",o.css=s,o.mismatchOffset=u,o.mismatchLength=l,o.message=t+`
|
|
546
|
+
syntax: `+o.syntax+`
|
|
547
|
+
value: `+(s||"<empty string>")+`
|
|
548
|
+
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,f),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:f,end:p},o}});var XS={};function YS(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===lb&&e.charCodeAt(t+1)===lb}function QS(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===lb&&e.charCodeAt(t+1)!==lb){var r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function Tce(e){if(ub.has(e))return ub.get(e);var t=e.toLowerCase(),r=ub.get(t);if(r===void 0){var n=YS(t,0),i=n?"":QS(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return ub.set(e,r),r}function Rce(e){if(oc.has(e))return oc.get(e);var t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");var n=YS(t,r.length);if(!n&&(t=t.toLowerCase(),oc.has(t))){var i=oc.get(t);return oc.set(e,i),i}var o=n?"":QS(t,r.length),a=t.substr(0,r.length+o.length),s=Object.freeze({basename:t.substr(a.length),name:t.substr(r.length),hack:r,vendor:o,prefix:a,custom:n});return oc.set(e,s),s}var ub,oc,lb,YAe,QAe,XAe,cb=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.isCustomProperty=YS;exports.vendorPrefix=exports.property=exports.keyword=void 0;ub=new Map,oc=new Map,lb=45,YAe=exports.keyword=Tce,QAe=exports.property=Rce,XAe=exports.vendorPrefix=QS});var JS={};var JAe,fb=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.cssWideKeywords=void 0;JAe=exports.cssWideKeywords=["initial","inherit","unset","revert","revert-layer"]});var Lce={};function t2(e,t){return e!==null&&e.type===Cr.Delim&&e.value.charCodeAt(0)===t}function ph(e,t,r){for(;e!==null&&(e.type===Cr.WhiteSpace||e.type===Cr.Comment);)e=r(++t);return t}function ts(e,t,r,n){if(!e)return 0;var i=e.value.charCodeAt(t);if(i===hh||i===ao){if(r)return 0;t++}for(;t<e.value.length;t++)if(!(0,Cr.isDigit)(e.value.charCodeAt(t)))return 0;return n+1}function e2(e,t,r){var n=!1,i=ph(e,t,r);if(e=r(i),e===null)return t;if(e.type!==Cr.Number)if(t2(e,hh)||t2(e,ao)){if(n=!0,i=ph(r(++i),i,r),e=r(i),e===null||e.type!==Cr.Number)return 0}else return t;if(!n){var o=e.value.charCodeAt(0);if(o!==hh&&o!==ao)return 0}return ts(e,n?0:1,n,i)}function Ice(e,t){var r=0;if(!e)return 0;if(e.type===Cr.Number)return ts(e,0,Fce,r);if(e.type===Cr.Ident&&e.value.charCodeAt(0)===ao){if(!(0,Cr.cmpChar)(e.value,1,ZS))return 0;switch(e.value.length){case 2:return e2(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==ao?0:(r=ph(t(++r),r,t),e=t(r),ts(e,0,ac,r));default:return e.value.charCodeAt(2)!==ao?0:ts(e,3,ac,r)}}else if(e.type===Cr.Ident||t2(e,hh)&&t(r+1).type===Cr.Ident){if(e.type!==Cr.Ident&&(e=t(++r)),e===null||!(0,Cr.cmpChar)(e.value,0,ZS))return 0;switch(e.value.length){case 1:return e2(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==ao?0:(r=ph(t(++r),r,t),e=t(r),ts(e,0,ac,r));default:return e.value.charCodeAt(1)!==ao?0:ts(e,2,ac,r)}}else if(e.type===Cr.Dimension){for(var n=e.value.charCodeAt(0),i=n===hh||n===ao?1:0,o=i;o<e.value.length&&(0,Cr.isDigit)(e.value.charCodeAt(o));o++);return o===i||!(0,Cr.cmpChar)(e.value,o,ZS)?0:o+1===e.value.length?e2(t(++r),r,t):e.value.charCodeAt(o+1)!==ao?0:o+2===e.value.length?(r=ph(t(++r),r,t),e=t(r),ts(e,0,ac,r)):ts(e,o+2,ac,r)}return 0}var Cr,hh,ao,ZS,ac,Fce,t$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=Ice;Cr=(de(),R(me)),hh=43,ao=45,ZS=110,ac=!0,Fce=!1});var Mce={};function r2(e,t){return e!==null&&e.type===na.Delim&&e.value.charCodeAt(0)===t}function Bce(e,t){return e.value.charCodeAt(0)===t}function dh(e,t,r){for(var n=0,i=t;i<e.value.length;i++){var o=e.value.charCodeAt(i);if(o===r$&&r&&n!==0)return dh(e,t+n+1,!1),6;if(!(0,na.isHexDigit)(o)||++n>6)return 0}return n}function pb(e,t,r){if(!e)return 0;for(;r2(r(t),n$);){if(++e>6)return 0;t++}return t}function jce(e,t){var r=0;if(e===null||e.type!==na.Ident||!(0,na.cmpChar)(e.value,0,Nce)||(e=t(++r),e===null))return 0;if(r2(e,$ce))return e=t(++r),e===null?0:e.type===na.Ident?pb(dh(e,0,!0),++r,t):r2(e,n$)?pb(1,++r,t):0;if(e.type===na.Number){var n=dh(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===na.Dimension||e.type===na.Number?!Bce(e,r$)||!dh(e,1,!1)?0:r+1:pb(n,r,t))}return e.type===na.Dimension?pb(dh(e,1,!0),++r,t):0}var na,$ce,r$,n$,Nce,i$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=jce;na=(de(),R(me)),$ce=43,r$=45,n$=63,Nce=117});var sfe={};function a$(e){return e&&e.__esModule?e:{default:e}}function mh(e){"@babel/helpers - typeof";return mh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mh(e)}function o$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function n2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?o$(Object(r),!0).forEach(function(n){zce(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o$(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function zce(e,t,r){return(t=Wce(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wce(e){var t=Hce(e,"string");return mh(t)=="symbol"?t:t+""}function Hce(e,t){if(mh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(mh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Fi(e,t){return t<e.length?e.charCodeAt(t):0}function s$(e,t){return(0,ue.cmpStr)(e,0,e.length,t)}function u$(e,t){for(var r=0;r<t.length;r++)if(s$(e,t[r]))return!0;return!1}function l$(e,t){return t!==e.length-2?!1:Fi(e,t)===92&&(0,ue.isDigit)(Fi(e,t+1))}function hb(e,t,r){if(e&&e.type==="Range"){var n=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||e.min!==null&&n<e.min&&typeof e.min!="string"||e.max!==null&&n>e.max&&typeof e.max!="string")return!0}return!1}function Kce(e,t){var r=0,n=[],i=0;e:do{switch(e.type){case ue.RightCurlyBracket:case ue.RightParenthesis:case ue.RightSquareBracket:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case ue.Function:case ue.LeftParenthesis:case ue.LeftSquareBracket:case ue.LeftCurlyBracket:n.push(r),r=i2.get(e.type);break}i++}while(e=t(i));return i}function ii(e){return function(t,r,n){return t===null?0:t.type===ue.Function&&u$(t.value,Gce)?Kce(t,r):e(t,r,n)}}function gt(e){return function(t){return t===null||t.type!==e?0:1}}function Yce(e){if(e===null||e.type!==ue.Ident)return 0;var t=e.value.toLowerCase();return u$(t,qce.cssWideKeywords)||s$(t,"default")?0:1}function c$(e){return e===null||e.type!==ue.Ident||Fi(e.value,0)!==45||Fi(e.value,1)!==45?0:1}function Qce(e){return!c$(e)||e.value==="--"?0:1}function Xce(e){if(e===null||e.type!==ue.Hash)return 0;var t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(var r=1;r<t;r++)if(!(0,ue.isHexDigit)(Fi(e.value,r)))return 0;return 1}function Jce(e){return e===null||e.type!==ue.Hash||!(0,ue.isIdentifierStart)(Fi(e.value,1),Fi(e.value,2),Fi(e.value,3))?0:1}function Zce(e,t){if(!e)return 0;var r=0,n=[],i=0;e:do{switch(e.type){case ue.BadString:case ue.BadUrl:break e;case ue.RightCurlyBracket:case ue.RightParenthesis:case ue.RightSquareBracket:if(e.type!==r)break e;r=n.pop();break;case ue.Semicolon:if(r===0)break e;break;case ue.Delim:if(r===0&&e.value==="!")break e;break;case ue.Function:case ue.LeftParenthesis:case ue.LeftSquareBracket:case ue.LeftCurlyBracket:n.push(r),r=i2.get(e.type);break}i++}while(e=t(i));return i}function efe(e,t){if(!e)return 0;var r=0,n=[],i=0;e:do{switch(e.type){case ue.BadString:case ue.BadUrl:break e;case ue.RightCurlyBracket:case ue.RightParenthesis:case ue.RightSquareBracket:if(e.type!==r)break e;r=n.pop();break;case ue.Function:case ue.LeftParenthesis:case ue.LeftSquareBracket:case ue.LeftCurlyBracket:n.push(r),r=i2.get(e.type);break}i++}while(e=t(i));return i}function ia(e){return e&&(e=new Set(e)),function(t,r,n){if(t===null||t.type!==ue.Dimension)return 0;var i=(0,ue.consumeNumber)(t.value,0);if(e!==null){var o=t.value.indexOf("\\",i),a=o===-1||!l$(t.value,o)?t.value.substr(i):t.value.substring(i,o);if(e.has(a.toLowerCase())===!1)return 0}return hb(n,t.value,i)?0:1}}function tfe(e,t,r){return e===null||e.type!==ue.Percentage||hb(r,e.value,e.value.length-1)?0:1}function f$(e){return typeof e!="function"&&(e=function(){return 0}),function(t,r,n){return t!==null&&t.type===ue.Number&&Number(t.value)===0?1:e(t,r,n)}}function rfe(e,t,r){if(e===null)return 0;var n=(0,ue.consumeNumber)(e.value,0),i=n===e.value.length;return!i&&!l$(e.value,n)||hb(r,e.value,n)?0:1}function nfe(e,t,r){if(e===null||e.type!==ue.Number)return 0;for(var n=Fi(e.value,0)===43||Fi(e.value,0)===45?1:0;n<e.value.length;n++)if(!(0,ue.isDigit)(Fi(e.value,n)))return 0;return hb(r,e.value,n)?0:1}function p$(e){var t=e||{},r=t.angle,n=t.decibel,i=t.frequency,o=t.flex,a=t.length,s=t.resolution,u=t.semitones,l=t.time;return{dimension:ii(ia(null)),angle:ii(ia(r)),decibel:ii(ia(n)),frequency:ii(ia(i)),flex:ii(ia(o)),length:ii(f$(ia(a))),resolution:ii(ia(s)),semitones:ii(ia(u)),time:ii(ia(l))}}function afe(e){return n2(n2(n2({},ife),ofe),p$(e))}var qce,Vce,Uce,ue,Gce,i2,ife,ofe,ZAe,h$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.createDemensionTypes=p$;exports.createGenericTypes=afe;exports.unitGroups=exports.tokenTypes=exports.productionTypes=void 0;qce=(fb(),R(JS)),Vce=a$((t$(),R(Lce))),Uce=a$((i$(),R(Mce))),ue=(de(),R(me));Gce=["calc(","-moz-calc(","-webkit-calc("],i2=new Map([[ue.Function,ue.RightParenthesis],[ue.LeftParenthesis,ue.RightParenthesis],[ue.LeftSquareBracket,ue.RightSquareBracket],[ue.LeftCurlyBracket,ue.RightCurlyBracket]]);ife=exports.tokenTypes={"ident-token":gt(ue.Ident),"function-token":gt(ue.Function),"at-keyword-token":gt(ue.AtKeyword),"hash-token":gt(ue.Hash),"string-token":gt(ue.String),"bad-string-token":gt(ue.BadString),"url-token":gt(ue.Url),"bad-url-token":gt(ue.BadUrl),"delim-token":gt(ue.Delim),"number-token":gt(ue.Number),"percentage-token":gt(ue.Percentage),"dimension-token":gt(ue.Dimension),"whitespace-token":gt(ue.WhiteSpace),"CDO-token":gt(ue.CDO),"CDC-token":gt(ue.CDC),"colon-token":gt(ue.Colon),"semicolon-token":gt(ue.Semicolon),"comma-token":gt(ue.Comma),"[-token":gt(ue.LeftSquareBracket),"]-token":gt(ue.RightSquareBracket),"(-token":gt(ue.LeftParenthesis),")-token":gt(ue.RightParenthesis),"{-token":gt(ue.LeftCurlyBracket),"}-token":gt(ue.RightCurlyBracket)},ofe=exports.productionTypes={string:gt(ue.String),ident:gt(ue.Ident),percentage:ii(tfe),zero:f$(),number:ii(rfe),integer:ii(nfe),"custom-ident":Yce,"dashed-ident":c$,"custom-property-name":Qce,"hex-color":Xce,"id-selector":Jce,"an-plus-b":Vce.default,urange:Uce.default,"declaration-value":Zce,"any-value":efe},ZAe=exports.unitGroups=["length","angle","time","frequency","resolution","flex","decibel","semitones"]});var ufe={};var e3e,t3e,r3e,n3e,i3e,o3e,a3e,s3e,d$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.time=exports.semitones=exports.resolution=exports.length=exports.frequency=exports.flex=exports.decibel=exports.angle=void 0;e3e=exports.length=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],t3e=exports.angle=["deg","grad","rad","turn"],r3e=exports.time=["s","ms"],n3e=exports.frequency=["hz","khz"],i3e=exports.resolution=["dpi","dpcm","dppx","x"],o3e=exports.flex=["fr"],a3e=exports.decibel=["db"],s3e=exports.semitones=["st"]});var m$={};function cfe(e,t,r){return Object.assign((0,lfe.createCustomError)("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+`
|
|
549
|
+
`+t+`
|
|
550
|
+
--`+new Array((r||t.length)+1).join("-")+"^"})}var lfe,o2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.SyntaxError=cfe;lfe=(rb(),R(RS))});var wfe={};function gh(e){"@babel/helpers - typeof";return gh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gh(e)}function pfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g$(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,dfe(n.key),n)}}function hfe(e,t,r){return t&&g$(e.prototype,t),r&&g$(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function dfe(e){var t=mfe(e,"string");return gh(t)=="symbol"?t:t+""}function mfe(e,t){if(gh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(gh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ffe,gfe,bfe,yfe,vfe,xfe,b$,u3e,y$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.Scanner=void 0;ffe=(o2(),R(m$));gfe=9,bfe=10,yfe=12,vfe=13,xfe=32,b$=new Uint8Array(128).map(function(e,t){return/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0}),u3e=exports.Scanner=function(){function e(t){pfe(this,e),this.str=t,this.pos=0}return hfe(e,[{key:"charCodeAt",value:function(r){return r<this.str.length?this.str.charCodeAt(r):0}},{key:"charCode",value:function(){return this.charCodeAt(this.pos)}},{key:"isNameCharCode",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.charCode();return r<128&&b$[r]===1}},{key:"nextCharCode",value:function(){return this.charCodeAt(this.pos+1)}},{key:"nextNonWsCode",value:function(r){return this.charCodeAt(this.findWsEnd(r))}},{key:"skipWs",value:function(){this.pos=this.findWsEnd(this.pos)}},{key:"findWsEnd",value:function(r){for(;r<this.str.length;r++){var n=this.str.charCodeAt(r);if(n!==vfe&&n!==bfe&&n!==yfe&&n!==xfe&&n!==gfe)break}return r}},{key:"substringToPos",value:function(r){return this.str.substring(this.pos,this.pos=r)}},{key:"eat",value:function(r){this.charCode()!==r&&this.error("Expect `"+String.fromCharCode(r)+"`"),this.pos++}},{key:"peek",value:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}},{key:"error",value:function(r){throw new ffe.SyntaxError(r,this.str,this.pos)}},{key:"scanSpaces",value:function(){return this.substringToPos(this.findWsEnd(this.pos))}},{key:"scanWord",value:function(){for(var r=this.pos;r<this.str.length;r++){var n=this.str.charCodeAt(r);if(n>=128||b$[n]===0)break}return this.pos===r&&this.error("Expect a keyword"),this.substringToPos(r)}},{key:"scanNumber",value:function(){for(var r=this.pos;r<this.str.length;r++){var n=this.str.charCodeAt(r);if(n<48||n>57)break}return this.pos===r&&this.error("Expect a number"),this.substringToPos(r)}},{key:"scanString",value:function(){var r=this.str.indexOf("'",this.pos+1);return r===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(r+1)}}])}()});var P$={};function C$(e){var t=null,r=null;return e.eat(mb),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===f2?(e.pos++,e.skipWs(),e.charCode()!==k$&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(k$),{min:Number(t),max:r?Number(r):0}}function Ofe(e){var t=null,r=!1;switch(e.charCode()){case D$:e.pos++,t={min:0,max:0};break;case c2:e.pos++,t={min:1,max:0};break;case u2:e.pos++,t={min:0,max:1};break;case l2:e.pos++,r=!0,e.charCode()===mb?t=C$(e):e.charCode()===u2?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case mb:t=C$(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function rs(e,t){var r=Ofe(e);return r!==null?(r.term=t,e.charCode()===l2&&e.charCodeAt(e.pos-1)===c2?rs(e,r):r):t}function a2(e){var t=e.peek();return t===""?null:rs(e,{type:"Token",value:t})}function Tfe(e){var t;return e.eat(p2),e.eat(db),t=e.scanWord(),e.eat(db),e.eat(s2),rs(e,{type:"Property",name:t})}function Rfe(e){var t=null,r=null,n=1;return e.eat(bh),e.charCode()===x$&&(e.peek(),n=-1),n==-1&&e.charCode()===S$?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(f2),e.skipWs(),e.charCode()===S$?e.peek():(n=1,e.charCode()===x$&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(yh),{type:"Range",min:t,max:r}}function Ffe(e){var t,r=null;if(e.eat(p2),t=e.scanWord(),t==="boolean-expr"){e.eat(bh);var n=h2(e,yh);return e.eat(yh),e.eat(s2),rs(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===A$&&e.nextCharCode()===Dfe&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===bh&&(e.skipWs(),r=Rfe(e)),e.eat(s2),rs(e,{type:"Type",name:t,opts:r})}function Ife(e){var t=e.scanWord();return e.charCode()===A$?(e.pos++,{type:"Function",name:t}):rs(e,{type:"Keyword",name:t})}function Lfe(e,t){function r(s,u){return{type:"Group",terms:s,combinator:u,disallowEmpty:!1,explicit:!1}}var n;for(t=Object.keys(t).sort(function(s,u){return _$[s]-_$[u]});t.length>0;){n=t.shift();for(var i=0,o=0;i<e.length;i++){var a=e[i];a.type==="Combinator"&&(a.value===n?(o===-1&&(o=i-1),e.splice(i,1),i--):(o!==-1&&i-o>1&&(e.splice(o,i-o,r(e.slice(o,i),n)),i=o+1),o=-1))}o!==-1&&t.length&&e.splice(o,i-o,r(e.slice(o,i),n))}return n}function h2(e,t){for(var r=Object.create(null),n=[],i,o=null,a=e.pos;e.charCode()!==t&&(i=Nfe(e,t));)i.type!=="Spaces"&&(i.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=a,e.error("Unexpected combinator")),r[i.value]=!0):o!==null&&o.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(i),o=i,a=e.pos);return o!==null&&o.type==="Combinator"&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:Lfe(n,r)||" ",disallowEmpty:!1,explicit:!1}}function $fe(e,t){var r;return e.eat(bh),r=h2(e,t),e.eat(yh),r.explicit=!0,e.charCode()===E$&&(e.pos++,r.disallowEmpty=!0),r}function Nfe(e,t){var r=e.charCode();switch(r){case yh:break;case bh:return rs(e,$fe(e,t));case p2:return e.nextCharCode()===db?Tfe(e):Ffe(e);case w$:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===w$?2:1))};case v$:return e.pos++,e.eat(v$),{type:"Combinator",value:"&&"};case f2:return e.pos++,{type:"Comma"};case db:return rs(e,{type:"String",value:e.scanString()});case Afe:case Sfe:case _fe:case Efe:case Cfe:return{type:"Spaces",value:e.scanSpaces()};case Pfe:return r=e.nextCharCode(),e.isNameCharCode(r)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):a2(e);case D$:case c2:case u2:case l2:case E$:break;case mb:if(r=e.nextCharCode(),r<48||r>57)return a2(e);break;default:return e.isNameCharCode(r)?Ife(e):a2(e)}}function Bfe(e){var t=new kfe.Scanner(e),r=h2(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var kfe,Sfe,_fe,Cfe,Efe,Afe,E$,l2,v$,db,A$,Dfe,D$,c2,f2,x$,p2,s2,u2,Pfe,bh,yh,mb,w$,k$,S$,_$,d2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.parse=Bfe;kfe=(y$(),R(wfe)),Sfe=9,_fe=10,Cfe=12,Efe=13,Afe=32,E$=33,l2=35,v$=38,db=39,A$=40,Dfe=41,D$=42,c2=43,f2=44,x$=45,p2=60,s2=62,u2=63,Pfe=64,bh=91,yh=93,mb=123,w$=124,k$=125,S$=8734,_$={" ":1,"&&":2,"||":3,"|":4}});var Mfe={};function O$(e){return typeof e=="function"?e:vh}function jfe(e,t,r){function n(a){switch(i.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":case"Boolean":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}o.call(r,a)}var i=vh,o=vh;if(typeof t=="function"?i=t:t&&(i=O$(t.enter),o=O$(t.leave)),i===vh&&o===vh)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}var vh,T$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.walk=jfe;vh=function(){}});var R$={};var qfe,Vfe,Ufe,zfe,m2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});Object.defineProperty(exports,"SyntaxError",{enumerable:!0,get:function(){return qfe.SyntaxError}});Object.defineProperty(exports,"generate",{enumerable:!0,get:function(){return Vfe.generate}});Object.defineProperty(exports,"parse",{enumerable:!0,get:function(){return Ufe.parse}});Object.defineProperty(exports,"walk",{enumerable:!0,get:function(){return zfe.walk}});qfe=(o2(),R(m$)),Vfe=(KS(),R(XL)),Ufe=(d2(),R(P$)),zfe=(T$(),R(Mfe))});var Jfe={};function xh(e){"@babel/helpers - typeof";return xh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xh(e)}function F$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function I$(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?F$(Object(r),!0).forEach(function(n){Hfe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F$(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Hfe(e,t,r){return(t=Gfe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gfe(e){var t=Kfe(e,"string");return xh(t)=="symbol"?t:t+""}function Kfe(e,t){if(xh(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(xh(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qfe(e){var t=[];return(0,Wfe.tokenize)(e,function(r,n,i){return t.push({type:r,value:e.slice(n,i),node:null})}),t}function Xfe(e,t){return typeof e=="string"?Qfe(e):t.generate(e,Yfe)}var Wfe,Yfe,L$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=Xfe;Wfe=(de(),R(me));Yfe={decorator:function(t){var r=[],n=null;return I$(I$({},t),{},{node:function(o){var a=n;n=o,t.node.call(this,o),n=a},emit:function(o,a,s){r.push({type:a,value:o,node:s?null:n})},result:function(){return r}})}}});var j$={};function Er(e,t,r){return t===Ht&&r===dn||e===Ht&&t===Ht&&r===Ht?e:(e.type==="If"&&e.else===dn&&t===Ht&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function B$(e){return e.length>2&&e.charCodeAt(e.length-2)===epe&&e.charCodeAt(e.length-1)===tpe}function $$(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&B$(e.name)}function ns(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:" ",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function wh(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Set;if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=wh(e.match,t,r),e.then=wh(e.then,t,r),e.else=wh(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function g2(e,t,r){switch(e){case" ":{for(var n=Ht,i=t.length-1;i>=0;i--){var o=t[i];n=Er(o,n,dn)}return n}case"|":{for(var a=dn,s=null,u=t.length-1;u>=0;u--){var l=t[u];if($$(l)&&(s===null&&u>0&&$$(t[u-1])&&(s=Object.create(null),a=Er({type:"Enum",map:s},Ht,a)),s!==null)){var f=(B$(l.name)?l.name.slice(0,-1):l.name).toLowerCase();if(!(f in s)){s[f]=l;continue}}s=null,a=Er(l,Ht,a)}return a}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(var p=dn,m=function(){var A=t[b],E;t.length>1?E=g2(e,t.filter(function(y){return y!==A}),!1):E=Ht,p=Er(A,E,p)},b=t.length-1;b>=0;b--)m();return p}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};for(var v=r?Ht:dn,w=function(){var A=t[C],E;t.length>1?E=g2(e,t.filter(function(y){return y!==A}),!0):E=Ht,v=Er(A,E,v)},C=t.length-1;C>=0;C--)w();return v}}}function rpe(e){var t=Ht,r=sc(e.term);if(e.max===0)r=Er(r,N$,dn),t=Er(r,null,dn),t.then=Er(Ht,Ht,t),e.comma&&(t.then.else=Er({type:"Comma",syntax:e},t,dn));else for(var n=e.min||1;n<=e.max;n++)e.comma&&t!==Ht&&(t=Er({type:"Comma",syntax:e},t,dn)),t=Er(r,Er(Ht,Ht,t),dn);if(e.min===0)t=Er(Ht,Ht,t);else for(var i=0;i<e.min-1;i++)e.comma&&t!==Ht&&(t=Er({type:"Comma",syntax:e},t,dn)),t=Er(r,t,dn);return t}function sc(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{var t=g2(e.combinator,e.terms.map(sc),!1);return e.disallowEmpty&&(t=Er(t,N$,dn)),t}case"Multiplier":return rpe(e);case"Boolean":{var r=sc(e.term),n=sc(ns([ns([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),ns([{type:"Type",name:"!boolean-group"},ns([{type:"Multiplier",comma:!1,min:0,max:0,term:ns([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:ns([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),i=sc(ns([{type:"Type",name:"!term"},ns([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return wh(i,{"!term":r,"!self":n}),wh(n,{"!boolean-group":i}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function npe(e,t){return typeof e=="string"&&(e=(0,Zfe.parse)(e)),{type:"MatchGraph",match:sc(e),syntax:t||null,source:e}}var Zfe,Ht,dn,N$,epe,tpe,b2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.MISMATCH=exports.MATCH=exports.DISALLOW_EMPTY=void 0;exports.buildMatchGraph=npe;Zfe=(d2(),R(P$)),Ht=exports.MATCH={type:"Match"},dn=exports.MISMATCH={type:"Mismatch"},N$=exports.DISALLOW_EMPTY={type:"DisallowEmpty"},epe=40,tpe=41});var fpe={};function v2(e){"@babel/helpers - typeof";return v2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v2(e)}function H$(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(H$=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||v2(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function G$(e){for(var t=null,r=null,n=e;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function y2(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=t.charCodeAt(r),i=e.charCodeAt(r);if(i>=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function upe(e){return e.type!==mn.Delim?!1:e.value!=="?"}function z$(e){return e===null?!0:e.type===mn.Comma||e.type===mn.Function||e.type===mn.LeftParenthesis||e.type===mn.LeftSquareBracket||e.type===mn.LeftCurlyBracket||upe(e)}function W$(e){return e===null?!0:e.type===mn.RightParenthesis||e.type===mn.RightSquareBracket||e.type===mn.RightCurlyBracket||e.type===mn.Delim&&e.value==="/"}function K$(e,t,r){function n(){do A++,P=A<e.length?e[A]:null;while(P!==null&&(P.type===mn.WhiteSpace||P.type===mn.Comment))}function i(Q){var pe=A+Q;return pe<e.length?e[pe]:null}function o(Q,pe){return{nextState:Q,matchStack:y,syntaxStack:p,thenStack:m,tokenIndex:A,prev:pe}}function a(Q){m={nextState:Q,matchStack:y,syntaxStack:p,prev:m}}function s(Q){b=o(Q,b)}function u(){y={type:ope,syntax:t.syntax,token:P,prev:y},n(),v=null,A>E&&(E=A)}function l(){p={syntax:t.syntax,opts:t.syntax.opts||p!==null&&p.opts||null,prev:p},y={type:gb,syntax:t.syntax,token:y.token,prev:y}}function f(){y.type===gb?y=y.prev:y={type:x2,syntax:p.syntax,token:y.token,prev:y},p=p.prev}var p=null,m=null,b=null,v=null,w=0,C=null,P=null,A=-1,E=0,y={type:ipe,syntax:null,token:null,prev:null};for(n();C===null&&++w<V$;)switch(t.type){case"Match":if(m===null){if(P!==null&&(A!==e.length-1||P.value!=="\\0"&&P.value!=="\\9")){t=bt.MISMATCH;break}C=q$;break}if(t=m.nextState,t===bt.DISALLOW_EMPTY)if(m.matchStack===y){t=bt.MISMATCH;break}else t=bt.MATCH;for(;m.syntaxStack!==p;)f();m=m.prev;break;case"Mismatch":if(v!==null&&v!==!1)(b===null||A>b.tokenIndex)&&(b=v,v=!1);else if(b===null){C=ape;break}t=b.nextState,m=b.thenStack,p=b.syntaxStack,y=b.matchStack,A=b.tokenIndex,P=A<e.length?e[A]:null,b=b.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==bt.MISMATCH&&s(t.else),t.then!==bt.MATCH&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{var L=t.syntax.terms;if(t.index===L.length){if(t.mask===0||t.syntax.all){t=bt.MISMATCH;break}t=bt.MATCH;break}if(t.mask===(1<<L.length)-1){t=bt.MATCH;break}for(;t.index<L.length;t.index++){var I=1<<t.index;if((t.mask&I)===0){s(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|I}),t=L[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(P!==null){var T=P.value.toLowerCase();if(T.indexOf("\\")!==-1&&(T=T.replace(/\\[09].*$/,"")),M$.call(t.map,T)){t=t.map[T];break}}t=bt.MISMATCH;break;case"Generic":{var N=p!==null?p.opts:null,X=A+Math.floor(t.fn(P,i,N));if(!isNaN(X)&&X>A){for(;A<X;)u();t=bt.MATCH}else t=bt.MISMATCH;break}case"Type":case"Property":{var se=t.type==="Type"?"types":"properties",ie=M$.call(r,se)?r[se][t.name]:null;if(!ie||!ie.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&P!==null&&t.type==="Type"){var te=t.name==="custom-ident"&&P.type===mn.Ident||t.name==="length"&&P.value==="0";if(te){v===null&&(v=o(t,b)),t=bt.MISMATCH;break}}l(),t=ie.matchRef||ie.match;break}case"Keyword":{var Ee=t.name;if(P!==null){var W=P.value;if(W.indexOf("\\")!==-1&&(W=W.replace(/\\[09].*$/,"")),y2(W,Ee)){u(),t=bt.MATCH;break}}t=bt.MISMATCH;break}case"AtKeyword":case"Function":if(P!==null&&y2(P.value,t.name)){u(),t=bt.MATCH;break}t=bt.MISMATCH;break;case"Token":if(P!==null&&P.value===t.value){u(),t=bt.MATCH;break}t=bt.MISMATCH;break;case"Comma":P!==null&&P.type===mn.Comma?z$(y.token)?t=bt.MISMATCH:(u(),t=W$(P)?bt.MISMATCH:bt.MATCH):t=z$(y.token)||W$(P)?bt.MATCH:bt.MISMATCH;break;case"String":for(var G="",Z=A;Z<e.length&&G.length<t.value.length;Z++)G+=e[Z].value;if(y2(G,t.value)){for(;A<Z;)u();t=bt.MATCH}else t=bt.MISMATCH;break;default:throw new Error("Unknown node type: "+t.type)}switch(exports.totalIterationCount=U$=U$+w,C){case null:console.warn("[csstree-match] BREAK after "+V$+" iterations"),C=spe,y=null;break;case q$:for(;p!==null;)f();break;default:y=null}return{tokens:e,reason:C,iterations:w,match:y,longestMatch:E}}function lpe(e,t,r){var n=K$(e,t,r||{});if(n.match!==null){var i=G$(n.match).prev;for(n.match=[];i!==null;){switch(i.type){case gb:case x2:n.match.push({type:i.type,syntax:i.syntax});break;default:n.match.push({token:i.token.value,node:i.token.node});break}i=i.prev}}return n}function cpe(e,t,r){var n=K$(e,t,r||{});if(n.match===null)return n;var i=n.match,o=n.match={syntax:t.syntax||null,match:[]},a=[o];for(i=G$(i).prev;i!==null;){switch(i.type){case gb:o.match.push(o={syntax:i.syntax,match:[]}),a.push(o);break;case x2:a.pop(),o=a[a.length-1];break;default:o.match.push({syntax:i.syntax||null,token:i.token.value,node:i.token.node})}i=i.prev}return n}var bt,mn,M$,ipe,ope,gb,x2,q$,ape,spe,V$,U$,Y$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.matchAsList=lpe;exports.matchAsTree=cpe;exports.totalIterationCount=void 0;bt=(b2(),R(j$)),mn=H$((Zg(),R(yS)));M$=Object.prototype.hasOwnProperty,ipe=0,ope=1,gb=2,x2=3,q$="Match",ape="Mismatch",spe="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",V$=15e3,U$=exports.totalIterationCount=0});var mpe={};function Q$(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(var o=0;o<i.match.length;o++)if(r(i.match[o]))return t(i.syntax)&&n.unshift(i.syntax),!0}else if(i.node===e)return n=t(i.syntax)?[i.syntax]:[],!0;return!1}var n=null;return this.matched!==null&&r(this.matched),n}function ppe(e,t){return w2(this,e,function(r){return r.type==="Type"&&r.name===t})}function hpe(e,t){return w2(this,e,function(r){return r.type==="Property"&&r.name===t})}function dpe(e){return w2(this,e,function(t){return t.type==="Keyword"})}function w2(e,t,r){var n=Q$.call(e,t);return n===null?!1:n.some(r)}var X$=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.getTrace=Q$;exports.isKeyword=dpe;exports.isProperty=hpe;exports.isType=ppe});var ype={};function J$(e){return"node"in e?e.node:J$(e.match[0])}function Z$(e){return"node"in e?e.node:Z$(e.match[e.match.length-1])}function bpe(e,t,r,n,i){function o(s){if(s.syntax!==null&&s.syntax.type===n&&s.syntax.name===i){var u=J$(s),l=Z$(s);e.syntax.walk(t,function(f,p,m){if(f===u){var b=new gpe.List;do{if(b.appendData(p.data),p.data===l)break;p=p.next}while(p!==null);a.push({parent:m,nodes:b})}})}Array.isArray(s.match)&&s.match.forEach(o)}var a=[];return r.matched!==null&&o(r.matched),a}var gpe,e9=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.matchFragments=bpe;gpe=(vu(),R(rc))});var Spe={};function k2(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function t9(e){return!!e&&k2(e.offset)&&k2(e.line)&&k2(e.column)}function xpe(e,t){return function(n,i){if(!n||n.constructor!==Object)return i(n,"Type of node should be an Object");for(var o in n){var a=!0;if(kh.call(n,o)!==!1){if(o==="type")n.type!==e&&i(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(o==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")o+=".source";else if(!t9(n.loc.start))o+=".start";else if(!t9(n.loc.end))o+=".end";else continue;a=!1}else if(t.hasOwnProperty(o)){a=!1;for(var s=0;!a&&s<t[o].length;s++){var u=t[o][s];switch(u){case String:a=typeof n[o]=="string";break;case Boolean:a=typeof n[o]=="boolean";break;case null:a=n[o]===null;break;default:typeof u=="string"?a=n[o]&&n[o].type===u:Array.isArray(u)&&(a=n[o]instanceof vpe.List)}}}else i(n,"Unknown field `"+o+"` for "+e+" node type");a||i(n,"Bad value for `"+e+"."+o+"`")}}for(var l in t)kh.call(t,l)&&kh.call(n,l)===!1&&i(n,"Field `"+e+"."+l+"` is missed")}}function r9(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];if(i===String||i===Boolean)r.push(i.name.toLowerCase());else if(i===null)r.push("null");else if(typeof i=="string")r.push(i);else if(Array.isArray(i))r.push("List<"+(r9(i,t)||"any")+">");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function wpe(e,t){var r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(var o in r)if(kh.call(r,o)!==!1){var a=n[o]=Array.isArray(r[o])?r[o].slice():[r[o]];i[o]=r9(a,e+"."+o)}return{docs:i,check:xpe(e,n)}}function kpe(e){var t={};if(e.node){for(var r in e.node)if(kh.call(e.node,r)){var n=e.node[r];if(n.structure)t[r]=wpe(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var vpe,kh,n9=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.getStructureFromConfig=kpe;vpe=(vu(),R(rc)),kh=Object.prototype.hasOwnProperty});var p9={};function cc(e){"@babel/helpers - typeof";return cc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cc(e)}function Ppe(e){return e&&e.__esModule?e:{default:e}}function xb(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(xb=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||cc(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function s9(e){return Rpe(e)||Tpe(e)||f9(e)||Ope()}function Ope(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
551
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tpe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rpe(e){if(Array.isArray(e))return S2(e)}function Fpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u9(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,c9(n.key),n)}}function Ipe(e,t,r){return t&&u9(e.prototype,t),r&&u9(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function yb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?l9(Object(r),!0).forEach(function(n){Lpe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l9(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Lpe(e,t,r){return(t=c9(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c9(e){var t=$pe(e,"string");return cc(t)=="symbol"?t:t+""}function $pe(e,t){if(cc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(cc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _h(e,t){return jpe(e)||Bpe(e,t)||f9(e,t)||Npe()}function Npe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
552
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f9(e,t){if(e){if(typeof e=="string")return S2(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S2(e,t):void 0}}function S2(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Bpe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function jpe(e){if(Array.isArray(e))return e}function _2(e,t,r){var n={};for(var i in e)e[i].syntax&&(n[i]=r?e[i].syntax:(0,vb.generate)(e[i].syntax,{compact:t}));return n}function Mpe(e,t,r){for(var n={},i=0,o=Object.entries(e);i<o.length;i++){var a=_h(o[i],2),s=a[0],u=a[1];n[s]={prelude:u.prelude&&(r?u.prelude.syntax:(0,vb.generate)(u.prelude.syntax,{compact:t})),descriptors:u.descriptors&&_2(u.descriptors,t,r)}}return n}function qpe(e){for(var t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function Vpe(e){var t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Ii(e,t,r){return yb({matched:e,iterations:r,error:t},Ape)}function uc(e,t,r,n){var i=(0,Epe.default)(r,e.syntax),o;return qpe(i)?Ii(null,new Error("Matching for a tree with var() is not supported")):(n&&(o=(0,o9.matchAsTree)(i,e.cssWideKeywordsSyntax,e)),(!n||!o.match)&&(o=(0,o9.matchAsTree)(i,t.match,e),!o.match)?Ii(null,new lc.SyntaxMatchError(o.reason,t.syntax,r,o),o.iterations):Ii(o.match,null,o.iterations))}var lc,Sh,_pe,Cpe,i9,vb,Epe,bb,o9,Ape,a9,Dpe,l3e,C2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.Lexer=void 0;lc=(e$(),R(Oce)),Sh=xb((cb(),R(XS))),_pe=(fb(),R(JS)),Cpe=(h$(),R(sfe)),i9=xb((d$(),R(ufe))),vb=(m2(),R(R$)),Epe=Ppe((L$(),R(Jfe))),bb=(b2(),R(j$)),o9=(Y$(),R(fpe)),Ape=xb((X$(),R(mpe))),a9=(e9(),R(ype)),Dpe=(n9(),R(Spe));l3e=exports.Lexer=function(){function e(t,r,n){if(Fpe(this,e),this.cssWideKeywords=_pe.cssWideKeywords,this.syntax=r,this.generic=!1,this.units=yb({},i9),this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||(0,Dpe.getStructureFromConfig)(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(var i=0,o=Object.keys(i9);i<o.length;i++){var a=o[i];Array.isArray(t.units[a])&&(this.units[a]=t.units[a])}if(t.types)for(var s=0,u=Object.entries(t.types);s<u.length;s++){var l=_h(u[s],2),f=l[0],p=l[1];this.addType_(f,p)}if(t.generic){this.generic=!0;for(var m=0,b=Object.entries((0,Cpe.createGenericTypes)(this.units));m<b.length;m++){var v=_h(b[m],2),w=v[0],C=v[1];this.addType_(w,C)}}if(t.atrules)for(var P=0,A=Object.entries(t.atrules);P<A.length;P++){var E=_h(A[P],2),y=E[0],L=E[1];this.addAtrule_(y,L)}if(t.properties)for(var I=0,T=Object.entries(t.properties);I<T.length;I++){var N=_h(T[I],2),X=N[0],se=N[1];this.addProperty_(X,se)}}this.cssWideKeywordsSyntax=(0,bb.buildMatchGraph)(this.cssWideKeywords.join(" | "))}return Ipe(e,[{key:"checkStructure",value:function(r){function n(a,s){o.push({node:a,message:s})}var i=this.structure,o=[];return this.syntax.walk(r,function(a){i.hasOwnProperty(a.type)?i[a.type].check(a,n):n(a,"Unknown node type `"+a.type+"`")}),o.length?o:!1}},{key:"createDescriptor",value:function(r,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,a={type:n,name:i},s={type:n,name:i,parent:o,serializable:typeof r=="string"||r&&typeof r.type=="string",syntax:null,match:null,matchRef:null};return typeof r=="function"?s.match=(0,bb.buildMatchGraph)(r,a):(typeof r=="string"?Object.defineProperty(s,"syntax",{get:function(){return Object.defineProperty(s,"syntax",{value:(0,vb.parse)(r)}),s.syntax}}):s.syntax=r,Object.defineProperty(s,"match",{get:function(){return Object.defineProperty(s,"match",{value:(0,bb.buildMatchGraph)(s.syntax,a)}),s.match}}),n==="Property"&&Object.defineProperty(s,"matchRef",{get:function(){var l=s.syntax,f=Vpe(l)?(0,bb.buildMatchGraph)(yb(yb({},l),{},{terms:[l.terms[0].term]}),a):null;return Object.defineProperty(s,"matchRef",{value:f}),f}})),s}},{key:"addAtrule_",value:function(r,n){var i=this;n&&(this.atrules[r]={type:"Atrule",name:r,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",r):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce(function(o,a){return o[a]=i.createDescriptor(n.descriptors[a],"AtruleDescriptor",a,r),o},Object.create(null)):null})}},{key:"addProperty_",value:function(r,n){n&&(this.properties[r]=this.createDescriptor(n,"Property",r))}},{key:"addType_",value:function(r,n){n&&(this.types[r]=this.createDescriptor(n,"Type",r))}},{key:"checkAtruleName",value:function(r){if(!this.getAtrule(r))return new lc.SyntaxReferenceError("Unknown at-rule","@"+r)}},{key:"checkAtrulePrelude",value:function(r,n){var i=this.checkAtruleName(r);if(i)return i;var o=this.getAtrule(r);if(!o.prelude&&n)return new SyntaxError("At-rule `@"+r+"` should not contain a prelude");if(o.prelude&&!n&&!uc(this,o.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+r+"` should contain a prelude")}},{key:"checkAtruleDescriptorName",value:function(r,n){var i=this.checkAtruleName(r);if(i)return i;var o=this.getAtrule(r),a=Sh.keyword(n);if(!o.descriptors)return new SyntaxError("At-rule `@"+r+"` has no known descriptors");if(!o.descriptors[a.name]&&!o.descriptors[a.basename])return new lc.SyntaxReferenceError("Unknown at-rule descriptor",n)}},{key:"checkPropertyName",value:function(r){if(!this.getProperty(r))return new lc.SyntaxReferenceError("Unknown property",r)}},{key:"matchAtrulePrelude",value:function(r,n){var i=this.checkAtrulePrelude(r,n);if(i)return Ii(null,i);var o=this.getAtrule(r);return o.prelude?uc(this,o.prelude,n||"",!1):Ii(null,null)}},{key:"matchAtruleDescriptor",value:function(r,n,i){var o=this.checkAtruleDescriptorName(r,n);if(o)return Ii(null,o);var a=this.getAtrule(r),s=Sh.keyword(n);return uc(this,a.descriptors[s.name]||a.descriptors[s.basename],i,!1)}},{key:"matchDeclaration",value:function(r){return r.type!=="Declaration"?Ii(null,new Error("Not a Declaration node")):this.matchProperty(r.property,r.value)}},{key:"matchProperty",value:function(r,n){if(Sh.property(r).custom)return Ii(null,new Error("Lexer matching doesn't applicable for custom properties"));var i=this.checkPropertyName(r);return i?Ii(null,i):uc(this,this.getProperty(r),n,!0)}},{key:"matchType",value:function(r,n){var i=this.getType(r);return i?uc(this,i,n,!1):Ii(null,new lc.SyntaxReferenceError("Unknown type",r))}},{key:"match",value:function(r,n){return typeof r!="string"&&(!r||!r.type)?Ii(null,new lc.SyntaxReferenceError("Bad syntax")):((typeof r=="string"||!r.match)&&(r=this.createDescriptor(r,"Type","anonymous")),uc(this,r,n,!1))}},{key:"findValueFragments",value:function(r,n,i,o){return(0,a9.matchFragments)(this,n,this.matchProperty(r,n),i,o)}},{key:"findDeclarationValueFragments",value:function(r,n,i){return(0,a9.matchFragments)(this,r.value,this.matchDeclaration(r),n,i)}},{key:"findAllFragments",value:function(r,n,i){var o=this,a=[];return this.syntax.walk(r,{visit:"Declaration",enter:function(u){a.push.apply(a,o.findDeclarationValueFragments(u,n,i))}}),a}},{key:"getAtrule",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=Sh.keyword(r),o=i.vendor&&n?this.atrules[i.name]||this.atrules[i.basename]:this.atrules[i.name];return o||null}},{key:"getAtrulePrelude",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=this.getAtrule(r,n);return i&&i.prelude||null}},{key:"getAtruleDescriptor",value:function(r,n){return this.atrules.hasOwnProperty(r)&&this.atrules.declarators&&this.atrules[r].declarators[n]||null}},{key:"getProperty",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=Sh.property(r),o=i.vendor&&n?this.properties[i.name]||this.properties[i.basename]:this.properties[i.name];return o||null}},{key:"getType",value:function(r){return hasOwnProperty.call(this.types,r)?this.types[r]:null}},{key:"validate",value:function(){function r(p,m){return m?"<".concat(p,">"):"<'".concat(p,"'>")}function n(p,m,b,v){if(b.has(m))return b.get(m);b.set(m,!1),v.syntax!==null&&(0,vb.walk)(v.syntax,function(w){if(!(w.type!=="Type"&&w.type!=="Property")){var C=w.type==="Type"?p.types:p.properties,P=w.type==="Type"?o:a;hasOwnProperty.call(C,w.name)?n(p,w.name,P,C[w.name])&&(i.push("".concat(r(m,b===o)," used broken syntax definition ").concat(r(w.name,w.type==="Type"))),b.set(m,!0)):(i.push("".concat(r(m,b===o)," used missed syntax definition ").concat(r(w.name,w.type==="Type"))),b.set(m,!0))}},this)}var i=[],o=new Map,a=new Map;for(var s in this.types)n(this,s,o,this.types[s]);for(var u in this.properties)n(this,u,a,this.properties[u]);var l=s9(o.keys()).filter(function(p){return o.get(p)}),f=s9(a.keys()).filter(function(p){return a.get(p)});return l.length||f.length?{errors:i,types:l,properties:f}:null}},{key:"dump",value:function(r,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:_2(this.types,!n,r),properties:_2(this.properties,!n,r),atrules:Mpe(this.atrules,!n,r)}}},{key:"toString",value:function(){return JSON.stringify(this.dump())}}])}()});var Zpe={};function Ch(e){"@babel/helpers - typeof";return Ch=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ch(e)}function h9(e){return Wpe(e)||zpe(e)||g9(e)||Upe()}function Upe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
553
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zpe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Wpe(e){if(Array.isArray(e))return A2(e)}function d9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function gn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?d9(Object(r),!0).forEach(function(n){Hpe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d9(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Hpe(e,t,r){return(t=Gpe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gpe(e){var t=Kpe(e,"string");return Ch(t)=="symbol"?t:t+""}function Kpe(e,t){if(Ch(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ch(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wu(e,t){return Xpe(e)||Qpe(e,t)||g9(e,t)||Ype()}function Ype(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
554
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g9(e,t){if(e){if(typeof e=="string")return A2(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A2(e,t):void 0}}function A2(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Qpe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function Xpe(e){if(Array.isArray(e))return e}function E2(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function m9(e,t){for(var r=Object.create(null),n=0,i=Object.entries(e);n<i.length;n++){var o=wu(i[n],2),a=o[0],s=o[1];if(s){r[a]={};for(var u=0,l=Object.keys(s);u<l.length;u++){var f=l[u];t.includes(f)&&(r[a][f]=s[f])}}}return r}function Jpe(e,t){for(var r=gn({},e),n=0,i=Object.entries(t);n<i.length;n++){var o=wu(i[n],2),a=o[0],s=o[1];switch(a){case"generic":r[a]=!!s;break;case"cssWideKeywords":r[a]=e[a]?[].concat(h9(e[a]),h9(s)):s||[];break;case"units":r[a]=gn({},e[a]);for(var u=0,l=Object.entries(s);u<l.length;u++){var f=wu(l[u],2),p=f[0],m=f[1];r[a][p]=Array.isArray(m)?m:[]}break;case"atrules":r[a]=gn({},e[a]);for(var b=0,v=Object.entries(s);b<v.length;b++){var w=wu(v[b],2),C=w[0],P=w[1],A=r[a][C]||{},E=r[a][C]={prelude:A.prelude||null,descriptors:gn({},A.descriptors)};if(P){E.prelude=P.prelude?E2(E.prelude,P.prelude):E.prelude||null;for(var y=0,L=Object.entries(P.descriptors||{});y<L.length;y++){var I=wu(L[y],2),T=I[0],N=I[1];E.descriptors[T]=N?E2(E.descriptors[T],N):null}Object.keys(E.descriptors).length||(E.descriptors=null)}}break;case"types":case"properties":r[a]=gn({},e[a]);for(var X=0,se=Object.entries(s);X<se.length;X++){var ie=wu(se[X],2),te=ie[0],Ee=ie[1];r[a][te]=E2(r[a][te],Ee)}break;case"scope":case"features":r[a]=gn({},e[a]);for(var W=0,G=Object.entries(s);W<G.length;W++){var Z=wu(G[W],2),Q=Z[0],pe=Z[1];r[a][Q]=gn(gn({},r[a][Q]),pe)}break;case"parseContext":r[a]=gn(gn({},e[a]),s);break;case"atrule":case"pseudo":r[a]=gn(gn({},e[a]),m9(s,["parse"]));break;case"node":r[a]=gn(gn({},e[a]),m9(s,["name","structure","parse","generate","walkContext"]));break}}return r}var b9=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=Jpe});var x9={};function ohe(e){return e&&e.__esModule?e:{default:e}}function v9(e){var t=(0,the.createParser)(e),r=(0,ihe.createWalker)(e),n=(0,rhe.createGenerator)(e),i=(0,nhe.createConvertor)(r),o=i.fromPlainObject,a=i.toPlainObject,s={lexer:null,createLexer:function(l){return new y9.Lexer(l,s,s.lexer.structure)},tokenize:ehe.tokenize,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:o,toPlainObject:a,fork:function(l){var f=(0,D2.default)({},e);return v9(typeof l=="function"?l(f):(0,D2.default)(f,l))}};return s.lexer=new y9.Lexer({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},s),s}var ehe,the,rhe,nhe,ihe,y9,D2,c3e,P2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;ehe=(de(),R(me)),the=(dL(),R(Dle)),rhe=(VL(),R(mce)),nhe=(UL(),R(bce)),ihe=(QL(),R(kce)),y9=(C2(),R(p9)),D2=ohe((b9(),R(Zpe)));c3e=exports.default=function(t){return v9((0,D2.default)({},t))}});var lhe={};var che,ahe,she,uhe,f3e,w9=$(()=>{"use strict";che={};Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;ahe=require("module"),she=(0,ahe.createRequire)(che.url),uhe=she("../data/patch.json"),f3e=exports.default=uhe});var khe={};function phe(e){return e&&e.__esModule?e:{default:e}}function Eh(e,t){return ghe(e)||mhe(e,t)||dhe(e,t)||hhe()}function hhe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
555
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dhe(e,t){if(e){if(typeof e=="string")return k9(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k9(e,t):void 0}}function k9(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function mhe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function ghe(e){if(Array.isArray(e))return e}function xhe(e){for(var t=Object.create(null),r=0,n=Object.entries(e);r<n.length;r++){var i=Eh(n[r],2),o=i[0],a=i[1],s=null;if(a.descriptors){s=Object.create(null);for(var u=0,l=Object.entries(a.descriptors);u<l.length;u++){var f=Eh(l[u],2),p=f[0],m=f[1];s[p]=m.syntax}}t[o.substr(1)]={prelude:a.syntax.trim().replace(/\{(.|\s)+\}/,"").match(/^@\S+\s+([^;\{]*)/)[1].trim()||null,descriptors:s}}return t}function wb(e,t){for(var r=Object.create(null),n=0,i=Object.entries(e);n<i.length;n++){var o=Eh(i[n],2),a=o[0],s=o[1];s&&(r[a]=s.syntax||s)}for(var u=0,l=Object.keys(t);u<l.length;u++){var f=l[u];C9(e,f)?t[f].syntax?r[f]=S9.test(t[f].syntax)?r[f]+" "+t[f].syntax.trim():t[f].syntax:delete r[f]:t[f].syntax&&(r[f]=t[f].syntax.replace(S9,""))}return r}function _9(e){for(var t={},r=0,n=Object.entries(e||{});r<n.length;r++){var i=Eh(n[r],2),o=i[0],a=i[1];t[o]=typeof a=="string"?{syntax:a}:a}return t}function whe(e,t){var r={};for(var n in e)if(t[n]!==null){var i=t[n]||{};r[n]={prelude:n in t&&"prelude"in i?i.prelude:e[n].prelude||null,descriptors:wb(e[n].descriptors||{},_9(i.descriptors))}}for(var o=0,a=Object.entries(t);o<a.length;o++){var s=Eh(a[o],2),u=s[0],l=s[1];l&&!C9(e,u)&&(r[u]={prelude:l.prelude||null,descriptors:l.descriptors?wb({},_9(l.descriptors)):null})}return r}var She,fhe,O2,T2,bhe,yhe,vhe,C9,S9,p3e,E9=$(()=>{"use strict";She={};Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;fhe=require("module"),O2=phe((w9(),R(lhe)));T2=(0,fhe.createRequire)(She.url),bhe=T2("mdn-data/css/at-rules.json"),yhe=T2("mdn-data/css/properties.json"),vhe=T2("mdn-data/css/syntaxes.json"),C9=Object.hasOwn||function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},S9=/^\s*\|\s*/;p3e=exports.default={types:wb(vhe,O2.default.types),atrules:whe(xhe(bhe),O2.default.atrules),properties:wb(yhe,O2.default.properties)}});var A9={};function Sb(e,t){var r=this.tokenStart+e,n=this.charCodeAt(r);for((n===so||n===Tn)&&(t&&this.error("Number sign is not allowed"),r++);r<this.tokenEnd;r++)(0,Jt.isDigit)(this.charCodeAt(r))||this.error("Integer is expected",r)}function fc(e){return Sb.call(this,0,e)}function is(e,t){if(!this.cmpChar(this.tokenStart+e,t)){var r="";switch(t){case kb:r="N is expected";break;case Tn:r="HyphenMinus is expected";break}this.error(r,this.tokenStart+e)}}function R2(){for(var e=0,t=0,r=this.tokenType;r===Jt.WhiteSpace||r===Jt.Comment;)r=this.lookupType(++e);if(r!==Jt.Number)if(this.isDelim(so,e)||this.isDelim(Tn,e)){t=this.isDelim(so,e)?so:Tn;do r=this.lookupType(++e);while(r===Jt.WhiteSpace||r===Jt.Comment);r!==Jt.Number&&(this.skip(e),fc.call(this,ku))}else return null;return e>0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==so&&r!==Tn&&this.error("Number sign is expected")),fc.call(this,t!==0),t===Tn?"-"+this.consume(Jt.Number):this.consume(Jt.Number)}function Che(){var e=this.tokenStart,t=null,r=null;if(this.tokenType===Jt.Number)fc.call(this,_he),r=this.consume(Jt.Number);else if(this.tokenType===Jt.Ident&&this.cmpChar(this.tokenStart,Tn))switch(t="-1",is.call(this,1,kb),this.tokenEnd-this.tokenStart){case 2:this.next(),r=R2.call(this);break;case 3:is.call(this,2,Tn),this.next(),this.skipSC(),fc.call(this,ku),r="-"+this.consume(Jt.Number);break;default:is.call(this,2,Tn),Sb.call(this,3,ku),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===Jt.Ident||this.isDelim(so)&&this.lookupType(1)===Jt.Ident){var n=0;switch(t="1",this.isDelim(so)&&(n=1,this.next()),is.call(this,0,kb),this.tokenEnd-this.tokenStart){case 1:this.next(),r=R2.call(this);break;case 2:is.call(this,1,Tn),this.next(),this.skipSC(),fc.call(this,ku),r="-"+this.consume(Jt.Number);break;default:is.call(this,1,Tn),Sb.call(this,2,ku),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===Jt.Dimension){for(var i=this.charCodeAt(this.tokenStart),o=i===so||i===Tn,a=this.tokenStart+o;a<this.tokenEnd&&(0,Jt.isDigit)(this.charCodeAt(a));a++);a===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),is.call(this,a-this.tokenStart,kb),t=this.substring(e,a),a+1===this.tokenEnd?(this.next(),r=R2.call(this)):(is.call(this,a-this.tokenStart+1,Tn),a+2===this.tokenEnd?(this.next(),this.skipSC(),fc.call(this,ku),r="-"+this.consume(Jt.Number)):(Sb.call(this,a-this.tokenStart+2,ku),this.next(),r=this.substrToCursor(a+1)))}else this.error();return t!==null&&t.charCodeAt(0)===so&&(t=t.substr(1)),r!==null&&r.charCodeAt(0)===so&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:r}}function Ehe(e){if(e.a){var t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){var r=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+r)}else this.tokenize(t)}else this.tokenize(e.b)}var Jt,so,Tn,kb,ku,_he,h3e,d3e,F2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Ehe;exports.name=void 0;exports.parse=Che;exports.structure=void 0;Jt=(de(),R(me)),so=43,Tn=45,kb=110,ku=!0,_he=!1;h3e=exports.name="AnPlusB",d3e=exports.structure={a:[String,null],b:[String,null]}});var P9={};function D9(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function Ahe(){for(var e=1,t;t=this.lookupType(e);e++){if(t===uo.RightCurlyBracket)return!0;if(t===uo.LeftCurlyBracket||t===uo.AtKeyword)return!1}return!1}function Dhe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.tokenStart,r,n,i=null,o=null;switch(this.eat(uo.AtKeyword),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==uo.LeftCurlyBracket&&this.tokenType!==uo.Semicolon&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),D9):i=D9.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case uo.Semicolon:this.next();break;case uo.LeftCurlyBracket:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?o=this.atrule[n].block.call(this,e):o=this.Block(Ahe.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:o}}function Phe(e){this.token(uo.AtKeyword,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(uo.Semicolon,";")}var uo,m3e,g3e,b3e,I2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Phe;exports.name=void 0;exports.parse=Dhe;exports.walkContext=exports.structure=void 0;uo=(de(),R(me));m3e=exports.name="Atrule",g3e=exports.walkContext="atrule",b3e=exports.structure={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}});var T9={};function Ohe(e){var t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==O9.LeftCurlyBracket&&this.tokenType!==O9.Semicolon&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function The(e){this.children(e)}var O9,y3e,v3e,x3e,L2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=The;exports.name=void 0;exports.parse=Ohe;exports.walkContext=exports.structure=void 0;O9=(de(),R(me)),y3e=exports.name="AtrulePrelude",v3e=exports.walkContext="atrulePrelude",x3e=exports.structure={children:[[]]}});var F9={};function Lhe(){this.eof&&this.error("Unexpected end of input");var e=this.tokenStart,t=!1;return this.isDelim(R9)?(t=!0,this.next()):this.isDelim($2)||this.eat(oi.Ident),this.isDelim($2)?this.charCodeAt(this.tokenStart+1)!==_b?(this.next(),this.eat(oi.Ident)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function $he(){var e=this.tokenStart,t=this.charCodeAt(e);return t!==_b&&t!==Ihe&&t!==Fhe&&t!==Rhe&&t!==R9&&t!==$2&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==_b&&(this.isDelim(_b)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function Nhe(){var e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(oi.LeftSquareBracket),this.skipSC(),t=Lhe.call(this),this.skipSC(),this.tokenType!==oi.RightSquareBracket&&(this.tokenType!==oi.Ident&&(r=$he.call(this),this.skipSC(),n=this.tokenType===oi.String?this.String():this.Identifier(),this.skipSC()),this.tokenType===oi.Ident&&(i=this.consume(oi.Ident),this.skipSC())),this.eat(oi.RightSquareBracket),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function Bhe(e){this.token(oi.Delim,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(oi.Ident,e.flags),this.token(oi.Delim,"]")}var oi,Rhe,R9,_b,Fhe,$2,Ihe,w3e,k3e,N2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Bhe;exports.name=void 0;exports.parse=Nhe;exports.structure=void 0;oi=(de(),R(me)),Rhe=36,R9=42,_b=61,Fhe=94,$2=124,Ihe=126;w3e=exports.name="AttributeSelector",k3e=exports.structure={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}});var N9={};function $9(){return this.Raw(null,!0)}function I9(){return this.parseWithFallback(this.Rule,$9)}function L9(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Mhe(){if(this.tokenType===Li.Semicolon)return L9.call(this,this.tokenIndex);var e=this.parseWithFallback(this.Declaration,L9);return this.tokenType===Li.Semicolon&&this.next(),e}function qhe(e){var t=e?Mhe:I9,r=this.tokenStart,n=this.createList();this.eat(Li.LeftCurlyBracket);e:for(;!this.eof;)switch(this.tokenType){case Li.RightCurlyBracket:break e;case Li.WhiteSpace:case Li.Comment:this.next();break;case Li.AtKeyword:n.push(this.parseWithFallback(this.Atrule.bind(this,e),$9));break;default:e&&this.isDelim(jhe)?n.push(I9.call(this)):n.push(t.call(this))}return this.eof||this.eat(Li.RightCurlyBracket),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function Vhe(e){var t=this;this.token(Li.LeftCurlyBracket,"{"),this.children(e,function(r){r.type==="Declaration"&&t.token(Li.Semicolon,";")}),this.token(Li.RightCurlyBracket,"}")}var Li,jhe,S3e,_3e,C3e,B2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Vhe;exports.name=void 0;exports.parse=qhe;exports.walkContext=exports.structure=void 0;Li=(de(),R(me)),jhe=38;S3e=exports.name="Block",_3e=exports.walkContext="block",C3e=exports.structure={children:[["Atrule","Rule","Declaration"]]}});var B9={};function Uhe(e,t){var r=this.tokenStart,n=null;return this.eat(Cb.LeftSquareBracket),n=e.call(this,t),this.eof||this.eat(Cb.RightSquareBracket),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function zhe(e){this.token(Cb.Delim,"["),this.children(e),this.token(Cb.Delim,"]")}var Cb,E3e,A3e,j2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=zhe;exports.name=void 0;exports.parse=Uhe;exports.structure=void 0;Cb=(de(),R(me)),E3e=exports.name="Brackets",A3e=exports.structure={children:[[]]}});var M9={};function Whe(){var e=this.tokenStart;return this.eat(j9.CDC),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function Hhe(){this.token(j9.CDC,"-->")}var j9,D3e,P3e,M2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Hhe;exports.name=void 0;exports.parse=Whe;exports.structure=void 0;j9=(de(),R(me)),D3e=exports.name="CDC",P3e=exports.structure=[]});var V9={};function Ghe(){var e=this.tokenStart;return this.eat(q9.CDO),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function Khe(){this.token(q9.CDO,"<!--")}var q9,O3e,T3e,q2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Khe;exports.name=void 0;exports.parse=Ghe;exports.structure=void 0;q9=(de(),R(me)),O3e=exports.name="CDO",T3e=exports.structure=[]});var U9={};function Qhe(){return this.eatDelim(Yhe),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(V2.Ident)}}function Xhe(e){this.token(V2.Delim,"."),this.token(V2.Ident,e.name)}var V2,Yhe,R3e,F3e,U2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Xhe;exports.name=void 0;exports.parse=Qhe;exports.structure=void 0;V2=(de(),R(me)),Yhe=46,R3e=exports.name="ClassSelector",F3e=exports.structure={name:String}});var H9={};function tde(){var e=this.tokenStart,t;switch(this.tokenType){case z9.WhiteSpace:t=" ";break;case z9.Delim:switch(this.charCodeAt(this.tokenStart)){case Zhe:case Jhe:case ede:this.next();break;case W9:this.next(),this.eatIdent("deep"),this.eatDelim(W9);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function rde(e){this.tokenize(e.name)}var z9,Jhe,W9,Zhe,ede,I3e,L3e,z2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=rde;exports.name=void 0;exports.parse=tde;exports.structure=void 0;z9=(de(),R(me)),Jhe=43,W9=47,Zhe=62,ede=126,I3e=exports.name="Combinator",L3e=exports.structure={name:String}});var K9={};function ode(){var e=this.tokenStart,t=this.tokenEnd;return this.eat(G9.Comment),t-e+2>=2&&this.charCodeAt(t-2)===nde&&this.charCodeAt(t-1)===ide&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function ade(e){this.token(G9.Comment,"/*"+e.value+"*/")}var G9,nde,ide,$3e,N3e,W2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=ade;exports.name=void 0;exports.parse=ode;exports.structure=void 0;G9=(de(),R(me)),nde=42,ide=47,$3e=exports.name="Comment",N3e=exports.structure={value:String}});var Q9={};function Y9(e){return this.lookupTypeNonSC(1)===Rn.Ident&&sde.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}function lde(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"media",r=this.createList();e:for(;!this.eof;)switch(this.tokenType){case Rn.Comment:case Rn.WhiteSpace:this.next();continue;case Rn.Ident:r.push(this.Identifier());break;case Rn.LeftParenthesis:{var n=this.parseWithFallback(function(){return ude[t].call(e,t)},function(){return null});n||(n=this.parseWithFallback(function(){e.eat(Rn.LeftParenthesis);var o=e.Condition(t);return e.eat(Rn.RightParenthesis),o},function(){return e.GeneralEnclosed(t)})),r.push(n);break}case Rn.Function:{var i=this.parseWithFallback(function(){return e.FeatureFunction(t)},function(){return null});i||(i=this.GeneralEnclosed(t)),r.push(i);break}default:break e}return r.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(r),kind:t,children:r}}function cde(e){var t=this;e.children.forEach(function(r){r.type==="Condition"?(t.token(Rn.LeftParenthesis,"("),t.node(r),t.token(Rn.RightParenthesis,")")):t.node(r)})}var Rn,sde,B3e,j3e,ude,H2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=cde;exports.name=void 0;exports.parse=lde;exports.structure=void 0;Rn=(de(),R(me)),sde=new Set([Rn.Colon,Rn.RightParenthesis,Rn.EOF]),B3e=exports.name="Condition",j3e=exports.structure={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};ude={media:Y9,container:Y9,supports:function(){return this.SupportsDeclaration()}}});var Z9={};function bde(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function yde(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function vde(){var e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==bn.Semicolon&&this.isDelim(J9)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}function xde(){var e=this.tokenStart,t=this.tokenIndex,r=kde.call(this),n=(0,fde.isCustomProperty)(r),i=n?this.parseCustomProperty:this.parseValue,o=n?yde:bde,a=!1,s;this.skipSC(),this.eat(bn.Colon);var u=this.tokenIndex;if(n||this.skipSC(),i?s=this.parseWithFallback(vde,o):s=o.call(this,this.tokenIndex),n&&s.type==="Value"&&s.children.isEmpty){for(var l=u-this.tokenIndex;l<=0;l++)if(this.lookupType(l)===bn.WhiteSpace){s.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(J9)&&(a=Sde.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==bn.Semicolon&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:r,value:s}}function wde(e){this.token(bn.Ident,e.property),this.token(bn.Colon,":"),this.node(e.value),e.important&&(this.token(bn.Delim,"!"),this.token(bn.Ident,e.important===!0?"important":e.important))}function kde(){var e=this.tokenStart;if(this.tokenType===bn.Delim)switch(this.charCodeAt(this.tokenStart)){case mde:case hde:case gde:case pde:case dde:this.next();break;case X9:this.next(),this.isDelim(X9)&&this.next();break}return this.tokenType===bn.Hash?this.eat(bn.Hash):this.eat(bn.Ident),this.substrToCursor(e)}function Sde(){this.eat(bn.Delim),this.skipSC();var e=this.consume(bn.Ident);return e==="important"?!0:e}var fde,bn,J9,pde,hde,dde,mde,gde,X9,M3e,q3e,V3e,G2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=wde;exports.name=void 0;exports.parse=xde;exports.walkContext=exports.structure=void 0;fde=(cb(),R(XS)),bn=(de(),R(me)),J9=33,pde=35,hde=36,dde=38,mde=42,gde=43,X9=47;M3e=exports.name="Declaration",q3e=exports.walkContext="declaration",V3e=exports.structure={important:[Boolean,String],property:String,value:["Value","Raw"]}});var e7={};function K2(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Cde(){for(var e=this.createList();!this.eof;)switch(this.tokenType){case Ah.WhiteSpace:case Ah.Comment:case Ah.Semicolon:this.next();break;case Ah.AtKeyword:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),K2));break;default:this.isDelim(_de)?e.push(this.parseWithFallback(this.Rule,K2)):e.push(this.parseWithFallback(this.Declaration,K2))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Ede(e){var t=this;this.children(e,function(r){r.type==="Declaration"&&t.token(Ah.Semicolon,";")})}var Ah,_de,U3e,z3e,Y2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Ede;exports.name=void 0;exports.parse=Cde;exports.structure=void 0;Ah=(de(),R(me)),_de=38;U3e=exports.name="DeclarationList",z3e=exports.structure={children:[["Declaration","Atrule","Rule"]]}});var r7={};function Ade(){var e=this.tokenStart,t=this.consumeNumber(t7.Dimension);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function Dde(e){this.token(t7.Dimension,e.value+e.unit)}var t7,W3e,H3e,Q2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Dde;exports.name=void 0;exports.parse=Ade;exports.structure=void 0;t7=(de(),R(me)),W3e=exports.name="Dimension",H3e=exports.structure={value:String,unit:String}});var n7={};function Ode(e){var t=this,r=this.tokenStart,n,i=null;if(this.eat(yn.LeftParenthesis),this.skipSC(),n=this.consume(yn.Ident),this.skipSC(),this.tokenType!==yn.RightParenthesis){switch(this.eat(yn.Colon),this.skipSC(),this.tokenType){case yn.Number:this.lookupNonWSType(1)===yn.Delim?i=this.Ratio():i=this.Number();break;case yn.Dimension:i=this.Dimension();break;case yn.Ident:i=this.Identifier();break;case yn.Function:i=this.parseWithFallback(function(){var o=t.Function(t.readSequence,t.scope.Value);return t.skipSC(),t.isDelim(Pde)&&t.error(),o},function(){return t.Ratio()});break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(yn.RightParenthesis),{type:"Feature",loc:this.getLocation(r,this.tokenStart),kind:e,name:n,value:i}}function Tde(e){this.token(yn.LeftParenthesis,"("),this.token(yn.Ident,e.name),e.value!==null&&(this.token(yn.Colon,":"),this.node(e.value)),this.token(yn.RightParenthesis,")")}var yn,Pde,G3e,K3e,X2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Tde;exports.name=void 0;exports.parse=Ode;exports.structure=void 0;yn=(de(),R(me)),Pde=47,G3e=exports.name="Feature",K3e=exports.structure={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]}});var i7={};function Rde(e,t){var r=this.features[e]||{},n=r[t];return typeof n!="function"&&this.error("Unknown feature ".concat(t,"()")),n}function Fde(){var e=this,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"unknown",r=this.tokenStart,n=this.consumeFunctionName(),i=Rde.call(this,t,n.toLowerCase());this.skipSC();var o=this.parseWithFallback(function(){var a=e.tokenIndex,s=i.call(e);return e.eof===!1&&e.isBalanceEdge(a)===!1&&e.error(),s},function(){return e.Raw(null,!1)});return this.eof||this.eat(J2.RightParenthesis),{type:"FeatureFunction",loc:this.getLocation(r,this.tokenStart),kind:t,feature:n,value:o}}function Ide(e){this.token(J2.Function,e.feature+"("),this.node(e.value),this.token(J2.RightParenthesis,")")}var J2,Y3e,Q3e,Z2=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Ide;exports.name=void 0;exports.parse=Fde;exports.structure=void 0;J2=(de(),R(me)),Y3e=exports.name="FeatureFunction",Q3e=exports.structure={kind:String,feature:String,value:["Declaration","Selector"]}});var u7={};function e_(){var e=this;switch(this.skipSC(),this.tokenType){case oa.Number:return this.isDelim(o7,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case oa.Dimension:return this.Dimension();case oa.Ident:return this.Identifier();case oa.Function:return this.parseWithFallback(function(){var t=e.Function(e.readSequence,e.scope.Value);return e.skipSC(),e.isDelim(o7)&&e.error(),t},function(){return e.Ratio()});default:this.error("Number, dimension, ratio or identifier is expected")}}function s7(e){if(this.skipSC(),this.isDelim(Lde)||this.isDelim($de)){var t=this.source[this.tokenStart];return this.next(),this.isDelim(a7)?(this.next(),t+"="):t}if(this.isDelim(a7))return"=";this.error("Expected ".concat(e?'":", ':"",'"<", ">", "=" or ")"'))}function Nde(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"unknown",t=this.tokenStart;this.skipSC(),this.eat(oa.LeftParenthesis);var r=e_.call(this),n=s7.call(this,r.type==="Identifier"),i=e_.call(this),o=null,a=null;return this.lookupNonWSType(0)!==oa.RightParenthesis&&(o=s7.call(this),a=e_.call(this)),this.skipSC(),this.eat(oa.RightParenthesis),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:r,leftComparison:n,middle:i,rightComparison:o,right:a}}function Bde(e){this.token(oa.LeftParenthesis,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(oa.RightParenthesis,")")}var oa,o7,Lde,a7,$de,X3e,J3e,t_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Bde;exports.name=void 0;exports.parse=Nde;exports.structure=void 0;oa=(de(),R(me)),o7=47,Lde=60,a7=61,$de=62,X3e=exports.name="FeatureRange",J3e=exports.structure={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]}});var l7={};function jde(e,t){var r=this.tokenStart,n=this.consumeFunctionName(),i=n.toLowerCase(),o;return o=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.eof||this.eat(r_.RightParenthesis),{type:"Function",loc:this.getLocation(r,this.tokenStart),name:n,children:o}}function Mde(e){this.token(r_.Function,e.name+"("),this.children(e),this.token(r_.RightParenthesis,")")}var r_,Z3e,eDe,tDe,n_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Mde;exports.name=void 0;exports.parse=jde;exports.walkContext=exports.structure=void 0;r_=(de(),R(me)),Z3e=exports.name="Function",eDe=exports.walkContext="function",tDe=exports.structure={name:String,children:[[]]}});var c7={};function qde(e){var t=this,r=this.tokenStart,n=null;this.tokenType===pc.Function?n=this.consumeFunctionName():this.eat(pc.LeftParenthesis);var i=this.parseWithFallback(function(){var o=t.tokenIndex,a=t.readSequence(t.scope.Value);return t.eof===!1&&t.isBalanceEdge(o)===!1&&t.error(),a},function(){return t.createSingleNodeList(t.Raw(null,!1))});return this.eof||this.eat(pc.RightParenthesis),{type:"GeneralEnclosed",loc:this.getLocation(r,this.tokenStart),kind:e,function:n,children:i}}function Vde(e){e.function?this.token(pc.Function,e.function+"("):this.token(pc.LeftParenthesis,"("),this.children(e),this.token(pc.RightParenthesis,")")}var pc,rDe,nDe,i_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Vde;exports.name=void 0;exports.parse=qde;exports.structure=void 0;pc=(de(),R(me)),rDe=exports.name="GeneralEnclosed",nDe=exports.structure={kind:String,function:[String,null],children:[[]]}});var p7={};function Ude(){var e=this.tokenStart;return this.eat(f7.Hash),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function zde(e){this.token(f7.Hash,"#"+e.value)}var f7,iDe,oDe,aDe,o_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=zde;exports.name=void 0;exports.parse=Ude;exports.xxx=exports.structure=void 0;f7=(de(),R(me)),iDe=exports.xxx="XXX",oDe=exports.name="Hash",aDe=exports.structure={value:String}});var d7={};function Wde(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(h7.Ident)}}function Hde(e){this.token(h7.Ident,e.name)}var h7,sDe,uDe,a_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Hde;exports.name=void 0;exports.parse=Wde;exports.structure=void 0;h7=(de(),R(me)),sDe=exports.name="Identifier",uDe=exports.structure={name:String}});var g7={};function Gde(){var e=this.tokenStart;return this.eat(m7.Hash),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function Kde(e){this.token(m7.Delim,"#"+e.name)}var m7,lDe,cDe,s_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Kde;exports.name=void 0;exports.parse=Gde;exports.structure=void 0;m7=(de(),R(me)),lDe=exports.name="IdSelector",cDe=exports.structure={name:String}});var b7={};function Qde(){for(var e=this.tokenStart,t=this.consume(u_.Ident);this.isDelim(Yde);)this.eat(u_.Delim),t+="."+this.consume(u_.Ident);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function Xde(e){this.tokenize(e.name)}var u_,Yde,fDe,pDe,l_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Xde;exports.name=void 0;exports.parse=Qde;exports.structure=void 0;u_=(de(),R(me)),Yde=46,fDe=exports.name="Layer",pDe=exports.structure={name:String}});var v7={};function Jde(){var e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===y7.Comma);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function Zde(e){var t=this;this.children(e,function(){return t.token(y7.Comma,",")})}var y7,hDe,dDe,c_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Zde;exports.name=void 0;exports.parse=Jde;exports.structure=void 0;y7=(de(),R(me)),hDe=exports.name="LayerList",dDe=exports.structure={children:[["Layer"]]}});var x7={};function eme(){var e=this.tokenStart,t=null,r=null,n=null;if(this.skipSC(),this.tokenType===ur.Ident&&this.lookupTypeNonSC(1)!==ur.LeftParenthesis){var i=this.consume(ur.Ident),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),t=o,r=this.consume(ur.Ident)):r=i,this.lookupTypeNonSC(0)){case ur.Ident:{this.skipSC(),this.eatIdent("and"),n=this.Condition("media");break}case ur.LeftCurlyBracket:case ur.Semicolon:case ur.Comma:case ur.EOF:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case ur.Ident:case ur.LeftParenthesis:case ur.Function:{n=this.Condition("media");break}case ur.LeftCurlyBracket:case ur.Semicolon:case ur.EOF:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:r,condition:n}}function tme(e){e.mediaType?(e.modifier&&this.token(ur.Ident,e.modifier),this.token(ur.Ident,e.mediaType),e.condition&&(this.token(ur.Ident,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}var ur,mDe,gDe,f_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=tme;exports.name=void 0;exports.parse=eme;exports.structure=void 0;ur=(de(),R(me)),mDe=exports.name="MediaQuery",gDe=exports.structure={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]}});var k7={};function rme(){var e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===w7.Comma);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function nme(e){var t=this;this.children(e,function(){return t.token(w7.Comma,",")})}var w7,bDe,yDe,p_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=nme;exports.name=void 0;exports.parse=rme;exports.structure=void 0;w7=(de(),R(me)),bDe=exports.name="MediaQueryList",yDe=exports.structure={children:[["MediaQuery"]]}});var S7={};function ame(){var e=this.tokenStart;return this.eatDelim(ome),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function sme(){this.token(ime.Delim,"&")}var ime,ome,vDe,xDe,h_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=sme;exports.name=void 0;exports.parse=ame;exports.structure=void 0;ime=(de(),R(me)),ome=38,vDe=exports.name="NestingSelector",xDe=exports.structure={}});var _7={};function lme(){this.skipSC();var e=this.tokenStart,t=e,r=null,n;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?n=this.Identifier():n=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),r=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:n,selector:r}}function cme(e){this.node(e.nth),e.selector!==null&&(this.token(ume.Ident,"of"),this.node(e.selector))}var ume,wDe,kDe,d_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=cme;exports.name=void 0;exports.parse=lme;exports.structure=void 0;ume=(de(),R(me)),wDe=exports.name="Nth",kDe=exports.structure={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]}});var E7={};function fme(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(C7.Number)}}function pme(e){this.token(C7.Number,e.value)}var C7,SDe,_De,m_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=pme;exports.name=void 0;exports.parse=fme;exports.structure=void 0;C7=(de(),R(me)),SDe=exports.name="Number",_De=exports.structure={value:String}});var A7={};function hme(){var e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function dme(e){this.tokenize(e.value)}var CDe,EDe,g_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=dme;exports.name=void 0;exports.parse=hme;exports.structure=void 0;CDe=exports.name="Operator",EDe=exports.structure={value:String}});var D7={};function mme(e,t){var r=this.tokenStart,n=null;return this.eat(Eb.LeftParenthesis),n=e.call(this,t),this.eof||this.eat(Eb.RightParenthesis),{type:"Parentheses",loc:this.getLocation(r,this.tokenStart),children:n}}function gme(e){this.token(Eb.LeftParenthesis,"("),this.children(e),this.token(Eb.RightParenthesis,")")}var Eb,ADe,DDe,b_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=gme;exports.name=void 0;exports.parse=mme;exports.structure=void 0;Eb=(de(),R(me)),ADe=exports.name="Parentheses",DDe=exports.structure={children:[[]]}});var O7={};function bme(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(P7.Percentage)}}function yme(e){this.token(P7.Percentage,e.value+"%")}var P7,PDe,ODe,y_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=yme;exports.name=void 0;exports.parse=bme;exports.structure=void 0;P7=(de(),R(me)),PDe=exports.name="Percentage",ODe=exports.structure={value:String}});var T7={};function vme(){var e=this.tokenStart,t=null,r,n;return this.eat(aa.Colon),this.tokenType===aa.Function?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==aa.RightParenthesis?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(aa.RightParenthesis)):r=this.consume(aa.Ident),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function xme(e){this.token(aa.Colon,":"),e.children===null?this.token(aa.Ident,e.name):(this.token(aa.Function,e.name+"("),this.children(e),this.token(aa.RightParenthesis,")"))}var aa,TDe,RDe,FDe,v_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=xme;exports.name=void 0;exports.parse=vme;exports.walkContext=exports.structure=void 0;aa=(de(),R(me)),TDe=exports.name="PseudoClassSelector",RDe=exports.walkContext="function",FDe=exports.structure={name:String,children:[["Raw"],null]}});var R7={};function wme(){var e=this.tokenStart,t=null,r,n;return this.eat($i.Colon),this.eat($i.Colon),this.tokenType===$i.Function?(r=this.consumeFunctionName(),n=r.toLowerCase(),this.lookupNonWSType(0)==$i.RightParenthesis?t=this.createList():hasOwnProperty.call(this.pseudo,n)?(this.skipSC(),t=this.pseudo[n].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat($i.RightParenthesis)):r=this.consume($i.Ident),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:r,children:t}}function kme(e){this.token($i.Colon,":"),this.token($i.Colon,":"),e.children===null?this.token($i.Ident,e.name):(this.token($i.Function,e.name+"("),this.children(e),this.token($i.RightParenthesis,")"))}var $i,IDe,LDe,$De,x_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=kme;exports.name=void 0;exports.parse=wme;exports.walkContext=exports.structure=void 0;$i=(de(),R(me)),IDe=exports.name="PseudoElementSelector",LDe=exports.walkContext="function",$De=exports.structure={name:String,children:[["Raw"],null]}});var L7={};function I7(){switch(this.skipSC(),this.tokenType){case Ab.Number:return this.Number();case Ab.Function:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}function Sme(){var e=this.tokenStart,t=I7.call(this),r=null;return this.skipSC(),this.isDelim(F7)&&(this.eatDelim(F7),r=I7.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:r}}function _me(e){this.node(e.left),this.token(Ab.Delim,"/"),e.right?this.node(e.right):this.node(Ab.Number,1)}var Ab,F7,NDe,BDe,w_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=_me;exports.name=void 0;exports.parse=Sme;exports.structure=void 0;Ab=(de(),R(me)),F7=47;NDe=exports.name="Ratio",BDe=exports.structure={left:["Number","Function"],right:["Number","Function",null]}});var $7={};function Eme(){return this.tokenIndex>0&&this.lookupType(-1)===Cme.WhiteSpace?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}function Ame(e,t){var r=this.getTokenStart(this.tokenIndex),n;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>r?n=Eme.call(this):n=this.tokenStart,{type:"Raw",loc:this.getLocation(r,n),value:this.substring(r,n)}}function Dme(e){this.tokenize(e.value)}var Cme,jDe,MDe,k_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Dme;exports.name=void 0;exports.parse=Ame;exports.structure=void 0;Cme=(de(),R(me));jDe=exports.name="Raw",MDe=exports.structure={value:String}});var B7={};function N7(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function Ome(){var e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==Pme.LeftCurlyBracket&&this.error(),e}function Tme(){var e=this.tokenIndex,t=this.tokenStart,r,n;return this.parseRulePrelude?r=this.parseWithFallback(Ome,N7):r=N7.call(this,e),n=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:r,block:n}}function Rme(e){this.node(e.prelude),this.node(e.block)}var Pme,qDe,VDe,UDe,S_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Rme;exports.name=void 0;exports.parse=Tme;exports.walkContext=exports.structure=void 0;Pme=(de(),R(me));qDe=exports.name="Rule",VDe=exports.walkContext="rule",UDe=exports.structure={prelude:["SelectorList","Raw"],block:["Block"]}});var j7={};function Fme(){var e=this,t=null,r=null;this.skipSC();var n=this.tokenStart;return this.tokenType===lo.LeftParenthesis&&(this.next(),this.skipSC(),t=this.parseWithFallback(this.SelectorList,function(){return e.Raw(!1,!0)}),this.skipSC(),this.eat(lo.RightParenthesis)),this.lookupNonWSType(0)===lo.Ident&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(lo.LeftParenthesis),this.skipSC(),r=this.parseWithFallback(this.SelectorList,function(){return e.Raw(!1,!0)}),this.skipSC(),this.eat(lo.RightParenthesis)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:t,limit:r}}function Ime(e){e.root&&(this.token(lo.LeftParenthesis,"("),this.node(e.root),this.token(lo.RightParenthesis,")")),e.limit&&(this.token(lo.Ident,"to"),this.token(lo.LeftParenthesis,"("),this.node(e.limit),this.token(lo.RightParenthesis,")"))}var lo,zDe,WDe,__=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Ime;exports.name=void 0;exports.parse=Fme;exports.structure=void 0;lo=(de(),R(me)),zDe=exports.name="Scope",WDe=exports.structure={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]}});var M7={};function Lme(){var e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function $me(e){this.children(e)}var HDe,GDe,C_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=$me;exports.name=void 0;exports.parse=Lme;exports.structure=void 0;HDe=exports.name="Selector",GDe=exports.structure={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]}});var V7={};function Nme(){for(var e=this.createList();!this.eof;){if(e.push(this.Selector()),this.tokenType===q7.Comma){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function Bme(e){var t=this;this.children(e,function(){return t.token(q7.Comma,",")})}var q7,KDe,YDe,QDe,E_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Bme;exports.name=void 0;exports.parse=Nme;exports.walkContext=exports.structure=void 0;q7=(de(),R(me)),KDe=exports.name="SelectorList",YDe=exports.walkContext="selector",QDe=exports.structure={children:[["Selector","Raw"]]}});var D_={};function jme(e){for(var t=e.length,r=e.charCodeAt(0),n=r===U7||r===z7?1:0,i=n===1&&t>1&&e.charCodeAt(t-1)===r?t-2:t-1,o="",a=n;a<=i;a++){var s=e.charCodeAt(a);if(s===A_){if(a===i){a!==t-1&&(o=e.substr(a+1));break}if(s=e.charCodeAt(++a),(0,Dh.isValidEscape)(A_,s)){var u=a-1,l=(0,Dh.consumeEscaped)(e,u);a=l-1,o+=(0,Dh.decodeEscaped)(e.substring(u+1,l))}else s===13&&e.charCodeAt(a+1)===10&&a++}else o+=e[a]}return o}function Mme(e,t){for(var r=t?"'":'"',n=t?z7:U7,i="",o=!1,a=0;a<e.length;a++){var s=e.charCodeAt(a);if(s===0){i+="\uFFFD";continue}if(s<=31||s===127){i+="\\"+s.toString(16),o=!0;continue}s===n||s===A_?(i+="\\"+e.charAt(a),o=!1):(o&&((0,Dh.isHexDigit)(s)||(0,Dh.isWhiteSpace)(s))&&(i+=" "),i+=e.charAt(a),o=!1)}return r+i+r}var Dh,A_,U7,z7,Db=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.decode=jme;exports.encode=Mme;Dh=(de(),R(me)),A_=92,U7=34,z7=39});var G7={};function qme(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:(0,H7.decode)(this.consume(W7.String))}}function Vme(e){this.token(W7.String,(0,H7.encode)(e.value))}var W7,H7,XDe,JDe,P_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Vme;exports.name=void 0;exports.parse=qme;exports.structure=void 0;W7=(de(),R(me)),H7=(Db(),R(D_)),XDe=exports.name="String",JDe=exports.structure={value:String}});var Y7={};function K7(){return this.Raw(null,!1)}function zme(){for(var e=this.tokenStart,t=this.createList(),r;!this.eof;){switch(this.tokenType){case Ph.WhiteSpace:this.next();continue;case Ph.Comment:if(this.charCodeAt(this.tokenStart+2)!==Ume){this.next();continue}r=this.Comment();break;case Ph.CDO:r=this.CDO();break;case Ph.CDC:r=this.CDC();break;case Ph.AtKeyword:r=this.parseWithFallback(this.Atrule,K7);break;default:r=this.parseWithFallback(this.Rule,K7)}t.push(r)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function Wme(e){this.children(e)}var Ph,Ume,ZDe,ePe,tPe,O_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Wme;exports.name=void 0;exports.parse=zme;exports.walkContext=exports.structure=void 0;Ph=(de(),R(me)),Ume=33;ZDe=exports.name="StyleSheet",ePe=exports.walkContext="stylesheet",tPe=exports.structure={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]}});var Q7={};function Hme(){var e=this.tokenStart;this.eat(Pb.LeftParenthesis),this.skipSC();var t=this.Declaration();return this.eof||this.eat(Pb.RightParenthesis),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function Gme(e){this.token(Pb.LeftParenthesis,"("),this.node(e.declaration),this.token(Pb.RightParenthesis,")")}var Pb,rPe,nPe,T_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Gme;exports.name=void 0;exports.parse=Hme;exports.structure=void 0;Pb=(de(),R(me)),rPe=exports.name="SupportsDeclaration",nPe=exports.structure={declaration:"Declaration"}});var J7={};function R_(){this.tokenType!==Kme.Ident&&this.isDelim(Yme)===!1&&this.error("Identifier or asterisk is expected"),this.next()}function Qme(){var e=this.tokenStart;return this.isDelim(X7)?(this.next(),R_.call(this)):(R_.call(this),this.isDelim(X7)&&(this.next(),R_.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function Xme(e){this.tokenize(e.name)}var Kme,Yme,X7,iPe,oPe,F_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=Xme;exports.name=void 0;exports.parse=Qme;exports.structure=void 0;Kme=(de(),R(me)),Yme=42,X7=124;iPe=exports.name="TypeSelector",oPe=exports.structure={name:String}});var tN={};function Oh(e,t){for(var r=0,n=this.tokenStart+e;n<this.tokenEnd;n++){var i=this.charCodeAt(n);if(i===eN&&t&&r!==0)return Oh.call(this,e+r+1,!1),-1;(0,hc.isHexDigit)(i)||this.error(t&&r!==0?"Hyphen minus"+(r<6?" or hex digit":"")+" is expected":r<6?"Hex digit is expected":"Unexpected input",n),++r>6&&this.error("Too many hex digits",n)}return this.next(),r}function Ob(e){for(var t=0;this.isDelim(I_);)++t>e&&this.error("Too many question marks"),this.next()}function Jme(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Z7?"Plus sign":"Hyphen minus")+" is expected")}function Zme(){var e=0;switch(this.tokenType){case hc.Number:if(e=Oh.call(this,1,!0),this.isDelim(I_)){Ob.call(this,6-e);break}if(this.tokenType===hc.Dimension||this.tokenType===hc.Number){Jme.call(this,eN),Oh.call(this,1,!1);break}break;case hc.Dimension:e=Oh.call(this,1,!0),e>0&&Ob.call(this,6-e);break;default:if(this.eatDelim(Z7),this.tokenType===hc.Ident){e=Oh.call(this,0,!0),e>0&&Ob.call(this,6-e);break}if(this.isDelim(I_)){this.next(),Ob.call(this,5);break}this.error("Hex digit or question mark is expected")}}function e0e(){var e=this.tokenStart;return this.eatIdent("u"),Zme.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function t0e(e){this.tokenize(e.value)}var hc,Z7,eN,I_,aPe,sPe,L_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=t0e;exports.name=void 0;exports.parse=e0e;exports.structure=void 0;hc=(de(),R(me)),Z7=43,eN=45,I_=63;aPe=exports.name="UnicodeRange",sPe=exports.structure={value:String}});var nN={};function a0e(e){for(var t=e.length,r=4,n=e.charCodeAt(t-1)===rN?t-2:t-1,i="";r<n&&(0,dc.isWhiteSpace)(e.charCodeAt(r));)r++;for(;r<n&&(0,dc.isWhiteSpace)(e.charCodeAt(n));)n--;for(var o=r;o<=n;o++){var a=e.charCodeAt(o);if(a===$_){if(o===n){o!==t-1&&(i=e.substr(o+1));break}if(a=e.charCodeAt(++o),(0,dc.isValidEscape)($_,a)){var s=o-1,u=(0,dc.consumeEscaped)(e,s);o=u-1,i+=(0,dc.decodeEscaped)(e.substring(s+1,u))}else a===13&&e.charCodeAt(o+1)===10&&o++}else i+=e[o]}return i}function s0e(e){for(var t="",r=!1,n=0;n<e.length;n++){var i=e.charCodeAt(n);if(i===0){t+="\uFFFD";continue}if(i<=31||i===127){t+="\\"+i.toString(16),r=!0;continue}i===r0e||i===$_||i===n0e||i===i0e||i===o0e||i===rN?(t+="\\"+e.charAt(n),r=!1):(r&&(0,dc.isHexDigit)(i)&&(t+=" "),t+=e.charAt(n),r=!1)}return"url("+t+")"}var dc,r0e,$_,n0e,i0e,o0e,rN,N_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.decode=a0e;exports.encode=s0e;dc=(de(),R(me)),r0e=32,$_=92,n0e=34,i0e=39,o0e=40,rN=41});var oN={};function B_(e){"@babel/helpers - typeof";return B_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B_(e)}function j_(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(j_=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||B_(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function l0e(){var e=this.tokenStart,t;switch(this.tokenType){case Su.Url:t=iN.decode(this.consume(Su.Url));break;case Su.Function:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(Su.Function),this.skipSC(),t=u0e.decode(this.consume(Su.String)),this.skipSC(),this.eof||this.eat(Su.RightParenthesis);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function c0e(e){this.token(Su.Url,iN.encode(e.value))}var iN,u0e,Su,uPe,lPe,M_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=c0e;exports.name=void 0;exports.parse=l0e;exports.structure=void 0;iN=j_((N_(),R(nN))),u0e=j_((Db(),R(D_))),Su=(de(),R(me));uPe=exports.name="Url",lPe=exports.structure={value:String}});var aN={};function f0e(){var e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function p0e(e){this.children(e)}var cPe,fPe,q_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=p0e;exports.name=void 0;exports.parse=f0e;exports.structure=void 0;cPe=exports.name="Value",fPe=exports.structure={children:[[]]}});var uN={};function d0e(){return this.eat(sN.WhiteSpace),h0e}function m0e(e){this.token(sN.WhiteSpace,e.value)}var sN,h0e,pPe,hPe,V_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.generate=m0e;exports.name=void 0;exports.parse=d0e;exports.structure=void 0;sN=(de(),R(me)),h0e=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),pPe=exports.name="WhiteSpace",hPe=exports.structure={value:String}});var lN={};function U_(e){"@babel/helpers - typeof";return U_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U_(e)}function Te(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(Te=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||U_(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}var g0e,b0e,y0e,v0e,x0e,w0e,k0e,S0e,_0e,C0e,E0e,A0e,D0e,P0e,O0e,T0e,R0e,F0e,I0e,L0e,$0e,N0e,B0e,j0e,M0e,q0e,V0e,U0e,z0e,W0e,H0e,G0e,K0e,Y0e,Q0e,X0e,J0e,Z0e,ege,tge,rge,nge,ige,oge,age,sge,uge,lge,cge,z_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.WhiteSpace=exports.Value=exports.Url=exports.UnicodeRange=exports.TypeSelector=exports.SupportsDeclaration=exports.StyleSheet=exports.String=exports.SelectorList=exports.Selector=exports.Scope=exports.Rule=exports.Raw=exports.Ratio=exports.PseudoElementSelector=exports.PseudoClassSelector=exports.Percentage=exports.Parentheses=exports.Operator=exports.Number=exports.Nth=exports.NestingSelector=exports.MediaQueryList=exports.MediaQuery=exports.LayerList=exports.Layer=exports.Identifier=exports.IdSelector=exports.Hash=exports.GeneralEnclosed=exports.Function=exports.FeatureRange=exports.FeatureFunction=exports.Feature=exports.Dimension=exports.DeclarationList=exports.Declaration=exports.Condition=exports.Comment=exports.Combinator=exports.ClassSelector=exports.CDO=exports.CDC=exports.Brackets=exports.Block=exports.AttributeSelector=exports.AtrulePrelude=exports.Atrule=exports.AnPlusB=void 0;g0e=Te((F2(),R(A9)));exports.AnPlusB=g0e;b0e=Te((I2(),R(P9)));exports.Atrule=b0e;y0e=Te((L2(),R(T9)));exports.AtrulePrelude=y0e;v0e=Te((N2(),R(F9)));exports.AttributeSelector=v0e;x0e=Te((B2(),R(N9)));exports.Block=x0e;w0e=Te((j2(),R(B9)));exports.Brackets=w0e;k0e=Te((M2(),R(M9)));exports.CDC=k0e;S0e=Te((q2(),R(V9)));exports.CDO=S0e;_0e=Te((U2(),R(U9)));exports.ClassSelector=_0e;C0e=Te((z2(),R(H9)));exports.Combinator=C0e;E0e=Te((W2(),R(K9)));exports.Comment=E0e;A0e=Te((H2(),R(Q9)));exports.Condition=A0e;D0e=Te((G2(),R(Z9)));exports.Declaration=D0e;P0e=Te((Y2(),R(e7)));exports.DeclarationList=P0e;O0e=Te((Q2(),R(r7)));exports.Dimension=O0e;T0e=Te((X2(),R(n7)));exports.Feature=T0e;R0e=Te((Z2(),R(i7)));exports.FeatureFunction=R0e;F0e=Te((t_(),R(u7)));exports.FeatureRange=F0e;I0e=Te((n_(),R(l7)));exports.Function=I0e;L0e=Te((i_(),R(c7)));exports.GeneralEnclosed=L0e;$0e=Te((o_(),R(p7)));exports.Hash=$0e;N0e=Te((a_(),R(d7)));exports.Identifier=N0e;B0e=Te((s_(),R(g7)));exports.IdSelector=B0e;j0e=Te((l_(),R(b7)));exports.Layer=j0e;M0e=Te((c_(),R(v7)));exports.LayerList=M0e;q0e=Te((f_(),R(x7)));exports.MediaQuery=q0e;V0e=Te((p_(),R(k7)));exports.MediaQueryList=V0e;U0e=Te((h_(),R(S7)));exports.NestingSelector=U0e;z0e=Te((d_(),R(_7)));exports.Nth=z0e;W0e=Te((m_(),R(E7)));exports.Number=W0e;H0e=Te((g_(),R(A7)));exports.Operator=H0e;G0e=Te((b_(),R(D7)));exports.Parentheses=G0e;K0e=Te((y_(),R(O7)));exports.Percentage=K0e;Y0e=Te((v_(),R(T7)));exports.PseudoClassSelector=Y0e;Q0e=Te((x_(),R(R7)));exports.PseudoElementSelector=Q0e;X0e=Te((w_(),R(L7)));exports.Ratio=X0e;J0e=Te((k_(),R($7)));exports.Raw=J0e;Z0e=Te((S_(),R(B7)));exports.Rule=Z0e;ege=Te((__(),R(j7)));exports.Scope=ege;tge=Te((C_(),R(M7)));exports.Selector=tge;rge=Te((E_(),R(V7)));exports.SelectorList=rge;nge=Te((P_(),R(G7)));exports.String=nge;ige=Te((O_(),R(Y7)));exports.StyleSheet=ige;oge=Te((T_(),R(Q7)));exports.SupportsDeclaration=oge;age=Te((F_(),R(J7)));exports.TypeSelector=age;sge=Te((L_(),R(tN)));exports.UnicodeRange=sge;uge=Te((M_(),R(oN)));exports.Url=uge;lge=Te((q_(),R(aN)));exports.Value=lge;cge=Te((V_(),R(uN)));exports.WhiteSpace=cge});var yge={};function pN(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(pN=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||mc(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function dge(e){return e&&e.__esModule?e:{default:e}}function mc(e){"@babel/helpers - typeof";return mc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mc(e)}function cN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function fN(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cN(Object(r),!0).forEach(function(n){mge(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cN(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function mge(e,t,r){return(t=gge(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gge(e){var t=bge(e,"string");return mc(t)=="symbol"?t:t+""}function bge(e,t){if(mc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(mc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fge,pge,hge,dPe,hN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;fge=(fb(),R(JS)),pge=dge((E9(),R(khe))),hge=pN((z_(),R(lN)));dPe=exports.default=fN(fN({generic:!0,cssWideKeywords:fge.cssWideKeywords},pge.default),{},{node:hge})});var mN={};function _ge(e){switch(this.tokenType){case ai.Hash:return this.Hash();case ai.Comma:return this.Operator();case ai.LeftParenthesis:return this.Parentheses(this.readSequence,e.recognizer);case ai.LeftSquareBracket:return this.Brackets(this.readSequence,e.recognizer);case ai.String:return this.String();case ai.Dimension:return this.Dimension();case ai.Percentage:return this.Percentage();case ai.Number:return this.Number();case ai.Function:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case ai.Url:return this.Url();case ai.Ident:return this.cmpChar(this.tokenStart,Sge)&&this.cmpChar(this.tokenStart+1,dN)?this.UnicodeRange():this.Identifier();case ai.Delim:{var t=this.charCodeAt(this.tokenStart);if(t===kge||t===xge||t===dN||t===wge)return this.Operator();t===vge&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}var ai,vge,xge,dN,wge,kge,Sge,W_=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=_ge;ai=(de(),R(me)),vge=35,xge=42,dN=43,wge=45,kge=47,Sge=117});var Age={};function Ege(e){return e&&e.__esModule?e:{default:e}}var Cge,mPe,gN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;Cge=Ege((W_(),R(mN)));mPe=exports.default={getNode:Cge.default}});var Bge={};function $ge(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function Nge(){switch(this.tokenType){case sa.LeftSquareBracket:return this.AttributeSelector();case sa.Hash:return this.IdSelector();case sa.Colon:return this.lookupType(1)===sa.Colon?this.PseudoElementSelector():this.PseudoClassSelector();case sa.Ident:return this.TypeSelector();case sa.Number:case sa.Percentage:return this.Percentage();case sa.Dimension:this.charCodeAt(this.tokenStart)===bN&&this.error("Identifier is expected",this.tokenStart+1);break;case sa.Delim:{var e=this.charCodeAt(this.tokenStart);switch(e){case Tge:case Fge:case Lge:case Rge:return this.Combinator();case bN:return this.ClassSelector();case Oge:case Ige:return this.TypeSelector();case Dge:return this.IdSelector();case Pge:return this.NestingSelector()}break}}}var sa,Dge,Pge,Oge,Tge,Rge,bN,Fge,Ige,Lge,gPe,yN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;sa=(de(),R(me)),Dge=35,Pge=38,Oge=42,Tge=43,Rge=47,bN=46,Fge=62,Ige=124,Lge=126;gPe=exports.default={onWhiteSpace:$ge,getNode:Nge}});var Mge={};function jge(){return this.createSingleNodeList(this.Raw(null,!1))}var vN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=jge});var Vge={};function qge(){var e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===xN.Comma){e.push(this.Operator());var t=this.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(r.type==="Value"&&r.children.isEmpty){for(var n=t-this.tokenIndex;n<=0;n++)if(this.lookupType(n)===xN.WhiteSpace){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}var xN,wN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=qge;xN=(de(),R(me))});var Hge={};function H_(e){return e&&e.__esModule?e:{default:e}}function kN(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}var Uge,zge,Wge,bPe,SN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;Uge=H_((W_(),R(mN))),zge=H_((vN(),R(Mge))),Wge=H_((wN(),R(Vge)));bPe=exports.default={getNode:Uge.default,onWhiteSpace:function(t,r){kN(t)&&(t.value=" "+t.value),kN(r.last)&&(r.last.value+=" ")},expression:zge.default,var:Wge.default}});var Qge={};function G_(e){return e&&e.__esModule?e:{default:e}}var Gge,Kge,Yge,_N=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});Object.defineProperty(exports,"AtrulePrelude",{enumerable:!0,get:function(){return Gge.default}});Object.defineProperty(exports,"Selector",{enumerable:!0,get:function(){return Kge.default}});Object.defineProperty(exports,"Value",{enumerable:!0,get:function(){return Yge.default}});Gge=G_((gN(),R(Age))),Kge=G_((yN(),R(Bge))),Yge=G_((SN(),R(Hge)))});var Zge={};var Xge,Jge,yPe,CN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;Xge=(de(),R(me)),Jge=new Set(["none","and","not","or"]),yPe=exports.default={parse:{prelude:function(){var t=this.createList();if(this.tokenType===Xge.Ident){var r=this.substring(this.tokenStart,this.tokenEnd);Jge.has(r.toLowerCase())||t.push(this.Identifier())}return t.push(this.Condition("container")),t},block:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.Block(t)}}}});var ebe={};var vPe,EN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;vPe=exports.default={parse:{prelude:null,block:function(){return this.Block(!0)}}}});var tbe={};function K_(e,t){var r=this;return this.parseWithFallback(function(){try{return e.call(r)}finally{r.skipSC(),r.lookupNonWSType(0)!==ua.RightParenthesis&&r.error()}},t||function(){return r.Raw(null,!0)})}var ua,AN,xPe,DN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;ua=(de(),R(me));AN={layer:function(){this.skipSC();var t=this.createList(),r=K_.call(this,this.Layer);return(r.type!=="Raw"||r.value!=="")&&t.push(r),t},supports:function(){var t=this;this.skipSC();var r=this.createList(),n=K_.call(this,this.Declaration,function(){return K_.call(t,function(){return t.Condition("supports")})});return(n.type!=="Raw"||n.value!=="")&&r.push(n),r}},xPe=exports.default={parse:{prelude:function(){var t=this.createList();switch(this.tokenType){case ua.String:t.push(this.String());break;case ua.Url:case ua.Function:t.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===ua.Ident&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?t.push(this.Identifier()):this.tokenType===ua.Function&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&t.push(this.Function(null,AN)),this.skipSC(),this.tokenType===ua.Function&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&t.push(this.Function(null,AN)),(this.lookupNonWSType(0)===ua.Ident||this.lookupNonWSType(0)===ua.LeftParenthesis)&&t.push(this.MediaQueryList()),t},block:null}}});var rbe={};var wPe,PN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;wPe=exports.default={parse:{prelude:function(){return this.createSingleNodeList(this.LayerList())},block:function(){return this.Block(!1)}}}});var nbe={};var kPe,ON=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;kPe=exports.default={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.Block(t)}}}});var ibe={};var SPe,TN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;SPe=exports.default={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}});var obe={};var _Pe,RN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;_Pe=exports.default={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}});var abe={};var CPe,FN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;CPe=exports.default={parse:{prelude:function(){return this.createSingleNodeList(this.Scope())},block:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.Block(t)}}}});var sbe={};var EPe,IN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;EPe=exports.default={parse:{prelude:null,block:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.Block(t)}}}});var ube={};var APe,LN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;APe=exports.default={parse:{prelude:function(){return this.createSingleNodeList(this.Condition("supports"))},block:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.Block(t)}}}});var vbe={};function co(e){return e&&e.__esModule?e:{default:e}}var lbe,cbe,fbe,pbe,hbe,dbe,mbe,gbe,bbe,ybe,DPe,$N=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;lbe=co((CN(),R(Zge))),cbe=co((EN(),R(ebe))),fbe=co((DN(),R(tbe))),pbe=co((PN(),R(rbe))),hbe=co((ON(),R(nbe))),dbe=co((TN(),R(ibe))),mbe=co((RN(),R(obe))),gbe=co((FN(),R(abe))),bbe=co((IN(),R(sbe))),ybe=co((LN(),R(ube)));DPe=exports.default={container:lbe.default,"font-face":cbe.default,import:fbe.default,layer:pbe.default,media:hbe.default,nest:dbe.default,page:mbe.default,scope:gbe.default,"starting-style":bbe.default,supports:ybe.default}});var wbe={};function xbe(){var e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case Tb.Ident:e.push(this.Identifier());break;case Tb.String:e.push(this.String());break;case Tb.Comma:e.push(this.Operator());break;case Tb.RightParenthesis:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}var Tb,NN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.parseLanguageRangeList=xbe;Tb=(de(),R(me))});var Cbe={};var kbe,_u,Y_,Sbe,_be,Rb,PPe,BN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;kbe=(NN(),R(wbe)),_u={parse:function(){return this.createSingleNodeList(this.SelectorList())}},Y_={parse:function(){return this.createSingleNodeList(this.Selector())}},Sbe={parse:function(){return this.createSingleNodeList(this.Identifier())}},_be={parse:kbe.parseLanguageRangeList},Rb={parse:function(){return this.createSingleNodeList(this.Nth())}},PPe=exports.default={dir:Sbe,has:_u,lang:_be,matches:_u,is:_u,"-moz-any":_u,"-webkit-any":_u,where:_u,not:_u,"nth-child":Rb,"nth-last-child":Rb,"nth-last-of-type":Rb,"nth-of-type":Rb,slotted:Y_,host:Y_,"host-context":Y_}});var wye={};var Ebe,Abe,Dbe,Pbe,Obe,Tbe,Rbe,Fbe,Ibe,Lbe,$be,Nbe,Bbe,jbe,Mbe,qbe,Vbe,Ube,zbe,Wbe,Hbe,Gbe,Kbe,Ybe,Qbe,Xbe,Jbe,Zbe,eye,tye,rye,nye,iye,oye,aye,sye,uye,lye,cye,fye,pye,hye,dye,mye,gye,bye,yye,vye,xye,jN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});Object.defineProperty(exports,"AnPlusB",{enumerable:!0,get:function(){return Ebe.parse}});Object.defineProperty(exports,"Atrule",{enumerable:!0,get:function(){return Abe.parse}});Object.defineProperty(exports,"AtrulePrelude",{enumerable:!0,get:function(){return Dbe.parse}});Object.defineProperty(exports,"AttributeSelector",{enumerable:!0,get:function(){return Pbe.parse}});Object.defineProperty(exports,"Block",{enumerable:!0,get:function(){return Obe.parse}});Object.defineProperty(exports,"Brackets",{enumerable:!0,get:function(){return Tbe.parse}});Object.defineProperty(exports,"CDC",{enumerable:!0,get:function(){return Rbe.parse}});Object.defineProperty(exports,"CDO",{enumerable:!0,get:function(){return Fbe.parse}});Object.defineProperty(exports,"ClassSelector",{enumerable:!0,get:function(){return Ibe.parse}});Object.defineProperty(exports,"Combinator",{enumerable:!0,get:function(){return Lbe.parse}});Object.defineProperty(exports,"Comment",{enumerable:!0,get:function(){return $be.parse}});Object.defineProperty(exports,"Condition",{enumerable:!0,get:function(){return Nbe.parse}});Object.defineProperty(exports,"Declaration",{enumerable:!0,get:function(){return Bbe.parse}});Object.defineProperty(exports,"DeclarationList",{enumerable:!0,get:function(){return jbe.parse}});Object.defineProperty(exports,"Dimension",{enumerable:!0,get:function(){return Mbe.parse}});Object.defineProperty(exports,"Feature",{enumerable:!0,get:function(){return qbe.parse}});Object.defineProperty(exports,"FeatureFunction",{enumerable:!0,get:function(){return Vbe.parse}});Object.defineProperty(exports,"FeatureRange",{enumerable:!0,get:function(){return Ube.parse}});Object.defineProperty(exports,"Function",{enumerable:!0,get:function(){return zbe.parse}});Object.defineProperty(exports,"GeneralEnclosed",{enumerable:!0,get:function(){return Wbe.parse}});Object.defineProperty(exports,"Hash",{enumerable:!0,get:function(){return Hbe.parse}});Object.defineProperty(exports,"IdSelector",{enumerable:!0,get:function(){return Kbe.parse}});Object.defineProperty(exports,"Identifier",{enumerable:!0,get:function(){return Gbe.parse}});Object.defineProperty(exports,"Layer",{enumerable:!0,get:function(){return Ybe.parse}});Object.defineProperty(exports,"LayerList",{enumerable:!0,get:function(){return Qbe.parse}});Object.defineProperty(exports,"MediaQuery",{enumerable:!0,get:function(){return Xbe.parse}});Object.defineProperty(exports,"MediaQueryList",{enumerable:!0,get:function(){return Jbe.parse}});Object.defineProperty(exports,"NestingSelector",{enumerable:!0,get:function(){return Zbe.parse}});Object.defineProperty(exports,"Nth",{enumerable:!0,get:function(){return eye.parse}});Object.defineProperty(exports,"Number",{enumerable:!0,get:function(){return tye.parse}});Object.defineProperty(exports,"Operator",{enumerable:!0,get:function(){return rye.parse}});Object.defineProperty(exports,"Parentheses",{enumerable:!0,get:function(){return nye.parse}});Object.defineProperty(exports,"Percentage",{enumerable:!0,get:function(){return iye.parse}});Object.defineProperty(exports,"PseudoClassSelector",{enumerable:!0,get:function(){return oye.parse}});Object.defineProperty(exports,"PseudoElementSelector",{enumerable:!0,get:function(){return aye.parse}});Object.defineProperty(exports,"Ratio",{enumerable:!0,get:function(){return sye.parse}});Object.defineProperty(exports,"Raw",{enumerable:!0,get:function(){return uye.parse}});Object.defineProperty(exports,"Rule",{enumerable:!0,get:function(){return lye.parse}});Object.defineProperty(exports,"Scope",{enumerable:!0,get:function(){return cye.parse}});Object.defineProperty(exports,"Selector",{enumerable:!0,get:function(){return fye.parse}});Object.defineProperty(exports,"SelectorList",{enumerable:!0,get:function(){return pye.parse}});Object.defineProperty(exports,"String",{enumerable:!0,get:function(){return hye.parse}});Object.defineProperty(exports,"StyleSheet",{enumerable:!0,get:function(){return dye.parse}});Object.defineProperty(exports,"SupportsDeclaration",{enumerable:!0,get:function(){return mye.parse}});Object.defineProperty(exports,"TypeSelector",{enumerable:!0,get:function(){return gye.parse}});Object.defineProperty(exports,"UnicodeRange",{enumerable:!0,get:function(){return bye.parse}});Object.defineProperty(exports,"Url",{enumerable:!0,get:function(){return yye.parse}});Object.defineProperty(exports,"Value",{enumerable:!0,get:function(){return vye.parse}});Object.defineProperty(exports,"WhiteSpace",{enumerable:!0,get:function(){return xye.parse}});Ebe=(F2(),R(A9)),Abe=(I2(),R(P9)),Dbe=(L2(),R(T9)),Pbe=(N2(),R(F9)),Obe=(B2(),R(N9)),Tbe=(j2(),R(B9)),Rbe=(M2(),R(M9)),Fbe=(q2(),R(V9)),Ibe=(U2(),R(U9)),Lbe=(z2(),R(H9)),$be=(W2(),R(K9)),Nbe=(H2(),R(Q9)),Bbe=(G2(),R(Z9)),jbe=(Y2(),R(e7)),Mbe=(Q2(),R(r7)),qbe=(X2(),R(n7)),Vbe=(Z2(),R(i7)),Ube=(t_(),R(u7)),zbe=(n_(),R(l7)),Wbe=(i_(),R(c7)),Hbe=(o_(),R(p7)),Gbe=(a_(),R(d7)),Kbe=(s_(),R(g7)),Ybe=(l_(),R(b7)),Qbe=(c_(),R(v7)),Xbe=(f_(),R(x7)),Jbe=(p_(),R(k7)),Zbe=(h_(),R(S7)),eye=(d_(),R(_7)),tye=(m_(),R(E7)),rye=(g_(),R(A7)),nye=(b_(),R(D7)),iye=(y_(),R(O7)),oye=(v_(),R(T7)),aye=(x_(),R(R7)),sye=(w_(),R(L7)),uye=(k_(),R($7)),lye=(S_(),R(B7)),cye=(__(),R(j7)),fye=(C_(),R(M7)),pye=(E_(),R(V7)),hye=(P_(),R(G7)),dye=(O_(),R(Y7)),mye=(T_(),R(Q7)),gye=(F_(),R(J7)),bye=(L_(),R(tN)),yye=(M_(),R(oN)),vye=(q_(),R(aN)),xye=(V_(),R(uN))});var Eye={};function Q_(e){"@babel/helpers - typeof";return Q_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q_(e)}function MN(e){return e&&e.__esModule?e:{default:e}}function X_(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(X_=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||Q_(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}var kye,Sye,_ye,Cye,OPe,qN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;kye=X_((_N(),R(Qge))),Sye=MN(($N(),R(vbe))),_ye=MN((BN(),R(Cbe))),Cye=X_((jN(),R(wye)));OPe=exports.default={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(t){return this.AtrulePrelude(t.atrule?String(t.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition:function(t){return this.Condition(t.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector:function(){return this.Selector()}},container:{style:function(){return this.Declaration()}}},scope:kye,atrule:Sye.default,pseudo:_ye.default,node:Cye}});var Dye={};function J_(e){"@babel/helpers - typeof";return J_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J_(e)}function VN(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(VN=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||J_(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}var Aye,TPe,UN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;Aye=VN((z_(),R(lN)));TPe=exports.default={node:Aye}});var $ye={};function Fb(e){return e&&e.__esModule?e:{default:e}}function Th(e){"@babel/helpers - typeof";return Th=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Th(e)}function zN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Z_(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zN(Object(r),!0).forEach(function(n){Fye(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zN(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Fye(e,t,r){return(t=Iye(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iye(e){var t=Lye(e,"string");return Th(t)=="symbol"?t:t+""}function Lye(e,t){if(Th(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Th(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Pye,Oye,Tye,Rye,RPe,WN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;Pye=Fb((P2(),R(x9))),Oye=Fb((hN(),R(yge))),Tye=Fb((qN(),R(Eye))),Rye=Fb((UN(),R(Dye)));RPe=exports.default=(0,Pye.default)(Z_(Z_(Z_({},Oye.default),Tye.default),Rye.default))});var Mye={};var qye,Nye,Bye,jye,FPe,HN=$(()=>{"use strict";qye={};Object.defineProperty(exports,"__esModule",{value:!0});exports.version=void 0;Nye=require("module"),Bye=(0,Nye.createRequire)(qye.url),jye=Bye("../package.json"),FPe=exports.version=jye.version});var Uye={};function eC(e){for(var t={},r=0,n=Object.keys(e);r<n.length;r++){var i=n[r],o=e[i];o&&(Array.isArray(o)||o instanceof Vye.List?o=o.map(eC):o.constructor===Object&&(o=eC(o))),t[i]=o}return t}var Vye,GN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.clone=eC;Vye=(vu(),R(rc))});var Hye={};function zye(e){for(var t=e.length-1,r="",n=0;n<e.length;n++){var i=e.charCodeAt(n);if(i===KN){if(n===t)break;if(i=e.charCodeAt(++n),(0,Ib.isValidEscape)(KN,i)){var o=n-1,a=(0,Ib.consumeEscaped)(e,o);n=a-1,r+=(0,Ib.decodeEscaped)(e.substring(o+1,a))}else i===13&&e.charCodeAt(n+1)===10&&n++}else r+=e[n]}return r}function Wye(e){var t="";if(e.length===1&&e.charCodeAt(0)===45)return"\\-";for(var r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n===0){t+="\uFFFD";continue}if(n<=31||n===127||n>=48&&n<=57&&(r===0||r===1&&e.charCodeAt(0)===45)){t+="\\"+n.toString(16)+" ";continue}(0,Ib.isName)(n)?t+=e.charAt(r):t+="\\"+e.charAt(r)}return t}var Ib,KN,YN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.decode=zye;exports.encode=Wye;Ib=(de(),R(me)),KN=92});function nC(e){"@babel/helpers - typeof";return nC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nC(e)}function Rh(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(Rh=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||nC(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function XN(e){return e&&e.__esModule?e:{default:e}}var QN,si,tC,Gye,Kye,Yye,Lb,Qye,Xye,rC,Jye,Zye,eve,IPe,LPe,$Pe,NPe,BPe,jPe,MPe,qPe,VPe,UPe,zPe,WPe,JN=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});QN={tokenize:!0,parse:!0,generate:!0,lexer:!0,createLexer:!0,walk:!0,find:!0,findLast:!0,findAll:!0,toPlainObject:!0,fromPlainObject:!0,fork:!0,createSyntax:!0,List:!0,Lexer:!0,tokenTypes:!0,tokenNames:!0,TokenStream:!0,OffsetToLocation:!0,definitionSyntax:!0,clone:!0,ident:!0,string:!0,url:!0};Object.defineProperty(exports,"Lexer",{enumerable:!0,get:function(){return Yye.Lexer}});Object.defineProperty(exports,"List",{enumerable:!0,get:function(){return Kye.List}});Object.defineProperty(exports,"OffsetToLocation",{enumerable:!0,get:function(){return Lb.OffsetToLocation}});Object.defineProperty(exports,"TokenStream",{enumerable:!0,get:function(){return Lb.TokenStream}});Object.defineProperty(exports,"clone",{enumerable:!0,get:function(){return Xye.clone}});exports.createLexer=void 0;Object.defineProperty(exports,"createSyntax",{enumerable:!0,get:function(){return Gye.default}});exports.toPlainObject=exports.string=exports.parse=exports.lexer=exports.ident=exports.generate=exports.fromPlainObject=exports.fork=exports.findLast=exports.findAll=exports.find=exports.definitionSyntax=void 0;Object.defineProperty(exports,"tokenNames",{enumerable:!0,get:function(){return Lb.tokenNames}});Object.defineProperty(exports,"tokenTypes",{enumerable:!0,get:function(){return Lb.tokenTypes}});exports.walk=exports.url=exports.tokenize=void 0;si=XN((WN(),R($ye))),tC=(HN(),R(Mye));Object.keys(tC).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(QN,e)||e in exports&&exports[e]===tC[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return tC[e]}})});Gye=XN((P2(),R(x9))),Kye=(vu(),R(rc)),Yye=(C2(),R(p9)),Lb=(de(),R(me)),Qye=Rh((m2(),R(R$)));exports.definitionSyntax=Qye;Xye=(GN(),R(Uye)),rC=(cb(),R(XS));Object.keys(rC).forEach(function(e){e==="default"||e==="__esModule"||Object.prototype.hasOwnProperty.call(QN,e)||e in exports&&exports[e]===rC[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return rC[e]}})});Jye=Rh((YN(),R(Hye)));exports.ident=Jye;Zye=Rh((Db(),R(D_)));exports.string=Zye;eve=Rh((N_(),R(nN)));exports.url=eve;IPe=exports.tokenize=si.default.tokenize,LPe=exports.parse=si.default.parse,$Pe=exports.generate=si.default.generate,NPe=exports.lexer=si.default.lexer,BPe=exports.createLexer=si.default.createLexer,jPe=exports.walk=si.default.walk,MPe=exports.find=si.default.find,qPe=exports.findLast=si.default.findLast,VPe=exports.findAll=si.default.findAll,UPe=exports.toPlainObject=si.default.toPlainObject,zPe=exports.fromPlainObject=si.default.fromPlainObject,WPe=exports.fork=si.default.fork});async function tve(e,t){let{code:r,uno:n,options:i,filename:o}=e;await Promise.all(t.block.children.map(async a=>{if(a.type==="Raw")return ZN(r,n,i,o,a.value,a.loc.start.offset);await rve(e,t,a)}).toArray())}async function rve({code:e,uno:t,applyVariable:r},n,i){let o=e.original,a;if(i.type==="Atrule"&&i.name==="apply"&&i.prelude&&i.prelude.type==="Raw")a=iC(i.prelude.value.trim());else if(i.type==="Declaration"&&r.includes(i.property)&&(i.value.type==="Value"||i.value.type==="Raw")){let f=o.slice(i.value.loc.start.offset,i.value.loc.end.offset).trim();f=iC(f),a=f.split(/\s+/g).filter(Boolean).map(m=>iC(m)).join(" ")}if(!a)return;a=nve(a);let s=As(a).split(/\s+/g).map(f=>f.trim().replace(/\\/,"")),u=(await Promise.all(s.map(f=>t.parseToken(f,"-")))).filter(Fo).flat().sort((f,p)=>f[0]-p[0]).sort((f,p)=>(f[3]?t.parentOrders.get(f[3])??0:0)-(p[3]?t.parentOrders.get(p[3])??0:0)).reduce((f,p)=>{let m=f.find(b=>b[1]===p[1]&&b[3]===p[3]);return m?m[2]+=p[2]:f.push([...p]),f},[]);if(!u.length)return;let l=o[i.loc.end.offset]===";"?1:o[i.loc.end.offset]==="@"?-1:0;for(let f of u){let[,p,m,b,v]=f,w=p?.replace(of," ")||p;if(b||w&&w!==".\\-"||v?.noMerge){let C=(void 0)(n.prelude),P=e.slice(n.prelude.loc.start.offset,n.prelude.loc.end.offset);if(w&&w!==".\\-"){let E=(void 0)(`${w}{}`,{context:"rule"}),y=(void 0)(n.prelude);y.children?.forEach(L=>{let I=(void 0)(E.prelude),T=new(void 0);I?.children?.forEach(N=>{T.appendList(N?.children?.filter(X=>X.type==="ClassSelector"&&X.name==="\\-"))}),T.forEach(N=>Object.assign(N,(void 0)(L))),Object.assign(L,I)}),C=(void 0)(y)}let A=`${C.replace(/.\\-/g,P)}{${m}}`;if(b)if(b.includes(" $$ ")){let[E,...y]=b.split(" $$ ").reverse();A=`${y.reduce((L,I,T)=>T===y.length-1?`${L}{${I}{${A}}}${"}".repeat(T)}`:`${L}{${I}`,E)}`}else A=`${b}{${A}}`;l=0,e.appendLeft(n.loc.end.offset,A)}else m.includes("@")?e.appendRight(o.length,m):e.appendRight(i.loc.end.offset+l,m)}e.remove(i.loc.start.offset,i.loc.end.offset+l)}function iC(e){return e.replace(/^(['"])(.*)\1$/,"$2")}function nve(e){return e.replace(/(\/\*(?:.|\n)*?\*\/)|(\/\/.*)/g,"")}async function ive(e,t,r){let n=e.config.presets?.flat()?.find(w=>w.name==="@unocss/preset-icons");if(!n){console.warn("@unocss/preset-icons not found, icon() directive will be keep as-is");return}let{scale:i=1,prefix:o="i-",collections:a,customizations:s={},autoInstall:u=!1,iconifyCollectionsNames:l,collectionsNodeResolvePath:f,unit:p}=n.options,m=n.api,b={addXmlNs:!0,scale:i,customCollections:a,autoInstall:u,cwd:f,warn:void 0,customizations:{...s,trimCustomSvg:!0,async iconCustomizer(w,C,P){await s.iconCustomizer?.(w,C,P),p&&(P.width||(P.width=`${i}${p}`),P.height||(P.height=`${i}${p}`))}}},v=await m.createNodeLoader?.()||(async()=>{});for(let w of Fe(o))if(t.startsWith(w)){t=t.slice(w.length);let C=await m.parseIconWithLoader(t,v,b,l);if(C)return`url("data:image/svg+xml;utf8,${r?m.encodeSvgForCss(C.svg).replace(/currentcolor/gi,r):m.encodeSvgForCss(C.svg)}")`}}async function ove({code:e,uno:t,options:r},n){let{throwOnMissing:i=!0}=r;switch(n.name){case"theme":{if(!n.children.size)throw new Error("theme() expect exact one argument");if(n.children.first.type!=="String")throw new Error("theme() expect a string argument");let o;if(n.children.size>1){let u=n.children.toArray().slice(1);if(!(u[0].type==="Operator"&&u[0].value===","))throw new Error("theme() expect a comma between expression string and default value");u.length>1&&(o=[u[1].loc.start.offset,n.children.last.loc.end.offset])}let a=n.children.first.value,s=uk(a,t.config.theme,!o&&i);!s&&o&&(s=e.slice(o[0],o[1])),s&&e.overwrite(n.loc.start.offset,n.loc.end.offset,s);break}case"icon":{let o=n.children.toArray().filter(l=>l.type==="String").map(l=>l.value);if(o.length===0)throw new Error("icon() expects at least one argument");let[a,s]=o;s&&(s=encodeURIComponent(Bl(s,t.config.theme,i)));let u=await ive(t,a,s);u&&e.overwrite(n.loc.start.offset,n.loc.end.offset,u);break}}}function sve({code:e,uno:t},r){let n="",i="";if(r.prelude?.type==="Raw"&&(n=r.prelude.value.trim()),!n)return;let o=n.match(/^(?:(lt|at)-)?(\w+)$/);o&&(i=o[1],n=o[2]);let s=((()=>{let m=t.config.presets.some(v=>v.name==="@unocss/preset-wind4")?"breakpoint":"breakpoints",b=t.config.theme[m];return b?Object.entries(b).sort((v,w)=>Number.parseInt(v[1].replace(/[a-z]+/gi,""))-Number.parseInt(w[1].replace(/[a-z]+/gi,""))).map(([v,w])=>({point:v,size:w})):void 0})()??[]).map(({point:m,size:b},v)=>[m,b,v]),u=(m,b)=>{let[,v,w]=s.find(C=>C[0]===m);if(b){if(b==="lt")return`@media (max-width: ${Yo(v)})`;if(b==="at")return`@media (min-width: ${v})${s[w+1]?` and (max-width: ${Yo(s[w+1][1])})`:""}`;throw new Error(`breakpoint variant not supported: ${b}`)}return`@media (min-width: ${v})`};if(!s.find(m=>m[0]===n))throw new Error(`breakpoint ${n} not found`);let l=r.loc.start.offset,f=e.original.slice(l,r.loc.end.offset),p=Array.from(f.matchAll(ave));if(p.length)for(let m of p)e.overwrite(l+m.index,l+m.index+m[1].length,`${u(n,i)}`)}async function ZN(e,t,r,n,i,o){let{applyVariable:a}=r,s=r.varStyle;a===void 0&&(s!==void 0&&(a=s?[`${s}apply`]:[]),a=["--at-apply","--uno-apply","--uno"]),a=Fe(a||[]);let u=A=>A.includes("@apply")||a.some(E=>A.includes(E)),l=i||e.original,f=u(l),p=l.includes("@screen"),m=Nl(l)||eF(l);if(!f&&!m&&!p)return;let b=(void 0)(l,{parseCustomProperty:!0,parseAtrulePrelude:!1,positions:!0,filename:n,offset:o});if(b.type!=="StyleSheet")return;let v=[],w={options:r,applyVariable:a,uno:t,code:e,filename:n},C=async(A,E,y)=>{p&&A.type==="Atrule"&&A.name==="screen"?sve(w,A):A.type==="Function"?await ove(w,A):f&&A.type==="Rule"&&await tve(w,A)};(void 0)(b,(...A)=>v.push(C(...A))),await Promise.all(v);let P=e.toString();if(!u(P)){let A=P.replace(/([^{}]+)\{\s*\}\s*/g,(E,y)=>/^[\s\w\-.,#:[\]=*"'>~+^$|()\\]+$/.test(y.trim())?"":E);A!==P&&e.update(0,e.original.length,A)}}function eB(e={}){return{name:"@unocss/transformer-directives",enforce:e?.enforce,idFilter:t=>uv.test(t),transform:(t,r,n)=>ZN(t,n.uno,e,r)}}var ave,tB=$(()=>{Dt();Pn();JN();ave=/(@screen [^{]+)(.+)/g});function rB(e={}){return{name:"@unocss/transformer-variant-group",enforce:"pre",transform(t){let r=Td(t,e.separators);return{get highlightAnnotations(){return[...r.groupsByOffset.values()].flatMap(n=>n.items)}}}}}var nB=$(()=>{Dt()});var iB={};Hu(iB,{BetterMap:()=>Ad,CountableSet:()=>rf,DEFAULT_LAYERS:()=>RA,LAYER_DEFAULT:()=>ef,LAYER_IMPORTS:()=>Pd,LAYER_PREFLIGHTS:()=>Cd,LAYER_SHORTCUTS:()=>TA,TwoKeyMap:()=>Ed,UnoGenerator:()=>sv,attributifyRE:()=>LA,clearIdenticalEntries:()=>MA,clone:()=>tf,collapseVariantGroup:()=>YM,createGenerator:()=>eq,createNanoEvents:()=>IA,cssIdRE:()=>uv,defaultSplitRE:()=>Od,defineConfig:()=>uve,definePreset:()=>Ta,e:()=>_d,entriesToCss:()=>Ku,escapeRegExp:()=>tn,escapeSelector:()=>rn,expandVariantGroup:()=>As,extractorDefault:()=>FA,extractorSplit:()=>FA,hasScopePlaceholder:()=>GA,isAttributifySelector:()=>lv,isCountableSet:()=>Sd,isObject:()=>Zc,isRawUtil:()=>ov,isStaticRule:()=>qA,isStaticShortcut:()=>VA,isString:()=>ft,isValidSelector:()=>Yu,makeRegexClassGroup:()=>UA,mergeConfigs:()=>QM,mergeDeep:()=>Oa,noop:()=>BA,normalizeCSSEntries:()=>nf,normalizeCSSValues:()=>jA,normalizeVariant:()=>NA,notNull:()=>Fo,parseVariantGroup:()=>Td,presetAttributify:()=>JA,presetIcons:()=>jR,presetMini:()=>Gl,presetTagify:()=>F6,presetTypography:()=>N6,presetUno:()=>d8,presetWebFonts:()=>b8,presetWind:()=>v8,presetWind3:()=>Kl,presetWind4:()=>gS,regexScopePlaceholder:()=>of,resolveConfig:()=>av,resolvePreset:()=>zA,resolvePresets:()=>fv,resolveShortcuts:()=>cv,splitWithVariantGroupRE:()=>HM,symbols:()=>Qt,toArray:()=>Fe,toEscapedSelector:()=>Fd,transformerAttributifyJsx:()=>SI,transformerCompileClass:()=>CI,transformerDirectives:()=>eB,transformerVariantGroup:()=>rB,uniq:()=>zn,uniqueBy:()=>iv,validateFilterRE:()=>$A,warnOnce:()=>Rd,withLayer:()=>KM});function uve(e){return e}var oB=$(()=>{Dt();ZA();qR();Ak();I6();B6();m8();y8();x8();Vg();bS();_I();EI();tB();nB()});var zr=ne(Fn=>{"use strict";function oC(e){"@babel/helpers - typeof";return oC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oC(e)}Fn.__esModule=!0;Fn.extend=aB;Fn.indexOf=hve;Fn.escapeExpression=dve;Fn.isEmpty=mve;Fn.createFrame=gve;Fn.blockParams=bve;Fn.appendContextPath=yve;var lve={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},cve=/[&<>"'`=]/g,fve=/[&<>"'`=]/;function pve(e){return lve[e]}function aB(e){for(var t=1;t<arguments.length;t++)for(var r in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],r)&&(e[r]=arguments[t][r]);return e}var sC=Object.prototype.toString;Fn.toString=sC;var aC=function(t){return typeof t=="function"};aC(/x/)&&(Fn.isFunction=aC=function(t){return typeof t=="function"&&sC.call(t)==="[object Function]"});Fn.isFunction=aC;var sB=Array.isArray||function(e){return e&&oC(e)==="object"?sC.call(e)==="[object Array]":!1};Fn.isArray=sB;function hve(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function dve(e){if(typeof e!="string"){if(e&&e.toHTML)return e.toHTML();if(e==null)return"";if(!e)return e+"";e=""+e}return fve.test(e)?e.replace(cve,pve):e}function mve(e){return!e&&e!==0?!0:!!(sB(e)&&e.length===0)}function gve(e){var t=aB({},e);return t._parent=e,t}function bve(e,t){return e.path=t,e}function yve(e,t){return(e?e+".":"")+t}});var ui=ne(($b,uB)=>{"use strict";$b.__esModule=!0;var uC=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function lC(e,t){var r=t&&t.loc,n=void 0,i=void 0,o=void 0,a=void 0;r&&(n=r.start.line,i=r.end.line,o=r.start.column,a=r.end.column,e+=" - "+n+":"+o);for(var s=Error.prototype.constructor.call(this,e),u=0;u<uC.length;u++)this[uC[u]]=s[uC[u]];Error.captureStackTrace&&Error.captureStackTrace(this,lC);try{r&&(this.lineNumber=n,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:o,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=o,this.endColumn=a))}catch{}}lC.prototype=new Error;$b.default=lC;uB.exports=$b.default});var cB=ne((Nb,lB)=>{"use strict";Nb.__esModule=!0;var cC=zr();Nb.default=function(e){e.registerHelper("blockHelperMissing",function(t,r){var n=r.inverse,i=r.fn;if(t===!0)return i(this);if(t===!1||t==null)return n(this);if(cC.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):n(this);if(r.data&&r.ids){var o=cC.createFrame(r.data);o.contextPath=cC.appendContextPath(r.data.contextPath,r.name),r={data:o}}return i(t,r)})};lB.exports=Nb.default});var pB=ne((Bb,fB)=>{"use strict";function fC(e){"@babel/helpers - typeof";return fC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fC(e)}Bb.__esModule=!0;function vve(e){return e&&e.__esModule?e:{default:e}}var Fh=zr(),xve=ui(),wve=vve(xve);Bb.default=function(e){e.registerHelper("each",function(t,r){if(!r)throw new wve.default("Must pass iterator to #each");var n=r.fn,i=r.inverse,o=0,a="",s=void 0,u=void 0;r.data&&r.ids&&(u=Fh.appendContextPath(r.data.contextPath,r.ids[0])+"."),Fh.isFunction(t)&&(t=t.call(this)),r.data&&(s=Fh.createFrame(r.data));function l(v,w,C){s&&(s.key=v,s.index=w,s.first=w===0,s.last=!!C,u&&(s.contextPath=u+v)),a=a+n(t[v],{data:s,blockParams:Fh.blockParams([t[v],v],[u+v,null])})}if(t&&fC(t)==="object")if(Fh.isArray(t))for(var f=t.length;o<f;o++)o in t&&l(o,o,o===t.length-1);else if(typeof Symbol=="function"&&t[Symbol.iterator]){for(var p=[],m=t[Symbol.iterator](),b=m.next();!b.done;b=m.next())p.push(b.value);t=p;for(var f=t.length;o<f;o++)l(o,o,o===t.length-1)}else(function(){var v=void 0;Object.keys(t).forEach(function(w){v!==void 0&&l(v,o-1),v=w,o++}),v!==void 0&&l(v,o-1,!0)})();return o===0&&(a=i(this)),a})};fB.exports=Bb.default});var dB=ne((jb,hB)=>{"use strict";jb.__esModule=!0;function kve(e){return e&&e.__esModule?e:{default:e}}var Sve=ui(),_ve=kve(Sve);jb.default=function(e){e.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new _ve.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};hB.exports=jb.default});var yB=ne((Mb,bB)=>{"use strict";Mb.__esModule=!0;function Cve(e){return e&&e.__esModule?e:{default:e}}var mB=zr(),Eve=ui(),gB=Cve(Eve);Mb.default=function(e){e.registerHelper("if",function(t,r){if(arguments.length!=2)throw new gB.default("#if requires exactly one argument");return mB.isFunction(t)&&(t=t.call(this)),!r.hash.includeZero&&!t||mB.isEmpty(t)?r.inverse(this):r.fn(this)}),e.registerHelper("unless",function(t,r){if(arguments.length!=2)throw new gB.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};bB.exports=Mb.default});var xB=ne((qb,vB)=>{"use strict";qb.__esModule=!0;qb.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)t.push(arguments[n]);var i=1;r.hash.level!=null?i=r.hash.level:r.data&&r.data.level!=null&&(i=r.data.level),t[0]=i,e.log.apply(e,t)})};vB.exports=qb.default});var kB=ne((Vb,wB)=>{"use strict";Vb.__esModule=!0;Vb.default=function(e){e.registerHelper("lookup",function(t,r,n){return t&&n.lookupProperty(t,r)})};wB.exports=Vb.default});var _B=ne((Ub,SB)=>{"use strict";Ub.__esModule=!0;function Ave(e){return e&&e.__esModule?e:{default:e}}var Ih=zr(),Dve=ui(),Pve=Ave(Dve);Ub.default=function(e){e.registerHelper("with",function(t,r){if(arguments.length!=2)throw new Pve.default("#with requires exactly one argument");Ih.isFunction(t)&&(t=t.call(this));var n=r.fn;if(Ih.isEmpty(t))return r.inverse(this);var i=r.data;return r.data&&r.ids&&(i=Ih.createFrame(r.data),i.contextPath=Ih.appendContextPath(r.data.contextPath,r.ids[0])),n(t,{data:i,blockParams:Ih.blockParams([t],[i&&i.contextPath])})})};SB.exports=Ub.default});var pC=ne(zb=>{"use strict";zb.__esModule=!0;zb.registerDefaultHelpers=zve;zb.moveHelperToHooks=Wve;function Cu(e){return e&&e.__esModule?e:{default:e}}var Ove=cB(),Tve=Cu(Ove),Rve=pB(),Fve=Cu(Rve),Ive=dB(),Lve=Cu(Ive),$ve=yB(),Nve=Cu($ve),Bve=xB(),jve=Cu(Bve),Mve=kB(),qve=Cu(Mve),Vve=_B(),Uve=Cu(Vve);function zve(e){Tve.default(e),Fve.default(e),Lve.default(e),Nve.default(e),jve.default(e),qve.default(e),Uve.default(e)}function Wve(e,t,r){e.helpers[t]&&(e.hooks[t]=e.helpers[t],r||delete e.helpers[t])}});var EB=ne((Wb,CB)=>{"use strict";Wb.__esModule=!0;var Hve=zr();Wb.default=function(e){e.registerDecorator("inline",function(t,r,n,i){var o=t;return r.partials||(r.partials={},o=function(s,u){var l=n.partials;n.partials=Hve.extend({},l,r.partials);var f=t(s,u);return n.partials=l,f}),r.partials[i.args[0]]=i.fn,o})};CB.exports=Wb.default});var AB=ne(hC=>{"use strict";hC.__esModule=!0;hC.registerDefaultDecorators=Qve;function Gve(e){return e&&e.__esModule?e:{default:e}}var Kve=EB(),Yve=Gve(Kve);function Qve(e){Yve.default(e)}});var dC=ne((Hb,DB)=>{"use strict";Hb.__esModule=!0;var Xve=zr(),gc={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if(typeof t=="string"){var r=Xve.indexOf(gc.methodMap,t.toLowerCase());r>=0?t=r:t=parseInt(t,10)}return t},log:function(t){if(t=gc.lookupLevel(t),typeof console<"u"&&gc.lookupLevel(gc.level)<=t){var r=gc.methodMap[t];console[r]||(r="log");for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];console[r].apply(console,i)}}};Hb.default=gc;DB.exports=Hb.default});var PB=ne(mC=>{"use strict";mC.__esModule=!0;mC.createNewLookupObject=Zve;var Jve=zr();function Zve(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Jve.extend.apply(void 0,[Object.create(null)].concat(t))}});var gC=ne(Lh=>{"use strict";Lh.__esModule=!0;Lh.createProtoAccessControl=n1e;Lh.resultIsAllowed=i1e;Lh.resetLoggedProperties=a1e;function e1e(e){return e&&e.__esModule?e:{default:e}}var OB=PB(),t1e=dC(),r1e=e1e(t1e),Gb=Object.create(null);function n1e(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var r=Object.create(null);return r.__proto__=!1,{properties:{whitelist:OB.createNewLookupObject(r,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:OB.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function i1e(e,t,r){return TB(typeof e=="function"?t.methods:t.properties,r)}function TB(e,t){return e.whitelist[t]!==void 0?e.whitelist[t]===!0:e.defaultValue!==void 0?e.defaultValue:(o1e(t),!1)}function o1e(e){Gb[e]!==!0&&(Gb[e]=!0,r1e.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+`" because it is not an "own property" of its parent.
|
|
2
556
|
You can add a runtime option to disable the check or this warning:
|
|
3
|
-
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function
|
|
4
|
-
`),
|
|
5
|
-
`)}return h}else throw new G.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(u,l,s){if(!u||!(l in u))throw new G.default('"'+l+'" not defined in '+u,{loc:s});return i.lookupProperty(u,l)},lookupProperty:function(u,l){var s=u[l];if(s==null||Object.prototype.hasOwnProperty.call(u,l)||Nn.resultIsAllowed(s,i.protoAccessControl,l))return s},lookup:function(u,l){for(var s=u.length,h=0;h<s;h++){var c=u[h]&&i.lookupProperty(u[h],l);if(c!=null)return u[h][l]}},lambda:function(u,l){return typeof u=="function"?u.call(l):u},escapeExpression:W.escapeExpression,invokePartial:n,fn:function(u){var l=t[u];return l.decorator=t[u+"_d"],l},programs:[],program:function(u,l,s,h,c){var p=this.programs[u],f=this.fn(u);return l||c||h||s?p=ft(this,u,f,l,s,h,c):p||(p=this.programs[u]=ft(this,u,f)),p},data:function(u,l){for(;u&&l--;)u=u._parent;return u},mergeIfNeeded:function(u,l){var s=u||l;return u&&l&&u!==l&&(s=W.extend({},l,u)),s},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function o(a){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=u.data;o._setup(u),!u.partial&&t.useData&&(l=Za(a,l));var s=void 0,h=t.useBlockParams?[]:void 0;t.useDepths&&(u.depths?s=a!=u.depths[0]?[a].concat(u.depths):u.depths:s=[a]);function c(p){return""+t.main(i,p,i.helpers,i.partials,l,h,s)}return c=Dn(t.main,c,i,u.depths||[],l,h),c(a,u)}return o.isTop=!0,o._setup=function(a){if(a.partial)i.protoAccessControl=a.protoAccessControl,i.helpers=a.helpers,i.partials=a.partials,i.decorators=a.decorators,i.hooks=a.hooks;else{var u=W.extend({},e.helpers,a.helpers);Xa(u,i),i.helpers=u,t.usePartial&&(i.partials=i.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=W.extend({},e.decorators,a.decorators)),i.hooks={},i.protoAccessControl=Nn.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;In.moveHelperToHooks(i,"helperMissing",l),In.moveHelperToHooks(i,"blockHelperMissing",l)}},o._child=function(a,u,l,s){if(t.useBlockParams&&!l)throw new G.default("must pass block params");if(t.useDepths&&!s)throw new G.default("must pass parent depths");return ft(i,a,t[a],u,0,l,s)},o}function ft(t,e,r,n,i,o,a){function u(l){var s=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],h=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(h=[l].concat(a)),r(t,l,t.helpers,t.partials,s.data||n,o&&[s.blockParams].concat(o),h)}return u=Dn(r,u,t,a,n,o),u.program=e,u.depth=a?a.length:0,u.blockParams=i||0,u}function Qa(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=r.partials[t]):r.name==="@partial-block"?t=r.data["partial-block"]:t=r.partials[r.name],t}function Ya(t,e,r){var n=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var i=void 0;if(r.fn&&r.fn!==Rn&&function(){r.data=K.createFrame(r.data);var o=r.fn;i=r.data["partial-block"]=function(u){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=K.createFrame(l.data),l.data["partial-block"]=n,o(u,l)},o.partials&&(r.partials=W.extend({},r.partials,o.partials))}(),t===void 0&&i&&(t=i),t===void 0)throw new G.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function Rn(){return""}function Za(t,e){return(!e||!("root"in e))&&(e=e?K.createFrame(e):{},e.root=t),e}function Dn(t,e,r,n,i,o){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],i,o,n),W.extend(e,a)}return e}function Xa(t,e){Object.keys(t).forEach(function(r){var n=t[r];t[r]=$a(n,e)})}function $a(t,e){var r=e.lookupProperty;return Ka.wrapHelper(t,function(n){return W.extend({lookupProperty:r},n)})}});var cr=m((dt,Bn)=>{"use strict";function lr(t){"@babel/helpers - typeof";return lr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lr(t)}dt.__esModule=!0;dt.default=function(t){(function(){(typeof globalThis>"u"?"undefined":lr(globalThis))!=="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};Bn.exports=dt.default});var Vn=m((gt,jn)=>{"use strict";gt.__esModule=!0;function pr(t){return t&&t.__esModule?t:{default:t}}function fr(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}var es=ht(),qn=fr(es),ts=Mn(),rs=pr(ts),ns=B(),is=pr(ns),os=x(),hr=fr(os),as=Tn(),Hn=fr(as),ss=cr(),us=pr(ss);function Fn(){var t=new qn.HandlebarsEnvironment;return hr.extend(t,qn),t.SafeString=rs.default,t.Exception=is.default,t.Utils=hr,t.escapeExpression=hr.escapeExpression,t.VM=Hn,t.template=function(e){return Hn.template(e,t)},t}var Te=Fn();Te.create=Fn;us.default(Te);Te.default=Te;gt.default=Te;jn.exports=gt.default});var dr=m((mt,Wn)=>{"use strict";mt.__esModule=!0;var Un={helpers:{helperExpression:function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return e.parts.length===1&&!Un.helpers.scopedId(e)&&!e.depth}}};mt.default=Un;Wn.exports=mt.default});var Kn=m((vt,Gn)=>{"use strict";vt.__esModule=!0;var ls=function(){var t={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(i,o,a,u,l,s,h){var c=s.length-1;switch(l){case 1:return s[c-1];case 2:this.$=u.prepareProgram(s[c]);break;case 3:this.$=s[c];break;case 4:this.$=s[c];break;case 5:this.$=s[c];break;case 6:this.$=s[c];break;case 7:this.$=s[c];break;case 8:this.$=s[c];break;case 9:this.$={type:"CommentStatement",value:u.stripComment(s[c]),strip:u.stripFlags(s[c],s[c]),loc:u.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:s[c],value:s[c],loc:u.locInfo(this._$)};break;case 11:this.$=u.prepareRawBlock(s[c-2],s[c-1],s[c],this._$);break;case 12:this.$={path:s[c-3],params:s[c-2],hash:s[c-1]};break;case 13:this.$=u.prepareBlock(s[c-3],s[c-2],s[c-1],s[c],!1,this._$);break;case 14:this.$=u.prepareBlock(s[c-3],s[c-2],s[c-1],s[c],!0,this._$);break;case 15:this.$={open:s[c-5],path:s[c-4],params:s[c-3],hash:s[c-2],blockParams:s[c-1],strip:u.stripFlags(s[c-5],s[c])};break;case 16:this.$={path:s[c-4],params:s[c-3],hash:s[c-2],blockParams:s[c-1],strip:u.stripFlags(s[c-5],s[c])};break;case 17:this.$={path:s[c-4],params:s[c-3],hash:s[c-2],blockParams:s[c-1],strip:u.stripFlags(s[c-5],s[c])};break;case 18:this.$={strip:u.stripFlags(s[c-1],s[c-1]),program:s[c]};break;case 19:var p=u.prepareBlock(s[c-2],s[c-1],s[c],s[c],!1,this._$),f=u.prepareProgram([p],s[c-1].loc);f.chained=!0,this.$={strip:s[c-2].strip,program:f,chain:!0};break;case 20:this.$=s[c];break;case 21:this.$={path:s[c-1],strip:u.stripFlags(s[c-2],s[c])};break;case 22:this.$=u.prepareMustache(s[c-3],s[c-2],s[c-1],s[c-4],u.stripFlags(s[c-4],s[c]),this._$);break;case 23:this.$=u.prepareMustache(s[c-3],s[c-2],s[c-1],s[c-4],u.stripFlags(s[c-4],s[c]),this._$);break;case 24:this.$={type:"PartialStatement",name:s[c-3],params:s[c-2],hash:s[c-1],indent:"",strip:u.stripFlags(s[c-4],s[c]),loc:u.locInfo(this._$)};break;case 25:this.$=u.preparePartialBlock(s[c-2],s[c-1],s[c],this._$);break;case 26:this.$={path:s[c-3],params:s[c-2],hash:s[c-1],strip:u.stripFlags(s[c-4],s[c])};break;case 27:this.$=s[c];break;case 28:this.$=s[c];break;case 29:this.$={type:"SubExpression",path:s[c-3],params:s[c-2],hash:s[c-1],loc:u.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:s[c],loc:u.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:u.id(s[c-2]),value:s[c],loc:u.locInfo(this._$)};break;case 32:this.$=u.id(s[c-1]);break;case 33:this.$=s[c];break;case 34:this.$=s[c];break;case 35:this.$={type:"StringLiteral",value:s[c],original:s[c],loc:u.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(s[c]),original:Number(s[c]),loc:u.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:s[c]==="true",original:s[c]==="true",loc:u.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:u.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:u.locInfo(this._$)};break;case 40:this.$=s[c];break;case 41:this.$=s[c];break;case 42:this.$=u.preparePath(!0,s[c],this._$);break;case 43:this.$=u.preparePath(!1,s[c],this._$);break;case 44:s[c-2].push({part:u.id(s[c]),original:s[c],separator:s[c-1]}),this.$=s[c-2];break;case 45:this.$=[{part:u.id(s[c]),original:s[c]}];break;case 46:this.$=[];break;case 47:s[c-1].push(s[c]);break;case 48:this.$=[];break;case 49:s[c-1].push(s[c]);break;case 50:this.$=[];break;case 51:s[c-1].push(s[c]);break;case 58:this.$=[];break;case 59:s[c-1].push(s[c]);break;case 64:this.$=[];break;case 65:s[c-1].push(s[c]);break;case 70:this.$=[];break;case 71:s[c-1].push(s[c]);break;case 78:this.$=[];break;case 79:s[c-1].push(s[c]);break;case 82:this.$=[];break;case 83:s[c-1].push(s[c]);break;case 86:this.$=[];break;case 87:s[c-1].push(s[c]);break;case 90:this.$=[];break;case 91:s[c-1].push(s[c]);break;case 94:this.$=[];break;case 95:s[c-1].push(s[c]);break;case 98:this.$=[s[c]];break;case 99:s[c-1].push(s[c]);break;case 100:this.$=[s[c]];break;case 101:s[c-1].push(s[c]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(i,o){throw new Error(i)},parse:function(i){var o=this,a=[0],u=[null],l=[],s=this.table,h="",c=0,p=0,f=0,v=2,y=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var _=this.lexer.yylloc;l.push(_);var g=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function b(M){a.length=a.length-2*M,u.length=u.length-M,l.length=l.length-M}function D(){var M;return M=o.lexer.lex()||1,typeof M!="number"&&(M=o.symbols_[M]||M),M}for(var k,I,C,O,he,Ae,Y={},pe,T,$,ee;;){if(C=a[a.length-1],this.defaultActions[C]?O=this.defaultActions[C]:((k===null||typeof k>"u")&&(k=D()),O=s[C]&&s[C][k]),typeof O>"u"||!O.length||!O[0]){var te="";if(!f){ee=[];for(pe in s[C])this.terminals_[pe]&&pe>2&&ee.push("'"+this.terminals_[pe]+"'");this.lexer.showPosition?te="Parse error on line "+(c+1)+`:
|
|
557
|
+
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function a1e(){Object.keys(Gb).forEach(function(e){delete Gb[e]})}});var Yb=ne(fo=>{"use strict";fo.__esModule=!0;fo.HandlebarsEnvironment=vC;function RB(e){return e&&e.__esModule?e:{default:e}}var Eu=zr(),s1e=ui(),bC=RB(s1e),u1e=pC(),l1e=AB(),c1e=dC(),Kb=RB(c1e),f1e=gC(),p1e="4.7.8";fo.VERSION=p1e;var h1e=8;fo.COMPILER_REVISION=h1e;var d1e=7;fo.LAST_COMPATIBLE_COMPILER_REVISION=d1e;var m1e={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};fo.REVISION_CHANGES=m1e;var yC="[object Object]";function vC(e,t,r){this.helpers=e||{},this.partials=t||{},this.decorators=r||{},u1e.registerDefaultHelpers(this),l1e.registerDefaultDecorators(this)}vC.prototype={constructor:vC,logger:Kb.default,log:Kb.default.log,registerHelper:function(t,r){if(Eu.toString.call(t)===yC){if(r)throw new bC.default("Arg not supported with multiple helpers");Eu.extend(this.helpers,t)}else this.helpers[t]=r},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,r){if(Eu.toString.call(t)===yC)Eu.extend(this.partials,t);else{if(typeof r>"u")throw new bC.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=r}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,r){if(Eu.toString.call(t)===yC){if(r)throw new bC.default("Arg not supported with multiple decorators");Eu.extend(this.decorators,t)}else this.decorators[t]=r},unregisterDecorator:function(t){delete this.decorators[t]},resetLoggedPropertyAccesses:function(){f1e.resetLoggedProperties()}};var g1e=Kb.default.log;fo.log=g1e;fo.createFrame=Eu.createFrame;fo.logger=Kb.default});var IB=ne((Qb,FB)=>{"use strict";Qb.__esModule=!0;function xC(e){this.string=e}xC.prototype.toString=xC.prototype.toHTML=function(){return""+this.string};Qb.default=xC;FB.exports=Qb.default});var LB=ne(wC=>{"use strict";wC.__esModule=!0;wC.wrapHelper=b1e;function b1e(e,t){if(typeof e!="function")return e;var r=function(){var i=arguments[arguments.length-1];return arguments[arguments.length-1]=t(i),e.apply(this,arguments)};return r}});var MB=ne(os=>{"use strict";function kC(e){"@babel/helpers - typeof";return kC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kC(e)}os.__esModule=!0;os.checkRevision=S1e;os.template=_1e;os.wrapProgram=Xb;os.resolvePartial=C1e;os.invokePartial=E1e;os.noop=BB;function y1e(e){return e&&e.__esModule?e:{default:e}}function v1e(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var x1e=zr(),la=v1e(x1e),w1e=ui(),ca=y1e(w1e),fa=Yb(),$B=pC(),k1e=LB(),NB=gC();function S1e(e){var t=e&&e[0]||1,r=fa.COMPILER_REVISION;if(!(t>=fa.LAST_COMPATIBLE_COMPILER_REVISION&&t<=fa.COMPILER_REVISION))if(t<fa.LAST_COMPATIBLE_COMPILER_REVISION){var n=fa.REVISION_CHANGES[r],i=fa.REVISION_CHANGES[t];throw new ca.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+i+").")}else throw new ca.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}function _1e(e,t){if(!t)throw new ca.default("No environment passed to template");if(!e||!e.main)throw new ca.default("Unknown template object: "+kC(e));e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var r=e.compiler&&e.compiler[0]===7;function n(a,s,u){u.hash&&(s=la.extend({},s,u.hash),u.ids&&(u.ids[0]=!0)),a=t.VM.resolvePartial.call(this,a,s,u);var l=la.extend({},u,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),f=t.VM.invokePartial.call(this,a,s,l);if(f==null&&t.compile&&(u.partials[u.name]=t.compile(a,e.compilerOptions,t),f=u.partials[u.name](s,l)),f!=null){if(u.indent){for(var p=f.split(`
|
|
558
|
+
`),m=0,b=p.length;m<b&&!(!p[m]&&m+1===b);m++)p[m]=u.indent+p[m];f=p.join(`
|
|
559
|
+
`)}return f}else throw new ca.default("The partial "+u.name+" could not be compiled when running in runtime-only mode")}var i={strict:function(s,u,l){if(!s||!(u in s))throw new ca.default('"'+u+'" not defined in '+s,{loc:l});return i.lookupProperty(s,u)},lookupProperty:function(s,u){var l=s[u];if(l==null||Object.prototype.hasOwnProperty.call(s,u)||NB.resultIsAllowed(l,i.protoAccessControl,u))return l},lookup:function(s,u){for(var l=s.length,f=0;f<l;f++){var p=s[f]&&i.lookupProperty(s[f],u);if(p!=null)return s[f][u]}},lambda:function(s,u){return typeof s=="function"?s.call(u):s},escapeExpression:la.escapeExpression,invokePartial:n,fn:function(s){var u=e[s];return u.decorator=e[s+"_d"],u},programs:[],program:function(s,u,l,f,p){var m=this.programs[s],b=this.fn(s);return u||p||f||l?m=Xb(this,s,b,u,l,f,p):m||(m=this.programs[s]=Xb(this,s,b)),m},data:function(s,u){for(;s&&u--;)s=s._parent;return s},mergeIfNeeded:function(s,u){var l=s||u;return s&&u&&s!==u&&(l=la.extend({},u,s)),l},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function o(a){var s=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=s.data;o._setup(s),!s.partial&&e.useData&&(u=A1e(a,u));var l=void 0,f=e.useBlockParams?[]:void 0;e.useDepths&&(s.depths?l=a!=s.depths[0]?[a].concat(s.depths):s.depths:l=[a]);function p(m){return""+e.main(i,m,i.helpers,i.partials,u,f,l)}return p=jB(e.main,p,i,s.depths||[],u,f),p(a,s)}return o.isTop=!0,o._setup=function(a){if(a.partial)i.protoAccessControl=a.protoAccessControl,i.helpers=a.helpers,i.partials=a.partials,i.decorators=a.decorators,i.hooks=a.hooks;else{var s=la.extend({},t.helpers,a.helpers);D1e(s,i),i.helpers=s,e.usePartial&&(i.partials=i.mergeIfNeeded(a.partials,t.partials)),(e.usePartial||e.useDecorators)&&(i.decorators=la.extend({},t.decorators,a.decorators)),i.hooks={},i.protoAccessControl=NB.createProtoAccessControl(a);var u=a.allowCallsToHelperMissing||r;$B.moveHelperToHooks(i,"helperMissing",u),$B.moveHelperToHooks(i,"blockHelperMissing",u)}},o._child=function(a,s,u,l){if(e.useBlockParams&&!u)throw new ca.default("must pass block params");if(e.useDepths&&!l)throw new ca.default("must pass parent depths");return Xb(i,a,e[a],s,0,u,l)},o}function Xb(e,t,r,n,i,o,a){function s(u){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],f=a;return a&&u!=a[0]&&!(u===e.nullContext&&a[0]===null)&&(f=[u].concat(a)),r(e,u,e.helpers,e.partials,l.data||n,o&&[l.blockParams].concat(o),f)}return s=jB(r,s,e,a,n,o),s.program=t,s.depth=a?a.length:0,s.blockParams=i||0,s}function C1e(e,t,r){return e?!e.call&&!r.name&&(r.name=e,e=r.partials[e]):r.name==="@partial-block"?e=r.data["partial-block"]:e=r.partials[r.name],e}function E1e(e,t,r){var n=r.data&&r.data["partial-block"];r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var i=void 0;if(r.fn&&r.fn!==BB&&function(){r.data=fa.createFrame(r.data);var o=r.fn;i=r.data["partial-block"]=function(s){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return u.data=fa.createFrame(u.data),u.data["partial-block"]=n,o(s,u)},o.partials&&(r.partials=la.extend({},r.partials,o.partials))}(),e===void 0&&i&&(e=i),e===void 0)throw new ca.default("The partial "+r.name+" could not be found");if(e instanceof Function)return e(t,r)}function BB(){return""}function A1e(e,t){return(!t||!("root"in t))&&(t=t?fa.createFrame(t):{},t.root=e),t}function jB(e,t,r,n,i,o){if(e.decorator){var a={};t=e.decorator(t,a,r,n&&n[0],i,o,n),la.extend(t,a)}return t}function D1e(e,t){Object.keys(e).forEach(function(r){var n=e[r];e[r]=P1e(n,t)})}function P1e(e,t){var r=t.lookupProperty;return k1e.wrapHelper(e,function(n){return la.extend({lookupProperty:r},n)})}});var _C=ne((Jb,qB)=>{"use strict";function SC(e){"@babel/helpers - typeof";return SC=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},SC(e)}Jb.__esModule=!0;Jb.default=function(e){(function(){(typeof globalThis>"u"?"undefined":SC(globalThis))!=="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}};qB.exports=Jb.default});var HB=ne((Zb,WB)=>{"use strict";Zb.__esModule=!0;function EC(e){return e&&e.__esModule?e:{default:e}}function AC(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var O1e=Yb(),VB=AC(O1e),T1e=IB(),R1e=EC(T1e),F1e=ui(),I1e=EC(F1e),L1e=zr(),CC=AC(L1e),$1e=MB(),UB=AC($1e),N1e=_C(),B1e=EC(N1e);function zB(){var e=new VB.HandlebarsEnvironment;return CC.extend(e,VB),e.SafeString=R1e.default,e.Exception=I1e.default,e.Utils=CC,e.escapeExpression=CC.escapeExpression,e.VM=UB,e.template=function(t){return UB.template(t,e)},e}var $h=zB();$h.create=zB;B1e.default($h);$h.default=$h;Zb.default=$h;WB.exports=Zb.default});var DC=ne((ey,KB)=>{"use strict";ey.__esModule=!0;var GB={helpers:{helperExpression:function(t){return t.type==="SubExpression"||(t.type==="MustacheStatement"||t.type==="BlockStatement")&&!!(t.params&&t.params.length||t.hash)},scopedId:function(t){return/^\.|this\b/.test(t.original)},simpleId:function(t){return t.parts.length===1&&!GB.helpers.scopedId(t)&&!t.depth}}};ey.default=GB;KB.exports=ey.default});var QB=ne((ty,YB)=>{"use strict";ty.__esModule=!0;var j1e=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(i,o,a,s,u,l,f){var p=l.length-1;switch(u){case 1:return l[p-1];case 2:this.$=s.prepareProgram(l[p]);break;case 3:this.$=l[p];break;case 4:this.$=l[p];break;case 5:this.$=l[p];break;case 6:this.$=l[p];break;case 7:this.$=l[p];break;case 8:this.$=l[p];break;case 9:this.$={type:"CommentStatement",value:s.stripComment(l[p]),strip:s.stripFlags(l[p],l[p]),loc:s.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[p],value:l[p],loc:s.locInfo(this._$)};break;case 11:this.$=s.prepareRawBlock(l[p-2],l[p-1],l[p],this._$);break;case 12:this.$={path:l[p-3],params:l[p-2],hash:l[p-1]};break;case 13:this.$=s.prepareBlock(l[p-3],l[p-2],l[p-1],l[p],!1,this._$);break;case 14:this.$=s.prepareBlock(l[p-3],l[p-2],l[p-1],l[p],!0,this._$);break;case 15:this.$={open:l[p-5],path:l[p-4],params:l[p-3],hash:l[p-2],blockParams:l[p-1],strip:s.stripFlags(l[p-5],l[p])};break;case 16:this.$={path:l[p-4],params:l[p-3],hash:l[p-2],blockParams:l[p-1],strip:s.stripFlags(l[p-5],l[p])};break;case 17:this.$={path:l[p-4],params:l[p-3],hash:l[p-2],blockParams:l[p-1],strip:s.stripFlags(l[p-5],l[p])};break;case 18:this.$={strip:s.stripFlags(l[p-1],l[p-1]),program:l[p]};break;case 19:var m=s.prepareBlock(l[p-2],l[p-1],l[p],l[p],!1,this._$),b=s.prepareProgram([m],l[p-1].loc);b.chained=!0,this.$={strip:l[p-2].strip,program:b,chain:!0};break;case 20:this.$=l[p];break;case 21:this.$={path:l[p-1],strip:s.stripFlags(l[p-2],l[p])};break;case 22:this.$=s.prepareMustache(l[p-3],l[p-2],l[p-1],l[p-4],s.stripFlags(l[p-4],l[p]),this._$);break;case 23:this.$=s.prepareMustache(l[p-3],l[p-2],l[p-1],l[p-4],s.stripFlags(l[p-4],l[p]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[p-3],params:l[p-2],hash:l[p-1],indent:"",strip:s.stripFlags(l[p-4],l[p]),loc:s.locInfo(this._$)};break;case 25:this.$=s.preparePartialBlock(l[p-2],l[p-1],l[p],this._$);break;case 26:this.$={path:l[p-3],params:l[p-2],hash:l[p-1],strip:s.stripFlags(l[p-4],l[p])};break;case 27:this.$=l[p];break;case 28:this.$=l[p];break;case 29:this.$={type:"SubExpression",path:l[p-3],params:l[p-2],hash:l[p-1],loc:s.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[p],loc:s.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:s.id(l[p-2]),value:l[p],loc:s.locInfo(this._$)};break;case 32:this.$=s.id(l[p-1]);break;case 33:this.$=l[p];break;case 34:this.$=l[p];break;case 35:this.$={type:"StringLiteral",value:l[p],original:l[p],loc:s.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[p]),original:Number(l[p]),loc:s.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[p]==="true",original:l[p]==="true",loc:s.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:s.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:s.locInfo(this._$)};break;case 40:this.$=l[p];break;case 41:this.$=l[p];break;case 42:this.$=s.preparePath(!0,l[p],this._$);break;case 43:this.$=s.preparePath(!1,l[p],this._$);break;case 44:l[p-2].push({part:s.id(l[p]),original:l[p],separator:l[p-1]}),this.$=l[p-2];break;case 45:this.$=[{part:s.id(l[p]),original:l[p]}];break;case 46:this.$=[];break;case 47:l[p-1].push(l[p]);break;case 48:this.$=[];break;case 49:l[p-1].push(l[p]);break;case 50:this.$=[];break;case 51:l[p-1].push(l[p]);break;case 58:this.$=[];break;case 59:l[p-1].push(l[p]);break;case 64:this.$=[];break;case 65:l[p-1].push(l[p]);break;case 70:this.$=[];break;case 71:l[p-1].push(l[p]);break;case 78:this.$=[];break;case 79:l[p-1].push(l[p]);break;case 82:this.$=[];break;case 83:l[p-1].push(l[p]);break;case 86:this.$=[];break;case 87:l[p-1].push(l[p]);break;case 90:this.$=[];break;case 91:l[p-1].push(l[p]);break;case 94:this.$=[];break;case 95:l[p-1].push(l[p]);break;case 98:this.$=[l[p]];break;case 99:l[p-1].push(l[p]);break;case 100:this.$=[l[p]];break;case 101:l[p-1].push(l[p]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(i,o){throw new Error(i)},parse:function(i){var o=this,a=[0],s=[null],u=[],l=this.table,f="",p=0,m=0,b=0,v=2,w=1;this.lexer.setInput(i),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var C=this.lexer.yylloc;u.push(C);var P=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function A(Z){a.length=a.length-2*Z,s.length=s.length-Z,u.length=u.length-Z}function E(){var Z;return Z=o.lexer.lex()||1,typeof Z!="number"&&(Z=o.symbols_[Z]||Z),Z}for(var y,L,I,T,N,X,se={},ie,te,Ee,W;;){if(I=a[a.length-1],this.defaultActions[I]?T=this.defaultActions[I]:((y===null||typeof y>"u")&&(y=E()),T=l[I]&&l[I][y]),typeof T>"u"||!T.length||!T[0]){var G="";if(!b){W=[];for(ie in l[I])this.terminals_[ie]&&ie>2&&W.push("'"+this.terminals_[ie]+"'");this.lexer.showPosition?G="Parse error on line "+(p+1)+`:
|
|
6
560
|
`+this.lexer.showPosition()+`
|
|
7
|
-
Expecting `+
|
|
8
|
-
`+a+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,a,u,l,
|
|
9
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return typeof o<"u"?o:this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(o){this.begin(o)}};return n.options={},n.performAction=function(o,a,u,l){function s(c,p){return a.yytext=a.yytext.substring(c,a.yyleng-p+c)}var h=l;switch(u){case 0:if(a.yytext.slice(-2)==="\\\\"?(s(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(s(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(s(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=s(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=s(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();t.lexer=e;function r(){this.yy={}}return r.prototype=t,t.Parser=r,new r}();vt.default=ls;Gn.exports=vt.default});var St=m((bt,Qn)=>{"use strict";bt.__esModule=!0;function cs(t){return t&&t.__esModule?t:{default:t}}var hs=B(),gr=cs(hs);function yt(){this.parents=[]}yt.prototype={constructor:yt,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!yt.prototype[n.type])throw new gr.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new gr.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},accept:function(e){if(e){if(!this[e.type])throw new gr.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:_t,Decorator:_t,BlockStatement:zn,DecoratorBlock:zn,PartialStatement:Jn,PartialBlockStatement:function(e){Jn.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:_t,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}};function _t(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function zn(t){_t.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function Jn(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}bt.default=yt;Qn.exports=bt.default});var Zn=m((Pt,Yn)=>{"use strict";Pt.__esModule=!0;function ps(t){return t&&t.__esModule?t:{default:t}}var fs=St(),ds=ps(fs);function U(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}U.prototype=new ds.default;U.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,i=0,o=n.length;i<o;i++){var a=n[i],u=this.accept(a);if(u){var l=mr(n,i,r),s=vr(n,i,r),h=u.openStandalone&&l,c=u.closeStandalone&&s,p=u.inlineStandalone&&l&&s;u.close&&ie(n,i,!0),u.open&&X(n,i,!0),e&&p&&(ie(n,i),X(n,i)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),e&&h&&(ie((a.program||a.inverse).body),X(n,i)),e&&c&&(ie(n,i),X((a.inverse||a.program).body))}}return t};U.prototype.BlockStatement=U.prototype.DecoratorBlock=U.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,i=r;if(r&&r.chained)for(n=r.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var o={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:vr(e.body),closeStandalone:mr((n||e).body)};if(t.openStrip.close&&ie(e.body,null,!0),r){var a=t.inverseStrip;a.open&&X(e.body,null,!0),a.close&&ie(n.body,null,!0),t.closeStrip.open&&X(i.body,null,!0),!this.options.ignoreStandalone&&mr(e.body)&&vr(n.body)&&(X(e.body),ie(n.body))}else t.closeStrip.open&&X(e.body,null,!0);return o};U.prototype.Decorator=U.prototype.MustacheStatement=function(t){return t.strip};U.prototype.PartialStatement=U.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function mr(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],i=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function vr(t,e,r){e===void 0&&(e=-1);var n=t[e+1],i=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function ie(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var i=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==i}}function X(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var i=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==i,n.leftStripped}}Pt.default=U;Yn.exports=Pt.default});var Xn=m(q=>{"use strict";q.__esModule=!0;q.SourceLocation=vs;q.id=ys;q.stripFlags=_s;q.stripComment=bs;q.preparePath=Ss;q.prepareMustache=Ps;q.prepareRawBlock=ks;q.prepareBlock=ws;q.prepareProgram=Cs;q.preparePartialBlock=Es;function gs(t){return t&&t.__esModule?t:{default:t}}var ms=B(),yr=gs(ms);function _r(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new yr.default(t.path.original+" doesn't match "+e,r)}}function vs(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}function ys(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function _s(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function bs(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function Ss(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",i=[],o=0,a=0,u=e.length;a<u;a++){var l=e[a].part,s=e[a].original!==l;if(n+=(e[a].separator||"")+l,!s&&(l===".."||l==="."||l==="this")){if(i.length>0)throw new yr.default("Invalid path: "+n,{loc:r});l===".."&&o++}else i.push(l)}return{type:"PathExpression",data:t,depth:o,parts:i,original:n,loc:r}}function Ps(t,e,r,n,i,o){var a=n.charAt(3)||n.charAt(2),u=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:u,strip:i,loc:this.locInfo(o)}}function ks(t,e,r,n){_r(t,r),n=this.locInfo(n);var i={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function ws(t,e,r,n,i,o){n&&n.path&&_r(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var u=void 0,l=void 0;if(r){if(a)throw new yr.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,u=r.program}return i&&(i=u,u=e,e=i),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:u,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(o)}}function Cs(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}function Es(t,e,r,n){return _r(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}});var ti=m(Be=>{"use strict";Be.__esModule=!0;Be.parseWithoutProcessing=ei;Be.parse=Rs;function Ls(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function $n(t){return t&&t.__esModule?t:{default:t}}var Os=Kn(),br=$n(Os),As=Zn(),Ms=$n(As),xs=Xn(),Is=Ls(xs),Ns=x();Be.parser=br.default;var kt={};Ns.extend(kt,Is);function ei(t,e){if(t.type==="Program")return t;br.default.yy=kt,kt.locInfo=function(n){return new kt.SourceLocation(e&&e.srcName,n)};var r=br.default.parse(t);return r}function Rs(t,e){var r=ei(t,e),n=new Ms.default(e);return n.accept(r)}});var oi=m(je=>{"use strict";je.__esModule=!0;je.Compiler=Sr;je.precompile=qs;je.compile=Hs;function ni(t){return t&&t.__esModule?t:{default:t}}var Ds=B(),He=ni(Ds),Fe=x(),Ts=dr(),qe=ni(Ts),Bs=[].slice;function Sr(){}Sr.prototype={compiler:Sr,equals:function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var i=this.opcodes[n],o=e.opcodes[n];if(i.opcode!==o.opcode||!ii(i.args,o.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},guid:0,compile:function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Fe.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},compileProgram:function(e){var r=new this.compiler,n=r.compile(e,this.options),i=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[i]=n,this.useDepths=this.useDepths||n.useDepths,i},accept:function(e){if(!this[e.type])throw new He.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,n=r.length,i=0;i<n;i++)this.accept(r[i]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){ri(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var i=this.classifySexpr(e);i==="helper"?this.helperSexpr(e,r,n):i==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var r=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,r,void 0),i=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.original)},PartialStatement:function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new He.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=e.name.original,o=e.name.type==="SubExpression";o&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",o,i,a),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){ri(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,r,n){var i=e.path,o=i.parts[0],a=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",o,a)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,n){var i=this.setupFullMustacheParams(e,r,n),o=e.path,a=o.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new He.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",i.length,o.original,qe.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=qe.default.helpers.scopedId(e),i=!e.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var r=e.pairs,n=0,i=r.length;for(this.opcode("pushHash");n<i;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:Bs.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=qe.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),i=!n&&qe.default.helpers.helperExpression(e),o=!n&&(i||r);if(o&&!i){var a=e.path.parts[0],u=this.options;u.knownHelpers[a]?i=!0:u.knownHelpersOnly&&(o=!1)}return i?"helper":o?"ambiguous":"simple"},pushParams:function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},pushParam:function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var n=void 0;if(e.parts&&!qe.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var i=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},setupFullMustacheParams:function(e,r,n,i){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",i),o},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var i=this.options.blockParams[r],o=i&&Fe.indexOf(i,e);if(i&&o>=0)return[r,o]}}};function qs(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new He.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=r.parse(t,e),i=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(i,e)}function Hs(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new He.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Fe.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function i(){var a=r.parse(t,e),u=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(u,e,void 0,!0);return r.template(l)}function o(a,u){return n||(n=i()),n.call(this,a,u)}return o._setup=function(a){return n||(n=i()),n._setup(a)},o._child=function(a,u,l,s){return n||(n=i()),n._child(a,u,l,s)},o}function ii(t,e){if(t===e)return!0;if(Fe.isArray(t)&&Fe.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!ii(t[r],e[r]))return!1;return!0}}function ri(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}});var si=m(Pr=>{"use strict";var ai="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Pr.encode=function(t){if(0<=t&&t<ai.length)return ai[t];throw new TypeError("Must be between 0 and 63: "+t)};Pr.decode=function(t){var e=65,r=90,n=97,i=122,o=48,a=57,u=43,l=47,s=26,h=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+s:o<=t&&t<=a?t-o+h:t==u?62:t==l?63:-1}});var Cr=m(wr=>{"use strict";var ui=si(),kr=5,li=1<<kr,ci=li-1,hi=li;function Fs(t){return t<0?(-t<<1)+1:(t<<1)+0}function js(t){var e=(t&1)===1,r=t>>1;return e?-r:r}wr.encode=function(e){var r="",n,i=Fs(e);do n=i&ci,i>>>=kr,i>0&&(n|=hi),r+=ui.encode(n);while(i>0);return r};wr.decode=function(e,r,n){var i=e.length,o=0,a=0,u,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=ui.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));u=!!(l&hi),l&=ci,o=o+(l<<a),a+=kr}while(u);n.value=js(o),n.rest=r}});var ve=m(A=>{"use strict";function Vs(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}A.getArg=Vs;var pi=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Us=/^data:.+\,.+$/;function Ve(t){var e=t.match(pi);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}A.urlParse=Ve;function ge(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}A.urlGenerate=ge;function Er(t){var e=t,r=Ve(t);if(r){if(!r.path)return t;e=r.path}for(var n=A.isAbsolute(e),i=e.split(/\/+/),o,a=0,u=i.length-1;u>=0;u--)o=i[u],o==="."?i.splice(u,1):o===".."?a++:a>0&&(o===""?(i.splice(u+1,a),a=0):(i.splice(u,2),a--));return e=i.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,ge(r)):e}A.normalize=Er;function fi(t,e){t===""&&(t="."),e===""&&(e=".");var r=Ve(e),n=Ve(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),ge(r);if(r||e.match(Us))return e;if(n&&!n.host&&!n.path)return n.host=e,ge(n);var i=e.charAt(0)==="/"?e:Er(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,ge(n)):i}A.join=fi;A.isAbsolute=function(t){return t.charAt(0)==="/"||pi.test(t)};function Ws(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}A.relative=Ws;var di=function(){var t=Object.create(null);return!("__proto__"in t)}();function gi(t){return t}function Gs(t){return mi(t)?"$"+t:t}A.toSetString=di?gi:Gs;function Ks(t){return mi(t)?t.slice(1):t}A.fromSetString=di?gi:Ks;function mi(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function zs(t,e,r){var n=me(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:me(t.name,e.name)}A.compareByOriginalPositions=zs;function Js(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=me(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:me(t.name,e.name)}A.compareByGeneratedPositionsDeflated=Js;function me(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function Qs(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=me(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:me(t.name,e.name)}A.compareByGeneratedPositionsInflated=Qs;function Ys(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}A.parseSourceMapInput=Ys;function Zs(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Ve(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=fi(ge(n),e)}return Er(e)}A.computeSourceURL=Zs});var Ar=m(vi=>{"use strict";var Lr=ve(),Or=Object.prototype.hasOwnProperty,oe=typeof Map<"u";function z(){this._array=[],this._set=oe?new Map:Object.create(null)}z.fromArray=function(e,r){for(var n=new z,i=0,o=e.length;i<o;i++)n.add(e[i],r);return n};z.prototype.size=function(){return oe?this._set.size:Object.getOwnPropertyNames(this._set).length};z.prototype.add=function(e,r){var n=oe?e:Lr.toSetString(e),i=oe?this.has(e):Or.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(e),i||(oe?this._set.set(e,o):this._set[n]=o)};z.prototype.has=function(e){if(oe)return this._set.has(e);var r=Lr.toSetString(e);return Or.call(this._set,r)};z.prototype.indexOf=function(e){if(oe){var r=this._set.get(e);if(r>=0)return r}else{var n=Lr.toSetString(e);if(Or.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};z.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};z.prototype.toArray=function(){return this._array.slice()};vi.ArraySet=z});var bi=m(_i=>{"use strict";var yi=ve();function Xs(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,o=e.generatedColumn;return n>r||n==r&&o>=i||yi.compareByGeneratedPositionsInflated(t,e)<=0}function wt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}wt.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};wt.prototype.add=function(e){Xs(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};wt.prototype.toArray=function(){return this._sorted||(this._array.sort(yi.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};_i.MappingList=wt});var Mr=m(Si=>{"use strict";var Ue=Cr(),E=ve(),Ct=Ar().ArraySet,$s=bi().MappingList;function H(t){t||(t={}),this._file=E.getArg(t,"file",null),this._sourceRoot=E.getArg(t,"sourceRoot",null),this._skipValidation=E.getArg(t,"skipValidation",!1),this._sources=new Ct,this._names=new Ct,this._mappings=new $s,this._sourcesContents=null}H.prototype._version=3;H.fromSourceMap=function(e){var r=e.sourceRoot,n=new H({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=E.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),e.sources.forEach(function(i){var o=i;r!==null&&(o=E.relative(r,i)),n._sources.has(o)||n._sources.add(o);var a=e.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n};H.prototype.addMapping=function(e){var r=E.getArg(e,"generated"),n=E.getArg(e,"original",null),i=E.getArg(e,"source",null),o=E.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};H.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=E.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[E.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[E.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};H.prototype.applySourceMap=function(e,r,n){var i=r;if(r==null){if(e.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=e.file}var o=this._sourceRoot;o!=null&&(i=E.relative(o,i));var a=new Ct,u=new Ct;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var s=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});s.source!=null&&(l.source=s.source,n!=null&&(l.source=E.join(n,l.source)),o!=null&&(l.source=E.relative(o,l.source)),l.originalLine=s.line,l.originalColumn=s.column,s.name!=null&&(l.name=s.name))}var h=l.source;h!=null&&!a.has(h)&&a.add(h);var c=l.name;c!=null&&!u.has(c)&&u.add(c)},this),this._sources=a,this._names=u,e.sources.forEach(function(l){var s=e.sourceContentFor(l);s!=null&&(n!=null&&(l=E.join(n,l)),o!=null&&(l=E.relative(o,l)),this.setSourceContent(l,s))},this)};H.prototype._validateMapping=function(e,r,n,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(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!i)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}};H.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,o=0,a=0,u="",l,s,h,c,p=this._mappings.toArray(),f=0,v=p.length;f<v;f++){if(s=p[f],l="",s.generatedLine!==r)for(e=0;s.generatedLine!==r;)l+=";",r++;else if(f>0){if(!E.compareByGeneratedPositionsInflated(s,p[f-1]))continue;l+=","}l+=Ue.encode(s.generatedColumn-e),e=s.generatedColumn,s.source!=null&&(c=this._sources.indexOf(s.source),l+=Ue.encode(c-a),a=c,l+=Ue.encode(s.originalLine-1-i),i=s.originalLine-1,l+=Ue.encode(s.originalColumn-n),n=s.originalColumn,s.name!=null&&(h=this._names.indexOf(s.name),l+=Ue.encode(h-o),o=h)),u+=l}return u};H.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=E.relative(r,n));var i=E.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};H.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};H.prototype.toString=function(){return JSON.stringify(this.toJSON())};Si.SourceMapGenerator=H});var Pi=m(ae=>{"use strict";ae.GREATEST_LOWER_BOUND=1;ae.LEAST_UPPER_BOUND=2;function xr(t,e,r,n,i,o){var a=Math.floor((e-t)/2)+t,u=i(r,n[a],!0);return u===0?a:u>0?e-a>1?xr(a,e,r,n,i,o):o==ae.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?xr(t,a,r,n,i,o):o==ae.LEAST_UPPER_BOUND?a:t<0?-1:t}ae.search=function(e,r,n,i){if(r.length===0)return-1;var o=xr(-1,r.length,e,r,n,i||ae.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&n(r[o],r[o-1],!0)===0;)--o;return o}});var wi=m(ki=>{"use strict";function Ir(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function eu(t,e){return Math.round(t+Math.random()*(e-t))}function Nr(t,e,r,n){if(r<n){var i=eu(r,n),o=r-1;Ir(t,i,n);for(var a=t[n],u=r;u<n;u++)e(t[u],a)<=0&&(o+=1,Ir(t,o,u));Ir(t,o+1,u);var l=o+1;Nr(t,e,r,l-1),Nr(t,e,l+1,n)}}ki.quickSort=function(t,e){Nr(t,e,0,t.length-1)}});var Ei=m(Et=>{"use strict";var d=ve(),Rr=Pi(),ye=Ar().ArraySet,tu=Cr(),We=wi().quickSort;function S(t,e){var r=t;return typeof t=="string"&&(r=d.parseSourceMapInput(t)),r.sections!=null?new F(r,e):new L(r,e)}S.fromSourceMap=function(t,e){return L.fromSourceMap(t,e)};S.prototype._version=3;S.prototype.__generatedMappings=null;Object.defineProperty(S.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});S.prototype.__originalMappings=null;Object.defineProperty(S.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});S.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};S.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};S.GENERATED_ORDER=1;S.ORIGINAL_ORDER=2;S.GREATEST_LOWER_BOUND=1;S.LEAST_UPPER_BOUND=2;S.prototype.eachMapping=function(e,r,n){var i=r||null,o=n||S.GENERATED_ORDER,a;switch(o){case S.GENERATED_ORDER:a=this._generatedMappings;break;case S.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map(function(l){var s=l.source===null?null:this._sources.at(l.source);return s=d.computeSourceURL(u,s,this._sourceMapURL),{source:s,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,i)};S.prototype.allGeneratedPositionsFor=function(e){var r=d.getArg(e,"line"),n={source:d.getArg(e,"source"),originalLine:r,originalColumn:d.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,Rr.LEAST_UPPER_BOUND);if(o>=0){var a=this._originalMappings[o];if(e.column===void 0)for(var u=a.originalLine;a&&a.originalLine===u;)i.push({line:d.getArg(a,"generatedLine",null),column:d.getArg(a,"generatedColumn",null),lastColumn:d.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:d.getArg(a,"generatedLine",null),column:d.getArg(a,"generatedColumn",null),lastColumn:d.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o]}return i};Et.SourceMapConsumer=S;function L(t,e){var r=t;typeof t=="string"&&(r=d.parseSourceMapInput(t));var n=d.getArg(r,"version"),i=d.getArg(r,"sources"),o=d.getArg(r,"names",[]),a=d.getArg(r,"sourceRoot",null),u=d.getArg(r,"sourcesContent",null),l=d.getArg(r,"mappings"),s=d.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=d.normalize(a)),i=i.map(String).map(d.normalize).map(function(h){return a&&d.isAbsolute(a)&&d.isAbsolute(h)?d.relative(a,h):h}),this._names=ye.fromArray(o.map(String),!0),this._sources=ye.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(h){return d.computeSourceURL(a,h,e)}),this.sourceRoot=a,this.sourcesContent=u,this._mappings=l,this._sourceMapURL=e,this.file=s}L.prototype=Object.create(S.prototype);L.prototype.consumer=S;L.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=d.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};L.fromSourceMap=function(e,r){var n=Object.create(L.prototype),i=n._names=ye.fromArray(e._names.toArray(),!0),o=n._sources=ye.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(f){return d.computeSourceURL(n.sourceRoot,f,r)});for(var a=e._mappings.toArray().slice(),u=n.__generatedMappings=[],l=n.__originalMappings=[],s=0,h=a.length;s<h;s++){var c=a[s],p=new Ci;p.generatedLine=c.generatedLine,p.generatedColumn=c.generatedColumn,c.source&&(p.source=o.indexOf(c.source),p.originalLine=c.originalLine,p.originalColumn=c.originalColumn,c.name&&(p.name=i.indexOf(c.name)),l.push(p)),u.push(p)}return We(n.__originalMappings,d.compareByOriginalPositions),n};L.prototype._version=3;Object.defineProperty(L.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Ci(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}L.prototype._parseMappings=function(e,r){for(var n=1,i=0,o=0,a=0,u=0,l=0,s=e.length,h=0,c={},p={},f=[],v=[],y,_,g,b,D;h<s;)if(e.charAt(h)===";")n++,h++,i=0;else if(e.charAt(h)===",")h++;else{for(y=new Ci,y.generatedLine=n,b=h;b<s&&!this._charIsMappingSeparator(e,b);b++);if(_=e.slice(h,b),g=c[_],g)h+=_.length;else{for(g=[];h<b;)tu.decode(e,h,p),D=p.value,h=p.rest,g.push(D);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");c[_]=g}y.generatedColumn=i+g[0],i=y.generatedColumn,g.length>1&&(y.source=u+g[1],u+=g[1],y.originalLine=o+g[2],o=y.originalLine,y.originalLine+=1,y.originalColumn=a+g[3],a=y.originalColumn,g.length>4&&(y.name=l+g[4],l+=g[4])),v.push(y),typeof y.originalLine=="number"&&f.push(y)}We(v,d.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,We(f,d.compareByOriginalPositions),this.__originalMappings=f};L.prototype._findMapping=function(e,r,n,i,o,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return Rr.search(e,r,o,a)};L.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};L.prototype.originalPositionFor=function(e){var r={generatedLine:d.getArg(e,"line"),generatedColumn:d.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",d.compareByGeneratedPositionsDeflated,d.getArg(e,"bias",S.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var o=d.getArg(i,"source",null);o!==null&&(o=this._sources.at(o),o=d.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=d.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:o,line:d.getArg(i,"originalLine",null),column:d.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};L.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};L.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=d.relative(this.sourceRoot,i));var o;if(this.sourceRoot!=null&&(o=d.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!o.path||o.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.')};L.prototype.generatedPositionFor=function(e){var r=d.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:d.getArg(e,"line"),originalColumn:d.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",d.compareByOriginalPositions,d.getArg(e,"bias",S.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:d.getArg(o,"generatedLine",null),column:d.getArg(o,"generatedColumn",null),lastColumn:d.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Et.BasicSourceMapConsumer=L;function F(t,e){var r=t;typeof t=="string"&&(r=d.parseSourceMapInput(t));var n=d.getArg(r,"version"),i=d.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new ye,this._names=new ye;var o={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var u=d.getArg(a,"offset"),l=d.getArg(u,"line"),s=d.getArg(u,"column");if(l<o.line||l===o.line&&s<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=u,{generatedOffset:{generatedLine:l+1,generatedColumn:s+1},consumer:new S(d.getArg(a,"map"),e)}})}F.prototype=Object.create(S.prototype);F.prototype.constructor=S;F.prototype._version=3;Object.defineProperty(F.prototype,"sources",{get:function(){for(var e=[],r=0;r<this._sections.length;r++)for(var n=0;n<this._sections[r].consumer.sources.length;n++)e.push(this._sections[r].consumer.sources[n]);return e}});F.prototype.originalPositionFor=function(e){var r={generatedLine:d.getArg(e,"line"),generatedColumn:d.getArg(e,"column")},n=Rr.search(r,this._sections,function(o,a){var u=o.generatedLine-a.generatedOffset.generatedLine;return u||o.generatedColumn-a.generatedOffset.generatedColumn}),i=this._sections[n];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:e.bias}):{source:null,line:null,column:null,name:null}};F.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};F.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],o=i.consumer.sourceContentFor(e,!0);if(o)return o}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};F.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(d.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var o={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}};F.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var u=o[a],l=i.consumer._sources.at(u.source);l=d.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var s=null;u.name&&(s=i.consumer._names.at(u.name),this._names.add(s),s=this._names.indexOf(s));var h={source:l,generatedLine:u.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(i.generatedOffset.generatedLine===u.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:s};this.__generatedMappings.push(h),typeof h.originalLine=="number"&&this.__originalMappings.push(h)}We(this.__generatedMappings,d.compareByGeneratedPositionsDeflated),We(this.__originalMappings,d.compareByOriginalPositions)};Et.IndexedSourceMapConsumer=F});var Oi=m(Li=>{"use strict";var ru=Mr().SourceMapGenerator,Lt=ve(),nu=/(\r?\n)/,iu=10,_e="$$$isSourceNode$$$";function R(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[_e]=!0,n!=null&&this.add(n)}R.fromStringWithSourceMap=function(e,r,n){var i=new R,o=e.split(nu),a=0,u=function(){var f=y(),v=y()||"";return f+v;function y(){return a<o.length?o[a++]:void 0}},l=1,s=0,h=null;return r.eachMapping(function(p){if(h!==null)if(l<p.generatedLine)c(h,u()),l++,s=0;else{var f=o[a]||"",v=f.substr(0,p.generatedColumn-s);o[a]=f.substr(p.generatedColumn-s),s=p.generatedColumn,c(h,v),h=p;return}for(;l<p.generatedLine;)i.add(u()),l++;if(s<p.generatedColumn){var f=o[a]||"";i.add(f.substr(0,p.generatedColumn)),o[a]=f.substr(p.generatedColumn),s=p.generatedColumn}h=p},this),a<o.length&&(h&&c(h,u()),i.add(o.splice(a).join(""))),r.sources.forEach(function(p){var f=r.sourceContentFor(p);f!=null&&(n!=null&&(p=Lt.join(n,p)),i.setSourceContent(p,f))}),i;function c(p,f){if(p===null||p.source===void 0)i.add(f);else{var v=n?Lt.join(n,p.source):p.source;i.add(new R(p.originalLine,p.originalColumn,v,f,p.name))}}};R.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[_e]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};R.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[_e]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};R.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[_e]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};R.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};R.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[_e]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};R.prototype.setSourceContent=function(e,r){this.sourceContents[Lt.toSetString(e)]=r};R.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][_e]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(Lt.fromSetString(i[r]),this.sourceContents[i[r]])};R.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};R.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new ru(e),i=!1,o=null,a=null,u=null,l=null;return this.walk(function(s,h){r.code+=s,h.source!==null&&h.line!==null&&h.column!==null?((o!==h.source||a!==h.line||u!==h.column||l!==h.name)&&n.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:r.line,column:r.column},name:h.name}),o=h.source,a=h.line,u=h.column,l=h.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),o=null,i=!1);for(var c=0,p=s.length;c<p;c++)s.charCodeAt(c)===iu?(r.line++,r.column=0,c+1===p?(o=null,i=!1):i&&n.addMapping({source:h.source,original:{line:h.line,column:h.column},generated:{line:r.line,column:r.column},name:h.name})):r.column++}),this.walkSourceContents(function(s,h){n.setSourceContent(s,h)}),{code:r.code,map:n}};Li.SourceNode=R});var Ai=m(Ot=>{"use strict";Ot.SourceMapGenerator=Mr().SourceMapGenerator;Ot.SourceMapConsumer=Ei().SourceMapConsumer;Ot.SourceNode=Oi().SourceNode});var Ni=m((At,Ii)=>{"use strict";At.__esModule=!0;var Tr=x(),se=void 0;try{(typeof define!="function"||!define.amd)&&(Mi=Ai(),se=Mi.SourceNode)}catch{}var Mi;se||(se=function(e,r,n,i){this.src="",i&&this.add(i)},se.prototype={add:function(e){Tr.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){Tr.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function Dr(t,e,r){if(Tr.isArray(t)){for(var n=[],i=0,o=t.length;i<o;i++)n.push(e.wrap(t[i],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}function xi(t){this.srcFile=t,this.source=[]}xi.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,r){this.source.unshift(this.wrap(e,r))},push:function(e,r){this.source.push(this.wrap(e,r))},merge:function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
|
|
10
|
-
`])}),
|
|
561
|
+
Expecting `+W.join(", ")+", got '"+(this.terminals_[y]||y)+"'":G="Parse error on line "+(p+1)+": Unexpected "+(y==1?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(G,{text:this.lexer.match,token:this.terminals_[y]||y,line:this.lexer.yylineno,loc:C,expected:W})}}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+y);switch(T[0]){case 1:a.push(y),s.push(this.lexer.yytext),u.push(this.lexer.yylloc),a.push(T[1]),y=null,L?(y=L,L=null):(m=this.lexer.yyleng,f=this.lexer.yytext,p=this.lexer.yylineno,C=this.lexer.yylloc,b>0&&b--);break;case 2:if(te=this.productions_[T[1]][1],se.$=s[s.length-te],se._$={first_line:u[u.length-(te||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(te||1)].first_column,last_column:u[u.length-1].last_column},P&&(se._$.range=[u[u.length-(te||1)].range[0],u[u.length-1].range[1]]),X=this.performAction.call(se,f,m,p,this.yy,T[1],s,u),typeof X<"u")return X;te&&(a=a.slice(0,-1*te*2),s=s.slice(0,-1*te),u=u.slice(0,-1*te)),a.push(this.productions_[T[1]][0]),s.push(se.$),u.push(se._$),Ee=l[a[a.length-2]][a[a.length-1]],a.push(Ee);break;case 3:return!0}}return!0}},t=function(){var n={EOF:1,parseError:function(o,a){if(this.yy.parser)this.yy.parser.parseError(o,a);else throw new Error(o)},setInput:function(o){return this._input=o,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var a=o.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var a=o.length,s=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===u.length?this.yylloc.first_column:0)+u[u.length-s.length].length-s[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-a]),this},more:function(){return this._more=!0,this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),a=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
562
|
+
`+a+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,a,s,u,l,f;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),m=0;m<p.length&&(s=this._input.match(this.rules[p[m]]),!(s&&(!a||s[0].length>a[0].length)&&(a=s,u=m,!this.options.flex)));m++);return a?(f=a[0].match(/(?:\r\n?|\n).*/g),f&&(this.yylineno+=f.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:f?f[f.length-1].length-f[f.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],o=this.performAction.call(this,this.yy,this,p[u],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
563
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return typeof o<"u"?o:this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(o){this.begin(o)}};return n.options={},n.performAction=function(o,a,s,u){function l(p,m){return a.yytext=a.yytext.substring(p,a.yyleng-m+p)}var f=u;switch(s){case 0:if(a.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(l(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=l(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},n.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},n}();e.lexer=t;function r(){this.yy={}}return r.prototype=e,e.Parser=r,new r}();ty.default=j1e;YB.exports=ty.default});var oy=ne((iy,ZB)=>{"use strict";iy.__esModule=!0;function M1e(e){return e&&e.__esModule?e:{default:e}}var q1e=ui(),PC=M1e(q1e);function ry(){this.parents=[]}ry.prototype={constructor:ry,mutating:!1,acceptKey:function(t,r){var n=this.accept(t[r]);if(this.mutating){if(n&&!ry.prototype[n.type])throw new PC.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+t.type);t[r]=n}},acceptRequired:function(t,r){if(this.acceptKey(t,r),!t[r])throw new PC.default(t.type+" requires "+r)},acceptArray:function(t){for(var r=0,n=t.length;r<n;r++)this.acceptKey(t,r),t[r]||(t.splice(r,1),r--,n--)},accept:function(t){if(t){if(!this[t.type])throw new PC.default("Unknown type: "+t.type,t);this.current&&this.parents.unshift(this.current),this.current=t;var r=this[t.type](t);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return t}},Program:function(t){this.acceptArray(t.body)},MustacheStatement:ny,Decorator:ny,BlockStatement:XB,DecoratorBlock:XB,PartialStatement:JB,PartialBlockStatement:function(t){JB.call(this,t),this.acceptKey(t,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:ny,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(t){this.acceptArray(t.pairs)},HashPair:function(t){this.acceptRequired(t,"value")}};function ny(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function XB(e){ny.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function JB(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}iy.default=ry;ZB.exports=iy.default});var tj=ne((ay,ej)=>{"use strict";ay.__esModule=!0;function V1e(e){return e&&e.__esModule?e:{default:e}}var U1e=oy(),z1e=V1e(U1e);function po(){var e=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=e}po.prototype=new z1e.default;po.prototype.Program=function(e){var t=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,i=0,o=n.length;i<o;i++){var a=n[i],s=this.accept(a);if(s){var u=OC(n,i,r),l=TC(n,i,r),f=s.openStandalone&&u,p=s.closeStandalone&&l,m=s.inlineStandalone&&u&&l;s.close&&Au(n,i,!0),s.open&&as(n,i,!0),t&&m&&(Au(n,i),as(n,i)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[i-1].original)[1])),t&&f&&(Au((a.program||a.inverse).body),as(n,i)),t&&p&&(Au(n,i),as((a.inverse||a.program).body))}}return e};po.prototype.BlockStatement=po.prototype.DecoratorBlock=po.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,r=e.program&&e.inverse,n=r,i=r;if(r&&r.chained)for(n=r.body[0].program;i.chained;)i=i.body[i.body.length-1].program;var o={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:TC(t.body),closeStandalone:OC((n||t).body)};if(e.openStrip.close&&Au(t.body,null,!0),r){var a=e.inverseStrip;a.open&&as(t.body,null,!0),a.close&&Au(n.body,null,!0),e.closeStrip.open&&as(i.body,null,!0),!this.options.ignoreStandalone&&OC(t.body)&&TC(n.body)&&(as(t.body),Au(n.body))}else e.closeStrip.open&&as(t.body,null,!0);return o};po.prototype.Decorator=po.prototype.MustacheStatement=function(e){return e.strip};po.prototype.PartialStatement=po.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}};function OC(e,t,r){t===void 0&&(t=e.length);var n=e[t-1],i=e[t-2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}function TC(e,t,r){t===void 0&&(t=-1);var n=e[t+1],i=e[t+2];if(!n)return r;if(n.type==="ContentStatement")return(i||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}function Au(e,t,r){var n=e[t==null?0:t+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var i=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==i}}function as(e,t,r){var n=e[t==null?e.length-1:t-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var i=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==i,n.leftStripped}}ay.default=po;ej.exports=ay.default});var rj=ne(li=>{"use strict";li.__esModule=!0;li.SourceLocation=G1e;li.id=K1e;li.stripFlags=Y1e;li.stripComment=Q1e;li.preparePath=X1e;li.prepareMustache=J1e;li.prepareRawBlock=Z1e;li.prepareBlock=exe;li.prepareProgram=txe;li.preparePartialBlock=rxe;function W1e(e){return e&&e.__esModule?e:{default:e}}var H1e=ui(),RC=W1e(H1e);function FC(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var r={loc:e.path.loc};throw new RC.default(e.path.original+" doesn't match "+t,r)}}function G1e(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}}function K1e(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e}function Y1e(e,t){return{open:e.charAt(2)==="~",close:t.charAt(t.length-3)==="~"}}function Q1e(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function X1e(e,t,r){r=this.locInfo(r);for(var n=e?"@":"",i=[],o=0,a=0,s=t.length;a<s;a++){var u=t[a].part,l=t[a].original!==u;if(n+=(t[a].separator||"")+u,!l&&(u===".."||u==="."||u==="this")){if(i.length>0)throw new RC.default("Invalid path: "+n,{loc:r});u===".."&&o++}else i.push(u)}return{type:"PathExpression",data:e,depth:o,parts:i,original:n,loc:r}}function J1e(e,t,r,n,i,o){var a=n.charAt(3)||n.charAt(2),s=a!=="{"&&a!=="&",u=/\*/.test(n);return{type:u?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:s,strip:i,loc:this.locInfo(o)}}function Z1e(e,t,r,n){FC(e,r),n=this.locInfo(n);var i={type:"Program",body:t,strip:{},loc:n};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function exe(e,t,r,n,i,o){n&&n.path&&FC(e,n);var a=/\*/.test(e.open);t.blockParams=e.blockParams;var s=void 0,u=void 0;if(r){if(a)throw new RC.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),u=r.strip,s=r.program}return i&&(i=s,s=t,t=i),{type:a?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:s,openStrip:e.strip,inverseStrip:u,closeStrip:n&&n.strip,loc:this.locInfo(o)}}function txe(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;r&&n&&(t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function rxe(e,t,r,n){return FC(e,r),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}});var oj=ne(Nh=>{"use strict";Nh.__esModule=!0;Nh.parseWithoutProcessing=ij;Nh.parse=cxe;function nxe(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function nj(e){return e&&e.__esModule?e:{default:e}}var ixe=QB(),IC=nj(ixe),oxe=tj(),axe=nj(oxe),sxe=rj(),uxe=nxe(sxe),lxe=zr();Nh.parser=IC.default;var sy={};lxe.extend(sy,uxe);function ij(e,t){if(e.type==="Program")return e;IC.default.yy=sy,sy.locInfo=function(n){return new sy.SourceLocation(t&&t.srcName,n)};var r=IC.default.parse(e);return r}function cxe(e,t){var r=ij(e,t),n=new axe.default(t);return n.accept(r)}});var lj=ne(qh=>{"use strict";qh.__esModule=!0;qh.Compiler=LC;qh.precompile=dxe;qh.compile=mxe;function sj(e){return e&&e.__esModule?e:{default:e}}var fxe=ui(),jh=sj(fxe),Mh=zr(),pxe=DC(),Bh=sj(pxe),hxe=[].slice;function LC(){}LC.prototype={compiler:LC,equals:function(t){var r=this.opcodes.length;if(t.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var i=this.opcodes[n],o=t.opcodes[n];if(i.opcode!==o.opcode||!uj(i.args,o.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(t.children[n]))return!1;return!0},guid:0,compile:function(t,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Mh.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(t)},compileProgram:function(t){var r=new this.compiler,n=r.compile(t,this.options),i=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[i]=n,this.useDepths=this.useDepths||n.useDepths,i},accept:function(t){if(!this[t.type])throw new jh.default("Unknown type: "+t.type,t);this.sourceNode.unshift(t);var r=this[t.type](t);return this.sourceNode.shift(),r},Program:function(t){this.options.blockParams.unshift(t.blockParams);for(var r=t.body,n=r.length,i=0;i<n;i++)this.accept(r[i]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=t.blockParams?t.blockParams.length:0,this},BlockStatement:function(t){aj(t);var r=t.program,n=t.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var i=this.classifySexpr(t);i==="helper"?this.helperSexpr(t,r,n):i==="simple"?(this.simpleSexpr(t),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",t.path.original)):(this.ambiguousSexpr(t,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(t){var r=t.program&&this.compileProgram(t.program),n=this.setupFullMustacheParams(t,r,void 0),i=t.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,i.original)},PartialStatement:function(t){this.usePartial=!0;var r=t.program;r&&(r=this.compileProgram(t.program));var n=t.params;if(n.length>1)throw new jh.default("Unsupported number of partial arguments: "+n.length,t);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var i=t.name.original,o=t.name.type==="SubExpression";o&&this.accept(t.name),this.setupFullMustacheParams(t,r,void 0,!0);var a=t.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",o,i,a),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){aj(t);var r=this.classifySexpr(t);r==="simple"?this.simpleSexpr(t):r==="helper"?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,r,n){var i=t.path,o=i.parts[0],a=r!=null||n!=null;this.opcode("getContext",i.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),i.strict=!0,this.accept(i),this.opcode("invokeAmbiguous",o,a)},simpleSexpr:function(t){var r=t.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,r,n){var i=this.setupFullMustacheParams(t,r,n),o=t.path,a=o.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",i.length,a);else{if(this.options.knownHelpersOnly)throw new jh.default("You specified knownHelpersOnly, but used the unknown helper "+a,t);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",i.length,o.original,Bh.default.helpers.simpleId(o))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var r=t.parts[0],n=Bh.default.helpers.scopedId(t),i=!t.depth&&!n&&this.blockParamIndex(r);i?this.opcode("lookupBlockParam",i,t.parts):r?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,n):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var r=t.pairs,n=0,i=r.length;for(this.opcode("pushHash");n<i;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},opcode:function(t){this.opcodes.push({opcode:t,args:hxe.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(t){t&&(this.useDepths=!0)},classifySexpr:function(t){var r=Bh.default.helpers.simpleId(t.path),n=r&&!!this.blockParamIndex(t.path.parts[0]),i=!n&&Bh.default.helpers.helperExpression(t),o=!n&&(i||r);if(o&&!i){var a=t.path.parts[0],s=this.options;s.knownHelpers[a]?i=!0:s.knownHelpersOnly&&(o=!1)}return i?"helper":o?"ambiguous":"simple"},pushParams:function(t){for(var r=0,n=t.length;r<n;r++)this.pushParam(t[r])},pushParam:function(t){var r=t.value!=null?t.value:t.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),t.depth&&this.addDepth(t.depth),this.opcode("getContext",t.depth||0),this.opcode("pushStringParam",r,t.type),t.type==="SubExpression"&&this.accept(t);else{if(this.trackIds){var n=void 0;if(t.parts&&!Bh.default.helpers.scopedId(t)&&!t.depth&&(n=this.blockParamIndex(t.parts[0])),n){var i=t.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,i)}else r=t.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",t.type,r)}this.accept(t)}},setupFullMustacheParams:function(t,r,n,i){var o=t.params;return this.pushParams(o),this.opcode("pushProgram",r),this.opcode("pushProgram",n),t.hash?this.accept(t.hash):this.opcode("emptyHash",i),o},blockParamIndex:function(t){for(var r=0,n=this.options.blockParams.length;r<n;r++){var i=this.options.blockParams[r],o=i&&Mh.indexOf(i,t);if(i&&o>=0)return[r,o]}}};function dxe(e,t,r){if(e==null||typeof e!="string"&&e.type!=="Program")throw new jh.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var n=r.parse(e,t),i=new r.Compiler().compile(n,t);return new r.JavaScriptCompiler().compile(i,t)}function mxe(e,t,r){if(t===void 0&&(t={}),e==null||typeof e!="string"&&e.type!=="Program")throw new jh.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);t=Mh.extend({},t),"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var n=void 0;function i(){var a=r.parse(e,t),s=new r.Compiler().compile(a,t),u=new r.JavaScriptCompiler().compile(s,t,void 0,!0);return r.template(u)}function o(a,s){return n||(n=i()),n.call(this,a,s)}return o._setup=function(a){return n||(n=i()),n._setup(a)},o._child=function(a,s,u,l){return n||(n=i()),n._child(a,s,u,l)},o}function uj(e,t){if(e===t)return!0;if(Mh.isArray(e)&&Mh.isArray(t)&&e.length===t.length){for(var r=0;r<e.length;r++)if(!uj(e[r],t[r]))return!1;return!0}}function aj(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}});var fj=ne($C=>{"use strict";var cj="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");$C.encode=function(e){if(0<=e&&e<cj.length)return cj[e];throw new TypeError("Must be between 0 and 63: "+e)};$C.decode=function(e){var t=65,r=90,n=97,i=122,o=48,a=57,s=43,u=47,l=26,f=52;return t<=e&&e<=r?e-t:n<=e&&e<=i?e-n+l:o<=e&&e<=a?e-o+f:e==s?62:e==u?63:-1}});var jC=ne(BC=>{"use strict";var pj=fj(),NC=5,hj=1<<NC,dj=hj-1,mj=hj;function gxe(e){return e<0?(-e<<1)+1:(e<<1)+0}function bxe(e){var t=(e&1)===1,r=e>>1;return t?-r:r}BC.encode=function(t){var r="",n,i=gxe(t);do n=i&dj,i>>>=NC,i>0&&(n|=mj),r+=pj.encode(n);while(i>0);return r};BC.decode=function(t,r,n){var i=t.length,o=0,a=0,s,u;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(u=pj.decode(t.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));s=!!(u&mj),u&=dj,o=o+(u<<a),a+=NC}while(s);n.value=bxe(o),n.rest=r}});var vc=ne(Ar=>{"use strict";function yxe(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}Ar.getArg=yxe;var gj=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,vxe=/^data:.+\,.+$/;function Vh(e){var t=e.match(gj);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}Ar.urlParse=Vh;function bc(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}Ar.urlGenerate=bc;function MC(e){var t=e,r=Vh(e);if(r){if(!r.path)return e;t=r.path}for(var n=Ar.isAbsolute(t),i=t.split(/\/+/),o,a=0,s=i.length-1;s>=0;s--)o=i[s],o==="."?i.splice(s,1):o===".."?a++:a>0&&(o===""?(i.splice(s+1,a),a=0):(i.splice(s,2),a--));return t=i.join("/"),t===""&&(t=n?"/":"."),r?(r.path=t,bc(r)):t}Ar.normalize=MC;function bj(e,t){e===""&&(e="."),t===""&&(t=".");var r=Vh(t),n=Vh(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),bc(r);if(r||t.match(vxe))return t;if(n&&!n.host&&!n.path)return n.host=t,bc(n);var i=t.charAt(0)==="/"?t:MC(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,bc(n)):i}Ar.join=bj;Ar.isAbsolute=function(e){return e.charAt(0)==="/"||gj.test(e)};function xxe(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}Ar.relative=xxe;var yj=function(){var e=Object.create(null);return!("__proto__"in e)}();function vj(e){return e}function wxe(e){return xj(e)?"$"+e:e}Ar.toSetString=yj?vj:wxe;function kxe(e){return xj(e)?e.slice(1):e}Ar.fromSetString=yj?vj:kxe;function xj(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function Sxe(e,t,r){var n=yc(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:yc(e.name,t.name)}Ar.compareByOriginalPositions=Sxe;function _xe(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=yc(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:yc(e.name,t.name)}Ar.compareByGeneratedPositionsDeflated=_xe;function yc(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function Cxe(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=yc(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:yc(e.name,t.name)}Ar.compareByGeneratedPositionsInflated=Cxe;function Exe(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}Ar.parseSourceMapInput=Exe;function Axe(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=Vh(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=bj(bc(n),t)}return MC(t)}Ar.computeSourceURL=Axe});var UC=ne(wj=>{"use strict";var qC=vc(),VC=Object.prototype.hasOwnProperty,Du=typeof Map<"u";function pa(){this._array=[],this._set=Du?new Map:Object.create(null)}pa.fromArray=function(t,r){for(var n=new pa,i=0,o=t.length;i<o;i++)n.add(t[i],r);return n};pa.prototype.size=function(){return Du?this._set.size:Object.getOwnPropertyNames(this._set).length};pa.prototype.add=function(t,r){var n=Du?t:qC.toSetString(t),i=Du?this.has(t):VC.call(this._set,n),o=this._array.length;(!i||r)&&this._array.push(t),i||(Du?this._set.set(t,o):this._set[n]=o)};pa.prototype.has=function(t){if(Du)return this._set.has(t);var r=qC.toSetString(t);return VC.call(this._set,r)};pa.prototype.indexOf=function(t){if(Du){var r=this._set.get(t);if(r>=0)return r}else{var n=qC.toSetString(t);if(VC.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};pa.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};pa.prototype.toArray=function(){return this._array.slice()};wj.ArraySet=pa});var _j=ne(Sj=>{"use strict";var kj=vc();function Dxe(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,o=t.generatedColumn;return n>r||n==r&&o>=i||kj.compareByGeneratedPositionsInflated(e,t)<=0}function uy(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}uy.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};uy.prototype.add=function(t){Dxe(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};uy.prototype.toArray=function(){return this._sorted||(this._array.sort(kj.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Sj.MappingList=uy});var zC=ne(Cj=>{"use strict";var Uh=jC(),Gt=vc(),ly=UC().ArraySet,Pxe=_j().MappingList;function ci(e){e||(e={}),this._file=Gt.getArg(e,"file",null),this._sourceRoot=Gt.getArg(e,"sourceRoot",null),this._skipValidation=Gt.getArg(e,"skipValidation",!1),this._sources=new ly,this._names=new ly,this._mappings=new Pxe,this._sourcesContents=null}ci.prototype._version=3;ci.fromSourceMap=function(t){var r=t.sourceRoot,n=new ci({file:t.file,sourceRoot:r});return t.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=Gt.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),n.addMapping(o)}),t.sources.forEach(function(i){var o=i;r!==null&&(o=Gt.relative(r,i)),n._sources.has(o)||n._sources.add(o);var a=t.sourceContentFor(i);a!=null&&n.setSourceContent(i,a)}),n};ci.prototype.addMapping=function(t){var r=Gt.getArg(t,"generated"),n=Gt.getArg(t,"original",null),i=Gt.getArg(t,"source",null),o=Gt.getArg(t,"name",null);this._skipValidation||this._validateMapping(r,n,i,o),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),o!=null&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:o})};ci.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=Gt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Gt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Gt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ci.prototype.applySourceMap=function(t,r,n){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 o=this._sourceRoot;o!=null&&(i=Gt.relative(o,i));var a=new ly,s=new ly;this._mappings.unsortedForEach(function(u){if(u.source===i&&u.originalLine!=null){var l=t.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,n!=null&&(u.source=Gt.join(n,u.source)),o!=null&&(u.source=Gt.relative(o,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var f=u.source;f!=null&&!a.has(f)&&a.add(f);var p=u.name;p!=null&&!s.has(p)&&s.add(p)},this),this._sources=a,this._names=s,t.sources.forEach(function(u){var l=t.sourceContentFor(u);l!=null&&(n!=null&&(u=Gt.join(n,u)),o!=null&&(u=Gt.relative(o,u)),this.setSourceContent(u,l))},this)};ci.prototype._validateMapping=function(t,r,n,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&&!n&&!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&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i}))}};ci.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,o=0,a=0,s="",u,l,f,p,m=this._mappings.toArray(),b=0,v=m.length;b<v;b++){if(l=m[b],u="",l.generatedLine!==r)for(t=0;l.generatedLine!==r;)u+=";",r++;else if(b>0){if(!Gt.compareByGeneratedPositionsInflated(l,m[b-1]))continue;u+=","}u+=Uh.encode(l.generatedColumn-t),t=l.generatedColumn,l.source!=null&&(p=this._sources.indexOf(l.source),u+=Uh.encode(p-a),a=p,u+=Uh.encode(l.originalLine-1-i),i=l.originalLine-1,u+=Uh.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(f=this._names.indexOf(l.name),u+=Uh.encode(f-o),o=f)),s+=u}return s};ci.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Gt.relative(r,n));var i=Gt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};ci.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};ci.prototype.toString=function(){return JSON.stringify(this.toJSON())};Cj.SourceMapGenerator=ci});var Ej=ne(Pu=>{"use strict";Pu.GREATEST_LOWER_BOUND=1;Pu.LEAST_UPPER_BOUND=2;function WC(e,t,r,n,i,o){var a=Math.floor((t-e)/2)+e,s=i(r,n[a],!0);return s===0?a:s>0?t-a>1?WC(a,t,r,n,i,o):o==Pu.LEAST_UPPER_BOUND?t<n.length?t:-1:a:a-e>1?WC(e,a,r,n,i,o):o==Pu.LEAST_UPPER_BOUND?a:e<0?-1:e}Pu.search=function(t,r,n,i){if(r.length===0)return-1;var o=WC(-1,r.length,t,r,n,i||Pu.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&n(r[o],r[o-1],!0)===0;)--o;return o}});var Dj=ne(Aj=>{"use strict";function HC(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Oxe(e,t){return Math.round(e+Math.random()*(t-e))}function GC(e,t,r,n){if(r<n){var i=Oxe(r,n),o=r-1;HC(e,i,n);for(var a=e[n],s=r;s<n;s++)t(e[s],a)<=0&&(o+=1,HC(e,o,s));HC(e,o+1,s);var u=o+1;GC(e,t,r,u-1),GC(e,t,u+1,n)}}Aj.quickSort=function(e,t){GC(e,t,0,e.length-1)}});var Oj=ne(cy=>{"use strict";var ve=vc(),KC=Ej(),xc=UC().ArraySet,Txe=jC(),zh=Dj().quickSort;function wt(e,t){var r=e;return typeof e=="string"&&(r=ve.parseSourceMapInput(e)),r.sections!=null?new Ni(r,t):new dr(r,t)}wt.fromSourceMap=function(e,t){return dr.fromSourceMap(e,t)};wt.prototype._version=3;wt.prototype.__generatedMappings=null;Object.defineProperty(wt.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});wt.prototype.__originalMappings=null;Object.defineProperty(wt.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});wt.prototype._charIsMappingSeparator=function(t,r){var n=t.charAt(r);return n===";"||n===","};wt.prototype._parseMappings=function(t,r){throw new Error("Subclasses must implement _parseMappings")};wt.GENERATED_ORDER=1;wt.ORIGINAL_ORDER=2;wt.GREATEST_LOWER_BOUND=1;wt.LEAST_UPPER_BOUND=2;wt.prototype.eachMapping=function(t,r,n){var i=r||null,o=n||wt.GENERATED_ORDER,a;switch(o){case wt.GENERATED_ORDER:a=this._generatedMappings;break;case wt.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;a.map(function(u){var l=u.source===null?null:this._sources.at(u.source);return l=ve.computeSourceURL(s,l,this._sourceMapURL),{source:l,generatedLine:u.generatedLine,generatedColumn:u.generatedColumn,originalLine:u.originalLine,originalColumn:u.originalColumn,name:u.name===null?null:this._names.at(u.name)}},this).forEach(t,i)};wt.prototype.allGeneratedPositionsFor=function(t){var r=ve.getArg(t,"line"),n={source:ve.getArg(t,"source"),originalLine:r,originalColumn:ve.getArg(t,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",ve.compareByOriginalPositions,KC.LEAST_UPPER_BOUND);if(o>=0){var a=this._originalMappings[o];if(t.column===void 0)for(var s=a.originalLine;a&&a.originalLine===s;)i.push({line:ve.getArg(a,"generatedLine",null),column:ve.getArg(a,"generatedColumn",null),lastColumn:ve.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o];else for(var u=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==u;)i.push({line:ve.getArg(a,"generatedLine",null),column:ve.getArg(a,"generatedColumn",null),lastColumn:ve.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o]}return i};cy.SourceMapConsumer=wt;function dr(e,t){var r=e;typeof e=="string"&&(r=ve.parseSourceMapInput(e));var n=ve.getArg(r,"version"),i=ve.getArg(r,"sources"),o=ve.getArg(r,"names",[]),a=ve.getArg(r,"sourceRoot",null),s=ve.getArg(r,"sourcesContent",null),u=ve.getArg(r,"mappings"),l=ve.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=ve.normalize(a)),i=i.map(String).map(ve.normalize).map(function(f){return a&&ve.isAbsolute(a)&&ve.isAbsolute(f)?ve.relative(a,f):f}),this._names=xc.fromArray(o.map(String),!0),this._sources=xc.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(f){return ve.computeSourceURL(a,f,t)}),this.sourceRoot=a,this.sourcesContent=s,this._mappings=u,this._sourceMapURL=t,this.file=l}dr.prototype=Object.create(wt.prototype);dr.prototype.consumer=wt;dr.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=ve.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]==e)return r;return-1};dr.fromSourceMap=function(t,r){var n=Object.create(dr.prototype),i=n._names=xc.fromArray(t._names.toArray(),!0),o=n._sources=xc.fromArray(t._sources.toArray(),!0);n.sourceRoot=t._sourceRoot,n.sourcesContent=t._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=t._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(b){return ve.computeSourceURL(n.sourceRoot,b,r)});for(var a=t._mappings.toArray().slice(),s=n.__generatedMappings=[],u=n.__originalMappings=[],l=0,f=a.length;l<f;l++){var p=a[l],m=new Pj;m.generatedLine=p.generatedLine,m.generatedColumn=p.generatedColumn,p.source&&(m.source=o.indexOf(p.source),m.originalLine=p.originalLine,m.originalColumn=p.originalColumn,p.name&&(m.name=i.indexOf(p.name)),u.push(m)),s.push(m)}return zh(n.__originalMappings,ve.compareByOriginalPositions),n};dr.prototype._version=3;Object.defineProperty(dr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Pj(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}dr.prototype._parseMappings=function(t,r){for(var n=1,i=0,o=0,a=0,s=0,u=0,l=t.length,f=0,p={},m={},b=[],v=[],w,C,P,A,E;f<l;)if(t.charAt(f)===";")n++,f++,i=0;else if(t.charAt(f)===",")f++;else{for(w=new Pj,w.generatedLine=n,A=f;A<l&&!this._charIsMappingSeparator(t,A);A++);if(C=t.slice(f,A),P=p[C],P)f+=C.length;else{for(P=[];f<A;)Txe.decode(t,f,m),E=m.value,f=m.rest,P.push(E);if(P.length===2)throw new Error("Found a source, but no line and column");if(P.length===3)throw new Error("Found a source and line, but no column");p[C]=P}w.generatedColumn=i+P[0],i=w.generatedColumn,P.length>1&&(w.source=s+P[1],s+=P[1],w.originalLine=o+P[2],o=w.originalLine,w.originalLine+=1,w.originalColumn=a+P[3],a=w.originalColumn,P.length>4&&(w.name=u+P[4],u+=P[4])),v.push(w),typeof w.originalLine=="number"&&b.push(w)}zh(v,ve.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,zh(b,ve.compareByOriginalPositions),this.__originalMappings=b};dr.prototype._findMapping=function(t,r,n,i,o,a){if(t[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[n]);if(t[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[i]);return KC.search(t,r,o,a)};dr.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var r=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var n=this._generatedMappings[t+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};dr.prototype.originalPositionFor=function(t){var r={generatedLine:ve.getArg(t,"line"),generatedColumn:ve.getArg(t,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",ve.compareByGeneratedPositionsDeflated,ve.getArg(t,"bias",wt.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var o=ve.getArg(i,"source",null);o!==null&&(o=this._sources.at(o),o=ve.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=ve.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:o,line:ve.getArg(i,"originalLine",null),column:ve.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};dr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};dr.prototype.sourceContentFor=function(t,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(t);if(n>=0)return this.sourcesContent[n];var i=t;this.sourceRoot!=null&&(i=ve.relative(this.sourceRoot,i));var o;if(this.sourceRoot!=null&&(o=ve.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!o.path||o.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.')};dr.prototype.generatedPositionFor=function(t){var r=ve.getArg(t,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:ve.getArg(t,"line"),originalColumn:ve.getArg(t,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",ve.compareByOriginalPositions,ve.getArg(t,"bias",wt.GREATEST_LOWER_BOUND));if(i>=0){var o=this._originalMappings[i];if(o.source===n.source)return{line:ve.getArg(o,"generatedLine",null),column:ve.getArg(o,"generatedColumn",null),lastColumn:ve.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};cy.BasicSourceMapConsumer=dr;function Ni(e,t){var r=e;typeof e=="string"&&(r=ve.parseSourceMapInput(e));var n=ve.getArg(r,"version"),i=ve.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new xc,this._names=new xc;var o={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var s=ve.getArg(a,"offset"),u=ve.getArg(s,"line"),l=ve.getArg(s,"column");if(u<o.line||u===o.line&&l<o.column)throw new Error("Section offsets must be ordered and non-overlapping.");return o=s,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new wt(ve.getArg(a,"map"),t)}})}Ni.prototype=Object.create(wt.prototype);Ni.prototype.constructor=wt;Ni.prototype._version=3;Object.defineProperty(Ni.prototype,"sources",{get:function(){for(var t=[],r=0;r<this._sections.length;r++)for(var n=0;n<this._sections[r].consumer.sources.length;n++)t.push(this._sections[r].consumer.sources[n]);return t}});Ni.prototype.originalPositionFor=function(t){var r={generatedLine:ve.getArg(t,"line"),generatedColumn:ve.getArg(t,"column")},n=KC.search(r,this._sections,function(o,a){var s=o.generatedLine-a.generatedOffset.generatedLine;return s||o.generatedColumn-a.generatedOffset.generatedColumn}),i=this._sections[n];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}};Ni.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};Ni.prototype.sourceContentFor=function(t,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],o=i.consumer.sourceContentFor(t,!0);if(o)return o}if(r)return null;throw new Error('"'+t+'" is not in the SourceMap.')};Ni.prototype.generatedPositionFor=function(t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(ve.getArg(t,"source"))!==-1){var i=n.consumer.generatedPositionFor(t);if(i){var o={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return o}}}return{line:null,column:null}};Ni.prototype._parseMappings=function(t,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var s=o[a],u=i.consumer._sources.at(s.source);u=ve.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;s.name&&(l=i.consumer._names.at(s.name),this._names.add(l),l=this._names.indexOf(l));var f={source:u,generatedLine:s.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:s.generatedColumn+(i.generatedOffset.generatedLine===s.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:s.originalLine,originalColumn:s.originalColumn,name:l};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}zh(this.__generatedMappings,ve.compareByGeneratedPositionsDeflated),zh(this.__originalMappings,ve.compareByOriginalPositions)};cy.IndexedSourceMapConsumer=Ni});var Rj=ne(Tj=>{"use strict";var Rxe=zC().SourceMapGenerator,fy=vc(),Fxe=/(\r?\n)/,Ixe=10,wc="$$$isSourceNode$$$";function In(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=r??null,this.name=i??null,this[wc]=!0,n!=null&&this.add(n)}In.fromStringWithSourceMap=function(t,r,n){var i=new In,o=t.split(Fxe),a=0,s=function(){var b=w(),v=w()||"";return b+v;function w(){return a<o.length?o[a++]:void 0}},u=1,l=0,f=null;return r.eachMapping(function(m){if(f!==null)if(u<m.generatedLine)p(f,s()),u++,l=0;else{var b=o[a]||"",v=b.substr(0,m.generatedColumn-l);o[a]=b.substr(m.generatedColumn-l),l=m.generatedColumn,p(f,v),f=m;return}for(;u<m.generatedLine;)i.add(s()),u++;if(l<m.generatedColumn){var b=o[a]||"";i.add(b.substr(0,m.generatedColumn)),o[a]=b.substr(m.generatedColumn),l=m.generatedColumn}f=m},this),a<o.length&&(f&&p(f,s()),i.add(o.splice(a).join(""))),r.sources.forEach(function(m){var b=r.sourceContentFor(m);b!=null&&(n!=null&&(m=fy.join(n,m)),i.setSourceContent(m,b))}),i;function p(m,b){if(m===null||m.source===void 0)i.add(b);else{var v=n?fy.join(n,m.source):m.source;i.add(new In(m.originalLine,m.originalColumn,v,b,m.name))}}};In.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(r){this.add(r)},this);else if(t[wc]||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};In.prototype.prepend=function(t){if(Array.isArray(t))for(var r=t.length-1;r>=0;r--)this.prepend(t[r]);else if(t[wc]||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};In.prototype.walk=function(t){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[wc]?r.walk(t):r!==""&&t(r,{source:this.source,line:this.line,column:this.column,name:this.name})};In.prototype.join=function(t){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(t);r.push(this.children[n]),this.children=r}return this};In.prototype.replaceRight=function(t,r){var n=this.children[this.children.length-1];return n[wc]?n.replaceRight(t,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(t,r):this.children.push("".replace(t,r)),this};In.prototype.setSourceContent=function(t,r){this.sourceContents[fy.toSetString(t)]=r};In.prototype.walkSourceContents=function(t){for(var r=0,n=this.children.length;r<n;r++)this.children[r][wc]&&this.children[r].walkSourceContents(t);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)t(fy.fromSetString(i[r]),this.sourceContents[i[r]])};In.prototype.toString=function(){var t="";return this.walk(function(r){t+=r}),t};In.prototype.toStringWithSourceMap=function(t){var r={code:"",line:1,column:0},n=new Rxe(t),i=!1,o=null,a=null,s=null,u=null;return this.walk(function(l,f){r.code+=l,f.source!==null&&f.line!==null&&f.column!==null?((o!==f.source||a!==f.line||s!==f.column||u!==f.name)&&n.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:r.line,column:r.column},name:f.name}),o=f.source,a=f.line,s=f.column,u=f.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),o=null,i=!1);for(var p=0,m=l.length;p<m;p++)l.charCodeAt(p)===Ixe?(r.line++,r.column=0,p+1===m?(o=null,i=!1):i&&n.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(l,f){n.setSourceContent(l,f)}),{code:r.code,map:n}};Tj.SourceNode=In});var Fj=ne(py=>{"use strict";py.SourceMapGenerator=zC().SourceMapGenerator;py.SourceMapConsumer=Oj().SourceMapConsumer;py.SourceNode=Rj().SourceNode});var Nj=ne((hy,$j)=>{"use strict";hy.__esModule=!0;var QC=zr(),Ou=void 0;try{(typeof define!="function"||!define.amd)&&(Ij=Fj(),Ou=Ij.SourceNode)}catch{}var Ij;Ou||(Ou=function(t,r,n,i){this.src="",i&&this.add(i)},Ou.prototype={add:function(t){QC.isArray(t)&&(t=t.join("")),this.src+=t},prepend:function(t){QC.isArray(t)&&(t=t.join("")),this.src=t+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function YC(e,t,r){if(QC.isArray(e)){for(var n=[],i=0,o=e.length;i<o;i++)n.push(t.wrap(e[i],r));return n}else if(typeof e=="boolean"||typeof e=="number")return e+"";return e}function Lj(e){this.srcFile=e,this.source=[]}Lj.prototype={isEmpty:function(){return!this.source.length},prepend:function(t,r){this.source.unshift(this.wrap(t,r))},push:function(t,r){this.source.push(this.wrap(t,r))},merge:function(){var t=this.empty();return this.each(function(r){t.add([" ",r,`
|
|
564
|
+
`])}),t},each:function(t){for(var r=0,n=this.source.length;r<n;r++)t(this.source[r])},empty:function(){var t=this.currentLocation||{start:{}};return new Ou(t.start.line,t.start.column,this.srcFile)},wrap:function(t){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return t instanceof Ou?t:(t=YC(t,this,r),new Ou(r.start.line,r.start.column,this.srcFile,t))},functionCall:function(t,r,n){return n=this.generateList(n),this.wrap([t,r?"."+r+"(":"(",n,")"])},quotedString:function(t){return'"'+(t+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(t){var r=this,n=[];Object.keys(t).forEach(function(o){var a=YC(t[o],r);a!=="undefined"&&n.push([r.quotedString(o),":",a])});var i=this.generateList(n);return i.prepend("{"),i.add("}"),i},generateList:function(t){for(var r=this.empty(),n=0,i=t.length;n<i;n++)n&&r.add(","),r.add(YC(t[n],this));return r},generateArray:function(t){var r=this.generateList(t);return r.prepend("["),r.add("]"),r}};hy.default=Lj;$j.exports=hy.default});var Vj=ne((dy,qj)=>{"use strict";dy.__esModule=!0;function Mj(e){return e&&e.__esModule?e:{default:e}}var Bj=Yb(),Lxe=ui(),XC=Mj(Lxe),$xe=zr(),Nxe=Nj(),jj=Mj(Nxe);function kc(e){this.value=e}function Sc(){}Sc.prototype={nameLookup:function(t,r){return this.internalNameLookup(t,r)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=Bj.COMPILER_REVISION,r=Bj.REVISION_CHANGES[t];return[t,r]},appendToBuffer:function(t,r,n){return $xe.isArray(t)||(t=[t]),t=this.source.wrap(t,r),this.environment.isSimple?["return ",t,";"]:n?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,r,n,i){this.environment=t,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!i,this.name=this.environment.name,this.isChild=!!n,this.context=n||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,r),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var o=t.opcodes,a=void 0,s=void 0,u=void 0,l=void 0;for(u=0,l=o.length;u<l;u++)a=o[u],this.source.currentLocation=a.loc,s=s||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=s,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new XC.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
|
|
11
565
|
`]),this.decorators.push("return fn;"),i?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
|
|
12
566
|
`),this.decorators.push(`}
|
|
13
|
-
`),this.decorators=this.decorators.merge()));var
|
|
14
|
-
`,
|
|
567
|
+
`),this.decorators=this.decorators.merge()));var f=this.createFunctionContext(i);if(this.isChild)return f;var p={compiler:this.compilerInfo(),main:f};this.decorators&&(p.main_d=this.decorators,p.useDecorators=!0);var m=this.context,b=m.programs,v=m.decorators;for(u=0,l=b.length;u<l;u++)b[u]&&(p[u]=b[u],v[u]&&(p[u+"_d"]=v[u],p.useDecorators=!0));return this.environment.usePartial&&(p.usePartial=!0),this.options.data&&(p.useData=!0),this.useDepths&&(p.useDepths=!0),this.useBlockParams&&(p.useBlockParams=!0),this.options.compat&&(p.compat=!0),i?p.compilerOptions=this.options:(p.compiler=JSON.stringify(p.compiler),this.source.currentLocation={start:{line:1,column:0}},p=this.objectLiteral(p),r.srcName?(p=p.toStringWithSourceMap({file:r.destName}),p.map=p.map&&p.map.toString()):p=p.toString()),p},preamble:function(){this.lastContext=0,this.source=new jj.default(this.options.srcName),this.decorators=new jj.default(this.options.srcName)},createFunctionContext:function(t){var r=this,n="",i=this.stackVars.concat(this.registers.list);i.length>0&&(n+=", "+i.join(", "));var o=0;Object.keys(this.aliases).forEach(function(u){var l=r.aliases[u];l.children&&l.referenceCount>1&&(n+=", alias"+ ++o+"="+u,l.children[0]="alias"+o)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var s=this.mergeSource(n);return t?(a.push(s),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
|
|
568
|
+
`,s,"}"])},mergeSource:function(t){var r=this.environment.isSimple,n=!this.forceBuffer,i=void 0,o=void 0,a=void 0,s=void 0;return this.source.each(function(u){u.appendToBuffer?(a?u.prepend(" + "):a=u,s=u):(a&&(o?a.prepend("buffer += "):i=!0,s.add(";"),a=s=void 0),o=!0,r||(n=!1))}),n?a?(a.prepend("return "),s.add(";")):o||this.source.push('return "";'):(t+=", buffer = "+(i?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(i?"":`;
|
|
15
569
|
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
|
|
16
570
|
lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
17
571
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
@@ -19,12 +573,64 @@ Expecting `+ee.join(", ")+", got '"+(this.terminals_[k]||k)+"'":te="Parse error
|
|
|
19
573
|
}
|
|
20
574
|
return undefined
|
|
21
575
|
}
|
|
22
|
-
`.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,n,i){var o=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[o++])):this.pushContext(),this.resolvePath("context",e,o,r,n)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(e,r,n,i,o){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(uu(this.options.strict&&o,this,r,n,e));return}for(var u=r.length;n<u;n++)this.replaceStack(function(l){var s=a.nameLookup(l,r[n],e);return i?[" && ",s]:[" != null ? ",s," : ",l]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var n=this.nameLookup("decorators",r,"decorator"),i=this.setupHelperArgs(r,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(e,r,n){var i=this.popStack(),o=this.setupHelper(e,r),a=[];n&&a.push(o.name),a.push(i),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var u=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(u,"call",o.callParams);this.push(l)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var i=1;i<e.length;i++)n.push(r,e[i]);return n},invokeKnownHelper:function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var i=this.setupHelper(0,e,r),o=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",o," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,r,n){var i=[],o=this.setupParams(r,1,i);e&&(r=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),i.push(o),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(e){var r=this.popStack(),n=void 0,i=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),i&&(a.types[e]=i),o&&(a.ids[e]=o),a.values[e]=r},pushId:function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:Se,compileChildren:function(e,r){for(var n=e.children,i=void 0,o=void 0,a=0,u=n.length;a<u;a++){i=n[a],o=new this.compiler;var l=this.matchExistingProgram(i);if(l==null){this.context.programs.push("");var s=this.context.programs.length;i.index=s,i.name="program"+s,this.context.programs[s]=o.compile(i,r,this.context,!this.precompile),this.context.decorators[s]=o.decorators,this.context.environments[s]=i,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=l.index,i.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams}},matchExistingProgram:function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var i=this.context.environments[r];if(i&&i.equals(e))return i}},programExpression:function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof be||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new be(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var r=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new Br.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof be)n=[a.value],r=["(",n],o=!0;else{i=!0;var u=this.incrStack();r=["((",this.push(u)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(r.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var i=e[r];if(i instanceof be)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof be)return n.value;if(!r){if(!this.stackSlot)throw new Br.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof be?r.value:r},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},setupHelper:function(e,r,n){var i=[],o=this.setupHelperArgs(r,e,i,n),a=this.nameLookup("helpers",r,"helper"),u=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:i,paramsInit:o,name:a,callParams:[u].concat(i)}},setupParams:function(e,r,n){var i={},o=[],a=[],u=[],l=!n,s=void 0;l&&(n=[]),i.name=this.quotedString(e),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var h=this.popStack(),c=this.popStack();(c||h)&&(i.fn=c||"container.noop",i.inverse=h||"container.noop");for(var p=r;p--;)s=this.popStack(),n[p]=s,this.trackIds&&(u[p]=this.popStack()),this.stringParams&&(a[p]=this.popStack(),o[p]=this.popStack());return l&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(u)),this.stringParams&&(i.types=this.source.generateArray(a),i.contexts=this.source.generateArray(o)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(e,r,n,i){var o=this.setupParams(e,r,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),i?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=Se.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();Se.isValidJavaScriptVariableName=function(t){return!Se.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function uu(t,e,r,n,i){var o=e.popStack(),a=r.length;for(t&&a--;n<a;n++)o=e.nameLookup(o,r[n],i);return t?[e.aliasable("container.strict"),"(",o,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:o}Mt.default=Se;Bi.exports=Mt.default});var ji=m((xt,Fi)=>{"use strict";xt.__esModule=!0;function Ge(t){return t&&t.__esModule?t:{default:t}}var lu=Vn(),cu=Ge(lu),hu=dr(),pu=Ge(hu),qr=ti(),Hr=oi(),fu=qi(),du=Ge(fu),gu=St(),mu=Ge(gu),vu=cr(),yu=Ge(vu),_u=cu.default.create;function Hi(){var t=_u();return t.compile=function(e,r){return Hr.compile(e,r,t)},t.precompile=function(e,r){return Hr.precompile(e,r,t)},t.AST=pu.default,t.Compiler=Hr.Compiler,t.JavaScriptCompiler=du.default,t.Parser=qr.parser,t.parse=qr.parse,t.parseWithoutProcessing=qr.parseWithoutProcessing,t}var Pe=Hi();Pe.create=Hi;yu.default(Pe);Pe.Visitor=mu.default;Pe.default=Pe;xt.default=Pe;Fi.exports=xt.default});var Vi=m(It=>{"use strict";It.__esModule=!0;It.print=ku;It.PrintVisitor=w;function bu(t){return t&&t.__esModule?t:{default:t}}var Su=St(),Pu=bu(Su);function ku(t){return new w().accept(t)}function w(){this.padding=0}w.prototype=new Pu.default;w.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
|
|
23
|
-
`,
|
|
24
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,
|
|
25
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
26
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
27
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
28
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,
|
|
29
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
30
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ft(t,e){if(t){if(typeof t=="string")return Yr(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yr(t,e):void 0}}function Yr(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function al(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,o,a,u=[],l=!0,s=!1;try{if(o=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(h){s=!0,i=h}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw i}}return u}}function bo(t){if(Array.isArray(t))return t}function sl(t,e,r){return e=Oe(e),ul(t,So()?Reflect.construct(e,r||[],Oe(t).constructor):e.apply(t,r))}function ul(t,e){if(e&&(ce(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ll(t)}function ll(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function So(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(So=function(){return!!t})()}function cl(t,e,r,n){var i=Zr(Oe(1&n?t.prototype:t),e,r);return 2&n&&typeof i=="function"?function(o){return i.apply(r,o)}:i}function Zr(){return Zr=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=hl(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}},Zr.apply(null,arguments)}function hl(t,e){for(;!{}.hasOwnProperty.call(t,e)&&(t=Oe(t))!==null;);return t}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Oe(t)}function pl(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Xr(t,e)}function Xr(t,e){return Xr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Xr(t,e)}function po(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ht(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?po(Object(r),!0).forEach(function(n){fl(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):po(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fl(t,e,r){return(e=wo(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Po(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,wo(n.key),n)}}function ko(t,e,r){return e&&fo(t.prototype,e),r&&fo(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function wo(t){var e=dl(t,"string");return ce(e)=="symbol"?e:e+""}function dl(t,e){if(ce(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ce(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Co=exports.DEFAULT_FIELD_TYPE="string",go=exports.DEFAULT_MODEL_DEPTH=10,gl=exports.SimpleFlext=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Po(this,t),this.setData(r),this.setHelpers(n),e&&this.setTemplate(e)}return ko(t,[{key:"setTemplate",value:function(r){return this.data={},this.helpers={},this.ast=(0,le.getAst)(r),this}},{key:"setData",value:function(r){return this.data=r,this}},{key:"setHelpers",value:function(r){return this.helpers=r,this}},{key:"addHelper",value:function(r,n){return this.helpers[r]=n,this}},{key:"getHtml",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(0,le.getTemplate)(this.ast);if(!i)throw new mo.BaseError("Flext: Unable to get the HTML: No template");return(0,le.getHtml)(i,Ht(Ht({},this.data),r),Ht(Ht({},this.helpers),n))}},{key:"html",get:function(){return this.getHtml()}}])}(),ml=exports.Flext=function(t){function e(){return Po(this,e),sl(this,e,arguments)}return pl(e,t),ko(e,[{key:"useModule",value:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,u=i;a<u.length;a++){var l=u[a];this.addModule(l,el[l])}return this}},{key:"setTemplate",value:function(n){var i,o;cl(e,"setTemplate",this,3)([n]);var a=(0,le.getMacros)(this.ast),u=function(_){var g;return(g=a?.filter(function(b){return b?.name===_}))!==null&&g!==void 0?g:null},l=function(_){var g,b,D=u(_),k=ho(D,1),I=k[0],C=(g=I?.params)!==null&&g!==void 0?g:null,O=ho(C,1),he=O[0];return(b=he?.value)!==null&&b!==void 0?b:null},s=l("v"),h=l("use"),c=l("lineHeight"),p=u("field"),f=(i=p?.map(Eo))!==null&&i!==void 0?i:null;s&&this.setVersion(s),c&&this.setLineHeight(Number(c)),f&&this.setFields(f);var v=(o=h?.split(","))!==null&&o!==void 0?o:null;return this.useModule.apply(this,nl(v)),this}},{key:"setVersion",value:function(n){return this.version=n,this}},{key:"setLineHeight",value:function(n){return this.lineHeight=n,this}},{key:"setFields",value:function(n){return this.fields=n,this}},{key:"addModule",value:function(n,i){var o,a=this,u=(o=i?.helpers)!==null&&o!==void 0?o:{},l=function(){if(!(0,le.has)(u,s))return 1;var c=u[s],p=s==="default",f=function(){for(var y=arguments.length,_=new Array(y),g=0;g<y;g++)_[g]=arguments[g];return c({args:_})};p?a.addHelper(n,f):a.addHelper(n+":"+s,f)};for(var s in u)l();return this}},{key:"getDataModel",value:function(){var n=this,i,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:go,a=function(c){for(var p in n.helpers)if((0,le.has)(n.helpers,p)&&c?.name===p)return!0;return!1},u=function(c){var p,f,v,y,_,g,b,D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:go;if(k<=0)throw new mo.PotentialLoopError("Flext: Unable to get the data model: The data model is too deep");var I=(p=D?.fieldName)!==null&&p!==void 0?p:null,C=(f=(v=n.fields)===null||v===void 0?void 0:v.find(function(Me){return Me?.name===I}))!==null&&f!==void 0?f:null,O=(y=c?.name)!==null&&y!==void 0?y:null,he=(_=C?.label)!==null&&_!==void 0?_:null,Ae=(g=C?.type)!==null&&g!==void 0?g:Co,Y=!!(C!=null&&C.isRequired),pe=(b=c?.$)!==null&&b!==void 0?b:[],T=[],$=rl(pe),ee;try{for($.s();!(ee=$.n()).done;){var te,M=ee.value,Lo=(te=M?.name)!==null&&te!==void 0?te:null;T.push(u(M,{fieldName:I+"."+Lo},k-1))}}catch(Me){$.e(Me)}finally{$.f()}return{name:O,label:he,type:Ae,isRequired:Y,$:T}},l=(0,le.getDataModel)(this.ast),s=(i=l?.$)!==null&&i!==void 0?i:[];return s.filter(function(h){return!a(h)}).map(function(h){var c;return u(h,{fieldName:(c=h?.name)!==null&&c!==void 0?c:null},o)})}},{key:"model",get:function(){return this.getDataModel()}}])}(gl);function Eo(t){var e,r,n,i=(e=t?.params)!==null&&e!==void 0?e:[],o=tl(i),a=o[0],u=o.slice(1),l=function(v){var y,_,g=(y=u?.find(function(b){return b?.name===v}))!==null&&y!==void 0?y:null;return g&&g!==null&&g!==void 0&&g.value?(_=g?.value)!==null&&_!==void 0?_:null:g&&g!==null&&g!==void 0&&g.name?!0:null},s=(r=a?.value)!==null&&r!==void 0?r:null,h=l("label"),c=(n=l("type"))!==null&&n!==void 0?n:Co,p=!!l("required");return{name:s,label:h,type:c,isRequired:p}}var Yl=exports.default=ml;
|
|
576
|
+
`.trim()},blockValue:function(t){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(t,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(t,"call",r),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,r,n,i){var o=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(t[o++])):this.pushContext(),this.resolvePath("context",t,o,r,n)},lookupBlockParam:function(t,r){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(t,r,n){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(t,r,n,i,o){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(Bxe(this.options.strict&&o,this,r,n,t));return}for(var s=r.length;n<s;n++)this.replaceStack(function(u){var l=a.nameLookup(u,r[n],t);return i?[" && ",l]:[" != null ? ",l," : ",u]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(t,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof t=="string"?this.pushString(t):this.pushStackLiteral(t))},emptyHash:function(t){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(t?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var t=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(t.ids)),this.stringParams&&(this.push(this.objectLiteral(t.contexts)),this.push(this.objectLiteral(t.types))),this.push(this.objectLiteral(t.values))},pushString:function(t){this.pushStackLiteral(this.quotedString(t))},pushLiteral:function(t){this.pushStackLiteral(t)},pushProgram:function(t){t!=null?this.pushStackLiteral(this.programExpression(t)):this.pushStackLiteral(null)},registerDecorator:function(t,r){var n=this.nameLookup("decorators",r,"decorator"),i=this.setupHelperArgs(r,t);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(t,r,n){var i=this.popStack(),o=this.setupHelper(t,r),a=[];n&&a.push(o.name),a.push(i),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var s=["(",this.itemsSeparatedBy(a,"||"),")"],u=this.source.functionCall(s,"call",o.callParams);this.push(u)},itemsSeparatedBy:function(t,r){var n=[];n.push(t[0]);for(var i=1;i<t.length;i++)n.push(r,t[i]);return n},invokeKnownHelper:function(t,r){var n=this.setupHelper(t,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(t,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var i=this.setupHelper(0,t,r),o=this.lastHelper=this.nameLookup("helpers",t,"helper"),a=["(","(helper = ",o," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(t,r,n){var i=[],o=this.setupParams(r,1,i);t&&(r=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",t?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),i.push(o),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(t){var r=this.popStack(),n=void 0,i=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[t]=n),i&&(a.types[t]=i),o&&(a.ids[t]=o),a.values[t]=r},pushId:function(t,r,n){t==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):t==="PathExpression"?this.pushString(r):t==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:Sc,compileChildren:function(t,r){for(var n=t.children,i=void 0,o=void 0,a=0,s=n.length;a<s;a++){i=n[a],o=new this.compiler;var u=this.matchExistingProgram(i);if(u==null){this.context.programs.push("");var l=this.context.programs.length;i.index=l,i.name="program"+l,this.context.programs[l]=o.compile(i,r,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=i,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=u.index,i.name="program"+u.index,this.useDepths=this.useDepths||u.useDepths,this.useBlockParams=this.useBlockParams||u.useBlockParams}},matchExistingProgram:function(t){for(var r=0,n=this.context.environments.length;r<n;r++){var i=this.context.environments[r];if(i&&i.equals(t))return i}},programExpression:function(t){var r=this.environment.children[t],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(t){this.registers[t]||(this.registers[t]=!0,this.registers.list.push(t))},push:function(t){return t instanceof kc||(t=this.source.wrap(t)),this.inlineStack.push(t),t},pushStackLiteral:function(t){this.push(new kc(t))},pushSource:function(t){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),t&&this.source.push(t)},replaceStack:function(t){var r=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new XC.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof kc)n=[a.value],r=["(",n],o=!0;else{i=!0;var s=this.incrStack();r=["((",this.push(s)," = ",a,")"],n=this.topStack()}var u=t.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(r.concat(u,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var r=0,n=t.length;r<n;r++){var i=t[r];if(i instanceof kc)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(t){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!t&&n instanceof kc)return n.value;if(!r){if(!this.stackSlot)throw new XC.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var t=this.isInline()?this.inlineStack:this.compileStack,r=t[t.length-1];return r instanceof kc?r.value:r},contextName:function(t){return this.useDepths&&t?"depths["+t+"]":"depth"+t},quotedString:function(t){return this.source.quotedString(t)},objectLiteral:function(t){return this.source.objectLiteral(t)},aliasable:function(t){var r=this.aliases[t];return r?(r.referenceCount++,r):(r=this.aliases[t]=this.source.wrap(t),r.aliasable=!0,r.referenceCount=1,r)},setupHelper:function(t,r,n){var i=[],o=this.setupHelperArgs(r,t,i,n),a=this.nameLookup("helpers",r,"helper"),s=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:i,paramsInit:o,name:a,callParams:[s].concat(i)}},setupParams:function(t,r,n){var i={},o=[],a=[],s=[],u=!n,l=void 0;u&&(n=[]),i.name=this.quotedString(t),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var f=this.popStack(),p=this.popStack();(p||f)&&(i.fn=p||"container.noop",i.inverse=f||"container.noop");for(var m=r;m--;)l=this.popStack(),n[m]=l,this.trackIds&&(s[m]=this.popStack()),this.stringParams&&(a[m]=this.popStack(),o[m]=this.popStack());return u&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(s)),this.stringParams&&(i.types=this.source.generateArray(a),i.contexts=this.source.generateArray(o)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(t,r,n,i){var o=this.setupParams(t,r,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),i?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}};(function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=Sc.RESERVED_WORDS={},r=0,n=e.length;r<n;r++)t[e[r]]=!0})();Sc.isValidJavaScriptVariableName=function(e){return!Sc.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)};function Bxe(e,t,r,n,i){var o=t.popStack(),a=r.length;for(e&&a--;n<a;n++)o=t.nameLookup(o,r[n],i);return e?[t.aliasable("container.strict"),"(",o,", ",t.quotedString(r[n]),", ",JSON.stringify(t.source.currentLocation)," )"]:o}dy.default=Sc;qj.exports=dy.default});var Wj=ne((my,zj)=>{"use strict";my.__esModule=!0;function Wh(e){return e&&e.__esModule?e:{default:e}}var jxe=HB(),Mxe=Wh(jxe),qxe=DC(),Vxe=Wh(qxe),JC=oj(),ZC=lj(),Uxe=Vj(),zxe=Wh(Uxe),Wxe=oy(),Hxe=Wh(Wxe),Gxe=_C(),Kxe=Wh(Gxe),Yxe=Mxe.default.create;function Uj(){var e=Yxe();return e.compile=function(t,r){return ZC.compile(t,r,e)},e.precompile=function(t,r){return ZC.precompile(t,r,e)},e.AST=Vxe.default,e.Compiler=ZC.Compiler,e.JavaScriptCompiler=zxe.default,e.Parser=JC.parser,e.parse=JC.parse,e.parseWithoutProcessing=JC.parseWithoutProcessing,e}var _c=Uj();_c.create=Uj;Kxe.default(_c);_c.Visitor=Hxe.default;_c.default=_c;my.default=_c;zj.exports=my.default});var Hj=ne(gy=>{"use strict";gy.__esModule=!0;gy.print=Zxe;gy.PrintVisitor=$t;function Qxe(e){return e&&e.__esModule?e:{default:e}}var Xxe=oy(),Jxe=Qxe(Xxe);function Zxe(e){return new $t().accept(e)}function $t(){this.padding=0}$t.prototype=new Jxe.default;$t.prototype.pad=function(e){for(var t="",r=0,n=this.padding;r<n;r++)t+=" ";return t+=e+`
|
|
577
|
+
`,t};$t.prototype.Program=function(e){var t="",r=e.body,n=void 0,i=void 0;if(e.blockParams){var o="BLOCK PARAMS: [";for(n=0,i=e.blockParams.length;n<i;n++)o+=" "+e.blockParams[n];o+=" ]",t+=this.pad(o)}for(n=0,i=r.length;n<i;n++)t+=this.accept(r[n]);return this.padding--,t};$t.prototype.MustacheStatement=function(e){return this.pad("{{ "+this.SubExpression(e)+" }}")};$t.prototype.Decorator=function(e){return this.pad("{{ DIRECTIVE "+this.SubExpression(e)+" }}")};$t.prototype.BlockStatement=$t.prototype.DecoratorBlock=function(e){var t="";return t+=this.pad((e.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,t+=this.pad(this.SubExpression(e)),e.program&&(t+=this.pad("PROGRAM:"),this.padding++,t+=this.accept(e.program),this.padding--),e.inverse&&(e.program&&this.padding++,t+=this.pad("{{^}}"),this.padding++,t+=this.accept(e.inverse),this.padding--,e.program&&this.padding--),this.padding--,t};$t.prototype.PartialStatement=function(e){var t="PARTIAL:"+e.name.original;return e.params[0]&&(t+=" "+this.accept(e.params[0])),e.hash&&(t+=" "+this.accept(e.hash)),this.pad("{{> "+t+" }}")};$t.prototype.PartialBlockStatement=function(e){var t="PARTIAL BLOCK:"+e.name.original;return e.params[0]&&(t+=" "+this.accept(e.params[0])),e.hash&&(t+=" "+this.accept(e.hash)),t+=" "+this.pad("PROGRAM:"),this.padding++,t+=this.accept(e.program),this.padding--,this.pad("{{> "+t+" }}")};$t.prototype.ContentStatement=function(e){return this.pad("CONTENT[ '"+e.value+"' ]")};$t.prototype.CommentStatement=function(e){return this.pad("{{! '"+e.value+"' }}")};$t.prototype.SubExpression=function(e){for(var t=e.params,r=[],n=void 0,i=0,o=t.length;i<o;i++)r.push(this.accept(t[i]));return t="["+r.join(", ")+"]",n=e.hash?" "+this.accept(e.hash):"",this.accept(e.path)+" "+t+n};$t.prototype.PathExpression=function(e){var t=e.parts.join("/");return(e.data?"@":"")+"PATH:"+t};$t.prototype.StringLiteral=function(e){return'"'+e.value+'"'};$t.prototype.NumberLiteral=function(e){return"NUMBER{"+e.value+"}"};$t.prototype.BooleanLiteral=function(e){return"BOOLEAN{"+e.value+"}"};$t.prototype.UndefinedLiteral=function(){return"UNDEFINED"};$t.prototype.NullLiteral=function(){return"NULL"};$t.prototype.Hash=function(e){for(var t=e.pairs,r=[],n=0,i=t.length;n<i;n++)r.push(this.accept(t[n]));return"HASH{"+r.join(", ")+"}"};$t.prototype.HashPair=function(e){return e.key+"="+this.accept(e.value)}});var eE=ne((L5e,Yj)=>{"use strict";var by=Wj().default,Kj=Hj();by.PrintVisitor=Kj.PrintVisitor;by.print=Kj.print;Yj.exports=by;function Gj(e,t){var r=require("fs"),n=r.readFileSync(t,"utf8");e.exports=by.compile(n)}typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=Gj,require.extensions[".hbs"]=Gj)});var dM={};function twe(e){return e&&e.__esModule?e:{default:e}}function Tu(){Tu=function(o,a){return new r(o,void 0,a)};var e=RegExp.prototype,t=new WeakMap;function r(i,o,a){var s=RegExp(i,o);return t.set(s,a||t.get(i)),yy(s,r.prototype)}function n(i,o){var a=t.get(o);return Object.keys(a).reduce(function(s,u){var l=a[u];if(typeof l=="number")s[u]=i[l];else{for(var f=0;i[l[f]]===void 0&&f+1<l.length;)f++;s[u]=i[l[f]]}return s},Object.create(null))}return Hh(r,RegExp),r.prototype.exec=function(i){var o=e.exec.call(this,i);if(o){o.groups=n(o,this);var a=o.indices;a&&(a.groups=n(a,this))}return o},r.prototype[Symbol.replace]=function(i,o){if(typeof o=="string"){var a=t.get(this);return e[Symbol.replace].call(this,i,o.replace(/\$<([^>]+)(>|$)/g,function(u,l,f){if(f==="")return u;var p=a[l];return Array.isArray(p)?"$"+p.join("$"):typeof p=="number"?"$"+p:""}))}if(typeof o=="function"){var s=this;return e[Symbol.replace].call(this,i,function(){var u=arguments;return ha(u[u.length-1])!="object"&&(u=[].slice.call(u)).push(n(u,s)),o.apply(this,u)})}return e[Symbol.replace].call(this,i,o)},Tu.apply(this,arguments)}function tE(){var e,t,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(b,v,w,C){var P=v&&v.prototype instanceof s?v:s,A=Object.create(P.prototype);return Ln(A,"_invoke",function(E,y,L){var I,T,N,X=0,se=L||[],ie=!1,te={p:0,n:0,v:e,a:Ee,f:Ee.bind(e,4),d:function(G,Z){return I=G,T=0,N=e,te.n=Z,a}};function Ee(W,G){for(T=W,N=G,t=0;!ie&&X&&!Z&&t<se.length;t++){var Z,Q=se[t],pe=te.p,Le=Q[2];W>3?(Z=Le===G)&&(N=Q[(T=Q[4])?5:(T=3,3)],Q[4]=Q[5]=e):Q[0]<=pe&&((Z=W<2&&pe<Q[1])?(T=0,te.v=G,te.n=Q[1]):pe<Le&&(Z=W<3||Q[0]>G||G>Le)&&(Q[4]=W,Q[5]=G,te.n=Le,T=0))}if(Z||W>1)return a;throw ie=!0,G}return function(W,G,Z){if(X>1)throw TypeError("Generator is already running");for(ie&&G===1&&Ee(G,Z),T=G,N=Z;(t=T<2?e:N)||!ie;){I||(T?T<3?(T>1&&(te.n=-1),Ee(T,N)):te.n=N:te.v=N);try{if(X=2,I){if(T||(W="next"),t=I[W]){if(!(t=t.call(I,N)))throw TypeError("iterator result is not an object");if(!t.done)return t;N=t.value,T<2&&(T=0)}else T===1&&(t=I.return)&&t.call(I),T<2&&(N=TypeError("The iterator does not provide a '"+W+"' method"),T=1);I=e}else if((t=(ie=te.n<0)?N:E.call(y,te))!==a)break}catch(Q){I=e,T=1,N=Q}finally{X=1}}return{value:t,done:ie}}}(b,w,C),!0),A}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var f=[][n]?t(t([][n]())):(Ln(t={},n,function(){return this}),t),p=l.prototype=s.prototype=Object.create(f);function m(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,l):(b.__proto__=l,Ln(b,i,"GeneratorFunction")),b.prototype=Object.create(p),b}return u.prototype=l,Ln(p,"constructor",l),Ln(l,"constructor",u),u.displayName="GeneratorFunction",Ln(l,i,"GeneratorFunction"),Ln(p),Ln(p,i,"Generator"),Ln(p,n,function(){return this}),Ln(p,"toString",function(){return"[object Generator]"}),(tE=function(){return{w:o,m}})()}function Ln(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}Ln=function(a,s,u,l){if(s)i?i(a,s,{value:u,enumerable:!l,configurable:!l,writable:!l}):a[s]=u;else{var f=function(m,b){Ln(a,m,function(v){return this._invoke(m,b,v)})};f("next",0),f("throw",1),f("return",2)}},Ln(e,t,r,n)}function rwe(e,t){return tM(e)||nwe(e,t)||wy(e,t)||eM()}function nwe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function xy(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=wy(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
578
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}function Zj(e){return tM(e)||nM(e)||wy(e)||eM()}function eM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
579
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tM(e){if(Array.isArray(e))return e}function Xj(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void r(l)}s.done?t(u):Promise.resolve(u).then(n,i)}function iwe(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(u){Xj(o,n,i,a,s,"next",u)}function s(u){Xj(o,n,i,a,s,"throw",u)}a(void 0)})}}function rM(e){return awe(e)||nM(e)||wy(e)||owe()}function owe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
580
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wy(e,t){if(e){if(typeof e=="string")return rE(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rE(e,t):void 0}}function nM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function awe(e){if(Array.isArray(e))return rE(e)}function rE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ha(e){"@babel/helpers - typeof";return ha=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ha(e)}function iM(e,t,r,n){var i=nE(Cc(1&n?e.prototype:e),t,r);return 2&n&&typeof i=="function"?function(o){return i.apply(r,o)}:i}function nE(){return nE=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=swe(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},nE.apply(null,arguments)}function swe(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Cc(e))!==null;);return e}function Ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,aM(n.key),n)}}function Ac(e,t,r){return t&&Jj(e.prototype,t),r&&Jj(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ky(e,t,r){return t=Cc(t),uwe(e,oM()?Reflect.construct(t,r||[],Cc(e).constructor):t.apply(e,r))}function uwe(e,t){if(t&&(ha(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return lwe(e)}function lwe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oM=function(){return!!e})()}function Cc(e){return Cc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Cc(e)}function Hh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yy(e,t)}function yy(e,t){return yy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},yy(e,t)}function ss(e,t,r){return(t=aM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aM(e){var t=cwe(e,"string");return ha(t)=="symbol"?t:t+""}function cwe(e,t){if(ha(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ha(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function mwe(e){return ha(e)==="object"&&e!==null}function gwe(e,t){return e.hasOwnProperty(t)}function uE(e){switch(ha(e)){case"string":return"'".concat(e,"'");case"object":return JSON.stringify(e);default:return String(e)}}function bwe(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=(e=t?.helpers)!==null&&e!==void 0?e:null;return{helpers:r}}function uM(e){return rM(new Set(e))}function ywe(e){return sE.default.parse(e)}function vwe(e){return sE.default.compile(e)}function lM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e(t,{helpers:r})}function xwe(e){return oE.apply(this,arguments)}function oE(){return oE=iwe(tE().m(function e(t){var r,n,i,o,a,s,u=arguments;return tE().w(function(l){for(;;)switch(l.n){case 0:return r=u.length>1&&u[1]!==void 0?u[1]:{},n=u.length>2&&u[2]!==void 0?u[2]:{},l.n=1,fwe;case 1:return i=l.v,o=lM(t,r,n),l.n=2,i.generate(o,{preflights:!0});case 2:return a=l.v,s=a.css,l.a(2,s)}},e)})),oE.apply(this,arguments)}function cM(e){var t=new hwe().collect(e);return uM(t)}function vy(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:iE;if(r<=0)throw new aE.PotentialLoopError("Flext: Unable to get the model: The model is too deep");var n=(t=e?.split("."))!==null&&t!==void 0?t:[],i=Zj(n),o=i[0],a=i.slice(1),s={name:o};return a?.length>0&&(s.$=[vy(a?.join("."),r-1)]),s}function fM(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:iE,r=vy(e,t),n={name:"root",$:[r]};return n.addPath=function(i){for(var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:iE,a=vy(i,o),s=n,u=a,l=0;l<99;l++){var f,p,m;if(!u)return;var b=(f=(p=s)===null||p===void 0?void 0:p.$)!==null&&f!==void 0?f:[],v=null,w=xy(b),C;try{for(w.s();!(C=w.n()).done;){var P,A=C.value;((P=u)===null||P===void 0?void 0:P.name)===A?.name&&(v=A)}}catch(I){w.e(I)}finally{w.f()}if(!v){s.$=[].concat(rM(b),[u]);return}var E=(m=u.$)!==null&&m!==void 0?m:[],y=rwe(E,1),L=y[0];s=v,u=L??null}},n}function wwe(e){var t=cM(e),r=Zj(t),n=r[0],i=r.slice(1),o=fM(n),a=xy(i),s;try{for(a.s();!(s=a.n()).done;){var u=s.value;o.addPath(u)}}catch(l){a.e(l)}finally{a.f()}return o}function pM(e){var t=function(s){var u;return(u=e?.match(s))!==null&&u!==void 0?u:null},r=function(s){var u,l,f,p,m=(u=s==null||(l=s.groups)===null||l===void 0?void 0:l.value)!==null&&u!==void 0?u:null,b=(f=s==null||(p=s.groups)===null||p===void 0?void 0:p.name)!==null&&f!==void 0?f:m;return{name:b,value:m}},n=t(Bi.macroParam),i=t(Bi.macroNamedParam),o=t(Bi.macroSimpleParam);return n?r(n):i?r(i):o?r(o):null}function hM(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=(t=e?.match(Bi.macroParams))!==null&&t!==void 0?t:[],i=[],o=xy(n),a;try{for(o.s();!(a=o.n()).done;){var s=a.value,u=pM(s);if(u)i.push(u);else if(r)throw new aE.BaseWarning("Flext: Unable to parse the macros: Bad token: "+uE(s))}}catch(l){o.e(l)}finally{o.f()}return i}function kwe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=new dwe().collect(e),n=[],i=xy(r),o;try{for(i.s();!(o=i.n()).done;){var a,s,u,l,f,p,m=o.value,b=(a=m==null||(s=m.trim())===null||s===void 0?void 0:s.match(Bi.macro))!==null&&a!==void 0?a:null;if(!b&&t)throw new aE.BaseWarning("Flext: Unable to parse the macros: Bad macro: "+uE(m));var v=(u=b==null||(l=b.groups)===null||l===void 0?void 0:l.name)!==null&&u!==void 0?u:null,w=(f=b==null||(p=b.groups)===null||p===void 0?void 0:p.params)!==null&&f!==void 0?f:null,C=hM(w,t);n.push({name:v,params:C})}}catch(P){i.e(P)}finally{i.f()}return n}var Qj,ewe,aE,sE,fwe,iE,sM,pwe,hwe,dwe,Bi,Swe,lE=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.RegexHelper=exports.HandlebarsCollector=exports.FilterHelper=exports.DEFAULT_MODEL_DEPTH=void 0;exports.audit=uE;exports.defineModule=bwe;exports.getAst=ywe;exports.getCss=xwe;exports.getDataModel=wwe;exports.getHtml=lM;exports.getMacroParam=pM;exports.getMacroParams=hM;exports.getMacros=kwe;exports.getPaths=cM;exports.getTemplate=vwe;exports.has=gwe;exports.isObject=mwe;exports.pathToDataModel=fM;exports.pathToDataModelNode=vy;exports.unique=uM;exports.uno=void 0;Qj=(oB(),R(iB)),ewe=(bS(),R(wI)),aE=(nv(),R(EA)),sE=twe(eE());fwe=exports.uno=(0,Qj.createGenerator)({presets:[(0,ewe.presetWind4)(),(0,Qj.presetTypography)()],theme:{}}),iE=exports.DEFAULT_MODEL_DEPTH=10,sM=exports.HandlebarsCollector=function(e){function t(r){var n;return Ec(this,t),n=ky(this,t),ss(n,"data",[]),ss(n,"match",function(){return!0}),r&&n.setMatchHandler(r),n}return Hh(t,e),Ac(t,[{key:"onCollect",value:function(n){this.match(n)&&this.data.push(n)}},{key:"setMatchHandler",value:function(n){return this.match=n,this}},{key:"setAst",value:function(n){return this.accept(n),this}},{key:"collect",value:function(n){return this.data=[],this.setAst(n),this.data}}])}(sE.default.Visitor),pwe=function(e){function t(){return Ec(this,t),ky(this,t,arguments)}return Hh(t,e),Ac(t,[{key:"CommentStatement",value:function(n){return this.onCollect(n.value),iM(t,"CommentStatement",this,3)([n])}}])}(sM),hwe=function(e){function t(){return Ec(this,t),ky(this,t,arguments)}return Hh(t,e),Ac(t,[{key:"PathExpression",value:function(n){return this.onCollect(n.original),iM(t,"PathExpression",this,3)([n])}}])}(sM),dwe=function(e){function t(){var r;Ec(this,t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=ky(this,t,[].concat(i)),ss(r,"match",Swe.macro),r}return Hh(t,e),Ac(t)}(pwe);Bi=exports.RegexHelper=Ac(function e(){Ec(this,e)});ss(Bi,"macro",Tu(/^@(.+?) (.+)$/,{name:1,params:2}));ss(Bi,"macroParams",Tu(/(".+?")|([a-zA-Z0-9]+=".+?")|([a-zA-Z0-9]+)/gm,{param:1,namedParam:2,simplaeParam:3}));ss(Bi,"macroParam",Tu(/^"(.+)"$/,{value:1}));ss(Bi,"macroNamedParam",Tu(/^(.+)="(.+)"$/,{name:1,value:2}));ss(Bi,"macroSimpleParam",Tu(/^([a-zA-Z]+)$/,{name:1}));Swe=exports.FilterHelper=function(){function e(){Ec(this,e)}return Ac(e,null,[{key:"macro",value:function(r){var n;return!!(r!=null&&(n=r.trim())!==null&&n!==void 0&&n.match(Bi.macro))}}])}()});var Twe={};function Ewe(e,t){return Owe(e)||Pwe(e,t)||Dwe(e,t)||Awe()}function Awe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
581
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Dwe(e,t){if(e){if(typeof e=="string")return mM(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mM(e,t):void 0}}function mM(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Pwe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function Owe(e){if(Array.isArray(e))return e}function cE(e){var t,r,n=(t=e?.args)!==null&&t!==void 0?t:[],i=Ewe(n,2),o=i[0],a=i[1];return(r=o??a)!==null&&r!==void 0?r:""}function gM(e){return new _we.SafeString('<span class="text-blue-500">'.concat(cE(e),"</span>"))}var _we,Cwe,$5e,bM=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=void 0;exports.put=cE;exports.putWithColor=gM;_we=eE(),Cwe=(lE(),R(dM));$5e=exports.default=(0,Cwe.defineModule)({helpers:{noColor:cE,default:gM}})});var Iwe={};function Fwe(e){return e&&e.__esModule?e:{default:e}}var Rwe,yM=$(()=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0});Object.defineProperty(exports,"put",{enumerable:!0,get:function(){return Rwe.default}});Rwe=Fwe((bM(),R(Twe)))});Object.defineProperty(exports,"__esModule",{value:!0});exports.default=exports.SimpleFlext=exports.Flext=exports.DEFAULT_MODEL_DEPTH=exports.DEFAULT_FIELD_TYPE=void 0;exports.macroToField=FM;var fE=(nv(),R(EA)),da=(lE(),R(dM)),Lwe=_M((yM(),R(Iwe)));function _M(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(_M=function(o,a){if(!a&&o&&o.__esModule)return o;var s,u,l={__proto__:null,default:o};if(o===null||Ru(o)!="object"&&typeof o!="function")return l;if(s=a?n:r){if(s.has(o))return s.get(o);s.set(o,l)}for(var f in o)f!=="default"&&{}.hasOwnProperty.call(o,f)&&((u=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(o,f))&&(u.get||u.set)?s(l,f,u):l[f]=o[f]);return l})(e,t)}function Ru(e){"@babel/helpers - typeof";return Ru=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ru(e)}function $we(e){return AM(e)||CM(e)||Sy(e)||EM()}function Nwe(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Sy(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
582
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var l=r.next();return a=l.done,l},e:function(l){s=!0,o=l},f:function(){try{a||r.return==null||r.return()}finally{if(s)throw o}}}}function Bwe(e){return Mwe(e)||CM(e)||Sy(e)||jwe()}function jwe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
583
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mwe(e){if(Array.isArray(e))return pE(e)}function vM(e,t){return AM(e)||qwe(e,t)||Sy(e,t)||EM()}function EM(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
584
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sy(e,t){if(e){if(typeof e=="string")return pE(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pE(e,t):void 0}}function pE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function qwe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,o,a,s=[],u=!0,l=!1;try{if(o=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);u=!0);}catch(f){l=!0,i=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}function AM(e){if(Array.isArray(e))return e}function Vwe(e,t,r){return t=Dc(t),Uwe(e,DM()?Reflect.construct(t,r||[],Dc(e).constructor):t.apply(e,r))}function Uwe(e,t){if(t&&(Ru(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return zwe(e)}function zwe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(DM=function(){return!!e})()}function Wwe(e,t,r,n){var i=hE(Dc(1&n?e.prototype:e),t,r);return 2&n&&typeof i=="function"?function(o){return i.apply(r,o)}:i}function hE(){return hE=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=Hwe(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},hE.apply(null,arguments)}function Hwe(e,t){for(;!{}.hasOwnProperty.call(e,t)&&(e=Dc(e))!==null;);return e}function Dc(e){return Dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Dc(e)}function Gwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dE(e,t)}function dE(e,t){return dE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},dE(e,t)}function mE(){var e,t,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function o(b,v,w,C){var P=v&&v.prototype instanceof s?v:s,A=Object.create(P.prototype);return $n(A,"_invoke",function(E,y,L){var I,T,N,X=0,se=L||[],ie=!1,te={p:0,n:0,v:e,a:Ee,f:Ee.bind(e,4),d:function(G,Z){return I=G,T=0,N=e,te.n=Z,a}};function Ee(W,G){for(T=W,N=G,t=0;!ie&&X&&!Z&&t<se.length;t++){var Z,Q=se[t],pe=te.p,Le=Q[2];W>3?(Z=Le===G)&&(N=Q[(T=Q[4])?5:(T=3,3)],Q[4]=Q[5]=e):Q[0]<=pe&&((Z=W<2&&pe<Q[1])?(T=0,te.v=G,te.n=Q[1]):pe<Le&&(Z=W<3||Q[0]>G||G>Le)&&(Q[4]=W,Q[5]=G,te.n=Le,T=0))}if(Z||W>1)return a;throw ie=!0,G}return function(W,G,Z){if(X>1)throw TypeError("Generator is already running");for(ie&&G===1&&Ee(G,Z),T=G,N=Z;(t=T<2?e:N)||!ie;){I||(T?T<3?(T>1&&(te.n=-1),Ee(T,N)):te.n=N:te.v=N);try{if(X=2,I){if(T||(W="next"),t=I[W]){if(!(t=t.call(I,N)))throw TypeError("iterator result is not an object");if(!t.done)return t;N=t.value,T<2&&(T=0)}else T===1&&(t=I.return)&&t.call(I),T<2&&(N=TypeError("The iterator does not provide a '"+W+"' method"),T=1);I=e}else if((t=(ie=te.n<0)?N:E.call(y,te))!==a)break}catch(Q){I=e,T=1,N=Q}finally{X=1}}return{value:t,done:ie}}}(b,w,C),!0),A}var a={};function s(){}function u(){}function l(){}t=Object.getPrototypeOf;var f=[][n]?t(t([][n]())):($n(t={},n,function(){return this}),t),p=l.prototype=s.prototype=Object.create(f);function m(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,l):(b.__proto__=l,$n(b,i,"GeneratorFunction")),b.prototype=Object.create(p),b}return u.prototype=l,$n(p,"constructor",l),$n(l,"constructor",u),u.displayName="GeneratorFunction",$n(l,i,"GeneratorFunction"),$n(p),$n(p,i,"Generator"),$n(p,n,function(){return this}),$n(p,"toString",function(){return"[object Generator]"}),(mE=function(){return{w:o,m}})()}function $n(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}$n=function(a,s,u,l){if(s)i?i(a,s,{value:u,enumerable:!l,configurable:!l,writable:!l}):a[s]=u;else{var f=function(m,b){$n(a,m,function(v){return this._invoke(m,b,v)})};f("next",0),f("throw",1),f("return",2)}},$n(e,t,r,n)}function xM(e,t,r,n,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void r(l)}s.done?t(u):Promise.resolve(u).then(n,i)}function Kwe(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(u){xM(o,n,i,a,s,"next",u)}function s(u){xM(o,n,i,a,s,"throw",u)}a(void 0)})}}function wM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function us(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?wM(Object(r),!0).forEach(function(n){Ywe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wM(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ywe(e,t,r){return(t=TM(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,TM(n.key),n)}}function OM(e,t,r){return t&&kM(e.prototype,t),r&&kM(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function TM(e){var t=Qwe(e,"string");return Ru(t)=="symbol"?t:t+""}function Qwe(e,t){if(Ru(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ru(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var RM=exports.DEFAULT_FIELD_TYPE="string",SM=exports.DEFAULT_MODEL_DEPTH=10,Xwe=exports.SimpleFlext=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};PM(this,e),this.setData(r),this.setHelpers(n),t&&this.setTemplate(t)}return OM(e,[{key:"setTemplate",value:function(r){return this.data={},this.helpers={},this.ast=(0,da.getAst)(r),this}},{key:"setData",value:function(r){return this.data=r,this}},{key:"setHelpers",value:function(r){return this.helpers=r,this}},{key:"addHelper",value:function(r,n){return this.helpers[r]=n,this}},{key:"getHtml",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=(0,da.getTemplate)(this.ast);if(!i)throw new fE.BaseError("Flext: Unable to get HTML: No template");return(0,da.getHtml)(i,us(us({},this.data),r),us(us({},this.helpers),n))}},{key:"getCss",value:function(){var t=Kwe(mE().m(function n(){var i,o,a,s=arguments;return mE().w(function(u){for(;;)switch(u.n){case 0:if(i=s.length>0&&s[0]!==void 0?s[0]:{},o=s.length>1&&s[1]!==void 0?s[1]:{},a=(0,da.getTemplate)(this.ast),a){u.n=1;break}throw new fE.BaseError("Flext: Unable to get CSS: No template");case 1:return u.n=2,(0,da.getCss)(a,us(us({},this.data),i),us(us({},this.helpers),o));case 2:return u.a(2,u.v)}},n,this)}));function r(){return t.apply(this,arguments)}return r}()},{key:"html",get:function(){return this.getHtml()}}])}(),Jwe=exports.Flext=function(e){function t(){return PM(this,t),Vwe(this,t,arguments)}return Gwe(t,e),OM(t,[{key:"useModule",value:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,s=i;a<s.length;a++){var u=s[a];this.addModule(u,Lwe[u])}return this}},{key:"setTemplate",value:function(n){var i,o;Wwe(t,"setTemplate",this,3)([n]);var a=(0,da.getMacros)(this.ast),s=function(C){var P;return(P=a?.filter(function(A){return A?.name===C}))!==null&&P!==void 0?P:null},u=function(C){var P,A,E=s(C),y=vM(E,1),L=y[0],I=(P=L?.params)!==null&&P!==void 0?P:null,T=vM(I,1),N=T[0];return(A=N?.value)!==null&&A!==void 0?A:null},l=u("v"),f=u("use"),p=u("lineHeight"),m=s("field"),b=(i=m?.map(FM))!==null&&i!==void 0?i:null;l&&this.setVersion(l),p&&this.setLineHeight(Number(p)),b&&this.setFields(b);var v=(o=f?.split(","))!==null&&o!==void 0?o:null;return this.useModule.apply(this,Bwe(v)),this}},{key:"setVersion",value:function(n){return this.version=n,this}},{key:"setLineHeight",value:function(n){return this.lineHeight=n,this}},{key:"setFields",value:function(n){return this.fields=n,this}},{key:"addModule",value:function(n,i){var o,a=this,s=(o=i?.helpers)!==null&&o!==void 0?o:{},u=function(){if(!(0,da.has)(s,l))return 1;var p=s[l],m=l==="default",b=function(){for(var w=arguments.length,C=new Array(w),P=0;P<w;P++)C[P]=arguments[P];return p({args:C})};m?a.addHelper(n,b):a.addHelper(n+":"+l,b)};for(var l in s)u();return this}},{key:"getDataModel",value:function(){var n=this,i,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:SM,a=function(p){for(var m in n.helpers)if((0,da.has)(n.helpers,m)&&p?.name===m)return!0;return!1},s=function(p){var m,b,v,w,C,P,A,E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:SM;if(y<=0)throw new fE.PotentialLoopError("Flext: Unable to get data model: The data model is too deep");var L=(m=E?.fieldName)!==null&&m!==void 0?m:null,I=(b=(v=n.fields)===null||v===void 0?void 0:v.find(function(pe){return pe?.name===L}))!==null&&b!==void 0?b:null,T=(w=p?.name)!==null&&w!==void 0?w:null,N=(C=I?.label)!==null&&C!==void 0?C:null,X=(P=I?.type)!==null&&P!==void 0?P:RM,se=!!(I!=null&&I.isRequired),ie=(A=p?.$)!==null&&A!==void 0?A:[],te=[],Ee=Nwe(ie),W;try{for(Ee.s();!(W=Ee.n()).done;){var G,Z=W.value,Q=(G=Z?.name)!==null&&G!==void 0?G:null;te.push(s(Z,{fieldName:L+"."+Q},y-1))}}catch(pe){Ee.e(pe)}finally{Ee.f()}return{name:T,label:N,type:X,isRequired:se,$:te}},u=(0,da.getDataModel)(this.ast),l=(i=u?.$)!==null&&i!==void 0?i:[];return l.filter(function(f){return!a(f)}).map(function(f){var p;return s(f,{fieldName:(p=f?.name)!==null&&p!==void 0?p:null},o)})}},{key:"model",get:function(){return this.getDataModel()}}])}(Xwe);function FM(e){var t,r,n,i=(t=e?.params)!==null&&t!==void 0?t:[],o=$we(i),a=o[0],s=o.slice(1),u=function(v){var w,C,P=(w=s?.find(function(A){return A?.name===v}))!==null&&w!==void 0?w:null;return P&&P!==null&&P!==void 0&&P.value?(C=P?.value)!==null&&C!==void 0?C:null:P&&P!==null&&P!==void 0&&P.name?!0:null},l=(r=a?.value)!==null&&r!==void 0?r:null,f=u("label"),p=(n=u("type"))!==null&&n!==void 0?n:RM,m=!!u("required");return{name:l,label:f,type:p,isRequired:m}}var N5e=exports.default=Jwe;
|
|
585
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
586
|
+
/*! Bundled license information:
|
|
587
|
+
|
|
588
|
+
node-fetch-native/dist/node.mjs:
|
|
589
|
+
(**
|
|
590
|
+
* @license
|
|
591
|
+
* web-streams-polyfill v3.3.3
|
|
592
|
+
* Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.
|
|
593
|
+
* This code is released under the MIT license.
|
|
594
|
+
* SPDX-License-Identifier: MIT
|
|
595
|
+
*)
|
|
596
|
+
(*! fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
|
597
|
+
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
|
598
|
+
(*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
|
599
|
+
|
|
600
|
+
tinyexec/dist/main.js:
|
|
601
|
+
@antfu/install-pkg/dist/index.js:
|
|
602
|
+
css-tree/lib/utils/List.js:
|
|
603
|
+
(*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *)
|
|
604
|
+
|
|
605
|
+
confbox/dist/yaml.cjs:
|
|
606
|
+
(*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT *)
|
|
607
|
+
|
|
608
|
+
confbox/dist/toml.cjs:
|
|
609
|
+
(*!
|
|
610
|
+
* Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
611
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
612
|
+
*
|
|
613
|
+
* Redistribution and use in source and binary forms, with or without
|
|
614
|
+
* modification, are permitted provided that the following conditions are met:
|
|
615
|
+
*
|
|
616
|
+
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
617
|
+
* list of conditions and the following disclaimer.
|
|
618
|
+
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
619
|
+
* this list of conditions and the following disclaimer in the
|
|
620
|
+
* documentation and/or other materials provided with the distribution.
|
|
621
|
+
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
622
|
+
* may be used to endorse or promote products derived from this software without
|
|
623
|
+
* specific prior written permission.
|
|
624
|
+
*
|
|
625
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
626
|
+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
627
|
+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
628
|
+
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
629
|
+
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
630
|
+
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
631
|
+
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
632
|
+
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
633
|
+
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
634
|
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
635
|
+
*)
|
|
636
|
+
*/
|