vite-plugin-vue-devtools 7.0.24 → 7.0.26

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.
@@ -0,0 +1 @@
1
+ const e=Object.freeze({displayName:"Shell",name:"shellscript",patterns:[{include:"#initial_context"}],repository:{alias_statement:{begin:"(?:(alias)(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*))(?:(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))))",beginCaptures:{1:{name:"storage.type.alias.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"storage.modifier.$4.shell"},5:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},6:{name:"string.unquoted.argument.shell constant.other.option.shell"},7:{name:"variable.other.assignment.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"variable.other.assignment.shell"},10:{name:"constant.numeric.shell constant.numeric.integer.shell"},11:{name:"punctuation.definition.array.access.shell"},12:{name:"keyword.operator.assignment.shell"},13:{name:"keyword.operator.assignment.compound.shell"},14:{name:"keyword.operator.assignment.compound.shell"}},end:"(?:(?= |\\t|$)|(?:(?:(?:(;)|(&&))|(\\|\\|))|(&)))",endCaptures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.shell",patterns:[{include:"#normal_statement_context"}]},argument:{begin:"(?:[ \\t]++)(?!(?:&|\\||\\(|\\[|#|\\n|$|;))",beginCaptures:{},end:"(?= |\\t|;|\\||&|$|\\n|\\)|\\`)",endCaptures:{},name:"meta.argument.shell",patterns:[{include:"#argument_context"},{include:"#line_continuation"}]},argument_context:{patterns:[{captures:{1:{name:"string.unquoted.argument.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:"(?:[ \\t]*+)((?:[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+)(?!>))"},{include:"#normal_statement_context"}]},array_value:{begin:"(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))(?:[ \\t]*+)(\\()",beginCaptures:{1:{name:"storage.modifier.$1.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"variable.other.assignment.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"variable.other.assignment.shell"},7:{name:"constant.numeric.shell constant.numeric.integer.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"keyword.operator.assignment.shell"},10:{name:"keyword.operator.assignment.compound.shell"},11:{name:"keyword.operator.assignment.compound.shell"},12:{name:"punctuation.definition.array.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.array.shell"}},patterns:[{include:"#comment"},{captures:{1:{name:"punctuation.definition.bracket.shell"},2:{name:"string.unquoted.shell entity.other.attribute-name.shell"},3:{name:"punctuation.definition.bracket.shell"},4:{name:"punctuation.definition.assignment.shell"}},match:"(?:(\\[)(.+?)(\\])(\\=))"},{include:"#normal_statement_context"},{include:"#simple_unquoted"}]},assignment:{patterns:[{include:"#array_value"},{begin:"(?:[ \\t]*+)(?:(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))(?:[ \\t]*+)((?:(?:((?<!\\w)-\\w+\\b)(?:[ \\t]*+))*)))?)(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?))(?:(?:(\\=)|(\\+\\=))|(\\-\\=))",beginCaptures:{1:{name:"storage.modifier.$1.shell"},2:{patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"}]},3:{name:"string.unquoted.argument.shell constant.other.option.shell"},4:{name:"variable.other.assignment.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"variable.other.assignment.shell"},7:{name:"constant.numeric.shell constant.numeric.integer.shell"},8:{name:"punctuation.definition.array.access.shell"},9:{name:"keyword.operator.assignment.shell"},10:{name:"keyword.operator.assignment.compound.shell"},11:{name:"keyword.operator.assignment.compound.shell"}},end:"(?:(?= |\\t|$)|(?:(?:(?:(;)|(&&))|(\\|\\|))|(&)))",endCaptures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},name:"meta.expression.assignment.shell",patterns:[{include:"#comment"},{include:"#argument_context"}]}]},basic_command_name:{captures:{1:{name:"storage.modifier.$1.shell"},2:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"(?<!\\w)(?:continue|return|break)(?!\\w)",name:"keyword.control.$0.shell"},{match:"(?<!\\w)(?:(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|:|\\.)(?!\\/))(?!\\w)",name:"support.function.builtin.shell"},{include:"#variable"}]}},match:`(?:(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/)))(?:((?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$))|((?!"|'|\\\\\\n?$)(?:[^!'" \\t\\n\\r]+?)))(?:(?= |\\t)|(?:(?=;|\\||&|\\n|\\)|\\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\))))`,name:"meta.statement.command.name.basic.shell"},block_comment:{begin:"(?:(?:\\s*+)(\\/\\*))",beginCaptures:{1:{name:"punctuation.definition.comment.begin.shell"}},end:"\\*\\/",endCaptures:{0:{name:"punctuation.definition.comment.end.shell"}},name:"comment.block.shell"},boolean:{match:"\\b(?:true|false)\\b",name:"constant.language.$0.shell"},case_statement:{begin:"(?:(\\bcase\\b)(?:[ \\t]*+)(.+)(?:[ \\t]*+)(\\bin\\b))",beginCaptures:{1:{name:"keyword.control.case.shell"},2:{patterns:[{include:"#initial_context"}]},3:{name:"keyword.control.in.shell"}},end:"\\besac\\b",endCaptures:{0:{name:"keyword.control.esac.shell"}},name:"meta.case.shell",patterns:[{include:"#comment"},{captures:{1:{name:"keyword.operator.pattern.case.default.shell"}},match:"(?:[ \\t]*+)(\\* *\\))"},{begin:"(?<!\\))(?!(?:[ \\t]*+)(?:esac\\b|$))",beginCaptures:{},end:"(?:(?=\\besac\\b)|(\\)))",endCaptures:{1:{name:"keyword.operator.pattern.case.shell"}},name:"meta.case.entry.pattern.shell",patterns:[{include:"#case_statement_context"}]},{begin:"(?<=\\))",beginCaptures:{},end:"(?:(;;)|(?=\\besac\\b))",endCaptures:{1:{name:"punctuation.terminator.statement.case.shell"}},name:"meta.case.entry.body.shell",patterns:[{include:"#normal_statement_inner"},{include:"#initial_context"}]}]},case_statement_context:{patterns:[{match:"\\*",name:"variable.language.special.quantifier.star.shell keyword.operator.quantifier.star.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"\\+",name:"variable.language.special.quantifier.plus.shell keyword.operator.quantifier.plus.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"\\?",name:"variable.language.special.quantifier.question.shell keyword.operator.quantifier.question.shell punctuation.definition.arbitrary-repetition.shell punctuation.definition.regex.arbitrary-repetition.shell"},{match:"@",name:"variable.language.special.at.shell keyword.operator.at.shell punctuation.definition.regex.at.shell"},{match:"\\|",name:"keyword.operator.orvariable.language.special.or.shell keyword.operator.alternation.ruby.shell punctuation.definition.regex.alternation.shell punctuation.separator.regex.alternation.shell"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.definition.regex.group.shell"}},name:"meta.parenthese.shell",patterns:[{include:"#case_statement_context"}]},{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.character-class.shell"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.character-class.shell"}},name:"string.regexp.character-class.shell",patterns:[{match:"\\\\.",name:"constant.character.escape.shell"}]},{include:"#string"},{match:"[^) \\t\\n\\[\\?\\*\\|\\@]",name:"string.unquoted.pattern.shell string.regexp.unquoted.shell"}]},comment:{captures:{1:{name:"comment.line.number-sign.shell meta.shebang.shell"},2:{name:"punctuation.definition.comment.shebang.shell"},3:{name:"comment.line.number-sign.shell"},4:{name:"punctuation.definition.comment.shell"}},match:"(?:(?:^|(?:[ \\t]++))(?:((?:(#!)(?:.*)))|((?:(#)(?:.*)))))"},comments:{patterns:[{include:"#block_comment"},{include:"#line_comment"}]},"compound-command":{patterns:[{begin:"\\[{1,2}",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]{1,2}",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical-expression"},{include:"#initial_context"}]},{captures:{1:{name:"punctuation.definition.evaluation.arithmetic.begin.shell"},2:{name:"string.other.math.shell",patterns:[{include:"#math"}]},3:{name:"punctuation.definition.evaluation.arithmetic.end.shell"}},match:"(\\$\\({2})(.+)(\\)\\s*\\))"},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.subshell.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.subshell.shell"}},name:"meta.scope.subshell.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=\\s|^){(?=\\s|$)",beginCaptures:{0:{name:"punctuation.definition.group.shell"}},end:"(?<=^|;)\\s*(})",endCaptures:{1:{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},continuation_of_double_quoted_command_name:{begin:'(?:\\G(?<="))',beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.double entity.name.function.call entity.name.command",end:'"',endCaptures:{0:{name:"string.quoted.double.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}},patterns:[{match:'\\\\[\\$\\n`"\\\\]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},continuation_of_single_quoted_command_name:{begin:"(?:\\G(?<='))",beginCaptures:{},contentName:"meta.statement.command.name.continuation string.quoted.single entity.name.function.call entity.name.command",end:"'",endCaptures:{0:{name:"string.quoted.single.shell punctuation.definition.string.end.shell entity.name.function.call.shell entity.name.command.shell"}}},custom_command_names:{patterns:[]},custom_commands:{patterns:[]},double_quote_context:{patterns:[{match:'\\\\[\\$`"\\\\\\n]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},double_quote_escape_char:{match:'\\\\[\\$`"\\\\\\n]',name:"constant.character.escape.shell"},function_definition:{applyEndPatternLast:1,begin:`(?:[ \\t]*+)(?:(?:(\\bfunction\\b)(?:[ \\t]*+)([^ \\t\\n\\r\\(\\)="']+)(?:(?:(\\()(?:[ \\t]*+)(\\)))?))|(?:([^ \\t\\n\\r\\(\\)="']+)(?:[ \\t]*+)(\\()(?:[ \\t]*+)(\\))))`,beginCaptures:{1:{name:"storage.type.function.shell"},2:{name:"entity.name.function.shell"},3:{name:"punctuation.definition.arguments.shell"},4:{name:"punctuation.definition.arguments.shell"},5:{name:"entity.name.function.shell"},6:{name:"punctuation.definition.arguments.shell"},7:{name:"punctuation.definition.arguments.shell"}},end:"(?<=\\}|\\))",endCaptures:{},name:"meta.function.shell",patterns:[{match:"(?:\\G(?:\\t| |\\n))"},{begin:"\\{",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{begin:"\\(",beginCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.group.shell punctuation.section.function.definition.shell"}},name:"meta.function.body.shell",patterns:[{include:"#initial_context"}]},{include:"#initial_context"}]},heredoc:{patterns:[{begin:`(?:((?<!<)(?:<<-))(?:[ \\t]*+)("|')(?:[ \\t]*+)([^"']+?)(?=\\s|;|&|<|"|')(?:\\2)(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{},3:{name:"punctuation.definition.string.heredoc.shell"},4:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.quoted.heredoc.indent",end:"(?:(?:^\\t*)(?:\\3)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[]},{begin:`(?:((?<!<)(?:<<)(?!<))(?:[ \\t]*+)("|')(?:[ \\t]*+)([^"']+?)(?=\\s|;|&|<|"|')(?:\\2)(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{},3:{name:"punctuation.definition.string.heredoc.shell"},4:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.quoted.heredoc.no-indent",end:"(?:^(?:\\3)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[]},{begin:`(?:((?<!<)(?:<<-))(?:[ \\t]*+)([^"' \\t]+)(?=\\s|;|&|<|"|')(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{name:"punctuation.definition.string.heredoc.shell"},3:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.unquoted.heredoc.indent",end:"(?:(?:^\\t*)(?:\\2)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]},{begin:`(?:((?<!<)(?:<<)(?!<))(?:[ \\t]*+)([^"' \\t]+)(?=\\s|;|&|<|"|')(.*))`,beginCaptures:{1:{name:"keyword.operator.heredoc.shell"},2:{name:"punctuation.definition.string.heredoc.shell"},3:{patterns:[{include:"#redirect_fix"},{include:"#normal_statement_inner"}]}},contentName:"string.unquoted.heredoc.no-indent",end:"(?:^(?:\\2)(?=\\s|;|&|$))",endCaptures:{0:{name:"punctuation.definition.string.heredoc.shell"}},patterns:[{include:"#double_quote_escape_char"},{include:"#variable"},{include:"#interpolation"}]}]},herestring:{patterns:[{begin:"(<<<)\\s*(('))",beginCaptures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.quoted.single.shell"},3:{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.single.shell",end:"(')",endCaptures:{0:{name:"string.quoted.single.shell"},1:{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell"},{begin:'(<<<)\\s*(("))',beginCaptures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.quoted.double.shell"},3:{name:"punctuation.definition.string.begin.shell"}},contentName:"string.quoted.double.shell",end:'(")',endCaptures:{0:{name:"string.quoted.double.shell"},1:{name:"punctuation.definition.string.end.shell"}},name:"meta.herestring.shell",patterns:[{include:"#double_quote_context"}]},{captures:{1:{name:"keyword.operator.herestring.shell"},2:{name:"string.unquoted.herestring.shell",patterns:[{include:"#initial_context"}]}},match:"(<<<)\\s*(([^\\s)\\\\]|\\\\.)+)",name:"meta.herestring.shell"}]},initial_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#logical_expression_double"},{include:"#logical_expression_single"},{include:"#keyword_var_statement"},{include:"#case_statement"},{include:"#misc_ranges"},{include:"#loop"},{include:"#function_definition"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#alias_statement"},{include:"#normal_statement"},{include:"#string"},{include:"#support"}]},inline_comment:{captures:{1:{name:"comment.block.shell punctuation.definition.comment.begin.shell"},2:{name:"comment.block.shell"},3:{patterns:[{match:"\\*\\/",name:"comment.block.shell punctuation.definition.comment.end.shell"},{match:"\\*",name:"comment.block.shell"}]}},match:"(\\/\\*)((?:(?:[^\\*]|(?:(?:\\*++)[^\\/]))*+)((?:(?:\\*++)\\/)))"},interpolation:{patterns:[{captures:{1:{name:"punctuation.definition.evaluation.arithmetic.begin.shell"},2:{name:"string.other.math.shell",patterns:[{include:"#math"}]},3:{name:"punctuation.definition.evaluation.arithmetic.end.shell"}},match:"(\\$\\({2})(.+)(\\)\\s*\\))"},{begin:"`",beginCaptures:{0:{name:"punctuation.definition.evaluation.backticks.shell"}},end:"`",endCaptures:{0:{name:"punctuation.definition.evaluation.backticks.shell"}},name:"string.interpolated.backtick.shell",patterns:[{match:"\\\\[`\\\\$]",name:"constant.character.escape.shell"},{begin:"(?<=\\W)(?=#)(?!#{)",beginCaptures:{1:{name:"punctuation.whitespace.comment.leading.shell"}},end:"(?!\\G)",patterns:[{begin:"#",beginCaptures:{0:{name:"punctuation.definition.comment.shell"}},end:"(?=`)",name:"comment.line.number-sign.shell"}]},{include:"#initial_context"}]},{begin:"\\$\\(",beginCaptures:{0:{name:"punctuation.definition.evaluation.parens.begin.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.evaluation.parens.end.shell"}},name:"string.interpolated.dollar.shell",patterns:[{include:"#initial_context"}]}]},keyword:{patterns:[{match:"(?<=^|;|&| |\\t)(?:continue|foreach|return|select|repeat|break|until|while|case|done|elif|else|esac|then|for|end|do|if|fi|in)(?= |\\t|;|&|$)",name:"keyword.control.$0.shell"}]},keyword_var_statement:{begin:"(?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$)",beginCaptures:{0:{name:"storage.modifier.$0.shell"}},end:"\\n",endCaptures:{},name:"meta.statement.shell meta.expression.assignment.shell",patterns:[{match:"(?<!\\w)-\\w+\\b",name:"string.unquoted.argument.shell constant.other.option.shell"},{include:"#array_value"},{captures:{1:{name:"variable.other.assignment.shell"},2:{name:"punctuation.definition.array.access.shell"},3:{name:"variable.other.assignment.shell"},4:{name:"constant.numeric.shell constant.numeric.integer.shell"},5:{name:"punctuation.definition.array.access.shell"},6:{name:"keyword.operator.assignment.shell"},7:{name:"keyword.operator.assignment.compound.shell"},8:{name:"keyword.operator.assignment.compound.shell"},9:{name:"constant.numeric.shell constant.numeric.hex.shell"},10:{name:"constant.numeric.shell constant.numeric.octal.shell"},11:{name:"constant.numeric.shell constant.numeric.other.shell"},12:{name:"constant.numeric.shell constant.numeric.decimal.shell"},13:{name:"constant.numeric.shell constant.numeric.version.shell"},14:{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:"(?:((?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))(?:(?:(\\[)((?:(?:(?:(?:\\$?)(?:(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w))|@)|\\*)|(-?\\d+)))(\\]))?)(?:(?:(?:(\\=)|(\\+\\=))|(\\-\\=))?)(?:(?:(?<==| |\\t|^|\\{|\\(|\\[)(?:(?:(?:(?:(?:(0[xX][0-9A-Fa-f]+)|(0\\d+))|(\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\d+(?:\\.\\d+)))|(-?\\d+(?:\\.\\d+)+))|(-?\\d+))(?= |\\t|$|\\}|\\)|;))?))"},{include:"#normal_statement_context"}]},line_comment:{begin:"(?:\\s*+)(\\/\\/)",beginCaptures:{1:{name:"punctuation.definition.comment.shell"}},end:"(?<=\\n)(?<!\\\\\\n)",endCaptures:{},name:"comment.line.double-slash.shell",patterns:[{include:"#line_continuation_character"}]},line_continuation:{match:"\\\\(?=\\n)",name:"constant.character.escape.line-continuation.shell"},"logical-expression":{patterns:[{comment:"do we want a special rule for ( expr )?",match:"=[=~]?|!=?|<|>|&&|\\|\\|",name:"keyword.operator.logical.shell"},{match:"(?<!\\S)-(nt|ot|ef|eq|ne|l[te]|g[te]|[a-hknoprstuwxzOGLSN])\\b",name:"keyword.operator.logical.shell"}]},logical_expression_context:{patterns:[{include:"#regex_comparison"},{include:"#logical-expression"},{include:"#logical_expression_single"},{include:"#logical_expression_double"},{include:"#comment"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},logical_expression_double:{begin:"\\[\\[",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]\\]",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},logical_expression_single:{begin:"\\[",beginCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},end:"\\]",endCaptures:{0:{name:"punctuation.definition.logical-expression.shell"}},name:"meta.scope.logical-expression.shell",patterns:[{include:"#logical_expression_context"}]},loop:{patterns:[{begin:"(?<=^|;|&|\\s)(for)\\s+(?=\\({2})",beginCaptures:{1:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)(?:done|(?=\\)))(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.for-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(for)\\s+(.+?)\\s+(in)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"},2:{name:"variable.other.loop.shell",patterns:[{include:"#string"}]},3:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)done(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.for-in-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(while|until)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)done(?=\\s|;|&|$|\\))",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.while-loop.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)(select)\\s+((?:[^\\s\\\\]|\\\\.)+)(?=\\s|;|&|$)",beginCaptures:{1:{name:"keyword.control.shell"},2:{name:"variable.other.loop.shell"}},end:"(?<=^|;|&|\\s)(done)(?=\\s|;|&|$|\\))",endCaptures:{1:{name:"keyword.control.shell"}},name:"meta.scope.select-block.shell",patterns:[{include:"#initial_context"}]},{begin:"(?<=^|;|&|\\s)if(?=\\s|;|&|$)",beginCaptures:{0:{name:"keyword.control.shell"}},end:"(?<=^|;|&|\\s)fi(?=\\s|;|&|$)",endCaptures:{0:{name:"keyword.control.shell"}},name:"meta.scope.if-block.shell",patterns:[{include:"#initial_context"}]}]},math:{patterns:[{include:"#variable"},{match:"\\+{1,2}|-{1,2}|!|~|\\*{1,2}|/|%|<[<=]?|>[>=]?|==|!=|^|\\|{1,2}|&{1,2}|\\?|\\:|,|=|[*/%+\\-&^|]=|<<=|>>=",name:"keyword.operator.arithmetic.shell"},{match:"0[xX][0-9A-Fa-f]+",name:"constant.numeric.hex.shell"},{match:"0\\d+",name:"constant.numeric.octal.shell"},{match:"\\d{1,2}#[0-9a-zA-Z@_]+",name:"constant.numeric.other.shell"},{match:"\\d+",name:"constant.numeric.integer.shell"},{match:"(?<!\\w)(?:[a-zA-Z_0-9]+)(?!\\w)",name:"variable.other.normal.shell"}]},misc_ranges:{patterns:[{include:"#logical_expression_single"},{include:"#logical_expression_double"},{begin:"\\(\\(",beginCaptures:{0:{name:"punctuation.section.arithmetic.shell"}},end:"\\)\\)",endCaptures:{0:{name:"punctuation.section.arithmetic.shell"}},name:"meta.arithmetic.shell",patterns:[{include:"#math"}]},{begin:"(?<!=)\\(",beginCaptures:{0:{name:"punctuation.definition.subshell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.subshell"}},name:"meta.scope.subshell",patterns:[{include:"#initial_context"}]},{begin:"(?<![^ \\t])({)",beginCaptures:{1:{name:"punctuation.definition.group.shell"}},end:"}",endCaptures:{0:{name:"punctuation.definition.group.shell"}},name:"meta.scope.group.shell",patterns:[{include:"#initial_context"}]}]},modifiers:{match:"(?<=^|;|&|[ \\t])(?:readonly|declare|typeset|export|local)(?=[ \\t]|;|&|$)",name:"storage.modifier.$0.shell"},normal_statement:{begin:"(?:(?!^[ \\t]*+$)(?:(?<=^until | until |\\tuntil |^while | while |\\twhile |^elif | elif |\\telif |^else | else |\\telse |^then | then |\\tthen |^do | do |\\tdo |^if | if |\\tif )|(?<=(?:^|;|\\||&|!|\\(|\\{|\\`)))(?:[ \\t]*+)(?!nocorrect\\W|nocorrect\\$|function\\W|function\\$|foreach\\W|foreach\\$|repeat\\W|repeat\\$|logout\\W|logout\\$|coproc\\W|coproc\\$|select\\W|select\\$|while\\W|while\\$|pushd\\W|pushd\\$|until\\W|until\\$|case\\W|case\\$|done\\W|done\\$|elif\\W|elif\\$|else\\W|else\\$|esac\\W|esac\\$|popd\\W|popd\\$|then\\W|then\\$|time\\W|time\\$|for\\W|for\\$|end\\W|end\\$|fi\\W|fi\\$|do\\W|do\\$|in\\W|in\\$|if\\W|if\\$))",beginCaptures:{},end:"(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)",endCaptures:{},name:"meta.statement.shell",patterns:[{include:"#normal_statement_inner"}]},normal_statement_context:{patterns:[{include:"#comment"},{include:"#pipeline"},{include:"#normal_statement_seperator"},{include:"#misc_ranges"},{include:"#boolean"},{include:"#redirect_number"},{include:"#numeric_literal"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},normal_statement_inner:{patterns:[{include:"#keyword_var_statement"},{include:"#case_statement"},{include:"#function_definition"},{include:"#assignment"},{begin:"(?:(?:[ \\t]*+)(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/))(?!\\\\\\n?$)))",beginCaptures:{},end:"(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)",endCaptures:{},name:"meta.statement.command.shell",patterns:[{begin:"\\G",beginCaptures:{},end:"(?= |\\t|;|\\||&|$|\\n|\\)|\\`)",endCaptures:{},name:"meta.statement.command.name.shell",patterns:[{include:"#modifiers"},{match:"(?<!\\w)(?:continue|return|break)(?!\\w)",name:"entity.name.function.call.shell entity.name.command.shell keyword.control.$0.shell"},{match:"(?<!\\w)(?:(?:unfunction|continue|autoload|unsetopt|bindkey|builtin|getopts|command|declare|unalias|history|unlimit|typeset|suspend|source|printf|unhash|disown|ulimit|return|which|alias|break|false|print|shift|times|umask|umask|unset|read|type|exec|eval|wait|echo|dirs|jobs|kill|hash|stat|exit|test|trap|true|let|set|pwd|cd|fg|bg|fc|:|\\.)(?!\\/))(?!\\w)",name:"entity.name.function.call.shell entity.name.command.shell support.function.builtin.shell"},{include:"#variable"},{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell"}},match:`(?:(?<=\\G|'|"|\\}|\\))([^ \\n\\t\\r"'=;&\\|\`\\)\\{]+))`},{begin:`(?:(?:\\G|(?<! |\\t|;|\\||&|\\n|\\{|#))(?:(\\$?)((?:(")|(')))))`,beginCaptures:{1:{name:"meta.statement.command.name.quoted.shell punctuation.definition.string.shell entity.name.function.call.shell entity.name.command.shell"},2:{},3:{name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},4:{name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"}},end:"(?<!\\G)(?<=(?:\\2))",endCaptures:{},patterns:[{include:"#continuation_of_single_quoted_command_name"},{include:"#continuation_of_double_quoted_command_name"}]},{include:"#line_continuation"}]},{include:"#line_continuation"},{include:"#option"},{include:"#argument"},{include:"#string"}]},{include:"#line_continuation"},{include:"#normal_statement_context"}]},normal_statement_seperator:{captures:{1:{name:"punctuation.terminator.statement.semicolon.shell"},2:{name:"punctuation.separator.statement.and.shell"},3:{name:"punctuation.separator.statement.or.shell"},4:{name:"punctuation.separator.statement.background.shell"}},match:"(?:(?:(?:(;)|(&&))|(\\|\\|))|(&))"},numeric_literal:{captures:{1:{name:"constant.numeric.shell constant.numeric.hex.shell"},2:{name:"constant.numeric.shell constant.numeric.octal.shell"},3:{name:"constant.numeric.shell constant.numeric.other.shell"},4:{name:"constant.numeric.shell constant.numeric.decimal.shell"},5:{name:"constant.numeric.shell constant.numeric.version.shell"},6:{name:"constant.numeric.shell constant.numeric.integer.shell"}},match:"(?<==| |\\t|^|\\{|\\(|\\[)(?:(?:(?:(?:(?:(0[xX][0-9A-Fa-f]+)|(0\\d+))|(\\d{1,2}#[0-9a-zA-Z@_]+))|(-?\\d+(?:\\.\\d+)))|(-?\\d+(?:\\.\\d+)+))|(-?\\d+))(?= |\\t|$|\\}|\\)|;)"},option:{begin:"(?:(?:[ \\t]++)(-)((?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))))",beginCaptures:{1:{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},2:{name:"string.unquoted.argument.shell constant.other.option.shell"}},contentName:"string.unquoted.argument constant.other.option",end:"(?:(?=[ \\t])|(?:(?=;|\\||&|\\n|\\)|\\`|\\{|\\}|[ \\t]*#|\\])(?<!\\\\)))",endCaptures:{},patterns:[{include:"#option_context"}]},option_context:{patterns:[{include:"#misc_ranges"},{include:"#string"},{include:"#variable"},{include:"#interpolation"},{include:"#heredoc"},{include:"#herestring"},{include:"#redirection"},{include:"#pathname"},{include:"#keyword"},{include:"#support"}]},pathname:{patterns:[{match:"(?<=\\s|:|=|^)~",name:"keyword.operator.tilde.shell"},{match:"\\*|\\?",name:"keyword.operator.glob.shell"},{begin:"([?*+@!])(\\()",beginCaptures:{1:{name:"keyword.operator.extglob.shell"},2:{name:"punctuation.definition.extglob.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.extglob.shell"}},name:"meta.structure.extglob.shell",patterns:[{include:"#initial_context"}]}]},pipeline:{patterns:[{match:"(?<=^|;|&|\\s)(time)(?=\\s|;|&|$)",name:"keyword.other.shell"},{match:"[|!]",name:"keyword.operator.pipe.shell"}]},redirect_fix:{captures:{1:{name:"keyword.operator.redirect.shell"},2:{name:"string.unquoted.argument.shell"}},match:"(?:(>>?)(?:[ \\t]*+)([^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+))"},redirect_number:{captures:{1:{name:"keyword.operator.redirect.stdout.shell"},2:{name:"keyword.operator.redirect.stderr.shell"},3:{name:"keyword.operator.redirect.$3.shell"}},match:"(?<=[ \\t])(?:(?:(1)|(2)|(\\d+))(?=>))"},redirection:{patterns:[{begin:"[><]\\(",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"\\)",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.interpolated.process-substitution.shell",patterns:[{include:"#initial_context"}]},{match:"(?<![<>])(&>|\\d*>&\\d*|\\d*(>>|>|<)|\\d*<&|\\d*<>)(?![<>])",name:"keyword.operator.redirect.shell"}]},regex_comparison:{match:"\\=~",name:"keyword.operator.logical.regex.shell"},regexp:{patterns:[{match:"(?:.+)"}]},simple_options:{captures:{0:{patterns:[{captures:{1:{name:"string.unquoted.argument.shell constant.other.option.dash.shell"},2:{name:"string.unquoted.argument.shell constant.other.option.shell"}},match:"(?:[ \\t]++)(\\-)(\\w+)"}]}},match:"(?:(?:[ \\t]++)\\-(?:\\w+))*"},simple_unquoted:{match:"[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]",name:"string.unquoted.shell"},start_of_command:{match:"(?:(?:[ \\t]*+)(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?!foreach\\b(?!\\/)|select\\b(?!\\/)|repeat\\b(?!\\/)|until\\b(?!\\/)|while\\b(?!\\/)|case\\b(?!\\/)|done\\b(?!\\/)|elif\\b(?!\\/)|else\\b(?!\\/)|esac\\b(?!\\/)|then\\b(?!\\/)|for\\b(?!\\/)|end\\b(?!\\/)|in\\b(?!\\/)|fi\\b(?!\\/)|do\\b(?!\\/)|if\\b(?!\\/))(?!\\\\\\n?$)))"},start_of_double_quoted_command_name:{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:'(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?:(?:(?:[ \\t]*+)((?:[^ \\t\\n\'&;<>\\(\\)\\$`\\\\"\\|]+)(?!>)))?)(?:(?:\\$")|"))',name:"meta.statement.command.name.quoted.shell string.quoted.double.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},start_of_single_quoted_command_name:{captures:{1:{name:"entity.name.function.call.shell entity.name.command.shell",patterns:[{match:"\\*",name:"variable.language.special.wildcard.shell"},{include:"#variable"},{include:"#numeric_literal"},{captures:{1:{name:"constant.language.$1.shell"}},match:"(?<!\\w)(\\b(?:true|false)\\b)(?!\\w)"}]}},match:"(?:(?!(?:!|&|\\||\\(|\\)|\\{|\\[|<|>|#|\\n|$|;|[ \\t]))(?:(?:(?:[ \\t]*+)((?:[^ \\t\\n'&;<>\\(\\)\\$`\\\\\"\\|]+)(?!>)))?)(?:(?:\\$')|'))",name:"meta.statement.command.name.quoted.shell string.quoted.single.shell punctuation.definition.string.begin.shell entity.name.function.call.shell entity.name.command.shell"},string:{patterns:[{match:"\\\\.",name:"constant.character.escape.shell"},{begin:"'",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.shell"},{begin:'\\$?"',beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.double.shell",patterns:[{match:'\\\\[\\$\\n`"\\\\]',name:"constant.character.escape.shell"},{include:"#variable"},{include:"#interpolation"}]},{begin:"\\$'",beginCaptures:{0:{name:"punctuation.definition.string.begin.shell"}},end:"'",endCaptures:{0:{name:"punctuation.definition.string.end.shell"}},name:"string.quoted.single.dollar.shell",patterns:[{match:"\\\\(?:a|b|e|f|n|r|t|v|\\\\|')",name:"constant.character.escape.ansi-c.shell"},{match:'\\\\[0-9]{3}"',name:"constant.character.escape.octal.shell"},{match:'\\\\x[0-9a-fA-F]{2}"',name:"constant.character.escape.hex.shell"},{match:'\\\\c."',name:"constant.character.escape.control-char.shell"}]}]},support:{patterns:[{match:"(?<=^|;|&|\\s)(?::|\\.)(?=\\s|;|&|$)",name:"support.function.builtin.shell"}]},variable:{patterns:[{captures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.all.shell"},2:{name:"variable.parameter.positional.all.shell"}},match:"(?:(\\$)(\\@(?!\\w)))"},{captures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},2:{name:"variable.parameter.positional.shell"}},match:"(?:(\\$)([0-9](?!\\w)))"},{captures:{1:{name:"punctuation.definition.variable.shell variable.language.special.shell"},2:{name:"variable.language.special.shell"}},match:"(?:(\\$)([-*#?$!0_](?!\\w)))"},{begin:"(?:(\\$)(\\{)(?:[ \\t]*+)(?=\\d))",beginCaptures:{1:{name:"punctuation.definition.variable.shell variable.parameter.positional.shell"},2:{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},contentName:"meta.parameter-expansion",end:"\\}",endCaptures:{0:{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell variable.parameter.positional.shell"}},patterns:[{match:"!|:[-=?]?|\\*|@|##|#|%%|%|\\/",name:"keyword.operator.expansion.shell"},{captures:{1:{name:"punctuation.section.array.shell"},2:{name:"punctuation.section.array.shell"}},match:"(?:(\\[)(?:[^\\]]+)(\\]))"},{match:"[0-9]+",name:"variable.parameter.positional.shell"},{match:"(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w)",name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{begin:"(?:(\\$)(\\{))",beginCaptures:{1:{name:"punctuation.definition.variable.shell"},2:{name:"punctuation.section.bracket.curly.variable.begin.shell punctuation.definition.variable.shell"}},contentName:"meta.parameter-expansion",end:"\\}",endCaptures:{0:{name:"punctuation.section.bracket.curly.variable.end.shell punctuation.definition.variable.shell"}},patterns:[{match:"!|:[-=?]?|\\*|@|##|#|%%|%|\\/",name:"keyword.operator.expansion.shell"},{captures:{1:{name:"punctuation.section.array.shell"},2:{name:"punctuation.section.array.shell"}},match:"(?:(\\[)(?:[^\\]]+)(\\]))"},{match:"(?<!\\w)(?:[a-zA-Z_0-9-]+)(?!\\w)",name:"variable.other.normal.shell"},{include:"#variable"},{include:"#string"}]},{captures:{1:{name:"punctuation.definition.variable.shell variable.other.normal.shell"},2:{name:"variable.other.normal.shell"}},match:"(?:(\\$)((?:\\w+)(?!\\w)))"}]}},scopeName:"source.shell",aliases:["bash","sh","shell","zsh"]});var n=[e];export{n as default};
@@ -0,0 +1,2 @@
1
+ const Ie=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Fe=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,ze=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function De(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ue(e);return}return t}function Ue(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ve(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const s=r.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!ze.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ie.test(e)||Fe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,De)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Be=/#/g,qe=/&/g,He=/\//g,Ge=/=/g,te=/\+/g,We=/%5e/gi,Je=/%60/gi,Qe=/%7c/gi,Ke=/%20/gi;function Ye(e){return encodeURI(""+e).replace(Qe,"|")}function X(e){return Ye(typeof e=="string"?e:JSON.stringify(e)).replace(te,"%2B").replace(Ke,"+").replace(Be,"%23").replace(qe,"%26").replace(Je,"`").replace(We,"^").replace(He,"%2F")}function W(e){return X(e).replace(Ge,"%3D")}function Se(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xe(e){return Se(e.replace(te," "))}function Ze(e){return Se(e.replace(te," "))}function et(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const s=r.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const n=Xe(s[1]);if(n==="__proto__"||n==="constructor")continue;const i=Ze(s[2]||"");t[n]===void 0?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}return t}function tt(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${W(e)}=${X(r)}`).join("&"):`${W(e)}=${X(t)}`:W(e)}function rt(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>tt(t,e[t])).filter(Boolean).join("&")}const nt=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,st=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ot=/^([/\\]\s*){2,}[^/\\]/,it=/\/$|\/\?|\/#/,at=/^\.?\//;function _e(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?nt.test(e):st.test(e)||(t.acceptRelative?ot.test(e):!1)}function Z(e="",t){return t?it.test(e):e.endsWith("/")}function ct(e="",t){if(!t)return(Z(e)?e.slice(0,-1):e)||"/";if(!Z(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");n>=0&&(r=e.slice(0,n),s=e.slice(n));const[i,...c]=r.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(c.length>0?`?${c.join("?")}`:"")+s}function lt(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Z(e,!0))return e||"/";let r=e,s="";const n=e.indexOf("#");if(n>=0&&(r=e.slice(0,n),s=e.slice(n),!r))return s;const[i,...c]=r.split("?");return i+"/"+(c.length>0?`?${c.join("?")}`:"")+s}function ft(e,t){if(ht(t)||_e(e))return e;const r=ct(t);return e.startsWith(r)?e:dt(r,e)}function ut(e,t){const r=$e(e),s={...et(r.search),...t};return r.search=rt(s),mt(r)}function ht(e){return!e||e==="/"}function pt(e){return e&&e!=="/"}function dt(e,...t){let r=e||"";for(const s of t.filter(n=>pt(n)))if(r){const n=s.replace(at,"");r=lt(r)+n}else r=s;return r}const ve=Symbol.for("ufo:protocolRelative");function $e(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,u,g=""]=r;return{protocol:u.toLowerCase(),pathname:g,href:u+g,auth:"",host:"",search:"",hash:""}}if(!_e(e,{acceptRelative:!0}))return t?$e(t+e):se(e);const[,s="",n,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,c="",a=""]=i.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:f,hash:o}=se(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s.toLowerCase(),auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:c,pathname:l,search:f,hash:o,[ve]:!s}}function se(e=""){const[t="",r="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:s}}function mt(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",n=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[ve]?(e.protocol||"")+"//":"")+n+i+t+r+s}class gt extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function yt(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",s=e.request?.url||String(e.request)||"/",n=`[${r}] ${JSON.stringify(s)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",c=`${n}: ${i}${t?` ${t}`:""}`,a=new gt(c,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,f]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[f]}});return a}const wt=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function oe(e="GET"){return wt.has(e.toUpperCase())}function bt(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const St=new Set(["image/svg","application/xml","application/xhtml","application/html"]),_t=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vt(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return _t.test(t)?"json":St.has(t)||t.startsWith("text/")?"text":"blob"}function $t(e,t,r=globalThis.Headers){const s={...t,...e};if(t?.params&&e?.params&&(s.params={...t?.params,...e?.params}),t?.query&&e?.query&&(s.query={...t?.query,...e?.query}),t?.headers&&e?.headers){s.headers=new r(t?.headers||{});for(const[n,i]of new r(e?.headers||{}))s.headers.set(n,i)}return s}const Et=new Set([408,409,425,429,500,502,503,504]),Ct=new Set([101,204,205,304]);function Ee(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function n(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let o;typeof a.options.retry=="number"?o=a.options.retry:o=oe(a.options.method)?0:1;const u=a.response&&a.response.status||500;if(o>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(u):Et.has(u))){const g=a.options.retryDelay||0;return g>0&&await new Promise(d=>setTimeout(d,g)),i(a.request,{...a.options,retry:o-1})}}const f=yt(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,i),f}const i=async function(l,f={}){const o={request:l,options:$t(f,e.defaults,r),response:void 0,error:void 0};o.options.method=o.options.method?.toUpperCase(),o.options.onRequest&&await o.options.onRequest(o),typeof o.request=="string"&&(o.options.baseURL&&(o.request=ft(o.request,o.options.baseURL)),(o.options.query||o.options.params)&&(o.request=ut(o.request,{...o.options.params,...o.options.query}))),o.options.body&&oe(o.options.method)&&(bt(o.options.body)?(o.options.body=typeof o.options.body=="string"?o.options.body:JSON.stringify(o.options.body),o.options.headers=new r(o.options.headers||{}),o.options.headers.has("content-type")||o.options.headers.set("content-type","application/json"),o.options.headers.has("accept")||o.options.headers.set("accept","application/json")):("pipeTo"in o.options.body&&typeof o.options.body.pipeTo=="function"||typeof o.options.body.pipe=="function")&&("duplex"in o.options||(o.options.duplex="half")));let u;if(!o.options.signal&&o.options.timeout){const d=new s;u=setTimeout(()=>d.abort(),o.options.timeout),o.options.signal=d.signal}try{o.response=await t(o.request,o.options)}catch(d){return o.error=d,o.options.onRequestError&&await o.options.onRequestError(o),await n(o)}finally{u&&clearTimeout(u)}if(o.response.body&&!Ct.has(o.response.status)&&o.options.method!=="HEAD"){const d=(o.options.parseResponse?"json":o.options.responseType)||vt(o.response.headers.get("content-type")||"");switch(d){case"json":{const v=await o.response.text(),y=o.options.parseResponse||Ve;o.response._data=y(v);break}case"stream":{o.response._data=o.response.body;break}default:o.response._data=await o.response[d]()}}return o.options.onResponse&&await o.options.onResponse(o),!o.options.ignoreResponseError&&o.response.status>=400&&o.response.status<600?(o.options.onResponseError&&await o.options.onResponseError(o),await n(o)):o.response},c=async function(l,f){return(await i(l,f))._data};return c.raw=i,c.native=(...a)=>t(...a),c.create=(a={})=>Ee({...e,defaults:{...e.defaults,...a}}),c}const re=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),xt=re.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),At=re.Headers,Ot=re.AbortController,Rt=Ee({fetch:xt,Headers:At,AbortController:Ot}),Tt=Rt;function jt(e){const t=e.length;let r=-1,s,n="";const i=e.charCodeAt(0);for(;++r<t;){if(s=e.charCodeAt(r),s===0){n+="�";continue}if(s===37){n+="\\%";continue}if(s===44){n+="\\,";continue}if(s>=1&&s<=31||s===127||r===0&&s>=48&&s<=57||r===1&&s>=48&&s<=57&&i===45){n+=`\\${s.toString(16)} `;continue}if(r===0&&t===1&&s===45){n+=`\\${e.charAt(r)}`;continue}if(s>=128||s===45||s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){n+=e.charAt(r);continue}n+=`\\${e.charAt(r)}`}return n}const J=jt;function M(e=[]){return Array.isArray(e)?e:[e]}function H(e){return Array.from(new Set(e))}function Mt(e,t){return e.reduce((r,s)=>(r.findIndex(i=>t(s,i))===-1&&r.push(s),r),[])}function R(e){return typeof e=="string"}function z(e){return R(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function Pt(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>z(t)):[e]:[z(e)]}function Lt(e){return e.filter(([t,r],s)=>{if(t.startsWith("$$"))return!1;for(let n=s-1;n>=0;n--)if(e[n][0]===t&&e[n][1]===r)return!1;return!0})}function Q(e){return e==null?"":Lt(e).map(([t,r])=>r!=null?`${t}:${r};`:void 0).filter(Boolean).join("")}function U(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ce(e,t,r=!1){const s=e,n=t;if(Array.isArray(n))return r&&Array.isArray(n)?[...s,...n]:[...n];const i={...s};return U(s)&&U(n)&&Object.keys(n).forEach(c=>{U(s[c])&&U(n[c])||Array.isArray(s[c])&&Array.isArray(n[c])?i[c]=Ce(s[c],n[c],r):Object.assign(i,{[c]:n[c]})}),i}function B(e){let t,r,s;if(Array.isArray(e)){for(r=Array(t=e.length);t--;)r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:B(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(s=e[t])&&typeof s=="object"?B(s):s;return r}return e}function kt(e){return R(e[0])}function Nt(e){return R(e[0])}const ie="$$shortcut-no-merge";function It(e){return typeof e=="function"?{match:e}:e}function ae(e){return e.length===3}function Ft(e){return e!=null}function zt(){}var Dt=Object.defineProperty,Ut=(e,t,r)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vt=(e,t,r)=>(Ut(e,typeof t!="symbol"?t+"":t,r),r);class Bt{constructor(){Vt(this,"_map",new Map)}get(t,r){const s=this._map.get(t);if(s)return s.get(r)}getFallback(t,r,s){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.has(r)||n.set(r,s),n.get(r)}set(t,r,s){let n=this._map.get(t);return n||(n=new Map,this._map.set(t,n)),n.set(r,s),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,s])=>Array.from(s.entries()).map(([n,i])=>t(i,r,n)))}}class qt extends Map{getFallback(t,r){const s=this.get(t);return s===void 0?(this.set(t,r),r):s}map(t){const r=[];return this.forEach((s,n)=>{r.push(t(s,n))}),r}flatMap(t){const r=[];return this.forEach((s,n)=>{r.push(...t(s,n))}),r}}var Ht=Object.defineProperty,Gt=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wt=(e,t,r)=>(Gt(e,typeof t!="symbol"?t+"":t,r),r);class xe extends Set{constructor(t){super(t),Wt(this,"_map"),this._map??(this._map=new Map)}add(t){return this._map??(this._map=new Map),this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.delete(t),super.delete(t)}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function K(e){return e instanceof xe}const V={};function Jt(e=["-",":"]){const t=e.join("|");return V[t]||(V[t]=new RegExp(`((?:[!@<~\\w+:_/-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[.*?\\])+?)\\)(?!\\s*?=>)`,"gm")),V[t].lastIndex=0,V[t]}function Qt(e,t=["-",":"],r=5){const s=Jt(t);let n,i=e.toString();const c=new Set,a=new Map;do n=!1,i=i.replace(s,(f,o,u,g,d)=>{if(!t.includes(u))return f;n=!0,c.add(o+u);const v=d+o.length+u.length+1,y={length:f.length,items:[]};a.set(d,y);for(const w of[...g.matchAll(/\S+/g)]){const x=v+w.index;let p=a.get(x)?.items;p?a.delete(x):p=[{offset:x,length:w[0].length,className:w[0]}];for(const S of p)S.className=S.className==="~"?o:S.className.replace(/^(!?)(.*)/,`$1${o}${u}$2`),y.items.push(S)}return"$".repeat(f.length)}),r-=1;while(n&&r);let l;if(typeof e=="string"){l="";let f=0;for(const[o,u]of a)l+=e.slice(f,o),l+=u.items.map(g=>g.className).join(" "),f=o+u.length;l+=e.slice(f)}else{l=e;for(const[f,o]of a)l.overwrite(f,f+o.length,o.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(c),hasChanged:n,groupsByOffset:a,get expanded(){return l.toString()}}}function Kt(e,t=["-",":"],r=5){const s=Qt(e,t,r);return typeof e=="string"?s.expanded:e}const ce=new Set;function Ae(e){ce.has(e)||(console.warn("[unocss]",e),ce.add(e))}const Yt=/[\\:]?[\s'"`;{}]+/g;function Xt(e){return e.split(Yt)}const Zt={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Xt(e)}};function er(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const q="default",ee="preflights",tr="shortcuts",rr="imports",nr={[rr]:-200,[ee]:-100,[tr]:-10,[q]:0};function Oe(e){return M(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const le="_uno_resolved";function sr(e){let t=typeof e=="function"?e():e;if(le in t)return t;t={...t},Object.defineProperty(t,le,{value:!0,enumerable:!1});const r=t.shortcuts?Oe(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const s=n=>{n[2]||(n[2]={});const i=n[2];i.prefix==null&&t.prefix&&(i.prefix=M(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(s),t.rules?.forEach(s)}return t}function Re(e){const t=sr(e);if(!t.presets)return[t];const r=(t.presets||[]).flatMap(M).flatMap(Re);return[t,...r]}function fe(e={},t={}){const r=Object.assign({},t,e),s=Mt((r.presets||[]).flatMap(M).flatMap(Re),(h,m)=>h.name===m.name),n=[...s.filter(h=>h.enforce==="pre"),...s.filter(h=>!h.enforce),...s.filter(h=>h.enforce==="post")],i=[...n,r],c=[...i].reverse(),a=Object.assign({},nr,...i.map(h=>h.layers));function l(h){return H(i.flatMap(m=>M(m[h]||[])))}const f=l("extractors");let o=c.find(h=>h.extractorDefault!==void 0)?.extractorDefault;o===void 0&&(o=Zt),o&&!f.includes(o)&&f.unshift(o),f.sort((h,m)=>(h.order||0)-(m.order||0));const u=l("rules"),g={},d=u.length,v=u.map((h,m)=>{if(kt(h)){M(h[2]?.prefix||"").forEach(C=>{g[C+h[0]]=[m,h[1],h[2],h]});return}return[m,...h]}).filter(Boolean).reverse();let y=or(i.map(h=>h.theme));const w=l("extendTheme");for(const h of w)y=h(y)||y;const x={templates:H(i.flatMap(h=>M(h.autocomplete?.templates))),extractors:i.flatMap(h=>M(h.autocomplete?.extractors)).sort((h,m)=>(h.order||0)-(m.order||0)),shorthands:ir(i.map(h=>h.autocomplete?.shorthands||{}))};let p=l("separators");p.length||(p=[":","-"]);const S={mergeSelectors:!0,warn:!0,sortLayers:h=>h,...r,blocklist:l("blocklist"),presets:n,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:y,rulesSize:d,rulesDynamic:v,rulesStaticMap:g,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:x,variants:l("variants").map(It).sort((h,m)=>(h.order||0)-(m.order||0)),shortcuts:Oe(l("shortcuts")).reverse(),extractors:f,safelist:l("safelist"),separators:p,details:r.details??r.envMode==="dev"};for(const h of i)h?.configResolved?.(S);return S}function or(e){return e.map(t=>t?B(t):{}).reduce((t,r)=>Ce(t,r),{})}function ir(e){return e.reduce((t,r)=>{const s={};for(const n in r){const i=r[n];Array.isArray(i)?s[n]=`(${i.join("|")})`:s[n]=i}return{...t,...s}},{})}const ar="0.59.0";var cr=Object.defineProperty,lr=(e,t,r)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,F=(e,t,r)=>(lr(e,typeof t!="symbol"?t+"":t,r),r);class fr{constructor(t={},r={}){this.userConfig=t,this.defaults=r,F(this,"version",ar),F(this,"_cache",new Map),F(this,"config"),F(this,"blocked",new Set),F(this,"parentOrders",new Map),F(this,"events",er()),this.config=fe(t,r),this.events.emit("config",this.config)}setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this._cache.clear(),this.config=fe(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,s=new Set){const n={original:t,code:t,id:r,extracted:s,envMode:this.config.envMode};for(const i of this.config.extractors){const c=await i.extract?.(n);if(c)if(K(c)&&K(s))for(const a of c)s.setCount(a,s.getCount(a)+c.getCount(a));else for(const a of c)s.add(a)}return s}makeContext(t,r){const s={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,variantHandlers:r[2],constructCSS:(...n)=>this.constructCustomCSS(s,...n),variantMatch:r};return s}async parseToken(t,r){if(this.blocked.has(t))return;const s=`${t}${r?` ${r}`:""}`;if(this._cache.has(s))return this._cache.get(s);let n=t;for(const f of this.config.preprocess)n=f(t);if(this.isBlocked(n)){this.blocked.add(t),this._cache.set(s,null);return}const i=await this.matchVariants(t,n);if(!i||this.isBlocked(i[1])){this.blocked.add(t),this._cache.set(s,null);return}const c=this.makeContext(t,[r||i[0],i[1],i[2],i[3]]);this.config.details&&(c.variants=[...i[3]]);const a=await this.expandShortcut(c.currentSelector,c),l=a?await this.stringifyShortcuts(c.variantMatch,c,a[0],a[1]):(await this.parseUtil(c.variantMatch,c))?.map(f=>this.stringifyUtil(f,c)).filter(Ft);if(l?.length)return this._cache.set(s,l),l;this._cache.set(s,null)}async generate(t,r={}){const{id:s,scope:n,preflights:i=!0,safelist:c=!0,minify:a=!1,extendedInfo:l=!1}=r,f=this.config.outputToCssLayers,o=R(t)?await this.applyExtractors(t,s,l?new xe:new Set):Array.isArray(t)?new Set(t):t;c&&this.config.safelist.forEach(m=>{o.has(m)||o.add(m)});const u=a?"":`
2
+ `,g=new Set([q]),d=l?new Map:new Set,v=new Map;let y={};const w=Array.from(o).map(async m=>{if(d.has(m))return;const E=await this.parseToken(m);if(E!=null){d instanceof Map?d.set(m,{data:E,count:K(o)?o.getCount(m):-1}):d.add(m);for(const C of E){const A=C[3]||"",O=C[4]?.layer;v.has(A)||v.set(A,[]),v.get(A).push(C),O&&g.add(O)}}});await Promise.all(w),await(async()=>{if(!i)return;const m={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:C=ee})=>{g.add(C),E.add(C)}),y=Object.fromEntries(await Promise.all(Array.from(E).map(async C=>{const O=(await Promise.all(this.config.preflights.filter(L=>(L.layer||ee)===C).map(async L=>await L.getCSS(m)))).filter(Boolean).join(u);return[C,O]})))})();const x=this.config.sortLayers(Array.from(g).sort((m,E)=>(this.config.layers[m]??0)-(this.config.layers[E]??0)||m.localeCompare(E))),p={},S=(m=q)=>{if(p[m])return p[m];let E=Array.from(v).sort((A,O)=>(this.parentOrders.get(A[0])??0)-(this.parentOrders.get(O[0])??0)||A[0]?.localeCompare(O[0]||"")||0).map(([A,O])=>{const L=O.length,I=O.filter(b=>(b[4]?.layer||q)===m).sort((b,$)=>b[0]-$[0]||(b[4]?.sort||0)-($[4]?.sort||0)||b[5]?.currentSelector?.localeCompare($[5]?.currentSelector??"")||b[1]?.localeCompare($[1]||"")||b[2]?.localeCompare($[2]||"")||0).map(([,b,$,,T,,j])=>[[[(b&&pr(b,n))??"",T?.sort??0]],$,!!(j??T?.noMerge)]);if(!I.length)return;const D=I.reverse().map(([b,$,T],j)=>{if(!T&&this.config.mergeSelectors)for(let N=j+1;N<L;N++){const P=I[N];if(P&&!P[2]&&(b&&P[0]||b==null&&P[0]==null)&&P[1]===$)return b&&P[0]&&P[0].push(...b),null}const k=b?H(b.sort((N,P)=>N[1]-P[1]||N[0]?.localeCompare(P[0]||"")||0).map(N=>N[0]).filter(Boolean)):[];return k.length?`${k.join(`,${u}`)}{${$}}`:$}).filter(Boolean).reverse().join(u);if(!A)return D;const _=A.split(" $$ ");return`${_.join("{")}{${u}${D}${u}${"}".repeat(_.length)}`}).filter(Boolean).join(u);if(i&&(E=[y[m],E].filter(Boolean).join(u)),f&&E){let A=typeof f=="object"?f.cssLayerName?.(m):void 0;A!==null&&(A||(A=m),E=`@layer ${A}{${u}${E}${u}}`)}const C=a?"":`/* layer: ${m} */${u}`;return p[m]=E?C+E:""},h=(m=x,E)=>m.filter(C=>!E?.includes(C)).map(C=>S(C)||"").filter(Boolean).join(u);return{get css(){return h()},layers:x,matched:d,getLayers:h,getLayer:S}}async matchVariants(t,r){const s=new Set,n=[];let i=r||t,c=!0;const a={rawSelector:t,theme:this.config.theme,generator:this};for(;c;){c=!1;for(const l of this.config.variants){if(!l.multiPass&&s.has(l))continue;let f=await l.match(i,a);if(f){if(R(f)){if(f===i)continue;f={matcher:f}}i=f.matcher,n.unshift(f),s.add(l),c=!0;break}}if(!c)break;if(n.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[t,i,n,s]}applyVariants(t,r=t[4],s=t[1]){const i=r.slice().sort((f,o)=>(f.order||0)-(o.order||0)).reduceRight((f,o)=>u=>{const g=o.body?.(u.entries)||u.entries,d=Array.isArray(o.parent)?o.parent:[o.parent,void 0];return(o.handle??mr)({...u,entries:g,selector:o.selector?.(u.selector,g)||u.selector,parent:d[0]||u.parent,parentOrder:d[1]||u.parentOrder,layer:o.layer||u.layer,sort:o.sort||u.sort},f)},f=>f)({prefix:"",selector:dr(s),pseudo:"",entries:t[2]}),{parent:c,parentOrder:a}=i;c!=null&&a!=null&&this.parentOrders.set(c,a);const l={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:c,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const f of this.config.postprocess)f(l);return l}constructCustomCSS(t,r,s){const n=z(r);if(R(n))return n;const{selector:i,entries:c,parent:a}=this.applyVariants([0,s||t.rawSelector,n,void 0,t.variantHandlers]),l=`${i}{${Q(c)}}`;return a?`${a}{${l}}`:l}async parseUtil(t,r,s=!1,n){const[i,c,a]=R(t)?await this.matchVariants(t):t;this.config.details&&(r.rules=r.rules??[]);const l=this.config.rulesStaticMap[c];if(l&&l[1]&&(s||!l[2]?.internal)){this.config.details&&r.rules.push(l[3]);const o=l[0],u=z(l[1]),g=l[2];return R(u)?[[o,u,g]]:[[o,i,u,g,a]]}r.variantHandlers=a;const{rulesDynamic:f}=this.config;for(const[o,u,g,d]of f){if(d?.internal&&!s)continue;let v=c;if(d?.prefix){const p=M(d.prefix);if(n){const S=M(n);if(!p.some(h=>S.includes(h)))continue}else{const S=p.find(h=>c.startsWith(h));if(S==null)continue;v=c.slice(S.length)}}const y=v.match(u);if(!y)continue;const w=await g(y,r);if(!w)continue;this.config.details&&r.rules.push([u,g,d]);const x=Pt(w).filter(p=>p.length);if(x.length)return x.map(p=>R(p)?[o,p,d]:[o,i,p,d,a])}}stringifyUtil(t,r){if(!t)return;if(ae(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:s,entries:n,parent:i,layer:c,sort:a,noMerge:l}=this.applyVariants(t),f=Q(n);if(!f)return;const{layer:o,sort:u,...g}=t[3]??{},d={...g,layer:c??o,sort:a??u};return[t[0],s,f,i,d,this.config.details?r:void 0,l]}async expandShortcut(t,r,s=5){if(s===0)return;const n=this.config.details?a=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(a)}:zt;let i,c;for(const a of this.config.shortcuts){let l=t;if(a[2]?.prefix){const o=M(a[2].prefix).find(u=>t.startsWith(u));if(o==null)continue;l=t.slice(o.length)}if(Nt(a)){if(a[0]===l){i=i||a[2],c=a[1],n(a);break}}else{const f=l.match(a[0]);if(f&&(c=a[1](f,r)),c){i=i||a[2],n(a);break}}}if(R(c)&&(c=Kt(c.trim()).split(/\s+/g)),!c){const[a,l]=R(t)?await this.matchVariants(t):t;if(a!==l){const f=await this.expandShortcut(l,r,s-1);f&&(c=f[0].map(o=>R(o)?a.replace(l,o):o))}}if(c)return[(await Promise.all(c.map(async a=>(R(a)?(await this.expandShortcut(a,r,s-1))?.[0]:void 0)||[a]))).flat(1).filter(Boolean),i]}async stringifyShortcuts(t,r,s,n={layer:this.config.shortcutsLayer}){const i=new qt,c=(await Promise.all(H(s).map(async o=>{const u=R(o)?await this.parseUtil(o,r,!0,n.prefix):[[Number.POSITIVE_INFINITY,"{inline}",z(o),void 0,[]]];return!u&&this.config.warn&&Ae(`unmatched utility "${o}" in shortcut "${t[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((o,u)=>o[0]-u[0]),[a,,l]=t,f=[];for(const o of c){if(ae(o)){f.push([o[0],void 0,o[1],void 0,o[2],r,void 0]);continue}const{selector:u,entries:g,parent:d,sort:v,noMerge:y,layer:w}=this.applyVariants(o,[...o[4],...l],a);i.getFallback(w??n.layer,new Bt).getFallback(u,d,[[],o[0]])[0].push([g,!!(y??o[3]?.noMerge),v??0])}return f.concat(i.flatMap((o,u)=>o.map(([g,d],v,y)=>{const w=(p,S,h)=>{const m=Math.max(...h.map(C=>C[1])),E=h.map(C=>C[0]);return(p?[E.flat(1)]:E).map(C=>{const A=Q(C);if(A)return[d,v,A,y,{...n,noMerge:S,sort:m,layer:u},r,void 0]})};return[[g.filter(([,p])=>p).map(([p,,S])=>[p,S]),!0],[g.filter(([,p])=>!p).map(([p,,S])=>[p,S]),!1]].map(([p,S])=>[...w(!1,S,p.filter(([h])=>h.some(m=>m[0]===ie))),...w(!0,S,p.filter(([h])=>h.every(m=>m[0]!==ie)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.some(r=>typeof r=="function"?r(t):R(r)?r===t:r.test(t))}}function ur(e,t){return new fr(e,t)}const Te=/\s\$\$\s+/g;function hr(e){return Te.test(e)}function pr(e,t){return hr(e)?e.replace(Te,t?` ${t} `:" "):t?`${t} ${e}`:e}const ue=/^\[(.+?)(~?=)"(.*)"\]$/;function dr(e){return ue.test(e)?e.replace(ue,(t,r,s,n)=>`[${J(r)}${s}"${J(n)}"]`):`.${J(e)}`}function mr(e,t){return t(e)}var he={};const gr=Object.freeze({left:0,top:0,width:16,height:16}),G=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),je=Object.freeze({...gr,...G}),yr=Object.freeze({...je,body:"",hidden:!1}),wr=Object.freeze({width:null,height:null}),Me=Object.freeze({...wr,...G});function br(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const s=((e.rotate||0)+(t.rotate||0))%4;return s&&(r.rotate=s),r}function pe(e,t){const r=br(e,t);for(const s in yr)s in G?s in e&&!(s in r)&&(r[s]=G[s]):s in t?r[s]=t[s]:s in e&&(r[s]=e[s]);return r}function Sr(e,t){const r=e.icons,s=e.aliases||Object.create(null),n=Object.create(null);function i(c){if(r[c])return n[c]=[];if(!(c in n)){n[c]=null;const a=s[c]&&s[c].parent,l=a&&i(a);l&&(n[c]=[a].concat(l))}return n[c]}return(t||Object.keys(r).concat(Object.keys(s))).forEach(i),n}function de(e,t,r){const s=e.icons,n=e.aliases||Object.create(null);let i={};function c(a){i=pe(s[a]||n[a],i)}return c(t),r.forEach(c),pe(e,i)}function _r(e,t){if(e.icons[t])return de(e,t,[]);const r=Sr(e,[t])[t];return r?de(e,t,r):null}const vr=/(-?[0-9.]*[0-9]+[0-9.]*)/g,$r=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function me(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const s=e.split(vr);if(s===null||!s.length)return e;const n=[];let i=s.shift(),c=$r.test(i);for(;;){if(c){const a=parseFloat(i);isNaN(a)?n.push(i):n.push(Math.ceil(a*t*r)/r)}else n.push(i);if(i=s.shift(),i===void 0)return n.join("");c=!c}}function Er(e,t="defs"){let r="";const s=e.indexOf("<"+t);for(;s>=0;){const n=e.indexOf(">",s),i=e.indexOf("</"+t);if(n===-1||i===-1)break;const c=e.indexOf(">",i);if(c===-1)break;r+=e.slice(n+1,i).trim(),e=e.slice(0,s).trim()+e.slice(c+1)}return{defs:r,content:e}}function Cr(e,t){return e?"<defs>"+e+"</defs>"+t:t}function xr(e,t,r){const s=Er(e);return Cr(s.defs,t+s.content+r)}const ne=e=>e==="unset"||e==="undefined"||e==="none";function Ar(e,t){const r={...je,...e},s={...Me,...t},n={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,s].forEach(y=>{const w=[],x=y.hFlip,p=y.vFlip;let S=y.rotate;x?p?S+=2:(w.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),w.push("scale(-1 1)"),n.top=n.left=0):p&&(w.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),w.push("scale(1 -1)"),n.top=n.left=0);let h;switch(S<0&&(S-=Math.floor(S/4)*4),S=S%4,S){case 1:h=n.height/2+n.top,w.unshift("rotate(90 "+h.toString()+" "+h.toString()+")");break;case 2:w.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:h=n.width/2+n.left,w.unshift("rotate(-90 "+h.toString()+" "+h.toString()+")");break}S%2===1&&(n.left!==n.top&&(h=n.left,n.left=n.top,n.top=h),n.width!==n.height&&(h=n.width,n.width=n.height,n.height=h)),w.length&&(i=xr(i,'<g transform="'+w.join(" ")+'">',"</g>"))});const c=s.width,a=s.height,l=n.width,f=n.height;let o,u;c===null?(u=a===null?"1em":a==="auto"?f:a,o=me(u,l/f)):(o=c==="auto"?l:c,u=a===null?me(o,f/l):a==="auto"?f:a);const g={},d=(y,w)=>{ne(w)||(g[y]=w.toString())};d("width",o),d("height",u);const v=[n.left,n.top,l,f];return g.viewBox=v.join(" "),{attributes:g,viewBox:v,body:i}}function Or(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Rr(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),Or(t)}function Tr(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const jr=/\swidth\s*=\s*["']([\w.]+)["']/,Mr=/\sheight\s*=\s*["']([\w.]+)["']/,Y=/<svg\s+/;function Pr(e,t,r){const s=e.slice(0,e.indexOf(">")),n=(i,c)=>{const a=c.exec(s),l=a!=null,f=t[i];return!f&&!ne(f)&&(typeof r=="number"?r>0&&(t[i]=`${r}em`):a&&(t[i]=a[1])),l};return[n("width",jr),n("height",Mr)]}async function Pe(e,t,r,s,n,i){const{scale:c,addXmlNs:a=!1}=s??{},{additionalProps:l={},iconCustomizer:f}=s?.customizations??{},o=await n?.()??{};await f?.(t,r,o),Object.keys(l).forEach(y=>{const w=l[y];w!=null&&(o[y]=w)}),i?.(o);const[u,g]=Pr(e,o,c);a&&(!e.includes("xmlns=")&&!o.xmlns&&(o.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!o["xmlns:xlink"]&&(o["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const d=Object.keys(o).map(y=>y==="width"&&u||y==="height"&&g?null:`${y}="${o[y]}"`).filter(y=>y!=null);if(d.length&&(e=e.replace(Y,`<svg ${d.join(" ")} `)),s){const{defaultStyle:y,defaultClass:w}=s;w&&!e.includes("class=")&&(e=e.replace(Y,`<svg class="${w}" `)),y&&!e.includes("style=")&&(e=e.replace(Y,`<svg style="${y}" `))}const v=s?.usedProps;return v&&(Object.keys(l).forEach(y=>{const w=o[y];w!=null&&(v[y]=w)}),typeof o.width<"u"&&o.width!==null&&(v.width=o.width),typeof o.height<"u"&&o.height!==null&&(v.height=o.height)),e}async function ge(e,t,r,s){let n;try{if(typeof e=="function")n=await e(r);else{const i=e[r];n=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(n){const i=n.indexOf("<svg");i>0&&(n=n.slice(i));const{transform:c}=s?.customizations??{};return n=typeof c=="function"?await c(n,t,r):n,n.startsWith("<svg")?await Pe(s?.customizations?.trimCustomSvg===!0?Tr(n):n,t,r,s,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),n)}}async function Le(e,t,r,s){let n;const{customize:i}=s?.customizations??{};for(const c of r)if(n=_r(e,c),n){let a={...Me};typeof i=="function"&&(a=i(a));const{attributes:{width:l,height:f,...o},body:u}=Ar(n,a),g=s?.scale;return await Pe(`<svg >${u}</svg>`,t,c,s,()=>({...o}),d=>{const v=(y,w)=>{const x=d[y];let p;if(!ne(x)){if(x)return;typeof g=="number"?g&&(p=`${g}em`):p=w}p?d[y]=p:delete d[y]};v("width",l),v("height",f)})}}const ke=async(e,t,r)=>{const s=r?.customCollections?.[e];if(s)if(typeof s=="function"){let n;try{n=await s(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(n){if(typeof n=="string")return await ge(()=>n,e,t,r);if("icons"in n){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Le(n,e,i,r)}}}else return await ge(s,e,t,r)};function Lr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kr=["academicons","akar-icons","ant-design","arcticons","basil","bi","bitcoin-icons","bpmn","brandico","bx","bxl","bxs","bytesize","carbon","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codicon","covid","cryptocurrency-color","cryptocurrency","dashicons","devicon-line","devicon-original","devicon-plain","devicon","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","jam","la","lets-icons","line-md","logos","ls","lucide","mage","majesticons","maki","map","marketeq","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","pixelarticons","prime","ps","quill","radix-icons","raphael","ri","si-glyph","simple-icons","simple-line-icons","skill-icons","solar","streamline-emojis","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","whh","wi","wpf","zmdi","zondicons"];const Nr=Lr(kr),Ir=3;function Fr(e){return(t={})=>{const{scale:r=1,mode:s="auto",prefix:n="i-",warn:i=!1,collections:c,extraProperties:a={},customizations:l={},autoInstall:f=!1,collectionsNodeResolvePath:o,layer:u="icons",unit:g}=t,d=zr(),v={addXmlNs:!0,scale:r,customCollections:c,autoInstall:f,cwd:o,warn:void 0,customizations:{...l,additionalProps:{...a},trimCustomSvg:!0,async iconCustomizer(w,x,p){await l.iconCustomizer?.(w,x,p),g&&(p.width||(p.width=`${r}${g}`),p.height||(p.height=`${r}${g}`))}}};let y;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},rules:[[/^([a-z0-9:_-]+)(?:\?(mask|bg|auto))?$/,async([w,x,p=s])=>{let S="",h="",m;y=y||await e(t);const E={};if(x.includes(":"))[S,h]=x.split(":"),m=await y(S,h,{...v,usedProps:E});else{const A=x.split(/-/g);for(let O=Ir;O>=1&&(S=A.slice(0,O).join("-"),h=A.slice(O).join("-"),m=await y(S,h,{...v,usedProps:E}),!m);O--);}if(!m){i&&!d.isESLint&&Ae(`failed to load icon "${w}"`);return}const C=`url("data:image/svg+xml;utf8,${Rr(m)}")`;return p==="auto"&&(p=m.includes("currentColor")?"mask":"bg"),p==="mask"?{"--un-icon":C,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...E}:{background:`${C} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...E}},{layer:u,prefix:n}]]}}}function Ne(e,t){const r=new Map;function s(n){if(Nr.includes(n))return r.has(n)||r.set(n,e(`${t}@iconify-json/${n}/icons.json`)),r.get(n)}return async(n,i,c)=>{let a=await ke(n,i,c);if(a)return a;const l=await s(n);if(l){const f=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Le(l,n,f,c)}return a}}function zr(){const e=typeof process<"u"&&process.stdout&&!process.versions.deno,t=e&&!!he.VSCODE_CWD,r=e&&!!he.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}function Dr(e){return Ne(Tt,e)}const Ur=Fr(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?Ne(t,r):r?Dr(r):ke});function Vr(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function ye(e){return e.charAt(0).toUpperCase()+e.slice(1)}function we(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var be=["Webkit","Moz","ms"];function Br(e){const t={};function r(s){const n=t[s];if(n)return n;let i=Vr(s);if(i!=="filter"&&i in e)return t[s]=we(i);i=ye(i);for(let c=0;c<be.length;c++){const a=`${be[c]}${i}`;if(a in e)return t[s]=we(ye(a))}return s}return({entries:s})=>s.forEach(n=>{n[0].startsWith("--")||(n[0]=r(n[0]))})}function qr(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}function Hr(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,s=()=>r.documentElement,n=t.__unocss||{},i=Object.assign({},e,n.runtime),c=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(c.postprocess=M(c.postprocess)).unshift(Br(r.createElement("div").style)),i.configResolved?.(n,c);const l=ur(n,c),f=_=>i.inject?i.inject(_):s().prepend(_),o=()=>i.rootElement?i.rootElement():r.body,u=new Map;let g=!0,d=new Set,v,y,w=[];const x=()=>new Promise(_=>{w.push(_),y!=null&&clearTimeout(y),y=setTimeout(()=>h().then(()=>{const b=w;w=[],b.forEach($=>$())}),0)});function p(_){if(_.nodeType!==1)return;const b=_;b.hasAttribute(a)&&b.removeAttribute(a),b.querySelectorAll(`[${a}]`).forEach($=>{$.removeAttribute(a)})}function S(_,b){let $=u.get(_);if(!$)if($=r.createElement("style"),$.setAttribute("data-unocss-runtime-layer",_),u.set(_,$),b==null)f($);else{const T=S(b),j=T.parentNode;j?j.insertBefore($,T.nextSibling):f($)}return $}async function h(){const _=await l.generate(d);return _.layers.reduce((b,$)=>(S($,b).innerHTML=_.getLayer($)??"",$),void 0),d=_.matched,{..._,getStyleElement:b=>u.get(b),getStyleElements:()=>u}}async function m(_){const b=d.size;await l.applyExtractors(_,void 0,d),b!==d.size&&await x()}async function E(_=o()){const b=_&&_.outerHTML;b&&(await m(`${b} ${qr(b)}`),p(s()),p(_))}const C=new MutationObserver(_=>{g||_.forEach(async b=>{if(b.target.nodeType!==1)return;const $=b.target;for(const T of u)if($===T[1])return;if(b.type==="childList")b.addedNodes.forEach(async T=>{if(T.nodeType!==1)return;const j=T;v&&!v(j)||(await m(j.outerHTML),p(j))});else{if(v&&!v($))return;if(b.attributeName!==a){const T=Array.from($.attributes).map(k=>k.value?`${k.name}="${k.value}"`:k.name).join(" "),j=`<${$.tagName.toLowerCase()} ${T}>`;await m(j)}$.hasAttribute(a)&&$.removeAttribute(a)}})});let A=!1;function O(){if(A)return;const _=i.observer?.target?i.observer.target():o();_&&(C.observe(_,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),A=!0)}function L(){i.bypassDefined&&Gr(l.blocked),E(),O()}function I(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",L):L()}const D=t.__unocss_runtime=t.__unocss_runtime={version:l.version,uno:l,async extract(_){R(_)||(_.forEach(b=>d.add(b)),_=""),await m(_)},extractAll:E,inspect(_){v=_},toggleObserver(_){_===void 0?g=!g:g=!!_,!A&&!g&&I()},update:h,presets:t.__unocss_runtime?.presets??{}};i.ready?.(D)!==!1&&(g=!1,I())}function Gr(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let s;try{if(s=r.cssRules||r.rules,!s)continue;Array.from(s).flatMap(n=>n.selectorText?.split(/,/g)||[]).forEach(n=>{n&&(n=n.trim(),n.startsWith(".")&&(n=n.slice(1)),e.add(n))})}catch{continue}}return e}Hr({defaults:{presets:[Ur({prefix:["i-",""],collections:{},cdn:"https://esm.sh/",scale:1.2,extraProperties:{display:"inline-block","vertical-align":"middle"}})]},bypassDefined:!0});
package/client/index.html CHANGED
@@ -6,8 +6,8 @@
6
6
  <link rel="icon" href="./logo.svg" type="image/svg+xml" />
7
7
  <title>Vue DevTools Client</title>
8
8
  <script src="./color-scheme.js"></script>
9
- <script type="module" crossorigin src="./assets/index-BRh53It5.js"></script>
10
- <link rel="stylesheet" crossorigin href="./assets/index-THmizwtr.css">
9
+ <script type="module" crossorigin src="./assets/index-MOiccYc6.js"></script>
10
+ <link rel="stylesheet" crossorigin href="./assets/index-D4yfbSKS.css">
11
11
  </head>
12
12
  <body>
13
13
  <div id="app"></div>