vite-plugin-vue-devtools 7.4.4 → 7.4.6

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 (35) hide show
  1. package/client/assets/css-DxbI8p4U.js +1 -0
  2. package/client/assets/diff-B__owCNr.js +1 -0
  3. package/client/assets/html-BbxnMRua.js +1 -0
  4. package/client/assets/index-BG9MJ6kx.css +1 -0
  5. package/client/assets/index-DtznZONV.js +1166 -0
  6. package/client/assets/javascript-gqDMXQVE.js +1 -0
  7. package/client/assets/json-CkQAVq00.js +1 -0
  8. package/client/assets/shellscript-CCV3ZPmh.js +1 -0
  9. package/client/assets/typescript-BUp808Xb.js +1 -0
  10. package/client/assets/vitesse-dark-DOSOf2Sz.js +1 -0
  11. package/client/assets/vitesse-light-gUX51GpB.js +1 -0
  12. package/client/assets/vue-V6dy9MFq.js +1 -0
  13. package/client/assets/vue-html-Fk04G6Ph.js +1 -0
  14. package/client/assets/yaml-CR7ZIA5n.js +1 -0
  15. package/client/index.html +2 -2
  16. package/dist/vite.cjs +225 -225
  17. package/dist/vite.mjs +224 -224
  18. package/package.json +5 -5
  19. package/src/overlay/devtools-overlay.css +1 -1
  20. package/src/overlay/devtools-overlay.mjs +4 -4
  21. package/src/overlay.js +1 -1
  22. package/client/assets/css-C31OBGbl.js +0 -1
  23. package/client/assets/diff-DvyTQcux.js +0 -1
  24. package/client/assets/html-CrC0eaF2.js +0 -1
  25. package/client/assets/index-C5B0ozEB.css +0 -1
  26. package/client/assets/index-DQiClRQr.js +0 -1092
  27. package/client/assets/javascript-Wkyh6-uf.js +0 -1
  28. package/client/assets/json-D85lwgPO.js +0 -1
  29. package/client/assets/shellscript-DKrjeWrU.js +0 -1
  30. package/client/assets/typescript-KCgU82S2.js +0 -1
  31. package/client/assets/vitesse-dark-BLmvGqlk.js +0 -1
  32. package/client/assets/vitesse-light-BYelj_cE.js +0 -1
  33. package/client/assets/vue-ClP425Kk.js +0 -5
  34. package/client/assets/vue-html-Cint6D83.js +0 -1
  35. package/client/assets/yaml-DOt8O2FJ.js +0 -1
