@unizap/unicss 2.0.16 → 2.0.18

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ ${e}`,r}}}});var Cx=_(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{v
53
53
 
54
54
  return ${Yr(r)};
55
55
  })(${Nx(this.node)})
56
- `;return this.replaceWith(o)[0].get("arguments.0")}function SX(t){let e=t.params.findIndex(i=>QJ(i)||ZJ(i));return e===-1?t.params.length:e}});var qx=_(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct._guessExecutionStatusRelativeTo=UX;ct._resolve=$x;ct.canHaveVariableDeclarationOrExpression=LX;ct.canSwapBetweenExpressionAndStatement=MX;ct.getSource=RX;ct.isCompletionRecord=FX;ct.isConstantExpression=YX;ct.isInStrictMode=zX;ct.isNodeType=DX;ct.isStatementOrBlock=BX;ct.isStatic=NX;ct.matchesPattern=OX;ct.referencesImport=jX;ct.resolve=WX;ct.willIMaybeExecuteBefore=$X;var EX=be(),{STATEMENT_OR_BLOCK_KEYS:PX,VISITOR_KEYS:vX,isBlockStatement:Rx,isExpression:AX,isIdentifier:wX,isLiteral:CX,isStringLiteral:IX,isType:kX,matchesPattern:_X}=EX;function OX(t,e){return _X(this.node,t,e)}ct.has=function(e){var i;let r=(i=this.node)==null?void 0:i[e];return r&&Array.isArray(r)?!!r.length:!!r};function NX(){return this.scope.isStatic(this.node)}ct.is=ct.has,ct.isnt=function(e){return!this.has(e)},ct.equals=function(e,i){return this.node[e]===i};function DX(t){return kX(this.type,t)}function LX(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function MX(t){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?Rx(t):this.isBlockStatement()?AX(t):!1}function FX(t){let e=this,i=!0;do{let{type:r,container:s}=e;if(!i&&(e.isFunction()||r==="StaticBlock"))return!!t;if(i=!1,Array.isArray(s)&&e.key!==s.length-1)return!1}while((e=e.parentPath)&&!e.isProgram()&&!e.isDoExpression());return!0}function BX(){return this.parentPath.isLabeledStatement()||Rx(this.container)?!1:PX.includes(this.key)}function jX(t,e){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===e||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?IX(this.node.property,{value:e}):this.node.property.name===e)){let n=this.get("object");return n.isReferencedIdentifier()&&n.referencesImport(t,"*")}return!1}let i=this.scope.getBinding(this.node.name);if(!i||i.kind!=="module")return!1;let r=i.path,s=r.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===t){if(!e)return!0}else return!1;return!!(r.isImportDefaultSpecifier()&&e==="default"||r.isImportNamespaceSpecifier()&&e==="*"||r.isImportSpecifier()&&wX(r.node.imported,{name:e}))}function RX(){let t=this.node;if(t.end){let e=this.hub.getCode();if(e)return e.slice(t.start,t.end)}return""}function $X(t){return this._guessExecutionStatusRelativeTo(t)!=="after"}function Fx(t){return t.isProgram()?t:(t.parentPath.scope.getFunctionParent()||t.parentPath.scope.getProgramParent()).path}function qX(t,e){switch(t){case"LogicalExpression":return e==="right";case"ConditionalExpression":case"IfStatement":return e==="consequent"||e==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return e==="body";case"ForStatement":return e==="body"||e==="update";case"SwitchStatement":return e==="cases";case"TryStatement":return e==="handler";case"AssignmentPattern":return e==="right";case"OptionalMemberExpression":return e==="property";case"OptionalCallExpression":return e==="arguments";default:return!1}}function Bx(t,e){for(let i=0;i<e;i++){let r=t[i];if(qX(r.parent.type,r.parentKey))return!0}return!1}var jx=Symbol();function UX(t){return lh(this,t,new Map)}function lh(t,e,i){let r={this:Fx(t),target:Fx(e)};if(r.target.node!==r.this.node)return VX(t,r.target,i);let s={target:e.getAncestry(),this:t.getAncestry()};if(s.target.includes(t))return"after";if(s.this.includes(e))return"before";let n,a={target:0,this:0};for(;!n&&a.this<s.this.length;){let u=s.this[a.this];a.target=s.target.indexOf(u),a.target>=0?n=u:a.this++}if(!n)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(Bx(s.this,a.this-1)||Bx(s.target,a.target-1))return"unknown";let l={this:s.this[a.this-1],target:s.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";let c=vX[n.type],o={this:c.indexOf(l.this.parentKey),target:c.indexOf(l.target.parentKey)};return o.target>o.this?"before":"after"}function KX(t,e,i){if(e.isFunctionDeclaration()){if(e.parentPath.isExportDeclaration())return"unknown"}else return lh(t,e,i)==="before"?"before":"unknown";let r=e.scope.getBinding(e.node.id.name);if(!r.references)return"before";let s=r.referencePaths,n;for(let a of s){if(!!a.find(o=>o.node===e.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let c=lh(t,a,i);if(n&&n!==c)return"unknown";n=c}return n}function VX(t,e,i){let r=i.get(t.node),s;if(!r)i.set(t.node,r=new Map);else if(s=r.get(e.node))return s===jx?"unknown":s;r.set(e.node,jx);let n=KX(t,e,i);return r.set(e.node,n),n}function WX(t,e){return $x.call(this,t,e)||this}function $x(t,e){var i;if(!((i=e)!=null&&i.includes(this)))if(e=e||[],e.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(t,e)}else if(this.isReferencedIdentifier()){let r=this.scope.getBinding(this.node.name);if(!r||!r.constant||r.kind==="module")return;if(r.path!==this){let s=r.path.resolve(t,e);return this.find(n=>n.node===s.node)?void 0:s}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(t,e);if(t&&this.isMemberExpression()){let r=this.toComputedKey();if(!CX(r))return;let s=r.value,n=this.get("object").resolve(t,e);if(n.isObjectExpression()){let a=n.get("properties");for(let l of a){if(!l.isProperty())continue;let c=l.get("key"),o=l.isnt("computed")&&c.isIdentifier({name:s});if(o=o||c.isLiteral({value:s}),o)return l.get("value").resolve(t,e)}}else if(n.isArrayExpression()&&!isNaN(+s)){let l=n.get("elements")[s];if(l)return l.resolve(t,e)}}}}function YX(){if(this.isIdentifier()){let t=this.scope.getBinding(this.node.name);return t?t.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(t=>t.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:t}=this.node;return t!=="in"&&t!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1}function zX(){return!!(this.isProgram()?this:this.parentPath).find(i=>{if(i.isProgram({sourceType:"module"})||i.isClass())return!0;if(i.isArrowFunctionExpression()&&!i.get("body").isBlockStatement())return!1;let r;if(i.isFunction())r=i.node.body;else if(i.isProgram())r=i.node;else return!1;for(let s of r.directives)if(s.value.value==="use strict")return!0})}});var Yx=_(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt._getKey=Vx;wt._getPattern=Wx;wt.get=uH;wt.getAllNextSiblings=lH;wt.getAllPrevSiblings=cH;wt.getAssignmentIdentifiers=pH;wt.getBindingIdentifierPaths=dH;wt.getBindingIdentifiers=fH;wt.getCompletionRecords=sH;wt.getNextSibling=oH;wt.getOpposite=tH;wt.getOuterBindingIdentifierPaths=mH;wt.getOuterBindingIdentifiers=hH;wt.getPrevSibling=aH;wt.getSibling=nH;var uh=Ji(),JX=be(),{getAssignmentIdentifiers:XX,getBindingIdentifiers:Kx,getOuterBindingIdentifiers:HX,numericLiteral:GX,unaryExpression:QX}=JX,ph=0,Kn=1;function ZX(t){return{type:ph,path:t}}function eH(t){return{type:Kn,path:t}}function tH(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function _s(t,e,i){return t&&e.push(...Os(t,i)),e}function iH(t,e,i){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=Os(n,i),l=[],c=[];for(let o of a)o.type===ph&&l.push(o),o.type===Kn&&c.push(o);l.length&&(r=l),e.push(...c)}return e.push(...r),e}function rH(t){t.forEach(e=>{e.type=Kn})}function ch(t,e){t.forEach(i=>{i.path.isBreakStatement({label:null})&&(e?i.path.replaceWith(QX("void",GX(0))):i.path.remove())})}function Ux(t,e){let i=[];if(e.canHaveBreak){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=Object.assign({},e,{inCaseClause:!1});n.isBlockStatement()&&(e.inCaseClause||e.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let l=Os(n,a);if(l.length>0&&l.every(c=>c.type===Kn)){r.length>0&&l.every(c=>c.path.isBreakStatement({label:null}))?(rH(r),i.push(...r),r.some(c=>c.path.isDeclaration())&&(i.push(...l),e.shouldPreserveBreak||ch(l,!0)),e.shouldPreserveBreak||ch(l,!1)):(i.push(...l),!e.shouldPopulateBreak&&!e.shouldPreserveBreak&&ch(l,!0));break}if(s===t.length-1)i.push(...l);else{r=[];for(let c=0;c<l.length;c++){let o=l[c];o.type===Kn&&i.push(o),o.type===ph&&r.push(o)}}}}else if(t.length)for(let r=t.length-1;r>=0;r--){let s=Os(t[r],e);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()&&!s[0].path.isEmptyStatement()){i.push(...s);break}}return i}function Os(t,e){let i=[];if(t.isIfStatement())i=_s(t.get("consequent"),i,e),i=_s(t.get("alternate"),i,e);else{if(t.isDoExpression()||t.isFor()||t.isWhile()||t.isLabeledStatement())return _s(t.get("body"),i,e);if(t.isProgram()||t.isBlockStatement())return Ux(t.get("body"),e);if(t.isFunction())return Os(t.get("body"),e);if(t.isTryStatement())i=_s(t.get("block"),i,e),i=_s(t.get("handler"),i,e);else{if(t.isCatchClause())return _s(t.get("body"),i,e);if(t.isSwitchStatement())return iH(t.get("cases"),i,e);if(t.isSwitchCase())return Ux(t.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:e.shouldPreserveBreak});t.isBreakStatement()?i.push(eH(t)):i.push(ZX(t))}}return i}function sH(t=!1){return Os(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:t}).map(i=>i.path)}function nH(t){return uh.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:t}).setContext(this.context)}function aH(){return this.getSibling(this.key-1)}function oH(){return this.getSibling(this.key+1)}function lH(){let t=this.key,e=this.getSibling(++t),i=[];for(;e.node;)i.push(e),e=this.getSibling(++t);return i}function cH(){let t=this.key,e=this.getSibling(--t),i=[];for(;e.node;)i.push(e),e=this.getSibling(--t);return i}function uH(t,e=!0){e===!0&&(e=this.context);let i=t.split(".");return i.length===1?Vx.call(this,t,e):Wx.call(this,i,e)}function Vx(t,e){let i=this.node,r=i[t];return Array.isArray(r)?r.map((s,n)=>uh.default.get({listKey:t,parentPath:this,parent:i,container:r,key:n}).setContext(e)):uh.default.get({parentPath:this,parent:i,container:i,key:t}).setContext(e)}function Wx(t,e){let i=this;for(let r of t)r==="."?i=i.parentPath:Array.isArray(i)?i=i[r]:i=i.get(r,e);return i}function pH(){return XX(this.node)}function fH(t){return Kx(this.node,t)}function hH(t){return HX(this.node,t)}function dH(t=!1,e=!1){let r=[this],s=Object.create(null);for(;r.length;){let n=r.shift();if(!n||!n.node)continue;let a=Kx.keys[n.node.type];if(n.isIdentifier()){t?(s[n.node.name]=s[n.node.name]||[]).push(n):s[n.node.name]=n;continue}if(n.isExportDeclaration()){let l=n.get("declaration");l.isDeclaration()&&r.push(l);continue}if(e){if(n.isFunctionDeclaration()){r.push(n.get("id"));continue}if(n.isFunctionExpression())continue}if(a)for(let l=0;l<a.length;l++){let c=a[l],o=n.get(c);Array.isArray(o)?r.push(...o):o.node&&r.push(o)}}return s}function mH(t=!1){return this.getBindingIdentifierPaths(t,!0)}});var Jx=_(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.addComment=bH;Vn.addComments=SH;Vn.shareCommentsWithSiblings=xH;var yH=be(),{addComment:TH,addComments:gH}=yH;function xH(){if(typeof this.key=="string")return;let t=this.node;if(!t)return;let e=t.trailingComments,i=t.leadingComments;if(!e&&!i)return;let r=this.getSibling(this.key-1),s=this.getSibling(this.key+1),n=!!r.node,a=!!s.node;n&&(i&&r.addComments("trailing",zx(i,r.node.trailingComments)),e&&!a&&r.addComments("trailing",e)),a&&(e&&s.addComments("leading",zx(e,s.node.leadingComments)),i&&!n&&s.addComments("leading",i))}function zx(t,e){if(!(e!=null&&e.length))return t;let i=new Set(e);return t.filter(r=>!i.has(r))}function bH(t,e,i){TH(this.node,t,e,i)}function SH(t,e){gH(this.node,t,e)}});var Ji=_(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=Mi.SHOULD_STOP=Mi.SHOULD_SKIP=Mi.REMOVED=void 0;var EH=Pc(),PH=gm(),vH=_n(),AH=$p(),Gx=be(),Go=Gx,wH=jr(),CH=lg(),Di=cg(),Ns=kg(),Ds=Mf(),Xx=dx(),zr=Mx(),ft=qx(),Qx=Ti(),ut=Qx,Ls=Uo(),Li=Ko(),Ut=Yx(),fh=Jx(),IH=Dp(),{validate:kH}=Gx,Hx=PH("babel"),_oe=Mi.REMOVED=1,Ooe=Mi.SHOULD_STOP=2,Noe=Mi.SHOULD_SKIP=4,Hi=Mi.default=class Zx{constructor(e,i){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=i,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:e,parentPath:i,parent:r,container:s,listKey:n,key:a}){if(!e&&i&&(e=i.hub),!r)throw new Error("To get a node path the parent needs to exist");let l=s[a],c=wH.getOrCreateCachedPaths(r,i),o=c.get(l);return o||(o=new Zx(e,r),l&&c.set(l,o)),Qx.setup.call(o,i,s,n,a),o}getScope(e){return this.isScope()?new AH.default(this):e}setData(e,i){return this.data==null&&(this.data=Object.create(null)),this.data[e]=i}getData(e,i){this.data==null&&(this.data=Object.create(null));let r=this.data[e];return r===void 0&&i!==void 0&&(r=this.data[e]=i),r}hasNode(){return this.node!=null}buildCodeFrameError(e,i=SyntaxError){return this.hub.buildError(this.node,e,i)}traverse(e,i){(0,vH.default)(this.node,e,this.scope,i,this)}set(e,i){kH(this.node,e,i),this.node[e]=i}getPathLocation(){let e=[],i=this;do{let r=i.key;i.inList&&(r=`${i.listKey}[${r}]`),e.unshift(r)}while(i=i.parentPath);return e.join(".")}debug(e){Hx.enabled&&Hx(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,CH.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},_H={findParent:Di.findParent,find:Di.find,getFunctionParent:Di.getFunctionParent,getStatementParent:Di.getStatementParent,getEarliestCommonAncestorFrom:Di.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:Di.getDeepestCommonAncestorFrom,getAncestry:Di.getAncestry,isAncestor:Di.isAncestor,isDescendant:Di.isDescendant,inType:Di.inType,getTypeAnnotation:Ns.getTypeAnnotation,isBaseType:Ns.isBaseType,couldBeBaseType:Ns.couldBeBaseType,baseTypeStrictlyMatches:Ns.baseTypeStrictlyMatches,isGenericType:Ns.isGenericType,replaceWithMultiple:Ds.replaceWithMultiple,replaceWithSourceString:Ds.replaceWithSourceString,replaceWith:Ds.replaceWith,replaceExpressionWithStatements:Ds.replaceExpressionWithStatements,replaceInline:Ds.replaceInline,evaluateTruthy:Xx.evaluateTruthy,evaluate:Xx.evaluate,toComputedKey:zr.toComputedKey,ensureBlock:zr.ensureBlock,unwrapFunctionEnvironment:zr.unwrapFunctionEnvironment,arrowFunctionToExpression:zr.arrowFunctionToExpression,splitExportDeclaration:zr.splitExportDeclaration,ensureFunctionName:zr.ensureFunctionName,matchesPattern:ft.matchesPattern,isStatic:ft.isStatic,isNodeType:ft.isNodeType,canHaveVariableDeclarationOrExpression:ft.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:ft.canSwapBetweenExpressionAndStatement,isCompletionRecord:ft.isCompletionRecord,isStatementOrBlock:ft.isStatementOrBlock,referencesImport:ft.referencesImport,getSource:ft.getSource,willIMaybeExecuteBefore:ft.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:ft._guessExecutionStatusRelativeTo,resolve:ft.resolve,isConstantExpression:ft.isConstantExpression,isInStrictMode:ft.isInStrictMode,isDenylisted:ut.isDenylisted,visit:ut.visit,skip:ut.skip,skipKey:ut.skipKey,stop:ut.stop,setContext:ut.setContext,requeue:ut.requeue,requeueComputedKeyAndDecorators:ut.requeueComputedKeyAndDecorators,remove:Ls.remove,insertBefore:Li.insertBefore,insertAfter:Li.insertAfter,unshiftContainer:Li.unshiftContainer,pushContainer:Li.pushContainer,getOpposite:Ut.getOpposite,getCompletionRecords:Ut.getCompletionRecords,getSibling:Ut.getSibling,getPrevSibling:Ut.getPrevSibling,getNextSibling:Ut.getNextSibling,getAllNextSiblings:Ut.getAllNextSiblings,getAllPrevSiblings:Ut.getAllPrevSiblings,get:Ut.get,getAssignmentIdentifiers:Ut.getAssignmentIdentifiers,getBindingIdentifiers:Ut.getBindingIdentifiers,getOuterBindingIdentifiers:Ut.getOuterBindingIdentifiers,getBindingIdentifierPaths:Ut.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:Ut.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:fh.shareCommentsWithSiblings,addComment:fh.addComment,addComments:fh.addComments};Object.assign(Hi.prototype,_H);Hi.prototype.arrowFunctionToShadowed=zr.arrowFunctionToShadowed,Object.assign(Hi.prototype,{has:ft.has,is:ft.is,isnt:ft.isnt,equals:ft.equals,hoist:Li.hoist,updateSiblingKeys:Li.updateSiblingKeys,call:ut.call,isBlacklisted:ut.isBlacklisted,setScope:ut.setScope,resync:ut.resync,popContext:ut.popContext,pushContext:ut.pushContext,setup:ut.setup,setKey:ut.setKey});Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=ft._guessExecutionStatusRelativeTo,Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=ft._guessExecutionStatusRelativeTo,Object.assign(Hi.prototype,{_getTypeAnnotation:Ns._getTypeAnnotation,_replaceWith:Ds._replaceWith,_resolve:ft._resolve,_call:ut._call,_resyncParent:ut._resyncParent,_resyncKey:ut._resyncKey,_resyncList:ut._resyncList,_resyncRemoved:ut._resyncRemoved,_getQueueContexts:ut._getQueueContexts,_removeFromScope:Ls._removeFromScope,_callRemovalHooks:Ls._callRemovalHooks,_remove:Ls._remove,_markRemoved:Ls._markRemoved,_assertUnremoved:Ls._assertUnremoved,_containerInsert:Li._containerInsert,_containerInsertBefore:Li._containerInsertBefore,_containerInsertAfter:Li._containerInsertAfter,_verifyNodeList:Li._verifyNodeList,_getKey:Ut._getKey,_getPattern:Ut._getPattern});for(let t of Go.TYPES){let e=`is${t}`,i=Go[e];Hi.prototype[e]=function(r){return i(this.node,r)},Hi.prototype[`assert${t}`]=function(r){if(!i(this.node,r))throw new TypeError(`Expected node path of type ${t}`)}}Object.assign(Hi.prototype,IH);for(let t of Object.keys(EH))t[0]!=="_"&&(Go.TYPES.includes(t)||Go.TYPES.push(t))});var eb=_(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var OH=Ji(),NH=be(),hh=Ti(),{VISITOR_KEYS:DH}=NH,dh=class{constructor(e,i,r,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=e,this.state=r,this.opts=i}shouldVisit(e){let i=this.opts;if(i.enter||i.exit||i[e.type])return!0;let r=DH[e.type];if(!(r!=null&&r.length))return!1;for(let s of r)if(e[s])return!0;return!1}create(e,i,r,s){return OH.default.get({parentPath:this.parentPath,parent:e,container:i,key:r,listKey:s})}maybeQueue(e,i){this.queue&&(i?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,i,r){if(e.length===0)return!1;let s=[];for(let n=0;n<e.length;n++){let a=e[n];a&&this.shouldVisit(a)&&s.push(this.create(i,e,n,r))}return this.visitQueue(s)}visitSingle(e,i){return this.shouldVisit(e[i])?this.visitQueue([this.create(e,e,i)]):!1}visitQueue(e){this.queue=e,this.priorityQueue=[];let i=new WeakSet,r=!1,s=0;for(;s<e.length;){let n=e[s];if(s++,hh.resync.call(n),(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this)&&hh.pushContext.call(n,this),n.key===null)continue;let{node:a}=n;if(!i.has(a)){if(a&&i.add(a),n.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}}for(let n=0;n<s;n++)hh.popContext.call(e[n]);return this.queue=null,r}visit(e,i){let r=e[i];return r?Array.isArray(r)?this.visitMultiple(r,e,i):this.visitSingle(e,i):!1}};Qo.default=dh});var yo=_(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.traverseNode=BH;var LH=eb(),Moe=Ji(),MH=be(),Foe=Ti(),{VISITOR_KEYS:FH}=MH;function BH(t,e,i,r,s,n,a){let l=FH[t.type];if(!l)return!1;let c=new LH.default(i,e,r,s);if(a)return n!=null&&n[s.parentKey]?!1:c.visitQueue([s]);for(let o of l)if(!(n!=null&&n[o])&&c.visit(t,o))return!0;return!1}});var Ti=_(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt._call=Th;nt._getQueueContexts=ZH;nt._resyncKey=ab;nt._resyncList=ob;nt._resyncParent=nb;nt._resyncRemoved=zH;nt.call=yh;nt.isDenylisted=rb;nt.popContext=JH;nt.pushContext=XH;nt.requeue=GH;nt.requeueComputedKeyAndDecorators=QH;nt.resync=YH;nt.setContext=WH;nt.setKey=Zo;nt.setScope=sb;nt.setup=HH;nt.skip=UH;nt.skipKey=KH;nt.stop=VH;nt.visit=qH;var jH=yo(),tb=Ji(),RH=Uo(),$H=be();function yh(t){let e=this.opts;if(this.debug(t),this.node&&Th.call(this,e[t]))return!0;if(this.node){var i;return Th.call(this,(i=e[this.node.type])==null?void 0:i[t])}return!1}function Th(t){if(!t)return!1;for(let e of t){if(!e)continue;let i=this.node;if(!i)return!0;let r=e.call(this.state,this,this.state);if(r&&typeof r=="object"&&typeof r.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(r)throw new Error(`Unexpected return value from visitor method ${e}`);if(this.node!==i||this._traverseFlags>0)return!0}return!1}function rb(){var t;let e=(t=this.opts.denylist)!=null?t:this.opts.blacklist;return e?.includes(this.node.type)}nt.isBlacklisted=rb;function ib(t,e){t.context!==e&&(t.context=e,t.state=e.state,t.opts=e.opts)}function qH(){var t,e;if(!this.node||this.isDenylisted()||(t=(e=this.opts).shouldSkip)!=null&&t.call(e,this))return!1;let i=this.context;return this.shouldSkip||yh.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(ib(this,i),this.debug("Recursing into..."),this.shouldStop=(0,jH.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),ib(this,i),yh.call(this,"exit"),this.shouldStop)}function UH(){this.shouldSkip=!0}function KH(t){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[t]=!0}function VH(){this._traverseFlags|=tb.SHOULD_SKIP|tb.SHOULD_STOP}function sb(){var t,e;if((t=this.opts)!=null&&t.noScope)return;let i=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&i.isMethod()||this.key==="discriminant"&&i.isSwitchStatement())&&(i=i.parentPath);let r;for(;i&&!r;){var s;if((s=i.opts)!=null&&s.noScope)return;r=i.scope,i=i.parentPath}this.scope=this.getScope(r),(e=this.scope)==null||e.init()}function WH(t){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,t&&(this.context=t,this.state=t.state,this.opts=t.opts),sb.call(this),this}function YH(){this.removed||(nb.call(this),ob.call(this),ab.call(this))}function nb(){this.parentPath&&(this.parent=this.parentPath.node)}function ab(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let t=0;t<this.container.length;t++)if(this.container[t]===this.node){Zo.call(this,t);return}}else for(let t of Object.keys(this.container))if(this.container[t]===this.node){Zo.call(this,t);return}this.key=null}}function ob(){if(!this.parent||!this.inList)return;let t=this.parent[this.listKey];this.container!==t&&(this.container=t||null)}function zH(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&RH._markRemoved.call(this)}function JH(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function XH(t){this.contexts.push(t),this.setContext(t)}function HH(t,e,i,r){this.listKey=i,this.container=e,this.parentPath=t||this.parentPath,Zo.call(this,r)}function Zo(t){var e;this.key=t,this.node=this.container[this.key],this.type=(e=this.node)==null?void 0:e.type}function GH(t=this){if(t.removed)return;let e=this.contexts;for(let i of e)i.maybeQueue(t)}function QH(){let{context:t,node:e}=this;if(!$H.isPrivate(e)&&e.computed&&t.maybeQueue(this.get("key")),e.decorators)for(let i of this.get("decorators"))t.maybeQueue(i)}function ZH(){let t=this,e=this.contexts;for(;!e.length&&(t=t.parentPath,!!t);)e=t.contexts;return e}});var lb=_(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var gh=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,i,r=TypeError){return new r(i)}};el.default=gh});var _n=_(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Object.defineProperty(Gi,"Hub",{enumerable:!0,get:function(){return sG.default}});Object.defineProperty(Gi,"NodePath",{enumerable:!0,get:function(){return iG.default}});Object.defineProperty(Gi,"Scope",{enumerable:!0,get:function(){return rG.default}});Gi.visitors=Gi.default=void 0;Ti();var Yn=fo();Gi.visitors=Yn;var eG=be(),tG=jr(),cb=yo(),iG=Ji(),rG=$p(),sG=lb(),{VISITOR_KEYS:nG,removeProperties:aG,traverseFast:Wn}=eG;function Si(t,e={},i,r,s,n){if(t){if(!e.noScope&&!i&&t.type!=="Program"&&t.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${t.type} node without passing scope and parentPath.`);if(!s&&n)throw new Error("visitSelf can only be used when providing a NodePath.");nG[t.type]&&(Yn.explode(e),(0,cb.traverseNode)(t,e,i,r,s,null,n))}}var $oe=Gi.default=Si;Si.visitors=Yn;Si.verify=Yn.verify;Si.explode=Yn.explode;Si.cheap=function(t,e){Wn(t,e)};Si.node=function(t,e,i,r,s,n){(0,cb.traverseNode)(t,e,i,r,s,n)};Si.clearNode=function(t,e){aG(t,e)};Si.removeProperties=function(t,e){return Wn(t,Si.clearNode,e),t};Si.hasType=function(t,e,i){return i!=null&&i.includes(t.type)?!1:t.type===e?!0:Wn(t,function(r){if(i!=null&&i.includes(r.type))return Wn.skip;if(r.type===e)return Wn.stop})};Si.cache=tG});var pb=_((Uoe,ub)=>{var oG=require("fs"),lG=ja(),cG=_n().default;function uG(t){let e=oG.readFileSync(t,"utf-8"),i=new Set,r,s={};function n(c){return!(!c||typeof c!="string"||(c=c.trim(),c.length===0)||!/[a-zA-Z0-9_-]/.test(c))}function a(c){n(c)&&i.add(c.trim())}try{r=lG.parse(e,{sourceType:"module",plugins:["jsx","typescript","classProperties","objectRestSpread","optionalChaining","nullishCoalescingOperator"]})}catch{return[]}function l(c){if(c)if(c.type==="StringLiteral"||c.type==="Literal")c.value.split(/\s+/).forEach(o=>a(o));else if(c.type==="ArrayExpression")c.elements.forEach(o=>l(o));else if(c.type==="TemplateLiteral")c.quasis.forEach(o=>{o.value.cooked&&o.value.cooked.split(/\s+/).forEach(u=>a(u))}),c.expressions.forEach(o=>l(o));else if(c.type==="Identifier"&&s[c.name]){let o=s[c.name];Array.isArray(o)?o.forEach(u=>a(u)):typeof o=="string"?o.split(/\s+/).forEach(u=>a(u)):typeof o=="object"&&Object.values(o).forEach(u=>{typeof u=="string"&&u.split(/\s+/).forEach(f=>a(f))})}else if(c.type==="BinaryExpression"&&c.operator==="+")l(c.left),l(c.right);else if(c.type==="ConditionalExpression")l(c.consequent),l(c.alternate);else if(c.type==="LogicalExpression")l(c.left),l(c.right);else if(c.type==="MemberExpression"){if(c.object.type==="Identifier"&&s[c.object.name]){let o=null;if(!c.computed&&c.property.type==="Identifier")o=c.property.name;else if(c.computed&&c.property.type==="StringLiteral")o=c.property.value;else if(c.computed&&c.property.type==="Identifier"){let u=s[c.object.name];typeof u=="object"&&Object.values(u).forEach(f=>{typeof f=="string"&&f.split(/\s+/).forEach(d=>a(d))});return}if(o){let u=s[c.object.name][o];typeof u=="string"&&u.split(/\s+/).forEach(f=>a(f))}}}else c.type==="ArrowFunctionExpression"?c.body.type==="TemplateLiteral"||c.body.type==="ConditionalExpression"?l(c.body):c.body.type==="BlockStatement"&&c.body.body.forEach(o=>{o.type==="ReturnStatement"&&o.argument&&l(o.argument)}):c.type==="CallExpression"&&l(c.callee)}return cG(r,{VariableDeclarator(c){if(c.node.init&&c.node.id.type==="Identifier"){let o=c.node.id.name,u=/Classes?$/.test(o)||/classes?$/i.test(o)||/ClassNames?$/.test(o),f=u||/color|variant|style|map/i.test(o);if(c.node.init.type==="ObjectExpression"&&f){let d={},m=S=>{S.type==="StringLiteral"?S.value.split(/\s+/).forEach(P=>a(P)):S.type==="ObjectExpression"&&S.properties.forEach(P=>{m(P.value)})};c.node.init.properties.forEach(S=>{let P=null;S.key.type==="Identifier"?P=S.key.name:S.key.type==="StringLiteral"&&(P=S.key.value),P&&(S.value.type==="StringLiteral"?(d[P]=S.value.value,S.value.value.split(/\s+/).forEach(A=>a(A))):S.value.type==="ObjectExpression"&&m(S.value))}),s[o]=d}else if((c.node.init.type==="ArrayExpression"||c.node.init.type==="StringLiteral")&&f){let d=[];c.node.init.type==="ArrayExpression"?c.node.init.elements.forEach(m=>{m&&m.type==="StringLiteral"&&m.value.split(/\s+/).forEach(S=>{n(S)&&d.push(S.trim())})}):c.node.init.type==="StringLiteral"&&c.node.init.value.split(/\s+/).forEach(m=>{n(m)&&d.push(m.trim())}),s[o]=d}else c.node.init.type==="StringLiteral"&&u&&(s[o]=c.node.init.value)}},ObjectProperty(c){let o=c.node.key.name||(c.node.key.type==="StringLiteral"?c.node.key.value:null);o&&/Class$|ClassName$|^className$/i.test(o)&&(c.node.value.type==="StringLiteral"?c.node.value.value.split(/\s+/).forEach(u=>a(u)):c.node.value.type==="TemplateLiteral"&&l(c.node.value))},JSXAttribute(c){if(typeof c.node.name.name=="string"&&/^(class(Name)?|.*[cC]lass(Name)?)$/.test(c.node.name.name)){let o=c.node.value;o&&(o.type==="StringLiteral"?o.value.split(/\s+/).forEach(u=>a(u)):o.type==="JSXExpressionContainer"&&l(o.expression))}}}),Array.from(i).filter(n)}ub.exports=uG});var tl=require("fs"),yb=require("path"),pG=Cd(),fG=Od(),fb=Dd(),hb=Md(),hG=pb(),db=(...t)=>t.reduce((e,i)=>fG(e,i||{},{arrayMerge:(r,s)=>s}),{}),dG=()=>{try{return require(yb.resolve(process.cwd(),"unicss.config.js"))}catch{return{}}},at=t=>t.replace(/([:\/\[\]\(\)\?\=\&\,\'\;\+\"#%\*!])/g,"\\$1").replace(/\./g,"\\.").replace(/^([0-9])/,"\\3$1"),ht=t=>t.replace(/\./g,"\\."),M=(t,e)=>{let i=t.replace(/[\[\]]/g,"");return["bg-image","mask-image","list-image"].includes(e)?/^url\(/i.test(i.trim())?i:i.replace(/_/g," "):i.replace(/_/g," ").replace(/calc\(([^)]+)\)/g,(s,n)=>`calc(${n.replace(/([+\-*\/])/g," $1 ").replace(/\s+/g," ").trim()})`)},mb=t=>{let e=tl.readFileSync(t,"utf-8"),i=[];return[/class=["']([^"']+)["']/g,/className=["']([^"']+)["']/g,/class=\{["'`]([^"'`]+)["'`]\}/g,/className=\{["'`]([^"'`]+)["'`]\}/g,/class:\s*["']([^"']+)["']/g,/class:\s*\[["']([^"']+)["']\]/g,/\b\w+(?:Class|ClassName)=["']([^"']+)["']/g,/\b\w+(?:Class|ClassName)=\{["'`]([^"'`]+)["'`]\}/g].forEach(s=>{let n;for(;(n=s.exec(e))!==null;){let a=n[1];if(a){let l=a.split(/\s+/).filter(Boolean);i.push(...l)}}}),i},ke=t=>{if(t=t.replace(/[\[\]]/g,""),["inherit","current","transparent","currentColor"].includes(t))return t==="current"?"currentColor":t;let i=t.match(/^rgba?\((\d+),(\d+),(\d+)(?:,(\d*\.?\d+))?\)$/);if(i){let[,s,n,a,l]=i;return`rgba(${s},${n},${a},${l||1})`}let r=t.match(/^rgb\((\d+)_(\d+)_(\d+)(?:_\/(\d+))?\)$/);if(r){let[,s,n,a,l]=r,c=l?parseInt(l,10)/100:1;return`rgba(${s},${n},${a},${c})`}if(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{3}$/.test(t))return t;if(t.includes("/")){let[s,n]=t.split("/");if(s.startsWith("#")){let a=s.replace("#","");a.length===3&&(a=a.split("").map(u=>u+u).join(""));let l=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),o=parseInt(a.substring(4,6),16);return`rgba(${l},${c},${o},${parseInt(n,10)/100})`}return`color-mix(in srgb, var(--color-${s}) ${parseInt(n,10)}%, transparent)`}return`var(--color-${t})`},Tt=t=>t==="full"?"100%":t==="px"?"1px":/^\d+\/\d+$/.test(t)?t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`):/^\d+(\.\d+)?$/.test(t)?`calc(0.25rem * ${t})`:`var(--${ht(t)})`,Ve=t=>t==="full"?"-100%":t==="px"?"-1px":/^\d+\/\d+$/.test(t)?`-${t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`)}`:/^\d+(\.\d+)?$/.test(t)?`calc(-0.25rem * ${t})`:`calc(-1 * var(--${ht(t)}))`,mG=t=>{let e=t.split(" ");if(e.length===1){let i=Tt(e[0]);return`${i} ${i}`}return e.map(Tt).join(" ")},yG=t=>{let e=t.split(" ");if(e.length===1){let i=Ve(e[0]);return`${i} ${i}`}return e.map(Ve).join(" ")},Jr={first:"first-child",last:"last-child","not-first":"not(:first-child)","not-last":"not(:last-child)",odd:"nth-child(odd)",even:"nth-child(even)",placeholder:"placeholder",file:"file-selector-button",marker:"marker",selection:"selection","first-line":"first-line","first-letter":"first-letter",backdrop:"backdrop","has-checked":"has(:checked)","focus-within":"focus-within",before:"before",after:"after","peer-hover":":hover","peer-focus":":focus","peer-active":":active","peer-invalid":":invalid","peer-checked":":checked","peer-disabled":":disabled","peer-required":":required","peer-read-only":":read-only","peer-indeterminate":":indeterminate","not-hover":"not(:hover)","not-focus":"not(:focus)","not-active":"not(:active)","not-visited":"not(:visited)","not-disabled":"not(:disabled)","not-checked":"not(:checked)","not-focus-visible":"not(:focus-visible)","not-invalid":"not(:invalid)","not-valid":"not(:valid)","not-required":"not(:required)","not-read-only":"not(:read-only)","not-indeterminate":"not(:indeterminate)"},TG=t=>{let e=t.match(/^nth-(\d+)$/);if(e)return`nth-child(${e[1]})`;let i=t.match(/^nth-last-(\d+)$/);if(i)return`nth-last-child(${i[1]})`;let r=t.match(/^nth-of-type-(\d+)$/);if(r)return`nth-of-type(${r[1]})`;let s=t.match(/^nth-last-of-type-(\d+)$/);return s?`nth-last-of-type(${s[1]})`:null},Fi=t=>{let e=TG(t);if(e)return e;if(t.startsWith("group-hover/"))return`.group\\/${t.replace("group-hover/","")}:hover`;if(t==="group-hover")return".group:hover";if(t.startsWith("peer-")&&t.includes("/")){let[i,r]=t.split("/"),s=Jr[i]||`:${i.replace("peer-","")}`;return`.peer\\/${r}${s} ~`}return t.startsWith("peer-")?`.peer${Jr[t]||`:${t.replace("peer-","")}`} ~`:Jr[t]||t},il=["--uni-blur","--uni-drop-shadow","--uni-brightness","--uni-contrast","--uni-grayscale","--uni-hue-rotate","--uni-invert","--uni-saturate","--uni-sepia"],rl=["--uni-backdrop-blur","--uni-backdrop-brightness","--uni-backdrop-contrast","--uni-backdrop-grayscale","--uni-backdrop-hue-rotate","--uni-backdrop-invert","--uni-backdrop-saturate","--uni-backdrop-opacity","--uni-backdrop-sepia"],Tb=["--uni-shadow","--uni-shadow-color","--uni-inset-shadow","--uni-inset-shadow-color","--uni-ring-shadow","--uni-ring-color","--uni-inset-ring-shadow","--uni-inset-ring-color","--uni-ring-inset"],sl=["--uni-rotate-x","--uni-rotate-y","--uni-rotate-z","--uni-skew-x","--uni-skew-y"],nl=["--uni-scale-x","--uni-scale-y"],al=["--uni-translate-x","--uni-translate-y","--uni-translate-z"],gG=(t,e,i,r,s=null,n=null,a=!1)=>{let l=at(t),c=`.${l}`,o=!1;if(t.includes("space-x-")||t.includes("space-y-")||t.includes("divide-x")||t.includes("divide-y")||t.includes("divide-color-")||t.includes("divide-style-")?(c+=" > :not(:last-child)",o=!0):a&&(c+=" > *"),o&&(c=`:where(${c})`),s&&(s.startsWith("peer-")||s.includes("peer-")))c=`${Fi(s)}${c}`;else if(s){let k=Fi(s);o?c=c.replace(`:where(.${l}`,`:where(.${l}${k.startsWith(":")?k:":"+k}`):c+=k.startsWith(":")?k:`:${k}`}let u=il.includes(i),f=rl.includes(i),d=Tb.includes(i),m=sl.includes(i),S=nl.includes(i),P=al.includes(i),A;typeof r=="object"?A=Object.entries(r).map(([k,D])=>`${k}: ${D}`).join("; "):Array.isArray(i)?A=i.map(k=>`${k}: ${r}`).join("; "):A=`${i}: ${r}`;let C;return u?C=`${c} { ${A}; filter: ${il.map(k=>`var(${k})`).join(" ")}; }`:f?C=`${c} { ${A}; backdrop-filter: ${rl.map(k=>`var(${k})`).join(" ")}; }`:d?C=`${c} { ${A}; box-shadow: var(--uni-inset-shadow, 0 0 #0000), var(--uni-inset-ring-shadow, 0 0 #0000), var(--uni-ring-shadow, 0 0 #0000), var(--uni-shadow, 0 0 #0000); }`:m?C=`${c} { ${A}; transform: ${sl.map(k=>`var(${k})`).join(" ")}; }`:S?C=`${c} { ${A}; scale: ${nl.map(k=>`var(${k})`).join(" ")}; }`:P?C=`${c} { ${A}; translate: ${al.map(k=>`var(${k})`).join(" ")}; }`:C=`${c} { ${A} }`,{selector:c,rule:C,screen:n}},xG=(t,e={})=>{let i=[],r=(o,u,f)=>{i.push({prefix:o,prop:u,transform:f})};["w","min-w","max-w"].forEach(o=>{let u=o.replace("w","width");r(`${o}-[`,u,M),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(S,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let m={full:"100%",screen:"100vw",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return m[f]?m[f]:/^\d+(\.\d+)?$/.test(f)?`calc(0.25rem * ${f})`:`var(--${ht(f)})`})}),["h","min-h","max-h"].forEach(o=>{let u=o.replace("h","height");r(`${o}-[`,u,M),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(S,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let m={full:"100%",screen:"100vh",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return m[f]?m[f]:/^\d+(\.\d+)?$/.test(f)?`calc(0.25rem * ${f})`:`var(--${ht(f)})`})}),[["p","padding"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"],["px","padding-inline"],["py","padding-block"],["m","margin"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,M),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":Tt(f))}),r("mx-[",["margin-left","margin-right"],M),r("mx-",["margin-left","margin-right"],o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("my-[",["margin-top","margin-bottom"],M),r("my-",["margin-top","margin-bottom"],o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("-m-","margin",o=>o==="px"?"-1px":Ve(o)),r("-mt-","margin-top",o=>o==="px"?"-1px":Ve(o)),r("-mr-","margin-right",o=>o==="px"?"-1px":Ve(o)),r("-mb-","margin-bottom",o=>o==="px"?"-1px":Ve(o)),r("-ml-","margin-left",o=>o==="px"?"-1px":Ve(o)),r("-mx-",["margin-left","margin-right"],o=>o==="px"?"-1px":Ve(o)),r("-my-",["margin-top","margin-bottom"],o=>o==="px"?"-1px":Ve(o)),["top","right","bottom","left"].forEach(o=>{r(`${o}-[`,o,M),r(`${o}-`,o,u=>u==="auto"?"auto":u==="px"?"1px":u==="full"?"100%":Tt(u)),r(`-${o}-[`,o,u=>`-${M(u)}`),r(`-${o}-`,o,u=>u==="px"?"-1px":u==="full"?"-100%":Ve(u))}),r("gap-x-[","column-gap",M),r("gap-x-","column-gap",o=>o==="px"?"1px":/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("gap-y-[","row-gap",M),r("gap-y-","row-gap",o=>o==="px"?"1px":/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("gap-[","gap",M),r("gap-","gap",o=>o==="px"?"1px":/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("inset-x-[","inset-inline",M),r("inset-x-","inset-inline",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":Tt(o)),r("-inset-x-[","inset-inline",o=>`-${M(o)}`),r("-inset-x-","inset-inline",Ve),r("inset-y-[","inset-block",M),r("inset-y-","inset-block",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":Tt(o)),r("-inset-y-[","inset-block",o=>`-${M(o)}`),r("-inset-y-","inset-block",Ve),r("inset-[","inset",M),r("inset-","inset",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":Tt(o)),r("-inset-[","inset",o=>`-${M(o)}`),r("-inset-","inset",Ve),r("z-","z-index",M),r("-z-","z-index",o=>`-${o}`),r("flex-[","flex",M),r("flex-row-reverse","flex-direction",()=>"row-reverse"),r("flex-col-reverse","flex-direction",()=>"column-reverse"),r("flex-row","flex-direction",()=>"row"),r("flex-col","flex-direction",()=>"column"),r("flex-wrap-reverse","flex-wrap",()=>"wrap-reverse"),r("flex-wrap","flex-wrap",()=>"wrap"),r("flex-nowrap","flex-wrap",()=>"nowrap"),r("flex-","flex",M),r("grow-","flex-grow",M),r("shrink-","flex-shrink",M),r("basis-[","flex-basis",M),r("basis-","flex-basis",o=>{if(o==="auto")return"auto";if(o==="px")return"1px";if(o==="full")return"100%";let u=`container-${o}`;return e[u]?`var(--${u})`:Tt(o)}),r("order-first","order",()=>"-999999"),r("order-last","order",()=>"999999"),r("order-","order",M),r("-order-","order",o=>`-${o}`),[["auto",{width:"auto",height:"auto"}],["px",{width:"1px",height:"1px"}],["full",{width:"100%",height:"100%"}],["dvw",{width:"100dvw",height:"100dvw"}],["dvh",{width:"100dvh",height:"100dvh"}],["lvw",{width:"100lvw",height:"100lvw"}],["lvh",{width:"100lvh",height:"100lvh"}],["svw",{width:"100svw",height:"100svw"}],["svh",{width:"100svh",height:"100svh"}],["min",{width:"min-content",height:"min-content"}],["max",{width:"max-content",height:"max-content"}],["fit",{width:"fit-content",height:"fit-content"}]].forEach(([o,u])=>{r(`size-${o}`,null,()=>u)}),r("size-[",["width","height"],M),r("size-",["width","height"],Tt),r("aspect-[","aspect-ratio",M),r("aspect-","aspect-ratio",o=>/^\d+\/\d+$/.test(o)?o:{auto:"auto",square:"1/1",video:"16/9"}[o]||o),[["scroll-m","scroll-margin"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,M),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":Tt(f))}),r("scroll-mx-[","scroll-margin-inline",M),r("scroll-mx-","scroll-margin-inline",o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("scroll-my-[","scroll-margin-block",M),r("scroll-my-","scroll-margin-block",o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("-scroll-m-[","scroll-margin",o=>`-${M(o)}`),r("-scroll-m-","scroll-margin",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mt-[","scroll-margin-top",o=>`-${M(o)}`),r("-scroll-mt-","scroll-margin-top",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mr-[","scroll-margin-right",o=>`-${M(o)}`),r("-scroll-mr-","scroll-margin-right",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mb-[","scroll-margin-bottom",o=>`-${M(o)}`),r("-scroll-mb-","scroll-margin-bottom",o=>o==="px"?"-1px":Ve(o)),r("-scroll-ml-[","scroll-margin-left",o=>`-${M(o)}`),r("-scroll-ml-","scroll-margin-left",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mx-[","scroll-margin-inline",o=>`-${M(o)}`),r("-scroll-mx-","scroll-margin-inline",o=>o==="px"?"-1px":Ve(o)),r("-scroll-my-[","scroll-margin-block",o=>`-${M(o)}`),r("-scroll-my-","scroll-margin-block",o=>o==="px"?"-1px":Ve(o)),[["scroll-p","scroll-padding"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]].forEach(([o,u])=>{r(`${o}-[`,u,M),r(`${o}-`,u,f=>f==="px"?"1px":Tt(f))}),r("scroll-px-[","scroll-padding-inline",M),r("scroll-px-","scroll-padding-inline",o=>o==="px"?"1px":Tt(o)),r("scroll-py-[","scroll-padding-block",M),r("scroll-py-","scroll-padding-block",o=>o==="px"?"1px":Tt(o)),r("-scroll-p-[","scroll-padding",o=>`-${M(o)}`),r("-scroll-p-","scroll-padding",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pt-[","scroll-padding-top",o=>`-${M(o)}`),r("-scroll-pt-","scroll-padding-top",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pr-[","scroll-padding-right",o=>`-${M(o)}`),r("-scroll-pr-","scroll-padding-right",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pb-[","scroll-padding-bottom",o=>`-${M(o)}`),r("-scroll-pb-","scroll-padding-bottom",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pl-[","scroll-padding-left",o=>`-${M(o)}`),r("-scroll-pl-","scroll-padding-left",o=>o==="px"?"-1px":Ve(o)),r("-scroll-px-[","scroll-padding-inline",o=>`-${M(o)}`),r("-scroll-px-","scroll-padding-inline",o=>o==="px"?"-1px":Ve(o)),r("-scroll-py-[","scroll-padding-block",o=>`-${M(o)}`),r("-scroll-py-","scroll-padding-block",o=>o==="px"?"-1px":Ve(o)),r("font-[","font-weight",M),r("font-family-[","font-family",o=>{let u=M(o);return u.startsWith('"')||u.startsWith("'")?u:`"${u}"`}),r("tracking-[","letter-spacing",M),r("leading-[","line-height",M),r("leading-","line-height",o=>/^\d+$/.test(o)||/^\d*\.\d+$/.test(o)?`calc(var(--1) * ${o})`:null),r("indent-[","text-indent",M),r("indent-","text-indent",o=>`var(--${ht(o)})`),r("-indent-","text-indent",o=>`calc(-1 * var(--${ht(o)}))`),r("align-[","vertical-align",M),r("text-shadow-color-[",null,o=>({"--uni-text-shadow-color":ke(o)})),r("text-shadow-color-",null,o=>({"--uni-text-shadow-color":ke(o)})),r("text-shadow-[","text-shadow",M),r("text-color-[","color",ke),r("text-color-","color",ke),r("text-[","font-size",M),r("text-",null,function(o){if(o.startsWith("color-"))return{color:ke(o.replace("color-",""))};let u=o.match(/^([a-z0-9\[\]\-\.]+)\/([a-z0-9\[\]\-\.]+)$/i);if(u){let[,f,d]=u;if(!f.startsWith("color-"))return{"font-size":t[f]?`var(--${ht(f)})`:`var(--text-${f})`,"line-height":t[d]?`var(--${ht(d)})`:`var(--line-${d})`}}return t[o]?{"font-size":`var(--${ht(o)})`}:{"font-size":`var(--text-${o})`}}),r("decoration-color-[","text-decoration-color",ke),r("decoration-color-","text-decoration-color",ke),r("decoration-thick-[","text-decoration-thickness",M),r("decoration-thick-","text-decoration-thickness",o=>o==="auto"?"auto":o==="from-font"?"from-font":/^\d+$/.test(o)?`${o}px`:`var(--${ht(o)})`),r("underline-offset-[","text-underline-offset",M),r("underline-offset-","text-underline-offset",o=>o==="auto"?"auto":/^\d+$/.test(o)?`${o}px`:`var(--${ht(o)})`),r("-underline-offset-[","text-underline-offset",o=>`-${M(o)}`),r("-underline-offset-","text-underline-offset",o=>/^\d+$/.test(o)?`-${o}px`:`calc(-1 * var(--${ht(o)}))`),r("bg-color-[","background-color",ke),r("bg-color-","background-color",ke),r("bg-image-[","background-image",o=>M(o,"bg-image")),r("bg-position-[","background-position",M),r("bg-size-[","background-size",M),r("bg-gradient-[","background-image",o=>M(o).replace(/color-([a-zA-Z0-9\-]+(?:\/[0-9]+)?)/g,(u,f)=>ke(f))),r("list-image-[","list-style-image",o=>M(o,"list-image")),r("mask-image-[",null,o=>({"mask-image":M(o,"mask-image"),"-webkit-mask-image":M(o,"mask-image")})),r("mask-position-[",null,o=>({"mask-position":M(o),"-webkit-mask-position":M(o)})),r("mask-size-[",null,o=>({"mask-size":M(o),"-webkit-mask-size":M(o)})),r("border-style-",null,o=>({"--uni-border-style":o,"border-style":"var(--uni-border-style)"})),r("border-spacing-x-[",null,o=>({"--uni-border-spacing-x":M(o),"border-spacing":`var(--uni-border-spacing-x, ${M(o)}) var(--uni-border-spacing-y, 0)`})),r("border-spacing-x-",null,o=>({"--uni-border-spacing-x":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, ${o}px) var(--uni-border-spacing-y, 0)`})),r("border-spacing-y-[",null,o=>({"--uni-border-spacing-y":M(o),"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${M(o)})`})),r("border-spacing-y-",null,o=>({"--uni-border-spacing-y":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${o}px)`})),r("border-spacing-[","border-spacing",M),r("border-spacing-","border-spacing",o=>`${o}px`),r("border-color-[","border-color",ke),r("border-color-","border-color",ke),["t","r","b","l","x","y"].forEach(o=>{let u={t:"border-top-color",r:"border-right-color",b:"border-bottom-color",l:"border-left-color",x:"border-inline-color",y:"border-block-color"};r(`border-${o}-color-[`,u[o],ke),r(`border-${o}-color-`,u[o],ke)}),r("border-x-",null,o=>({"border-inline-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-y-",null,o=>({"border-block-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-t-",null,o=>({"border-top-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-r-",null,o=>({"border-right-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-b-",null,o=>({"border-bottom-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-l-",null,o=>({"border-left-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-[",null,o=>({"border-width":M(o),"border-style":"var(--uni-border-style)"})),r("border-",null,o=>/^\d+$/.test(o)||/^\d+(px|rem|em|%)$/.test(o)?{"border-width":`${o}px`,"border-style":"var(--uni-border-style)"}:{});let c=["xs","sm","md","lg","xl","2xl","3xl","4xl","none","full"];return c.forEach(o=>{let u=o==="none"?"0":o==="full"?"999999px":`var(--radius-${o})`;r(`rounded-${o}`,"border-radius",()=>u)}),r("rounded-[","border-radius",M),["t","r","b","l","tl","tr","br","bl"].forEach(o=>{let u={t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-right","bottom-left"],l:["top-left","bottom-left"],tl:["top-left"],tr:["top-right"],br:["bottom-right"],bl:["bottom-left"]};c.forEach(f=>{let d=f==="none"?"0":f==="full"?"999999px":`var(--radius-${f})`,m={};u[o].forEach(S=>{m[`border-${S}-radius`]=d}),r(`rounded-${o}-${f}`,null,()=>m)})}),r("shadow-[","--uni-shadow",M),r("shadow-inset-[","--uni-inset-shadow",M),r("shadow-color-[",null,o=>({"--uni-shadow-color":ke(o)})),r("shadow-color-",null,o=>({"--uni-shadow-color":ke(o)})),r("shadow-inset-color-[",null,o=>({"--uni-inset-shadow-color":ke(o)})),r("shadow-inset-color-",null,o=>({"--uni-inset-shadow-color":ke(o)})),r("ring-inset-color-[","--uni-inset-ring-color",ke),r("ring-inset-color-","--uni-inset-ring-color",ke),r("ring-inset-[","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${M(o)} var(--uni-inset-ring-color, currentColor)`),r("ring-inset-","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${o}px var(--uni-inset-ring-color, currentColor)`),r("ring-inset","--uni-inset-ring-shadow",()=>"inset 0 0 0 1px var(--uni-inset-ring-color, currentColor)"),r("ring-color-[","--uni-ring-color",ke),r("ring-color-","--uni-ring-color",ke),r("ring-[","--uni-ring-shadow",o=>`0 0 0 ${M(o)} var(--uni-ring-color, currentColor)`),r("ring-","--uni-ring-shadow",o=>`0 0 0 ${o}px var(--uni-ring-color, currentColor)`),r("ring","--uni-ring-shadow",()=>"0 0 0 1px var(--uni-ring-color, currentColor)"),r("blur-[","--uni-blur",o=>`blur(${M(o)})`),r("blur-","--uni-blur",o=>`blur(var(--blur-${o}))`),r("brightness-","--uni-brightness",o=>`brightness(${M(o)}%)`),r("contrast-","--uni-contrast",o=>`contrast(${M(o)}%)`),r("drop-shadow-[","--uni-drop-shadow",o=>`drop-shadow(${M(o)})`),r("drop-shadow-color-[",null,o=>({"--uni-drop-shadow-color":ke(o)})),r("drop-shadow-color-",null,o=>({"--uni-drop-shadow-color":ke(o)})),r("grayscale-","--uni-grayscale",o=>`grayscale(${M(o)}%)`),r("grayscale","--uni-grayscale",()=>"grayscale(100%)"),r("hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(${M(o)}deg)`),r("-hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(calc(${M(o)}deg * -1))`),r("invert-","--uni-invert",o=>`invert(${M(o)}%)`),r("invert","--uni-invert",()=>"invert(100%)"),r("saturate-","--uni-saturate",o=>`saturate(${M(o)}%)`),r("sepia-","--uni-sepia",o=>`sepia(${M(o)}%)`),r("sepia","--uni-sepia",()=>"sepia(100%)"),r("backdrop-blur-[","--uni-backdrop-blur",o=>`blur(${M(o)})`),r("backdrop-blur-","--uni-backdrop-blur",o=>`blur(var(--blur-${o}))`),r("backdrop-brightness-","--uni-backdrop-brightness",o=>`brightness(${M(o)}%)`),r("backdrop-contrast-","--uni-backdrop-contrast",o=>`contrast(${M(o)}%)`),r("backdrop-grayscale-","--uni-backdrop-grayscale",o=>`grayscale(${M(o)}%)`),r("backdrop-grayscale","--uni-backdrop-grayscale",()=>"grayscale(100%)"),r("backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(${M(o)}deg)`),r("-backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(calc(${M(o)}deg * -1))`),r("backdrop-invert-","--uni-backdrop-invert",o=>`invert(${M(o)}%)`),r("backdrop-invert","--uni-backdrop-invert",()=>"invert(100%)"),r("backdrop-opacity-","--uni-backdrop-opacity",o=>`opacity(${M(o)}%)`),r("backdrop-saturate-","--uni-backdrop-saturate",o=>`saturate(${M(o)}%)`),r("backdrop-sepia-","--uni-backdrop-sepia",o=>`sepia(${M(o)}%)`),r("backdrop-sepia","--uni-backdrop-sepia",()=>"sepia(100%)"),r("opacity-","opacity",function(o){if(/^\d+$/.test(o)){let u=parseInt(o,10);if(u>=0&&u<=100)return(u/100).toString()}return M(o)}),r("duration-",null,o=>({"--uni-transition-duration":`${M(o)}ms`,"transition-duration":"var(--uni-transition-duration, 150ms)"})),r("ease-[",null,o=>({"--uni-transition-timing-function":M(o),"transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"})),r("delay-",null,o=>({"--uni-transition-delay":`${M(o)}ms`,"transition-delay":"var(--uni-transition-delay, 0ms)"})),r("transition-",null,o=>{let u=M(o);return u==="colors"?u="color, background-color, border-color, text-decoration-color, fill, stroke":u==="opacity"?u="opacity":u==="shadow"?u="box-shadow":u==="transform"?u="transform":u==="all"?u="all":u==="none"&&(u="none"),{"--uni-transition-property":u,"transition-property":"var(--uni-transition-property, all)","transition-duration":"var(--uni-transition-duration, 150ms)","transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"}}),r("transition",null,()=>({"--uni-transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-property":"var(--uni-transition-property, all)","transition-duration":"var(--uni-transition-duration, 150ms)","transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"})),r("animate-[","animation",M),r("animate-spin","animation",()=>"var(--animate-spin)"),r("animate-ping","animation",()=>"var(--animate-ping)"),r("animate-pulse","animation",()=>"var(--animate-pulse)"),r("animate-bounce","animation",()=>"var(--animate-bounce)"),r("animate-none","animation",()=>"none"),r("iteration-","animation-iteration-count",M),r("will-change-[","will-change",M),r("perspective-origin-[","perspective-origin",M),r("perspective-[","perspective",M),r("rotate-[","rotate",M),r("rotate-x-","--uni-rotate-x",o=>`rotateX(${o}deg)`),r("rotate-y-","--uni-rotate-y",o=>`rotateY(${o}deg)`),r("rotate-z-","--uni-rotate-z",o=>`rotateZ(${o}deg)`),r("-rotate-x-","--uni-rotate-x",o=>`rotateX(calc(${o}deg * -1))`),r("-rotate-y-","--uni-rotate-y",o=>`rotateY(calc(${o}deg * -1))`),r("-rotate-z-","--uni-rotate-z",o=>`rotateZ(calc(${o}deg * -1))`),r("rotate-","rotate",o=>`${M(o)}deg`),r("-rotate-","rotate",o=>`calc(${M(o)}deg * -1)`),r("scale-x-","--uni-scale-x",o=>`${o}%`),r("scale-y-","--uni-scale-y",o=>`${o}%`),r("-scale-x-","--uni-scale-x",o=>`calc(${o}% * -1)`),r("-scale-y-","--uni-scale-y",o=>`calc(${o}% * -1)`),r("scale-","scale",o=>`${M(o)}%`),r("-scale-","scale",o=>`calc(${M(o)}% * -1)`),r("skew-x-","--uni-skew-x",o=>`skewX(${o}deg)`),r("skew-y-","--uni-skew-y",o=>`skewY(${o}deg)`),r("-skew-x-","--uni-skew-x",o=>`skewX(calc(${o}deg * -1))`),r("-skew-y-","--uni-skew-y",o=>`skewY(calc(${o}deg * -1))`),r("skew-","transform",o=>`skewX(${o}deg) skewY(${o}deg)`),r("-skew-","transform",o=>`skewX(-${o}deg) skewY(-${o}deg)`),r("origin-[","transform-origin",M),r("translate-[","translate",M),r("translate-x-[","--uni-translate-x",M),r("translate-y-[","--uni-translate-y",M),r("translate-x-","--uni-translate-x",Tt),r("translate-y-","--uni-translate-y",Tt),r("translate-z-","--uni-translate-z",Tt),r("-translate-x-","--uni-translate-x",Ve),r("-translate-y-","--uni-translate-y",Ve),r("-translate-z-","--uni-translate-z",Ve),r("translate-","translate",mG),r("-translate-","translate",yG),r("grid-columns-[","grid-template-columns",M),r("grid-columns-","grid-template-columns",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("col-start-","grid-column-start",M),r("-col-start-","grid-column-start",o=>`calc(${M(o)} * -1)`),r("col-end-","grid-column-end",M),r("-col-end-","grid-column-end",o=>`calc(${M(o)} * -1)`),r("col-span-","grid-column",o=>o==="full"?"1 / -1":`span ${M(o)} / span ${M(o)}`),r("col-[","grid-column",M),r("grid-rows-[","grid-template-rows",M),r("grid-rows-","grid-template-rows",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("row-start-","grid-row-start",M),r("-row-start-","grid-row-start",o=>`calc(${M(o)} * -1)`),r("row-end-","grid-row-end",M),r("-row-end-","grid-row-end",o=>`calc(${M(o)} * -1)`),r("row-span-","grid-row",o=>o==="full"?"1 / -1":`span ${M(o)} / span ${M(o)}`),r("row-[","grid-row",M),r("auto-columns-[","grid-auto-columns",M),r("auto-rows-[","grid-auto-rows",M),r("space-x-[","margin-right",M),r("space-x-","margin-right",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("-space-x-[","margin-right",o=>`calc(${M(o)} * -1)`),r("-space-x-","margin-right",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:/^\d+(\.\d+)?$/.test(o)?`calc(-0.25rem * ${o})`:`calc(var(--${ht(o)}) * -1)`),r("space-y-[","margin-bottom",M),r("space-y-","margin-bottom",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("-space-y-[","margin-bottom",o=>`calc(${M(o)} * -1)`),r("-space-y-","margin-bottom",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:/^\d+(\.\d+)?$/.test(o)?`calc(-0.25rem * ${o})`:`calc(var(--${ht(o)}) * -1)`),r("divide-x-[",null,o=>({"border-right-width":M(o),"border-right-style":"solid"})),r("divide-x-",null,o=>/^\d+$/.test(o)?{"border-right-width":`${o}px`,"border-right-style":"solid"}:{"border-right-width":o,"border-right-style":"solid"}),r("divide-x",null,()=>({"border-right-width":"1px","border-right-style":"solid"})),r("divide-y-[",null,o=>({"border-bottom-width":M(o),"border-bottom-style":"solid"})),r("divide-y-",null,o=>/^\d+$/.test(o)?{"border-bottom-width":`${o}px`,"border-bottom-style":"solid"}:{"border-bottom-width":o,"border-bottom-style":"solid"}),r("divide-y",null,()=>({"border-bottom-width":"1px","border-bottom-style":"solid"})),r("divide-style-","border-style",o=>o),r("divide-color-[","border-color",ke),r("divide-color-","border-color",ke),r("columns-","columns",o=>/^\d+$/.test(o)?o:["3xs","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl"].includes(o)?`var(--container-${o})`:M(o)),r("scrollbar-[","scrollbar-color",o=>M(o).replace(/color-([a-zA-Z0-9\-]+)/g,(u,f)=>`var(--color-${f})`)),r("object-[","object-position",M),r("caret-color-[","caret-color",ke),r("caret-color-","caret-color",ke),r("accent-color-[","accent-color",ke),r("accent-color-","accent-color",ke),r("outline-offset-[","outline-offset",M),r("outline-style-",null,o=>({"--uni-outline-style":o,"outline-style":"var(--uni-outline-style)"})),r("outline-color-[","outline-color",ke),r("outline-color-","outline-color",ke),r("outline-[",null,o=>({"outline-width":M(o),"outline-style":"var(--uni-outline-style)"})),r("outline-offset-","outline-offset",o=>`${o}px`),r("-outline-offset-","outline-offset",o=>`-${o}px`),r("outline-",null,o=>o.startsWith("offset")?{}:{"outline-width":/^\d+$/.test(o)?`${o}px`:o,"outline-style":"var(--uni-outline-style)"}),r("fill-color-[","fill",ke),r("fill-color-","fill",ke),r("stroke-color-[","stroke",ke),r("stroke-color-","stroke",ke),r("stroke-[","stroke-width",M),r("stroke-","stroke-width",o=>/^\d+$/.test(o)?`${o}px`:M(o)),r("content-[","content",o=>{let u=M(o);return u.startsWith("'")||u.startsWith('"')?u:`"${u}"`}),r("line-clamp-",null,o=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.replace("/","")})),r("line-clamp-none",null,()=>({overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"})),r("truncate",null,()=>({overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"})),r("sr-only",null,()=>({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap","border-width":"0"})),r("not-sr-only",null,()=>({position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"})),i},bG=()=>`
56
+ `;return this.replaceWith(o)[0].get("arguments.0")}function SX(t){let e=t.params.findIndex(i=>QJ(i)||ZJ(i));return e===-1?t.params.length:e}});var qx=_(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct._guessExecutionStatusRelativeTo=UX;ct._resolve=$x;ct.canHaveVariableDeclarationOrExpression=LX;ct.canSwapBetweenExpressionAndStatement=MX;ct.getSource=RX;ct.isCompletionRecord=FX;ct.isConstantExpression=YX;ct.isInStrictMode=zX;ct.isNodeType=DX;ct.isStatementOrBlock=BX;ct.isStatic=NX;ct.matchesPattern=OX;ct.referencesImport=jX;ct.resolve=WX;ct.willIMaybeExecuteBefore=$X;var EX=be(),{STATEMENT_OR_BLOCK_KEYS:PX,VISITOR_KEYS:vX,isBlockStatement:Rx,isExpression:AX,isIdentifier:wX,isLiteral:CX,isStringLiteral:IX,isType:kX,matchesPattern:_X}=EX;function OX(t,e){return _X(this.node,t,e)}ct.has=function(e){var i;let r=(i=this.node)==null?void 0:i[e];return r&&Array.isArray(r)?!!r.length:!!r};function NX(){return this.scope.isStatic(this.node)}ct.is=ct.has,ct.isnt=function(e){return!this.has(e)},ct.equals=function(e,i){return this.node[e]===i};function DX(t){return kX(this.type,t)}function LX(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function MX(t){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?Rx(t):this.isBlockStatement()?AX(t):!1}function FX(t){let e=this,i=!0;do{let{type:r,container:s}=e;if(!i&&(e.isFunction()||r==="StaticBlock"))return!!t;if(i=!1,Array.isArray(s)&&e.key!==s.length-1)return!1}while((e=e.parentPath)&&!e.isProgram()&&!e.isDoExpression());return!0}function BX(){return this.parentPath.isLabeledStatement()||Rx(this.container)?!1:PX.includes(this.key)}function jX(t,e){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===e||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?IX(this.node.property,{value:e}):this.node.property.name===e)){let n=this.get("object");return n.isReferencedIdentifier()&&n.referencesImport(t,"*")}return!1}let i=this.scope.getBinding(this.node.name);if(!i||i.kind!=="module")return!1;let r=i.path,s=r.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===t){if(!e)return!0}else return!1;return!!(r.isImportDefaultSpecifier()&&e==="default"||r.isImportNamespaceSpecifier()&&e==="*"||r.isImportSpecifier()&&wX(r.node.imported,{name:e}))}function RX(){let t=this.node;if(t.end){let e=this.hub.getCode();if(e)return e.slice(t.start,t.end)}return""}function $X(t){return this._guessExecutionStatusRelativeTo(t)!=="after"}function Fx(t){return t.isProgram()?t:(t.parentPath.scope.getFunctionParent()||t.parentPath.scope.getProgramParent()).path}function qX(t,e){switch(t){case"LogicalExpression":return e==="right";case"ConditionalExpression":case"IfStatement":return e==="consequent"||e==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return e==="body";case"ForStatement":return e==="body"||e==="update";case"SwitchStatement":return e==="cases";case"TryStatement":return e==="handler";case"AssignmentPattern":return e==="right";case"OptionalMemberExpression":return e==="property";case"OptionalCallExpression":return e==="arguments";default:return!1}}function Bx(t,e){for(let i=0;i<e;i++){let r=t[i];if(qX(r.parent.type,r.parentKey))return!0}return!1}var jx=Symbol();function UX(t){return lh(this,t,new Map)}function lh(t,e,i){let r={this:Fx(t),target:Fx(e)};if(r.target.node!==r.this.node)return VX(t,r.target,i);let s={target:e.getAncestry(),this:t.getAncestry()};if(s.target.includes(t))return"after";if(s.this.includes(e))return"before";let n,a={target:0,this:0};for(;!n&&a.this<s.this.length;){let u=s.this[a.this];a.target=s.target.indexOf(u),a.target>=0?n=u:a.this++}if(!n)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(Bx(s.this,a.this-1)||Bx(s.target,a.target-1))return"unknown";let l={this:s.this[a.this-1],target:s.target[a.target-1]};if(l.target.listKey&&l.this.listKey&&l.target.container===l.this.container)return l.target.key>l.this.key?"before":"after";let c=vX[n.type],o={this:c.indexOf(l.this.parentKey),target:c.indexOf(l.target.parentKey)};return o.target>o.this?"before":"after"}function KX(t,e,i){if(e.isFunctionDeclaration()){if(e.parentPath.isExportDeclaration())return"unknown"}else return lh(t,e,i)==="before"?"before":"unknown";let r=e.scope.getBinding(e.node.id.name);if(!r.references)return"before";let s=r.referencePaths,n;for(let a of s){if(!!a.find(o=>o.node===e.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let c=lh(t,a,i);if(n&&n!==c)return"unknown";n=c}return n}function VX(t,e,i){let r=i.get(t.node),s;if(!r)i.set(t.node,r=new Map);else if(s=r.get(e.node))return s===jx?"unknown":s;r.set(e.node,jx);let n=KX(t,e,i);return r.set(e.node,n),n}function WX(t,e){return $x.call(this,t,e)||this}function $x(t,e){var i;if(!((i=e)!=null&&i.includes(this)))if(e=e||[],e.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(t,e)}else if(this.isReferencedIdentifier()){let r=this.scope.getBinding(this.node.name);if(!r||!r.constant||r.kind==="module")return;if(r.path!==this){let s=r.path.resolve(t,e);return this.find(n=>n.node===s.node)?void 0:s}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(t,e);if(t&&this.isMemberExpression()){let r=this.toComputedKey();if(!CX(r))return;let s=r.value,n=this.get("object").resolve(t,e);if(n.isObjectExpression()){let a=n.get("properties");for(let l of a){if(!l.isProperty())continue;let c=l.get("key"),o=l.isnt("computed")&&c.isIdentifier({name:s});if(o=o||c.isLiteral({value:s}),o)return l.get("value").resolve(t,e)}}else if(n.isArrayExpression()&&!isNaN(+s)){let l=n.get("elements")[s];if(l)return l.resolve(t,e)}}}}function YX(){if(this.isIdentifier()){let t=this.scope.getBinding(this.node.name);return t?t.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(t=>t.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:t}=this.node;return t!=="in"&&t!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1}function zX(){return!!(this.isProgram()?this:this.parentPath).find(i=>{if(i.isProgram({sourceType:"module"})||i.isClass())return!0;if(i.isArrowFunctionExpression()&&!i.get("body").isBlockStatement())return!1;let r;if(i.isFunction())r=i.node.body;else if(i.isProgram())r=i.node;else return!1;for(let s of r.directives)if(s.value.value==="use strict")return!0})}});var Yx=_(wt=>{"use strict";Object.defineProperty(wt,"__esModule",{value:!0});wt._getKey=Vx;wt._getPattern=Wx;wt.get=uH;wt.getAllNextSiblings=lH;wt.getAllPrevSiblings=cH;wt.getAssignmentIdentifiers=pH;wt.getBindingIdentifierPaths=dH;wt.getBindingIdentifiers=fH;wt.getCompletionRecords=sH;wt.getNextSibling=oH;wt.getOpposite=tH;wt.getOuterBindingIdentifierPaths=mH;wt.getOuterBindingIdentifiers=hH;wt.getPrevSibling=aH;wt.getSibling=nH;var uh=Ji(),JX=be(),{getAssignmentIdentifiers:XX,getBindingIdentifiers:Kx,getOuterBindingIdentifiers:HX,numericLiteral:GX,unaryExpression:QX}=JX,ph=0,Kn=1;function ZX(t){return{type:ph,path:t}}function eH(t){return{type:Kn,path:t}}function tH(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function _s(t,e,i){return t&&e.push(...Os(t,i)),e}function iH(t,e,i){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=Os(n,i),l=[],c=[];for(let o of a)o.type===ph&&l.push(o),o.type===Kn&&c.push(o);l.length&&(r=l),e.push(...c)}return e.push(...r),e}function rH(t){t.forEach(e=>{e.type=Kn})}function ch(t,e){t.forEach(i=>{i.path.isBreakStatement({label:null})&&(e?i.path.replaceWith(QX("void",GX(0))):i.path.remove())})}function Ux(t,e){let i=[];if(e.canHaveBreak){let r=[];for(let s=0;s<t.length;s++){let n=t[s],a=Object.assign({},e,{inCaseClause:!1});n.isBlockStatement()&&(e.inCaseClause||e.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let l=Os(n,a);if(l.length>0&&l.every(c=>c.type===Kn)){r.length>0&&l.every(c=>c.path.isBreakStatement({label:null}))?(rH(r),i.push(...r),r.some(c=>c.path.isDeclaration())&&(i.push(...l),e.shouldPreserveBreak||ch(l,!0)),e.shouldPreserveBreak||ch(l,!1)):(i.push(...l),!e.shouldPopulateBreak&&!e.shouldPreserveBreak&&ch(l,!0));break}if(s===t.length-1)i.push(...l);else{r=[];for(let c=0;c<l.length;c++){let o=l[c];o.type===Kn&&i.push(o),o.type===ph&&r.push(o)}}}}else if(t.length)for(let r=t.length-1;r>=0;r--){let s=Os(t[r],e);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()&&!s[0].path.isEmptyStatement()){i.push(...s);break}}return i}function Os(t,e){let i=[];if(t.isIfStatement())i=_s(t.get("consequent"),i,e),i=_s(t.get("alternate"),i,e);else{if(t.isDoExpression()||t.isFor()||t.isWhile()||t.isLabeledStatement())return _s(t.get("body"),i,e);if(t.isProgram()||t.isBlockStatement())return Ux(t.get("body"),e);if(t.isFunction())return Os(t.get("body"),e);if(t.isTryStatement())i=_s(t.get("block"),i,e),i=_s(t.get("handler"),i,e);else{if(t.isCatchClause())return _s(t.get("body"),i,e);if(t.isSwitchStatement())return iH(t.get("cases"),i,e);if(t.isSwitchCase())return Ux(t.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:e.shouldPreserveBreak});t.isBreakStatement()?i.push(eH(t)):i.push(ZX(t))}}return i}function sH(t=!1){return Os(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:t}).map(i=>i.path)}function nH(t){return uh.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:t}).setContext(this.context)}function aH(){return this.getSibling(this.key-1)}function oH(){return this.getSibling(this.key+1)}function lH(){let t=this.key,e=this.getSibling(++t),i=[];for(;e.node;)i.push(e),e=this.getSibling(++t);return i}function cH(){let t=this.key,e=this.getSibling(--t),i=[];for(;e.node;)i.push(e),e=this.getSibling(--t);return i}function uH(t,e=!0){e===!0&&(e=this.context);let i=t.split(".");return i.length===1?Vx.call(this,t,e):Wx.call(this,i,e)}function Vx(t,e){let i=this.node,r=i[t];return Array.isArray(r)?r.map((s,n)=>uh.default.get({listKey:t,parentPath:this,parent:i,container:r,key:n}).setContext(e)):uh.default.get({parentPath:this,parent:i,container:i,key:t}).setContext(e)}function Wx(t,e){let i=this;for(let r of t)r==="."?i=i.parentPath:Array.isArray(i)?i=i[r]:i=i.get(r,e);return i}function pH(){return XX(this.node)}function fH(t){return Kx(this.node,t)}function hH(t){return HX(this.node,t)}function dH(t=!1,e=!1){let r=[this],s=Object.create(null);for(;r.length;){let n=r.shift();if(!n||!n.node)continue;let a=Kx.keys[n.node.type];if(n.isIdentifier()){t?(s[n.node.name]=s[n.node.name]||[]).push(n):s[n.node.name]=n;continue}if(n.isExportDeclaration()){let l=n.get("declaration");l.isDeclaration()&&r.push(l);continue}if(e){if(n.isFunctionDeclaration()){r.push(n.get("id"));continue}if(n.isFunctionExpression())continue}if(a)for(let l=0;l<a.length;l++){let c=a[l],o=n.get(c);Array.isArray(o)?r.push(...o):o.node&&r.push(o)}}return s}function mH(t=!1){return this.getBindingIdentifierPaths(t,!0)}});var Jx=_(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.addComment=bH;Vn.addComments=SH;Vn.shareCommentsWithSiblings=xH;var yH=be(),{addComment:TH,addComments:gH}=yH;function xH(){if(typeof this.key=="string")return;let t=this.node;if(!t)return;let e=t.trailingComments,i=t.leadingComments;if(!e&&!i)return;let r=this.getSibling(this.key-1),s=this.getSibling(this.key+1),n=!!r.node,a=!!s.node;n&&(i&&r.addComments("trailing",zx(i,r.node.trailingComments)),e&&!a&&r.addComments("trailing",e)),a&&(e&&s.addComments("leading",zx(e,s.node.leadingComments)),i&&!n&&s.addComments("leading",i))}function zx(t,e){if(!(e!=null&&e.length))return t;let i=new Set(e);return t.filter(r=>!i.has(r))}function bH(t,e,i){TH(this.node,t,e,i)}function SH(t,e){gH(this.node,t,e)}});var Ji=_(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.default=Mi.SHOULD_STOP=Mi.SHOULD_SKIP=Mi.REMOVED=void 0;var EH=Pc(),PH=gm(),vH=_n(),AH=$p(),Gx=be(),Go=Gx,wH=jr(),CH=lg(),Di=cg(),Ns=kg(),Ds=Mf(),Xx=dx(),zr=Mx(),ft=qx(),Qx=Ti(),ut=Qx,Ls=Uo(),Li=Ko(),Ut=Yx(),fh=Jx(),IH=Dp(),{validate:kH}=Gx,Hx=PH("babel"),_oe=Mi.REMOVED=1,Ooe=Mi.SHOULD_STOP=2,Noe=Mi.SHOULD_SKIP=4,Hi=Mi.default=class Zx{constructor(e,i){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=i,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:e,parentPath:i,parent:r,container:s,listKey:n,key:a}){if(!e&&i&&(e=i.hub),!r)throw new Error("To get a node path the parent needs to exist");let l=s[a],c=wH.getOrCreateCachedPaths(r,i),o=c.get(l);return o||(o=new Zx(e,r),l&&c.set(l,o)),Qx.setup.call(o,i,s,n,a),o}getScope(e){return this.isScope()?new AH.default(this):e}setData(e,i){return this.data==null&&(this.data=Object.create(null)),this.data[e]=i}getData(e,i){this.data==null&&(this.data=Object.create(null));let r=this.data[e];return r===void 0&&i!==void 0&&(r=this.data[e]=i),r}hasNode(){return this.node!=null}buildCodeFrameError(e,i=SyntaxError){return this.hub.buildError(this.node,e,i)}traverse(e,i){(0,vH.default)(this.node,e,this.scope,i,this)}set(e,i){kH(this.node,e,i),this.node[e]=i}getPathLocation(){let e=[],i=this;do{let r=i.key;i.inList&&(r=`${i.listKey}[${r}]`),e.unshift(r)}while(i=i.parentPath);return e.join(".")}debug(e){Hx.enabled&&Hx(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,CH.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},_H={findParent:Di.findParent,find:Di.find,getFunctionParent:Di.getFunctionParent,getStatementParent:Di.getStatementParent,getEarliestCommonAncestorFrom:Di.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:Di.getDeepestCommonAncestorFrom,getAncestry:Di.getAncestry,isAncestor:Di.isAncestor,isDescendant:Di.isDescendant,inType:Di.inType,getTypeAnnotation:Ns.getTypeAnnotation,isBaseType:Ns.isBaseType,couldBeBaseType:Ns.couldBeBaseType,baseTypeStrictlyMatches:Ns.baseTypeStrictlyMatches,isGenericType:Ns.isGenericType,replaceWithMultiple:Ds.replaceWithMultiple,replaceWithSourceString:Ds.replaceWithSourceString,replaceWith:Ds.replaceWith,replaceExpressionWithStatements:Ds.replaceExpressionWithStatements,replaceInline:Ds.replaceInline,evaluateTruthy:Xx.evaluateTruthy,evaluate:Xx.evaluate,toComputedKey:zr.toComputedKey,ensureBlock:zr.ensureBlock,unwrapFunctionEnvironment:zr.unwrapFunctionEnvironment,arrowFunctionToExpression:zr.arrowFunctionToExpression,splitExportDeclaration:zr.splitExportDeclaration,ensureFunctionName:zr.ensureFunctionName,matchesPattern:ft.matchesPattern,isStatic:ft.isStatic,isNodeType:ft.isNodeType,canHaveVariableDeclarationOrExpression:ft.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:ft.canSwapBetweenExpressionAndStatement,isCompletionRecord:ft.isCompletionRecord,isStatementOrBlock:ft.isStatementOrBlock,referencesImport:ft.referencesImport,getSource:ft.getSource,willIMaybeExecuteBefore:ft.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:ft._guessExecutionStatusRelativeTo,resolve:ft.resolve,isConstantExpression:ft.isConstantExpression,isInStrictMode:ft.isInStrictMode,isDenylisted:ut.isDenylisted,visit:ut.visit,skip:ut.skip,skipKey:ut.skipKey,stop:ut.stop,setContext:ut.setContext,requeue:ut.requeue,requeueComputedKeyAndDecorators:ut.requeueComputedKeyAndDecorators,remove:Ls.remove,insertBefore:Li.insertBefore,insertAfter:Li.insertAfter,unshiftContainer:Li.unshiftContainer,pushContainer:Li.pushContainer,getOpposite:Ut.getOpposite,getCompletionRecords:Ut.getCompletionRecords,getSibling:Ut.getSibling,getPrevSibling:Ut.getPrevSibling,getNextSibling:Ut.getNextSibling,getAllNextSiblings:Ut.getAllNextSiblings,getAllPrevSiblings:Ut.getAllPrevSiblings,get:Ut.get,getAssignmentIdentifiers:Ut.getAssignmentIdentifiers,getBindingIdentifiers:Ut.getBindingIdentifiers,getOuterBindingIdentifiers:Ut.getOuterBindingIdentifiers,getBindingIdentifierPaths:Ut.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:Ut.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:fh.shareCommentsWithSiblings,addComment:fh.addComment,addComments:fh.addComments};Object.assign(Hi.prototype,_H);Hi.prototype.arrowFunctionToShadowed=zr.arrowFunctionToShadowed,Object.assign(Hi.prototype,{has:ft.has,is:ft.is,isnt:ft.isnt,equals:ft.equals,hoist:Li.hoist,updateSiblingKeys:Li.updateSiblingKeys,call:ut.call,isBlacklisted:ut.isBlacklisted,setScope:ut.setScope,resync:ut.resync,popContext:ut.popContext,pushContext:ut.pushContext,setup:ut.setup,setKey:ut.setKey});Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=ft._guessExecutionStatusRelativeTo,Hi.prototype._guessExecutionStatusRelativeToDifferentFunctions=ft._guessExecutionStatusRelativeTo,Object.assign(Hi.prototype,{_getTypeAnnotation:Ns._getTypeAnnotation,_replaceWith:Ds._replaceWith,_resolve:ft._resolve,_call:ut._call,_resyncParent:ut._resyncParent,_resyncKey:ut._resyncKey,_resyncList:ut._resyncList,_resyncRemoved:ut._resyncRemoved,_getQueueContexts:ut._getQueueContexts,_removeFromScope:Ls._removeFromScope,_callRemovalHooks:Ls._callRemovalHooks,_remove:Ls._remove,_markRemoved:Ls._markRemoved,_assertUnremoved:Ls._assertUnremoved,_containerInsert:Li._containerInsert,_containerInsertBefore:Li._containerInsertBefore,_containerInsertAfter:Li._containerInsertAfter,_verifyNodeList:Li._verifyNodeList,_getKey:Ut._getKey,_getPattern:Ut._getPattern});for(let t of Go.TYPES){let e=`is${t}`,i=Go[e];Hi.prototype[e]=function(r){return i(this.node,r)},Hi.prototype[`assert${t}`]=function(r){if(!i(this.node,r))throw new TypeError(`Expected node path of type ${t}`)}}Object.assign(Hi.prototype,IH);for(let t of Object.keys(EH))t[0]!=="_"&&(Go.TYPES.includes(t)||Go.TYPES.push(t))});var eb=_(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var OH=Ji(),NH=be(),hh=Ti(),{VISITOR_KEYS:DH}=NH,dh=class{constructor(e,i,r,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=e,this.state=r,this.opts=i}shouldVisit(e){let i=this.opts;if(i.enter||i.exit||i[e.type])return!0;let r=DH[e.type];if(!(r!=null&&r.length))return!1;for(let s of r)if(e[s])return!0;return!1}create(e,i,r,s){return OH.default.get({parentPath:this.parentPath,parent:e,container:i,key:r,listKey:s})}maybeQueue(e,i){this.queue&&(i?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,i,r){if(e.length===0)return!1;let s=[];for(let n=0;n<e.length;n++){let a=e[n];a&&this.shouldVisit(a)&&s.push(this.create(i,e,n,r))}return this.visitQueue(s)}visitSingle(e,i){return this.shouldVisit(e[i])?this.visitQueue([this.create(e,e,i)]):!1}visitQueue(e){this.queue=e,this.priorityQueue=[];let i=new WeakSet,r=!1,s=0;for(;s<e.length;){let n=e[s];if(s++,hh.resync.call(n),(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this)&&hh.pushContext.call(n,this),n.key===null)continue;let{node:a}=n;if(!i.has(a)){if(a&&i.add(a),n.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}}for(let n=0;n<s;n++)hh.popContext.call(e[n]);return this.queue=null,r}visit(e,i){let r=e[i];return r?Array.isArray(r)?this.visitMultiple(r,e,i):this.visitSingle(e,i):!1}};Qo.default=dh});var yo=_(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.traverseNode=BH;var LH=eb(),Moe=Ji(),MH=be(),Foe=Ti(),{VISITOR_KEYS:FH}=MH;function BH(t,e,i,r,s,n,a){let l=FH[t.type];if(!l)return!1;let c=new LH.default(i,e,r,s);if(a)return n!=null&&n[s.parentKey]?!1:c.visitQueue([s]);for(let o of l)if(!(n!=null&&n[o])&&c.visit(t,o))return!0;return!1}});var Ti=_(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt._call=Th;nt._getQueueContexts=ZH;nt._resyncKey=ab;nt._resyncList=ob;nt._resyncParent=nb;nt._resyncRemoved=zH;nt.call=yh;nt.isDenylisted=rb;nt.popContext=JH;nt.pushContext=XH;nt.requeue=GH;nt.requeueComputedKeyAndDecorators=QH;nt.resync=YH;nt.setContext=WH;nt.setKey=Zo;nt.setScope=sb;nt.setup=HH;nt.skip=UH;nt.skipKey=KH;nt.stop=VH;nt.visit=qH;var jH=yo(),tb=Ji(),RH=Uo(),$H=be();function yh(t){let e=this.opts;if(this.debug(t),this.node&&Th.call(this,e[t]))return!0;if(this.node){var i;return Th.call(this,(i=e[this.node.type])==null?void 0:i[t])}return!1}function Th(t){if(!t)return!1;for(let e of t){if(!e)continue;let i=this.node;if(!i)return!0;let r=e.call(this.state,this,this.state);if(r&&typeof r=="object"&&typeof r.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(r)throw new Error(`Unexpected return value from visitor method ${e}`);if(this.node!==i||this._traverseFlags>0)return!0}return!1}function rb(){var t;let e=(t=this.opts.denylist)!=null?t:this.opts.blacklist;return e?.includes(this.node.type)}nt.isBlacklisted=rb;function ib(t,e){t.context!==e&&(t.context=e,t.state=e.state,t.opts=e.opts)}function qH(){var t,e;if(!this.node||this.isDenylisted()||(t=(e=this.opts).shouldSkip)!=null&&t.call(e,this))return!1;let i=this.context;return this.shouldSkip||yh.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(ib(this,i),this.debug("Recursing into..."),this.shouldStop=(0,jH.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),ib(this,i),yh.call(this,"exit"),this.shouldStop)}function UH(){this.shouldSkip=!0}function KH(t){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[t]=!0}function VH(){this._traverseFlags|=tb.SHOULD_SKIP|tb.SHOULD_STOP}function sb(){var t,e;if((t=this.opts)!=null&&t.noScope)return;let i=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&i.isMethod()||this.key==="discriminant"&&i.isSwitchStatement())&&(i=i.parentPath);let r;for(;i&&!r;){var s;if((s=i.opts)!=null&&s.noScope)return;r=i.scope,i=i.parentPath}this.scope=this.getScope(r),(e=this.scope)==null||e.init()}function WH(t){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,t&&(this.context=t,this.state=t.state,this.opts=t.opts),sb.call(this),this}function YH(){this.removed||(nb.call(this),ob.call(this),ab.call(this))}function nb(){this.parentPath&&(this.parent=this.parentPath.node)}function ab(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let t=0;t<this.container.length;t++)if(this.container[t]===this.node){Zo.call(this,t);return}}else for(let t of Object.keys(this.container))if(this.container[t]===this.node){Zo.call(this,t);return}this.key=null}}function ob(){if(!this.parent||!this.inList)return;let t=this.parent[this.listKey];this.container!==t&&(this.container=t||null)}function zH(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&RH._markRemoved.call(this)}function JH(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function XH(t){this.contexts.push(t),this.setContext(t)}function HH(t,e,i,r){this.listKey=i,this.container=e,this.parentPath=t||this.parentPath,Zo.call(this,r)}function Zo(t){var e;this.key=t,this.node=this.container[this.key],this.type=(e=this.node)==null?void 0:e.type}function GH(t=this){if(t.removed)return;let e=this.contexts;for(let i of e)i.maybeQueue(t)}function QH(){let{context:t,node:e}=this;if(!$H.isPrivate(e)&&e.computed&&t.maybeQueue(this.get("key")),e.decorators)for(let i of this.get("decorators"))t.maybeQueue(i)}function ZH(){let t=this,e=this.contexts;for(;!e.length&&(t=t.parentPath,!!t);)e=t.contexts;return e}});var lb=_(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var gh=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,i,r=TypeError){return new r(i)}};el.default=gh});var _n=_(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Object.defineProperty(Gi,"Hub",{enumerable:!0,get:function(){return sG.default}});Object.defineProperty(Gi,"NodePath",{enumerable:!0,get:function(){return iG.default}});Object.defineProperty(Gi,"Scope",{enumerable:!0,get:function(){return rG.default}});Gi.visitors=Gi.default=void 0;Ti();var Yn=fo();Gi.visitors=Yn;var eG=be(),tG=jr(),cb=yo(),iG=Ji(),rG=$p(),sG=lb(),{VISITOR_KEYS:nG,removeProperties:aG,traverseFast:Wn}=eG;function Si(t,e={},i,r,s,n){if(t){if(!e.noScope&&!i&&t.type!=="Program"&&t.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${t.type} node without passing scope and parentPath.`);if(!s&&n)throw new Error("visitSelf can only be used when providing a NodePath.");nG[t.type]&&(Yn.explode(e),(0,cb.traverseNode)(t,e,i,r,s,null,n))}}var $oe=Gi.default=Si;Si.visitors=Yn;Si.verify=Yn.verify;Si.explode=Yn.explode;Si.cheap=function(t,e){Wn(t,e)};Si.node=function(t,e,i,r,s,n){(0,cb.traverseNode)(t,e,i,r,s,n)};Si.clearNode=function(t,e){aG(t,e)};Si.removeProperties=function(t,e){return Wn(t,Si.clearNode,e),t};Si.hasType=function(t,e,i){return i!=null&&i.includes(t.type)?!1:t.type===e?!0:Wn(t,function(r){if(i!=null&&i.includes(r.type))return Wn.skip;if(r.type===e)return Wn.stop})};Si.cache=tG});var pb=_((Uoe,ub)=>{var oG=require("fs"),lG=ja(),cG=_n().default;function uG(t){let e=oG.readFileSync(t,"utf-8"),i=new Set,r,s={};function n(c){return!(!c||typeof c!="string"||(c=c.trim(),c.length===0)||!/[a-zA-Z0-9_-]/.test(c))}function a(c){n(c)&&i.add(c.trim())}try{r=lG.parse(e,{sourceType:"module",plugins:["jsx","typescript","classProperties","objectRestSpread","optionalChaining","nullishCoalescingOperator"]})}catch{return[]}function l(c){if(c)if(c.type==="StringLiteral"||c.type==="Literal")c.value.split(/\s+/).forEach(o=>a(o));else if(c.type==="ArrayExpression")c.elements.forEach(o=>l(o));else if(c.type==="TemplateLiteral")c.quasis.forEach(o=>{o.value.cooked&&o.value.cooked.split(/\s+/).forEach(u=>a(u))}),c.expressions.forEach(o=>l(o));else if(c.type==="Identifier"&&s[c.name]){let o=s[c.name];Array.isArray(o)?o.forEach(u=>a(u)):typeof o=="string"?o.split(/\s+/).forEach(u=>a(u)):typeof o=="object"&&Object.values(o).forEach(u=>{typeof u=="string"&&u.split(/\s+/).forEach(f=>a(f))})}else if(c.type==="BinaryExpression"&&c.operator==="+")l(c.left),l(c.right);else if(c.type==="ConditionalExpression")l(c.consequent),l(c.alternate);else if(c.type==="LogicalExpression")l(c.left),l(c.right);else if(c.type==="MemberExpression"){if(c.object.type==="Identifier"&&s[c.object.name]){let o=null;if(!c.computed&&c.property.type==="Identifier")o=c.property.name;else if(c.computed&&c.property.type==="StringLiteral")o=c.property.value;else if(c.computed&&c.property.type==="Identifier"){let u=s[c.object.name];typeof u=="object"&&Object.values(u).forEach(f=>{typeof f=="string"&&f.split(/\s+/).forEach(d=>a(d))});return}if(o){let u=s[c.object.name][o];typeof u=="string"&&u.split(/\s+/).forEach(f=>a(f))}}}else c.type==="ArrowFunctionExpression"?c.body.type==="TemplateLiteral"||c.body.type==="ConditionalExpression"?l(c.body):c.body.type==="BlockStatement"&&c.body.body.forEach(o=>{o.type==="ReturnStatement"&&o.argument&&l(o.argument)}):c.type==="CallExpression"&&l(c.callee)}return cG(r,{VariableDeclarator(c){if(c.node.init&&c.node.id.type==="Identifier"){let o=c.node.id.name,u=/Classes?$/.test(o)||/classes?$/i.test(o)||/ClassNames?$/.test(o),f=u||/color|variant|style|map/i.test(o);if(c.node.init.type==="ObjectExpression"&&f){let d={},m=S=>{S.type==="StringLiteral"?S.value.split(/\s+/).forEach(P=>a(P)):S.type==="ObjectExpression"&&S.properties.forEach(P=>{m(P.value)})};c.node.init.properties.forEach(S=>{let P=null;S.key.type==="Identifier"?P=S.key.name:S.key.type==="StringLiteral"&&(P=S.key.value),P&&(S.value.type==="StringLiteral"?(d[P]=S.value.value,S.value.value.split(/\s+/).forEach(A=>a(A))):S.value.type==="ObjectExpression"&&m(S.value))}),s[o]=d}else if((c.node.init.type==="ArrayExpression"||c.node.init.type==="StringLiteral")&&f){let d=[];c.node.init.type==="ArrayExpression"?c.node.init.elements.forEach(m=>{m&&m.type==="StringLiteral"&&m.value.split(/\s+/).forEach(S=>{n(S)&&d.push(S.trim())})}):c.node.init.type==="StringLiteral"&&c.node.init.value.split(/\s+/).forEach(m=>{n(m)&&d.push(m.trim())}),s[o]=d}else c.node.init.type==="StringLiteral"&&u&&(s[o]=c.node.init.value)}},ObjectProperty(c){let o=c.node.key.name||(c.node.key.type==="StringLiteral"?c.node.key.value:null);o&&/Class$|ClassName$|^className$/i.test(o)&&(c.node.value.type==="StringLiteral"?c.node.value.value.split(/\s+/).forEach(u=>a(u)):c.node.value.type==="TemplateLiteral"&&l(c.node.value))},JSXAttribute(c){if(typeof c.node.name.name=="string"&&/^(class(Name)?|.*[cC]lass(Name)?)$/.test(c.node.name.name)){let o=c.node.value;o&&(o.type==="StringLiteral"?o.value.split(/\s+/).forEach(u=>a(u)):o.type==="JSXExpressionContainer"&&l(o.expression))}}}),Array.from(i).filter(n)}ub.exports=uG});var tl=require("fs"),yb=require("path"),pG=Cd(),fG=Od(),fb=Dd(),hb=Md(),hG=pb(),db=(...t)=>t.reduce((e,i)=>fG(e,i||{},{arrayMerge:(r,s)=>s}),{}),dG=()=>{try{return require(yb.resolve(process.cwd(),"unicss.config.js"))}catch{return{}}},at=t=>t.replace(/([:\/\[\]\(\)\?\=\&\,\'\;\+\"#%\*!])/g,"\\$1").replace(/\./g,"\\.").replace(/^([0-9])/,"\\3$1"),ht=t=>t.replace(/\./g,"\\."),M=(t,e)=>{let i=t.replace(/[\[\]]/g,"");return["bg-image","mask-image","list-image"].includes(e)?/^url\(/i.test(i.trim())?i:i.replace(/_/g," "):i.replace(/_/g," ").replace(/calc\(([^)]+)\)/g,(s,n)=>`calc(${n.replace(/([+\-*\/])/g," $1 ").replace(/\s+/g," ").trim()})`)},mb=t=>{let e=tl.readFileSync(t,"utf-8"),i=[];return[/class=["']([^"']+)["']/g,/className=["']([^"']+)["']/g,/class=\{["'`]([^"'`]+)["'`]\}/g,/className=\{["'`]([^"'`]+)["'`]\}/g,/class:\s*["']([^"']+)["']/g,/class:\s*\[["']([^"']+)["']\]/g,/\b\w+(?:Class|ClassName)=["']([^"']+)["']/g,/\b\w+(?:Class|ClassName)=\{["'`]([^"'`]+)["'`]\}/g].forEach(s=>{let n;for(;(n=s.exec(e))!==null;){let a=n[1];if(a){let l=a.split(/\s+/).filter(Boolean);i.push(...l)}}}),i},ke=t=>{if(t=t.replace(/[\[\]]/g,""),["inherit","current","transparent","currentColor"].includes(t))return t==="current"?"currentColor":t;let i=t.match(/^rgba?\((\d+),(\d+),(\d+)(?:,(\d*\.?\d+))?\)$/);if(i){let[,s,n,a,l]=i;return`rgba(${s},${n},${a},${l||1})`}let r=t.match(/^rgb\((\d+)_(\d+)_(\d+)(?:_\/(\d+))?\)$/);if(r){let[,s,n,a,l]=r,c=l?parseInt(l,10)/100:1;return`rgba(${s},${n},${a},${c})`}if(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{3}$/.test(t))return t;if(t.includes("/")){let[s,n]=t.split("/");if(s.startsWith("#")){let a=s.replace("#","");a.length===3&&(a=a.split("").map(u=>u+u).join(""));let l=parseInt(a.substring(0,2),16),c=parseInt(a.substring(2,4),16),o=parseInt(a.substring(4,6),16);return`rgba(${l},${c},${o},${parseInt(n,10)/100})`}return`color-mix(in srgb, var(--color-${s}) ${parseInt(n,10)}%, transparent)`}return`var(--color-${t})`},Tt=t=>t==="full"?"100%":t==="px"?"1px":/^\d+\/\d+$/.test(t)?t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`):/^\d+(\.\d+)?$/.test(t)?`calc(0.25rem * ${t})`:`var(--${ht(t)})`,Ve=t=>t==="full"?"-100%":t==="px"?"-1px":/^\d+\/\d+$/.test(t)?`-${t.replace(/^(\d+)\/(\d+)$/,(e,i,r)=>`${parseInt(i,10)/parseInt(r,10)*100}%`)}`:/^\d+(\.\d+)?$/.test(t)?`calc(-0.25rem * ${t})`:`calc(-1 * var(--${ht(t)}))`,mG=t=>{let e=t.split(" ");if(e.length===1){let i=Tt(e[0]);return`${i} ${i}`}return e.map(Tt).join(" ")},yG=t=>{let e=t.split(" ");if(e.length===1){let i=Ve(e[0]);return`${i} ${i}`}return e.map(Ve).join(" ")},Jr={first:"first-child",last:"last-child","not-first":"not(:first-child)","not-last":"not(:last-child)",odd:"nth-child(odd)",even:"nth-child(even)",placeholder:"placeholder",file:"file-selector-button",marker:"marker",selection:"selection","first-line":"first-line","first-letter":"first-letter",backdrop:"backdrop","has-checked":"has(:checked)","focus-within":"focus-within",before:"before",after:"after","peer-hover":":hover","peer-focus":":focus","peer-active":":active","peer-invalid":":invalid","peer-checked":":checked","peer-disabled":":disabled","peer-required":":required","peer-read-only":":read-only","peer-indeterminate":":indeterminate","not-hover":"not(:hover)","not-focus":"not(:focus)","not-active":"not(:active)","not-visited":"not(:visited)","not-disabled":"not(:disabled)","not-checked":"not(:checked)","not-focus-visible":"not(:focus-visible)","not-invalid":"not(:invalid)","not-valid":"not(:valid)","not-required":"not(:required)","not-read-only":"not(:read-only)","not-indeterminate":"not(:indeterminate)"},TG=t=>{let e=t.match(/^nth-(\d+)$/);if(e)return`nth-child(${e[1]})`;let i=t.match(/^nth-last-(\d+)$/);if(i)return`nth-last-child(${i[1]})`;let r=t.match(/^nth-of-type-(\d+)$/);if(r)return`nth-of-type(${r[1]})`;let s=t.match(/^nth-last-of-type-(\d+)$/);return s?`nth-last-of-type(${s[1]})`:null},Fi=t=>{let e=TG(t);if(e)return`:${e}`;if(t.startsWith("group-hover/"))return`.group\\/${t.replace("group-hover/","")}:hover`;if(t==="group-hover")return".group:hover";if(t.startsWith("peer-")&&t.includes("/")){let[r,s]=t.split("/"),n=Jr[r]||r.replace("peer-","");return`.peer\\/${s}:${n} ~`}return t.startsWith("peer-")?`.peer:${Jr[t]||t.replace("peer-","")} ~`:`:${Jr[t]||t}`},il=["--uni-blur","--uni-drop-shadow","--uni-brightness","--uni-contrast","--uni-grayscale","--uni-hue-rotate","--uni-invert","--uni-saturate","--uni-sepia"],rl=["--uni-backdrop-blur","--uni-backdrop-brightness","--uni-backdrop-contrast","--uni-backdrop-grayscale","--uni-backdrop-hue-rotate","--uni-backdrop-invert","--uni-backdrop-saturate","--uni-backdrop-opacity","--uni-backdrop-sepia"],Tb=["--uni-shadow","--uni-shadow-color","--uni-inset-shadow","--uni-inset-shadow-color","--uni-ring-shadow","--uni-ring-color","--uni-inset-ring-shadow","--uni-inset-ring-color","--uni-ring-inset"],sl=["--uni-rotate-x","--uni-rotate-y","--uni-rotate-z","--uni-skew-x","--uni-skew-y"],nl=["--uni-scale-x","--uni-scale-y"],al=["--uni-translate-x","--uni-translate-y","--uni-translate-z"],gG=(t,e,i,r,s=null,n=null,a=!1)=>{let l=at(t),c=`.${l}`,o=!1;if(t.includes("space-x-")||t.includes("space-y-")||t.includes("divide-x")||t.includes("divide-y")||t.includes("divide-color-")||t.includes("divide-style-")?(c+=" > :not(:last-child)",o=!0):a&&(c+=" > *"),o&&(c=`:where(${c})`),s&&(s.startsWith("peer-")||s.includes("peer-")))c=`${Fi(s)}${c}`;else if(s){let k=Fi(s);o?c=c.replace(`:where(.${l}`,`:where(.${l}${k.startsWith(":")?k:":"+k}`):c+=k.startsWith(":")?k:`:${k}`}let u=il.includes(i),f=rl.includes(i),d=Tb.includes(i),m=sl.includes(i),S=nl.includes(i),P=al.includes(i),A;typeof r=="object"?A=Object.entries(r).map(([k,D])=>`${k}: ${D}`).join("; "):Array.isArray(i)?A=i.map(k=>`${k}: ${r}`).join("; "):A=`${i}: ${r}`;let C;return u?C=`${c} { ${A}; filter: ${il.map(k=>`var(${k})`).join(" ")}; }`:f?C=`${c} { ${A}; backdrop-filter: ${rl.map(k=>`var(${k})`).join(" ")}; }`:d?C=`${c} { ${A}; box-shadow: var(--uni-inset-shadow, 0 0 #0000), var(--uni-inset-ring-shadow, 0 0 #0000), var(--uni-ring-shadow, 0 0 #0000), var(--uni-shadow, 0 0 #0000); }`:m?C=`${c} { ${A}; transform: ${sl.map(k=>`var(${k})`).join(" ")}; }`:S?C=`${c} { ${A}; scale: ${nl.map(k=>`var(${k})`).join(" ")}; }`:P?C=`${c} { ${A}; translate: ${al.map(k=>`var(${k})`).join(" ")}; }`:C=`${c} { ${A} }`,{selector:c,rule:C,screen:n}},xG=(t,e={})=>{let i=[],r=(o,u,f)=>{i.push({prefix:o,prop:u,transform:f})};["w","min-w","max-w"].forEach(o=>{let u=o.replace("w","width");r(`${o}-[`,u,M),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(S,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let m={full:"100%",screen:"100vw",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return m[f]?m[f]:/^\d+(\.\d+)?$/.test(f)?`calc(0.25rem * ${f})`:`var(--${ht(f)})`})}),["h","min-h","max-h"].forEach(o=>{let u=o.replace("h","height");r(`${o}-[`,u,M),r(`${o}-`,u,f=>{let d=`container-${f}`;if(e[d])return`var(--${d})`;if(/^\d+\/\d+$/.test(f))return f.replace(/^(\d+)\/(\d+)$/,(S,P,A)=>`${parseInt(P,10)/parseInt(A,10)*100}%`);let m={full:"100%",screen:"100vh",dvw:"100dvw",dvh:"100dvh",lvw:"100lvw",lvh:"100lvh",svw:"100svw",svh:"100svh",auto:"auto",px:"1px",min:"min-content",max:"max-content",fit:"fit-content"};return m[f]?m[f]:/^\d+(\.\d+)?$/.test(f)?`calc(0.25rem * ${f})`:`var(--${ht(f)})`})}),[["p","padding"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"],["px","padding-inline"],["py","padding-block"],["m","margin"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,M),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":Tt(f))}),r("mx-[",["margin-left","margin-right"],M),r("mx-",["margin-left","margin-right"],o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("my-[",["margin-top","margin-bottom"],M),r("my-",["margin-top","margin-bottom"],o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("-m-","margin",o=>o==="px"?"-1px":Ve(o)),r("-mt-","margin-top",o=>o==="px"?"-1px":Ve(o)),r("-mr-","margin-right",o=>o==="px"?"-1px":Ve(o)),r("-mb-","margin-bottom",o=>o==="px"?"-1px":Ve(o)),r("-ml-","margin-left",o=>o==="px"?"-1px":Ve(o)),r("-mx-",["margin-left","margin-right"],o=>o==="px"?"-1px":Ve(o)),r("-my-",["margin-top","margin-bottom"],o=>o==="px"?"-1px":Ve(o)),["top","right","bottom","left"].forEach(o=>{r(`${o}-[`,o,M),r(`${o}-`,o,u=>u==="auto"?"auto":u==="px"?"1px":u==="full"?"100%":Tt(u)),r(`-${o}-[`,o,u=>`-${M(u)}`),r(`-${o}-`,o,u=>u==="px"?"-1px":u==="full"?"-100%":Ve(u))}),r("gap-x-[","column-gap",M),r("gap-x-","column-gap",o=>o==="px"?"1px":/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("gap-y-[","row-gap",M),r("gap-y-","row-gap",o=>o==="px"?"1px":/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("gap-[","gap",M),r("gap-","gap",o=>o==="px"?"1px":/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("inset-x-[","inset-inline",M),r("inset-x-","inset-inline",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":Tt(o)),r("-inset-x-[","inset-inline",o=>`-${M(o)}`),r("-inset-x-","inset-inline",Ve),r("inset-y-[","inset-block",M),r("inset-y-","inset-block",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":Tt(o)),r("-inset-y-[","inset-block",o=>`-${M(o)}`),r("-inset-y-","inset-block",Ve),r("inset-[","inset",M),r("inset-","inset",o=>o==="auto"?"auto":o==="px"?"1px":o==="full"?"100%":Tt(o)),r("-inset-[","inset",o=>`-${M(o)}`),r("-inset-","inset",Ve),r("z-","z-index",M),r("-z-","z-index",o=>`-${o}`),r("flex-[","flex",M),r("flex-row-reverse","flex-direction",()=>"row-reverse"),r("flex-col-reverse","flex-direction",()=>"column-reverse"),r("flex-row","flex-direction",()=>"row"),r("flex-col","flex-direction",()=>"column"),r("flex-wrap-reverse","flex-wrap",()=>"wrap-reverse"),r("flex-wrap","flex-wrap",()=>"wrap"),r("flex-nowrap","flex-wrap",()=>"nowrap"),r("flex-","flex",M),r("grow-","flex-grow",M),r("shrink-","flex-shrink",M),r("basis-[","flex-basis",M),r("basis-","flex-basis",o=>{if(o==="auto")return"auto";if(o==="px")return"1px";if(o==="full")return"100%";let u=`container-${o}`;return e[u]?`var(--${u})`:Tt(o)}),r("order-first","order",()=>"-999999"),r("order-last","order",()=>"999999"),r("order-","order",M),r("-order-","order",o=>`-${o}`),[["auto",{width:"auto",height:"auto"}],["px",{width:"1px",height:"1px"}],["full",{width:"100%",height:"100%"}],["dvw",{width:"100dvw",height:"100dvw"}],["dvh",{width:"100dvh",height:"100dvh"}],["lvw",{width:"100lvw",height:"100lvw"}],["lvh",{width:"100lvh",height:"100lvh"}],["svw",{width:"100svw",height:"100svw"}],["svh",{width:"100svh",height:"100svh"}],["min",{width:"min-content",height:"min-content"}],["max",{width:"max-content",height:"max-content"}],["fit",{width:"fit-content",height:"fit-content"}]].forEach(([o,u])=>{r(`size-${o}`,null,()=>u)}),r("size-[",["width","height"],M),r("size-",["width","height"],Tt),r("aspect-[","aspect-ratio",M),r("aspect-","aspect-ratio",o=>/^\d+\/\d+$/.test(o)?o:{auto:"auto",square:"1/1",video:"16/9"}[o]||o),[["scroll-m","scroll-margin"],["scroll-mt","scroll-margin-top"],["scroll-mr","scroll-margin-right"],["scroll-mb","scroll-margin-bottom"],["scroll-ml","scroll-margin-left"]].forEach(([o,u])=>{r(`${o}-[`,u,M),r(`${o}-`,u,f=>f==="auto"?"auto":f==="px"?"1px":Tt(f))}),r("scroll-mx-[","scroll-margin-inline",M),r("scroll-mx-","scroll-margin-inline",o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("scroll-my-[","scroll-margin-block",M),r("scroll-my-","scroll-margin-block",o=>o==="auto"?"auto":o==="px"?"1px":Tt(o)),r("-scroll-m-[","scroll-margin",o=>`-${M(o)}`),r("-scroll-m-","scroll-margin",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mt-[","scroll-margin-top",o=>`-${M(o)}`),r("-scroll-mt-","scroll-margin-top",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mr-[","scroll-margin-right",o=>`-${M(o)}`),r("-scroll-mr-","scroll-margin-right",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mb-[","scroll-margin-bottom",o=>`-${M(o)}`),r("-scroll-mb-","scroll-margin-bottom",o=>o==="px"?"-1px":Ve(o)),r("-scroll-ml-[","scroll-margin-left",o=>`-${M(o)}`),r("-scroll-ml-","scroll-margin-left",o=>o==="px"?"-1px":Ve(o)),r("-scroll-mx-[","scroll-margin-inline",o=>`-${M(o)}`),r("-scroll-mx-","scroll-margin-inline",o=>o==="px"?"-1px":Ve(o)),r("-scroll-my-[","scroll-margin-block",o=>`-${M(o)}`),r("-scroll-my-","scroll-margin-block",o=>o==="px"?"-1px":Ve(o)),[["scroll-p","scroll-padding"],["scroll-pt","scroll-padding-top"],["scroll-pr","scroll-padding-right"],["scroll-pb","scroll-padding-bottom"],["scroll-pl","scroll-padding-left"]].forEach(([o,u])=>{r(`${o}-[`,u,M),r(`${o}-`,u,f=>f==="px"?"1px":Tt(f))}),r("scroll-px-[","scroll-padding-inline",M),r("scroll-px-","scroll-padding-inline",o=>o==="px"?"1px":Tt(o)),r("scroll-py-[","scroll-padding-block",M),r("scroll-py-","scroll-padding-block",o=>o==="px"?"1px":Tt(o)),r("-scroll-p-[","scroll-padding",o=>`-${M(o)}`),r("-scroll-p-","scroll-padding",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pt-[","scroll-padding-top",o=>`-${M(o)}`),r("-scroll-pt-","scroll-padding-top",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pr-[","scroll-padding-right",o=>`-${M(o)}`),r("-scroll-pr-","scroll-padding-right",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pb-[","scroll-padding-bottom",o=>`-${M(o)}`),r("-scroll-pb-","scroll-padding-bottom",o=>o==="px"?"-1px":Ve(o)),r("-scroll-pl-[","scroll-padding-left",o=>`-${M(o)}`),r("-scroll-pl-","scroll-padding-left",o=>o==="px"?"-1px":Ve(o)),r("-scroll-px-[","scroll-padding-inline",o=>`-${M(o)}`),r("-scroll-px-","scroll-padding-inline",o=>o==="px"?"-1px":Ve(o)),r("-scroll-py-[","scroll-padding-block",o=>`-${M(o)}`),r("-scroll-py-","scroll-padding-block",o=>o==="px"?"-1px":Ve(o)),r("font-[","font-weight",M),r("font-family-[","font-family",o=>{let u=M(o);return u.startsWith('"')||u.startsWith("'")?u:`"${u}"`}),r("tracking-[","letter-spacing",M),r("leading-[","line-height",M),r("leading-","line-height",o=>/^\d+$/.test(o)||/^\d*\.\d+$/.test(o)?`calc(var(--1) * ${o})`:null),r("indent-[","text-indent",M),r("indent-","text-indent",o=>`var(--${ht(o)})`),r("-indent-","text-indent",o=>`calc(-1 * var(--${ht(o)}))`),r("align-[","vertical-align",M),r("text-shadow-color-[",null,o=>({"--uni-text-shadow-color":ke(o)})),r("text-shadow-color-",null,o=>({"--uni-text-shadow-color":ke(o)})),r("text-shadow-[","text-shadow",M),r("text-color-[","color",ke),r("text-color-","color",ke),r("text-[","font-size",M),r("text-",null,function(o){if(o.startsWith("color-"))return{color:ke(o.replace("color-",""))};let u=o.match(/^([a-z0-9\[\]\-\.]+)\/([a-z0-9\[\]\-\.]+)$/i);if(u){let[,f,d]=u;if(!f.startsWith("color-"))return{"font-size":t[f]?`var(--${ht(f)})`:`var(--text-${f})`,"line-height":t[d]?`var(--${ht(d)})`:`var(--line-${d})`}}return t[o]?{"font-size":`var(--${ht(o)})`}:{"font-size":`var(--text-${o})`}}),r("decoration-color-[","text-decoration-color",ke),r("decoration-color-","text-decoration-color",ke),r("decoration-thick-[","text-decoration-thickness",M),r("decoration-thick-","text-decoration-thickness",o=>o==="auto"?"auto":o==="from-font"?"from-font":/^\d+$/.test(o)?`${o}px`:`var(--${ht(o)})`),r("underline-offset-[","text-underline-offset",M),r("underline-offset-","text-underline-offset",o=>o==="auto"?"auto":/^\d+$/.test(o)?`${o}px`:`var(--${ht(o)})`),r("-underline-offset-[","text-underline-offset",o=>`-${M(o)}`),r("-underline-offset-","text-underline-offset",o=>/^\d+$/.test(o)?`-${o}px`:`calc(-1 * var(--${ht(o)}))`),r("bg-color-[","background-color",ke),r("bg-color-","background-color",ke),r("bg-image-[","background-image",o=>M(o,"bg-image")),r("bg-position-[","background-position",M),r("bg-size-[","background-size",M),r("bg-gradient-[","background-image",o=>M(o).replace(/color-([a-zA-Z0-9\-]+(?:\/[0-9]+)?)/g,(u,f)=>ke(f))),r("list-image-[","list-style-image",o=>M(o,"list-image")),r("mask-image-[",null,o=>({"mask-image":M(o,"mask-image"),"-webkit-mask-image":M(o,"mask-image")})),r("mask-position-[",null,o=>({"mask-position":M(o),"-webkit-mask-position":M(o)})),r("mask-size-[",null,o=>({"mask-size":M(o),"-webkit-mask-size":M(o)})),r("border-style-",null,o=>({"--uni-border-style":o,"border-style":"var(--uni-border-style)"})),r("border-spacing-x-[",null,o=>({"--uni-border-spacing-x":M(o),"border-spacing":`var(--uni-border-spacing-x, ${M(o)}) var(--uni-border-spacing-y, 0)`})),r("border-spacing-x-",null,o=>({"--uni-border-spacing-x":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, ${o}px) var(--uni-border-spacing-y, 0)`})),r("border-spacing-y-[",null,o=>({"--uni-border-spacing-y":M(o),"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${M(o)})`})),r("border-spacing-y-",null,o=>({"--uni-border-spacing-y":`${o}px`,"border-spacing":`var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y, ${o}px)`})),r("border-spacing-[","border-spacing",M),r("border-spacing-","border-spacing",o=>`${o}px`),r("border-color-[","border-color",ke),r("border-color-","border-color",ke),["t","r","b","l","x","y"].forEach(o=>{let u={t:"border-top-color",r:"border-right-color",b:"border-bottom-color",l:"border-left-color",x:"border-inline-color",y:"border-block-color"};r(`border-${o}-color-[`,u[o],ke),r(`border-${o}-color-`,u[o],ke)}),r("border-x-",null,o=>({"border-inline-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-y-",null,o=>({"border-block-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-t-",null,o=>({"border-top-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-r-",null,o=>({"border-right-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-b-",null,o=>({"border-bottom-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-l-",null,o=>({"border-left-width":`${o}px`,"border-style":"var(--uni-border-style)"})),r("border-[",null,o=>({"border-width":M(o),"border-style":"var(--uni-border-style)"})),r("border-",null,o=>/^\d+$/.test(o)||/^\d+(px|rem|em|%)$/.test(o)?{"border-width":`${o}px`,"border-style":"var(--uni-border-style)"}:{});let c=["xs","sm","md","lg","xl","2xl","3xl","4xl","none","full"];return c.forEach(o=>{let u=o==="none"?"0":o==="full"?"999999px":`var(--radius-${o})`;r(`rounded-${o}`,"border-radius",()=>u)}),r("rounded-[","border-radius",M),["t","r","b","l","tl","tr","br","bl"].forEach(o=>{let u={t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-right","bottom-left"],l:["top-left","bottom-left"],tl:["top-left"],tr:["top-right"],br:["bottom-right"],bl:["bottom-left"]};c.forEach(f=>{let d=f==="none"?"0":f==="full"?"999999px":`var(--radius-${f})`,m={};u[o].forEach(S=>{m[`border-${S}-radius`]=d}),r(`rounded-${o}-${f}`,null,()=>m)})}),r("shadow-[","--uni-shadow",M),r("shadow-inset-[","--uni-inset-shadow",M),r("shadow-color-[",null,o=>({"--uni-shadow-color":ke(o)})),r("shadow-color-",null,o=>({"--uni-shadow-color":ke(o)})),r("shadow-inset-color-[",null,o=>({"--uni-inset-shadow-color":ke(o)})),r("shadow-inset-color-",null,o=>({"--uni-inset-shadow-color":ke(o)})),r("ring-inset-color-[","--uni-inset-ring-color",ke),r("ring-inset-color-","--uni-inset-ring-color",ke),r("ring-inset-[","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${M(o)} var(--uni-inset-ring-color, currentColor)`),r("ring-inset-","--uni-inset-ring-shadow",o=>`inset 0 0 0 ${o}px var(--uni-inset-ring-color, currentColor)`),r("ring-inset","--uni-inset-ring-shadow",()=>"inset 0 0 0 1px var(--uni-inset-ring-color, currentColor)"),r("ring-color-[","--uni-ring-color",ke),r("ring-color-","--uni-ring-color",ke),r("ring-[","--uni-ring-shadow",o=>`0 0 0 ${M(o)} var(--uni-ring-color, currentColor)`),r("ring-","--uni-ring-shadow",o=>`0 0 0 ${o}px var(--uni-ring-color, currentColor)`),r("ring","--uni-ring-shadow",()=>"0 0 0 1px var(--uni-ring-color, currentColor)"),r("blur-[","--uni-blur",o=>`blur(${M(o)})`),r("blur-","--uni-blur",o=>`blur(var(--blur-${o}))`),r("brightness-","--uni-brightness",o=>`brightness(${M(o)}%)`),r("contrast-","--uni-contrast",o=>`contrast(${M(o)}%)`),r("drop-shadow-[","--uni-drop-shadow",o=>`drop-shadow(${M(o)})`),r("drop-shadow-color-[",null,o=>({"--uni-drop-shadow-color":ke(o)})),r("drop-shadow-color-",null,o=>({"--uni-drop-shadow-color":ke(o)})),r("grayscale-","--uni-grayscale",o=>`grayscale(${M(o)}%)`),r("grayscale","--uni-grayscale",()=>"grayscale(100%)"),r("hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(${M(o)}deg)`),r("-hue-rotate-","--uni-hue-rotate",o=>`hue-rotate(calc(${M(o)}deg * -1))`),r("invert-","--uni-invert",o=>`invert(${M(o)}%)`),r("invert","--uni-invert",()=>"invert(100%)"),r("saturate-","--uni-saturate",o=>`saturate(${M(o)}%)`),r("sepia-","--uni-sepia",o=>`sepia(${M(o)}%)`),r("sepia","--uni-sepia",()=>"sepia(100%)"),r("backdrop-blur-[","--uni-backdrop-blur",o=>`blur(${M(o)})`),r("backdrop-blur-","--uni-backdrop-blur",o=>`blur(var(--blur-${o}))`),r("backdrop-brightness-","--uni-backdrop-brightness",o=>`brightness(${M(o)}%)`),r("backdrop-contrast-","--uni-backdrop-contrast",o=>`contrast(${M(o)}%)`),r("backdrop-grayscale-","--uni-backdrop-grayscale",o=>`grayscale(${M(o)}%)`),r("backdrop-grayscale","--uni-backdrop-grayscale",()=>"grayscale(100%)"),r("backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(${M(o)}deg)`),r("-backdrop-hue-rotate-","--uni-backdrop-hue-rotate",o=>`hue-rotate(calc(${M(o)}deg * -1))`),r("backdrop-invert-","--uni-backdrop-invert",o=>`invert(${M(o)}%)`),r("backdrop-invert","--uni-backdrop-invert",()=>"invert(100%)"),r("backdrop-opacity-","--uni-backdrop-opacity",o=>`opacity(${M(o)}%)`),r("backdrop-saturate-","--uni-backdrop-saturate",o=>`saturate(${M(o)}%)`),r("backdrop-sepia-","--uni-backdrop-sepia",o=>`sepia(${M(o)}%)`),r("backdrop-sepia","--uni-backdrop-sepia",()=>"sepia(100%)"),r("opacity-","opacity",function(o){if(/^\d+$/.test(o)){let u=parseInt(o,10);if(u>=0&&u<=100)return(u/100).toString()}return M(o)}),r("duration-",null,o=>({"--uni-transition-duration":`${M(o)}ms`,"transition-duration":"var(--uni-transition-duration, 150ms)"})),r("ease-[",null,o=>({"--uni-transition-timing-function":M(o),"transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"})),r("delay-",null,o=>({"--uni-transition-delay":`${M(o)}ms`,"transition-delay":"var(--uni-transition-delay, 0ms)"})),r("transition-",null,o=>{let u=M(o);return u==="colors"?u="color, background-color, border-color, text-decoration-color, fill, stroke":u==="opacity"?u="opacity":u==="shadow"?u="box-shadow":u==="transform"?u="transform":u==="all"?u="all":u==="none"&&(u="none"),{"--uni-transition-property":u,"transition-property":"var(--uni-transition-property, all)","transition-duration":"var(--uni-transition-duration, 150ms)","transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"}}),r("transition",null,()=>({"--uni-transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-property":"var(--uni-transition-property, all)","transition-duration":"var(--uni-transition-duration, 150ms)","transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"})),r("animate-[","animation",M),r("animate-spin","animation",()=>"var(--animate-spin)"),r("animate-ping","animation",()=>"var(--animate-ping)"),r("animate-pulse","animation",()=>"var(--animate-pulse)"),r("animate-bounce","animation",()=>"var(--animate-bounce)"),r("animate-none","animation",()=>"none"),r("iteration-","animation-iteration-count",M),r("will-change-[","will-change",M),r("perspective-origin-[","perspective-origin",M),r("perspective-[","perspective",M),r("rotate-[","rotate",M),r("rotate-x-","--uni-rotate-x",o=>`rotateX(${o}deg)`),r("rotate-y-","--uni-rotate-y",o=>`rotateY(${o}deg)`),r("rotate-z-","--uni-rotate-z",o=>`rotateZ(${o}deg)`),r("-rotate-x-","--uni-rotate-x",o=>`rotateX(calc(${o}deg * -1))`),r("-rotate-y-","--uni-rotate-y",o=>`rotateY(calc(${o}deg * -1))`),r("-rotate-z-","--uni-rotate-z",o=>`rotateZ(calc(${o}deg * -1))`),r("rotate-","rotate",o=>`${M(o)}deg`),r("-rotate-","rotate",o=>`calc(${M(o)}deg * -1)`),r("scale-x-","--uni-scale-x",o=>`${o}%`),r("scale-y-","--uni-scale-y",o=>`${o}%`),r("-scale-x-","--uni-scale-x",o=>`calc(${o}% * -1)`),r("-scale-y-","--uni-scale-y",o=>`calc(${o}% * -1)`),r("scale-","scale",o=>`${M(o)}%`),r("-scale-","scale",o=>`calc(${M(o)}% * -1)`),r("skew-x-","--uni-skew-x",o=>`skewX(${o}deg)`),r("skew-y-","--uni-skew-y",o=>`skewY(${o}deg)`),r("-skew-x-","--uni-skew-x",o=>`skewX(calc(${o}deg * -1))`),r("-skew-y-","--uni-skew-y",o=>`skewY(calc(${o}deg * -1))`),r("skew-","transform",o=>`skewX(${o}deg) skewY(${o}deg)`),r("-skew-","transform",o=>`skewX(-${o}deg) skewY(-${o}deg)`),r("origin-[","transform-origin",M),r("translate-[","translate",M),r("translate-x-[","--uni-translate-x",M),r("translate-y-[","--uni-translate-y",M),r("translate-x-","--uni-translate-x",Tt),r("translate-y-","--uni-translate-y",Tt),r("translate-z-","--uni-translate-z",Tt),r("-translate-x-","--uni-translate-x",Ve),r("-translate-y-","--uni-translate-y",Ve),r("-translate-z-","--uni-translate-z",Ve),r("translate-","translate",mG),r("-translate-","translate",yG),r("grid-columns-[","grid-template-columns",M),r("grid-columns-","grid-template-columns",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("col-start-","grid-column-start",M),r("-col-start-","grid-column-start",o=>`calc(${M(o)} * -1)`),r("col-end-","grid-column-end",M),r("-col-end-","grid-column-end",o=>`calc(${M(o)} * -1)`),r("col-span-","grid-column",o=>o==="full"?"1 / -1":`span ${M(o)} / span ${M(o)}`),r("col-[","grid-column",M),r("grid-rows-[","grid-template-rows",M),r("grid-rows-","grid-template-rows",o=>/^\d+$/.test(o)?`repeat(${o}, minmax(0, 1fr))`:o),r("row-start-","grid-row-start",M),r("-row-start-","grid-row-start",o=>`calc(${M(o)} * -1)`),r("row-end-","grid-row-end",M),r("-row-end-","grid-row-end",o=>`calc(${M(o)} * -1)`),r("row-span-","grid-row",o=>o==="full"?"1 / -1":`span ${M(o)} / span ${M(o)}`),r("row-[","grid-row",M),r("auto-columns-[","grid-auto-columns",M),r("auto-rows-[","grid-auto-rows",M),r("space-x-[","margin-right",M),r("space-x-","margin-right",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("-space-x-[","margin-right",o=>`calc(${M(o)} * -1)`),r("-space-x-","margin-right",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:/^\d+(\.\d+)?$/.test(o)?`calc(-0.25rem * ${o})`:`calc(var(--${ht(o)}) * -1)`),r("space-y-[","margin-bottom",M),r("space-y-","margin-bottom",o=>o==="px"?"1px":/^\d+\/\d+$/.test(o)?o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`):/^\d+(\.\d+)?$/.test(o)?`calc(0.25rem * ${o})`:`var(--${ht(o)})`),r("-space-y-[","margin-bottom",o=>`calc(${M(o)} * -1)`),r("-space-y-","margin-bottom",o=>o==="px"?"-1px":/^\d+\/\d+$/.test(o)?`-${o.replace(/^(\d+)\/(\d+)$/,(u,f,d)=>`${parseInt(f,10)/parseInt(d,10)*100}%`)}`:/^\d+(\.\d+)?$/.test(o)?`calc(-0.25rem * ${o})`:`calc(var(--${ht(o)}) * -1)`),r("divide-x-[",null,o=>({"border-right-width":M(o),"border-right-style":"solid"})),r("divide-x-",null,o=>/^\d+$/.test(o)?{"border-right-width":`${o}px`,"border-right-style":"solid"}:{"border-right-width":o,"border-right-style":"solid"}),r("divide-x",null,()=>({"border-right-width":"1px","border-right-style":"solid"})),r("divide-y-[",null,o=>({"border-bottom-width":M(o),"border-bottom-style":"solid"})),r("divide-y-",null,o=>/^\d+$/.test(o)?{"border-bottom-width":`${o}px`,"border-bottom-style":"solid"}:{"border-bottom-width":o,"border-bottom-style":"solid"}),r("divide-y",null,()=>({"border-bottom-width":"1px","border-bottom-style":"solid"})),r("divide-style-","border-style",o=>o),r("divide-color-[","border-color",ke),r("divide-color-","border-color",ke),r("columns-","columns",o=>/^\d+$/.test(o)?o:["3xs","2xs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl"].includes(o)?`var(--container-${o})`:M(o)),r("scrollbar-[","scrollbar-color",o=>M(o).replace(/color-([a-zA-Z0-9\-]+)/g,(u,f)=>`var(--color-${f})`)),r("object-[","object-position",M),r("caret-color-[","caret-color",ke),r("caret-color-","caret-color",ke),r("accent-color-[","accent-color",ke),r("accent-color-","accent-color",ke),r("outline-offset-[","outline-offset",M),r("outline-style-",null,o=>({"--uni-outline-style":o,"outline-style":"var(--uni-outline-style)"})),r("outline-color-[","outline-color",ke),r("outline-color-","outline-color",ke),r("outline-[",null,o=>({"outline-width":M(o),"outline-style":"var(--uni-outline-style)"})),r("outline-offset-","outline-offset",o=>`${o}px`),r("-outline-offset-","outline-offset",o=>`-${o}px`),r("outline-",null,o=>o.startsWith("offset")?{}:{"outline-width":/^\d+$/.test(o)?`${o}px`:o,"outline-style":"var(--uni-outline-style)"}),r("fill-color-[","fill",ke),r("fill-color-","fill",ke),r("stroke-color-[","stroke",ke),r("stroke-color-","stroke",ke),r("stroke-[","stroke-width",M),r("stroke-","stroke-width",o=>/^\d+$/.test(o)?`${o}px`:M(o)),r("content-[","content",o=>{let u=M(o);return u.startsWith("'")||u.startsWith('"')?u:`"${u}"`}),r("line-clamp-",null,o=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":o.replace("/","")})),r("line-clamp-none",null,()=>({overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"})),r("truncate",null,()=>({overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"})),r("sr-only",null,()=>({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap","border-width":"0"})),r("not-sr-only",null,()=>({position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"})),i},bG=()=>`
57
57
  *,::after,::before,::backdrop,::file-selector-button {margin: 0; padding: 0; box-sizing: border-box; border: 0 solid; outline: 0 solid;}
58
58
  h1,h2,h3,h4,h5,h6 {font-size: inherit;font-weight: inherit;}
59
59
  ol,ul,menu {list-style: none;}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unizap/unicss",
3
- "version": "2.0.16",
3
+ "version": "2.0.18",
4
4
  "description": "Unicss: Build sleek interfaces straight from your markup. Fast, modern, utility-first CSS framework for rapid UI development.",
5
5
  "main": "dist/index.js",
6
6
  "unpkg": "dist/unicss.min.js",