@@ -0,0 +1 @@
1
+ import t from"./vue-V6dy9MFq.js";import e from"./javascript-gqDMXQVE.js";import"./html-BbxnMRua.js";import"./css-DxbI8p4U.js";import"./typescript-BUp808Xb.js";import"./json-CkQAVq00.js";import"./yaml-CR7ZIA5n.js";const n=Object.freeze(JSON.parse(`{"displayName":"Vue HTML","fileTypes":[],"name":"vue-html","patterns":[{"include":"source.vue#vue-interpolations"},{"begin":"(<)([A-Z][a-zA-Z0-9:-]*)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"support.class.component.html"}},"end":"(>)(<)(/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"},"2":{"name":"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},"3":{"name":"punctuation.definition.tag.begin.html"},"4":{"name":"support.class.component.html"},"5":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<)([a-z][a-zA-Z0-9:-]*)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>)(<)(/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"},"2":{"name":"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},"3":{"name":"punctuation.definition.tag.begin.html"},"4":{"name":"entity.name.tag.html"},"5":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"-->","name":"comment.block.html"},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"begin":"(</?)([A-Z][a-zA-Z0-9:-]*\\\\b)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"support.class.component.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([a-z][a-zA-Z0-9:-]*\\\\b)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:body|head|html)\\\\b)","captures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\\\\b)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\\\\b)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([a-zA-Z0-9:-]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}],"repository":{"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([a-zA-Z0-9]+|#\\\\d+|#x[0-9a-fA-F]+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"source.vue#vue-interpolations"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"source.vue#vue-interpolations"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"(?<=[^=])\\\\b([a-zA-Z0-9:\\\\-_]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?!\\\\G)(?<='|\\"|[^\\\\s<>/])","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"source.vue#vue-interpolations"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"source.vue#vue-interpolations"},{"include":"#entities"}]},{"captures":{"0":{"name":"meta.toc-list.id.html"}},"match":"(?<==)(?:[^\\\\s<>/'\\"]|/(?!>))+","name":"string.unquoted.html"}]},"tag-stuff":{"patterns":[{"include":"#vue-directives"},{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#unquoted-attribute"}]},"unquoted-attribute":{"match":"(?<==)(?:[^\\\\s<>/'\\"]|/(?!>))+","name":"string.unquoted.html"},"vue-directives":{"begin":"(?:\\\\b(v-)|(:|@|#))([a-zA-Z0-9\\\\-_]+)(?::([a-zA-Z\\\\-_]+))?(?:\\\\.([a-zA-Z\\\\-_]+))*\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.html"},"2":{"name":"punctuation.separator.key-value.html"},"3":{"name":"entity.other.attribute-name.html"},"4":{"name":"entity.other.attribute-name.html"},"5":{"name":"entity.other.attribute-name.html"},"6":{"name":"punctuation.separator.key-value.html"}},"end":"(?<='|\\")|(?=[\\\\s<>\`])","name":"meta.directive.vue","patterns":[{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"source.directive.vue","patterns":[{"include":"source.js#expression"}]},{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"source.directive.vue","patterns":[{"include":"source.js#expression"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"source.directive.vue","patterns":[{"include":"source.js#expression"}]}]}},"scopeName":"text.html.vue-html","embeddedLangs":["vue","javascript"]}`));var s=[...t,...e,n];export{s as default};
@@ -0,0 +1 @@
1
+ const e=Object.freeze(JSON.parse(`{"displayName":"YAML","fileTypes":["yaml","yml","rviz","reek","clang-format","yaml-tmlanguage","syntax","sublime-syntax"],"firstLineMatch":"^%YAML( ?1.\\\\d+)?","name":"yaml","patterns":[{"include":"#comment"},{"include":"#property"},{"include":"#directive"},{"match":"^---","name":"entity.other.document.begin.yaml"},{"match":"^\\\\.{3}","name":"entity.other.document.end.yaml"},{"include":"#node"}],"repository":{"block-collection":{"patterns":[{"include":"#block-sequence"},{"include":"#block-mapping"}]},"block-mapping":{"patterns":[{"include":"#block-pair"}]},"block-node":{"patterns":[{"include":"#prototype"},{"include":"#block-scalar"},{"include":"#block-collection"},{"include":"#flow-scalar-plain-out"},{"include":"#flow-node"}]},"block-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"1":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=\\\\?)|^ *(:)|(:)","endCaptures":{"1":{"name":"punctuation.separator.key-value.mapping.yaml"},"2":{"name":"invalid.illegal.expected-newline.yaml"}},"name":"meta.block-mapping.yaml","patterns":[{"include":"#block-node"}]},{"begin":"(?=(?:[^\\\\s[-?:,\\\\[\\\\]{}#&*!|>'\\"%@\`]]|[?:-]\\\\S)([^\\\\s:]|:\\\\S|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$))","patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^\\\\s[-?:,\\\\[\\\\]{}#&*!|>'\\"%@\`]]|[?:-]\\\\S","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},{"match":":(?=\\\\s|$)","name":"punctuation.separator.key-value.mapping.yaml"}]},"block-scalar":{"begin":"(?:(\\\\|)|(>))([1-9])?([-+])?(.*\\\\n?)","beginCaptures":{"1":{"name":"keyword.control.flow.block-scalar.literal.yaml"},"2":{"name":"keyword.control.flow.block-scalar.folded.yaml"},"3":{"name":"constant.numeric.indentation-indicator.yaml"},"4":{"name":"storage.modifier.chomping-indicator.yaml"},"5":{"patterns":[{"include":"#comment"},{"match":".+","name":"invalid.illegal.expected-comment-or-newline.yaml"}]}},"end":"^(?=\\\\S)|(?!\\\\G)","patterns":[{"begin":"^([ ]+)(?! )","end":"^(?!\\\\1|\\\\s*$)","name":"string.unquoted.block.yaml"}]},"block-sequence":{"match":"(-)(?!\\\\S)","name":"punctuation.definition.block.sequence.item.yaml"},"comment":{"begin":"(?:(^[ \\\\t]*)|[ \\\\t]+)(?=#\\\\p{Print}*$)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.yaml"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.yaml"}},"end":"\\\\n","name":"comment.line.number-sign.yaml"}]},"directive":{"begin":"^%","beginCaptures":{"0":{"name":"punctuation.definition.directive.begin.yaml"}},"end":"(?=$|[ \\\\t]+($|#))","name":"meta.directive.yaml","patterns":[{"captures":{"1":{"name":"keyword.other.directive.yaml.yaml"},"2":{"name":"constant.numeric.yaml-version.yaml"}},"match":"\\\\G(YAML)[ \\\\t]+(\\\\d+\\\\.\\\\d+)"},{"captures":{"1":{"name":"keyword.other.directive.tag.yaml"},"2":{"name":"storage.type.tag-handle.yaml"},"3":{"name":"support.type.tag-prefix.yaml"}},"match":"\\\\G(TAG)(?:[ \\\\t]+((?:!(?:[0-9A-Za-z\\\\-]*!)?))(?:[ \\\\t]+(!(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\-#;/?:@&=+$,_.!~*'()\\\\[\\\\]])*|(?![,!\\\\[\\\\]{}])(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\-#;/?:@&=+$,_.!~*'()\\\\[\\\\]])+))?)?"},{"captures":{"1":{"name":"support.other.directive.reserved.yaml"},"2":{"name":"string.unquoted.directive-name.yaml"},"3":{"name":"string.unquoted.directive-parameter.yaml"}},"match":"\\\\G(\\\\w+)(?:[ \\\\t]+(\\\\w+)(?:[ \\\\t]+(\\\\w+))?)?"},{"match":"\\\\S+","name":"invalid.illegal.unrecognized.yaml"}]},"flow-alias":{"captures":{"1":{"name":"keyword.control.flow.alias.yaml"},"2":{"name":"punctuation.definition.alias.yaml"},"3":{"name":"variable.other.alias.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"((\\\\*))([^\\\\s\\\\[\\\\]/{/},]+)([^\\\\s\\\\]},]\\\\S*)?"},"flow-collection":{"patterns":[{"include":"#flow-sequence"},{"include":"#flow-mapping"}]},"flow-mapping":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.mapping.begin.yaml"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.definition.mapping.end.yaml"}},"name":"meta.flow-mapping.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.mapping.yaml"},{"include":"#flow-pair"}]},"flow-node":{"patterns":[{"include":"#prototype"},{"include":"#flow-alias"},{"include":"#flow-collection"},{"include":"#flow-scalar"}]},"flow-pair":{"patterns":[{"begin":"\\\\?","beginCaptures":{"0":{"name":"punctuation.definition.key-value.begin.yaml"}},"end":"(?=[},\\\\]])","name":"meta.flow-pair.explicit.yaml","patterns":[{"include":"#prototype"},{"include":"#flow-pair"},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[\\\\[\\\\]{},])","beginCaptures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[},\\\\]])","patterns":[{"include":"#flow-value"}]}]},{"begin":"(?=(?:[^\\\\s[-?:,\\\\[\\\\]{}#&*!|>'\\"%@\`]]|[?:-][^\\\\s[\\\\[\\\\]{},]])([^\\\\s:[\\\\[\\\\]{},]]|:[^\\\\s[\\\\[\\\\]{},]]|\\\\s+(?![#\\\\s]))*\\\\s*:(\\\\s|$))","end":"(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$)|\\\\s*:[\\\\[\\\\]{},]|\\\\s*[\\\\[\\\\]{},])","name":"meta.flow-pair.key.yaml","patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^\\\\s[-?:,\\\\[\\\\]{}#&*!|>'\\"%@\`]]|[?:-][^\\\\s[\\\\[\\\\]{},]]","beginCaptures":{"0":{"name":"entity.name.tag.yaml"}},"contentName":"entity.name.tag.yaml","end":"(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$)|\\\\s*:[\\\\[\\\\]{},]|\\\\s*[\\\\[\\\\]{},])","name":"string.unquoted.plain.in.yaml"}]},{"include":"#flow-node"},{"begin":":(?=\\\\s|$|[\\\\[\\\\]{},])","captures":{"0":{"name":"punctuation.separator.key-value.mapping.yaml"}},"end":"(?=[},\\\\]])","name":"meta.flow-pair.yaml","patterns":[{"include":"#flow-value"}]}]},"flow-scalar":{"patterns":[{"include":"#flow-scalar-double-quoted"},{"include":"#flow-scalar-single-quoted"},{"include":"#flow-scalar-plain-in"}]},"flow-scalar-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.double.yaml","patterns":[{"match":"\\\\\\\\([0abtnvfre \\"/\\\\\\\\N_Lp]|x\\\\d\\\\d|u\\\\d{4}|U\\\\d{8})","name":"constant.character.escape.yaml"},{"match":"\\\\\\\\\\\\n","name":"constant.character.escape.double-quoted.newline.yaml"}]},"flow-scalar-plain-in":{"patterns":[{"include":"#flow-scalar-plain-in-implicit-type"},{"begin":"[^\\\\s[-?:,\\\\[\\\\]{}#&*!|>'\\"%@\`]]|[?:-][^\\\\s[\\\\[\\\\]{},]]","end":"(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$)|\\\\s*:[\\\\[\\\\]{},]|\\\\s*[\\\\[\\\\]{},])","name":"string.unquoted.plain.in.yaml"}]},"flow-scalar-plain-in-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?\\\\d)+))|((?:[-+]?(?:\\\\d[0-9_]*)?\\\\.[0-9.]*(?:[eE][-+]\\\\d+)?|[-+]?\\\\d[0-9_]*(?::[0-5]?\\\\d)+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN)))|((?:\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[ \\\\t]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:(?:[ \\\\t]*)Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?))|(=)|(<<))(?:(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$)|\\\\s*:[\\\\[\\\\]{},]|\\\\s*[\\\\[\\\\]{},]))"}]},"flow-scalar-plain-out":{"patterns":[{"include":"#flow-scalar-plain-out-implicit-type"},{"begin":"[^\\\\s[-?:,\\\\[\\\\]{}#&*!|>'\\"%@\`]]|[?:-]\\\\S","end":"(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$))","name":"string.unquoted.plain.out.yaml"}]},"flow-scalar-plain-out-implicit-type":{"patterns":[{"captures":{"1":{"name":"constant.language.null.yaml"},"2":{"name":"constant.language.boolean.yaml"},"3":{"name":"constant.numeric.integer.yaml"},"4":{"name":"constant.numeric.float.yaml"},"5":{"name":"constant.other.timestamp.yaml"},"6":{"name":"constant.language.value.yaml"},"7":{"name":"constant.language.merge.yaml"}},"match":"(?:(null|Null|NULL|~)|(y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF)|((?:[-+]?0b[0-1_]+|[-+]?0[0-7_]+|[-+]?(?:0|[1-9][0-9_]*)|[-+]?0x[0-9a-fA-F_]+|[-+]?[1-9][0-9_]*(?::[0-5]?\\\\d)+))|((?:[-+]?(?:\\\\d[0-9_]*)?\\\\.[0-9.]*(?:[eE][-+]\\\\d+)?|[-+]?\\\\d[0-9_]*(?::[0-5]?\\\\d)+\\\\.[0-9_]*|[-+]?\\\\.(?:inf|Inf|INF)|\\\\.(?:nan|NaN|NAN)))|((?:\\\\d{4}-\\\\d{2}-\\\\d{2}|\\\\d{4}-\\\\d{1,2}-\\\\d{1,2}(?:[Tt]|[ \\\\t]+)\\\\d{1,2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d*)?(?:(?:[ \\\\t]*)Z|[-+]\\\\d{1,2}(?::\\\\d{1,2})?)?))|(=)|(<<))(?:(?=\\\\s*$|\\\\s+\\\\#|\\\\s*:(\\\\s|$)))"}]},"flow-scalar-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.yaml"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.yaml"}},"name":"string.quoted.single.yaml","patterns":[{"match":"''","name":"constant.character.escape.single-quoted.yaml"}]},"flow-sequence":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.sequence.begin.yaml"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.definition.sequence.end.yaml"}},"name":"meta.flow-sequence.yaml","patterns":[{"include":"#prototype"},{"match":",","name":"punctuation.separator.sequence.yaml"},{"include":"#flow-pair"},{"include":"#flow-node"}]},"flow-value":{"patterns":[{"begin":"\\\\G(?![},\\\\]])","end":"(?=[},\\\\]])","name":"meta.flow-pair.value.yaml","patterns":[{"include":"#flow-node"}]}]},"node":{"patterns":[{"include":"#block-node"}]},"property":{"begin":"(?=!|&)","end":"(?!\\\\G)","name":"meta.property.yaml","patterns":[{"captures":{"1":{"name":"keyword.control.property.anchor.yaml"},"2":{"name":"punctuation.definition.anchor.yaml"},"3":{"name":"entity.name.type.anchor.yaml"},"4":{"name":"invalid.illegal.character.anchor.yaml"}},"match":"\\\\G((&))([^\\\\s\\\\[\\\\]/{/},]+)(\\\\S+)?"},{"match":"\\\\G(?:!<(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\-#;/?:@&=+$,_.!~*'()\\\\[\\\\]])+>|(?:!(?:[0-9A-Za-z\\\\-]*!)?)(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\\\\-#;/?:@&=+$_.~*'()])+|!)(?= |\\\\t|$)","name":"storage.type.tag-handle.yaml"},{"match":"\\\\S+","name":"invalid.illegal.tag-handle.yaml"}]},"prototype":{"patterns":[{"include":"#comment"},{"include":"#property"}]}},"scopeName":"source.yaml","aliases":["yml"]}`));var n=[e];export{n as default};
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-DQiClRQr.js"></script>
10
- <link rel="stylesheet" crossorigin href="./assets/index-C5B0ozEB.css">
9
+ <script type="module" crossorigin src="./assets/index-DtznZONV.js"></script>
10
+ <link rel="stylesheet" crossorigin href="./assets/index-BG9MJ6kx.css">
11
11
  </head>
12
12
  <body>
13
13
  <div id="app"></div>
package/dist/vite.cjs CHANGED
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
- const node_url = require('node:url');
4
- const path$a = require('node:path');
5
3
  const fs$8 = require('node:fs');
6
- const vite = require('vite');
4
+ const path$a = require('node:path');
5
+ const node_url = require('node:url');
6
+ const devtoolsCore = require('@vue/devtools-core');
7
+ const devtoolsKit = require('@vue/devtools-kit');
7
8
  const sirv = require('sirv');
9
+ const vite = require('vite');
8
10
  const Inspect = require('vite-plugin-inspect');
9
- const devtoolsKit = require('@vue/devtools-kit');
10
11
  const VueInspector = require('vite-plugin-vue-inspector');
11
- const devtoolsCore = require('@vue/devtools-core');
12
12
  const fsp = require('node:fs/promises');
13
13
  const require$$0 = require('os');
14
14
  const require$$0$1 = require('path');
@@ -19,8 +19,8 @@ const require$$0$4 = require('fs');
19
19
 
20
20
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e.default : e; }
21
21
 
22
- const path__default = /*#__PURE__*/_interopDefaultCompat(path$a);
23
22
  const fs__default = /*#__PURE__*/_interopDefaultCompat(fs$8);
23
+ const path__default = /*#__PURE__*/_interopDefaultCompat(path$a);
24
24
  const sirv__default = /*#__PURE__*/_interopDefaultCompat(sirv);
25
25
  const Inspect__default = /*#__PURE__*/_interopDefaultCompat(Inspect);
26
26
  const VueInspector__default = /*#__PURE__*/_interopDefaultCompat(VueInspector);
@@ -115,62 +115,6 @@ const cyan = kolorist(36, 39);
115
115
  const DIR_DIST = typeof __dirname !== "undefined" ? __dirname : path$a.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('vite.cjs', document.baseURI).href))));
116
116
  const DIR_CLIENT = path$a.resolve(DIR_DIST, "../client");
117
117
 
118
- const DEBOUNCE_DEFAULTS = {
119
- trailing: true
120
- };
121
- function debounce(fn, wait = 25, options = {}) {
122
- options = { ...DEBOUNCE_DEFAULTS, ...options };
123
- if (!Number.isFinite(wait)) {
124
- throw new TypeError("Expected `wait` to be a finite number");
125
- }
126
- let leadingValue;
127
- let timeout;
128
- let resolveList = [];
129
- let currentPromise;
130
- let trailingArgs;
131
- const applyFn = (_this, args) => {
132
- currentPromise = _applyPromised(fn, _this, args);
133
- currentPromise.finally(() => {
134
- currentPromise = null;
135
- if (options.trailing && trailingArgs && !timeout) {
136
- const promise = applyFn(_this, trailingArgs);
137
- trailingArgs = null;
138
- return promise;
139
- }
140
- });
141
- return currentPromise;
142
- };
143
- return function(...args) {
144
- if (currentPromise) {
145
- if (options.trailing) {
146
- trailingArgs = args;
147
- }
148
- return currentPromise;
149
- }
150
- return new Promise((resolve) => {
151
- const shouldCallNow = !timeout && options.leading;
152
- clearTimeout(timeout);
153
- timeout = setTimeout(() => {
154
- timeout = null;
155
- const promise = options.leading ? leadingValue : applyFn(this, args);
156
- for (const _resolve of resolveList) {
157
- _resolve(promise);
158
- }
159
- resolveList = [];
160
- }, wait);
161
- if (shouldCallNow) {
162
- leadingValue = applyFn(this, args);
163
- resolve(leadingValue);
164
- } else {
165
- resolveList.push(resolve);
166
- }
167
- });
168
- };
169
- }
170
- async function _applyPromised(fn, _this, args) {
171
- return await fn.apply(_this, args);
172
- }
173
-
174
118
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
175
119
 
176
120
  function getDefaultExportFromCjs (x) {
@@ -6893,169 +6837,6 @@ var out = FastGlob;
6893
6837
 
6894
6838
  const fg = /*@__PURE__*/getDefaultExportFromCjs(out);
6895
6839
 
6896
- const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
6897
- function normalizeWindowsPath(input = "") {
6898
- if (!input) {
6899
- return input;
6900
- }
6901
- return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
6902
- }
6903
-
6904
- const _UNC_REGEX = /^[/\\]{2}/;
6905
- const _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
6906
- const _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
6907
- const _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
6908
- const normalize = function(path) {
6909
- if (path.length === 0) {
6910
- return ".";
6911
- }
6912
- path = normalizeWindowsPath(path);
6913
- const isUNCPath = path.match(_UNC_REGEX);
6914
- const isPathAbsolute = isAbsolute(path);
6915
- const trailingSeparator = path[path.length - 1] === "/";
6916
- path = normalizeString(path, !isPathAbsolute);
6917
- if (path.length === 0) {
6918
- if (isPathAbsolute) {
6919
- return "/";
6920
- }
6921
- return trailingSeparator ? "./" : ".";
6922
- }
6923
- if (trailingSeparator) {
6924
- path += "/";
6925
- }
6926
- if (_DRIVE_LETTER_RE.test(path)) {
6927
- path += "/";
6928
- }
6929
- if (isUNCPath) {
6930
- if (!isPathAbsolute) {
6931
- return `//./${path}`;
6932
- }
6933
- return `//${path}`;
6934
- }
6935
- return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
6936
- };
6937
- const join = function(...arguments_) {
6938
- if (arguments_.length === 0) {
6939
- return ".";
6940
- }
6941
- let joined;
6942
- for (const argument of arguments_) {
6943
- if (argument && argument.length > 0) {
6944
- if (joined === void 0) {
6945
- joined = argument;
6946
- } else {
6947
- joined += `/${argument}`;
6948
- }
6949
- }
6950
- }
6951
- if (joined === void 0) {
6952
- return ".";
6953
- }
6954
- return normalize(joined.replace(/\/\/+/g, "/"));
6955
- };
6956
- function cwd() {
6957
- if (typeof process !== "undefined" && typeof process.cwd === "function") {
6958
- return process.cwd().replace(/\\/g, "/");
6959
- }
6960
- return "/";
6961
- }
6962
- const resolve = function(...arguments_) {
6963
- arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
6964
- let resolvedPath = "";
6965
- let resolvedAbsolute = false;
6966
- for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
6967
- const path = index >= 0 ? arguments_[index] : cwd();
6968
- if (!path || path.length === 0) {
6969
- continue;
6970
- }
6971
- resolvedPath = `${path}/${resolvedPath}`;
6972
- resolvedAbsolute = isAbsolute(path);
6973
- }
6974
- resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
6975
- if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
6976
- return `/${resolvedPath}`;
6977
- }
6978
- return resolvedPath.length > 0 ? resolvedPath : ".";
6979
- };
6980
- function normalizeString(path, allowAboveRoot) {
6981
- let res = "";
6982
- let lastSegmentLength = 0;
6983
- let lastSlash = -1;
6984
- let dots = 0;
6985
- let char = null;
6986
- for (let index = 0; index <= path.length; ++index) {
6987
- if (index < path.length) {
6988
- char = path[index];
6989
- } else if (char === "/") {
6990
- break;
6991
- } else {
6992
- char = "/";
6993
- }
6994
- if (char === "/") {
6995
- if (lastSlash === index - 1 || dots === 1) ; else if (dots === 2) {
6996
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
6997
- if (res.length > 2) {
6998
- const lastSlashIndex = res.lastIndexOf("/");
6999
- if (lastSlashIndex === -1) {
7000
- res = "";
7001
- lastSegmentLength = 0;
7002
- } else {
7003
- res = res.slice(0, lastSlashIndex);
7004
- lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
7005
- }
7006
- lastSlash = index;
7007
- dots = 0;
7008
- continue;
7009
- } else if (res.length > 0) {
7010
- res = "";
7011
- lastSegmentLength = 0;
7012
- lastSlash = index;
7013
- dots = 0;
7014
- continue;
7015
- }
7016
- }
7017
- if (allowAboveRoot) {
7018
- res += res.length > 0 ? "/.." : "..";
7019
- lastSegmentLength = 2;
7020
- }
7021
- } else {
7022
- if (res.length > 0) {
7023
- res += `/${path.slice(lastSlash + 1, index)}`;
7024
- } else {
7025
- res = path.slice(lastSlash + 1, index);
7026
- }
7027
- lastSegmentLength = index - lastSlash - 1;
7028
- }
7029
- lastSlash = index;
7030
- dots = 0;
7031
- } else if (char === "." && dots !== -1) {
7032
- ++dots;
7033
- } else {
7034
- dots = -1;
7035
- }
7036
- }
7037
- return res;
7038
- }
7039
- const isAbsolute = function(p) {
7040
- return _IS_ABSOLUTE_RE.test(p);
7041
- };
7042
- const relative = function(from, to) {
7043
- const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
7044
- const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
7045
- if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
7046
- return _to.join("/");
7047
- }
7048
- const _fromCopy = [..._from];
7049
- for (const segment of _fromCopy) {
7050
- if (_to[0] !== segment) {
7051
- break;
7052
- }
7053
- _from.shift();
7054
- _to.shift();
7055
- }
7056
- return [..._from.map(() => ".."), ..._to].join("/");
7057
- };
7058
-
7059
6840
  const decoder = new TextDecoder();
7060
6841
  const toUTF8String = (input, start = 0, end = input.length) => decoder.decode(input.slice(start, end));
7061
6842
  const toHexString = (input, start = 0, end = input.length) => input.slice(start, end).reduce((memo, i) => memo + ("0" + i.toString(16)).slice(-2), "");
@@ -7840,6 +7621,225 @@ function imageMeta(input) {
7840
7621
  throw new TypeError(`Unsupported file type: ${type}`);
7841
7622
  }
7842
7623
 
7624
+ const _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
7625
+ function normalizeWindowsPath(input = "") {
7626
+ if (!input) {
7627
+ return input;
7628
+ }
7629
+ return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
7630
+ }
7631
+
7632
+ const _UNC_REGEX = /^[/\\]{2}/;
7633
+ const _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
7634
+ const _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
7635
+ const _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
7636
+ const normalize = function(path) {
7637
+ if (path.length === 0) {
7638
+ return ".";
7639
+ }
7640
+ path = normalizeWindowsPath(path);
7641
+ const isUNCPath = path.match(_UNC_REGEX);
7642
+ const isPathAbsolute = isAbsolute(path);
7643
+ const trailingSeparator = path[path.length - 1] === "/";
7644
+ path = normalizeString(path, !isPathAbsolute);
7645
+ if (path.length === 0) {
7646
+ if (isPathAbsolute) {
7647
+ return "/";
7648
+ }
7649
+ return trailingSeparator ? "./" : ".";
7650
+ }
7651
+ if (trailingSeparator) {
7652
+ path += "/";
7653
+ }
7654
+ if (_DRIVE_LETTER_RE.test(path)) {
7655
+ path += "/";
7656
+ }
7657
+ if (isUNCPath) {
7658
+ if (!isPathAbsolute) {
7659
+ return `//./${path}`;
7660
+ }
7661
+ return `//${path}`;
7662
+ }
7663
+ return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
7664
+ };
7665
+ const join = function(...arguments_) {
7666
+ if (arguments_.length === 0) {
7667
+ return ".";
7668
+ }
7669
+ let joined;
7670
+ for (const argument of arguments_) {
7671
+ if (argument && argument.length > 0) {
7672
+ if (joined === void 0) {
7673
+ joined = argument;
7674
+ } else {
7675
+ joined += `/${argument}`;
7676
+ }
7677
+ }
7678
+ }
7679
+ if (joined === void 0) {
7680
+ return ".";
7681
+ }
7682
+ return normalize(joined.replace(/\/\/+/g, "/"));
7683
+ };
7684
+ function cwd() {
7685
+ if (typeof process !== "undefined" && typeof process.cwd === "function") {
7686
+ return process.cwd().replace(/\\/g, "/");
7687
+ }
7688
+ return "/";
7689
+ }
7690
+ const resolve = function(...arguments_) {
7691
+ arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
7692
+ let resolvedPath = "";
7693
+ let resolvedAbsolute = false;
7694
+ for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
7695
+ const path = index >= 0 ? arguments_[index] : cwd();
7696
+ if (!path || path.length === 0) {
7697
+ continue;
7698
+ }
7699
+ resolvedPath = `${path}/${resolvedPath}`;
7700
+ resolvedAbsolute = isAbsolute(path);
7701
+ }
7702
+ resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
7703
+ if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
7704
+ return `/${resolvedPath}`;
7705
+ }
7706
+ return resolvedPath.length > 0 ? resolvedPath : ".";
7707
+ };
7708
+ function normalizeString(path, allowAboveRoot) {
7709
+ let res = "";
7710
+ let lastSegmentLength = 0;
7711
+ let lastSlash = -1;
7712
+ let dots = 0;
7713
+ let char = null;
7714
+ for (let index = 0; index <= path.length; ++index) {
7715
+ if (index < path.length) {
7716
+ char = path[index];
7717
+ } else if (char === "/") {
7718
+ break;
7719
+ } else {
7720
+ char = "/";
7721
+ }
7722
+ if (char === "/") {
7723
+ if (lastSlash === index - 1 || dots === 1) ; else if (dots === 2) {
7724
+ if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
7725
+ if (res.length > 2) {
7726
+ const lastSlashIndex = res.lastIndexOf("/");
7727
+ if (lastSlashIndex === -1) {
7728
+ res = "";
7729
+ lastSegmentLength = 0;
7730
+ } else {
7731
+ res = res.slice(0, lastSlashIndex);
7732
+ lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
7733
+ }
7734
+ lastSlash = index;
7735
+ dots = 0;
7736
+ continue;
7737
+ } else if (res.length > 0) {
7738
+ res = "";
7739
+ lastSegmentLength = 0;
7740
+ lastSlash = index;
7741
+ dots = 0;
7742
+ continue;
7743
+ }
7744
+ }
7745
+ if (allowAboveRoot) {
7746
+ res += res.length > 0 ? "/.." : "..";
7747
+ lastSegmentLength = 2;
7748
+ }
7749
+ } else {
7750
+ if (res.length > 0) {
7751
+ res += `/${path.slice(lastSlash + 1, index)}`;
7752
+ } else {
7753
+ res = path.slice(lastSlash + 1, index);
7754
+ }
7755
+ lastSegmentLength = index - lastSlash - 1;
7756
+ }
7757
+ lastSlash = index;
7758
+ dots = 0;
7759
+ } else if (char === "." && dots !== -1) {
7760
+ ++dots;
7761
+ } else {
7762
+ dots = -1;
7763
+ }
7764
+ }
7765
+ return res;
7766
+ }
7767
+ const isAbsolute = function(p) {
7768
+ return _IS_ABSOLUTE_RE.test(p);
7769
+ };
7770
+ const relative = function(from, to) {
7771
+ const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
7772
+ const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
7773
+ if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
7774
+ return _to.join("/");
7775
+ }
7776
+ const _fromCopy = [..._from];
7777
+ for (const segment of _fromCopy) {
7778
+ if (_to[0] !== segment) {
7779
+ break;
7780
+ }
7781
+ _from.shift();
7782
+ _to.shift();
7783
+ }
7784
+ return [..._from.map(() => ".."), ..._to].join("/");
7785
+ };
7786
+
7787
+ const DEBOUNCE_DEFAULTS = {
7788
+ trailing: true
7789
+ };
7790
+ function debounce(fn, wait = 25, options = {}) {
7791
+ options = { ...DEBOUNCE_DEFAULTS, ...options };
7792
+ if (!Number.isFinite(wait)) {
7793
+ throw new TypeError("Expected `wait` to be a finite number");
7794
+ }
7795
+ let leadingValue;
7796
+ let timeout;
7797
+ let resolveList = [];
7798
+ let currentPromise;
7799
+ let trailingArgs;
7800
+ const applyFn = (_this, args) => {
7801
+ currentPromise = _applyPromised(fn, _this, args);
7802
+ currentPromise.finally(() => {
7803
+ currentPromise = null;
7804
+ if (options.trailing && trailingArgs && !timeout) {
7805
+ const promise = applyFn(_this, trailingArgs);
7806
+ trailingArgs = null;
7807
+ return promise;
7808
+ }
7809
+ });
7810
+ return currentPromise;
7811
+ };
7812
+ return function(...args) {
7813
+ if (currentPromise) {
7814
+ if (options.trailing) {
7815
+ trailingArgs = args;
7816
+ }
7817
+ return currentPromise;
7818
+ }
7819
+ return new Promise((resolve) => {
7820
+ const shouldCallNow = !timeout && options.leading;
7821
+ clearTimeout(timeout);
7822
+ timeout = setTimeout(() => {
7823
+ timeout = null;
7824
+ const promise = options.leading ? leadingValue : applyFn(this, args);
7825
+ for (const _resolve of resolveList) {
7826
+ _resolve(promise);
7827
+ }
7828
+ resolveList = [];
7829
+ }, wait);
7830
+ if (shouldCallNow) {
7831
+ leadingValue = applyFn(this, args);
7832
+ resolve(leadingValue);
7833
+ } else {
7834
+ resolveList.push(resolve);
7835
+ }
7836
+ });
7837
+ };
7838
+ }
7839
+ async function _applyPromised(fn, _this, args) {
7840
+ return await fn.apply(_this, args);
7841
+ }
7842
+
7843
7843
  function guessType(path) {
7844
7844
  if (/\.(?:png|jpe?g|jxl|gif|svg|webp|avif|ico|bmp|tiff?)$/i.test(path))
7845
7845
  return "image";