diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..1c31ab5d --- /dev/null +++ b/404.html @@ -0,0 +1,21 @@ + + + + + + 404 | eslint-plugin-lodash-template + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/assets/app.Cvc5gvJO.js b/assets/app.Cvc5gvJO.js new file mode 100644 index 00000000..7ab40a03 --- /dev/null +++ b/assets/app.Cvc5gvJO.js @@ -0,0 +1 @@ +import{U as o,aa as p,ab as u,ac as l,ad as c,ae as f,af as d,ag as m,ah as h,ai as g,aj as A,d as P,u as v,y,x as C,ak as b,al as w,am as E,a8 as R}from"./chunks/framework.CPdKJSF1.js";import{t as S}from"./chunks/theme.Cply-KWe.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(S),_=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&b(),w(),E(),s.setup&&s.setup(),()=>R(s.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=x(),a=j();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function j(){return h(_)}function x(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{T as createApp}; diff --git a/assets/chunks/@localSearchIndexroot.BAh-23VX.js b/assets/chunks/@localSearchIndexroot.BAh-23VX.js new file mode 100644 index 00000000..ffa71ca9 --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.BAh-23VX.js @@ -0,0 +1 @@ +const t='{"documentCount":183,"nextId":183,"documentIds":{"0":"/eslint-plugin-lodash-template/#eslint-plugin-lodash-template","1":"/eslint-plugin-lodash-template/#features","2":"/eslint-plugin-lodash-template/#installation","3":"/eslint-plugin-lodash-template/#usage","4":"/eslint-plugin-lodash-template/#attention","5":"/eslint-plugin-lodash-template/#configs","6":"/eslint-plugin-lodash-template/#for-eslint-config-js","7":"/eslint-plugin-lodash-template/#for-eslintrc","8":"/eslint-plugin-lodash-template/#all-rules","9":"/eslint-plugin-lodash-template/#plugin-option","10":"/eslint-plugin-lodash-template/#suppress-no-undef-warnings-in-the-template-tag","11":"/eslint-plugin-lodash-template/#suppress-reports-for-specific-rules-in-template-files","12":"/eslint-plugin-lodash-template/#customize-parser","13":"/eslint-plugin-lodash-template/#customize-target-extensions","14":"/eslint-plugin-lodash-template/#for-javascript-typescript-templates","15":"/eslint-plugin-lodash-template/#configuring","16":"/eslint-plugin-lodash-template/#faq","17":"/eslint-plugin-lodash-template/#known-limitations-in-script-templates","18":"/eslint-plugin-lodash-template/#parsing-error","19":"/eslint-plugin-lodash-template/#false-positives-in-some-rules","20":"/eslint-plugin-lodash-template/#editor-settings","21":"/eslint-plugin-lodash-template/#migrations","22":"/eslint-plugin-lodash-template/#contributing","23":"/eslint-plugin-lodash-template/#parserservices","24":"/eslint-plugin-lodash-template/#development-tools","25":"/eslint-plugin-lodash-template/#license","26":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#_0-13-x-to-0-14-x","27":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#breaking-changes","28":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#moved-some-rule-categories","29":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#in-0-13-x","30":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#for-0-14-x","31":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#rename-some-rules","32":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#customize-target-extentions","33":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#in-0-13-x-1","34":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#for-0-14-x-1","35":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#suppress-no-undef-warnings-in-the-template-tag","36":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#in-0-13-x-2","37":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#for-0-14-x-2","38":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#suppress-reports-for-specific-rules-in-template-files","39":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#in-0-13-x-3","40":"/eslint-plugin-lodash-template/migration/0.13to0.14.html#for-0-14-x-3","41":"/eslint-plugin-lodash-template/rules/attribute-name-casing.html#lodash-template-attribute-name-casing","42":"/eslint-plugin-lodash-template/rules/attribute-name-casing.html#rule-details","43":"/eslint-plugin-lodash-template/rules/attribute-name-casing.html#options","44":"/eslint-plugin-lodash-template/rules/attribute-name-casing.html#examples-for-this-rule-with-ignore-onclick-option","45":"/eslint-plugin-lodash-template/rules/attribute-name-casing.html#examples-for-this-rule-with-ignoresvgcamelcaseattributes-true-default","46":"/eslint-plugin-lodash-template/rules/attribute-name-casing.html#further-reading","47":"/eslint-plugin-lodash-template/rules/attribute-name-casing.html#implementation","48":"/eslint-plugin-lodash-template/rules/attribute-value-quote.html#lodash-template-attribute-value-quote","49":"/eslint-plugin-lodash-template/rules/attribute-value-quote.html#rule-details","50":"/eslint-plugin-lodash-template/rules/attribute-value-quote.html#options","51":"/eslint-plugin-lodash-template/rules/attribute-value-quote.html#examples-for-this-rule-with-single-option","52":"/eslint-plugin-lodash-template/rules/attribute-value-quote.html#examples-for-this-rule-with-either-option","53":"/eslint-plugin-lodash-template/rules/attribute-value-quote.html#further-reading","54":"/eslint-plugin-lodash-template/rules/attribute-value-quote.html#implementation","55":"/eslint-plugin-lodash-template/rules/element-name-casing.html#lodash-template-element-name-casing","56":"/eslint-plugin-lodash-template/rules/element-name-casing.html#rule-details","57":"/eslint-plugin-lodash-template/rules/element-name-casing.html#further-reading","58":"/eslint-plugin-lodash-template/rules/element-name-casing.html#implementation","59":"/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html#lodash-template-html-closing-bracket-spacing","60":"/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html#rule-details","61":"/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html#options","62":"/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html#implementation","63":"/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html#lodash-template-html-closing-bracket-newline","64":"/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html#rule-details","65":"/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html#options","66":"/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html#examples-for-this-rule-with-multiline-always-option","67":"/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html#implementation","68":"/eslint-plugin-lodash-template/rules/html-comment-content-newline.html#lodash-template-html-comment-content-newline","69":"/eslint-plugin-lodash-template/rules/html-comment-content-newline.html#rule-details","70":"/eslint-plugin-lodash-template/rules/html-comment-content-newline.html#options","71":"/eslint-plugin-lodash-template/rules/html-comment-content-newline.html#further-reading","72":"/eslint-plugin-lodash-template/rules/html-comment-content-newline.html#implementation","73":"/eslint-plugin-lodash-template/rules/html-comment-spacing.html#lodash-template-html-comment-spacing","74":"/eslint-plugin-lodash-template/rules/html-comment-spacing.html#rule-details","75":"/eslint-plugin-lodash-template/rules/html-comment-spacing.html#options","76":"/eslint-plugin-lodash-template/rules/html-comment-spacing.html#always-expect-one-space-between-comment-and-curly-brackets","77":"/eslint-plugin-lodash-template/rules/html-comment-spacing.html#never-expect-no-spaces-between-comment-and-curly-brackets","78":"/eslint-plugin-lodash-template/rules/html-comment-spacing.html#implementation","79":"/eslint-plugin-lodash-template/rules/html-content-newline.html#lodash-template-html-content-newline","80":"/eslint-plugin-lodash-template/rules/html-content-newline.html#rule-details","81":"/eslint-plugin-lodash-template/rules/html-content-newline.html#options","82":"/eslint-plugin-lodash-template/rules/html-content-newline.html#implementation","83":"/eslint-plugin-lodash-template/rules/html-indent.html#lodash-template-html-indent","84":"/eslint-plugin-lodash-template/rules/html-indent.html#rule-details","85":"/eslint-plugin-lodash-template/rules/html-indent.html#options","86":"/eslint-plugin-lodash-template/rules/html-indent.html#examples-for-this-rule-with-attribute-1-closebracket-1-option","87":"/eslint-plugin-lodash-template/rules/html-indent.html#examples-for-this-rule-with-attribute-2-closebracket-1-option","88":"/eslint-plugin-lodash-template/rules/html-indent.html#implementation","89":"/eslint-plugin-lodash-template/rules/#all-rules","90":"/eslint-plugin-lodash-template/rules/#base-rules-enabling-correct-eslint-parsing","91":"/eslint-plugin-lodash-template/rules/#best-practices-improve-development-experience","92":"/eslint-plugin-lodash-template/rules/#recommended-improve-readability","93":"/eslint-plugin-lodash-template/rules/#recommended-with-html-template-improve-readability-with-html-template","94":"/eslint-plugin-lodash-template/rules/#uncategorized","95":"/eslint-plugin-lodash-template/rules/max-attributes-per-line.html#lodash-template-max-attributes-per-line","96":"/eslint-plugin-lodash-template/rules/max-attributes-per-line.html#rule-details","97":"/eslint-plugin-lodash-template/rules/max-attributes-per-line.html#options","98":"/eslint-plugin-lodash-template/rules/max-attributes-per-line.html#allowfirstline","99":"/eslint-plugin-lodash-template/rules/max-attributes-per-line.html#singleline","100":"/eslint-plugin-lodash-template/rules/max-attributes-per-line.html#multiline","101":"/eslint-plugin-lodash-template/rules/max-attributes-per-line.html#implementation","102":"/eslint-plugin-lodash-template/rules/no-empty-template-tag.html#lodash-template-no-empty-template-tag","103":"/eslint-plugin-lodash-template/rules/no-empty-template-tag.html#rule-details","104":"/eslint-plugin-lodash-template/rules/no-empty-template-tag.html#implementation","105":"/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html#lodash-template-no-duplicate-attributes","106":"/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html#rule-details","107":"/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html#implementation","108":"/eslint-plugin-lodash-template/rules/no-html-comments.html#lodash-template-no-html-comments","109":"/eslint-plugin-lodash-template/rules/no-html-comments.html#rule-details","110":"/eslint-plugin-lodash-template/rules/no-html-comments.html#implementation","111":"/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html#lodash-template-no-invalid-template-interpolation","112":"/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html#rule-details","113":"/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html#implementation","114":"/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html#lodash-template-no-irregular-whitespace","115":"/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html#rule-details","116":"/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html#options","117":"/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html#further-reading","118":"/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html#implementation","119":"/eslint-plugin-lodash-template/rules/no-multi-spaces-in-html-tag.html#lodash-template-no-multi-spaces-in-html-tag","120":"/eslint-plugin-lodash-template/rules/no-multi-spaces-in-html-tag.html#rule-details","121":"/eslint-plugin-lodash-template/rules/no-multi-spaces-in-html-tag.html#implementation","122":"/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html#lodash-template-no-multi-spaces-in-scriptlet","123":"/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html#rule-details","124":"/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html#further-reading","125":"/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html#implementation","126":"/eslint-plugin-lodash-template/rules/no-script-parsing-error.html#lodash-template-no-script-parsing-error","127":"/eslint-plugin-lodash-template/rules/no-script-parsing-error.html#rule-details","128":"/eslint-plugin-lodash-template/rules/no-script-parsing-error.html#implementation","129":"/eslint-plugin-lodash-template/rules/no-semi-in-template-interpolation.html#lodash-template-no-semi-in-template-interpolation","130":"/eslint-plugin-lodash-template/rules/no-semi-in-template-interpolation.html#rule-details","131":"/eslint-plugin-lodash-template/rules/no-semi-in-template-interpolation.html#implementation","132":"/eslint-plugin-lodash-template/rules/no-space-attribute-equal-sign.html#lodash-template-no-space-attribute-equal-sign","133":"/eslint-plugin-lodash-template/rules/no-space-attribute-equal-sign.html#rule-details","134":"/eslint-plugin-lodash-template/rules/no-space-attribute-equal-sign.html#further-reading","135":"/eslint-plugin-lodash-template/rules/no-space-attribute-equal-sign.html#implementation","136":"/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html#lodash-template-no-template-tag-in-start-tag","137":"/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html#rule-details","138":"/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html#options","139":"/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html#examples-for-this-rule-with-arrowevaluatetag-true-option","140":"/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html#implementation","141":"/eslint-plugin-lodash-template/rules/prefer-escape-template-interpolations.html#lodash-template-prefer-escape-template-interpolations","142":"/eslint-plugin-lodash-template/rules/prefer-escape-template-interpolations.html#rule-details","143":"/eslint-plugin-lodash-template/rules/prefer-escape-template-interpolations.html#implementation","144":"/eslint-plugin-lodash-template/rules/no-warning-html-comments.html#lodash-template-no-warning-html-comments","145":"/eslint-plugin-lodash-template/rules/no-warning-html-comments.html#rule-details","146":"/eslint-plugin-lodash-template/rules/no-warning-html-comments.html#implementation","147":"/eslint-plugin-lodash-template/rules/scriptlet-indent.html#lodash-template-scriptlet-indent","148":"/eslint-plugin-lodash-template/rules/scriptlet-indent.html#rule-details","149":"/eslint-plugin-lodash-template/rules/scriptlet-indent.html#options","150":"/eslint-plugin-lodash-template/rules/scriptlet-indent.html#examples-for-this-rule-with-startindent-0","151":"/eslint-plugin-lodash-template/rules/scriptlet-indent.html#examples-for-this-rule-with-startindent-2","152":"/eslint-plugin-lodash-template/rules/scriptlet-indent.html#implementation","153":"/eslint-plugin-lodash-template/rules/template-tag-spacing.html#lodash-template-template-tag-spacing","154":"/eslint-plugin-lodash-template/rules/template-tag-spacing.html#rule-details","155":"/eslint-plugin-lodash-template/rules/template-tag-spacing.html#options","156":"/eslint-plugin-lodash-template/rules/template-tag-spacing.html#always-expect-one-space-between-expression-and-curly-brackets","157":"/eslint-plugin-lodash-template/rules/template-tag-spacing.html#never-expect-no-spaces-between-expression-and-curly-brackets","158":"/eslint-plugin-lodash-template/rules/template-tag-spacing.html#implementation","159":"/eslint-plugin-lodash-template/services/ast-for-html.html#ast-for-html","160":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmltoken","161":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmlnode","162":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmldocument","163":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmldocumentfragment","164":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmldocumenttype","165":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmlcomment","166":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmltext","167":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmlelement","168":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmlstarttag","169":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmlattribute","170":"/eslint-plugin-lodash-template/services/ast-for-html.html#htmlendtag","171":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#ast-for-templatetag","172":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#token","173":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#node","174":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#microtemplateevaluate","175":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#microtemplateinterpolate","176":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#microtemplateescape","177":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#microtemplateexpressionstart","178":"/eslint-plugin-lodash-template/services/ast-for-template-tag.html#microtemplateexpressionend","179":"/eslint-plugin-lodash-template/services/#contributing","180":"/eslint-plugin-lodash-template/services/#microtemplateservice","181":"/eslint-plugin-lodash-template/services/#traverse-microtemplates","182":"/eslint-plugin-lodash-template/services/#traverse-html"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[4,1,75],"1":[1,4,40],"2":[1,4,9],"3":[1,4,51],"4":[1,5,58],"5":[1,4,1],"6":[4,5,48],"7":[3,5,45],"8":[2,4,5],"9":[2,4,1],"10":[8,6,44],"11":[8,6,33],"12":[2,6,55],"13":[3,6,19],"14":[4,6,73],"15":[1,10,45],"16":[1,4,1],"17":[5,5,22],"18":[2,10,45],"19":[5,10,106],"20":[2,5,45],"21":[1,4,6],"22":[1,4,9],"23":[1,5,8],"24":[2,5,16],"25":[1,4,11],"26":[5,1,1],"27":[2,5,28],"28":[5,5,1],"29":[4,10,12],"30":[4,10,14],"31":[4,5,11],"32":[3,5,1],"33":[4,8,33],"34":[4,8,22],"35":[8,5,1],"36":[4,13,29],"37":[4,13,25],"38":[8,13,1],"39":[4,13,24],"40":[4,13,20],"41":[5,1,48],"42":[2,5,33],"43":[1,5,11],"44":[10,6,19],"45":[10,6,21],"46":[2,5,18],"47":[1,5,4],"48":[5,1,46],"49":[2,5,35],"50":[1,5,23],"51":[9,6,27],"52":[9,6,26],"53":[2,5,13],"54":[1,5,4],"55":[5,1,45],"56":[2,5,30],"57":[2,5,8],"58":[1,5,4],"59":[6,1,48],"60":[2,6,43],"61":[1,6,48],"62":[1,6,4],"63":[6,1,42],"64":[2,6,52],"65":[1,6,56],"66":[10,7,33],"67":[1,6,4],"68":[6,1,42],"69":[2,6,36],"70":[1,6,50],"71":[2,6,7],"72":[1,6,4],"73":[5,1,42],"74":[2,5,33],"75":[1,5,15],"76":[11,6,26],"77":[11,6,25],"78":[1,5,4],"79":[5,1,41],"80":[2,5,44],"81":[1,5,73],"82":[1,5,4],"83":[4,1,36],"84":[2,4,39],"85":[1,4,37],"86":[10,5,27],"87":[11,5,27],"88":[1,4,4],"89":[2,1,1],"90":[7,2,21],"91":[6,2,44],"92":[4,2,52],"93":[7,2,105],"94":[1,2,44],"95":[6,1,38],"96":[2,6,65],"97":[1,6,14],"98":[1,7,44],"99":[1,7,41],"100":[1,7,40],"101":[1,6,4],"102":[5,1,28],"103":[2,5,26],"104":[1,5,4],"105":[5,1,27],"106":[2,5,39],"107":[1,5,4],"108":[5,1,24],"109":[2,5,22],"110":[1,5,4],"111":[5,1,33],"112":[2,5,36],"113":[1,5,4],"114":[5,1,38],"115":[2,5,30],"116":[1,5,31],"117":[2,5,6],"118":[1,5,4],"119":[8,1,44],"120":[2,8,41],"121":[1,8,4],"122":[7,1,43],"123":[2,7,47],"124":[2,7,6],"125":[1,7,4],"126":[6,1,24],"127":[2,6,44],"128":[1,6,4],"129":[6,1,49],"130":[2,6,29],"131":[1,6,4],"132":[7,1,48],"133":[2,7,47],"134":[2,7,9],"135":[1,7,4],"136":[6,1,25],"137":[2,6,37],"138":[1,6,11],"139":[9,7,20],"140":[1,6,4],"141":[5,1,22],"142":[2,5,29],"143":[1,5,4],"144":[6,1,28],"145":[2,6,30],"146":[1,6,4],"147":[4,1,40],"148":[2,4,49],"149":[1,4,43],"150":[8,5,26],"151":[8,5,26],"152":[1,4,4],"153":[4,1,46],"154":[2,4,38],"155":[1,4,15],"156":[11,5,29],"157":[11,5,30],"158":[1,4,4],"159":[3,1,56],"160":[1,3,28],"161":[1,3,25],"162":[1,3,16],"163":[1,3,16],"164":[1,3,16],"165":[1,3,19],"166":[1,3,14],"167":[1,3,23],"168":[1,3,21],"169":[1,3,20],"170":[1,3,16],"171":[7,1,52],"172":[1,7,25],"173":[1,7,25],"174":[1,7,29],"175":[1,7,28],"176":[1,7,31],"177":[1,7,20],"178":[1,7,20],"179":[1,1,1],"180":[1,1,16],"181":[2,1,25],"182":[2,1,21]},"averageFieldLength":[3.142076502732241,4.748633879781419,26.808743169398905],"storedFields":{"0":{"title":"eslint-plugin-lodash-template","titles":[]},"1":{"title":"Features","titles":["eslint-plugin-lodash-template"]},"2":{"title":"Installation","titles":["eslint-plugin-lodash-template"]},"3":{"title":"Usage","titles":["eslint-plugin-lodash-template"]},"4":{"title":"Attention","titles":["eslint-plugin-lodash-template","Usage"]},"5":{"title":"Configs","titles":["eslint-plugin-lodash-template"]},"6":{"title":"For eslint.config.js","titles":["eslint-plugin-lodash-template","Configs"]},"7":{"title":"For .eslintrc.*","titles":["eslint-plugin-lodash-template","Configs"]},"8":{"title":"All Rules","titles":["eslint-plugin-lodash-template"]},"9":{"title":"Plugin Option","titles":["eslint-plugin-lodash-template"]},"10":{"title":"Suppress no-undef warnings in the template tag","titles":["eslint-plugin-lodash-template","Plugin Option"]},"11":{"title":"Suppress reports for specific rules in template files","titles":["eslint-plugin-lodash-template","Plugin Option"]},"12":{"title":"Customize parser","titles":["eslint-plugin-lodash-template","Plugin Option"]},"13":{"title":"Customize target extensions","titles":["eslint-plugin-lodash-template","Plugin Option"]},"14":{"title":"For JavaScript (TypeScript) Templates","titles":["eslint-plugin-lodash-template","Plugin Option"]},"15":{"title":"Configuring","titles":["eslint-plugin-lodash-template","Plugin Option","For JavaScript (TypeScript) Templates"]},"16":{"title":"FAQ","titles":["eslint-plugin-lodash-template"]},"17":{"title":"Known Limitations in Script Templates","titles":["eslint-plugin-lodash-template","FAQ"]},"18":{"title":"Parsing Error","titles":["eslint-plugin-lodash-template","FAQ","Known Limitations in Script Templates"]},"19":{"title":"False Positives in Some Rules","titles":["eslint-plugin-lodash-template","FAQ","Known Limitations in Script Templates"]},"20":{"title":"Editor Settings","titles":["eslint-plugin-lodash-template","FAQ"]},"21":{"title":"Migrations","titles":["eslint-plugin-lodash-template"]},"22":{"title":"Contributing","titles":["eslint-plugin-lodash-template"]},"23":{"title":"parserServices","titles":["eslint-plugin-lodash-template","Contributing"]},"24":{"title":"Development Tools","titles":["eslint-plugin-lodash-template","Contributing"]},"25":{"title":"License","titles":["eslint-plugin-lodash-template"]},"26":{"title":"0.13.x to 0.14.x","titles":[]},"27":{"title":"Breaking Changes","titles":["0.13.x to 0.14.x"]},"28":{"title":"Moved some rule categories.","titles":["0.13.x to 0.14.x"]},"29":{"title":"In 0.13.x","titles":["0.13.x to 0.14.x","Moved some rule categories."]},"30":{"title":"For 0.14.x","titles":["0.13.x to 0.14.x","Moved some rule categories."]},"31":{"title":"Rename some rules.","titles":["0.13.x to 0.14.x"]},"32":{"title":"Customize target extentions","titles":["0.13.x to 0.14.x"]},"33":{"title":"In 0.13.x","titles":["0.13.x to 0.14.x","Customize target extentions"]},"34":{"title":"For 0.14.x","titles":["0.13.x to 0.14.x","Customize target extentions"]},"35":{"title":"Suppress no-undef warnings in the template tag","titles":["0.13.x to 0.14.x"]},"36":{"title":"In 0.13.x","titles":["0.13.x to 0.14.x","Suppress no-undef warnings in the template tag"]},"37":{"title":"For 0.14.x","titles":["0.13.x to 0.14.x","Suppress no-undef warnings in the template tag"]},"38":{"title":"Suppress reports for specific rules in template files","titles":["0.13.x to 0.14.x","Suppress no-undef warnings in the template tag"]},"39":{"title":"In 0.13.x","titles":["0.13.x to 0.14.x","Suppress no-undef warnings in the template tag"]},"40":{"title":"For 0.14.x","titles":["0.13.x to 0.14.x","Suppress no-undef warnings in the template tag"]},"41":{"title":"lodash-template/attribute-name-casing","titles":[]},"42":{"title":"Rule Details","titles":["lodash-template/attribute-name-casing"]},"43":{"title":"Options","titles":["lodash-template/attribute-name-casing"]},"44":{"title":"Examples for this rule with "ignore": ["onClick"] option:","titles":["lodash-template/attribute-name-casing","Options"]},"45":{"title":"Examples for this rule with "ignoreSvgCamelCaseAttributes": true, (default)","titles":["lodash-template/attribute-name-casing","Options"]},"46":{"title":"Further Reading","titles":["lodash-template/attribute-name-casing"]},"47":{"title":"Implementation","titles":["lodash-template/attribute-name-casing"]},"48":{"title":"lodash-template/attribute-value-quote","titles":[]},"49":{"title":"Rule Details","titles":["lodash-template/attribute-value-quote"]},"50":{"title":"Options","titles":["lodash-template/attribute-value-quote"]},"51":{"title":"Examples for this rule with "single" option:","titles":["lodash-template/attribute-value-quote","Options"]},"52":{"title":"Examples for this rule with "either" option:","titles":["lodash-template/attribute-value-quote","Options"]},"53":{"title":"Further Reading","titles":["lodash-template/attribute-value-quote"]},"54":{"title":"Implementation","titles":["lodash-template/attribute-value-quote"]},"55":{"title":"lodash-template/element-name-casing","titles":[]},"56":{"title":"Rule Details","titles":["lodash-template/element-name-casing"]},"57":{"title":"Further Reading","titles":["lodash-template/element-name-casing"]},"58":{"title":"Implementation","titles":["lodash-template/element-name-casing"]},"59":{"title":"lodash-template/html-closing-bracket-spacing","titles":[]},"60":{"title":"Rule Details","titles":["lodash-template/html-closing-bracket-spacing"]},"61":{"title":"Options","titles":["lodash-template/html-closing-bracket-spacing"]},"62":{"title":"Implementation","titles":["lodash-template/html-closing-bracket-spacing"]},"63":{"title":"lodash-template/html-closing-bracket-newline","titles":[]},"64":{"title":"Rule Details","titles":["lodash-template/html-closing-bracket-newline"]},"65":{"title":"Options","titles":["lodash-template/html-closing-bracket-newline"]},"66":{"title":"Examples for this rule with { "multiline": "always" } option:","titles":["lodash-template/html-closing-bracket-newline","Options"]},"67":{"title":"Implementation","titles":["lodash-template/html-closing-bracket-newline"]},"68":{"title":"lodash-template/html-comment-content-newline","titles":[]},"69":{"title":"Rule Details","titles":["lodash-template/html-comment-content-newline"]},"70":{"title":"Options","titles":["lodash-template/html-comment-content-newline"]},"71":{"title":"Further Reading","titles":["lodash-template/html-comment-content-newline"]},"72":{"title":"Implementation","titles":["lodash-template/html-comment-content-newline"]},"73":{"title":"lodash-template/html-comment-spacing","titles":[]},"74":{"title":"Rule Details","titles":["lodash-template/html-comment-spacing"]},"75":{"title":"Options","titles":["lodash-template/html-comment-spacing"]},"76":{"title":""always" - Expect one space between comment and curly brackets.","titles":["lodash-template/html-comment-spacing","Options"]},"77":{"title":""never" - Expect no spaces between comment and curly brackets.","titles":["lodash-template/html-comment-spacing","Options"]},"78":{"title":"Implementation","titles":["lodash-template/html-comment-spacing"]},"79":{"title":"lodash-template/html-content-newline","titles":[]},"80":{"title":"Rule Details","titles":["lodash-template/html-content-newline"]},"81":{"title":"Options","titles":["lodash-template/html-content-newline"]},"82":{"title":"Implementation","titles":["lodash-template/html-content-newline"]},"83":{"title":"lodash-template/html-indent","titles":[]},"84":{"title":"Rule Details","titles":["lodash-template/html-indent"]},"85":{"title":"Options","titles":["lodash-template/html-indent"]},"86":{"title":"Examples for this rule with { attribute: 1, closeBracket: 1 } option:","titles":["lodash-template/html-indent","Options"]},"87":{"title":"Examples for this rule with { attribute: 2, closeBracket: 1 } option:","titles":["lodash-template/html-indent","Options"]},"88":{"title":"Implementation","titles":["lodash-template/html-indent"]},"89":{"title":"All Rules","titles":[]},"90":{"title":"Base Rules (Enabling Correct ESLint Parsing)","titles":["All Rules"]},"91":{"title":"Best Practices (Improve Development Experience)","titles":["All Rules"]},"92":{"title":"Recommended (Improve Readability)","titles":["All Rules"]},"93":{"title":"Recommended with HTML template (Improve Readability with HTML template)","titles":["All Rules"]},"94":{"title":"Uncategorized","titles":["All Rules"]},"95":{"title":"lodash-template/max-attributes-per-line","titles":[]},"96":{"title":"Rule Details","titles":["lodash-template/max-attributes-per-line"]},"97":{"title":"Options","titles":["lodash-template/max-attributes-per-line"]},"98":{"title":"allowFirstLine","titles":["lodash-template/max-attributes-per-line","Options"]},"99":{"title":"singleline","titles":["lodash-template/max-attributes-per-line","Options"]},"100":{"title":"multiline","titles":["lodash-template/max-attributes-per-line","Options"]},"101":{"title":"Implementation","titles":["lodash-template/max-attributes-per-line"]},"102":{"title":"lodash-template/no-empty-template-tag","titles":[]},"103":{"title":"Rule Details","titles":["lodash-template/no-empty-template-tag"]},"104":{"title":"Implementation","titles":["lodash-template/no-empty-template-tag"]},"105":{"title":"lodash-template/no-duplicate-attributes","titles":[]},"106":{"title":"Rule Details","titles":["lodash-template/no-duplicate-attributes"]},"107":{"title":"Implementation","titles":["lodash-template/no-duplicate-attributes"]},"108":{"title":"lodash-template/no-html-comments","titles":[]},"109":{"title":"Rule Details","titles":["lodash-template/no-html-comments"]},"110":{"title":"Implementation","titles":["lodash-template/no-html-comments"]},"111":{"title":"lodash-template/no-invalid-template-interpolation","titles":[]},"112":{"title":"Rule Details","titles":["lodash-template/no-invalid-template-interpolation"]},"113":{"title":"Implementation","titles":["lodash-template/no-invalid-template-interpolation"]},"114":{"title":"lodash-template/no-irregular-whitespace","titles":[]},"115":{"title":"Rule Details","titles":["lodash-template/no-irregular-whitespace"]},"116":{"title":"Options","titles":["lodash-template/no-irregular-whitespace"]},"117":{"title":"Further Reading","titles":["lodash-template/no-irregular-whitespace"]},"118":{"title":"Implementation","titles":["lodash-template/no-irregular-whitespace"]},"119":{"title":"lodash-template/no-multi-spaces-in-html-tag","titles":[]},"120":{"title":"Rule Details","titles":["lodash-template/no-multi-spaces-in-html-tag"]},"121":{"title":"Implementation","titles":["lodash-template/no-multi-spaces-in-html-tag"]},"122":{"title":"lodash-template/no-multi-spaces-in-scriptlet","titles":[]},"123":{"title":"Rule Details","titles":["lodash-template/no-multi-spaces-in-scriptlet"]},"124":{"title":"Further Reading","titles":["lodash-template/no-multi-spaces-in-scriptlet"]},"125":{"title":"Implementation","titles":["lodash-template/no-multi-spaces-in-scriptlet"]},"126":{"title":"lodash-template/no-script-parsing-error","titles":[]},"127":{"title":"Rule Details","titles":["lodash-template/no-script-parsing-error"]},"128":{"title":"Implementation","titles":["lodash-template/no-script-parsing-error"]},"129":{"title":"lodash-template/no-semi-in-template-interpolation","titles":[]},"130":{"title":"Rule Details","titles":["lodash-template/no-semi-in-template-interpolation"]},"131":{"title":"Implementation","titles":["lodash-template/no-semi-in-template-interpolation"]},"132":{"title":"lodash-template/no-space-attribute-equal-sign","titles":[]},"133":{"title":"Rule Details","titles":["lodash-template/no-space-attribute-equal-sign"]},"134":{"title":"Further Reading","titles":["lodash-template/no-space-attribute-equal-sign"]},"135":{"title":"Implementation","titles":["lodash-template/no-space-attribute-equal-sign"]},"136":{"title":"lodash-template/no-template-tag-in-start-tag","titles":[]},"137":{"title":"Rule Details","titles":["lodash-template/no-template-tag-in-start-tag"]},"138":{"title":"Options","titles":["lodash-template/no-template-tag-in-start-tag"]},"139":{"title":"Examples for this rule with {arrowEvaluateTag: true} option:","titles":["lodash-template/no-template-tag-in-start-tag","Options"]},"140":{"title":"Implementation","titles":["lodash-template/no-template-tag-in-start-tag"]},"141":{"title":"lodash-template/prefer-escape-template-interpolations","titles":[]},"142":{"title":"Rule Details","titles":["lodash-template/prefer-escape-template-interpolations"]},"143":{"title":"Implementation","titles":["lodash-template/prefer-escape-template-interpolations"]},"144":{"title":"lodash-template/no-warning-html-comments","titles":[]},"145":{"title":"Rule Details","titles":["lodash-template/no-warning-html-comments"]},"146":{"title":"Implementation","titles":["lodash-template/no-warning-html-comments"]},"147":{"title":"lodash-template/scriptlet-indent","titles":[]},"148":{"title":"Rule Details","titles":["lodash-template/scriptlet-indent"]},"149":{"title":"Options","titles":["lodash-template/scriptlet-indent"]},"150":{"title":"Examples for this rule with {startIndent: 0}:","titles":["lodash-template/scriptlet-indent","Options"]},"151":{"title":"Examples for this rule with {startIndent: 2}:","titles":["lodash-template/scriptlet-indent","Options"]},"152":{"title":"Implementation","titles":["lodash-template/scriptlet-indent"]},"153":{"title":"lodash-template/template-tag-spacing","titles":[]},"154":{"title":"Rule Details","titles":["lodash-template/template-tag-spacing"]},"155":{"title":"Options","titles":["lodash-template/template-tag-spacing"]},"156":{"title":""always" - Expect one space between expression and curly brackets.","titles":["lodash-template/template-tag-spacing","Options"]},"157":{"title":""never" - Expect no spaces between expression and curly brackets.","titles":["lodash-template/template-tag-spacing","Options"]},"158":{"title":"Implementation","titles":["lodash-template/template-tag-spacing"]},"159":{"title":"AST for HTML","titles":[]},"160":{"title":"HTMLToken","titles":["AST for HTML"]},"161":{"title":"HTMLNode","titles":["AST for HTML"]},"162":{"title":"HTMLDocument","titles":["AST for HTML"]},"163":{"title":"HTMLDocumentFragment","titles":["AST for HTML"]},"164":{"title":"HTMLDocumentType","titles":["AST for HTML"]},"165":{"title":"HTMLComment","titles":["AST for HTML"]},"166":{"title":"HTMLText","titles":["AST for HTML"]},"167":{"title":"HTMLElement","titles":["AST for HTML"]},"168":{"title":"HTMLStartTag","titles":["AST for HTML"]},"169":{"title":"HTMLAttribute","titles":["AST for HTML"]},"170":{"title":"HTMLEndTag","titles":["AST for HTML"]},"171":{"title":"AST for <%= templateTag %>","titles":[]},"172":{"title":"Token","titles":["AST for <%= templateTag %>"]},"173":{"title":"Node","titles":["AST for <%= templateTag %>"]},"174":{"title":"MicroTemplateEvaluate","titles":["AST for <%= templateTag %>"]},"175":{"title":"MicroTemplateInterpolate","titles":["AST for <%= templateTag %>"]},"176":{"title":"MicroTemplateEscape","titles":["AST for <%= templateTag %>"]},"177":{"title":"MicroTemplateExpressionStart","titles":["AST for <%= templateTag %>"]},"178":{"title":"MicroTemplateExpressionEnd","titles":["AST for <%= templateTag %>"]},"179":{"title":"Contributing","titles":[]},"180":{"title":"MicroTemplateService","titles":["Contributing"]},"181":{"title":"Traverse MicroTemplates","titles":["Contributing"]},"182":{"title":"Traverse HTML","titles":["Contributing"]}},"dirtCount":0,"index":[["4",{"2":{"84":2,"148":3}}],["42",{"2":{"18":2}}],["3",{"2":{"74":2,"76":2,"84":1,"96":2,"154":2,"156":2,"157":2}}],["✗",{"2":{"42":1,"49":1,"51":1,"52":1,"56":1,"60":1,"64":1,"66":1,"69":1,"70":1,"74":1,"76":1,"77":1,"80":1,"81":1,"84":1,"96":1,"98":1,"99":1,"100":1,"103":1,"106":1,"109":1,"112":1,"115":1,"120":1,"123":1,"127":1,"130":1,"133":1,"137":1,"142":1,"148":1,"154":1,"156":1,"157":1}}],["✓",{"2":{"42":1,"44":1,"45":1,"49":1,"51":1,"52":1,"56":1,"60":1,"61":1,"64":1,"66":1,"69":1,"70":1,"74":1,"76":1,"77":1,"80":1,"81":1,"84":1,"86":1,"87":1,"96":1,"98":1,"99":1,"100":1,"103":1,"106":1,"109":1,"112":1,"115":1,"120":1,"123":1,"127":1,"130":1,"133":1,"137":1,"139":1,"142":1,"148":1,"150":1,"151":1,"154":1,"156":1,"157":1}}],["keytoken",{"2":{"169":1}}],["key",{"2":{"169":1}}],["kebab",{"2":{"42":3,"56":3}}],["known",{"0":{"17":1},"1":{"18":1,"19":1},"2":{"14":1,"17":1}}],["quotation",{"2":{"53":1}}],["quote",{"0":{"48":1},"1":{"49":1,"50":1,"51":1,"52":1,"53":1,"54":1},"2":{"49":3,"50":1,"51":3,"52":2,"53":1,"93":1}}],["quotes",{"2":{"4":2,"48":1,"49":3,"50":8,"51":2,"52":1,"93":1}}],["quot",{"0":{"44":4,"45":2,"51":2,"52":2,"66":4,"76":2,"77":2,"156":2,"157":2},"2":{"41":4,"48":6,"50":8,"55":4,"59":4,"61":30,"63":4,"65":8,"68":4,"70":12,"73":4,"79":4,"81":16,"83":4,"85":4,"93":8,"95":4,"102":10,"105":4,"108":4,"111":10,"114":8,"116":6,"119":6,"122":8,"126":12,"127":2,"129":10,"132":8,"136":2,"141":2,"144":4,"147":8,"149":4,"153":8}}],["⚙️",{"2":{"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"102":1,"105":1,"108":1,"111":1,"114":1,"119":1,"122":1,"126":1,"129":1,"132":1,"136":1,"141":1,"144":1,"147":1,"153":1}}],["🆖",{"2":{"41":1,"48":1,"55":1,"59":1,"73":1,"91":3,"92":2,"93":10,"94":2,"102":1,"105":1,"108":1,"111":1,"119":1,"122":1,"129":1,"132":1,"136":1,"141":1,"144":1,"153":1}}],["🆗",{"2":{"41":1,"48":1,"55":1,"59":1,"73":1,"91":1,"92":1,"93":6,"94":1,"129":1,"132":1,"141":1,"153":1}}],["5",{"2":{"27":1}}],["void",{"2":{"159":3,"171":3}}],["verification",{"2":{"127":1}}],["verifies",{"2":{"96":1}}],["visible",{"2":{"46":1}}],["viewbox=",{"2":{"45":1}}],["vs",{"2":{"20":1}}],["vscode",{"2":{"20":1}}],["vakue",{"2":{"169":1}}],["valid",{"2":{"106":1}}],["validate",{"2":{"20":1}}],["validating",{"2":{"19":1}}],["valuetoken",{"2":{"169":1}}],["values",{"2":{"53":1,"94":1,"116":1,"136":1,"137":5}}],["value",{"0":{"48":1},"1":{"49":1,"50":1,"51":1,"52":1,"53":1,"54":1},"2":{"19":1,"20":1,"49":3,"50":1,"51":3,"52":2,"93":1,"160":1,"165":1,"166":1}}],["vars",{"2":{"19":1}}],["variablename",{"2":{"10":1,"36":1,"37":1}}],["variable",{"2":{"10":2,"36":1,"37":1}}],["var",{"2":{"0":1,"10":1,"123":4}}],["xxxelement>",{"2":{"56":1}}],["xxxelementelement",{"2":{"56":1}}],["xxxelement",{"2":{"55":1,"93":1}}],["xxx",{"2":{"55":1,"56":1,"93":1}}],["x",{"0":{"26":2,"29":1,"30":1,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1},"1":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"33":2,"34":2,"35":2,"36":2,"37":2,"38":2,"39":2,"40":2},"2":{"19":14,"21":2,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1}}],["x3c",{"2":{"0":28,"10":10,"11":1,"12":6,"14":2,"18":4,"19":14,"42":6,"44":3,"45":4,"49":6,"51":6,"52":6,"56":9,"60":21,"61":9,"64":19,"66":13,"69":10,"70":10,"74":8,"76":8,"77":7,"80":11,"81":11,"84":11,"86":6,"87":6,"96":9,"98":5,"99":5,"100":5,"103":12,"106":7,"109":3,"112":17,"115":7,"120":6,"123":9,"127":5,"130":5,"133":5,"137":13,"139":6,"142":12,"145":2,"148":15,"150":8,"151":8,"154":14,"156":14,"157":14,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["🔧",{"2":{"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"91":1,"92":4,"93":12,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["👎",{"2":{"18":1}}],["👍",{"2":{"18":1}}],["`obj`",{"2":{"14":1}}],["`options`",{"2":{"14":1}}],["`",{"2":{"14":4}}],["|",{"2":{"14":5,"50":3,"57":1,"61":6,"75":1,"85":1,"149":1,"155":1,"162":2,"163":2,"165":2,"167":4,"169":2}}],["^^^^^",{"2":{"14":1}}],["^^^^",{"2":{"14":1}}],["+",{"2":{"10":1,"11":1,"12":15,"13":5,"14":1,"15":12,"18":1,"33":2,"34":5,"36":3,"37":1,"39":3,"40":1}}],["7",{"2":{"6":1}}],["null",{"2":{"165":2,"167":2,"169":2}}],["number",{"2":{"85":3,"93":1,"95":1,"96":3,"99":1,"100":1,"149":3,"160":1,"161":1,"172":1,"173":1}}],["npm",{"2":{"24":2}}],["new",{"2":{"96":4,"98":1,"99":1,"100":1}}],["newline",{"0":{"63":1,"68":1,"79":1},"1":{"64":1,"65":1,"66":1,"67":1,"69":1,"70":1,"71":1,"72":1,"80":1,"81":1,"82":1},"2":{"64":4,"65":1,"66":3,"69":6,"70":8,"80":3,"81":6,"93":3}}],["next",{"2":{"64":1}}],["never",{"0":{"77":1,"157":1},"2":{"19":1,"61":11,"65":4,"70":4,"75":1,"77":1,"81":3,"155":1,"157":1}}],["necessary",{"2":{"19":1}}],["needed",{"2":{"19":1}}],["need",{"2":{"15":1,"17":1,"50":1}}],["nodes",{"2":{"159":1,"171":1}}],["node",{"0":{"173":1},"2":{"159":3,"160":2,"161":2,"165":1,"166":1,"167":1,"171":4,"172":2,"173":3,"174":1,"175":1,"176":1}}],["non",{"2":{"46":1}}],["not",{"2":{"12":1,"14":1,"15":1,"17":1,"50":1,"60":3,"65":2,"96":1,"112":1,"115":3,"120":1,"123":1,"133":1}}],["no",{"0":{"10":1,"35":1,"77":1,"102":1,"105":1,"108":1,"111":1,"114":1,"119":1,"122":1,"126":1,"129":1,"132":1,"136":1,"144":1,"157":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1,"103":1,"104":1,"106":1,"107":1,"109":1,"110":1,"112":1,"113":1,"115":1,"116":1,"117":1,"118":1,"120":1,"121":1,"123":1,"124":1,"125":1,"127":1,"128":1,"130":1,"131":1,"133":1,"134":1,"135":1,"137":1,"138":1,"139":1,"140":1,"145":1,"146":1},"2":{"3":1,"4":11,"11":3,"14":4,"19":1,"29":2,"30":2,"31":2,"39":2,"40":2,"60":4,"64":4,"66":2,"69":6,"70":6,"74":2,"76":2,"77":4,"80":3,"81":4,"90":1,"91":3,"92":2,"93":5,"94":3,"103":3,"106":3,"109":2,"112":3,"115":4,"116":1,"117":1,"120":3,"123":6,"124":1,"127":3,"130":2,"133":2,"137":5,"138":1,"139":1,"142":1,"145":2,"154":2,"156":2,"157":4,"182":1}}],["names",{"2":{"81":1}}],["name",{"0":{"41":1,"55":1},"1":{"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"56":1,"57":1,"58":1},"2":{"0":1,"10":1,"41":1,"42":4,"43":1,"44":1,"45":1,"55":1,"56":6,"93":4,"164":1,"167":1}}],["md",{"2":{"181":1,"182":1}}],["mdn",{"2":{"46":1,"57":1}}],["must",{"2":{"42":2,"56":2,"133":1}}],["multiplier",{"2":{"85":2,"149":2}}],["multiple",{"2":{"14":2,"19":1,"92":1,"93":1,"100":1,"119":1,"120":3,"122":1,"123":6}}],["multiline",{"0":{"66":1,"100":1},"2":{"65":4,"66":1,"69":3,"70":4,"81":6,"97":1,"98":1,"100":1}}],["multi",{"0":{"119":1,"122":1},"1":{"120":1,"121":1,"123":1,"124":1,"125":1},"2":{"4":6,"14":4,"31":2,"92":1,"93":1,"98":1,"120":3,"123":6,"124":1}}],["mistakes",{"2":{"106":1}}],["mit",{"2":{"25":1}}],["migrations",{"0":{"21":1}}],["microtemplates",{"0":{"181":1},"2":{"181":1}}],["microtemplateservic",{"2":{"180":1}}],["microtemplateservice",{"0":{"180":1},"2":{"159":2,"171":2,"180":1}}],["microtemplateexpressionend",{"0":{"178":1},"2":{"171":1,"174":1,"175":1,"176":1,"178":2}}],["microtemplateexpressionstart",{"0":{"177":1},"2":{"171":1,"174":1,"175":1,"176":1,"177":2}}],["microtemplateescape",{"0":{"176":1},"2":{"171":3,"176":1}}],["microtemplateevaluate",{"0":{"174":1},"2":{"171":3,"174":2}}],["microtemplateinterpolate",{"0":{"175":1},"2":{"171":3,"175":2,"176":1}}],["micro",{"2":{"0":1,"91":3,"92":2,"94":1,"102":1,"103":3,"111":1,"112":1,"129":1,"130":1,"141":1,"142":2,"147":1,"148":1,"149":1,"153":1,"154":1,"155":1,"171":1}}],["meshi",{"2":{"159":1,"171":1}}],["measures",{"2":{"24":1}}],["meta",{"2":{"20":1}}],["method",{"2":{"11":1,"27":2,"181":1,"182":1}}],["merge",{"2":{"19":1}}],["master",{"2":{"159":1,"171":1}}],["marks",{"2":{"53":1}}],["mark",{"2":{"20":1}}],["may",{"2":{"17":2,"18":1}}],["maximum",{"2":{"93":1,"95":1,"96":2,"99":1,"100":1}}],["max",{"0":{"95":1},"1":{"96":1,"97":1,"98":1,"99":1,"100":1,"101":1},"2":{"4":2,"93":1,"96":4,"97":2,"98":2,"99":2,"100":2}}],["mozilla",{"2":{"46":1}}],["moved",{"0":{"28":1},"1":{"29":1,"30":1},"2":{"27":1,"30":2}}],["module",{"2":{"15":1,"33":1}}],["more",{"2":{"3":1,"61":3}}],["works",{"2":{"127":1}}],["w3schools",{"2":{"53":1,"71":1,"134":1}}],["welcome",{"2":{"22":1}}],["well",{"2":{"18":2}}],["we",{"2":{"19":1,"181":1,"182":1}}],["web",{"2":{"0":1,"14":1,"57":1}}],["which",{"2":{"120":1,"123":1,"160":1,"161":1,"172":1,"173":1}}],["whitespaces",{"2":{"115":1}}],["whitespace",{"0":{"114":1},"1":{"115":1,"116":1,"117":1,"118":1},"2":{"4":2,"92":2,"114":1,"115":7,"116":4,"117":1,"120":1,"123":1}}],["when",{"2":{"14":1,"96":1,"99":1,"100":1,"106":1,"127":1}}],["will",{"2":{"14":1,"18":1,"19":1}}],["within",{"2":{"4":1}}],["with",{"0":{"44":1,"45":1,"51":1,"52":1,"66":1,"86":1,"87":1,"93":2,"139":1,"150":1,"151":1},"2":{"3":2,"6":4,"7":3,"10":1,"14":2,"15":4,"18":1,"20":1,"30":2,"41":1,"46":1,"48":1,"55":1,"59":1,"63":1,"64":1,"68":1,"73":1,"79":1,"83":1,"90":1,"91":1,"92":1,"93":2,"95":1,"102":2,"105":1,"108":1,"111":2,"114":2,"119":1,"122":2,"126":2,"129":2,"132":1,"144":1,"147":2,"153":2,"180":1}}],["write",{"2":{"10":1}}],["was",{"2":{"29":2,"33":1,"36":1,"39":1}}],["want",{"2":{"15":2,"94":1}}],["way",{"2":{"4":1}}],["warnings",{"0":{"10":1,"35":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1},"2":{"4":16,"20":1}}],["warning",{"0":{"144":1},"1":{"145":1,"146":1},"2":{"3":1,"29":1,"30":1,"93":2,"144":1,"145":2}}],["groups",{"2":{"133":1}}],["grid",{"2":{"0":2}}],["google",{"2":{"46":1,"53":1}}],["good",{"2":{"42":1,"44":1,"45":1,"49":1,"51":1,"52":1,"56":1,"60":1,"61":1,"64":1,"66":1,"69":1,"70":1,"74":1,"76":1,"77":1,"80":1,"81":1,"84":1,"86":1,"87":1,"96":1,"98":1,"99":1,"100":1,"103":1,"106":1,"109":1,"112":1,"115":1,"120":1,"123":1,"127":1,"130":1,"133":1,"137":1,"139":1,"142":1,"148":1,"150":1,"151":1,"154":1,"156":1,"157":1}}],["github",{"2":{"22":1,"159":1,"171":1}}],["getmicrotemplateservice",{"2":{"159":1,"171":1,"180":1}}],["gets",{"2":{"19":1}}],["get",{"2":{"18":1,"180":1}}],["generated",{"2":{"19":6}}],["generate",{"2":{"18":1,"19":2}}],["generic",{"2":{"3":1}}],["g",{"2":{"12":4,"19":3,"61":3}}],["global",{"2":{"10":3,"36":1,"37":1}}],["globals",{"2":{"4":1,"10":1,"36":1,"37":1}}],["gt",{"0":{"171":1},"1":{"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1},"2":{"4":1,"20":3,"41":3,"48":3,"55":3,"59":4,"60":1,"61":6,"73":2,"91":4,"92":3,"93":21,"94":4,"102":1,"105":1,"108":1,"111":1,"119":1,"122":1,"129":2,"132":2,"136":2,"141":2,"144":1,"153":2,"181":1}}],["guide",{"2":{"3":1,"46":1,"53":2,"71":1,"134":1}}],["duplication",{"2":{"93":1,"105":1}}],["duplicate",{"0":{"105":1},"1":{"106":1,"107":1},"2":{"93":1,"106":7}}],["due",{"2":{"17":1}}],["d",{"2":{"86":1,"87":1}}],["data",{"2":{"46":3}}],["drop",{"2":{"27":1}}],["disallows",{"2":{"61":3,"115":1}}],["disallow",{"2":{"59":1,"63":1,"65":2,"68":1,"70":2,"79":1,"81":2,"90":1,"91":3,"92":2,"93":9,"94":1,"102":1,"105":1,"108":1,"111":1,"112":1,"114":1,"119":1,"120":1,"122":1,"123":1,"126":1,"129":1,"130":1,"132":1,"133":1,"136":1,"144":1}}],["disabled",{"2":{"94":1,"136":1,"137":6,"139":3}}],["disable",{"2":{"4":15}}],["directive",{"2":{"12":1}}],["diff+",{"2":{"10":1,"11":1,"13":1,"15":1,"34":1}}],["diff",{"2":{"10":1,"11":1,"12":2,"15":2,"33":1,"36":1,"37":1,"39":1,"40":1}}],["divelement",{"2":{"56":1}}],["div>",{"2":{"0":3,"56":2,"60":1,"64":7,"66":5,"80":4,"81":4,"84":6,"86":3,"87":3,"103":6,"106":2,"112":8,"142":6,"148":2,"150":1,"151":1,"154":6,"156":6,"157":6}}],["div",{"2":{"0":3,"41":3,"42":3,"44":1,"48":3,"55":1,"60":5,"61":4,"64":7,"66":5,"80":6,"81":8,"84":2,"86":1,"87":1,"93":10,"105":1,"106":2,"115":4,"132":2,"148":2,"150":1,"151":1}}],["documentfragment",{"2":{"163":1}}],["document",{"2":{"162":1,"164":1}}],["docs",{"2":{"3":1}}],["double",{"2":{"49":2,"50":9}}],["doublequote",{"2":{"4":2}}],["don",{"2":{"14":1,"70":2,"81":2}}],["do",{"2":{"12":1,"15":1,"50":1}}],["does",{"2":{"4":1,"65":1,"96":1}}],["delimiter",{"2":{"177":1,"178":1}}],["declarations",{"2":{"98":1}}],["declared",{"2":{"19":1,"127":1}}],["definition",{"2":{"159":1,"171":1}}],["defines",{"2":{"98":1}}],["defined",{"2":{"96":1}}],["def",{"2":{"106":1,"127":2}}],["default",{"0":{"45":1},"2":{"3":1,"50":1,"61":3,"65":2,"70":2,"75":1,"81":3,"84":1,"85":3,"98":1,"99":1,"100":1,"148":1,"149":4,"155":1}}],["details",{"0":{"42":1,"49":1,"56":1,"60":1,"64":1,"69":1,"74":1,"80":1,"84":1,"96":1,"103":1,"106":1,"109":1,"112":1,"115":1,"120":1,"123":1,"127":1,"130":1,"133":1,"137":1,"142":1,"145":1,"148":1,"154":1},"2":{"15":1,"159":1,"171":1}}],["description",{"2":{"4":1,"90":1,"91":1,"92":1,"93":1,"94":1}}],["development",{"0":{"24":1,"91":1}}],["dev",{"2":{"2":1,"6":1,"7":1}}],["your",{"2":{"15":4,"19":1}}],["you",{"2":{"1":1,"12":1,"14":2,"15":3,"17":2,"18":2,"19":1,"65":1,"94":1,"159":1,"171":1}}],["ota",{"2":{"159":1,"171":1}}],["other",{"2":{"91":1,"111":1,"112":1}}],["otherwise",{"2":{"17":1}}],["opening",{"2":{"65":2,"80":1,"81":2,"99":1}}],["options",{"0":{"43":1,"50":1,"61":1,"65":1,"70":1,"75":1,"81":1,"85":1,"97":1,"116":1,"138":1,"149":1,"155":1},"1":{"44":1,"45":1,"51":1,"52":1,"66":1,"76":1,"77":1,"86":1,"87":1,"98":1,"99":1,"100":1,"139":1,"150":1,"151":1,"156":1,"157":1},"2":{"14":1}}],["option",{"0":{"9":1,"44":1,"51":1,"52":1,"66":1,"86":1,"87":1,"139":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1,"15":1},"2":{"36":1,"39":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"116":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["own",{"2":{"64":1}}],["order",{"2":{"24":1}}],["or",{"2":{"17":1,"50":2,"59":1,"60":2,"61":3,"63":1,"64":1,"65":1,"68":1,"69":1,"79":1,"80":1,"81":1,"93":4}}],["org",{"2":{"3":1}}],["object",{"2":{"116":1}}],["obj",{"2":{"14":1}}],["occur",{"2":{"14":1}}],["overrides",{"2":{"13":1,"15":3,"34":1}}],["override",{"2":{"3":1}}],["outside",{"2":{"1":1,"4":1,"92":1,"94":1,"114":1,"136":1,"137":5}}],["offset",{"2":{"160":2,"161":2,"172":2,"173":2}}],["of",{"2":{"1":1,"6":2,"7":2,"19":1,"27":1,"41":1,"48":2,"49":1,"55":1,"59":1,"60":1,"61":3,"63":1,"64":1,"65":2,"68":1,"73":1,"79":1,"80":2,"81":4,"83":1,"84":3,"85":4,"91":1,"93":3,"95":2,"96":3,"99":1,"100":1,"102":1,"105":1,"111":1,"114":2,"119":1,"122":2,"126":1,"127":1,"129":3,"130":1,"132":1,"145":1,"147":2,"148":3,"149":4,"153":2,"159":1,"160":4,"161":4,"171":1,"172":4,"173":4,"177":1,"178":1}}],["one",{"0":{"76":1,"156":1},"2":{"61":3,"65":2,"70":2,"81":2,"85":3,"106":1,"149":3}}],["onclick=",{"2":{"44":1}}],["onclick",{"0":{"44":1},"2":{"44":1}}],["only",{"2":{"14":1,"106":1}}],["on",{"2":{"0":1,"14":1,"20":1,"23":1,"41":1,"48":1,"55":1,"59":1,"63":1,"64":2,"65":2,"68":1,"73":1,"79":1,"83":1,"95":1,"96":3,"98":1,"99":1,"100":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["omega",{"2":{"0":1}}],["0",{"0":{"26":2,"29":1,"30":1,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1,"150":1},"1":{"27":2,"28":2,"29":2,"30":2,"31":2,"32":2,"33":2,"34":2,"35":2,"36":2,"37":2,"38":2,"39":2,"40":2},"2":{"0":1,"10":1,"11":1,"21":2,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1,"45":2,"85":2,"148":2,"149":2,"150":2,"151":1}}],["function",{"2":{"159":1,"171":1}}],["further",{"0":{"46":1,"53":1,"57":1,"71":1,"117":1,"124":1,"134":1}}],["false",{"0":{"19":1},"2":{"19":5,"97":1,"98":2,"116":3,"138":1}}],["faq",{"0":{"16":1},"1":{"17":1,"18":1,"19":1,"20":1}}],["foo=",{"2":{"60":4,"61":2,"96":6,"98":2,"99":2,"100":2,"106":3}}],["foo>",{"2":{"60":1}}],["foobarattribute",{"2":{"42":1}}],["foobar",{"2":{"41":1,"42":1,"93":1}}],["foo",{"2":{"19":17,"41":2,"42":3,"60":7,"61":2,"64":7,"66":5,"84":2,"93":4,"98":1,"105":2,"106":2,"120":4,"123":2}}],["found",{"2":{"14":2,"60":7,"64":3,"66":2,"69":5,"70":6,"74":4,"76":4,"77":4,"80":2,"81":4,"84":3,"120":2,"123":5,"148":3,"154":4,"156":4,"157":4}}],["follows",{"2":{"10":2,"11":2,"12":3,"13":1,"15":2,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1}}],["following",{"2":{"4":1,"18":2,"19":1}}],["forbidden",{"2":{"109":1,"137":4}}],["for",{"0":{"6":1,"7":1,"11":1,"14":1,"30":1,"34":1,"37":1,"38":1,"40":1,"44":1,"45":1,"51":1,"52":1,"66":1,"86":1,"87":1,"139":1,"150":1,"151":1,"159":1,"171":1},"1":{"15":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1},"2":{"0":3,"1":2,"4":1,"6":1,"10":2,"12":3,"13":2,"14":2,"19":4,"25":1,"27":3,"33":2,"34":3,"37":1,"40":1,"61":3,"65":2,"70":2,"81":3,"85":4,"94":1,"98":1,"116":1,"120":1,"123":1,"148":2,"149":4,"150":1,"151":1,"181":1,"182":1}}],["flat",{"2":{"3":1,"6":8}}],["first",{"2":{"98":1}}],["fix",{"2":{"41":2,"48":2,"55":2,"59":2,"63":2,"68":2,"73":2,"79":2,"83":2,"95":2,"114":2,"119":2,"122":2,"129":2,"132":2,"147":2,"153":2}}],["files",{"0":{"11":1,"38":1},"2":{"3":1,"13":1,"15":4,"34":1}}],["file",{"2":{"3":1,"10":1,"14":1,"25":1,"27":1}}],["find",{"2":{"1":1}}],["feature",{"2":{"1":1,"6":1,"7":1,"14":1}}],["features",{"0":{"1":1}}],["from",{"2":{"0":2,"3":1,"19":1,"180":1}}],["hidden",{"2":{"137":2}}],["hello",{"2":{"84":2}}],["here",{"2":{"3":2}}],["how",{"2":{"20":1}}],["however",{"2":{"19":2}}],["has",{"2":{"19":1,"27":2,"30":2,"116":1,"127":1,"160":1,"161":1,"172":1,"173":1}}],["have",{"2":{"14":1,"64":1,"65":1}}],["handling",{"2":{"4":1}}],["https",{"2":{"159":1,"171":1}}],["http",{"2":{"3":1}}],["htmlvalue",{"2":{"160":1}}],["htmlendtag",{"0":{"170":1},"2":{"159":1,"167":1,"170":2}}],["htmlelement",{"0":{"167":1},"2":{"159":3,"162":1,"163":1,"167":3}}],["htmlattribute",{"0":{"169":1},"2":{"159":1,"168":2,"169":2}}],["htmlstarttag",{"0":{"168":1},"2":{"159":1,"167":1,"168":2}}],["htmltext",{"0":{"166":1},"2":{"159":3,"162":1,"163":1,"166":2,"167":1}}],["htmltoken",{"0":{"160":1},"2":{"159":1,"160":1,"165":2,"168":2,"169":3,"170":2}}],["htmlcomment",{"0":{"165":1},"2":{"159":3,"162":1,"163":1,"165":2,"167":1}}],["htmldocumenttype",{"0":{"164":1},"2":{"159":1,"164":2}}],["htmldocumentfragment",{"0":{"163":1},"2":{"159":1,"163":2}}],["htmldocument",{"0":{"162":1},"2":{"159":1,"162":2}}],["htmlnode",{"0":{"161":1},"2":{"159":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1}}],["html5",{"2":{"46":1,"53":1,"71":1,"133":1,"134":1}}],["html",{"0":{"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"93":2,"108":1,"119":1,"144":1,"159":1,"182":1},"1":{"60":1,"61":1,"62":1,"64":1,"65":1,"66":1,"67":1,"69":1,"70":1,"71":1,"72":1,"74":1,"75":1,"76":1,"77":1,"78":1,"80":1,"81":1,"82":1,"84":1,"85":1,"86":1,"87":1,"88":1,"109":1,"110":1,"120":1,"121":1,"145":1,"146":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1},"2":{"0":2,"1":1,"3":4,"4":4,"6":2,"7":2,"13":1,"20":2,"29":2,"30":4,"34":1,"41":2,"42":1,"44":1,"45":1,"46":2,"48":2,"49":2,"51":1,"52":1,"53":2,"55":2,"56":1,"59":1,"60":10,"61":3,"63":1,"64":6,"65":2,"66":4,"68":2,"69":8,"70":9,"71":1,"73":2,"74":7,"75":1,"76":6,"77":6,"79":2,"80":5,"81":7,"83":2,"84":6,"85":1,"86":2,"87":2,"93":22,"95":2,"96":2,"98":1,"99":1,"100":1,"102":1,"103":1,"105":2,"106":1,"108":2,"109":4,"111":1,"112":1,"114":1,"115":1,"116":3,"119":2,"120":4,"122":1,"123":1,"126":1,"129":1,"130":1,"132":1,"133":1,"137":1,"139":1,"142":2,"144":2,"145":4,"147":1,"148":1,"150":1,"151":1,"153":1,"154":1,"156":1,"157":1,"159":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"182":4}}],["href=",{"2":{"0":2,"10":1}}],["boolean",{"2":{"168":1}}],["both",{"2":{"1":1}}],["blob",{"2":{"159":1,"171":1}}],["blocks",{"2":{"4":2}}],["baz=",{"2":{"96":2}}],["bad",{"2":{"42":1,"49":1,"51":1,"52":1,"56":1,"60":1,"64":1,"66":1,"69":1,"70":1,"74":1,"76":1,"77":1,"80":1,"81":1,"84":1,"96":1,"98":1,"99":1,"100":1,"103":1,"106":1,"109":1,"112":1,"115":1,"120":1,"123":1,"127":1,"130":1,"133":1,"137":1,"142":1,"148":1,"154":1,"156":1,"157":1}}],["barattribute",{"2":{"42":1}}],["bar=",{"2":{"42":1,"96":5,"98":2,"99":1,"100":2}}],["bar",{"2":{"41":2,"42":1,"60":4,"61":2,"64":7,"66":5,"93":2,"96":3,"99":1,"100":1,"123":2}}],["base",{"0":{"90":1},"2":{"6":2,"7":1,"15":1,"90":1,"126":1}}],["bashnpm",{"2":{"2":1}}],["breaks",{"2":{"64":3,"65":2,"66":2,"69":5,"70":10,"80":2,"81":9}}],["break",{"2":{"63":1,"64":5,"65":2,"66":2,"68":1,"69":7,"70":8,"79":1,"80":4,"81":6,"93":3,"96":1}}],["breaking",{"0":{"27":1}}],["br",{"2":{"60":2,"61":2}}],["brackets",{"0":{"76":1,"77":1,"156":1,"157":1},"2":{"59":1,"60":1,"63":1,"64":2,"65":1,"85":1,"93":2}}],["bracket",{"0":{"59":1,"63":1},"1":{"60":1,"61":1,"62":1,"64":1,"65":1,"66":1,"67":1},"2":{"60":8,"61":2,"64":7,"65":7,"66":5,"80":2,"81":4,"93":2}}],["branches",{"2":{"19":2}}],["branching",{"2":{"19":2}}],["but",{"2":{"19":1,"60":7,"64":3,"66":2,"69":5,"70":6,"74":4,"76":4,"77":4,"80":2,"81":4,"84":3,"112":1,"133":1,"148":3,"154":4,"156":4,"157":4}}],["b",{"2":{"19":7,"86":1,"87":1,"123":6}}],["by",{"2":{"11":1,"23":1,"41":1,"48":1,"49":2,"51":2,"52":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["b>",{"2":{"0":2}}],["better",{"2":{"133":1}}],["between",{"0":{"76":1,"77":1,"156":1,"157":1},"2":{"96":1,"120":1}}],["been",{"2":{"19":1,"127":1}}],["before",{"2":{"14":2,"59":1,"60":8,"63":1,"64":4,"65":4,"66":2,"68":1,"69":4,"70":9,"74":2,"76":2,"77":2,"79":1,"80":2,"81":8,"93":4,"120":2,"123":5,"154":2,"156":2,"157":2}}],["best",{"0":{"91":1},"2":{"6":1,"7":1,"29":2,"91":1,"92":1,"93":1,"102":1,"111":1,"126":1,"129":1}}],["below",{"2":{"0":1,"14":1}}],["be",{"2":{"0":1,"10":1,"11":1,"17":1,"18":2,"19":1,"42":2,"49":2,"51":2,"52":1,"56":2,"96":4,"98":2,"99":1,"100":1,"133":1,"180":1}}],["6",{"2":{"0":1,"7":1,"148":1}}],["range",{"2":{"160":2,"161":2,"172":2,"173":2}}],["run",{"2":{"24":1}}],["runs",{"2":{"24":2}}],["rule",{"0":{"28":1,"42":1,"44":1,"45":1,"49":1,"51":1,"52":1,"56":1,"60":1,"64":1,"66":1,"69":1,"74":1,"80":1,"84":1,"86":1,"87":1,"96":1,"103":1,"106":1,"109":1,"112":1,"115":1,"120":1,"123":1,"127":1,"130":1,"133":1,"137":1,"139":1,"142":1,"145":1,"148":1,"150":1,"151":1,"154":1},"1":{"29":1,"30":1},"2":{"4":10,"19":1,"27":1,"29":2,"30":2,"41":2,"42":1,"47":1,"48":2,"49":1,"54":1,"55":2,"56":1,"58":1,"59":2,"60":1,"62":1,"63":2,"64":1,"65":1,"67":1,"68":2,"69":1,"72":1,"73":2,"74":1,"78":1,"79":2,"80":1,"82":1,"83":2,"84":1,"88":1,"90":1,"91":1,"92":1,"93":1,"94":2,"95":2,"96":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":2,"115":1,"116":1,"117":1,"118":1,"119":2,"120":1,"121":1,"122":2,"123":1,"124":1,"125":1,"126":1,"127":2,"128":1,"129":2,"130":1,"131":1,"132":2,"133":1,"135":1,"136":1,"137":1,"140":1,"141":1,"142":1,"143":1,"144":1,"145":1,"146":1,"147":2,"148":1,"152":1,"153":2,"154":1,"158":1}}],["rulesets",{"2":{"3":1}}],["rules",{"0":{"8":1,"11":1,"19":1,"31":1,"38":1,"89":1,"90":1},"1":{"90":1,"91":1,"92":1,"93":1,"94":1},"2":{"3":3,"6":6,"7":5,"8":1,"15":1,"17":1,"19":1,"27":2,"36":1,"39":1,"91":1,"92":2,"93":2,"94":2}}],["return",{"2":{"159":1,"171":1}}],["requires",{"2":{"50":5,"61":3}}],["require",{"2":{"33":1,"59":1,"63":1,"65":2,"68":1,"70":2,"79":1,"81":2,"93":4}}],["rename",{"0":{"31":1},"2":{"27":1}}],["read",{"2":{"133":1}}],["reading",{"0":{"46":1,"53":1,"57":1,"71":1,"117":1,"124":1,"134":1}}],["readme",{"2":{"24":1}}],["readability",{"0":{"92":1,"93":1},"2":{"1":1,"6":2,"7":2,"96":1}}],["results",{"2":{"19":1}}],["resig",{"2":{"0":1}}],["replace",{"2":{"18":1}}],["reporting",{"2":{"27":1}}],["reported",{"2":{"14":2,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["reports",{"0":{"11":1,"38":1},"2":{"103":1,"106":1,"109":1,"127":1,"137":1,"142":1,"145":1}}],["rewrite",{"2":{"17":1}}],["recommended",{"0":{"92":1,"93":1},"2":{"3":3,"6":4,"7":4,"14":2,"15":3,"24":1,"30":2,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"92":1,"93":2,"95":1,"102":3,"105":1,"108":1,"111":3,"114":3,"119":1,"122":3,"126":3,"129":3,"132":1,"144":1,"147":3,"153":3}}],["rights",{"2":{"25":1}}],["righted",{"2":{"0":1}}],["right",{"2":{"0":1,"85":1}}],["aparsing",{"2":{"127":1}}],["applied",{"2":{"12":1}}],["array",{"2":{"160":1,"161":1,"172":1,"173":1}}],["arrowevaluatetag",{"0":{"139":1},"2":{"138":1,"139":1}}],["arr",{"2":{"123":2,"148":4,"150":2,"151":2}}],["arguments",{"2":{"106":1}}],["around",{"2":{"93":1,"132":1,"133":2}}],["are",{"2":{"6":1,"7":1,"19":2,"81":2,"109":1,"120":1,"123":1,"137":4}}],["at",{"2":{"91":1,"129":1,"130":1}}],["attr2=",{"2":{"86":1,"87":1}}],["attr1=",{"2":{"86":1,"87":1}}],["attributes",{"0":{"95":1,"105":1},"1":{"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"106":1,"107":1},"2":{"46":1,"48":1,"49":1,"65":1,"85":1,"93":5,"95":1,"96":8,"97":1,"98":3,"99":3,"100":3,"105":1,"106":4,"120":1,"168":1}}],["attribute",{"0":{"41":1,"48":1,"86":1,"87":1,"132":1},"1":{"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"133":1,"134":1,"135":1},"2":{"20":1,"41":1,"42":4,"43":1,"44":1,"45":1,"49":3,"50":1,"51":3,"52":2,"53":1,"64":1,"65":2,"85":2,"86":1,"87":1,"93":5,"94":1,"96":4,"98":1,"99":1,"100":1,"106":2,"116":1,"132":1,"133":3,"136":1,"137":5,"169":1}}],["attention",{"0":{"4":1}}],["aims",{"2":{"74":1,"96":1,"120":1,"123":1,"154":1}}],["autofix",{"2":{"20":1}}],["automatically",{"2":{"12":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["avoid",{"2":{"19":1}}],["abc",{"2":{"42":3,"44":1,"48":2,"93":2,"106":2,"127":2}}],["about",{"2":{"20":1,"64":1}}],["above",{"2":{"6":3,"7":3}}],["able",{"2":{"17":1}}],["after",{"2":{"14":2,"68":1,"69":3,"70":9,"74":2,"76":2,"77":2,"79":1,"80":2,"81":8,"93":2,"154":2,"156":2,"157":2}}],["ast",{"0":{"159":1,"171":1},"1":{"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1},"2":{"159":2,"171":2,"181":2,"182":2}}],["asts",{"2":{"19":2}}],["assigned",{"2":{"19":1}}],["as",{"2":{"3":2,"10":2,"11":2,"12":3,"13":1,"15":2,"19":2,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1,"65":1,"174":1,"175":1,"176":1}}],["addtargetextensions",{"2":{"33":1}}],["add",{"2":{"3":2}}],["always",{"0":{"66":1,"76":1,"156":1},"2":{"61":13,"65":2,"66":1,"70":4,"75":2,"76":1,"81":4,"155":2,"156":1}}],["already",{"2":{"19":1,"127":1}}],["allowed",{"2":{"115":3}}],["allows",{"2":{"98":1,"116":3,"133":1}}],["allowfirstline",{"0":{"98":1},"2":{"97":1,"98":1}}],["all",{"0":{"8":1,"89":1},"1":{"90":1,"91":1,"92":1,"93":1,"94":1},"2":{"6":2,"7":2,"8":1,"10":1,"19":1,"36":1,"37":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"91":1,"92":2,"93":2,"95":1,"96":1,"102":2,"105":1,"108":1,"111":2,"114":2,"119":1,"122":2,"126":2,"129":2,"132":1,"136":1,"141":1,"144":1,"147":2,"153":2}}],["also",{"2":{"3":1,"11":1,"14":2,"19":1}}],["alpha",{"2":{"0":1}}],["any",{"2":{"116":3,"145":1}}],["another",{"2":{"4":1}}],["an",{"2":{"1":1,"6":1,"7":1,"14":1,"18":1,"19":1,"96":1,"112":1,"116":1,"160":1,"161":1,"172":1,"173":1,"181":1,"182":1}}],["and",{"0":{"76":1,"77":1,"156":1,"157":1},"2":{"0":1,"1":2,"6":2,"7":1,"18":1,"19":1,"24":2,"25":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":2,"69":1,"70":6,"73":1,"79":2,"80":1,"81":7,"83":1,"92":1,"93":3,"95":1,"96":1,"102":1,"105":1,"108":1,"111":1,"114":1,"119":1,"122":1,"126":1,"129":1,"132":1,"133":1,"134":1,"144":1,"147":1,"153":1}}],["a>",{"2":{"0":2,"10":1}}],["a",{"2":{"0":2,"10":2,"14":2,"18":2,"19":16,"59":1,"60":3,"63":1,"64":1,"65":2,"68":1,"69":1,"79":1,"80":1,"81":2,"84":1,"85":1,"86":1,"87":1,"93":4,"96":6,"98":1,"99":2,"100":2,"112":3,"120":1,"123":6,"127":6,"148":1,"149":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"174":1,"175":1,"176":1}}],["1st",{"2":{"160":1,"161":1,"172":1,"173":1}}],["100",{"2":{"45":2}}],["14",{"0":{"26":1,"30":1,"34":1,"37":1,"40":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1},"2":{"21":1,"34":1,"37":1,"40":1}}],["13",{"0":{"26":1,"29":1,"33":1,"36":1,"39":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1},"2":{"21":1,"33":1,"36":1,"39":1}}],["123",{"2":{"3":3,"20":5,"44":1,"45":1,"61":1,"66":1,"70":1,"81":1,"86":1,"87":1,"98":2,"99":1,"100":1,"112":2,"123":2,"127":3,"137":1,"139":2,"148":2,"150":2,"151":2}}],["1",{"0":{"86":2,"87":1},"2":{"0":2,"19":6,"64":3,"66":2,"69":5,"70":6,"74":4,"76":4,"77":4,"80":2,"81":4,"84":1,"85":2,"86":2,"87":1,"96":6,"97":2,"98":2,"99":4,"100":4,"123":5,"149":2,"154":4,"156":4,"157":2}}],["2nd",{"2":{"160":1,"161":1,"172":1,"173":1}}],["2",{"0":{"87":1,"151":1},"2":{"0":1,"19":6,"36":1,"39":1,"84":3,"85":1,"86":1,"87":2,"96":5,"98":2,"99":1,"100":2,"123":3,"148":3,"149":1,"150":1,"151":2,"160":1,"161":1,"172":1,"173":1}}],[">unexpected",{"2":{"145":1}}],[">the",{"2":{"137":4,"142":1}}],[">html",{"2":{"109":1}}],[">empty",{"2":{"103":1,"112":1}}],[">expected",{"2":{"60":7,"74":2,"76":2,"77":2,"80":1,"81":2,"112":1,"154":2,"156":2,"157":2}}],[">content",{"2":{"80":1,"81":1}}],[">",{"2":{"0":16,"10":6,"11":1,"12":12,"14":2,"18":4,"19":13,"42":6,"44":3,"45":3,"49":6,"51":6,"52":6,"56":5,"60":18,"61":9,"64":12,"66":8,"69":11,"70":10,"74":6,"76":6,"77":5,"80":5,"81":4,"84":5,"86":3,"87":3,"96":9,"98":5,"99":5,"100":5,"103":5,"106":5,"109":2,"112":7,"115":7,"120":7,"123":5,"127":5,"130":5,"133":5,"137":9,"139":6,"142":5,"145":1,"148":11,"150":6,"151":6,"154":6,"156":6,"157":6}}],["=text",{"2":{"157":1}}],["=expected",{"2":{"154":2,"156":2,"157":2}}],["=equal",{"2":{"133":1}}],["=prop",{"2":{"92":1,"153":1}}],["===",{"2":{"123":3}}],["==",{"2":{"0":1}}],["=",{"0":{"171":1},"1":{"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1},"2":{"0":9,"3":1,"4":1,"10":3,"12":4,"14":3,"18":6,"19":15,"33":2,"42":2,"91":3,"92":1,"93":1,"94":2,"103":1,"111":1,"112":3,"123":4,"127":4,"129":2,"130":2,"132":1,"136":1,"137":3,"141":1,"142":1,"148":4,"150":2,"151":2,"153":1,"154":3,"156":3,"157":2,"159":1,"171":1,"181":1}}],["eqtoken",{"2":{"169":1}}],["equal",{"0":{"132":1},"1":{"133":1,"134":1,"135":1},"2":{"93":2,"132":1,"133":4,"134":1}}],["easier",{"2":{"133":1}}],["each",{"2":{"94":1}}],["elements",{"2":{"57":1,"65":2,"81":2,"96":1}}],["element>",{"2":{"56":1}}],["element",{"0":{"55":1},"1":{"56":1,"57":1,"58":1},"2":{"55":2,"56":4,"65":3,"80":2,"81":7,"93":3,"167":1,"168":1,"170":1}}],["else",{"2":{"19":3,"127":1}}],["either",{"0":{"52":1},"2":{"50":2,"52":1}}],["embedding",{"2":{"46":1}}],["empty",{"0":{"102":1},"1":{"103":1,"104":1},"2":{"4":1,"91":2,"102":1,"103":5}}],["entities",{"2":{"133":1}}],["enabling",{"0":{"90":1}}],["enabled",{"2":{"127":1}}],["enables",{"2":{"94":1}}],["enable",{"2":{"1":2,"6":3,"7":2,"90":1,"94":1}}],["end",{"2":{"61":1,"91":1,"129":1,"130":1,"160":1,"161":1,"170":1,"172":1,"173":1,"174":1,"175":1,"176":1,"178":1}}],["endtag",{"2":{"61":3,"81":2,"167":1}}],["enclosed",{"2":{"49":2,"51":2,"52":1}}],["enforces",{"2":{"42":1,"49":1,"56":1,"60":1,"64":1,"69":1,"80":1,"84":1,"148":1}}],["enforce",{"2":{"41":1,"48":1,"55":1,"65":1,"70":2,"73":1,"74":1,"81":2,"83":1,"91":1,"92":3,"93":7,"95":1,"96":1,"147":1,"153":1,"154":1}}],["editor",{"0":{"20":1},"2":{"20":1}}],["e",{"2":{"12":1,"19":3,"61":3}}],["escapes",{"2":{"176":1}}],["escape",{"0":{"141":1},"1":{"142":1,"143":1},"2":{"12":3,"50":1,"94":2,"141":1,"142":4}}],["eslintrc",{"0":{"7":1},"2":{"3":2,"10":1,"11":1,"12":1,"13":1,"15":1,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1}}],["eslint",{"0":{"0":1,"6":1,"90":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1},"2":{"0":1,"1":2,"2":2,"3":4,"6":3,"7":2,"11":2,"14":2,"15":1,"20":4,"27":1,"33":1,"42":1,"44":1,"45":1,"49":1,"51":1,"52":1,"56":1,"60":1,"61":1,"64":1,"66":1,"69":1,"70":1,"74":1,"76":1,"77":1,"80":1,"81":1,"84":1,"86":1,"87":1,"96":1,"98":1,"99":1,"100":1,"103":1,"106":1,"109":1,"112":1,"115":1,"117":1,"120":1,"123":1,"124":1,"127":2,"130":1,"133":1,"137":1,"139":1,"142":1,"145":1,"148":1,"150":1,"151":1,"154":1,"156":1,"157":1,"159":1,"171":1}}],["evaluated",{"2":{"174":1}}],["evaluate",{"2":{"12":3,"103":1,"137":2,"154":1}}],["even",{"2":{"0":1,"19":1}}],["errors",{"2":{"19":1,"90":1,"126":1,"127":1}}],["error",{"0":{"18":1,"126":1},"1":{"127":1,"128":1},"2":{"3":1,"14":3,"18":1,"19":2,"20":2,"42":1,"43":1,"44":1,"45":1,"49":1,"50":1,"51":1,"52":1,"56":1,"60":1,"61":2,"64":1,"65":1,"66":1,"69":1,"70":2,"74":1,"75":1,"76":1,"77":1,"80":1,"81":2,"84":1,"85":1,"86":1,"87":1,"90":1,"94":1,"96":1,"97":1,"98":1,"99":1,"100":1,"103":1,"106":1,"109":1,"112":1,"115":1,"116":1,"120":1,"123":1,"127":6,"130":1,"133":1,"137":1,"138":1,"139":1,"142":1,"145":1,"148":1,"149":1,"150":1,"151":1,"154":1,"155":1,"156":1,"157":1}}],["ejs",{"2":{"1":1,"6":2,"12":3,"13":2,"33":2,"34":2}}],["exit",{"2":{"159":1,"171":1}}],["exist",{"2":{"106":1}}],["exceptions",{"2":{"116":1}}],["exceed",{"2":{"96":1}}],["extentions",{"0":{"32":1},"1":{"33":1,"34":1}}],["extensions",{"0":{"13":1}}],["extension",{"2":{"12":1,"20":1,"27":1}}],["extends",{"2":{"3":1,"12":1,"15":4,"90":1,"91":1,"92":1,"93":1}}],["ex",{"2":{"12":1,"41":1,"48":1,"55":1,"59":1,"73":1,"91":3,"92":2,"93":10,"94":2,"102":1,"105":1,"108":1,"111":1,"119":1,"122":1,"129":1,"132":1,"136":1,"141":1,"144":1,"153":1}}],["expressionend",{"2":{"174":2,"175":2,"176":2}}],["expression",{"0":{"156":1,"157":1},"2":{"91":2,"111":1,"112":2,"129":1,"130":1}}],["expressionstart",{"2":{"174":2,"175":2,"176":2}}],["expressions",{"2":{"4":1,"112":1}}],["expect",{"0":{"76":1,"77":1,"156":1,"157":1}}],["expected",{"2":{"49":1,"51":1,"64":3,"66":2,"69":4,"70":5,"74":2,"76":2,"77":2,"84":3,"148":3}}],["experience",{"0":{"91":1},"2":{"6":1,"7":1}}],["experimental",{"2":{"1":1,"6":1,"7":1,"14":1}}],["exports",{"2":{"3":1,"33":1}}],["export",{"2":{"3":1,"18":2,"159":1,"171":1}}],["example",{"2":{"3":2,"12":2,"13":1,"14":1,"33":1,"34":1,"94":1,"181":1,"182":1}}],["examples",{"0":{"44":1,"45":1,"51":1,"52":1,"66":1,"86":1,"87":1,"139":1,"150":1,"151":1},"2":{"0":1}}],["last",{"2":{"64":1,"65":2,"106":1}}],["language",{"2":{"20":1}}],["location",{"2":{"64":1,"160":2,"161":2,"172":2,"173":2}}],["logo",{"2":{"49":3,"51":3,"52":3}}],["logically",{"2":{"19":1}}],["log",{"2":{"19":4}}],["lodashtemplate",{"2":{"3":2}}],["lodash",{"0":{"0":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"102":1,"105":1,"108":1,"111":1,"114":1,"119":1,"122":1,"126":1,"129":1,"132":1,"136":1,"141":1,"144":1,"147":1,"153":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"64":1,"65":1,"66":1,"67":1,"69":1,"70":1,"71":1,"72":1,"74":1,"75":1,"76":1,"77":1,"78":1,"80":1,"81":1,"82":1,"84":1,"85":1,"86":1,"87":1,"88":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"103":1,"104":1,"106":1,"107":1,"109":1,"110":1,"112":1,"113":1,"115":1,"116":1,"117":1,"118":1,"120":1,"121":1,"123":1,"124":1,"125":1,"127":1,"128":1,"130":1,"131":1,"133":1,"134":1,"135":1,"137":1,"138":1,"139":1,"140":1,"142":1,"143":1,"145":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"154":1,"155":1,"156":1,"157":1,"158":1},"2":{"0":1,"1":1,"2":1,"3":3,"4":9,"7":7,"10":1,"11":1,"12":2,"13":1,"14":4,"15":5,"29":2,"30":2,"31":4,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1,"41":2,"42":3,"43":1,"44":1,"45":1,"48":2,"49":3,"50":1,"51":3,"52":2,"55":2,"56":3,"59":2,"60":8,"61":2,"63":2,"64":4,"65":2,"66":3,"68":2,"69":6,"70":8,"73":2,"74":5,"75":1,"76":5,"77":5,"79":2,"80":3,"81":6,"83":2,"84":4,"85":1,"86":1,"87":1,"90":2,"91":4,"92":5,"93":16,"94":3,"95":2,"96":4,"97":1,"98":2,"99":2,"100":2,"102":5,"103":3,"105":2,"106":3,"108":2,"109":2,"111":5,"112":3,"114":4,"115":4,"116":1,"119":2,"120":3,"122":4,"123":6,"126":6,"127":3,"129":5,"130":2,"132":2,"133":2,"136":1,"137":5,"138":1,"139":1,"141":1,"142":2,"144":2,"145":2,"147":4,"148":4,"149":1,"150":1,"151":1,"153":4,"154":5,"155":1,"156":5,"157":5,"159":1,"171":1}}],["less",{"2":{"133":1}}],["level",{"2":{"65":1,"149":1}}],["let",{"2":{"18":1,"148":2,"150":1,"151":1}}],["length",{"2":{"0":1,"10":1,"148":2,"150":1,"151":1}}],["lt",{"0":{"171":1},"1":{"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1},"2":{"4":1,"41":3,"48":3,"55":3,"59":4,"61":3,"73":2,"91":4,"92":3,"93":21,"94":4,"102":1,"105":1,"108":1,"111":1,"119":1,"122":1,"129":2,"132":2,"136":2,"141":2,"144":1,"153":2,"181":1}}],["lib",{"2":{"159":1,"171":1}}],["limits",{"2":{"96":1}}],["limitations",{"0":{"17":1},"1":{"18":1,"19":1},"2":{"14":1,"17":1,"25":1}}],["license",{"0":{"25":1},"2":{"25":2}}],["linters",{"2":{"20":1}}],["lines",{"2":{"100":1}}],["line",{"0":{"95":1},"1":{"96":1,"97":1,"98":1,"99":1,"100":1,"101":1},"2":{"4":2,"41":1,"48":1,"55":1,"59":1,"63":2,"64":10,"65":8,"66":4,"68":2,"69":12,"70":19,"73":1,"79":2,"80":6,"81":18,"83":1,"93":5,"95":2,"96":12,"97":1,"98":5,"99":5,"100":4,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["literal",{"2":{"12":1}}],["li>",{"2":{"0":2,"10":2}}],["like",{"2":{"0":1,"12":1,"14":1}}],["c",{"2":{"86":1,"87":1,"123":2}}],["curly",{"0":{"76":1,"77":1,"156":1,"157":1}}],["custom",{"2":{"46":1,"57":1}}],["customizing",{"2":{"27":1}}],["customize",{"0":{"12":1,"13":1,"32":1},"1":{"33":1,"34":1}}],["clauses",{"2":{"149":1}}],["class",{"2":{"93":1,"132":1,"133":1}}],["class=abc",{"2":{"48":1,"93":1}}],["class=",{"2":{"0":4,"48":2,"60":4,"64":7,"66":5,"80":4,"81":4,"84":2,"86":1,"87":1,"93":3,"115":2,"120":4,"132":1,"133":1,"137":1,"148":2,"150":1,"151":1}}],["closebracket",{"0":{"86":1,"87":1},"2":{"85":2,"86":1,"87":1}}],["closing",{"0":{"59":1,"63":1},"1":{"60":1,"61":1,"62":1,"64":1,"65":1,"66":1,"67":1},"2":{"59":1,"60":9,"61":3,"63":1,"64":9,"65":6,"66":5,"80":1,"81":2,"93":4}}],["css",{"2":{"46":1,"53":1}}],["children",{"2":{"162":1,"163":1,"167":1}}],["chars",{"2":{"177":2,"178":2}}],["characters",{"2":{"116":3}}],["changed",{"2":{"27":2}}],["changes",{"0":{"27":1}}],["checks",{"2":{"96":1}}],["check",{"2":{"14":1}}],["checking",{"2":{"0":1}}],["capitalization",{"2":{"46":1}}],["case",{"2":{"42":3,"56":3,"149":1}}],["casing",{"0":{"41":1,"55":1},"1":{"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"56":1,"57":1,"58":1},"2":{"41":1,"42":4,"43":1,"44":1,"45":1,"55":1,"56":4,"93":4}}],["category",{"2":{"29":2,"30":2,"91":1,"92":1,"93":1,"94":1}}],["categories",{"0":{"28":1},"1":{"29":1,"30":1},"2":{"27":1,"92":1,"93":1}}],["cause",{"2":{"19":1}}],["cannot",{"2":{"18":1}}],["can",{"2":{"0":1,"1":1,"11":1,"18":1,"19":2,"41":1,"48":1,"55":1,"59":1,"63":1,"65":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1,"159":1,"171":1,"180":1}}],["create",{"2":{"3":1,"159":1,"171":1}}],["coverage",{"2":{"24":1}}],["cover",{"2":{"19":1}}],["com",{"2":{"159":1,"171":1}}],["command",{"2":{"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["commentclose",{"2":{"165":1}}],["commentopen",{"2":{"165":1}}],["commentexpected",{"2":{"69":1,"70":1}}],["comment",{"0":{"68":1,"73":1,"76":1,"77":1},"1":{"69":1,"70":1,"71":1,"72":1,"74":1,"75":1,"76":1,"77":1,"78":1},"2":{"10":1,"12":1,"68":1,"69":11,"70":13,"73":3,"74":9,"75":1,"76":8,"77":7,"93":7,"108":1,"109":1,"145":1,"165":1}}],["comments",{"0":{"108":1,"144":1},"1":{"109":1,"110":1,"145":1,"146":1},"2":{"3":1,"29":2,"30":2,"70":8,"71":1,"93":4,"108":1,"109":3,"116":1,"144":1,"145":3,"182":1}}],["components",{"2":{"57":1}}],["compared",{"2":{"19":1}}],["complex",{"2":{"18":1}}],["complete",{"2":{"12":1}}],["correct",{"0":{"90":1},"2":{"6":2,"7":1}}],["context",{"2":{"159":1,"171":1}}],["contentexpected",{"2":{"80":1,"81":2}}],["content",{"0":{"68":1,"79":1},"1":{"69":1,"70":1,"71":1,"72":1,"80":1,"81":1,"82":1},"2":{"69":6,"70":8,"80":5,"81":7,"93":2,"115":2}}],["contents",{"2":{"0":1,"68":1,"69":1,"79":1,"80":1,"81":8,"93":2}}],["contributing",{"0":{"22":1,"179":1},"1":{"23":1,"24":1,"180":1,"181":1,"182":1},"2":{"22":1}}],["conditions",{"2":{"19":1}}],["considered",{"2":{"96":1}}],["consistent",{"2":{"19":1,"60":1,"83":1,"84":1,"92":1,"93":1,"147":1,"148":1}}],["console",{"2":{"19":4}}],["const",{"2":{"14":1,"19":14,"33":1,"127":4,"159":1,"171":1}}],["confusing",{"2":{"19":1}}],["confuse",{"2":{"19":1}}],["configs",{"0":{"5":1},"1":{"6":1,"7":1},"2":{"3":1,"6":9,"7":1}}],["config",{"0":{"6":1},"2":{"3":1,"6":1,"7":1}}],["configuration",{"2":{"24":1,"27":2,"65":2,"70":2,"81":3,"145":1}}],["configuring",{"0":{"15":1},"2":{"3":1}}],["configure",{"2":{"3":1,"15":1}}],["code",{"2":{"0":1,"6":2,"7":2,"20":1,"174":1,"175":1,"176":1}}],["two",{"2":{"96":1}}],["type=",{"2":{"93":1,"119":1,"120":3}}],["type",{"2":{"85":3,"149":3,"159":1,"162":1,"163":1,"164":2,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["typescript",{"0":{"14":1},"1":{"15":1},"2":{"1":1,"15":2}}],["traverse",{"0":{"181":1,"182":1},"2":{"181":1,"182":1}}],["traversemicrotemplates",{"2":{"171":1,"181":1}}],["traversedocumentnodes",{"2":{"159":1,"182":1}}],["true",{"0":{"45":1,"139":1},"2":{"19":5,"20":1,"43":1,"45":1,"116":3,"139":1}}],["tries",{"2":{"19":1}}],["try",{"2":{"18":1}}],["tsinterface",{"2":{"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"174":1,"175":1,"176":1,"177":1,"178":1}}],["tsextend",{"2":{"160":1,"161":1,"172":1,"173":1}}],["ts",{"2":{"15":1,"159":1,"171":1}}],["t",{"2":{"14":1,"70":2,"81":2}}],["task",{"2":{"93":1,"144":1}}],["tab",{"2":{"85":3,"149":3}}],["tabs",{"2":{"11":1,"39":1,"40":1}}],["target",{"0":{"13":1,"32":1},"1":{"33":1,"34":1},"2":{"27":1}}],["tagclose",{"2":{"168":1,"170":1}}],["tagopen",{"2":{"168":1,"170":1}}],["tag",{"0":{"10":1,"35":1,"102":1,"119":1,"136":2,"153":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1,"103":1,"104":1,"120":1,"121":1,"137":2,"138":2,"139":2,"140":2,"154":1,"155":1,"156":1,"157":1,"158":1},"2":{"1":1,"4":2,"11":1,"59":1,"63":1,"64":1,"91":2,"92":3,"93":3,"94":6,"99":1,"100":1,"102":1,"103":5,"120":3,"136":2,"137":20,"138":2,"139":2,"147":1,"148":1,"149":1,"153":1,"154":5,"156":5,"157":5,"168":1,"170":1,"174":3,"175":3,"176":3,"177":2,"178":2,"181":2}}],["tags",{"2":{"1":1,"4":1,"60":1,"61":3,"92":1,"93":1,"114":1,"119":1}}],["top",{"2":{"149":1}}],["together",{"2":{"133":1}}],["todo",{"2":{"93":1,"144":1,"145":2}}],["tools",{"0":{"24":1}}],["token",{"0":{"172":1},"2":{"20":2,"171":1,"172":1,"177":1,"178":1}}],["to",{"0":{"26":1},"1":{"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1},"2":{"1":1,"3":1,"6":6,"7":5,"10":1,"12":2,"15":3,"17":3,"18":1,"19":3,"20":1,"21":1,"24":1,"30":2,"31":2,"49":2,"51":2,"52":1,"65":1,"74":1,"75":1,"81":1,"92":1,"96":3,"98":1,"120":1,"123":1,"133":1,"147":1,"148":1,"154":1,"155":1,"176":1,"181":1,"182":1}}],["terms",{"2":{"93":1,"144":1,"145":1}}],["ternary",{"2":{"11":1}}],["tests",{"2":{"24":1}}],["test",{"2":{"24":1,"47":1,"54":1,"58":1,"62":1,"67":1,"72":1,"78":1,"82":1,"88":1,"91":1,"92":1,"101":1,"104":1,"107":1,"110":1,"111":1,"113":1,"118":1,"121":1,"122":1,"125":1,"128":1,"131":1,"135":1,"140":1,"143":1,"146":1,"152":1,"158":1}}],["texts",{"2":{"116":1}}],["textarea",{"2":{"81":2}}],["text3",{"2":{"20":1}}],["text",{"2":{"0":1,"19":1,"20":1,"86":1,"87":1,"91":2,"93":1,"103":1,"112":1,"119":1,"120":3,"129":2,"130":2,"142":2,"154":3,"156":3,"157":2,"166":1}}],["templating",{"2":{"0":1}}],["templatetag",{"0":{"171":1},"1":{"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1},"2":{"181":1}}],["templatesettings",{"2":{"12":4}}],["templates",{"0":{"14":1,"17":1},"1":{"15":1,"18":1,"19":1},"2":{"0":1,"1":3,"6":1,"7":1,"10":1,"15":4,"17":2,"36":1,"37":1,"127":1}}],["template",{"0":{"0":1,"10":1,"11":1,"35":1,"38":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"93":2,"95":1,"102":2,"105":1,"108":1,"111":2,"114":1,"119":1,"122":1,"126":1,"129":2,"132":1,"136":2,"141":2,"144":1,"147":1,"153":2},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1,"36":1,"37":1,"38":1,"39":1,"40":1,"42":1,"43":1,"44":1,"45":1,"46":1,"47":1,"49":1,"50":1,"51":1,"52":1,"53":1,"54":1,"56":1,"57":1,"58":1,"60":1,"61":1,"62":1,"64":1,"65":1,"66":1,"67":1,"69":1,"70":1,"71":1,"72":1,"74":1,"75":1,"76":1,"77":1,"78":1,"80":1,"81":1,"82":1,"84":1,"85":1,"86":1,"87":1,"88":1,"96":1,"97":1,"98":1,"99":1,"100":1,"101":1,"103":2,"104":2,"106":1,"107":1,"109":1,"110":1,"112":2,"113":2,"115":1,"116":1,"117":1,"118":1,"120":1,"121":1,"123":1,"124":1,"125":1,"127":1,"128":1,"130":2,"131":2,"133":1,"134":1,"135":1,"137":2,"138":2,"139":2,"140":2,"142":2,"143":2,"145":1,"146":1,"148":1,"149":1,"150":1,"151":1,"152":1,"154":2,"155":2,"156":2,"157":2,"158":2},"2":{"0":1,"1":2,"2":1,"3":3,"4":11,"6":1,"7":8,"10":2,"11":2,"12":1,"13":1,"14":4,"15":5,"18":1,"19":5,"27":1,"29":2,"30":2,"31":4,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1,"41":2,"42":3,"43":1,"44":1,"45":1,"48":2,"49":3,"50":1,"51":3,"52":2,"55":2,"56":3,"59":2,"60":8,"61":2,"63":2,"64":4,"65":2,"66":3,"68":2,"69":6,"70":8,"73":2,"74":5,"75":1,"76":5,"77":5,"79":2,"80":3,"81":6,"83":2,"84":4,"85":1,"86":1,"87":1,"90":3,"91":10,"92":9,"93":16,"94":8,"95":2,"96":4,"97":1,"98":2,"99":2,"100":2,"102":6,"103":9,"105":2,"106":3,"108":2,"109":2,"111":6,"112":7,"114":5,"115":4,"116":1,"119":2,"120":3,"122":4,"123":6,"126":7,"127":4,"129":6,"130":5,"132":2,"133":2,"136":2,"137":15,"138":2,"139":2,"141":2,"142":6,"144":2,"145":2,"147":5,"148":5,"149":2,"150":1,"151":1,"153":5,"154":11,"155":2,"156":10,"157":10,"159":1,"171":2,"174":1,"175":2,"176":2,"177":1,"178":1,"181":2}}],["than",{"2":{"91":1,"111":1,"112":1}}],["that",{"2":{"19":1,"96":1,"137":1,"145":1,"174":1,"175":1,"176":1}}],["there",{"2":{"96":1}}],["these",{"2":{"19":1}}],["then",{"2":{"19":1}}],["the",{"0":{"10":1,"35":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1},"2":{"0":2,"1":1,"4":2,"10":4,"11":1,"12":2,"14":3,"15":2,"18":3,"19":6,"25":1,"27":5,"36":1,"37":1,"41":3,"46":1,"48":3,"49":1,"55":3,"59":3,"61":3,"63":3,"64":4,"65":16,"68":3,"70":10,"73":3,"79":3,"80":2,"81":15,"83":3,"84":1,"85":4,"91":3,"92":3,"93":3,"94":1,"95":4,"96":4,"98":1,"99":1,"106":1,"114":4,"115":1,"119":3,"122":3,"129":5,"130":2,"132":3,"137":2,"145":1,"147":3,"148":1,"149":4,"153":3,"159":1,"160":9,"161":9,"171":1,"172":9,"173":9,"174":4,"175":4,"176":4,"177":4,"178":4,"181":1,"182":1}}],["this",{"0":{"44":1,"45":1,"51":1,"52":1,"66":1,"86":1,"87":1,"139":1,"150":1,"151":1},"2":{"0":1,"1":1,"4":2,"6":3,"7":3,"12":1,"14":2,"17":1,"19":3,"23":1,"41":2,"42":1,"48":2,"49":1,"55":2,"56":1,"59":2,"60":1,"63":2,"64":1,"65":2,"68":2,"69":1,"70":2,"73":2,"74":1,"79":2,"80":1,"81":2,"83":2,"84":1,"85":2,"90":1,"91":1,"92":1,"93":1,"94":1,"95":2,"96":1,"102":1,"103":1,"105":1,"106":1,"108":1,"109":1,"111":1,"112":1,"114":2,"115":1,"116":1,"119":2,"120":1,"122":2,"123":1,"126":1,"127":2,"129":2,"130":1,"132":2,"133":1,"136":1,"137":1,"141":1,"142":1,"144":1,"145":1,"147":2,"148":1,"149":2,"153":2,"154":1,"159":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":1,"174":1,"175":1,"176":1,"177":1,"178":1,"180":1}}],["systemid",{"2":{"164":1}}],["syntax",{"2":{"127":1}}],["switchcase",{"2":{"149":2}}],["skiptext",{"2":{"116":2}}],["skipattrvalues",{"2":{"116":2}}],["skipcomments",{"2":{"116":2}}],["should",{"2":{"96":3,"98":1,"99":1,"100":1}}],["signs",{"2":{"93":1,"132":1,"133":3,"134":1}}],["sign",{"0":{"132":1},"1":{"133":1,"134":1,"135":1},"2":{"93":1,"133":2}}],["singleline",{"0":{"99":1},"2":{"65":2,"69":2,"70":3,"81":3,"97":1,"99":1}}],["single",{"0":{"51":1},"2":{"50":5,"51":3,"65":2,"70":1,"81":3,"99":1}}],["svg>",{"2":{"45":1}}],["svg",{"2":{"45":1}}],["same",{"2":{"19":1,"64":1,"65":2}}],["save",{"2":{"2":1}}],["sourcecode",{"2":{"159":1,"171":1,"180":1}}],["source",{"2":{"20":1,"47":2,"54":2,"58":2,"62":2,"67":2,"72":2,"78":2,"82":2,"88":2,"101":2,"104":2,"107":2,"110":2,"113":2,"118":2,"121":2,"125":2,"128":2,"131":2,"135":2,"140":2,"143":2,"146":2,"152":2,"158":2}}],["sourcetype",{"2":{"15":1}}],["so",{"2":{"19":1}}],["some",{"0":{"19":1,"28":1,"31":1},"1":{"29":1,"30":1},"2":{"17":2,"19":1,"27":2,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["scripts",{"2":{"19":1}}],["script",{"0":{"17":1,"126":1},"1":{"18":1,"19":1,"127":1,"128":1},"2":{"6":1,"7":1,"14":2,"15":4,"17":1,"18":4,"19":9,"31":2,"90":1,"102":1,"111":1,"114":1,"122":1,"123":1,"126":1,"127":3,"129":1,"147":1,"148":1,"153":1,"174":1}}],["scriptlet",{"0":{"122":1,"147":1},"1":{"123":1,"124":1,"125":1,"148":1,"149":1,"150":1,"151":1,"152":1},"2":{"4":4,"14":2,"31":2,"92":4,"122":1,"123":6,"147":1,"148":4,"149":1,"150":1,"151":1}}],["spacing",{"0":{"59":1,"73":1,"153":1},"1":{"60":1,"61":1,"62":1,"74":1,"75":1,"76":1,"77":1,"78":1,"154":1,"155":1,"156":1,"157":1,"158":1},"2":{"60":9,"61":2,"73":1,"74":6,"75":2,"76":5,"77":5,"92":2,"93":4,"132":1,"133":1,"153":1,"154":6,"155":2,"156":5,"157":5,"181":1}}],["spaced",{"2":{"133":1}}],["space",{"0":{"76":1,"132":1,"156":1},"1":{"133":1,"134":1,"135":1},"2":{"14":2,"59":1,"60":7,"74":4,"76":4,"77":4,"84":1,"93":2,"133":3,"154":4,"156":4,"157":2}}],["spaces",{"0":{"77":1,"119":1,"122":1,"157":1},"1":{"120":1,"121":1,"123":1,"124":1,"125":1},"2":{"4":6,"14":6,"31":2,"61":6,"74":4,"76":4,"77":4,"84":6,"85":1,"92":2,"93":2,"119":1,"120":5,"122":1,"123":11,"124":1,"133":1,"134":1,"148":7,"149":1,"154":4,"156":4,"157":6}}],["specified",{"2":{"93":1,"144":1,"145":1}}],["specification",{"2":{"181":1,"182":1}}],["specific",{"0":{"11":1,"38":1},"2":{"1":1,"10":1,"27":1}}],["special",{"2":{"4":1}}],["stored",{"2":{"174":2,"175":2,"176":2,"177":1,"178":1}}],["string",{"2":{"160":2,"164":3,"165":1,"166":1,"167":1,"169":2,"174":1,"175":1,"176":1,"177":2,"178":2}}],["stringify",{"2":{"14":1}}],["strict",{"2":{"4":1,"33":1}}],["statement",{"2":{"112":1}}],["statements",{"2":{"4":2,"149":1}}],["startindent",{"0":{"150":1,"151":1},"2":{"149":2,"150":1,"151":1}}],["start",{"0":{"136":1},"1":{"137":1,"138":1,"139":1,"140":1},"2":{"61":1,"94":3,"136":1,"137":10,"138":1,"139":1,"160":1,"161":1,"168":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1}}],["starttag",{"2":{"61":3,"81":2,"167":1}}],["standard",{"2":{"11":1}}],["stylistic",{"2":{"4":5}}],["style",{"2":{"0":1,"42":1,"46":1,"48":1,"49":1,"53":2,"56":1,"60":1,"70":2,"71":1,"81":3,"84":2,"93":1,"134":1,"148":2}}],["semicolon",{"2":{"91":1,"129":1,"130":2}}],["semi",{"0":{"129":1},"1":{"130":1,"131":1},"2":{"91":1,"130":2}}],["selfclosing",{"2":{"168":1}}],["selfclosingtag",{"2":{"61":3}}],["self",{"2":{"61":1}}],["selector",{"2":{"20":1}}],["setting",{"2":{"61":3}}],["settings",{"0":{"20":1},"2":{"3":1,"6":2,"7":1,"10":1,"11":1,"20":4,"37":1,"40":1}}],["set",{"2":{"4":2,"10":1,"11":1,"12":4,"13":1,"15":2,"33":1,"34":1,"36":1,"37":1,"39":1,"40":1,"75":1,"155":1}}],["see",{"2":{"3":1,"8":1,"25":1,"159":1,"171":1}}],["sublimelinter",{"2":{"20":3}}],["sublime",{"2":{"20":1}}],["support",{"2":{"12":1}}],["supports",{"2":{"0":1,"1":1,"4":1,"27":1}}],["suppressing",{"2":{"27":1}}],["suppression",{"2":{"11":1}}],["suppress",{"0":{"10":1,"11":1,"35":1,"38":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1}}],["such",{"2":{"3":2}}],["src=",{"2":{"0":1,"49":3,"51":3,"52":3}}],["s",{"2":{"0":1,"1":1,"12":6,"22":1,"59":1,"63":1,"64":1,"65":2,"81":2,"85":1,"93":2,"106":1,"149":1,"180":1}}],["javascriptreact",{"2":{"20":1}}],["javascript",{"0":{"14":1},"1":{"15":1},"2":{"1":1,"6":1,"7":1,"20":1,"127":2}}],["jsconst",{"2":{"19":1}}],["jslet",{"2":{"18":1}}],["json",{"2":{"14":1,"20":3,"36":1,"37":1,"39":1,"40":1,"43":1,"50":1,"61":1,"65":1,"70":1,"75":1,"81":1,"85":1,"90":1,"91":1,"92":1,"93":1,"94":1,"97":1,"116":1,"138":1,"149":1,"155":1}}],["jsmodule",{"2":{"3":1}}],["jsimport",{"2":{"3":1}}],["js",{"0":{"6":1},"2":{"0":1,"1":1,"3":2,"12":1,"14":1,"15":3,"18":1,"19":9,"20":1,"33":1,"127":2,"159":1,"171":1,"181":1,"182":1}}],["john",{"2":{"0":1}}],["u3000",{"2":{"115":3}}],["update",{"2":{"24":2}}],["unnecessary",{"2":{"130":1}}],["uncategorized",{"0":{"94":1}}],["unified",{"2":{"73":1,"74":1,"92":1,"93":1,"153":1,"154":1}}],["unexpected",{"2":{"20":2}}],["undef",{"0":{"10":1,"35":1},"1":{"36":1,"37":1,"38":1,"39":1,"40":1},"2":{"11":1,"39":1,"40":1}}],["underscore",{"2":{"0":1,"1":1}}],["unused",{"2":{"4":1,"19":1}}],["url",{"2":{"0":2,"10":1}}],["usage",{"0":{"3":1},"1":{"4":1}}],["uses",{"2":{"85":1,"149":1}}],["use",{"2":{"14":1,"15":2,"17":1,"19":2,"22":1,"33":1,"65":1,"159":1,"171":1,"181":1,"182":1}}],["users",{"2":{"0":3,"10":4}}],["user",{"2":{"0":2,"3":1,"20":1}}],["used",{"2":{"0":1,"10":2,"11":1,"14":1,"19":1,"36":1,"37":1,"120":1,"123":1}}],["using",{"2":{"0":1,"11":1,"14":1,"19":2,"57":1,"90":1}}],["publicid",{"2":{"164":1}}],["put",{"2":{"98":1}}],["people",{"2":{"64":1}}],["per",{"0":{"95":1},"1":{"96":1,"97":1,"98":1,"99":1,"100":1,"101":1},"2":{"4":2,"93":2,"95":1,"96":7,"97":1,"98":2,"99":3,"100":3}}],["pngexpected",{"2":{"49":1,"51":1,"52":1}}],["png",{"2":{"49":2,"51":2,"52":2}}],["possibly",{"2":{"106":1}}],["possible",{"2":{"19":1}}],["positives",{"0":{"19":1},"2":{"19":1}}],["print",{"2":{"142":1}}],["prs",{"2":{"22":1}}],["preset",{"2":{"94":1}}],["pre",{"2":{"81":2}}],["preferable",{"2":{"142":1}}],["prefer",{"0":{"141":1},"1":{"142":1,"143":1},"2":{"50":2,"94":2,"141":1,"142":2}}],["preference",{"2":{"20":1,"64":1}}],["predefined",{"2":{"6":1,"7":1,"145":1}}],["practices",{"0":{"91":1},"2":{"6":1,"7":1,"29":2,"91":1,"92":1,"93":1,"102":1,"111":1,"126":1,"129":1}}],["program",{"2":{"159":1,"171":1}}],["property",{"2":{"160":1,"161":1,"172":1,"173":1,"174":2,"175":2,"176":2,"177":1,"178":1}}],["properties",{"2":{"96":1}}],["prop",{"2":{"92":1,"153":1}}],["problems",{"2":{"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"114":1,"119":1,"122":1,"129":1,"132":1,"147":1,"153":1}}],["provided",{"2":{"23":1}}],["provide",{"2":{"12":1}}],["provides",{"2":{"6":1,"7":1,"180":1}}],["processor",{"2":{"13":1,"15":1,"34":1}}],["process",{"2":{"4":1,"19":4}}],["profile",{"2":{"0":1}}],["projects",{"2":{"0":1}}],["panel",{"2":{"80":4,"81":4}}],["package",{"2":{"20":1}}],["parsed",{"2":{"18":2}}],["parse",{"2":{"12":1,"18":1}}],["parserservices",{"0":{"23":1},"2":{"23":1,"159":1,"171":1,"180":2}}],["parseroptions",{"2":{"12":3,"15":2}}],["parser",{"0":{"12":1},"2":{"15":2,"180":1}}],["parsing",{"0":{"18":1,"90":1,"126":1},"1":{"127":1,"128":1},"2":{"6":3,"7":2,"14":1,"18":1,"19":2,"20":2,"90":2,"126":1,"127":3}}],["partial",{"2":{"1":1}}],["padded",{"2":{"4":2}}],["please",{"2":{"8":1,"10":2,"11":1,"12":1,"13":1,"15":1,"22":1,"34":1,"37":1,"40":1,"94":1}}],["plus",{"2":{"6":4,"7":4,"65":1}}],["pluginlodashtemplate",{"2":{"33":2}}],["plugin",{"0":{"0":1,"9":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":2,"11":2,"12":2,"13":2,"14":2,"15":2,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":1,"23":1,"24":1,"25":1},"2":{"0":2,"2":1,"3":2,"4":2,"6":2,"7":9,"12":2,"14":3,"15":4,"17":1,"19":2,"23":1,"33":1,"36":1,"39":1,"41":2,"48":2,"55":2,"59":2,"63":2,"68":2,"73":2,"79":2,"83":2,"90":2,"91":1,"92":1,"93":1,"95":2,"102":5,"105":2,"108":2,"111":5,"114":4,"119":2,"122":4,"126":6,"129":5,"132":2,"136":1,"141":1,"144":2,"147":4,"153":4,"159":1,"171":1,"180":1}}],["playground",{"2":{"0":1,"14":1}}],["p>",{"2":{"0":2}}],["ignoredattributes",{"2":{"168":1}}],["ignorenames",{"2":{"81":2}}],["ignoresvgcamelcaseattributes",{"0":{"45":1},"2":{"43":1,"45":1}}],["ignore",{"0":{"44":1},"2":{"43":1,"44":1,"70":2,"81":4}}],["ignorerules",{"2":{"11":1,"39":1,"40":1}}],["irregular",{"0":{"114":1},"1":{"115":1,"116":1,"117":1,"118":1},"2":{"4":2,"92":2,"114":1,"115":8,"116":1,"117":1}}],["if",{"2":{"4":2,"12":2,"14":3,"15":2,"18":1,"19":7,"50":1,"65":2,"81":2,"85":2,"91":1,"92":1,"94":1,"98":1,"111":1,"112":2,"122":1,"123":2,"127":2,"137":1,"139":1,"149":2}}],["is",{"2":{"1":1,"4":2,"6":1,"7":1,"12":2,"14":4,"19":12,"41":1,"48":1,"55":1,"59":1,"61":3,"63":1,"65":4,"68":1,"70":2,"73":1,"75":1,"79":1,"81":2,"83":1,"84":1,"85":5,"95":1,"96":2,"99":2,"100":2,"102":1,"105":1,"106":1,"108":1,"111":1,"114":1,"119":1,"122":1,"126":1,"127":1,"129":1,"132":1,"133":1,"136":1,"137":1,"141":1,"142":1,"144":1,"147":1,"148":1,"149":5,"153":1,"155":1,"160":3,"161":3,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"172":3,"173":3,"174":4,"175":4,"176":4,"177":2,"178":2,"181":2,"182":2}}],["issues",{"2":{"1":1,"22":1}}],["i++",{"2":{"0":1,"10":1,"148":2,"150":1,"151":1}}],["implementation",{"0":{"47":1,"54":1,"58":1,"62":1,"67":1,"72":1,"78":1,"82":1,"88":1,"101":1,"104":1,"107":1,"110":1,"113":1,"118":1,"121":1,"125":1,"128":1,"131":1,"135":1,"140":1,"143":1,"146":1,"152":1,"158":1}}],["implicit",{"2":{"4":1}}],["improve",{"0":{"91":1,"92":1,"93":1},"2":{"6":3,"7":3,"96":1}}],["improves",{"2":{"1":1}}],["image",{"2":{"0":1}}],["img",{"2":{"0":1,"49":3,"51":3,"52":3}}],["i",{"2":{"0":5,"10":4,"148":6,"150":3,"151":3}}],["idname",{"2":{"18":4}}],["identifier",{"2":{"18":1,"19":1,"127":1}}],["id",{"2":{"0":1,"4":1,"90":1,"91":1,"92":1,"93":1,"94":1,"115":2}}],["id=",{"2":{"0":1,"64":7,"66":5,"86":1,"87":1,"115":2}}],["invalid",{"0":{"111":1},"1":{"112":1,"113":1},"2":{"91":1,"112":3}}],["interface",{"2":{"160":1,"161":1,"172":1,"173":1}}],["interpolations",{"0":{"141":1},"1":{"142":1,"143":1},"2":{"94":2,"141":1,"142":2}}],["interpolation",{"0":{"111":1,"129":1},"1":{"112":1,"113":1,"130":1,"131":1},"2":{"18":2,"91":4,"111":1,"112":4,"129":1,"130":3,"142":1,"155":1}}],["interpolates",{"2":{"142":1}}],["interpolate",{"2":{"4":1,"12":3,"103":1,"137":2,"154":1,"175":1,"176":1}}],["integers",{"2":{"160":1,"161":1,"172":1,"173":1}}],["integer",{"2":{"85":2,"149":2,"160":2,"161":2,"172":2,"173":2}}],["input>",{"2":{"60":1}}],["input",{"2":{"59":4,"60":9,"61":4,"93":5,"94":1,"96":6,"98":2,"99":2,"100":2,"119":1,"120":3,"133":2,"136":1,"137":5,"139":2}}],["information",{"2":{"23":1,"174":2,"175":2,"176":2}}],["include",{"2":{"12":1,"145":1}}],["included",{"2":{"6":1,"7":1,"15":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":1,"79":1,"83":1,"95":1,"102":1,"105":1,"108":1,"111":1,"114":1,"119":1,"122":1,"126":1,"129":1,"132":1,"136":1,"141":1,"144":1,"147":1,"153":1}}],["indentation",{"2":{"83":1,"84":4,"85":3,"92":1,"93":1,"120":1,"123":1,"147":1,"148":4,"149":3}}],["indentrule",{"2":{"4":1}}],["indent",{"0":{"83":1,"147":1},"1":{"84":1,"85":1,"86":1,"87":1,"88":1,"148":1,"149":1,"150":1,"151":1,"152":1},"2":{"4":5,"31":2,"65":2,"84":4,"85":3,"86":1,"87":1,"92":1,"93":1,"148":4,"149":3,"150":1,"151":1}}],["install",{"2":{"2":1}}],["installation",{"0":{"2":1}}],["inside",{"2":{"1":1}}],["in",{"0":{"10":1,"11":1,"17":1,"19":1,"29":1,"33":1,"35":1,"36":1,"38":1,"39":1,"119":1,"122":1,"129":1,"136":1},"1":{"18":1,"19":1,"36":1,"37":1,"38":1,"39":1,"40":1,"120":1,"121":1,"123":1,"124":1,"125":1,"130":1,"131":1,"137":1,"138":1,"139":1,"140":1},"2":{"0":1,"1":1,"4":5,"10":2,"12":1,"14":2,"17":1,"18":2,"19":1,"24":1,"27":1,"31":2,"33":2,"36":2,"37":1,"39":1,"41":1,"48":1,"55":1,"59":1,"63":1,"68":1,"73":2,"74":1,"79":1,"83":1,"90":1,"91":4,"92":6,"93":7,"94":4,"95":1,"96":2,"98":1,"99":1,"100":1,"102":1,"105":1,"108":1,"111":2,"112":1,"114":1,"116":3,"119":2,"120":4,"122":2,"123":7,"126":2,"127":1,"129":2,"130":3,"132":2,"133":2,"136":2,"137":10,"138":1,"139":1,"141":1,"144":2,"145":1,"147":2,"148":1,"149":1,"153":2,"154":1,"174":2,"175":2,"176":2,"177":1,"178":1}}],["its",{"2":{"145":1}}],["item",{"2":{"93":2,"115":4,"132":2,"133":2}}],["it",{"2":{"0":1,"12":1,"15":1,"18":2,"19":1,"33":1,"36":1,"39":1,"65":2,"81":2,"85":2,"96":1,"106":1,"149":2}}]],"serializationVersion":2}';export{t as default}; diff --git a/assets/chunks/VPLocalSearchBox.zwZV4aVo.js b/assets/chunks/VPLocalSearchBox.zwZV4aVo.js new file mode 100644 index 00000000..f92a58c4 --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.zwZV4aVo.js @@ -0,0 +1,7 @@ +var kt=Object.defineProperty;var Ft=(a,e,t)=>e in a?kt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{X as Ot,s as ne,v as Ve,an as Rt,ao as Ct,d as Mt,G as be,ap as et,h as ye,aq as At,ar as Lt,x as Dt,as as zt,y as Me,R as de,Q as we,at as Pt,au as jt,Y as Vt,U as $t,a1 as Bt,o as H,b as Wt,j as _,a2 as Kt,k as D,av as Jt,aw as Ut,ax as qt,c as Z,n as tt,e as _e,E as st,F as nt,a as he,t as fe,ay as Gt,p as Qt,l as Ht,az as it,a7 as Yt,ad as Zt,aj as Xt,aA as es,_ as ts}from"./framework.CPdKJSF1.js";import{u as ss,c as ns}from"./theme.Cply-KWe.js";const is={root:()=>Ot(()=>import("./@localSearchIndexroot.BAh-23VX.js"),[])};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var vt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=vt.join(","),mt=typeof Element>"u",re=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!mt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},ke=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},rs=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},gt=function(e,t,s){if(ke(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&re.call(e,Te)&&n.unshift(e),n=n.filter(s),n},bt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!ke(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),c=o.length?o:i.children,l=a(c,!0,s);s.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var h=re.call(i,Te);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var f=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),v=!ke(f,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(f&&v){var y=a(f===!0?i.children:f.children,!0,s);s.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else r.unshift.apply(r,i.children)}}return n},yt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ie=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rs(e))&&!yt(e)?0:e.tabIndex},as=function(e,t){var s=ie(e);return s<0&&t&&!yt(e)?0:s},os=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},wt=function(e){return e.tagName==="INPUT"},cs=function(e){return wt(e)&&e.type==="hidden"},ls=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},us=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(re.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var c=e.parentElement,l=Ne(e);if(c&&!c.shadowRoot&&n(c)===!0)return rt(e);e.assignedSlot?e=e.assignedSlot:!c&&l!==e.ownerDocument?e=l.host:e=c}e=o}if(ps(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return rt(e);return!1},ms=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},bs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,c=as(o,i),l=i?a(n.candidates):o;c===0?i?t.push.apply(t,l):t.push(o):s.push({documentOrder:r,tabIndex:c,item:n,isScope:i,content:l})}),s.sort(os).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gs}):s=gt(e,t.includeContainer,$e.bind(null,t)),bs(s)},ws=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:Fe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(e,t.includeContainer,Fe.bind(null,t)),s},ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,Te)===!1?!1:$e(t,e)},_s=vt.concat("iframe").join(","),Ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,_s)===!1?!1:Fe(t,e)};/*! +* focus-trap 7.5.4 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function at(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),t.push.apply(t,s)}return t}function ot(a){for(var e=1;e0){var s=e[e.length-1];s!==t&&s.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var s=e.indexOf(t);s!==-1&&e.splice(s,1),e.length>0&&e[e.length-1].unpause()}},Is=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ts=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ve=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Ns=function(e){return ve(e)&&!e.shiftKey},ks=function(e){return ve(e)&&e.shiftKey},lt=function(e){return setTimeout(e,0)},ut=function(e,t){var s=-1;return e.every(function(n,r){return t(n)?(s=r,!1):!0}),s},pe=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n1?m-1:0),E=1;E=0)u=s.activeElement;else{var d=i.tabbableGroups[0],m=d&&d.firstTabbableNode;u=m||h("fallbackFocus")}if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},v=function(){if(i.containerGroups=i.containers.map(function(u){var d=ys(u,r.tabbableOptions),m=ws(u,r.tabbableOptions),S=d.length>0?d[0]:void 0,E=d.length>0?d[d.length-1]:void 0,k=m.find(function(p){return ae(p)}),F=m.slice().reverse().find(function(p){return ae(p)}),M=!!d.find(function(p){return ie(p)>0});return{container:u,tabbableNodes:d,focusableNodes:m,posTabIndexesFound:M,firstTabbableNode:S,lastTabbableNode:E,firstDomTabbableNode:k,lastDomTabbableNode:F,nextTabbableNode:function(g){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,O=d.indexOf(g);return O<0?N?m.slice(m.indexOf(g)+1).find(function(P){return ae(P)}):m.slice(0,m.indexOf(g)).reverse().find(function(P){return ae(P)}):d[O+(N?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(u){return u.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function I(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?I(d.shadowRoot):d},w=function I(u){if(u!==!1&&u!==y(document)){if(!u||!u.focus){I(f());return}u.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=u,Is(u)&&u.select()}},b=function(u){var d=h("setReturnFocus",u);return d||(d===!1?!1:u)},x=function(u){var d=u.target,m=u.event,S=u.isBackward,E=S===void 0?!1:S;d=d||xe(m),v();var k=null;if(i.tabbableGroups.length>0){var F=l(d,m),M=F>=0?i.containerGroups[F]:void 0;if(F<0)E?k=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:k=i.tabbableGroups[0].firstTabbableNode;else if(E){var p=ut(i.tabbableGroups,function(T){var L=T.firstTabbableNode;return d===L});if(p<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d,!1))&&(p=F),p>=0){var g=p===0?i.tabbableGroups.length-1:p-1,N=i.tabbableGroups[g];k=ie(d)>=0?N.lastTabbableNode:N.lastDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d,!1))}else{var O=ut(i.tabbableGroups,function(T){var L=T.lastTabbableNode;return d===L});if(O<0&&(M.container===d||Ae(d,r.tabbableOptions)&&!ae(d,r.tabbableOptions)&&!M.nextTabbableNode(d))&&(O=F),O>=0){var P=O===i.tabbableGroups.length-1?0:O+1,j=i.tabbableGroups[P];k=ie(d)>=0?j.firstTabbableNode:j.firstDomTabbableNode}else ve(m)||(k=M.nextTabbableNode(d))}}else k=h("fallbackFocus");return k},C=function(u){var d=xe(u);if(!(l(d,u)>=0)){if(pe(r.clickOutsideDeactivates,u)){o.deactivate({returnFocus:r.returnFocusOnDeactivate});return}pe(r.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=xe(u),m=l(d,u)>=0;if(m||d instanceof Document)m&&(i.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var S,E=!0;if(i.mostRecentlyFocusedNode)if(ie(i.mostRecentlyFocusedNode)>0){var k=l(i.mostRecentlyFocusedNode),F=i.containerGroups[k].tabbableNodes;if(F.length>0){var M=F.findIndex(function(p){return p===i.mostRecentlyFocusedNode});M>=0&&(r.isKeyForward(i.recentNavEvent)?M+1=0&&(S=F[M-1],E=!1))}}else i.containerGroups.some(function(p){return p.tabbableNodes.some(function(g){return ie(g)>0})})||(E=!1);else E=!1;E&&(S=x({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),w(S||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},W=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=u;var m=x({event:u,isBackward:d});m&&(ve(u)&&u.preventDefault(),w(m))},J=function(u){if(Ts(u)&&pe(r.escapeDeactivates,u)!==!1){u.preventDefault(),o.deactivate();return}(r.isKeyForward(u)||r.isKeyBackward(u))&&W(u,r.isKeyBackward(u))},V=function(u){var d=xe(u);l(d,u)>=0||pe(r.clickOutsideDeactivates,u)||pe(r.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},U=function(){if(i.active)return ct.activateTrap(n,o),i.delayInitialFocusTimer=r.delayInitialFocus?lt(function(){w(f())}):w(f()),s.addEventListener("focusin",R,!0),s.addEventListener("mousedown",C,{capture:!0,passive:!1}),s.addEventListener("touchstart",C,{capture:!0,passive:!1}),s.addEventListener("click",V,{capture:!0,passive:!1}),s.addEventListener("keydown",J,{capture:!0,passive:!1}),o},q=function(){if(i.active)return s.removeEventListener("focusin",R,!0),s.removeEventListener("mousedown",C,!0),s.removeEventListener("touchstart",C,!0),s.removeEventListener("click",V,!0),s.removeEventListener("keydown",J,!0),o},Re=function(u){var d=u.some(function(m){var S=Array.from(m.removedNodes);return S.some(function(E){return E===i.mostRecentlyFocusedNode})});d&&w(f())},A=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Re):void 0,K=function(){A&&(A.disconnect(),i.active&&!i.paused&&i.containers.map(function(u){A.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return i.active},get paused(){return i.paused},activate:function(u){if(i.active)return this;var d=c(u,"onActivate"),m=c(u,"onPostActivate"),S=c(u,"checkCanFocusTrap");S||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,d==null||d();var E=function(){S&&v(),U(),K(),m==null||m()};return S?(S(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(u){if(!i.active)return this;var d=ot({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},u);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,q(),i.active=!1,i.paused=!1,K(),ct.deactivateTrap(n,o);var m=c(d,"onDeactivate"),S=c(d,"onPostDeactivate"),E=c(d,"checkCanReturnFocus"),k=c(d,"returnFocus","returnFocusOnDeactivate");m==null||m();var F=function(){lt(function(){k&&w(b(i.nodeFocusedBeforeActivation)),S==null||S()})};return k&&E?(E(b(i.nodeFocusedBeforeActivation)).then(F,F),this):(F(),this)},pause:function(u){if(i.paused||!i.active)return this;var d=c(u,"onPause"),m=c(u,"onPostPause");return i.paused=!0,d==null||d(),q(),K(),m==null||m(),this},unpause:function(u){if(!i.paused||!i.active)return this;var d=c(u,"onUnpause"),m=c(u,"onPostUnpause");return i.paused=!1,d==null||d(),v(),U(),K(),m==null||m(),this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return i.containers=d.map(function(m){return typeof m=="string"?s.querySelector(m):m}),i.active&&v(),K(),this}},o.updateContainerElements(e),o};function Rs(a,e={}){let t;const{immediate:s,...n}=e,r=ne(!1),i=ne(!1),o=f=>t&&t.activate(f),c=f=>t&&t.deactivate(f),l=()=>{t&&(t.pause(),i.value=!0)},h=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Rt(a),f=>{f&&(t=Os(f,{...n,onActivate(){r.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){r.value=!1,e.onDeactivate&&e.onDeactivate()}}),s&&o())},{flush:"post"}),Ct(()=>c()),{hasFocus:r,isPaused:i,activate:o,deactivate:c,pause:l,unpause:h}}class ce{constructor(e,t=!0,s=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=s,this.iframesTimeout=n}static matches(e,t){const s=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let r=!1;return s.every(i=>n.call(e,i)?(r=!0,!1):!0),r}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(s=>{const n=t.filter(r=>r.contains(s)).length>0;t.indexOf(s)===-1&&!n&&t.push(s)}),t}getIframeContents(e,t,s=()=>{}){let n;try{const r=e.contentWindow;if(n=r.document,!r||!n)throw new Error("iframe inaccessible")}catch{s()}n&&t(n)}isIframeBlank(e){const t="about:blank",s=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&s!==t&&s}observeIframeLoad(e,t,s){let n=!1,r=null;const i=()=>{if(!n){n=!0,clearTimeout(r);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,s))}catch{s()}}};e.addEventListener("load",i),r=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,s){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,s):this.getIframeContents(e,t,s):this.observeIframeLoad(e,t,s)}catch{s()}}waitForIframes(e,t){let s=0;this.forEachIframe(e,()=>!0,n=>{s++,this.waitForIframes(n.querySelector("html"),()=>{--s||t()})},n=>{n||t()})}forEachIframe(e,t,s,n=()=>{}){let r=e.querySelectorAll("iframe"),i=r.length,o=0;r=Array.prototype.slice.call(r);const c=()=>{--i<=0&&n(o)};i||c(),r.forEach(l=>{ce.matches(l,this.exclude)?c():this.onIframeReady(l,h=>{t(l)&&(o++,s(h)),c()},c)})}createIterator(e,t,s){return document.createNodeIterator(e,t,s,!1)}createInstanceOnIframe(e){return new ce(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,s){const n=e.compareDocumentPosition(s),r=Node.DOCUMENT_POSITION_PRECEDING;if(n&r)if(t!==null){const i=t.compareDocumentPosition(s),o=Node.DOCUMENT_POSITION_FOLLOWING;if(i&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let s;return t===null?s=e.nextNode():s=e.nextNode()&&e.nextNode(),{prevNode:t,node:s}}checkIframeFilter(e,t,s,n){let r=!1,i=!1;return n.forEach((o,c)=>{o.val===s&&(r=c,i=o.handled)}),this.compareNodeIframe(e,t,s)?(r===!1&&!i?n.push({val:s,handled:!0}):r!==!1&&!i&&(n[r].handled=!0),!0):(r===!1&&n.push({val:s,handled:!1}),!1)}handleOpenIframes(e,t,s,n){e.forEach(r=>{r.handled||this.getIframeContents(r.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,s,n)})})}iterateThroughNodes(e,t,s,n,r){const i=this.createIterator(t,e,n);let o=[],c=[],l,h,f=()=>({prevNode:h,node:l}=this.getIteratorNode(i),l);for(;f();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,h,v,o),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>c.push(y),n)}),c.push(l);c.forEach(v=>{s(v)}),this.iframes&&this.handleOpenIframes(o,e,s,n),r()}forEachNode(e,t,s,n=()=>{}){const r=this.getContexts();let i=r.length;i||n(),r.forEach(o=>{const c=()=>{this.iterateThroughNodes(e,o,t,s,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(o,c):c()})}}let Cs=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ce(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const s=this.opt.log;this.opt.debug&&typeof s=="object"&&typeof s[t]=="function"&&s[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,s=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in t)if(t.hasOwnProperty(r)){const i=t[r],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);o!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(c)})`,`gm${s}`),n+`(${this.processSynomyms(o)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,s,n)=>{let r=n.charAt(s+1);return/[(|)\\]/.test(r)||r===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const s=this.opt.ignorePunctuation;return Array.isArray(s)&&s.length&&t.push(this.escapeStr(s.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",s=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(r=>{s.every(i=>{if(i.indexOf(r)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let s=this.opt.accuracy,n=typeof s=="string"?s:s.value,r=typeof s=="string"?[]:s.limiters,i="";switch(r.forEach(o=>{i+=`|${this.escapeStr(o)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(s=>{this.opt.separateWordSearch?s.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):s.trim()&&t.indexOf(s)===-1&&t.push(s)}),{keywords:t.sort((s,n)=>n.length-s.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let s=0;return e.sort((n,r)=>n.start-r.start).forEach(n=>{let{start:r,end:i,valid:o}=this.callNoMatchOnInvalidRanges(n,s);o&&(n.start=r,n.length=i-r,t.push(n),s=i)}),t}callNoMatchOnInvalidRanges(e,t){let s,n,r=!1;return e&&typeof e.start<"u"?(s=parseInt(e.start,10),n=s+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-s>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:s,end:n,valid:r}}checkWhitespaceRanges(e,t,s){let n,r=!0,i=s.length,o=t-i,c=parseInt(e.start,10)-o;return c=c>i?i:c,n=c+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),c<0||n-c<0||c>i||n>i?(r=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):s.substring(c,n).replace(/\s+/g,"")===""&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:r}}getTextNodes(e){let t="",s=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{s.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:s})})}matchesExclude(e){return ce.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,s){const n=this.opt.element?this.opt.element:"mark",r=e.splitText(t),i=r.splitText(s-t);let o=document.createElement(n);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=r.textContent,r.parentNode.replaceChild(o,r),i}wrapRangeInMappedTextNode(e,t,s,n,r){e.nodes.every((i,o)=>{const c=e.nodes[o+1];if(typeof c>"u"||c.start>t){if(!n(i.node))return!1;const l=t-i.start,h=(s>i.end?i.end:s)-i.start,f=e.value.substr(0,i.start),v=e.value.substr(h+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,h),e.value=f+v,e.nodes.forEach((y,w)=>{w>=o&&(e.nodes[w].start>0&&w!==o&&(e.nodes[w].start-=h),e.nodes[w].end-=h)}),s-=h,r(i.node.previousSibling,i.start),s>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,s,n,r){const i=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(c=>{c=c.node;let l;for(;(l=e.exec(c.textContent))!==null&&l[i]!=="";){if(!s(l[i],c))continue;let h=l.index;if(i!==0)for(let f=1;f{let c;for(;(c=e.exec(o.value))!==null&&c[i]!=="";){let l=c.index;if(i!==0)for(let f=1;fs(c[i],f),(f,v)=>{e.lastIndex=v,n(f)})}r()})}wrapRangeFromIndex(e,t,s,n){this.getTextNodes(r=>{const i=r.value.length;e.forEach((o,c)=>{let{start:l,end:h,valid:f}=this.checkWhitespaceRanges(o,i,r.value);f&&this.wrapRangeInMappedTextNode(r,l,h,v=>t(v,o,r.value.substring(l,h),c),v=>{s(v,o)})}),n()})}unwrapMatches(e){const t=e.parentNode;let s=document.createDocumentFragment();for(;e.firstChild;)s.appendChild(e.removeChild(e.firstChild));t.replaceChild(s,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let s=0,n="wrapMatches";const r=i=>{s++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,o)=>this.opt.filter(o,i,s),r,()=>{s===0&&this.opt.noMatch(e),this.opt.done(s)})}mark(e,t){this.opt=t;let s=0,n="wrapMatches";const{keywords:r,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",c=l=>{let h=new RegExp(this.createRegExp(l),`gm${o}`),f=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(v,y)=>this.opt.filter(y,l,s,f),v=>{f++,s++,this.opt.each(v)},()=>{f===0&&this.opt.noMatch(l),r[i-1]===l?this.opt.done(s):c(r[r.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(s):c(r[0])}markRanges(e,t){this.opt=t;let s=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(r,i,o,c)=>this.opt.filter(r,i,o,c),(r,i)=>{s++,this.opt.each(r,i)},()=>{this.opt.done(s)})):this.opt.done(s)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,s=>{this.unwrapMatches(s)},s=>{const n=ce.matches(s,t),r=this.matchesExclude(s);return!n||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ms(a){const e=new Cs(a);return this.mark=(t,s)=>(e.mark(t,s),this),this.markRegExp=(t,s)=>(e.markRegExp(t,s),this),this.markRanges=(t,s)=>(e.markRanges(t,s),this),this.unmark=t=>(e.unmark(t),this),this}function Ie(a,e,t,s){function n(r){return r instanceof t?r:new t(function(i){i(r)})}return new(t||(t=Promise))(function(r,i){function o(h){try{l(s.next(h))}catch(f){i(f)}}function c(h){try{l(s.throw(h))}catch(f){i(f)}}function l(h){h.done?r(h.value):n(h.value).then(o,c)}l((s=s.apply(a,[])).next())})}const As="ENTRIES",_t="KEYS",xt="VALUES",z="";class Le{constructor(e,t){const s=e._tree,n=Array.from(s.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:s,keys:n}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=oe(this._path);if(oe(t)===z)return{done:!1,value:this.result()};const s=e.get(oe(t));return this._path.push({node:s,keys:Array.from(s.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=oe(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>oe(e)).filter(e=>e!==z).join("")}value(){return oe(this._path).node.get(z)}result(){switch(this._type){case xt:return this.value();case _t:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const oe=a=>a[a.length-1],Ls=(a,e,t)=>{const s=new Map;if(e===void 0)return s;const n=e.length+1,r=n+t,i=new Uint8Array(r*n).fill(t+1);for(let o=0;o{const c=r*i;e:for(const l of a.keys())if(l===z){const h=n[c-1];h<=t&&s.set(o,[a.get(l),h])}else{let h=r;for(let f=0;ft)continue e}St(a.get(l),e,t,s,n,h,i,o+l)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,s]=Oe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[n,r]=Je(s);for(const i of n.keys())if(i!==z&&i.startsWith(r)){const o=new Map;return o.set(i.slice(r.length),n.get(i)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ds(this._tree,e)}entries(){return new Le(this,As)}forEach(e){for(const[t,s]of this)e(t,s,this)}fuzzyGet(e,t){return Ls(this._tree,e,t)}get(e){const t=Be(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=Be(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Le(this,_t)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,De(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);return s.set(z,t(s.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const s=De(this._tree,e);let n=s.get(z);return n===void 0&&s.set(z,n=t()),n}values(){return new Le(this,xt)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[s,n]of e)t.set(s,n);return t}static fromObject(e){return X.from(Object.entries(e))}}const Oe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const s of a.keys())if(s!==z&&e.startsWith(s))return t.push([a,s]),Oe(a.get(s),e.slice(s.length),t);return t.push([a,e]),Oe(void 0,"",t)},Be=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return Be(a.get(t),e.slice(t.length))},De=(a,e)=>{const t=e.length;e:for(let s=0;a&&s{const[t,s]=Oe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)Et(s);else if(t.size===1){const[n,r]=t.entries().next().value;It(s,n,r)}}},Et=a=>{if(a.length===0)return;const[e,t]=Je(a);if(e.delete(t),e.size===0)Et(a.slice(0,-1));else if(e.size===1){const[s,n]=e.entries().next().value;s!==z&&It(a.slice(0,-1),s,n)}},It=(a,e,t)=>{if(a.length===0)return;const[s,n]=Je(a);s.set(n+e,t),s.delete(n)},Je=a=>a[a.length-1],Ue="or",Tt="and",zs="and_not";class le{constructor(e){if((e==null?void 0:e.fields)==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?je:e.autoVacuum;this._options=Object.assign(Object.assign(Object.assign({},Pe),e),{autoVacuum:t,searchOptions:Object.assign(Object.assign({},dt),e.searchOptions||{}),autoSuggestOptions:Object.assign(Object.assign({},Bs),e.autoSuggestOptions||{})}),this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Ke,this.addFields(this._options.fields)}add(e){const{extractField:t,tokenize:s,processTerm:n,fields:r,idField:i}=this._options,o=t(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(o))throw new Error(`MiniSearch: duplicate ID ${o}`);const c=this.addDocumentId(o);this.saveStoredFields(c,e);for(const l of r){const h=t(e,l);if(h==null)continue;const f=s(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.addFieldLength(c,v,this._documentCount-1,y);for(const w of f){const b=n(w,l);if(Array.isArray(b))for(const x of b)this.addTerm(v,c,x);else b&&this.addTerm(v,c,b)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:s=10}=t,n={chunk:[],promise:Promise.resolve()},{chunk:r,promise:i}=e.reduce(({chunk:o,promise:c},l,h)=>(o.push(l),(h+1)%s===0?{chunk:[],promise:c.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(o))}:{chunk:o,promise:c}),n);return i.then(()=>this.addAll(r))}remove(e){const{tokenize:t,processTerm:s,extractField:n,fields:r,idField:i}=this._options,o=n(e,i);if(o==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const c=this._idToShortId.get(o);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${o}: it is not in the index`);for(const l of r){const h=n(e,l);if(h==null)continue;const f=t(h.toString(),l),v=this._fieldIds[l],y=new Set(f).size;this.removeFieldLength(c,v,this._documentCount,y);for(const w of f){const b=s(w,l);if(Array.isArray(b))for(const x of b)this.removeTerm(v,c,x);else b&&this.removeTerm(v,c,b)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(o),this._fieldLength.delete(c),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((s,n)=>{this.removeFieldLength(t,n,this._documentCount,s)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:s,batchWait:n}=this._options.autoVacuum;this.conditionalVacuum({batchSize:s,batchWait:n},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const s of e)this.discard(s)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:s}=this._options,n=s(e,t);this.discard(n),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const s=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Ke,this.performVacuuming(e,s)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}performVacuuming(e,t){return Ie(this,void 0,void 0,function*(){const s=this._dirtCount;if(this.vacuumConditionsMet(t)){const n=e.batchSize||We.batchSize,r=e.batchWait||We.batchWait;let i=1;for(const[o,c]of this._index){for(const[l,h]of c)for(const[f]of h)this._documentIds.has(f)||(h.size<=1?c.delete(l):h.delete(f));this._index.get(o).size===0&&this._index.delete(o),i%n===0&&(yield new Promise(l=>setTimeout(l,r))),i+=1}this._dirtCount-=s}yield null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null})}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:s}=e;return t=t||je.minDirtCount,s=s||je.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=s}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const s=this.executeQuery(e,t),n=[];for(const[r,{score:i,terms:o,match:c}]of s){const l=o.length||1,h={id:this._documentIds.get(r),score:i*l,terms:Object.keys(c),queryTerms:o,match:c};Object.assign(h,this._storedFields.get(r)),(t.filter==null||t.filter(h))&&n.push(h)}return e===le.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||n.sort(ft),n}autoSuggest(e,t={}){t=Object.assign(Object.assign({},this._options.autoSuggestOptions),t);const s=new Map;for(const{score:r,terms:i}of this.search(e,t)){const o=i.join(" "),c=s.get(o);c!=null?(c.score+=r,c.count+=1):s.set(o,{score:r,terms:i,count:1})}const n=[];for(const[r,{score:i,terms:o,count:c}]of s)n.push({suggestion:r,terms:o,score:i/c});return n.sort(ft),n}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static loadJSONAsync(e,t){return Ie(this,void 0,void 0,function*(){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)})}static getDefault(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=Se(n),c._fieldLength=Se(r),c._storedFields=Se(i);for(const[l,h]of c._documentIds)c._idToShortId.set(h,l);for(const[l,h]of s){const f=new Map;for(const v of Object.keys(h)){let y=h[v];o===1&&(y=y.ds),f.set(parseInt(v,10),Se(y))}c._index.set(l,f)}return c}static loadJSAsync(e,t){return Ie(this,void 0,void 0,function*(){const{index:s,documentIds:n,fieldLength:r,storedFields:i,serializationVersion:o}=e,c=this.instantiateMiniSearch(e,t);c._documentIds=yield Ee(n),c._fieldLength=yield Ee(r),c._storedFields=yield Ee(i);for(const[h,f]of c._documentIds)c._idToShortId.set(f,h);let l=0;for(const[h,f]of s){const v=new Map;for(const y of Object.keys(f)){let w=f[y];o===1&&(w=w.ds),v.set(parseInt(y,10),yield Ee(w))}++l%1e3===0&&(yield Nt(0)),c._index.set(h,v)}return c})}static instantiateMiniSearch(e,t){const{documentCount:s,nextId:n,fieldIds:r,averageFieldLength:i,dirtCount:o,serializationVersion:c}=e;if(c!==1&&c!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const l=new le(t);return l._documentCount=s,l._nextId=n,l._idToShortId=new Map,l._fieldIds=r,l._avgFieldLength=i,l._dirtCount=o||0,l._index=new X,l}executeQuery(e,t={}){if(e===le.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const v=Object.assign(Object.assign(Object.assign({},t),e),{queries:void 0}),y=e.queries.map(w=>this.executeQuery(w,v));return this.combineResults(y,v.combineWith)}const{tokenize:s,processTerm:n,searchOptions:r}=this._options,i=Object.assign(Object.assign({tokenize:s,processTerm:n},r),t),{tokenize:o,processTerm:c}=i,f=o(e).flatMap(v=>c(v)).filter(v=>!!v).map($s(i)).map(v=>this.executeQuerySpec(v,i));return this.combineResults(f,i.combineWith)}executeQuerySpec(e,t){const s=Object.assign(Object.assign({},this._options.searchOptions),t),n=(s.fields||this._options.fields).reduce((b,x)=>Object.assign(Object.assign({},b),{[x]:ze(s.boost,x)||1}),{}),{boostDocument:r,weights:i,maxFuzzy:o,bm25:c}=s,{fuzzy:l,prefix:h}=Object.assign(Object.assign({},dt.weights),i),f=this._index.get(e.term),v=this.termResults(e.term,e.term,1,f,n,r,c);let y,w;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const b=e.fuzzy===!0?.2:e.fuzzy,x=b<1?Math.min(o,Math.round(e.term.length*b)):b;x&&(w=this._index.fuzzyGet(e.term,x))}if(y)for(const[b,x]of y){const C=b.length-e.term.length;if(!C)continue;w==null||w.delete(b);const R=h*b.length/(b.length+.3*C);this.termResults(e.term,b,R,x,n,r,c,v)}if(w)for(const b of w.keys()){const[x,C]=w.get(b);if(!C)continue;const R=l*b.length/(b.length+C);this.termResults(e.term,b,R,x,n,r,c,v)}return v}executeWildcardQuery(e){const t=new Map,s=Object.assign(Object.assign({},this._options.searchOptions),e);for(const[n,r]of this._documentIds){const i=s.boostDocument?s.boostDocument(r,"",this._storedFields.get(n)):1;t.set(n,{score:i,terms:[],match:{}})}return t}combineResults(e,t=Ue){if(e.length===0)return new Map;const s=t.toLowerCase(),n=Ps[s];if(!n)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(n)||new Map}toJSON(){const e=[];for(const[t,s]of this._index){const n={};for(const[r,i]of s)n[r]=Object.fromEntries(i);e.push([t,n])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,s,n,r,i,o,c=new Map){if(n==null)return c;for(const l of Object.keys(r)){const h=r[l],f=this._fieldIds[l],v=n.get(f);if(v==null)continue;let y=v.size;const w=this._avgFieldLength[f];for(const b of v.keys()){if(!this._documentIds.has(b)){this.removeTerm(f,b,t),y-=1;continue}const x=i?i(this._documentIds.get(b),t,this._storedFields.get(b)):1;if(!x)continue;const C=v.get(b),R=this._fieldLength.get(b)[f],W=Vs(C,y,this._documentCount,R,w,o),J=s*h*x*W,V=c.get(b);if(V){V.score+=J,Ws(V.terms,e);const U=ze(V.match,t);U?U.push(l):V.match[t]=[l]}else c.set(b,{score:J,terms:[e],match:{[t]:[l]}})}}return c}addTerm(e,t,s){const n=this._index.fetch(s,pt);let r=n.get(e);if(r==null)r=new Map,r.set(t,1),n.set(e,r);else{const i=r.get(t);r.set(t,(i||0)+1)}}removeTerm(e,t,s){if(!this._index.has(s)){this.warnDocumentChanged(t,e,s);return}const n=this._index.fetch(s,pt),r=n.get(e);r==null||r.get(t)==null?this.warnDocumentChanged(t,e,s):r.get(t)<=1?r.size<=1?n.delete(e):r.delete(t):r.set(t,r.get(t)-1),this._index.get(s).size===0&&this._index.delete(s)}warnDocumentChanged(e,t,s){for(const n of Object.keys(this._fieldIds))if(this._fieldIds[n]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${s}" was not present in field "${n}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Ps={[Ue]:(a,e)=>{for(const t of e.keys()){const s=a.get(t);if(s==null)a.set(t,e.get(t));else{const{score:n,terms:r,match:i}=e.get(t);s.score=s.score+n,s.match=Object.assign(s.match,i),ht(s.terms,r)}}return a},[Tt]:(a,e)=>{const t=new Map;for(const s of e.keys()){const n=a.get(s);if(n==null)continue;const{score:r,terms:i,match:o}=e.get(s);ht(n.terms,i),t.set(s,{score:n.score+r,terms:n.terms,match:Object.assign(n.match,o)})}return t},[zs]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},js={k:1.2,b:.7,d:.5},Vs=(a,e,t,s,n,r)=>{const{k:i,b:o,d:c}=r;return Math.log(1+(t-e+.5)/(e+.5))*(c+a*(i+1)/(a+i*(1-o+o*s/n)))},$s=a=>(e,t,s)=>{const n=typeof a.fuzzy=="function"?a.fuzzy(e,t,s):a.fuzzy||!1,r=typeof a.prefix=="function"?a.prefix(e,t,s):a.prefix===!0;return{term:e,fuzzy:n,prefix:r}},Pe={idField:"id",extractField:(a,e)=>a[e],tokenize:a=>a.split(Ks),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof(console==null?void 0:console[a])=="function"&&console[a](e)},autoVacuum:!0},dt={combineWith:Ue,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:js},Bs={combineWith:Tt,prefix:(a,e,t)=>e===t.length-1},We={batchSize:1e3,batchWait:10},Ke={minDirtFactor:.1,minDirtCount:20},je=Object.assign(Object.assign({},We),Ke),Ws=(a,e)=>{a.includes(e)||a.push(e)},ht=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},ft=({score:a},{score:e})=>e-a,pt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},Ee=a=>Ie(void 0,void 0,void 0,function*(){const e=new Map;let t=0;for(const s of Object.keys(a))e.set(parseInt(s,10),a[s]),++t%1e3===0&&(yield Nt(0));return e}),Nt=a=>new Promise(e=>setTimeout(e,a)),Ks=/[\n\r\p{Z}\p{P}]+/u;class Js{constructor(e=10){Ce(this,"max");Ce(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}const B=a=>(Qt("data-v-639d7ab9"),a=a(),Ht(),a),Us=["aria-owns"],qs={class:"shell"},Gs=["title"],Qs=B(()=>_("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)),Hs=[Qs],Ys={class:"search-actions before"},Zs=["title"],Xs=B(()=>_("span",{class:"vpi-arrow-left local-search-icon"},null,-1)),en=[Xs],tn=["placeholder"],sn={class:"search-actions"},nn=["title"],rn=B(()=>_("span",{class:"vpi-layout-list local-search-icon"},null,-1)),an=[rn],on=["disabled","title"],cn=B(()=>_("span",{class:"vpi-delete local-search-icon"},null,-1)),ln=[cn],un=["id","role","aria-labelledby"],dn=["aria-selected"],hn=["href","aria-label","onMouseenter","onFocusin"],fn={class:"titles"},pn=B(()=>_("span",{class:"title-icon"},"#",-1)),vn=["innerHTML"],mn=B(()=>_("span",{class:"vpi-chevron-right local-search-icon"},null,-1)),gn={class:"title main"},bn=["innerHTML"],yn={key:0,class:"excerpt-wrapper"},wn={key:0,class:"excerpt",inert:""},_n=["innerHTML"],xn=B(()=>_("div",{class:"excerpt-gradient-bottom"},null,-1)),Sn=B(()=>_("div",{class:"excerpt-gradient-top"},null,-1)),En={key:0,class:"no-results"},In={class:"search-keyboard-shortcuts"},Tn=["aria-label"],Nn=B(()=>_("span",{class:"vpi-arrow-up navigate-icon"},null,-1)),kn=[Nn],Fn=["aria-label"],On=B(()=>_("span",{class:"vpi-arrow-down navigate-icon"},null,-1)),Rn=[On],Cn=["aria-label"],Mn=B(()=>_("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)),An=[Mn],Ln=["aria-label"],Dn=Mt({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){var F,M;const t=e,s=be(),n=be(),r=be(is),i=ss(),{activate:o}=Rs(s,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:c,theme:l}=i,h=et(async()=>{var p,g,N,O,P,j,T,L,G;return it(le.loadJSON((N=await((g=(p=r.value)[c.value])==null?void 0:g.call(p)))==null?void 0:N.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((O=l.value.search)==null?void 0:O.provider)==="local"&&((j=(P=l.value.search.options)==null?void 0:P.miniSearch)==null?void 0:j.searchOptions)},...((T=l.value.search)==null?void 0:T.provider)==="local"&&((G=(L=l.value.search.options)==null?void 0:L.miniSearch)==null?void 0:G.options)}))}),v=ye(()=>{var p,g;return((p=l.value.search)==null?void 0:p.provider)==="local"&&((g=l.value.search.options)==null?void 0:g.disableQueryPersistence)===!0}).value?ne(""):At("vitepress:local-search-filter",""),y=Lt("vitepress:local-search-detailed-list",((F=l.value.search)==null?void 0:F.provider)==="local"&&((M=l.value.search.options)==null?void 0:M.detailedView)===!0),w=ye(()=>{var p,g,N;return((p=l.value.search)==null?void 0:p.provider)==="local"&&(((g=l.value.search.options)==null?void 0:g.disableDetailedView)===!0||((N=l.value.search.options)==null?void 0:N.detailedView)===!1)}),b=ye(()=>{var g,N,O,P,j,T,L;const p=((g=l.value.search)==null?void 0:g.options)??l.value.algolia;return((j=(P=(O=(N=p==null?void 0:p.locales)==null?void 0:N[c.value])==null?void 0:O.translations)==null?void 0:P.button)==null?void 0:j.buttonText)||((L=(T=p==null?void 0:p.translations)==null?void 0:T.button)==null?void 0:L.buttonText)||"Search"});Dt(()=>{w.value&&(y.value=!1)});const x=be([]),C=ne(!1);Ve(v,()=>{C.value=!1});const R=et(async()=>{if(n.value)return it(new Ms(n.value))},null),W=new Js(16);zt(()=>[h.value,v.value,y.value],async([p,g,N],O,P)=>{var me,qe,Ge,Qe;(O==null?void 0:O[0])!==p&&W.clear();let j=!1;if(P(()=>{j=!0}),!p)return;x.value=p.search(g).slice(0,16),C.value=!0;const T=N?await Promise.all(x.value.map($=>J($.id))):[];if(j)return;for(const{id:$,mod:ee}of T){const te=$.slice(0,$.indexOf("#"));let Y=W.get(te);if(Y)continue;Y=new Map,W.set(te,Y);const Q=ee.default??ee;if(Q!=null&&Q.render||Q!=null&&Q.setup){const se=Yt(Q);se.config.warnHandler=()=>{},se.provide(Zt,i),Object.defineProperties(se.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const He=document.createElement("div");se.mount(He),He.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ue=>{var Xe;const ge=(Xe=ue.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(ge==null?void 0:ge.startsWith("#"))&&ge.slice(1);if(!Ye)return;let Ze="";for(;(ue=ue.nextElementSibling)&&!/^h[1-6]$/i.test(ue.tagName);)Ze+=ue.outerHTML;Y.set(Ye,Ze)}),se.unmount()}if(j)return}const L=new Set;if(x.value=x.value.map($=>{const[ee,te]=$.id.split("#"),Y=W.get(ee),Q=(Y==null?void 0:Y.get(te))??"";for(const se in $.match)L.add(se);return{...$,text:Q}}),await de(),j)return;await new Promise($=>{var ee;(ee=R.value)==null||ee.unmark({done:()=>{var te;(te=R.value)==null||te.markRegExp(k(L),{done:$})}})});const G=((me=s.value)==null?void 0:me.querySelectorAll(".result .excerpt"))??[];for(const $ of G)(qe=$.querySelector('mark[data-markjs="true"]'))==null||qe.scrollIntoView({block:"center"});(Qe=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function J(p){const g=Xt(p.slice(0,p.indexOf("#")));try{if(!g)throw new Error(`Cannot find file for id: ${p}`);return{id:p,mod:await import(g)}}catch(N){return console.error(N),{id:p,mod:{}}}}const V=ne(),U=ye(()=>{var p;return((p=v.value)==null?void 0:p.length)<=0});function q(p=!0){var g,N;(g=V.value)==null||g.focus(),p&&((N=V.value)==null||N.select())}Me(()=>{q()});function Re(p){p.pointerType==="mouse"&&q()}const A=ne(-1),K=ne(!1);Ve(x,p=>{A.value=p.length?0:-1,I()});function I(){de(()=>{const p=document.querySelector(".result.selected");p==null||p.scrollIntoView({block:"nearest"})})}we("ArrowUp",p=>{p.preventDefault(),A.value--,A.value<0&&(A.value=x.value.length-1),K.value=!0,I()}),we("ArrowDown",p=>{p.preventDefault(),A.value++,A.value>=x.value.length&&(A.value=0),K.value=!0,I()});const u=Pt();we("Enter",p=>{if(p.isComposing||p.target instanceof HTMLButtonElement&&p.target.type!=="submit")return;const g=x.value[A.value];if(p.target instanceof HTMLInputElement&&!g){p.preventDefault();return}g&&(u.go(g.id),t("close"))}),we("Escape",()=>{t("close")});const m=ns({modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Me(()=>{window.history.pushState(null,"",null)}),jt("popstate",p=>{p.preventDefault(),t("close")});const S=Vt($t?document.body:null);Me(()=>{de(()=>{S.value=!0,de().then(()=>o())})}),Bt(()=>{S.value=!1});function E(){v.value="",de().then(()=>q(!1))}function k(p){return new RegExp([...p].sort((g,N)=>N.length-g.length).map(g=>`(${es(g)})`).join("|"),"gi")}return(p,g)=>{var N,O,P,j;return H(),Wt(Gt,{to:"body"},[_("div",{ref_key:"el",ref:s,role:"button","aria-owns":(N=x.value)!=null&&N.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[_("div",{class:"backdrop",onClick:g[0]||(g[0]=T=>p.$emit("close"))}),_("div",qs,[_("form",{class:"search-bar",onPointerup:g[4]||(g[4]=T=>Re(T)),onSubmit:g[5]||(g[5]=Kt(()=>{},["prevent"]))},[_("label",{title:b.value,id:"localsearch-label",for:"localsearch-input"},Hs,8,Gs),_("div",Ys,[_("button",{class:"back-button",title:D(m)("modal.backButtonTitle"),onClick:g[1]||(g[1]=T=>p.$emit("close"))},en,8,Zs)]),Jt(_("input",{ref_key:"searchInput",ref:V,"onUpdate:modelValue":g[2]||(g[2]=T=>qt(v)?v.value=T:null),placeholder:b.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,tn),[[Ut,D(v)]]),_("div",sn,[w.value?_e("",!0):(H(),Z("button",{key:0,class:tt(["toggle-layout-button",{"detailed-list":D(y)}]),type:"button",title:D(m)("modal.displayDetails"),onClick:g[3]||(g[3]=T=>A.value>-1&&(y.value=!D(y)))},an,10,nn)),_("button",{class:"clear-button",type:"reset",disabled:U.value,title:D(m)("modal.resetButtonTitle"),onClick:E},ln,8,on)])],32),_("ul",{ref_key:"resultsEl",ref:n,id:(O=x.value)!=null&&O.length?"localsearch-list":void 0,role:(P=x.value)!=null&&P.length?"listbox":void 0,"aria-labelledby":(j=x.value)!=null&&j.length?"localsearch-label":void 0,class:"results",onMousemove:g[7]||(g[7]=T=>K.value=!1)},[(H(!0),Z(nt,null,st(x.value,(T,L)=>(H(),Z("li",{key:T.id,role:"option","aria-selected":A.value===L?"true":"false"},[_("a",{href:T.id,class:tt(["result",{selected:A.value===L}]),"aria-label":[...T.titles,T.title].join(" > "),onMouseenter:G=>!K.value&&(A.value=L),onFocusin:G=>A.value=L,onClick:g[6]||(g[6]=G=>p.$emit("close"))},[_("div",null,[_("div",fn,[pn,(H(!0),Z(nt,null,st(T.titles,(G,me)=>(H(),Z("span",{key:me,class:"title"},[_("span",{class:"text",innerHTML:G},null,8,vn),mn]))),128)),_("span",gn,[_("span",{class:"text",innerHTML:T.title},null,8,bn)])]),D(y)?(H(),Z("div",yn,[T.text?(H(),Z("div",wn,[_("div",{class:"vp-doc",innerHTML:T.text},null,8,_n)])):_e("",!0),xn,Sn])):_e("",!0)])],42,hn)],8,dn))),128)),D(v)&&!x.value.length&&C.value?(H(),Z("li",En,[he(fe(D(m)("modal.noResultsText"))+' "',1),_("strong",null,fe(D(v)),1),he('" ')])):_e("",!0)],40,un),_("div",In,[_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.navigateUpKeyAriaLabel")},kn,8,Tn),_("kbd",{"aria-label":D(m)("modal.footer.navigateDownKeyAriaLabel")},Rn,8,Fn),he(" "+fe(D(m)("modal.footer.navigateText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.selectKeyAriaLabel")},An,8,Cn),he(" "+fe(D(m)("modal.footer.selectText")),1)]),_("span",null,[_("kbd",{"aria-label":D(m)("modal.footer.closeKeyAriaLabel")},"esc",8,Ln),he(" "+fe(D(m)("modal.footer.closeText")),1)])])])],8,Us)])}}}),Bn=ts(Dn,[["__scopeId","data-v-639d7ab9"]]);export{Bn as default}; diff --git a/assets/chunks/framework.CPdKJSF1.js b/assets/chunks/framework.CPdKJSF1.js new file mode 100644 index 00000000..1e9d0524 --- /dev/null +++ b/assets/chunks/framework.CPdKJSF1.js @@ -0,0 +1,17 @@ +/** +* @vue/shared v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Cr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ne={},yt=[],Te=()=>{},No=()=>!1,Kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sr=e=>e.startsWith("onUpdate:"),fe=Object.assign,xr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fo=Object.prototype.hasOwnProperty,z=(e,t)=>Fo.call(e,t),B=Array.isArray,_t=e=>xn(e)==="[object Map]",zs=e=>xn(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",Qe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Js=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Qs=Object.prototype.toString,xn=e=>Qs.call(e),$o=e=>xn(e).slice(8,-1),Zs=e=>xn(e)==="[object Object]",Tr=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bt=Cr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ho=/-(\w)/g,Oe=Tn(e=>e.replace(Ho,(t,n)=>n?n.toUpperCase():"")),jo=/\B([A-Z])/g,Ze=Tn(e=>e.replace(jo,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),fn=Tn(e=>e?`on${An(e)}`:""),ze=(e,t)=>!Object.is(e,t),dn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ur=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vo=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let Jr;const ti=()=>Jr||(Jr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rn(e){if(B(e)){const t={};for(let n=0;n{if(n){const r=n.split(Uo);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function On(e){let t="";if(se(e))t=e;else if(B(e))for(let n=0;n!!(e&&e.__v_isRef===!0),qo=e=>se(e)?e:e==null?"":B(e)||Z(e)&&(e.toString===Qs||!K(e.toString))?ri(e)?qo(e.value):JSON.stringify(e,si,2):String(e),si=(e,t)=>ri(t)?si(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Wn(r,i)+" =>"]=s,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wn(n))}:Qe(t)?Wn(t):Z(t)&&!B(t)&&!Zs(t)?String(t):t,Wn=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let we;class Go{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Xe,n=ct;try{return Xe=!0,ct=this,this._runnings++,Qr(this),this.fn()}finally{Zr(this),this._runnings--,ct=n,Xe=t}}stop(){this.active&&(Qr(this),Zr(this),this.onStop&&this.onStop(),this.active=!1)}}function zo(e){return e.value}function Qr(e){e._trackId++,e._depsLength=0}function Zr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},yn=new WeakMap,at=Symbol(""),hr=Symbol("");function be(e,t,n){if(Xe&&ct){let r=yn.get(e);r||yn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=ui(()=>r.delete(n))),ci(ct,s)}}function Ve(e,t,n,r,s,i){const o=yn.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&B(e)){const c=Number(r);o.forEach((u,f)=>{(f==="length"||!Qe(f)&&f>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":B(e)?Tr(n)&&l.push(o.get("length")):(l.push(o.get(at)),_t(e)&&l.push(o.get(hr)));break;case"delete":B(e)||(l.push(o.get(at)),_t(e)&&l.push(o.get(hr)));break;case"set":_t(e)&&l.push(o.get(at));break}Rr();for(const c of l)c&&ai(c,4);Or()}function Jo(e,t){const n=yn.get(e);return n&&n.get(t)}const Qo=Cr("__proto__,__v_isRef,__isVue"),fi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe)),es=Zo();function Zo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let i=0,o=this.length;i{e[t]=function(...n){et(),Rr();const r=J(this)[t].apply(this,n);return Or(),tt(),r}}),e}function el(e){Qe(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class di{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?hl:mi:i?gi:pi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=B(t);if(!s){if(o&&z(es,n))return Reflect.get(es,n,r);if(n==="hasOwnProperty")return el}const l=Reflect.get(t,n,r);return(Qe(n)?fi.has(n):Qo(n))||(s||be(t,"get",n),i)?l:de(l)?o&&Tr(n)?l:l.value:Z(l)?s?In(l):Mn(l):l}}class hi extends di{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const c=dt(i);if(!St(r)&&!dt(r)&&(i=J(i),r=J(r)),!B(t)&&de(i)&&!de(r))return c?!1:(i.value=r,!0)}const o=B(t)&&Tr(n)?Number(n)e,Ln=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),i=J(t);n||(ze(t,i)&&be(s,"get",t),be(s,"get",i));const{has:o}=Ln(s),l=r?Lr:n?Pr:jt;if(o.call(s,t))return l(e.get(t));if(o.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function Qt(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(ze(e,s)&&be(r,"has",e),be(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Zt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",at),Reflect.get(e,"size",e)}function ts(e,t=!1){!t&&!St(e)&&!dt(e)&&(e=J(e));const n=J(this);return Ln(n).has.call(n,e)||(n.add(e),Ve(n,"add",e,e)),this}function ns(e,t,n=!1){!n&&!St(t)&&!dt(t)&&(t=J(t));const r=J(this),{has:s,get:i}=Ln(r);let o=s.call(r,e);o||(e=J(e),o=s.call(r,e));const l=i.call(r,e);return r.set(e,t),o?ze(t,l)&&Ve(r,"set",e,t):Ve(r,"add",e,t),this}function rs(e){const t=J(this),{has:n,get:r}=Ln(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&Ve(t,"delete",e,void 0),i}function ss(){const e=J(this),t=e.size!==0,n=e.clear();return t&&Ve(e,"clear",void 0,void 0),n}function en(e,t){return function(r,s){const i=this,o=i.__v_raw,l=J(o),c=t?Lr:e?Pr:jt;return!e&&be(l,"iterate",at),o.forEach((u,f)=>r.call(s,c(u),c(f),i))}}function tn(e,t,n){return function(...r){const s=this.__v_raw,i=J(s),o=_t(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=s[e](...r),f=n?Lr:t?Pr:jt;return!t&&be(i,"iterate",c?hr:at),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function il(){const e={get(i){return Jt(this,i)},get size(){return Zt(this)},has:Qt,add:ts,set:ns,delete:rs,clear:ss,forEach:en(!1,!1)},t={get(i){return Jt(this,i,!1,!0)},get size(){return Zt(this)},has:Qt,add(i){return ts.call(this,i,!0)},set(i,o){return ns.call(this,i,o,!0)},delete:rs,clear:ss,forEach:en(!1,!0)},n={get(i){return Jt(this,i,!0)},get size(){return Zt(this,!0)},has(i){return Qt.call(this,i,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:en(!0,!1)},r={get(i){return Jt(this,i,!0,!0)},get size(){return Zt(this,!0)},has(i){return Qt.call(this,i,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=tn(i,!1,!1),n[i]=tn(i,!0,!1),t[i]=tn(i,!1,!0),r[i]=tn(i,!0,!0)}),[e,n,t,r]}const[ol,ll,cl,al]=il();function Mr(e,t){const n=t?e?al:cl:e?ll:ol;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,i)}const ul={get:Mr(!1,!1)},fl={get:Mr(!1,!0)},dl={get:Mr(!0,!1)};const pi=new WeakMap,gi=new WeakMap,mi=new WeakMap,hl=new WeakMap;function pl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gl(e){return e.__v_skip||!Object.isExtensible(e)?0:pl($o(e))}function Mn(e){return dt(e)?e:Ir(e,!1,nl,ul,pi)}function ml(e){return Ir(e,!1,sl,fl,gi)}function In(e){return Ir(e,!0,rl,dl,mi)}function Ir(e,t,n,r,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=gl(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function vt(e){return dt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function dt(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function yi(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function hn(e){return Object.isExtensible(e)&&ei(e,"__v_skip",!0),e}const jt=e=>Z(e)?Mn(e):e,Pr=e=>Z(e)?In(e):e;class _i{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ar(()=>t(this._value),()=>Mt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&ze(t._value,t._value=t.effect.run())&&Mt(t,4),Nr(t),t.effect._dirtyLevel>=2&&Mt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function yl(e,t,n=!1){let r,s;const i=K(e);return i?(r=e,s=Te):(r=e.get,s=e.set),new _i(r,s,i||!s,n)}function Nr(e){var t;Xe&&ct&&(e=J(e),ci(ct,(t=e.dep)!=null?t:e.dep=ui(()=>e.dep=void 0,e instanceof _i?e:void 0)))}function Mt(e,t=4,n,r){e=J(e);const s=e.dep;s&&ai(s,t)}function de(e){return!!(e&&e.__v_isRef===!0)}function oe(e){return bi(e,!1)}function Fr(e){return bi(e,!0)}function bi(e,t){return de(e)?e:new _l(e,t)}class _l{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:jt(t)}get value(){return Nr(this),this._value}set value(t){const n=this.__v_isShallow||St(t)||dt(t);t=n?t:J(t),ze(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:jt(t),Mt(this,4))}}function vi(e){return de(e)?e.value:e}const bl={get:(e,t,n)=>vi(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return de(s)&&!de(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function wi(e){return vt(e)?e:new Proxy(e,bl)}class vl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Nr(this),()=>Mt(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function wl(e){return new vl(e)}class El{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Jo(J(this._object),this._key)}}class Cl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Sl(e,t,n){return de(e)?e:K(e)?new Cl(e):Z(e)&&arguments.length>1?xl(e,t,n):oe(e)}function xl(e,t,n){const r=e[t];return de(r)?r:new El(e,t,n)}/** +* @vue/runtime-core v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Ye(e,t,n,r){try{return r?e(...r):e()}catch(s){Wt(s,t,n)}}function Ae(e,t,n,r){if(K(e)){const s=Ye(e,t,n,r);return s&&Js(s)&&s.catch(i=>{Wt(i,t,n)}),s}if(B(e)){const s=[];for(let i=0;i>>1,s=pe[r],i=Dt(s);iNe&&pe.splice(t,1)}function Ol(e){B(e)?wt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?ot+1:ot))&&wt.push(e),Ci()}function is(e,t,n=Vt?Ne+1:0){for(;nDt(n)-Dt(r));if(wt.length=0,Ke){Ke.push(...t);return}for(Ke=t,ot=0;ote.id==null?1/0:e.id,Ll=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Si(e){pr=!1,Vt=!0,pe.sort(Ll);try{for(Ne=0;Nexi;function xi(e,t=ue,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&ws(-1);const i=bn(t);let o;try{o=e(...s)}finally{bn(i),r._d&&ws(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function du(e,t){if(ue===null)return e;const n=Un(ue),r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),Mi(()=>{e.isUnmounting=!0}),e}const Ce=[Function,Array],Ti={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ce,onEnter:Ce,onAfterEnter:Ce,onEnterCancelled:Ce,onBeforeLeave:Ce,onLeave:Ce,onAfterLeave:Ce,onLeaveCancelled:Ce,onBeforeAppear:Ce,onAppear:Ce,onAfterAppear:Ce,onAppearCancelled:Ce},Ai=e=>{const t=e.subTree;return t.component?Ai(t.component):t},Il={name:"BaseTransition",props:Ti,setup(e,{slots:t}){const n=Dn(),r=Ml();return()=>{const s=t.default&&Oi(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const m of s)if(m.type!==me){i=m;break}}const o=J(e),{mode:l}=o;if(r.isLeaving)return qn(i);const c=os(i);if(!c)return qn(i);let u=gr(c,o,r,n,m=>u=m);vn(c,u);const f=n.subTree,h=f&&os(f);if(h&&h.type!==me&&!lt(c,h)&&Ai(n).type!==me){const m=gr(h,o,r,n);if(vn(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},qn(i);l==="in-out"&&c.type!==me&&(m.delayLeave=(v,S,O)=>{const k=Ri(r,h);k[String(h.key)]=h,v[We]=()=>{S(),v[We]=void 0,delete u.delayedLeave},u.delayedLeave=O})}return i}}},Pl=Il;function Ri(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function gr(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:S,onLeaveCancelled:O,onBeforeAppear:k,onAppear:W,onAfterAppear:D,onAppearCancelled:p}=t,y=String(e.key),I=Ri(n,e),T=(M,_)=>{M&&Ae(M,r,9,_)},F=(M,_)=>{const N=_[1];T(M,_),B(M)?M.every(x=>x.length<=1)&&N():M.length<=1&&N()},$={mode:o,persisted:l,beforeEnter(M){let _=c;if(!n.isMounted)if(i)_=k||c;else return;M[We]&&M[We](!0);const N=I[y];N&<(e,N)&&N.el[We]&&N.el[We](),T(_,[M])},enter(M){let _=u,N=f,x=h;if(!n.isMounted)if(i)_=W||u,N=D||f,x=p||h;else return;let G=!1;const ee=M[nn]=re=>{G||(G=!0,re?T(x,[M]):T(N,[M]),$.delayedLeave&&$.delayedLeave(),M[nn]=void 0)};_?F(_,[M,ee]):ee()},leave(M,_){const N=String(e.key);if(M[nn]&&M[nn](!0),n.isUnmounting)return _();T(m,[M]);let x=!1;const G=M[We]=ee=>{x||(x=!0,_(),ee?T(O,[M]):T(S,[M]),M[We]=void 0,I[N]===e&&delete I[N])};I[N]=e,v?F(v,[M,G]):G()},clone(M){const _=gr(M,t,n,r,s);return s&&s(_),_}};return $}function qn(e){if(qt(e))return e=Je(e),e.children=null,e}function os(e){if(!qt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function vn(e,t){e.shapeFlag&6&&e.component?vn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oi(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function hu(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:i,suspensible:o=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,m()),m=()=>{let v;return c||(v=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((O,k)=>{l(S,()=>O(h()),()=>k(S),f+1)});throw S}).then(S=>v!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return Hr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const v=ae;if(u)return()=>Gn(u,v);const S=D=>{c=null,Wt(D,v,13,!r)};if(o&&v.suspense||Xt)return m().then(D=>()=>Gn(D,v)).catch(D=>(S(D),()=>r?le(r,{error:D}):null));const O=oe(!1),k=oe(),W=oe(!!s);return s&&setTimeout(()=>{W.value=!1},s),i!=null&&setTimeout(()=>{if(!O.value&&!k.value){const D=new Error(`Async component timed out after ${i}ms.`);S(D),k.value=D}},i),m().then(()=>{O.value=!0,v.parent&&qt(v.parent.vnode)&&(v.parent.effect.dirty=!0,Nn(v.parent.update))}).catch(D=>{S(D),k.value=D}),()=>{if(O.value&&u)return Gn(u,v);if(k.value&&r)return le(r,{error:k.value});if(n&&!W.value)return le(n)}}})}function Gn(e,t){const{ref:n,props:r,children:s,ce:i}=t.vnode,o=le(e,r,s);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const qt=e=>e.type.__isKeepAlive;function Nl(e,t){Li(e,"a",t)}function Fl(e,t){Li(e,"da",t)}function Li(e,t,n=ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if($n(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&$l(r,t,n,s),s=s.parent}}function $l(e,t,n,r){const s=$n(t,e,r,!0);Hn(()=>{xr(r[t],s)},n)}function $n(e,t,n=ae,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{et();const l=Gt(n),c=Ae(t,n,e,o);return l(),tt(),c});return r?s.unshift(i):s.push(i),i}}const De=e=>(t,n=ae)=>{(!Xt||e==="sp")&&$n(e,(...r)=>t(...r),n)},Hl=De("bm"),Tt=De("m"),jl=De("bu"),Vl=De("u"),Mi=De("bum"),Hn=De("um"),Dl=De("sp"),Ul=De("rtg"),Bl=De("rtc");function kl(e,t=ae){$n("ec",e,t)}const Ii="components";function pu(e,t){return Ni(Ii,e,!0,t)||e}const Pi=Symbol.for("v-ndc");function gu(e){return se(e)?Ni(Ii,e,!1)||e:e||Pi}function Ni(e,t,n=!0,r=!1){const s=ue||ae;if(s){const i=s.type;{const l=Fc(i,!1);if(l&&(l===t||l===Oe(t)||l===An(Oe(t))))return i}const o=ls(s[e]||i[e],t)||ls(s.appContext[e],t);return!o&&r?i:o}}function ls(e,t){return e&&(e[t]||e[Oe(t)]||e[An(Oe(t))])}function mu(e,t,n,r){let s;const i=n;if(B(e)||se(e)){s=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,i));else{const o=Object.keys(e);s=new Array(o.length);for(let l=0,c=o.length;lCn(t)?!(t.type===me||t.type===_e&&!Fi(t.children)):!0)?e:null}function _u(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:fn(r)]=e[r];return n}const mr=e=>e?lo(e)?Un(e):mr(e.parent):null,It=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mr(e.parent),$root:e=>mr(e.root),$emit:e=>e.emit,$options:e=>jr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Nn(e.update)}),$nextTick:e=>e.n||(e.n=Pn.bind(e.proxy)),$watch:e=>yc.bind(e)}),Xn=(e,t)=>e!==ne&&!e.__isScriptSetup&&z(e,t),Kl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Xn(r,t))return o[t]=1,r[t];if(s!==ne&&z(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&z(u,t))return o[t]=3,i[t];if(n!==ne&&z(n,t))return o[t]=4,n[t];yr&&(o[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ne&&z(n,t))return o[t]=4,n[t];if(m=c.config.globalProperties,z(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Xn(s,t)?(s[t]=n,!0):r!==ne&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==ne&&z(e,o)||Xn(t,o)||(l=i[0])&&z(l,o)||z(r,o)||z(It,o)||z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bu(){return Wl().slots}function Wl(){const e=Dn();return e.setupContext||(e.setupContext=ao(e))}function cs(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let yr=!0;function ql(e){const t=jr(e),n=e.proxy,r=e.ctx;yr=!1,t.beforeCreate&&as(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:v,updated:S,activated:O,deactivated:k,beforeDestroy:W,beforeUnmount:D,destroyed:p,unmounted:y,render:I,renderTracked:T,renderTriggered:F,errorCaptured:$,serverPrefetch:M,expose:_,inheritAttrs:N,components:x,directives:G,filters:ee}=t;if(u&&Gl(u,r,null),o)for(const Y in o){const j=o[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);Z(Y)&&(e.data=Mn(Y))}if(yr=!0,i)for(const Y in i){const j=i[Y],He=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Te,Yt=!K(j)&&K(j.set)?j.set.bind(n):Te,nt=ie({get:He,set:Yt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Me=>nt.value=Me})}if(l)for(const Y in l)$i(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Zl(j,Y[j])})}f&&as(f,e,"c");function U(Y,j){B(j)?j.forEach(He=>Y(He.bind(n))):j&&Y(j.bind(n))}if(U(Hl,h),U(Tt,m),U(jl,v),U(Vl,S),U(Nl,O),U(Fl,k),U(kl,$),U(Bl,T),U(Ul,F),U(Mi,D),U(Hn,y),U(Dl,M),B(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:He=>n[j]=He})})}else e.exposed||(e.exposed={});I&&e.render===Te&&(e.render=I),N!=null&&(e.inheritAttrs=N),x&&(e.components=x),G&&(e.directives=G)}function Gl(e,t,n=Te){B(e)&&(e=_r(e));for(const r in e){const s=e[r];let i;Z(s)?"default"in s?i=Ct(s.from||r,s.default,!0):i=Ct(s.from||r):i=Ct(s),de(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function as(e,t,n){Ae(B(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function $i(e,t,n,r){const s=r.includes(".")?Qi(n,r):()=>n[r];if(se(e)){const i=t[e];K(i)&&Fe(s,i)}else if(K(e))Fe(s,e.bind(n));else if(Z(e))if(B(e))e.forEach(i=>$i(i,t,n,r));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&Fe(s,i,e)}}function jr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>wn(c,u,o,!0)),wn(c,t,o)),Z(t)&&i.set(t,c),c}function wn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&wn(e,i,n,!0),s&&s.forEach(o=>wn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=Xl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Xl={data:us,props:fs,emits:fs,methods:Lt,computed:Lt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Lt,directives:Lt,watch:zl,provide:us,inject:Yl};function us(e,t){return t?e?function(){return fe(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Yl(e,t){return Lt(_r(e),_r(t))}function _r(e){if(B(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const ji={},Vi=()=>Object.create(ji),Di=e=>Object.getPrototypeOf(e)===ji;function ec(e,t,n,r=!1){const s={},i=Vi();e.propsDefaults=Object.create(null),Ui(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:ml(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function tc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,v]=Bi(h,t,!0);fe(o,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return Z(e)&&r.set(e,yt),yt;if(B(i))for(let f=0;f-1,v[1]=O<0||S-1||z(v,"default"))&&l.push(h)}}}const u=[o,l];return Z(e)&&r.set(e,u),u}function ds(e){return e[0]!=="$"&&!bt(e)}function hs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ps(e,t){return hs(e)===hs(t)}function gs(e,t){return B(t)?t.findIndex(n=>ps(n,e)):K(t)&&ps(t,e)?0:-1}const ki=e=>e[0]==="_"||e==="$stable",Vr=e=>B(e)?e.map(xe):[xe(e)],rc=(e,t,n)=>{if(t._n)return t;const r=xi((...s)=>Vr(t(...s)),n);return r._c=!1,r},Ki=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ki(s))continue;const i=e[s];if(K(i))t[s]=rc(s,i,r);else if(i!=null){const o=Vr(i);t[s]=()=>o}}},Wi=(e,t)=>{const n=Vr(t);e.slots.default=()=>n},qi=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},sc=(e,t,n)=>{const r=e.slots=Vi();if(e.vnode.shapeFlag&32){const s=t._;s?(qi(r,t,n),n&&ei(r,"_",s,!0)):Ki(t,r)}else t&&Wi(e,t)},ic=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=ne;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:qi(s,t,n):(i=!t.$stable,Ki(t,s)),o=t}else t&&(Wi(e,t),o={default:1});if(i)for(const l in s)!ki(l)&&o[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(B(e)){e.forEach((m,v)=>En(m,t&&(B(t)?t[v]:t),n,r,s));return}if(Et(r)&&!s)return;const i=r.shapeFlag&4?Un(r.component):r.el,o=s?null:i,{i:l,r:c}=e,u=t&&t.r,f=l.refs===ne?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(se(u)?(f[u]=null,z(h,u)&&(h[u]=null)):de(u)&&(u.value=null)),K(c))Ye(c,l,12,[o,f]);else{const m=se(c),v=de(c);if(m||v){const S=()=>{if(e.f){const O=m?z(h,c)?h[c]:f[c]:c.value;s?B(O)&&xr(O,i):B(O)?O.includes(i)||O.push(i):m?(f[c]=[i],z(h,c)&&(h[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else m?(f[c]=o,z(h,c)&&(h[c]=o)):v&&(c.value=o,e.k&&(f[e.k]=o))};o?(S.id=-1,ye(S,n)):S()}}}const Gi=Symbol("_vte"),oc=e=>e.__isTeleport,Nt=e=>e&&(e.disabled||e.disabled===""),ms=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ys=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,vr=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},lc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,i,o,l,c,u){const{mc:f,pc:h,pbc:m,o:{insert:v,querySelector:S,createText:O,createComment:k}}=u,W=Nt(t.props);let{shapeFlag:D,children:p,dynamicChildren:y}=t;if(e==null){const I=t.el=O(""),T=t.anchor=O(""),F=t.target=vr(t.props,S),$=t.targetStart=O(""),M=t.targetAnchor=O("");v(I,n,r),v(T,n,r),$[Gi]=M,F&&(v($,F),v(M,F),o==="svg"||ms(F)?o="svg":(o==="mathml"||ys(F))&&(o="mathml"));const _=(N,x)=>{D&16&&f(p,N,x,s,i,o,l,c)};W?_(n,T):F&&_(F,M)}else{t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,T=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Nt(e.props),M=$?n:T,_=$?I:F;if(o==="svg"||ms(T)?o="svg":(o==="mathml"||ys(T))&&(o="mathml"),y?(m(e.dynamicChildren,y,M,s,i,o,l),Dr(e,t,!0)):c||h(e,t,M,_,s,i,o,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rn(t,n,I,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=vr(t.props,S);N&&rn(t,N,null,u,0)}else $&&rn(t,T,F,u,1)}Xi(t)},remove(e,t,n,{um:r,o:{remove:s}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:f,target:h,props:m}=e;if(h&&(s(u),s(f)),i&&s(c),o&16){const v=i||!Nt(m);for(let S=0;S{_s||(console.error("Hydration completed but contains mismatches."),_s=!0)},ac=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",uc=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(ac(e))return"svg";if(uc(e))return"mathml"},on=e=>e.nodeType===8;function fc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,I,T,F,$=!1)=>{$=$||!!y.dynamicChildren;const M=on(p)&&p.data==="[",_=()=>O(p,y,I,T,F,M),{type:N,ref:x,shapeFlag:G,patchFlag:ee}=y;let re=p.nodeType;y.el=p,ee===-2&&($=!1,y.dynamicChildren=null);let U=null;switch(N){case ut:re!==3?y.children===""?(c(y.el=s(""),o(p),p),U=p):U=_():(p.data!==y.children&&(gt(),p.data=y.children),U=i(p));break;case me:D(p)?(U=i(p),W(y.el=p.content.firstChild,p,I)):re!==8||M?U=_():U=i(p);break;case Ft:if(M&&(p=i(p),re=p.nodeType),re===1||re===3){U=p;const Y=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:M,props:_,patchFlag:N,shapeFlag:x,dirs:G,transition:ee}=y,re=M==="input"||M==="option";if(re||N!==-1){G&&Pe(y,null,I,"created");let U=!1;if(D(p)){U=zi(T,ee)&&I&&I.vnode.props&&I.vnode.props.appear;const j=p.content.firstChild;U&&ee.beforeEnter(j),W(j,p,I),y.el=p=j}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let j=v(p.firstChild,y,p,I,T,F,$);for(;j;){gt();const He=j;j=j.nextSibling,l(He)}}else x&8&&p.textContent!==y.children&&(gt(),p.textContent=y.children);if(_){if(re||!$||N&48)for(const j in _)(re&&(j.endsWith("value")||j==="indeterminate")||Kt(j)&&!bt(j)||j[0]===".")&&r(p,j,null,_[j],void 0,I);else if(_.onClick)r(p,"onClick",null,_.onClick,void 0,I);else if(N&4&&vt(_.style))for(const j in _.style)_.style[j]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Se(Y,I,y),G&&Pe(y,null,I,"beforeMount"),((Y=_&&_.onVnodeMounted)||G||U)&&eo(()=>{Y&&Se(Y,I,y),U&&ee.enter(p),G&&Pe(y,null,I,"mounted")},T)}return p.nextSibling},v=(p,y,I,T,F,$,M)=>{M=M||!!y.dynamicChildren;const _=y.children,N=_.length;for(let x=0;x{const{slotScopeIds:M}=y;M&&(F=F?F.concat(M):M);const _=o(p),N=v(i(p),y,_,I,T,F,$);return N&&on(N)&&N.data==="]"?i(y.anchor=N):(gt(),c(y.anchor=u("]"),_,N),N)},O=(p,y,I,T,F,$)=>{if(gt(),y.el=null,$){const N=k(p);for(;;){const x=i(p);if(x&&x!==N)l(x);else break}}const M=i(p),_=o(p);return l(p),n(null,y,_,M,I,T,sn(_),F),M},k=(p,y="[",I="]")=>{let T=0;for(;p;)if(p=i(p),p&&on(p)&&(p.data===y&&T++,p.data===I)){if(T===0)return i(p);T--}return p},W=(p,y,I)=>{const T=y.parentNode;T&&T.replaceChild(p,y);let F=I;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},D=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const ye=eo;function dc(e){return Yi(e)}function hc(e){return Yi(e,fc)}function Yi(e,t){const n=ti();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:v=Te,insertStaticContent:S}=e,O=(a,d,g,E=null,b=null,C=null,L=void 0,A=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(E=zt(a),Me(a,b,C,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:w,ref:P,shapeFlag:V}=d;switch(w){case ut:k(a,d,g,E);break;case me:W(a,d,g,E);break;case Ft:a==null&&D(d,g,E,L);break;case _e:x(a,d,g,E,b,C,L,A,R);break;default:V&1?I(a,d,g,E,b,C,L,A,R):V&6?G(a,d,g,E,b,C,L,A,R):(V&64||V&128)&&w.process(a,d,g,E,b,C,L,A,R,ht)}P!=null&&b&&En(P,a&&a.ref,C,d||a,!d)},k=(a,d,g,E)=>{if(a==null)r(d.el=l(d.children),g,E);else{const b=d.el=a.el;d.children!==a.children&&u(b,d.children)}},W=(a,d,g,E)=>{a==null?r(d.el=c(d.children||""),g,E):d.el=a.el},D=(a,d,g,E)=>{[a.el,a.anchor]=S(a.children,d,g,E,a.el,a.anchor)},p=({el:a,anchor:d},g,E)=>{let b;for(;a&&a!==d;)b=m(a),r(a,g,E),a=b;r(d,g,E)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},I=(a,d,g,E,b,C,L,A,R)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),a==null?T(d,g,E,b,C,L,A,R):M(a,d,b,C,L,A,R)},T=(a,d,g,E,b,C,L,A)=>{let R,w;const{props:P,shapeFlag:V,transition:H,dirs:q}=a;if(R=a.el=o(a.type,C,P&&P.is,P),V&8?f(R,a.children):V&16&&$(a.children,R,null,E,b,Yn(a,C),L,A),q&&Pe(a,null,E,"created"),F(R,a,a.scopeId,L,E),P){for(const te in P)te!=="value"&&!bt(te)&&i(R,te,null,P[te],C,E);"value"in P&&i(R,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Se(w,E,a)}q&&Pe(a,null,E,"beforeMount");const X=zi(b,H);X&&H.beforeEnter(R),r(R,d,g),((w=P&&P.onVnodeMounted)||X||q)&&ye(()=>{w&&Se(w,E,a),X&&H.enter(R),q&&Pe(a,null,E,"mounted")},b)},F=(a,d,g,E,b)=>{if(g&&v(a,g),E)for(let C=0;C{for(let w=R;w{const A=d.el=a.el;let{patchFlag:R,dynamicChildren:w,dirs:P}=d;R|=a.patchFlag&16;const V=a.props||ne,H=d.props||ne;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Se(q,g,d,a),P&&Pe(d,a,g,"beforeUpdate"),g&&rt(g,!0),(V.innerHTML&&H.innerHTML==null||V.textContent&&H.textContent==null)&&f(A,""),w?_(a.dynamicChildren,w,A,g,E,Yn(d,b),C):L||j(a,d,A,null,g,E,Yn(d,b),C,!1),R>0){if(R&16)N(A,V,H,g,b);else if(R&2&&V.class!==H.class&&i(A,"class",null,H.class,b),R&4&&i(A,"style",V.style,H.style,b),R&8){const X=d.dynamicProps;for(let te=0;te{q&&Se(q,g,d,a),P&&Pe(d,a,g,"updated")},E)},_=(a,d,g,E,b,C,L)=>{for(let A=0;A{if(d!==g){if(d!==ne)for(const C in d)!bt(C)&&!(C in g)&&i(a,C,d[C],null,b,E);for(const C in g){if(bt(C))continue;const L=g[C],A=d[C];L!==A&&C!=="value"&&i(a,C,A,L,b,E)}"value"in g&&i(a,"value",d.value,g.value,b)}},x=(a,d,g,E,b,C,L,A,R)=>{const w=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:q}=d;q&&(A=A?A.concat(q):q),a==null?(r(w,g,E),r(P,g,E),$(d.children||[],g,P,b,C,L,A,R)):V>0&&V&64&&H&&a.dynamicChildren?(_(a.dynamicChildren,H,g,b,C,L,A),(d.key!=null||b&&d===b.subTree)&&Dr(a,d,!0)):j(a,d,g,P,b,C,L,A,R)},G=(a,d,g,E,b,C,L,A,R)=>{d.slotScopeIds=A,a==null?d.shapeFlag&512?b.ctx.activate(d,g,E,L,R):ee(d,g,E,b,C,L,R):re(a,d,R)},ee=(a,d,g,E,b,C,L)=>{const A=a.component=Mc(a,E,b);if(qt(a)&&(A.ctx.renderer=ht),Ic(A,!1,L),A.asyncDep){if(b&&b.registerDep(A,U,L),!a.el){const R=A.subTree=le(me);W(null,R,d,g)}}else U(A,a,d,g,b,C,L)},re=(a,d,g)=>{const E=d.component=a.component;if(Ec(a,d,g))if(E.asyncDep&&!E.asyncResolved){Y(E,d,g);return}else E.next=d,Rl(E.update),E.effect.dirty=!0,E.update();else d.el=a.el,E.vnode=d},U=(a,d,g,E,b,C,L)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:H,parent:q,vnode:X}=a;{const pt=Ji(a);if(pt){P&&(P.el=X.el,Y(a,P,L)),pt.asyncDep.then(()=>{a.isUnmounted||A()});return}}let te=P,Q;rt(a,!1),P?(P.el=X.el,Y(a,P,L)):P=X,V&&dn(V),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Se(Q,q,P,X),rt(a,!0);const ce=zn(a),Re=a.subTree;a.subTree=ce,O(Re,ce,h(Re.el),zt(Re),a,b,C),P.el=ce.el,te===null&&Cc(a,ce.el),H&&ye(H,b),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Se(Q,q,P,X),b)}else{let P;const{el:V,props:H}=d,{bm:q,m:X,parent:te}=a,Q=Et(d);if(rt(a,!1),q&&dn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Se(P,te,d),rt(a,!0),V&&Kn){const ce=()=>{a.subTree=zn(a),Kn(V,a.subTree,a,b,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=zn(a);O(null,ce,g,E,a,b,C),d.el=ce.el}if(X&&ye(X,b),!Q&&(P=H&&H.onVnodeMounted)){const ce=d;ye(()=>Se(P,te,ce),b)}(d.shapeFlag&256||te&&Et(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ye(a.a,b),a.isMounted=!0,d=g=E=null}},R=a.effect=new Ar(A,Te,()=>Nn(w),a.scope),w=a.update=()=>{R.dirty&&R.run()};w.i=a,w.id=a.uid,rt(a,!0),w()},Y=(a,d,g)=>{d.component=a;const E=a.vnode.props;a.vnode=d,a.next=null,tc(a,d.props,E,g),ic(a,d.children,g),et(),is(a),tt()},j=(a,d,g,E,b,C,L,A,R=!1)=>{const w=a&&a.children,P=a?a.shapeFlag:0,V=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){Yt(w,V,g,E,b,C,L,A,R);return}else if(H&256){He(w,V,g,E,b,C,L,A,R);return}}q&8?(P&16&&At(w,b,C),V!==w&&f(g,V)):P&16?q&16?Yt(w,V,g,E,b,C,L,A,R):At(w,b,C,!0):(P&8&&f(g,""),q&16&&$(V,g,E,b,C,L,A,R))},He=(a,d,g,E,b,C,L,A,R)=>{a=a||yt,d=d||yt;const w=a.length,P=d.length,V=Math.min(w,P);let H;for(H=0;HP?At(a,b,C,!0,!1,V):$(d,g,E,b,C,L,A,R,V)},Yt=(a,d,g,E,b,C,L,A,R)=>{let w=0;const P=d.length;let V=a.length-1,H=P-1;for(;w<=V&&w<=H;){const q=a[w],X=d[w]=R?qe(d[w]):xe(d[w]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;w++}for(;w<=V&&w<=H;){const q=a[V],X=d[H]=R?qe(d[H]):xe(d[H]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;V--,H--}if(w>V){if(w<=H){const q=H+1,X=qH)for(;w<=V;)Me(a[w],b,C,!0),w++;else{const q=w,X=w,te=new Map;for(w=X;w<=H;w++){const ve=d[w]=R?qe(d[w]):xe(d[w]);ve.key!=null&&te.set(ve.key,w)}let Q,ce=0;const Re=H-X+1;let pt=!1,Xr=0;const Rt=new Array(Re);for(w=0;w=Re){Me(ve,b,C,!0);continue}let Ie;if(ve.key!=null)Ie=te.get(ve.key);else for(Q=X;Q<=H;Q++)if(Rt[Q-X]===0&<(ve,d[Q])){Ie=Q;break}Ie===void 0?Me(ve,b,C,!0):(Rt[Ie-X]=w+1,Ie>=Xr?Xr=Ie:pt=!0,O(ve,d[Ie],g,null,b,C,L,A,R),ce++)}const Yr=pt?pc(Rt):yt;for(Q=Yr.length-1,w=Re-1;w>=0;w--){const ve=X+w,Ie=d[ve],zr=ve+1{const{el:C,type:L,transition:A,children:R,shapeFlag:w}=a;if(w&6){nt(a.component.subTree,d,g,E);return}if(w&128){a.suspense.move(d,g,E);return}if(w&64){L.move(a,d,g,ht);return}if(L===_e){r(C,d,g);for(let V=0;VA.enter(C),b);else{const{leave:V,delayLeave:H,afterLeave:q}=A,X=()=>r(C,d,g),te=()=>{V(C,()=>{X(),q&&q()})};H?H(C,X,te):te()}else r(C,d,g)},Me=(a,d,g,E=!1,b=!1)=>{const{type:C,props:L,ref:A,children:R,dynamicChildren:w,shapeFlag:P,patchFlag:V,dirs:H,cacheIndex:q}=a;if(V===-2&&(b=!1),A!=null&&En(A,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const X=P&1&&H,te=!Et(a);let Q;if(te&&(Q=L&&L.onVnodeBeforeUnmount)&&Se(Q,d,a),P&6)Po(a.component,g,E);else{if(P&128){a.suspense.unmount(g,E);return}X&&Pe(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,ht,E):w&&!w.hasOnce&&(C!==_e||V>0&&V&64)?At(w,d,g,!1,!0):(C===_e&&V&384||!b&&P&16)&&At(R,d,g),E&&qr(a)}(te&&(Q=L&&L.onVnodeUnmounted)||X)&&ye(()=>{Q&&Se(Q,d,a),X&&Pe(a,null,d,"unmounted")},g)},qr=a=>{const{type:d,el:g,anchor:E,transition:b}=a;if(d===_e){Io(g,E);return}if(d===Ft){y(a);return}const C=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:A}=b,R=()=>L(g,C);A?A(a.el,C,R):R()}else C()},Io=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Po=(a,d,g)=>{const{bum:E,scope:b,update:C,subTree:L,um:A,m:R,a:w}=a;bs(R),bs(w),E&&dn(E),b.stop(),C&&(C.active=!1,Me(L,a,d,g)),A&&ye(A,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},At=(a,d,g,E=!1,b=!1,C=0)=>{for(let L=C;L{if(a.shapeFlag&6)return zt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[Gi];return g?m(g):d};let Bn=!1;const Gr=(a,d,g)=>{a==null?d._vnode&&Me(d._vnode,null,null,!0):O(d._vnode||null,a,d,null,null,null,g),Bn||(Bn=!0,is(),_n(),Bn=!1),d._vnode=a},ht={p:O,um:Me,m:nt,r:qr,mt:ee,mc:$,pc:j,pbc:_,n:zt,o:e};let kn,Kn;return t&&([kn,Kn]=t(ht)),{render:Gr,hydrate:kn,createApp:Ql(Gr,kn)}}function Yn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Dr(e,t,n=!1){const r=e.children,s=t.children;if(B(r)&&B(s))for(let i=0;i>1,e[n[l]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Ji(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ji(t)}function bs(e){if(e)for(let t=0;tCt(gc);function Ur(e,t){return jn(e,null,t)}function wu(e,t){return jn(e,null,{flush:"post"})}const ln={};function Fe(e,t,n){return jn(e,t,n)}function jn(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:o,onTrigger:l}=ne){if(t&&i){const T=t;t=(...F)=>{T(...F),I()}}const c=ae,u=T=>r===!0?T:Ge(T,r===!1?1:void 0);let f,h=!1,m=!1;if(de(e)?(f=()=>e.value,h=St(e)):vt(e)?(f=()=>u(e),h=!0):B(e)?(m=!0,h=e.some(T=>vt(T)||St(T)),f=()=>e.map(T=>{if(de(T))return T.value;if(vt(T))return u(T);if(K(T))return Ye(T,c,2)})):K(e)?t?f=()=>Ye(e,c,2):f=()=>(v&&v(),Ae(e,c,3,[S])):f=Te,t&&r){const T=f;f=()=>Ge(T())}let v,S=T=>{v=p.onStop=()=>{Ye(T,c,4),v=p.onStop=void 0}},O;if(Xt)if(S=Te,t?n&&Ae(t,c,3,[f(),m?[]:void 0,S]):f(),s==="sync"){const T=mc();O=T.__watcherHandles||(T.__watcherHandles=[])}else return Te;let k=m?new Array(e.length).fill(ln):ln;const W=()=>{if(!(!p.active||!p.dirty))if(t){const T=p.run();(r||h||(m?T.some((F,$)=>ze(F,k[$])):ze(T,k)))&&(v&&v(),Ae(t,c,3,[T,k===ln?void 0:m&&k[0]===ln?[]:k,S]),k=T)}else p.run()};W.allowRecurse=!!t;let D;s==="sync"?D=W:s==="post"?D=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>Nn(W));const p=new Ar(f,Te,D),y=ii(),I=()=>{p.stop(),y&&xr(y.effects,p)};return t?n?W():k=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),O&&O.push(I),I}function yc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?Qi(r,e):()=>r[e]:e.bind(r,r);let i;K(t)?i=t:(i=t.handler,n=t);const o=Gt(this),l=jn(s,i.bind(r),n);return o(),l}function Qi(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ge(r,t,n)});else if(Zs(e)){for(const r in e)Ge(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ge(e[r],t,n)}return e}const _c=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function bc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const i=t.startsWith("update:"),o=i&&_c(r,t.slice(7));o&&(o.trim&&(s=n.map(f=>se(f)?f.trim():f)),o.number&&(s=n.map(ur)));let l,c=r[l=fn(t)]||r[l=fn(Oe(t))];!c&&i&&(c=r[l=fn(Ze(t))]),c&&Ae(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(u,e,6,s)}}function Zi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!K(e)){const c=u=>{const f=Zi(u,t,!0);f&&(l=!0,fe(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Z(e)&&r.set(e,null),null):(B(i)?i.forEach(c=>o[c]=null):fe(o,i),Z(e)&&r.set(e,o),o)}function Vn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ze(t))||z(e,t))}function zn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:v,ctx:S,inheritAttrs:O}=e,k=bn(e);let W,D;try{if(n.shapeFlag&4){const y=s||r,I=y;W=xe(u.call(I,y,f,h,v,m,S)),D=l}else{const y=t;W=xe(y.length>1?y(h,{attrs:l,slots:o,emit:c}):y(h,null)),D=t.props?l:vc(l)}}catch(y){$t.length=0,Wt(y,e,1),W=le(me)}let p=W;if(D&&O!==!1){const y=Object.keys(D),{shapeFlag:I}=p;y.length&&I&7&&(i&&y.some(Sr)&&(D=wc(D,i)),p=Je(p,D,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(k),W}const vc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},wc=(e,t)=>{const n={};for(const r in e)(!Sr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ec(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?vs(r,o,u):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function eo(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Ol(e)}const _e=Symbol.for("v-fgt"),ut=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Ft=Symbol.for("v-stc"),$t=[];let Ee=null;function to(e=!1){$t.push(Ee=e?null:[])}function xc(){$t.pop(),Ee=$t[$t.length-1]||null}let Ut=1;function ws(e){Ut+=e,e<0&&Ee&&(Ee.hasOnce=!0)}function no(e){return e.dynamicChildren=Ut>0?Ee||yt:null,xc(),Ut>0&&Ee&&Ee.push(e),e}function Eu(e,t,n,r,s,i){return no(io(e,t,n,r,s,i,!0))}function ro(e,t,n,r,s){return no(le(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const so=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||de(e)||K(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function io(e,t=null,n=null,r=0,s=null,i=e===_e?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&so(t),ref:t&&pn(t),scopeId:Fn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ue};return l?(Br(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Ut>0&&!o&&Ee&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ee.push(c),c}const le=Tc;function Tc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===Pi)&&(e=me),Cn(e)){const l=Je(e,t,!0);return n&&Br(l,n),Ut>0&&!i&&Ee&&(l.shapeFlag&6?Ee[Ee.indexOf(e)]=l:Ee.push(l)),l.patchFlag=-2,l}if($c(e)&&(e=e.__vccOpts),t){t=Ac(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=On(l)),Z(c)&&(yi(c)&&!B(c)&&(c=fe({},c)),t.style=Rn(c))}const o=se(e)?1:Sc(e)?128:oc(e)?64:Z(e)?4:K(e)?2:0;return io(e,t,n,r,s,o,i,!0)}function Ac(e){return e?yi(e)||Di(e)?fe({},e):e:null}function Je(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Rc(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&so(u),ref:t&&t.ref?n&&i?B(i)?i.concat(pn(t)):[i,pn(t)]:pn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vn(f,c.clone(f)),f}function oo(e=" ",t=0){return le(ut,null,e,t)}function Cu(e,t){const n=le(Ft,null,e);return n.staticCount=t,n}function Su(e="",t=!1){return t?(to(),ro(me,null,e)):le(me,null,e)}function xe(e){return e==null||typeof e=="boolean"?le(me):B(e)?le(_e,null,e.slice()):typeof e=="object"?qe(e):le(ut,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function Br(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Br(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Di(t)?t._ctx=ue:s===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),r&64?(n=16,t=[oo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rc(...e){const t={};for(let n=0;nae||ue;let Sn,wr;{const e=ti(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),wr=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Gt=e=>{const t=ae;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},Es=()=>{ae&&ae.scope.off(),Sn(null)};function lo(e){return e.vnode.shapeFlag&4}let Xt=!1;function Ic(e,t=!1,n=!1){t&&wr(t);const{props:r,children:s}=e.vnode,i=lo(e);ec(e,r,i,t),sc(e,s,n);const o=i?Pc(e,t):void 0;return t&&wr(!1),o}function Pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Kl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ao(e):null,i=Gt(e);et();const o=Ye(r,e,0,[e.props,s]);if(tt(),i(),Js(o)){if(o.then(Es,Es),t)return o.then(l=>{Cs(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=o}else Cs(e,o,t)}else co(e,t)}function Cs(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=wi(t)),co(e,n)}let Ss;function co(e,t,n){const r=e.type;if(!e.render){if(!t&&Ss&&!r.render){const s=r.template||jr(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=fe(fe({isCustomElement:i,delimiters:l},o),c);r.render=Ss(s,u)}}e.render=r.render||Te}{const s=Gt(e);et();try{ql(e)}finally{tt(),s()}}}const Nc={get(e,t){return be(e,"get",""),e[t]}};function ao(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nc),slots:e.slots,emit:e.emit,expose:t}}function Un(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wi(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}})):e.proxy}function Fc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function $c(e){return K(e)&&"__vccOpts"in e}const ie=(e,t)=>yl(e,t,Xt);function Er(e,t,n){const r=arguments.length;return r===2?Z(t)&&!B(t)?Cn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),le(e,t,n))}const Hc="3.4.33";/** +* @vue/runtime-dom v3.4.33 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const jc="http://www.w3.org/2000/svg",Vc="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,xs=je&&je.createElement("template"),Dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?je.createElementNS(jc,e):t==="mathml"?je.createElementNS(Vc,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{xs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=xs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Be="transition",Ot="animation",Bt=Symbol("_vtc"),uo=(e,{slots:t})=>Er(Pl,Uc(e),t);uo.displayName="Transition";const fo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};uo.props=fe({},Ti,fo);const st=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ts=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const x in e)x in fo||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,S=Bc(s),O=S&&S[0],k=S&&S[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:y,onLeaveCancelled:I,onBeforeAppear:T=W,onAppear:F=D,onAppearCancelled:$=p}=t,M=(x,G,ee)=>{it(x,G?f:l),it(x,G?u:o),ee&&ee()},_=(x,G)=>{x._isLeaving=!1,it(x,h),it(x,v),it(x,m),G&&G()},N=x=>(G,ee)=>{const re=x?F:D,U=()=>M(G,x,ee);st(re,[G,U]),As(()=>{it(G,x?c:i),ke(G,x?f:l),Ts(re)||Rs(G,r,O,U)})};return fe(t,{onBeforeEnter(x){st(W,[x]),ke(x,i),ke(x,o)},onBeforeAppear(x){st(T,[x]),ke(x,c),ke(x,u)},onEnter:N(!1),onAppear:N(!0),onLeave(x,G){x._isLeaving=!0;const ee=()=>_(x,G);ke(x,h),ke(x,m),Wc(),As(()=>{x._isLeaving&&(it(x,h),ke(x,v),Ts(y)||Rs(x,r,k,ee))}),st(y,[x,ee])},onEnterCancelled(x){M(x,!1),st(p,[x])},onAppearCancelled(x){M(x,!0),st($,[x])},onLeaveCancelled(x){_(x),st(I,[x])}})}function Bc(e){if(e==null)return null;if(Z(e))return[Jn(e.enter),Jn(e.leave)];{const t=Jn(e);return[t,t]}}function Jn(e){return Vo(e)}function ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function it(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function As(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kc=0;function Rs(e,t,n,r){const s=e._endId=++kc,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Kc(e,t);if(!o)return r();const u=o+"end";let f=0;const h=()=>{e.removeEventListener(u,m),i()},m=v=>{v.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),s=r(`${Be}Delay`),i=r(`${Be}Duration`),o=Os(s,i),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),u=Os(l,c);let f=null,h=0,m=0;t===Be?o>0&&(f=Be,h=o,m=i.length):t===Ot?u>0&&(f=Ot,h=u,m=c.length):(h=Math.max(o,u),f=h>0?o>u?Be:Ot:null,m=f?f===Be?i.length:c.length:0);const v=f===Be&&/\b(transform|all)(,|$)/.test(r(`${Be}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:v}}function Os(e,t){for(;e.lengthLs(n)+Ls(e[r])))}function Ls(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Wc(){return document.body.offsetHeight}function qc(e,t,n){const r=e[Bt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ms=Symbol("_vod"),Gc=Symbol("_vsh"),Xc=Symbol(""),Yc=/(^|;)\s*display\s*:/;function zc(e,t,n){const r=e.style,s=se(n);let i=!1;if(n&&!s){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&gn(r,l,"")}else for(const o in t)n[o]==null&&gn(r,o,"");for(const o in n)o==="display"&&(i=!0),gn(r,o,n[o])}else if(s){if(t!==n){const o=r[Xc];o&&(n+=";"+o),r.cssText=n,i=Yc.test(n)}}else t&&e.removeAttribute("style");Ms in e&&(e[Ms]=i?r.display:"",e[Gc]&&(r.display="none"))}const Is=/\s*!important$/;function gn(e,t,n){if(B(n))n.forEach(r=>gn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jc(e,t);Is.test(n)?e.setProperty(Ze(r),n.replace(Is,""),"important"):e[r]=n}}const Ps=["Webkit","Moz","ms"],Qn={};function Jc(e,t){const n=Qn[t];if(n)return n;let r=Oe(t);if(r!=="filter"&&r in e)return Qn[t]=r;r=An(r);for(let s=0;sZn||(na.then(()=>Zn=0),Zn=Date.now());function sa(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(ia(r,n.value),t,5,[r])};return n.value=e,n.attached=ra(),n}function ia(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const js=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oa=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?qc(e,r,o):t==="style"?zc(e,n,r):Kt(t)?Sr(t)||ea(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):la(e,t,r,o))?(Qc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fs(e,t,r,o,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Fs(e,t,r,o))};function la(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&js(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return js(t)&&se(n)?!1:t in e}const Vs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>dn(t,n):t};function ca(e){e.target.composing=!0}function Ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const er=Symbol("_assign"),xu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[er]=Vs(s);const i=r||s.props&&s.props.type==="number";mt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=ur(l)),e[er](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",ca),mt(e,"compositionend",Ds),mt(e,"change",Ds))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[er]=Vs(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?ur(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},aa=["ctrl","shift","alt","meta"],ua={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>aa.some(n=>e[`${n}Key`]&&!t.includes(n))},Tu=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=Ze(s.key);if(t.some(o=>o===i||fa[o]===i))return e(s)})},ho=fe({patchProp:oa},Dc);let Ht,Us=!1;function da(){return Ht||(Ht=dc(ho))}function ha(){return Ht=Us?Ht:hc(ho),Us=!0,Ht}const Ru=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=go(r);if(!s)return;const i=t._component;!K(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,po(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},Ou=(...e)=>{const t=ha().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=go(r);if(s)return n(s,!0,po(s))},t};function po(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function go(e){return se(e)?document.querySelector(e):e}const Lu=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},pa="modulepreload",ga=function(e){return"/eslint-plugin-lodash-template/"+e},Bs={},Mu=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),o=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=ga(l),l in Bs)return;Bs[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":pa,c||(f.as="script",f.crossOrigin=""),f.href=l,o&&f.setAttribute("nonce",o),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(i=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i})},ma=window.__VP_SITE_DATA__;function kr(e){return ii()?(Yo(e),!0):!1}function $e(e){return typeof e=="function"?e():vi(e)}const mo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ya=Object.prototype.toString,_a=e=>ya.call(e)==="[object Object]",kt=()=>{},ks=ba();function ba(){var e,t;return mo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function va(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const yo=e=>e();function wa(e,t={}){let n,r,s=kt;const i=l=>{clearTimeout(l),s(),s=kt};return l=>{const c=$e(e),u=$e(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((f,h)=>{s=t.rejectOnCancel?h:f,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,f(l())},u)),n=setTimeout(()=>{r&&i(r),r=null,f(l())},c)})}}function Ea(e=yo){const t=oe(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:In(t),pause:n,resume:r,eventFilter:s}}function Ca(e){return Dn()}function _o(...e){if(e.length!==1)return Sl(...e);const t=e[0];return typeof t=="function"?In(wl(()=>({get:t,set:kt}))):oe(t)}function bo(e,t,n={}){const{eventFilter:r=yo,...s}=n;return Fe(e,va(r,t),s)}function Sa(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Ea(r);return{stop:bo(e,t,{...s,eventFilter:i}),pause:o,resume:l,isActive:c}}function Kr(e,t=!0,n){Ca()?Tt(e,n):t?e():Pn(e)}function Iu(e,t,n={}){const{debounce:r=0,maxWait:s=void 0,...i}=n;return bo(e,t,{...i,eventFilter:wa(r,{maxWait:s})})}function Pu(e,t,n){let r;de(n)?r={evaluating:n}:r={};const{lazy:s=!1,evaluating:i=void 0,shallow:o=!0,onError:l=kt}=r,c=oe(!s),u=o?Fr(t):oe(t);let f=0;return Ur(async h=>{if(!c.value)return;f++;const m=f;let v=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const S=await e(O=>{h(()=>{i&&(i.value=!1),v||O()})});m===f&&(u.value=S)}catch(S){l(S)}finally{i&&m===f&&(i.value=!1),v=!0}}),s?ie(()=>(c.value=!0,u.value)):u}function vo(e){var t;const n=$e(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Le=mo?window:void 0;function xt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Le):[t,n,r,s]=e,!t)return kt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(f=>f()),i.length=0},l=(f,h,m,v)=>(f.addEventListener(h,m,v),()=>f.removeEventListener(h,m,v)),c=Fe(()=>[vo(t),$e(s)],([f,h])=>{if(o(),!f)return;const m=_a(h)?{...h}:h;i.push(...n.flatMap(v=>r.map(S=>l(f,v,S,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return kr(u),u}function xa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Nu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Le,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=r,c=xa(t);return xt(s,i,f=>{f.repeat&&$e(l)||c(f)&&n(f)},o)}function Ta(){const e=oe(!1),t=Dn();return t&&Tt(()=>{e.value=!0},t),e}function Aa(e){const t=Ta();return ie(()=>(t.value,!!e()))}function wo(e,t={}){const{window:n=Le}=t,r=Aa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const i=oe(!1),o=u=>{i.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},c=Ur(()=>{r.value&&(l(),s=n.matchMedia($e(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),i.value=s.matches)});return kr(()=>{c(),l(),s=void 0}),i}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},an="__vueuse_ssr_handlers__",Ra=Oa();function Oa(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function Eo(e,t){return Ra[e]||t}function La(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ma={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ks="vueuse-storage";function Wr(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Le,eventFilter:m,onError:v=_=>{console.error(_)},initOnMounted:S}=r,O=(f?Fr:oe)(typeof t=="function"?t():t);if(!n)try{n=Eo("getDefaultStorage",()=>{var _;return(_=Le)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return O;const k=$e(t),W=La(k),D=(s=r.serializer)!=null?s:Ma[W],{pause:p,resume:y}=Sa(O,()=>T(O.value),{flush:i,deep:o,eventFilter:m});h&&l&&Kr(()=>{xt(h,"storage",$),xt(h,Ks,M),S&&$()}),S||$();function I(_,N){h&&h.dispatchEvent(new CustomEvent(Ks,{detail:{key:e,oldValue:_,newValue:N,storageArea:n}}))}function T(_){try{const N=n.getItem(e);if(_==null)I(N,null),n.removeItem(e);else{const x=D.write(_);N!==x&&(n.setItem(e,x),I(N,x))}}catch(N){v(N)}}function F(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&k!=null&&n.setItem(e,D.write(k)),k;if(!_&&u){const x=D.read(N);return typeof u=="function"?u(x,k):W==="object"&&!Array.isArray(x)?{...k,...x}:x}else return typeof N!="string"?N:D.read(N)}function $(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){O.value=k;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==D.write(O.value)&&(O.value=F(_))}catch(N){v(N)}finally{_?Pn(y):y()}}}}function M(_){$(_.detail)}return O}function Co(e){return wo("(prefers-color-scheme: dark)",e)}function Ia(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Le,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=Co({window:s}),v=ie(()=>m.value?"dark":"light"),S=c||(o==null?_o(r):Wr(o,r,i,{window:s,listenToStorageChanges:l})),O=ie(()=>S.value==="auto"?v.value:S.value),k=Eo("updateHTMLAttrs",(y,I,T)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):vo(y);if(!F)return;let $;if(f&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),I==="class"){const M=T.split(/\s/g);Object.values(h).flatMap(_=>(_||"").split(/\s/g)).filter(Boolean).forEach(_=>{M.includes(_)?F.classList.add(_):F.classList.remove(_)})}else F.setAttribute(I,T);f&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var I;k(t,n,(I=h[y])!=null?I:y)}function D(y){e.onChanged?e.onChanged(y,W):W(y)}Fe(O,D,{flush:"post",immediate:!0}),Kr(()=>D(O.value));const p=ie({get(){return u?S.value:O.value},set(y){S.value=y}});try{return Object.assign(p,{store:S,system:v,state:O})}catch{return p}}function Pa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Le}=e,s=Ia({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>s.system?s.system.value:Co({window:r}).value?"dark":"light");return ie({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?s.value="auto":s.value=c}})}function tr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Fu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.localStorage,n)}function So(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const nr=new WeakMap;function $u(e,t=!1){const n=oe(t);let r=null,s="";Fe(_o(e),l=>{const c=tr($e(l));if(c){const u=c;if(nr.get(u)||nr.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=tr($e(e));!l||n.value||(ks&&(r=xt(l,"touchmove",c=>{Na(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=tr($e(e));!l||!n.value||(ks&&(r==null||r()),l.style.overflow=s,nr.delete(l),n.value=!1)};return kr(o),ie({get(){return n.value},set(l){l?i():o()}})}function Hu(e,t,n={}){const{window:r=Le}=n;return Wr(e,t,r==null?void 0:r.sessionStorage,n)}function ju(e={}){const{window:t=Le,behavior:n="auto"}=e;if(!t)return{x:oe(0),y:oe(0)};const r=oe(t.scrollX),s=oe(t.scrollY),i=ie({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return xt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function Vu(e={}){const{window:t=Le,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:i=!0}=e,o=oe(n),l=oe(r),c=()=>{t&&(i?(o.value=t.innerWidth,l.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),xt("resize",c,{passive:!0}),s){const u=wo("(orientation: portrait)");Fe(u,()=>c())}return{width:o,height:l}}var rr={BASE_URL:"/eslint-plugin-lodash-template/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},sr={};const xo=/^(?:[a-z]+:|\/\/)/i,Fa="vitepress-theme-appearance",$a=/#.*$/,Ha=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,he=typeof document<"u",To={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Ws(`/${e}`),n)return new RegExp(t).test(e);if(Ws(t)!==e)return!1;const r=t.match($a);return r?(he?location.hash:"")===r[0]:!0}function Ws(e){return decodeURI(e).replace(Ha,"").replace(ja,"$1")}function Da(e){return xo.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Da(n)&&Va(t,`/${n}/`,!0))||"root"}function Ba(e,t){var r,s,i,o,l,c,u;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ro(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ao(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=ka(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function ka(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([i,o])=>i===n&&o[s[0]]===s[1])}function Ro(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const Wa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,qa=/^[a-z]:/i;function qs(e){const t=qa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Wa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ir=new Set;function Ga(e){if(ir.size===0){const n=typeof process=="object"&&(sr==null?void 0:sr.VITE_EXTRA_EXTENSIONS)||(rr==null?void 0:rr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>ir.add(r))}const t=e.split(".").pop();return t==null||!ir.has(t.toLowerCase())}function Du(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Xa=Symbol(),ft=Fr(ma);function Uu(e){const t=ie(()=>Ba(ft.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?oe(!0):n?Pa({storageKey:Fa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):oe(!1),s=oe(he?location.hash:"");return he&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Fe(()=>e.data,()=>{s.value=he?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Ao(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:r,hash:ie(()=>s.value)}}function Ya(){const e=Ct(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function za(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Gs(e){return xo.test(e)||!e.startsWith("/")?e:za(ft.value.base,e)}function Ja(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),he){const n="/eslint-plugin-lodash-template/";t=qs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${qs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let mn=[];function Bu(e){mn.push(e),Hn(()=>{mn=mn.filter(t=>t!==e)})}function Qa(){let e=ft.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=Xs(e,n);else if(Array.isArray(e))for(const r of e){const s=Xs(r,n);if(s){t=s;break}}return t}function Xs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Za=Symbol(),Oo="http://a.com",eu=()=>({path:"/",component:null,data:To});function ku(e,t){const n=Mn(eu()),r={route:n,go:s};async function s(l=he?location.href:"/"){var c,u;l=or(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(he&&l!==or(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let i=null;async function o(l,c=0,u=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Oo),h=i=f.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:S,__pageData:O}=v;if(!S)throw new Error(`Invalid route component: ${S}`);n.path=he?h:Gs(h),n.component=hn(S),n.data=hn(O),he&&Pn(()=>{let k=ft.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ft.value.cleanUrls&&!k.endsWith("/")&&(k+=".html"),k!==f.pathname&&(f.pathname=k,l=k+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(D){console.warn(D)}if(W){Ys(W,f.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const S=await fetch(ft.value.base+"hashmap.json");window.__VP_HASH_MAP__=await S.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=he?h:Gs(h),n.component=t?hn(t):null;const S=he?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...To,relativePath:S}}}}return he&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:m,hash:v,search:S}=new URL(u,c.baseURI),O=new URL(location.href);h===O.origin&&Ga(m)&&(l.preventDefault(),m===O.pathname&&S===O.search?(v!==O.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:O.href,newURL:f}))),v?Ys(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(or(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function tu(){const e=Ct(Za);if(!e)throw new Error("useRouter() is called without provider.");return e}function Lo(){return tu().route}function Ys(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(r).paddingTop,10),o=window.scrollY+r.getBoundingClientRect().top-Qa()+i;requestAnimationFrame(s)}}function or(e){const t=new URL(e,Oo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ft.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const lr=()=>mn.forEach(e=>e()),Ku=Hr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Lo(),{site:n}=Ya();return()=>Er(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Er(t.component,{onVnodeMounted:lr,onVnodeUpdated:lr,onVnodeUnmounted:lr}):"404 Page Not Found"])}}),Wu=Hr({setup(e,{slots:t}){const n=oe(!1);return Tt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function qu(){he&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const i=r.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[s];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Gu(){if(he){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,i=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";o&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),nu(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function nu(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function Xu(e,t){let n=!0,r=[];const s=i=>{if(n){n=!1,i.forEach(l=>{const c=cr(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const o=i.map(cr);r.forEach((l,c)=>{const u=o.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete r[c])}),o.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...o].filter(Boolean)};Ur(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=Ao(o,i);u!==document.title&&(document.title=u);const f=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):cr(["meta",{name:"description",content:f}]),s(Ro(o.head,su(c)))})}function cr([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function ru(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function su(e){return e.filter(t=>!ru(t))}const ar=new Set,Mo=()=>document.createElement("link"),iu=e=>{const t=Mo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},ou=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let un;const lu=he&&(un=Mo())&&un.relList&&un.relList.supports&&un.relList.supports("prefetch")?iu:ou;function Yu(){if(!he||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!ar.has(c)){ar.add(c);const u=Ja(c);u&&lu(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):ar.add(l))})})};Tt(r);const s=Lo();Fe(()=>s.path,r),Hn(()=>{n&&n.disconnect()})}export{_u as $,wu as A,Vl as B,Qa as C,pu as D,mu as E,_e as F,Fr as G,Bu as H,le as I,gu as J,xo as K,Lo as L,Rc as M,Ct as N,Vu as O,Rn as P,Nu as Q,Pn as R,ju as S,uo as T,he as U,In as V,hu as W,Mu as X,$u as Y,Zl as Z,Lu as _,oo as a,Au as a0,Mi as a1,Tu as a2,bu as a3,fu as a4,cu as a5,Ac as a6,Ru as a7,Er as a8,Cu as a9,Du as aA,Xu as aa,Za as ab,Uu as ac,Xa as ad,Ku as ae,Wu as af,ft as ag,Ou as ah,ku as ai,Ja as aj,Yu as ak,Gu as al,qu as am,vo as an,kr as ao,Pu as ap,Hu as aq,Fu as ar,Iu as as,tu as at,xt as au,du as av,xu as aw,de as ax,vu as ay,hn as az,ro as b,Eu as c,Hr as d,Su as e,Ga as f,Gs as g,ie as h,Da as i,io as j,vi as k,uu as l,Va as m,On as n,to as o,au as p,wo as q,yu as r,oe as s,qo as t,Ya as u,Fe as v,xi as w,Ur as x,Tt as y,Hn as z}; diff --git a/assets/chunks/theme.Cply-KWe.js b/assets/chunks/theme.Cply-KWe.js new file mode 100644 index 00000000..93b33205 --- /dev/null +++ b/assets/chunks/theme.Cply-KWe.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.zwZV4aVo.js","assets/chunks/framework.CPdKJSF1.js"])))=>i.map(i=>d[i]); +import{d as k,o as c,c as h,r as u,n as B,a as de,t as O,b as S,w as m,e as w,T as wt,_ as A,u as Xo,i as Jo,f as Qo,g as kt,h as V,j as v,k as d,p as F,l as R,m as Pe,q as pt,s as H,v as ue,x as Je,y as Te,z as Pt,A as St,B as Zo,C as en,D as X,F as E,E as W,G as so,H as Qe,I as T,J as te,K as io,L as Ze,M as oe,N as et,O as tn,P as Ne,Q as ht,R as ao,S as ro,U as tt,V as on,W as nn,X as sn,Y as lo,Z as co,$ as an,a0 as uo,a1 as rn,a2 as ln,a3 as cn,a4 as dn,a5 as un,a6 as pn,a7 as hn,a8 as fn}from"./framework.CPdKJSF1.js";const vn=k({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,o)=>(c(),h("span",{class:B(["VPBadge",t.type])},[u(t.$slots,"default",{},()=>[de(O(t.text),1)])],2))}}),mn={key:0,class:"VPBackdrop"},_n=k({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,o)=>(c(),S(wt,{name:"fade"},{default:m(()=>[t.show?(c(),h("div",mn)):w("",!0)]),_:1}))}}),gn=A(_n,[["__scopeId","data-v-c79a1216"]]),N=Xo;function yn(e,t){let o,n=!1;return()=>{o&&clearTimeout(o),n?o=setTimeout(e,t):(e(),(n=!0)&&setTimeout(()=>n=!1,t))}}function ft(e){return/^\//.test(e)?e:`/${e}`}function Tt(e){const{pathname:t,search:o,hash:n,protocol:s}=new URL(e,"http://a.com");if(Jo(e)||e.startsWith("#")||!s.startsWith("http")||!Qo(t))return e;const{site:i}=N(),a=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${o}${n}`);return kt(a)}function ze({correspondingLink:e=!1}={}){const{site:t,localeIndex:o,page:n,theme:s,hash:i}=N(),a=V(()=>{var l,p;return{label:(l=t.value.locales[o.value])==null?void 0:l.label,link:((p=t.value.locales[o.value])==null?void 0:p.link)||(o.value==="root"?"/":`/${o.value}/`)}});return{localeLinks:V(()=>Object.entries(t.value.locales).flatMap(([l,p])=>a.value.label===p.label?[]:{text:p.label,link:$n(p.link||(l==="root"?"/":`/${l}/`),s.value.i18nRouting!==!1&&e,n.value.relativePath.slice(a.value.link.length-1),!t.value.cleanUrls)+i.value})),currentLang:a}}function $n(e,t,o,n){return t?e.replace(/\/$/,"")+ft(o.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const bn=e=>(F("data-v-d6be1790"),e=e(),R(),e),wn={class:"NotFound"},kn={class:"code"},Pn={class:"title"},Sn=bn(()=>v("div",{class:"divider"},null,-1)),Tn={class:"quote"},Ln={class:"action"},An=["href","aria-label"],Vn=k({__name:"NotFound",setup(e){const{theme:t}=N(),{currentLang:o}=ze();return(n,s)=>{var i,a,r,l,p;return c(),h("div",wn,[v("p",kn,O(((i=d(t).notFound)==null?void 0:i.code)??"404"),1),v("h1",Pn,O(((a=d(t).notFound)==null?void 0:a.title)??"PAGE NOT FOUND"),1),Sn,v("blockquote",Tn,O(((r=d(t).notFound)==null?void 0:r.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",Ln,[v("a",{class:"link",href:d(kt)(d(o).link),"aria-label":((l=d(t).notFound)==null?void 0:l.linkLabel)??"go to home"},O(((p=d(t).notFound)==null?void 0:p.linkText)??"Take me home"),9,An)])])}}}),Cn=A(Vn,[["__scopeId","data-v-d6be1790"]]);function po(e,t){if(Array.isArray(e))return je(e);if(e==null)return[];t=ft(t);const o=Object.keys(e).sort((s,i)=>i.split("/").length-s.split("/").length).find(s=>t.startsWith(ft(s))),n=o?e[o]:[];return Array.isArray(n)?je(n):je(n.items,n.base)}function Nn(e){const t=[];let o=0;for(const n in e){const s=e[n];if(s.items){o=t.push(s);continue}t[o]||t.push({items:[]}),t[o].items.push(s)}return t}function xn(e){const t=[];function o(n){for(const s of n)s.text&&s.link&&t.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&o(s.items)}return o(e),t}function vt(e,t){return Array.isArray(t)?t.some(o=>vt(e,o)):Pe(e,t.link)?!0:t.items?vt(e,t.items):!1}function je(e,t){return[...e].map(o=>{const n={...o},s=n.base||t;return s&&n.link&&(n.link=s+n.link),n.items&&(n.items=je(n.items,s)),n})}function pe(){const{frontmatter:e,page:t,theme:o}=N(),n=pt("(min-width: 960px)"),s=H(!1),i=V(()=>{const P=o.value.sidebar,b=t.value.relativePath;return P?po(P,b):[]}),a=H(i.value);ue(i,(P,b)=>{JSON.stringify(P)!==JSON.stringify(b)&&(a.value=i.value)});const r=V(()=>e.value.sidebar!==!1&&a.value.length>0&&e.value.layout!=="home"),l=V(()=>p?e.value.aside==null?o.value.aside==="left":e.value.aside==="left":!1),p=V(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:o.value.aside!==!1),y=V(()=>r.value&&n.value),f=V(()=>r.value?Nn(a.value):[]);function _(){s.value=!0}function g(){s.value=!1}function $(){s.value?g():_()}return{isOpen:s,sidebar:a,sidebarGroups:f,hasSidebar:r,hasAside:p,leftAside:l,isSidebarEnabled:y,open:_,close:g,toggle:$}}function Mn(e,t){let o;Je(()=>{o=e.value?document.activeElement:void 0}),Te(()=>{window.addEventListener("keyup",n)}),Pt(()=>{window.removeEventListener("keyup",n)});function n(s){s.key==="Escape"&&e.value&&(t(),o==null||o.focus())}}function Hn(e){const{page:t,hash:o}=N(),n=H(!1),s=V(()=>e.value.collapsed!=null),i=V(()=>!!e.value.link),a=H(!1),r=()=>{a.value=Pe(t.value.relativePath,e.value.link)};ue([t,e,o],r),Te(r);const l=V(()=>a.value?!0:e.value.items?vt(t.value.relativePath,e.value.items):!1),p=V(()=>!!(e.value.items&&e.value.items.length));Je(()=>{n.value=!!(s.value&&e.value.collapsed)}),St(()=>{(a.value||l.value)&&(n.value=!1)});function y(){s.value&&(n.value=!n.value)}return{collapsed:n,collapsible:s,isLink:i,isActiveLink:a,hasActiveLink:l,hasChildren:p,toggle:y}}function On(){const{hasSidebar:e}=pe(),t=pt("(min-width: 960px)"),o=pt("(min-width: 1280px)");return{isAsideEnabled:V(()=>!o.value&&!t.value?!1:e.value?o.value:t.value)}}const mt=[];function ho(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Lt(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(o=>o.id&&o.hasChildNodes()).map(o=>{const n=Number(o.tagName[1]);return{element:o,title:Bn(o),link:"#"+o.id,level:n}});return In(t,e)}function Bn(e){let t="";for(const o of e.childNodes)if(o.nodeType===1){if(o.classList.contains("VPBadge")||o.classList.contains("header-anchor")||o.classList.contains("ignore-header"))continue;t+=o.textContent}else o.nodeType===3&&(t+=o.textContent);return t.trim()}function In(e,t){if(t===!1)return[];const o=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[n,s]=typeof o=="number"?[o,o]:o==="deep"?[2,6]:o;e=e.filter(a=>a.level>=n&&a.level<=s),mt.length=0;for(const{element:a,link:r}of e)mt.push({element:a,link:r});const i=[];e:for(let a=0;a=0;l--){const p=e[l];if(p.level{requestAnimationFrame(i),window.addEventListener("scroll",n)}),Zo(()=>{a(location.hash)}),Pt(()=>{window.removeEventListener("scroll",n)});function i(){if(!o.value)return;const r=window.scrollY,l=window.innerHeight,p=document.body.offsetHeight,y=Math.abs(r+l-p)<1,f=mt.map(({element:g,link:$})=>({link:$,top:Dn(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,$)=>g.top-$.top);if(!f.length){a(null);return}if(r<1){a(null);return}if(y){a(f[f.length-1].link);return}let _=null;for(const{link:g,top:$}of f){if($>r+en()+4)break;_=g}a(_)}function a(r){s&&s.classList.remove("active"),r==null?s=null:s=e.value.querySelector(`a[href="${decodeURIComponent(r)}"]`);const l=s;l?(l.classList.add("active"),t.value.style.top=l.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function Dn(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}const zn=["href","title"],Fn=k({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function t({target:o}){const n=o.href.split("#")[1],s=document.getElementById(decodeURIComponent(n));s==null||s.focus({preventScroll:!0})}return(o,n)=>{const s=X("VPDocOutlineItem",!0);return c(),h("ul",{class:B(["VPDocOutlineItem",o.root?"root":"nested"])},[(c(!0),h(E,null,W(o.headers,({children:i,link:a,title:r})=>(c(),h("li",null,[v("a",{class:"outline-link",href:a,onClick:t,title:r},O(r),9,zn),i!=null&&i.length?(c(),S(s,{key:0,headers:i},null,8,["headers"])):w("",!0)]))),256))],2)}}}),fo=A(Fn,[["__scopeId","data-v-b933a997"]]),Rn={class:"content"},jn={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Wn=k({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:o}=N(),n=so([]);Qe(()=>{n.value=Lt(t.value.outline??o.value.outline)});const s=H(),i=H();return En(s,i),(a,r)=>(c(),h("nav",{"aria-labelledby":"doc-outline-aria-label",class:B(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:s},[v("div",Rn,[v("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),v("div",jn,O(d(ho)(d(o))),1),T(fo,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),Gn=A(Wn,[["__scopeId","data-v-a5bbad30"]]),Un={class:"VPDocAsideCarbonAds"},qn=k({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(o,n)=>(c(),h("div",Un,[T(d(t),{"carbon-ads":o.carbonAds},null,8,["carbon-ads"])]))}}),Kn=e=>(F("data-v-3f215769"),e=e(),R(),e),Yn={class:"VPDocAside"},Xn=Kn(()=>v("div",{class:"spacer"},null,-1)),Jn=k({__name:"VPDocAside",setup(e){const{theme:t}=N();return(o,n)=>(c(),h("div",Yn,[u(o.$slots,"aside-top",{},void 0,!0),u(o.$slots,"aside-outline-before",{},void 0,!0),T(Gn),u(o.$slots,"aside-outline-after",{},void 0,!0),Xn,u(o.$slots,"aside-ads-before",{},void 0,!0),d(t).carbonAds?(c(),S(qn,{key:0,"carbon-ads":d(t).carbonAds},null,8,["carbon-ads"])):w("",!0),u(o.$slots,"aside-ads-after",{},void 0,!0),u(o.$slots,"aside-bottom",{},void 0,!0)]))}}),Qn=A(Jn,[["__scopeId","data-v-3f215769"]]);function Zn(){const{theme:e,page:t}=N();return V(()=>{const{text:o="Edit this page",pattern:n=""}=e.value.editLink||{};let s;return typeof n=="function"?s=n(t.value):s=n.replace(/:path/g,t.value.filePath),{url:s,text:o}})}function es(){const{page:e,theme:t,frontmatter:o}=N();return V(()=>{var p,y,f,_,g,$,P,b;const n=po(t.value.sidebar,e.value.relativePath),s=xn(n),i=ts(s,L=>L.link.replace(/[?#].*$/,"")),a=i.findIndex(L=>Pe(e.value.relativePath,L.link)),r=((p=t.value.docFooter)==null?void 0:p.prev)===!1&&!o.value.prev||o.value.prev===!1,l=((y=t.value.docFooter)==null?void 0:y.next)===!1&&!o.value.next||o.value.next===!1;return{prev:r?void 0:{text:(typeof o.value.prev=="string"?o.value.prev:typeof o.value.prev=="object"?o.value.prev.text:void 0)??((f=i[a-1])==null?void 0:f.docFooterText)??((_=i[a-1])==null?void 0:_.text),link:(typeof o.value.prev=="object"?o.value.prev.link:void 0)??((g=i[a-1])==null?void 0:g.link)},next:l?void 0:{text:(typeof o.value.next=="string"?o.value.next:typeof o.value.next=="object"?o.value.next.text:void 0)??(($=i[a+1])==null?void 0:$.docFooterText)??((P=i[a+1])==null?void 0:P.text),link:(typeof o.value.next=="object"?o.value.next.link:void 0)??((b=i[a+1])==null?void 0:b.link)}}})}function ts(e,t){const o=new Set;return e.filter(n=>{const s=t(n);return o.has(s)?!1:o.add(s)})}const ne=k({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,o=V(()=>t.tag??(t.href?"a":"span")),n=V(()=>t.href&&io.test(t.href)||t.target==="_blank");return(s,i)=>(c(),S(te(o.value),{class:B(["VPLink",{link:s.href,"vp-external-link-icon":n.value,"no-icon":s.noIcon}]),href:s.href?d(Tt)(s.href):void 0,target:s.target??(n.value?"_blank":void 0),rel:s.rel??(n.value?"noreferrer":void 0)},{default:m(()=>[u(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),os={class:"VPLastUpdated"},ns=["datetime"],ss=k({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:o,lang:n}=N(),s=V(()=>new Date(o.value.lastUpdated)),i=V(()=>s.value.toISOString()),a=H("");return Te(()=>{Je(()=>{var r,l,p;a.value=new Intl.DateTimeFormat((l=(r=t.value.lastUpdated)==null?void 0:r.formatOptions)!=null&&l.forceLocale?n.value:void 0,((p=t.value.lastUpdated)==null?void 0:p.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(s.value)})}),(r,l)=>{var p;return c(),h("p",os,[de(O(((p=d(t).lastUpdated)==null?void 0:p.text)||d(t).lastUpdatedText||"Last updated")+": ",1),v("time",{datetime:i.value},O(a.value),9,ns)])}}}),is=A(ss,[["__scopeId","data-v-e98dd255"]]),vo=e=>(F("data-v-e257564d"),e=e(),R(),e),as={key:0,class:"VPDocFooter"},rs={key:0,class:"edit-info"},ls={key:0,class:"edit-link"},cs=vo(()=>v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),ds={key:1,class:"last-updated"},us={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},ps=vo(()=>v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),hs={class:"pager"},fs=["innerHTML"],vs=["innerHTML"],ms={class:"pager"},_s=["innerHTML"],gs=["innerHTML"],ys=k({__name:"VPDocFooter",setup(e){const{theme:t,page:o,frontmatter:n}=N(),s=Zn(),i=es(),a=V(()=>t.value.editLink&&n.value.editLink!==!1),r=V(()=>o.value.lastUpdated),l=V(()=>a.value||r.value||i.value.prev||i.value.next);return(p,y)=>{var f,_,g,$;return l.value?(c(),h("footer",as,[u(p.$slots,"doc-footer-before",{},void 0,!0),a.value||r.value?(c(),h("div",rs,[a.value?(c(),h("div",ls,[T(ne,{class:"edit-link-button",href:d(s).url,"no-icon":!0},{default:m(()=>[cs,de(" "+O(d(s).text),1)]),_:1},8,["href"])])):w("",!0),r.value?(c(),h("div",ds,[T(is)])):w("",!0)])):w("",!0),(f=d(i).prev)!=null&&f.link||(_=d(i).next)!=null&&_.link?(c(),h("nav",us,[ps,v("div",hs,[(g=d(i).prev)!=null&&g.link?(c(),S(ne,{key:0,class:"pager-link prev",href:d(i).prev.link},{default:m(()=>{var P;return[v("span",{class:"desc",innerHTML:((P=d(t).docFooter)==null?void 0:P.prev)||"Previous page"},null,8,fs),v("span",{class:"title",innerHTML:d(i).prev.text},null,8,vs)]}),_:1},8,["href"])):w("",!0)]),v("div",ms,[($=d(i).next)!=null&&$.link?(c(),S(ne,{key:0,class:"pager-link next",href:d(i).next.link},{default:m(()=>{var P;return[v("span",{class:"desc",innerHTML:((P=d(t).docFooter)==null?void 0:P.next)||"Next page"},null,8,_s),v("span",{class:"title",innerHTML:d(i).next.text},null,8,gs)]}),_:1},8,["href"])):w("",!0)])])):w("",!0)])):w("",!0)}}}),$s=A(ys,[["__scopeId","data-v-e257564d"]]),bs=e=>(F("data-v-39a288b8"),e=e(),R(),e),ws={class:"container"},ks=bs(()=>v("div",{class:"aside-curtain"},null,-1)),Ps={class:"aside-container"},Ss={class:"aside-content"},Ts={class:"content"},Ls={class:"content-container"},As={class:"main"},Vs=k({__name:"VPDoc",setup(e){const{theme:t}=N(),o=Ze(),{hasSidebar:n,hasAside:s,leftAside:i}=pe(),a=V(()=>o.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(r,l)=>{const p=X("Content");return c(),h("div",{class:B(["VPDoc",{"has-sidebar":d(n),"has-aside":d(s)}])},[u(r.$slots,"doc-top",{},void 0,!0),v("div",ws,[d(s)?(c(),h("div",{key:0,class:B(["aside",{"left-aside":d(i)}])},[ks,v("div",Ps,[v("div",Ss,[T(Qn,null,{"aside-top":m(()=>[u(r.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":m(()=>[u(r.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":m(()=>[u(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[u(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[u(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[u(r.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):w("",!0),v("div",Ts,[v("div",Ls,[u(r.$slots,"doc-before",{},void 0,!0),v("main",As,[T(p,{class:B(["vp-doc",[a.value,d(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),T($s,null,{"doc-footer-before":m(()=>[u(r.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(r.$slots,"doc-after",{},void 0,!0)])])]),u(r.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Cs=A(Vs,[["__scopeId","data-v-39a288b8"]]),Ns=k({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,o=V(()=>t.href&&io.test(t.href)),n=V(()=>t.tag||t.href?"a":"button");return(s,i)=>(c(),S(te(n.value),{class:B(["VPButton",[s.size,s.theme]]),href:s.href?d(Tt)(s.href):void 0,target:t.target??(o.value?"_blank":void 0),rel:t.rel??(o.value?"noreferrer":void 0)},{default:m(()=>[de(O(s.text),1)]),_:1},8,["class","href","target","rel"]))}}),xs=A(Ns,[["__scopeId","data-v-cad61b99"]]),Ms=["src","alt"],Hs=k({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,o)=>{const n=X("VPImage",!0);return t.image?(c(),h(E,{key:0},[typeof t.image=="string"||"src"in t.image?(c(),h("img",oe({key:0,class:"VPImage"},typeof t.image=="string"?t.$attrs:{...t.image,...t.$attrs},{src:d(kt)(typeof t.image=="string"?t.image:t.image.src),alt:t.alt??(typeof t.image=="string"?"":t.image.alt||"")}),null,16,Ms)):(c(),h(E,{key:1},[T(n,oe({class:"dark",image:t.image.dark,alt:t.image.alt},t.$attrs),null,16,["image","alt"]),T(n,oe({class:"light",image:t.image.light,alt:t.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):w("",!0)}}}),Ge=A(Hs,[["__scopeId","data-v-8426fc1a"]]),Os=e=>(F("data-v-303bb580"),e=e(),R(),e),Bs={class:"container"},Is={class:"main"},Es={key:0,class:"name"},Ds=["innerHTML"],zs=["innerHTML"],Fs=["innerHTML"],Rs={key:0,class:"actions"},js={key:0,class:"image"},Ws={class:"image-container"},Gs=Os(()=>v("div",{class:"image-bg"},null,-1)),Us=k({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=et("hero-image-slot-exists");return(o,n)=>(c(),h("div",{class:B(["VPHero",{"has-image":o.image||d(t)}])},[v("div",Bs,[v("div",Is,[u(o.$slots,"home-hero-info-before",{},void 0,!0),u(o.$slots,"home-hero-info",{},()=>[o.name?(c(),h("h1",Es,[v("span",{innerHTML:o.name,class:"clip"},null,8,Ds)])):w("",!0),o.text?(c(),h("p",{key:1,innerHTML:o.text,class:"text"},null,8,zs)):w("",!0),o.tagline?(c(),h("p",{key:2,innerHTML:o.tagline,class:"tagline"},null,8,Fs)):w("",!0)],!0),u(o.$slots,"home-hero-info-after",{},void 0,!0),o.actions?(c(),h("div",Rs,[(c(!0),h(E,null,W(o.actions,s=>(c(),h("div",{key:s.link,class:"action"},[T(xs,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):w("",!0),u(o.$slots,"home-hero-actions-after",{},void 0,!0)]),o.image||d(t)?(c(),h("div",js,[v("div",Ws,[Gs,u(o.$slots,"home-hero-image",{},()=>[o.image?(c(),S(Ge,{key:0,class:"image-src",image:o.image},null,8,["image"])):w("",!0)],!0)])])):w("",!0)])],2))}}),qs=A(Us,[["__scopeId","data-v-303bb580"]]),Ks=k({__name:"VPHomeHero",setup(e){const{frontmatter:t}=N();return(o,n)=>d(t).hero?(c(),S(qs,{key:0,class:"VPHomeHero",name:d(t).hero.name,text:d(t).hero.text,tagline:d(t).hero.tagline,image:d(t).hero.image,actions:d(t).hero.actions},{"home-hero-info-before":m(()=>[u(o.$slots,"home-hero-info-before")]),"home-hero-info":m(()=>[u(o.$slots,"home-hero-info")]),"home-hero-info-after":m(()=>[u(o.$slots,"home-hero-info-after")]),"home-hero-actions-after":m(()=>[u(o.$slots,"home-hero-actions-after")]),"home-hero-image":m(()=>[u(o.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):w("",!0)}}),Ys=e=>(F("data-v-a3976bdc"),e=e(),R(),e),Xs={class:"box"},Js={key:0,class:"icon"},Qs=["innerHTML"],Zs=["innerHTML"],ei=["innerHTML"],ti={key:4,class:"link-text"},oi={class:"link-text-value"},ni=Ys(()=>v("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),si=k({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,o)=>(c(),S(ne,{class:"VPFeature",href:t.link,rel:t.rel,target:t.target,"no-icon":!0,tag:t.link?"a":"div"},{default:m(()=>[v("article",Xs,[typeof t.icon=="object"&&t.icon.wrap?(c(),h("div",Js,[T(Ge,{image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])])):typeof t.icon=="object"?(c(),S(Ge,{key:1,image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])):t.icon?(c(),h("div",{key:2,class:"icon",innerHTML:t.icon},null,8,Qs)):w("",!0),v("h2",{class:"title",innerHTML:t.title},null,8,Zs),t.details?(c(),h("p",{key:3,class:"details",innerHTML:t.details},null,8,ei)):w("",!0),t.linkText?(c(),h("div",ti,[v("p",oi,[de(O(t.linkText)+" ",1),ni])])):w("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ii=A(si,[["__scopeId","data-v-a3976bdc"]]),ai={key:0,class:"VPFeatures"},ri={class:"container"},li={class:"items"},ci=k({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,o=V(()=>{const n=t.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,s)=>n.features?(c(),h("div",ai,[v("div",ri,[v("div",li,[(c(!0),h(E,null,W(n.features,i=>(c(),h("div",{key:i.title,class:B(["item",[o.value]])},[T(ii,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):w("",!0)}}),di=A(ci,[["__scopeId","data-v-a6181336"]]),ui=k({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=N();return(o,n)=>d(t).features?(c(),S(di,{key:0,class:"VPHomeFeatures",features:d(t).features},null,8,["features"])):w("",!0)}}),pi=k({__name:"VPHomeContent",setup(e){const{width:t}=tn({initialWidth:0,includeScrollbar:!1});return(o,n)=>(c(),h("div",{class:"vp-doc container",style:Ne(d(t)?{"--vp-offset":`calc(50% - ${d(t)/2}px)`}:{})},[u(o.$slots,"default",{},void 0,!0)],4))}}),hi=A(pi,[["__scopeId","data-v-8e2d4988"]]),fi={class:"VPHome"},vi=k({__name:"VPHome",setup(e){const{frontmatter:t}=N();return(o,n)=>{const s=X("Content");return c(),h("div",fi,[u(o.$slots,"home-hero-before",{},void 0,!0),T(Ks,null,{"home-hero-info-before":m(()=>[u(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[u(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[u(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(o.$slots,"home-hero-after",{},void 0,!0),u(o.$slots,"home-features-before",{},void 0,!0),T(ui),u(o.$slots,"home-features-after",{},void 0,!0),d(t).markdownStyles!==!1?(c(),S(hi,{key:0},{default:m(()=>[T(s)]),_:1})):(c(),S(s,{key:1}))])}}}),mi=A(vi,[["__scopeId","data-v-686f80a6"]]),_i={},gi={class:"VPPage"};function yi(e,t){const o=X("Content");return c(),h("div",gi,[u(e.$slots,"page-top"),T(o),u(e.$slots,"page-bottom")])}const $i=A(_i,[["render",yi]]),bi=k({__name:"VPContent",setup(e){const{page:t,frontmatter:o}=N(),{hasSidebar:n}=pe();return(s,i)=>(c(),h("div",{class:B(["VPContent",{"has-sidebar":d(n),"is-home":d(o).layout==="home"}]),id:"VPContent"},[d(t).isNotFound?u(s.$slots,"not-found",{key:0},()=>[T(Cn)],!0):d(o).layout==="page"?(c(),S($i,{key:1},{"page-top":m(()=>[u(s.$slots,"page-top",{},void 0,!0)]),"page-bottom":m(()=>[u(s.$slots,"page-bottom",{},void 0,!0)]),_:3})):d(o).layout==="home"?(c(),S(mi,{key:2},{"home-hero-before":m(()=>[u(s.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":m(()=>[u(s.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[u(s.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[u(s.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[u(s.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[u(s.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":m(()=>[u(s.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":m(()=>[u(s.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":m(()=>[u(s.$slots,"home-features-after",{},void 0,!0)]),_:3})):d(o).layout&&d(o).layout!=="doc"?(c(),S(te(d(o).layout),{key:3})):(c(),S(Cs,{key:4},{"doc-top":m(()=>[u(s.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":m(()=>[u(s.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":m(()=>[u(s.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":m(()=>[u(s.$slots,"doc-before",{},void 0,!0)]),"doc-after":m(()=>[u(s.$slots,"doc-after",{},void 0,!0)]),"aside-top":m(()=>[u(s.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":m(()=>[u(s.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[u(s.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[u(s.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[u(s.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":m(()=>[u(s.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),wi=A(bi,[["__scopeId","data-v-1428d186"]]),ki={class:"container"},Pi=["innerHTML"],Si=["innerHTML"],Ti=k({__name:"VPFooter",setup(e){const{theme:t,frontmatter:o}=N(),{hasSidebar:n}=pe();return(s,i)=>d(t).footer&&d(o).footer!==!1?(c(),h("footer",{key:0,class:B(["VPFooter",{"has-sidebar":d(n)}])},[v("div",ki,[d(t).footer.message?(c(),h("p",{key:0,class:"message",innerHTML:d(t).footer.message},null,8,Pi)):w("",!0),d(t).footer.copyright?(c(),h("p",{key:1,class:"copyright",innerHTML:d(t).footer.copyright},null,8,Si)):w("",!0)])],2)):w("",!0)}}),Li=A(Ti,[["__scopeId","data-v-e315a0ad"]]);function Ai(){const{theme:e,frontmatter:t}=N(),o=so([]),n=V(()=>o.value.length>0);return Qe(()=>{o.value=Lt(t.value.outline??e.value.outline)}),{headers:o,hasLocalNav:n}}const Vi=e=>(F("data-v-17a5e62e"),e=e(),R(),e),Ci={class:"menu-text"},Ni=Vi(()=>v("span",{class:"vpi-chevron-right icon"},null,-1)),xi={class:"header"},Mi={class:"outline"},Hi=k({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:o}=N(),n=H(!1),s=H(0),i=H(),a=H();function r(f){var _;(_=i.value)!=null&&_.contains(f.target)||(n.value=!1)}ue(n,f=>{if(f){document.addEventListener("click",r);return}document.removeEventListener("click",r)}),ht("Escape",()=>{n.value=!1}),Qe(()=>{n.value=!1});function l(){n.value=!n.value,s.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function p(f){f.target.classList.contains("outline-link")&&(a.value&&(a.value.style.transition="none"),ao(()=>{n.value=!1}))}function y(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(f,_)=>(c(),h("div",{class:"VPLocalNavOutlineDropdown",style:Ne({"--vp-vh":s.value+"px"}),ref_key:"main",ref:i},[f.headers.length>0?(c(),h("button",{key:0,onClick:l,class:B({open:n.value})},[v("span",Ci,O(d(ho)(d(o))),1),Ni],2)):(c(),h("button",{key:1,onClick:y},O(d(o).returnToTopLabel||"Return to top"),1)),T(wt,{name:"flyout"},{default:m(()=>[n.value?(c(),h("div",{key:0,ref_key:"items",ref:a,class:"items",onClick:p},[v("div",xi,[v("a",{class:"top-link",href:"#",onClick:y},O(d(o).returnToTopLabel||"Return to top"),1)]),v("div",Mi,[T(fo,{headers:f.headers},null,8,["headers"])])],512)):w("",!0)]),_:1})],4))}}),Oi=A(Hi,[["__scopeId","data-v-17a5e62e"]]),Bi=e=>(F("data-v-a6f0e41e"),e=e(),R(),e),Ii={class:"container"},Ei=["aria-expanded"],Di=Bi(()=>v("span",{class:"vpi-align-left menu-icon"},null,-1)),zi={class:"menu-text"},Fi=k({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:o}=N(),{hasSidebar:n}=pe(),{headers:s}=Ai(),{y:i}=ro(),a=H(0);Te(()=>{a.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Qe(()=>{s.value=Lt(o.value.outline??t.value.outline)});const r=V(()=>s.value.length===0),l=V(()=>r.value&&!n.value),p=V(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:r.value,fixed:l.value}));return(y,f)=>d(o).layout!=="home"&&(!l.value||d(i)>=a.value)?(c(),h("div",{key:0,class:B(p.value)},[v("div",Ii,[d(n)?(c(),h("button",{key:0,class:"menu","aria-expanded":y.open,"aria-controls":"VPSidebarNav",onClick:f[0]||(f[0]=_=>y.$emit("open-menu"))},[Di,v("span",zi,O(d(t).sidebarMenuLabel||"Menu"),1)],8,Ei)):w("",!0),T(Oi,{headers:d(s),navHeight:a.value},null,8,["headers","navHeight"])])],2)):w("",!0)}}),Ri=A(Fi,[["__scopeId","data-v-a6f0e41e"]]);function ji(){const e=H(!1);function t(){e.value=!0,window.addEventListener("resize",s)}function o(){e.value=!1,window.removeEventListener("resize",s)}function n(){e.value?o():t()}function s(){window.outerWidth>=768&&o()}const i=Ze();return ue(()=>i.path,o),{isScreenOpen:e,openScreen:t,closeScreen:o,toggleScreen:n}}const Wi={},Gi={class:"VPSwitch",type:"button",role:"switch"},Ui={class:"check"},qi={key:0,class:"icon"};function Ki(e,t){return c(),h("button",Gi,[v("span",Ui,[e.$slots.default?(c(),h("span",qi,[u(e.$slots,"default",{},void 0,!0)])):w("",!0)])])}const Yi=A(Wi,[["render",Ki],["__scopeId","data-v-1d5665e3"]]),mo=e=>(F("data-v-5337faa4"),e=e(),R(),e),Xi=mo(()=>v("span",{class:"vpi-sun sun"},null,-1)),Ji=mo(()=>v("span",{class:"vpi-moon moon"},null,-1)),Qi=k({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:o}=N(),n=et("toggle-appearance",()=>{t.value=!t.value}),s=H("");return St(()=>{s.value=t.value?o.value.lightModeSwitchTitle||"Switch to light theme":o.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,a)=>(c(),S(Yi,{title:s.value,class:"VPSwitchAppearance","aria-checked":d(t),onClick:d(n)},{default:m(()=>[Xi,Ji]),_:1},8,["title","aria-checked","onClick"]))}}),At=A(Qi,[["__scopeId","data-v-5337faa4"]]),Zi={key:0,class:"VPNavBarAppearance"},ea=k({__name:"VPNavBarAppearance",setup(e){const{site:t}=N();return(o,n)=>d(t).appearance&&d(t).appearance!=="force-dark"&&d(t).appearance!=="force-auto"?(c(),h("div",Zi,[T(At)])):w("",!0)}}),ta=A(ea,[["__scopeId","data-v-6c893767"]]),Vt=H();let _o=!1,lt=0;function oa(e){const t=H(!1);if(tt){!_o&&na(),lt++;const o=ue(Vt,n=>{var s,i,a;n===e.el.value||(s=e.el.value)!=null&&s.contains(n)?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(a=e.onBlur)==null||a.call(e))});Pt(()=>{o(),lt--,lt||sa()})}return on(t)}function na(){document.addEventListener("focusin",go),_o=!0,Vt.value=document.activeElement}function sa(){document.removeEventListener("focusin",go)}function go(){Vt.value=document.activeElement}const ia={class:"VPMenuLink"},aa=k({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=N();return(o,n)=>(c(),h("div",ia,[T(ne,{class:B({active:d(Pe)(d(t).relativePath,o.item.activeMatch||o.item.link,!!o.item.activeMatch)}),href:o.item.link,target:o.item.target,rel:o.item.rel},{default:m(()=>[de(O(o.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ot=A(aa,[["__scopeId","data-v-43f1e123"]]),ra={class:"VPMenuGroup"},la={key:0,class:"title"},ca=k({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,o)=>(c(),h("div",ra,[t.text?(c(),h("p",la,O(t.text),1)):w("",!0),(c(!0),h(E,null,W(t.items,n=>(c(),h(E,null,["link"in n?(c(),S(ot,{key:0,item:n},null,8,["item"])):w("",!0)],64))),256))]))}}),da=A(ca,[["__scopeId","data-v-69e747b5"]]),ua={class:"VPMenu"},pa={key:0,class:"items"},ha=k({__name:"VPMenu",props:{items:{}},setup(e){return(t,o)=>(c(),h("div",ua,[t.items?(c(),h("div",pa,[(c(!0),h(E,null,W(t.items,n=>(c(),h(E,{key:JSON.stringify(n)},["link"in n?(c(),S(ot,{key:0,item:n},null,8,["item"])):"component"in n?(c(),S(te(n.component),oe({key:1,ref_for:!0},n.props),null,16)):(c(),S(da,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):w("",!0),u(t.$slots,"default",{},void 0,!0)]))}}),fa=A(ha,[["__scopeId","data-v-b98bc113"]]),va=e=>(F("data-v-b6c34ac9"),e=e(),R(),e),ma=["aria-expanded","aria-label"],_a={key:0,class:"text"},ga=["innerHTML"],ya=va(()=>v("span",{class:"vpi-chevron-down text-icon"},null,-1)),$a={key:1,class:"vpi-more-horizontal icon"},ba={class:"menu"},wa=k({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=H(!1),o=H();oa({el:o,onBlur:n});function n(){t.value=!1}return(s,i)=>(c(),h("div",{class:"VPFlyout",ref_key:"el",ref:o,onMouseenter:i[1]||(i[1]=a=>t.value=!0),onMouseleave:i[2]||(i[2]=a=>t.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":s.label,onClick:i[0]||(i[0]=a=>t.value=!t.value)},[s.button||s.icon?(c(),h("span",_a,[s.icon?(c(),h("span",{key:0,class:B([s.icon,"option-icon"])},null,2)):w("",!0),s.button?(c(),h("span",{key:1,innerHTML:s.button},null,8,ga)):w("",!0),ya])):(c(),h("span",$a))],8,ma),v("div",ba,[T(fa,{items:s.items},{default:m(()=>[u(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Ct=A(wa,[["__scopeId","data-v-b6c34ac9"]]),ka=["href","aria-label","innerHTML"],Pa=k({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,o=V(()=>typeof t.icon=="object"?t.icon.svg:``);return(n,s)=>(c(),h("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:o.value},null,8,ka))}}),Sa=A(Pa,[["__scopeId","data-v-eee4e7cb"]]),Ta={class:"VPSocialLinks"},La=k({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,o)=>(c(),h("div",Ta,[(c(!0),h(E,null,W(t.links,({link:n,icon:s,ariaLabel:i})=>(c(),S(Sa,{key:n,icon:s,link:n,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),Nt=A(La,[["__scopeId","data-v-7bc22406"]]),Aa={key:0,class:"group translations"},Va={class:"trans-title"},Ca={key:1,class:"group"},Na={class:"item appearance"},xa={class:"label"},Ma={class:"appearance-action"},Ha={key:2,class:"group"},Oa={class:"item social-links"},Ba=k({__name:"VPNavBarExtra",setup(e){const{site:t,theme:o}=N(),{localeLinks:n,currentLang:s}=ze({correspondingLink:!0}),i=V(()=>n.value.length&&s.value.label||t.value.appearance||o.value.socialLinks);return(a,r)=>i.value?(c(),S(Ct,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:m(()=>[d(n).length&&d(s).label?(c(),h("div",Aa,[v("p",Va,O(d(s).label),1),(c(!0),h(E,null,W(d(n),l=>(c(),S(ot,{key:l.link,item:l},null,8,["item"]))),128))])):w("",!0),d(t).appearance&&d(t).appearance!=="force-dark"&&d(t).appearance!=="force-auto"?(c(),h("div",Ca,[v("div",Na,[v("p",xa,O(d(o).darkModeSwitchLabel||"Appearance"),1),v("div",Ma,[T(At)])])])):w("",!0),d(o).socialLinks?(c(),h("div",Ha,[v("div",Oa,[T(Nt,{class:"social-links-list",links:d(o).socialLinks},null,8,["links"])])])):w("",!0)]),_:1})):w("",!0)}}),Ia=A(Ba,[["__scopeId","data-v-bb2aa2f0"]]),Ea=e=>(F("data-v-e5dd9c1c"),e=e(),R(),e),Da=["aria-expanded"],za=Ea(()=>v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)),Fa=[za],Ra=k({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,o)=>(c(),h("button",{type:"button",class:B(["VPNavBarHamburger",{active:t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active,"aria-controls":"VPNavScreen",onClick:o[0]||(o[0]=n=>t.$emit("click"))},Fa,10,Da))}}),ja=A(Ra,[["__scopeId","data-v-e5dd9c1c"]]),Wa=["innerHTML"],Ga=k({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=N();return(o,n)=>(c(),S(ne,{class:B({VPNavBarMenuLink:!0,active:d(Pe)(d(t).relativePath,o.item.activeMatch||o.item.link,!!o.item.activeMatch)}),href:o.item.link,noIcon:o.item.noIcon,target:o.item.target,rel:o.item.rel,tabindex:"0"},{default:m(()=>[v("span",{innerHTML:o.item.text},null,8,Wa)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Ua=A(Ga,[["__scopeId","data-v-9c663999"]]),qa=k({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:o}=N(),n=i=>"component"in i?!1:"link"in i?Pe(o.value.relativePath,i.link,!!t.item.activeMatch):i.items.some(n),s=V(()=>n(t.item));return(i,a)=>(c(),S(Ct,{class:B({VPNavBarMenuGroup:!0,active:d(Pe)(d(o).relativePath,i.item.activeMatch,!!i.item.activeMatch)||s.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),Ka=e=>(F("data-v-dc692963"),e=e(),R(),e),Ya={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Xa=Ka(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),Ja=k({__name:"VPNavBarMenu",setup(e){const{theme:t}=N();return(o,n)=>d(t).nav?(c(),h("nav",Ya,[Xa,(c(!0),h(E,null,W(d(t).nav,s=>(c(),h(E,{key:JSON.stringify(s)},["link"in s?(c(),S(Ua,{key:0,item:s},null,8,["item"])):"component"in s?(c(),S(te(s.component),oe({key:1,ref_for:!0},s.props),null,16)):(c(),S(qa,{key:2,item:s},null,8,["item"]))],64))),128))])):w("",!0)}}),Qa=A(Ja,[["__scopeId","data-v-dc692963"]]);function Za(e){const{localeIndex:t,theme:o}=N();function n(s){var $,P,b;const i=s.split("."),a=($=o.value.search)==null?void 0:$.options,r=a&&typeof a=="object",l=r&&((b=(P=a.locales)==null?void 0:P[t.value])==null?void 0:b.translations)||null,p=r&&a.translations||null;let y=l,f=p,_=e;const g=i.pop();for(const L of i){let C=null;const M=_==null?void 0:_[L];M&&(C=_=M);const D=f==null?void 0:f[L];D&&(C=f=D);const I=y==null?void 0:y[L];I&&(C=y=I),M||(_=C),D||(f=C),I||(y=C)}return(y==null?void 0:y[g])??(f==null?void 0:f[g])??(_==null?void 0:_[g])??""}return n}const er=["aria-label"],tr={class:"DocSearch-Button-Container"},or=v("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),nr={class:"DocSearch-Button-Placeholder"},sr=v("span",{class:"DocSearch-Button-Keys"},[v("kbd",{class:"DocSearch-Button-Key"}),v("kbd",{class:"DocSearch-Button-Key"},"K")],-1),Bt=k({__name:"VPNavBarSearchButton",setup(e){const o=Za({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,s)=>(c(),h("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":d(o)("button.buttonAriaLabel")},[v("span",tr,[or,v("span",nr,O(d(o)("button.buttonText")),1)]),sr],8,er))}}),ir={class:"VPNavBarSearch"},ar={id:"local-search"},rr={key:1,id:"docsearch"},lr=k({__name:"VPNavBarSearch",setup(e){const t=nn(()=>sn(()=>import("./VPLocalSearchBox.zwZV4aVo.js"),__vite__mapDeps([0,1]))),o=()=>null,{theme:n}=N(),s=H(!1),i=H(!1);Te(()=>{});function a(){s.value||(s.value=!0,setTimeout(r,16))}function r(){const f=new Event("keydown");f.key="k",f.metaKey=!0,window.dispatchEvent(f),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||r()},16)}function l(f){const _=f.target,g=_.tagName;return _.isContentEditable||g==="INPUT"||g==="SELECT"||g==="TEXTAREA"}const p=H(!1);ht("k",f=>{(f.ctrlKey||f.metaKey)&&(f.preventDefault(),p.value=!0)}),ht("/",f=>{l(f)||(f.preventDefault(),p.value=!0)});const y="local";return(f,_)=>{var g;return c(),h("div",ir,[d(y)==="local"?(c(),h(E,{key:0},[p.value?(c(),S(d(t),{key:0,onClose:_[0]||(_[0]=$=>p.value=!1)})):w("",!0),v("div",ar,[T(Bt,{onClick:_[1]||(_[1]=$=>p.value=!0)})])],64)):d(y)==="algolia"?(c(),h(E,{key:1},[s.value?(c(),S(d(o),{key:0,algolia:((g=d(n).search)==null?void 0:g.options)??d(n).algolia,onVnodeBeforeMount:_[2]||(_[2]=$=>i.value=!0)},null,8,["algolia"])):w("",!0),i.value?w("",!0):(c(),h("div",rr,[T(Bt,{onClick:a})]))],64)):w("",!0)])}}}),cr=k({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=N();return(o,n)=>d(t).socialLinks?(c(),S(Nt,{key:0,class:"VPNavBarSocialLinks",links:d(t).socialLinks},null,8,["links"])):w("",!0)}}),dr=A(cr,[["__scopeId","data-v-0394ad82"]]),ur=["href","rel","target"],pr={key:1},hr={key:2},fr=k({__name:"VPNavBarTitle",setup(e){const{site:t,theme:o}=N(),{hasSidebar:n}=pe(),{currentLang:s}=ze(),i=V(()=>{var l;return typeof o.value.logoLink=="string"?o.value.logoLink:(l=o.value.logoLink)==null?void 0:l.link}),a=V(()=>{var l;return typeof o.value.logoLink=="string"||(l=o.value.logoLink)==null?void 0:l.rel}),r=V(()=>{var l;return typeof o.value.logoLink=="string"||(l=o.value.logoLink)==null?void 0:l.target});return(l,p)=>(c(),h("div",{class:B(["VPNavBarTitle",{"has-sidebar":d(n)}])},[v("a",{class:"title",href:i.value??d(Tt)(d(s).link),rel:a.value,target:r.value},[u(l.$slots,"nav-bar-title-before",{},void 0,!0),d(o).logo?(c(),S(Ge,{key:0,class:"logo",image:d(o).logo},null,8,["image"])):w("",!0),d(o).siteTitle?(c(),h("span",pr,O(d(o).siteTitle),1)):d(o).siteTitle===void 0?(c(),h("span",hr,O(d(t).title),1)):w("",!0),u(l.$slots,"nav-bar-title-after",{},void 0,!0)],8,ur)],2))}}),vr=A(fr,[["__scopeId","data-v-ab179fa1"]]),mr={class:"items"},_r={class:"title"},gr=k({__name:"VPNavBarTranslations",setup(e){const{theme:t}=N(),{localeLinks:o,currentLang:n}=ze({correspondingLink:!0});return(s,i)=>d(o).length&&d(n).label?(c(),S(Ct,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:d(t).langMenuLabel||"Change language"},{default:m(()=>[v("div",mr,[v("p",_r,O(d(n).label),1),(c(!0),h(E,null,W(d(o),a=>(c(),S(ot,{key:a.link,item:a},null,8,["item"]))),128))])]),_:1},8,["label"])):w("",!0)}}),yr=A(gr,[["__scopeId","data-v-88af2de4"]]),$r=e=>(F("data-v-6aa21345"),e=e(),R(),e),br={class:"wrapper"},wr={class:"container"},kr={class:"title"},Pr={class:"content"},Sr={class:"content-body"},Tr=$r(()=>v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1)),Lr=k({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:o}=ro(),{hasSidebar:n}=pe(),{frontmatter:s}=N(),i=H({});return St(()=>{i.value={"has-sidebar":n.value,home:s.value.layout==="home",top:o.value===0,"screen-open":t.isScreenOpen}}),(a,r)=>(c(),h("div",{class:B(["VPNavBar",i.value])},[v("div",br,[v("div",wr,[v("div",kr,[T(vr,null,{"nav-bar-title-before":m(()=>[u(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[u(a.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",Pr,[v("div",Sr,[u(a.$slots,"nav-bar-content-before",{},void 0,!0),T(lr,{class:"search"}),T(Qa,{class:"menu"}),T(yr,{class:"translations"}),T(ta,{class:"appearance"}),T(dr,{class:"social-links"}),T(Ia,{class:"extra"}),u(a.$slots,"nav-bar-content-after",{},void 0,!0),T(ja,{class:"hamburger",active:a.isScreenOpen,onClick:r[0]||(r[0]=l=>a.$emit("toggle-screen"))},null,8,["active"])])])])]),Tr],2))}}),Ar=A(Lr,[["__scopeId","data-v-6aa21345"]]),Vr={key:0,class:"VPNavScreenAppearance"},Cr={class:"text"},Nr=k({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:o}=N();return(n,s)=>d(t).appearance&&d(t).appearance!=="force-dark"&&d(t).appearance!=="force-auto"?(c(),h("div",Vr,[v("p",Cr,O(d(o).darkModeSwitchLabel||"Appearance"),1),T(At)])):w("",!0)}}),xr=A(Nr,[["__scopeId","data-v-b44890b2"]]),Mr=k({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=et("close-screen");return(o,n)=>(c(),S(ne,{class:"VPNavScreenMenuLink",href:o.item.link,target:o.item.target,rel:o.item.rel,onClick:d(t),innerHTML:o.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Hr=A(Mr,[["__scopeId","data-v-7f31e1f6"]]),Or=k({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=et("close-screen");return(o,n)=>(c(),S(ne,{class:"VPNavScreenMenuGroupLink",href:o.item.link,target:o.item.target,rel:o.item.rel,onClick:d(t)},{default:m(()=>[de(O(o.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),yo=A(Or,[["__scopeId","data-v-19976ae1"]]),Br={class:"VPNavScreenMenuGroupSection"},Ir={key:0,class:"title"},Er=k({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,o)=>(c(),h("div",Br,[t.text?(c(),h("p",Ir,O(t.text),1)):w("",!0),(c(!0),h(E,null,W(t.items,n=>(c(),S(yo,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Dr=A(Er,[["__scopeId","data-v-8133b170"]]),zr=e=>(F("data-v-b9ab8c58"),e=e(),R(),e),Fr=["aria-controls","aria-expanded"],Rr=["innerHTML"],jr=zr(()=>v("span",{class:"vpi-plus button-icon"},null,-1)),Wr=["id"],Gr={key:0,class:"item"},Ur={key:1,class:"item"},qr={key:2,class:"group"},Kr=k({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,o=H(!1),n=V(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function s(){o.value=!o.value}return(i,a)=>(c(),h("div",{class:B(["VPNavScreenMenuGroup",{open:o.value}])},[v("button",{class:"button","aria-controls":n.value,"aria-expanded":o.value,onClick:s},[v("span",{class:"button-text",innerHTML:i.text},null,8,Rr),jr],8,Fr),v("div",{id:n.value,class:"items"},[(c(!0),h(E,null,W(i.items,r=>(c(),h(E,{key:JSON.stringify(r)},["link"in r?(c(),h("div",Gr,[T(yo,{item:r},null,8,["item"])])):"component"in r?(c(),h("div",Ur,[(c(),S(te(r.component),oe({ref_for:!0},r.props,{"screen-menu":""}),null,16))])):(c(),h("div",qr,[T(Dr,{text:r.text,items:r.items},null,8,["text","items"])]))],64))),128))],8,Wr)],2))}}),Yr=A(Kr,[["__scopeId","data-v-b9ab8c58"]]),Xr={key:0,class:"VPNavScreenMenu"},Jr=k({__name:"VPNavScreenMenu",setup(e){const{theme:t}=N();return(o,n)=>d(t).nav?(c(),h("nav",Xr,[(c(!0),h(E,null,W(d(t).nav,s=>(c(),h(E,{key:JSON.stringify(s)},["link"in s?(c(),S(Hr,{key:0,item:s},null,8,["item"])):"component"in s?(c(),S(te(s.component),oe({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(c(),S(Yr,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):w("",!0)}}),Qr=k({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=N();return(o,n)=>d(t).socialLinks?(c(),S(Nt,{key:0,class:"VPNavScreenSocialLinks",links:d(t).socialLinks},null,8,["links"])):w("",!0)}}),$o=e=>(F("data-v-858fe1a4"),e=e(),R(),e),Zr=$o(()=>v("span",{class:"vpi-languages icon lang"},null,-1)),el=$o(()=>v("span",{class:"vpi-chevron-down icon chevron"},null,-1)),tl={class:"list"},ol=k({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:o}=ze({correspondingLink:!0}),n=H(!1);function s(){n.value=!n.value}return(i,a)=>d(t).length&&d(o).label?(c(),h("div",{key:0,class:B(["VPNavScreenTranslations",{open:n.value}])},[v("button",{class:"title",onClick:s},[Zr,de(" "+O(d(o).label)+" ",1),el]),v("ul",tl,[(c(!0),h(E,null,W(d(t),r=>(c(),h("li",{key:r.link,class:"item"},[T(ne,{class:"link",href:r.link},{default:m(()=>[de(O(r.text),1)]),_:2},1032,["href"])]))),128))])],2)):w("",!0)}}),nl=A(ol,[["__scopeId","data-v-858fe1a4"]]),sl={class:"container"},il=k({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=H(null),o=lo(tt?document.body:null);return(n,s)=>(c(),S(wt,{name:"fade",onEnter:s[0]||(s[0]=i=>o.value=!0),onAfterLeave:s[1]||(s[1]=i=>o.value=!1)},{default:m(()=>[n.open?(c(),h("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[v("div",sl,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),T(Jr,{class:"menu"}),T(nl,{class:"translations"}),T(xr,{class:"appearance"}),T(Qr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):w("",!0)]),_:3}))}}),al=A(il,[["__scopeId","data-v-f2779853"]]),rl={key:0,class:"VPNav"},ll=k({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:o,toggleScreen:n}=ji(),{frontmatter:s}=N(),i=V(()=>s.value.navbar!==!1);return co("close-screen",o),Je(()=>{tt&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(a,r)=>i.value?(c(),h("header",rl,[T(Ar,{"is-screen-open":d(t),onToggleScreen:d(n)},{"nav-bar-title-before":m(()=>[u(a.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[u(a.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":m(()=>[u(a.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":m(()=>[u(a.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),T(al,{open:d(t)},{"nav-screen-content-before":m(()=>[u(a.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":m(()=>[u(a.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):w("",!0)}}),cl=A(ll,[["__scopeId","data-v-ae24b3ad"]]),bo=e=>(F("data-v-b7550ba0"),e=e(),R(),e),dl=["role","tabindex"],ul=bo(()=>v("div",{class:"indicator"},null,-1)),pl=bo(()=>v("span",{class:"vpi-chevron-right caret-icon"},null,-1)),hl=[pl],fl={key:1,class:"items"},vl=k({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:o,collapsible:n,isLink:s,isActiveLink:i,hasActiveLink:a,hasChildren:r,toggle:l}=Hn(V(()=>t.item)),p=V(()=>r.value?"section":"div"),y=V(()=>s.value?"a":"div"),f=V(()=>r.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),_=V(()=>s.value?void 0:"button"),g=V(()=>[[`level-${t.depth}`],{collapsible:n.value},{collapsed:o.value},{"is-link":s.value},{"is-active":i.value},{"has-active":a.value}]);function $(b){"key"in b&&b.key!=="Enter"||!t.item.link&&l()}function P(){t.item.link&&l()}return(b,L)=>{const C=X("VPSidebarItem",!0);return c(),S(te(p.value),{class:B(["VPSidebarItem",g.value])},{default:m(()=>[b.item.text?(c(),h("div",oe({key:0,class:"item",role:_.value},an(b.item.items?{click:$,keydown:$}:{},!0),{tabindex:b.item.items&&0}),[ul,b.item.link?(c(),S(ne,{key:0,tag:y.value,class:"link",href:b.item.link,rel:b.item.rel,target:b.item.target},{default:m(()=>[(c(),S(te(f.value),{class:"text",innerHTML:b.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(c(),S(te(f.value),{key:1,class:"text",innerHTML:b.item.text},null,8,["innerHTML"])),b.item.collapsed!=null&&b.item.items&&b.item.items.length?(c(),h("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:P,onKeydown:uo(P,["enter"]),tabindex:"0"},hl,32)):w("",!0)],16,dl)):w("",!0),b.item.items&&b.item.items.length?(c(),h("div",fl,[b.depth<5?(c(!0),h(E,{key:0},W(b.item.items,M=>(c(),S(C,{key:M.text,item:M,depth:b.depth+1},null,8,["item","depth"]))),128)):w("",!0)])):w("",!0)]),_:1},8,["class"])}}}),ml=A(vl,[["__scopeId","data-v-b7550ba0"]]),_l=k({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=H(!0);let o=null;return Te(()=>{o=setTimeout(()=>{o=null,t.value=!1},300)}),rn(()=>{o!=null&&(clearTimeout(o),o=null)}),(n,s)=>(c(!0),h(E,null,W(n.items,i=>(c(),h("div",{key:i.text,class:B(["group",{"no-transition":t.value}])},[T(ml,{item:i,depth:0},null,8,["item"])],2))),128))}}),gl=A(_l,[["__scopeId","data-v-c40bc020"]]),wo=e=>(F("data-v-319d5ca6"),e=e(),R(),e),yl=wo(()=>v("div",{class:"curtain"},null,-1)),$l={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},bl=wo(()=>v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),wl=k({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:o}=pe(),n=e,s=H(null),i=lo(tt?document.body:null);ue([n,s],()=>{var r;n.open?(i.value=!0,(r=s.value)==null||r.focus()):i.value=!1},{immediate:!0,flush:"post"});const a=H(0);return ue(t,()=>{a.value+=1},{deep:!0}),(r,l)=>d(o)?(c(),h("aside",{key:0,class:B(["VPSidebar",{open:r.open}]),ref_key:"navEl",ref:s,onClick:l[0]||(l[0]=ln(()=>{},["stop"]))},[yl,v("nav",$l,[bl,u(r.$slots,"sidebar-nav-before",{},void 0,!0),(c(),S(gl,{items:d(t),key:a.value},null,8,["items"])),u(r.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):w("",!0)}}),kl=A(wl,[["__scopeId","data-v-319d5ca6"]]),Pl=k({__name:"VPSkipLink",setup(e){const t=Ze(),o=H();ue(()=>t.path,()=>o.value.focus());function n({target:s}){const i=document.getElementById(decodeURIComponent(s.hash).slice(1));if(i){const a=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",a)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",a),i.focus(),window.scrollTo(0,0)}}return(s,i)=>(c(),h(E,null,[v("span",{ref_key:"backToTop",ref:o,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),Sl=A(Pl,[["__scopeId","data-v-0f60ec36"]]),Tl=k({__name:"Layout",setup(e){const{isOpen:t,open:o,close:n}=pe(),s=Ze();ue(()=>s.path,n),Mn(t,n);const{frontmatter:i}=N(),a=cn(),r=V(()=>!!a["home-hero-image"]);return co("hero-image-slot-exists",r),(l,p)=>{const y=X("Content");return d(i).layout!==!1?(c(),h("div",{key:0,class:B(["Layout",d(i).pageClass])},[u(l.$slots,"layout-top",{},void 0,!0),T(Sl),T(gn,{class:"backdrop",show:d(t),onClick:d(n)},null,8,["show","onClick"]),T(cl,null,{"nav-bar-title-before":m(()=>[u(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":m(()=>[u(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":m(()=>[u(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":m(()=>[u(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":m(()=>[u(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":m(()=>[u(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),T(Ri,{open:d(t),onOpenMenu:d(o)},null,8,["open","onOpenMenu"]),T(kl,{open:d(t)},{"sidebar-nav-before":m(()=>[u(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":m(()=>[u(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),T(wi,null,{"page-top":m(()=>[u(l.$slots,"page-top",{},void 0,!0)]),"page-bottom":m(()=>[u(l.$slots,"page-bottom",{},void 0,!0)]),"not-found":m(()=>[u(l.$slots,"not-found",{},void 0,!0)]),"home-hero-before":m(()=>[u(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":m(()=>[u(l.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":m(()=>[u(l.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":m(()=>[u(l.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":m(()=>[u(l.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":m(()=>[u(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":m(()=>[u(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":m(()=>[u(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":m(()=>[u(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":m(()=>[u(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":m(()=>[u(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":m(()=>[u(l.$slots,"doc-after",{},void 0,!0)]),"doc-top":m(()=>[u(l.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":m(()=>[u(l.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":m(()=>[u(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":m(()=>[u(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":m(()=>[u(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":m(()=>[u(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":m(()=>[u(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":m(()=>[u(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),T(Li),u(l.$slots,"layout-bottom",{},void 0,!0)],2)):(c(),S(y,{key:1}))}}}),Ll=A(Tl,[["__scopeId","data-v-5d98c3a5"]]),Al={Layout:Ll,enhanceApp:({app:e})=>{e.component("Badge",vn)}},Vl=["top","right","bottom","left"],It=["start","end"],Et=Vl.reduce((e,t)=>e.concat(t,t+"-"+It[0],t+"-"+It[1]),[]),ke=Math.min,we=Math.max,Cl={left:"right",right:"left",bottom:"top",top:"bottom"},Nl={start:"end",end:"start"};function _t(e,t,o){return we(e,ke(t,o))}function Le(e,t){return typeof e=="function"?e(t):e}function ae(e){return e.split("-")[0]}function Q(e){return e.split("-")[1]}function ko(e){return e==="x"?"y":"x"}function xt(e){return e==="y"?"height":"width"}function Se(e){return["top","bottom"].includes(ae(e))?"y":"x"}function Mt(e){return ko(Se(e))}function Po(e,t,o){o===void 0&&(o=!1);const n=Q(e),s=Mt(e),i=xt(s);let a=s==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=qe(a)),[a,qe(a)]}function xl(e){const t=qe(e);return[Ue(e),t,Ue(t)]}function Ue(e){return e.replace(/start|end/g,t=>Nl[t])}function Ml(e,t,o){const n=["left","right"],s=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return o?t?s:n:t?n:s;case"left":case"right":return t?i:a;default:return[]}}function Hl(e,t,o,n){const s=Q(e);let i=Ml(ae(e),o==="start",n);return s&&(i=i.map(a=>a+"-"+s),t&&(i=i.concat(i.map(Ue)))),i}function qe(e){return e.replace(/left|right|bottom|top/g,t=>Cl[t])}function Ol(e){return{top:0,right:0,bottom:0,left:0,...e}}function So(e){return typeof e!="number"?Ol(e):{top:e,right:e,bottom:e,left:e}}function xe(e){const{x:t,y:o,width:n,height:s}=e;return{width:n,height:s,top:o,left:t,right:t+n,bottom:o+s,x:t,y:o}}function Dt(e,t,o){let{reference:n,floating:s}=e;const i=Se(t),a=Mt(t),r=xt(a),l=ae(t),p=i==="y",y=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2,_=n[r]/2-s[r]/2;let g;switch(l){case"top":g={x:y,y:n.y-s.height};break;case"bottom":g={x:y,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:f};break;case"left":g={x:n.x-s.width,y:f};break;default:g={x:n.x,y:n.y}}switch(Q(t)){case"start":g[a]-=_*(o&&p?-1:1);break;case"end":g[a]+=_*(o&&p?-1:1);break}return g}const Bl=async(e,t,o)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:a}=o,r=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let p=await a.getElementRects({reference:e,floating:t,strategy:s}),{x:y,y:f}=Dt(p,n,l),_=n,g={},$=0;for(let P=0;P({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:s,rects:i,platform:a,elements:r,middlewareData:l}=t,{element:p,padding:y=0}=Le(e,t)||{};if(p==null)return{};const f=So(y),_={x:o,y:n},g=Mt(s),$=xt(g),P=await a.getDimensions(p),b=g==="y",L=b?"top":"left",C=b?"bottom":"right",M=b?"clientHeight":"clientWidth",D=i.reference[$]+i.reference[g]-_[g]-i.floating[$],I=_[g]-i.reference[g],U=await(a.getOffsetParent==null?void 0:a.getOffsetParent(p));let q=U?U[M]:0;(!q||!await(a.isElement==null?void 0:a.isElement(U)))&&(q=r.floating[M]||i.floating[$]);const re=D/2-I/2,K=q/2-P[$]/2-1,z=ke(f[L],K),G=ke(f[C],K),le=z,$e=q-P[$]-G,j=q/2-P[$]/2+re,Ae=_t(le,j,$e),ce=!l.arrow&&Q(s)!=null&&j!==Ae&&i.reference[$]/2-(jQ(s)===e),...o.filter(s=>Q(s)!==e)]:o.filter(s=>ae(s)===s)).filter(s=>e?Q(s)===e||(t?Ue(s)!==s:!1):!0)}const Dl=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,s;const{rects:i,middlewareData:a,placement:r,platform:l,elements:p}=t,{crossAxis:y=!1,alignment:f,allowedPlacements:_=Et,autoAlignment:g=!0,...$}=Le(e,t),P=f!==void 0||_===Et?El(f||null,g,_):_,b=await nt(t,$),L=((o=a.autoPlacement)==null?void 0:o.index)||0,C=P[L];if(C==null)return{};const M=Po(C,i,await(l.isRTL==null?void 0:l.isRTL(p.floating)));if(r!==C)return{reset:{placement:P[0]}};const D=[b[ae(C)],b[M[0]],b[M[1]]],I=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:D}],U=P[L+1];if(U)return{data:{index:L+1,overflows:I},reset:{placement:U}};const q=I.map(z=>{const G=Q(z.placement);return[z.placement,G&&y?z.overflows.slice(0,2).reduce((le,$e)=>le+$e,0):z.overflows[0],z.overflows]}).sort((z,G)=>z[1]-G[1]),K=((s=q.filter(z=>z[2].slice(0,Q(z[0])?2:3).every(G=>G<=0))[0])==null?void 0:s[0])||q[0][0];return K!==r?{data:{index:L+1,overflows:I},reset:{placement:K}}:{}}}},zl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:s,middlewareData:i,rects:a,initialPlacement:r,platform:l,elements:p}=t,{mainAxis:y=!0,crossAxis:f=!0,fallbackPlacements:_,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:$="none",flipAlignment:P=!0,...b}=Le(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};const L=ae(s),C=Se(r),M=ae(r)===r,D=await(l.isRTL==null?void 0:l.isRTL(p.floating)),I=_||(M||!P?[qe(r)]:xl(r)),U=$!=="none";!_&&U&&I.push(...Hl(r,P,$,D));const q=[r,...I],re=await nt(t,b),K=[];let z=((n=i.flip)==null?void 0:n.overflows)||[];if(y&&K.push(re[L]),f){const j=Po(s,a,D);K.push(re[j[0]],re[j[1]])}if(z=[...z,{placement:s,overflows:K}],!K.every(j=>j<=0)){var G,le;const j=(((G=i.flip)==null?void 0:G.index)||0)+1,Ae=q[j];if(Ae)return{data:{index:j,overflows:z},reset:{placement:Ae}};let ce=(le=z.filter(ee=>ee.overflows[0]<=0).sort((ee,he)=>ee.overflows[1]-he.overflows[1])[0])==null?void 0:le.placement;if(!ce)switch(g){case"bestFit":{var $e;const ee=($e=z.filter(he=>{if(U){const fe=Se(he.placement);return fe===C||fe==="y"}return!0}).map(he=>[he.placement,he.overflows.filter(fe=>fe>0).reduce((fe,Yo)=>fe+Yo,0)]).sort((he,fe)=>he[1]-fe[1])[0])==null?void 0:$e[0];ee&&(ce=ee);break}case"initialPlacement":ce=r;break}if(s!==ce)return{reset:{placement:ce}}}return{}}}};async function Fl(e,t){const{placement:o,platform:n,elements:s}=e,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),a=ae(o),r=Q(o),l=Se(o)==="y",p=["left","top"].includes(a)?-1:1,y=i&&l?-1:1,f=Le(t,e);let{mainAxis:_,crossAxis:g,alignmentAxis:$}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return r&&typeof $=="number"&&(g=r==="end"?$*-1:$),l?{x:g*y,y:_*p}:{x:_*p,y:g*y}}const Rl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:s,y:i,placement:a,middlewareData:r}=t,l=await Fl(t,e);return a===((o=r.offset)==null?void 0:o.placement)&&(n=r.arrow)!=null&&n.alignmentOffset?{}:{x:s+l.x,y:i+l.y,data:{...l,placement:a}}}}},jl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:r={fn:b=>{let{x:L,y:C}=b;return{x:L,y:C}}},...l}=Le(e,t),p={x:o,y:n},y=await nt(t,l),f=Se(ae(s)),_=ko(f);let g=p[_],$=p[f];if(i){const b=_==="y"?"top":"left",L=_==="y"?"bottom":"right",C=g+y[b],M=g-y[L];g=_t(C,g,M)}if(a){const b=f==="y"?"top":"left",L=f==="y"?"bottom":"right",C=$+y[b],M=$-y[L];$=_t(C,$,M)}const P=r.fn({...t,[_]:g,[f]:$});return{...P,data:{x:P.x-o,y:P.y-n}}}}},Wl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:o,rects:n,platform:s,elements:i}=t,{apply:a=()=>{},...r}=Le(e,t),l=await nt(t,r),p=ae(o),y=Q(o),f=Se(o)==="y",{width:_,height:g}=n.floating;let $,P;p==="top"||p==="bottom"?($=p,P=y===(await(s.isRTL==null?void 0:s.isRTL(i.floating))?"start":"end")?"left":"right"):(P=p,$=y==="end"?"top":"bottom");const b=g-l.top-l.bottom,L=_-l.left-l.right,C=ke(g-l[$],b),M=ke(_-l[P],L),D=!t.middlewareData.shift;let I=C,U=M;if(f?U=y||D?ke(M,L):L:I=y||D?ke(C,b):b,D&&!y){const re=we(l.left,0),K=we(l.right,0),z=we(l.top,0),G=we(l.bottom,0);f?U=_-2*(re!==0||K!==0?re+K:we(l.left,l.right)):I=g-2*(z!==0||G!==0?z+G:we(l.top,l.bottom))}await a({...t,availableWidth:U,availableHeight:I});const q=await s.getDimensions(i.floating);return _!==q.width||g!==q.height?{reset:{rects:!0}}:{}}}};function Y(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function se(e){return Y(e).getComputedStyle(e)}const zt=Math.min,Me=Math.max,Ke=Math.round;function To(e){const t=se(e);let o=parseFloat(t.width),n=parseFloat(t.height);const s=e.offsetWidth,i=e.offsetHeight,a=Ke(o)!==s||Ke(n)!==i;return a&&(o=s,n=i),{width:o,height:n,fallback:a}}function ye(e){return Ao(e)?(e.nodeName||"").toLowerCase():""}let Fe;function Lo(){if(Fe)return Fe;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Fe=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Fe):navigator.userAgent}function ie(e){return e instanceof Y(e).HTMLElement}function _e(e){return e instanceof Y(e).Element}function Ao(e){return e instanceof Y(e).Node}function Ft(e){return typeof ShadowRoot>"u"?!1:e instanceof Y(e).ShadowRoot||e instanceof ShadowRoot}function st(e){const{overflow:t,overflowX:o,overflowY:n,display:s}=se(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(s)}function Gl(e){return["table","td","th"].includes(ye(e))}function gt(e){const t=/firefox/i.test(Lo()),o=se(e),n=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!n&&n!=="none"||t&&o.willChange==="filter"||t&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some(s=>o.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const i=o.contain;return i!=null&&i.includes(s)})}function Vo(){return!/^((?!chrome|android).)*safari/i.test(Lo())}function Ht(e){return["html","body","#document"].includes(ye(e))}function Co(e){return _e(e)?e:e.contextElement}const No={x:1,y:1};function Ve(e){const t=Co(e);if(!ie(t))return No;const o=t.getBoundingClientRect(),{width:n,height:s,fallback:i}=To(t);let a=(i?Ke(o.width):o.width)/n,r=(i?Ke(o.height):o.height)/s;return a&&Number.isFinite(a)||(a=1),r&&Number.isFinite(r)||(r=1),{x:a,y:r}}function Be(e,t,o,n){var s,i;t===void 0&&(t=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),r=Co(e);let l=No;t&&(n?_e(n)&&(l=Ve(n)):l=Ve(e));const p=r?Y(r):window,y=!Vo()&&o;let f=(a.left+(y&&((s=p.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,_=(a.top+(y&&((i=p.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,g=a.width/l.x,$=a.height/l.y;if(r){const P=Y(r),b=n&&_e(n)?Y(n):n;let L=P.frameElement;for(;L&&n&&b!==P;){const C=Ve(L),M=L.getBoundingClientRect(),D=getComputedStyle(L);M.x+=(L.clientLeft+parseFloat(D.paddingLeft))*C.x,M.y+=(L.clientTop+parseFloat(D.paddingTop))*C.y,f*=C.x,_*=C.y,g*=C.x,$*=C.y,f+=M.x,_+=M.y,L=Y(L).frameElement}}return{width:g,height:$,top:_,right:f+g,bottom:_+$,left:f,x:f,y:_}}function ge(e){return((Ao(e)?e.ownerDocument:e.document)||window.document).documentElement}function it(e){return _e(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function xo(e){return Be(ge(e)).left+it(e).scrollLeft}function Ie(e){if(ye(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ft(e)&&e.host||ge(e);return Ft(t)?t.host:t}function Mo(e){const t=Ie(e);return Ht(t)?t.ownerDocument.body:ie(t)&&st(t)?t:Mo(t)}function Ye(e,t){var o;t===void 0&&(t=[]);const n=Mo(e),s=n===((o=e.ownerDocument)==null?void 0:o.body),i=Y(n);return s?t.concat(i,i.visualViewport||[],st(n)?n:[]):t.concat(n,Ye(n))}function Rt(e,t,o){return t==="viewport"?xe(function(n,s){const i=Y(n),a=ge(n),r=i.visualViewport;let l=a.clientWidth,p=a.clientHeight,y=0,f=0;if(r){l=r.width,p=r.height;const _=Vo();(_||!_&&s==="fixed")&&(y=r.offsetLeft,f=r.offsetTop)}return{width:l,height:p,x:y,y:f}}(e,o)):_e(t)?xe(function(n,s){const i=Be(n,!0,s==="fixed"),a=i.top+n.clientTop,r=i.left+n.clientLeft,l=ie(n)?Ve(n):{x:1,y:1};return{width:n.clientWidth*l.x,height:n.clientHeight*l.y,x:r*l.x,y:a*l.y}}(t,o)):xe(function(n){const s=ge(n),i=it(n),a=n.ownerDocument.body,r=Me(s.scrollWidth,s.clientWidth,a.scrollWidth,a.clientWidth),l=Me(s.scrollHeight,s.clientHeight,a.scrollHeight,a.clientHeight);let p=-i.scrollLeft+xo(n);const y=-i.scrollTop;return se(a).direction==="rtl"&&(p+=Me(s.clientWidth,a.clientWidth)-r),{width:r,height:l,x:p,y}}(ge(e)))}function jt(e){return ie(e)&&se(e).position!=="fixed"?e.offsetParent:null}function Wt(e){const t=Y(e);let o=jt(e);for(;o&&Gl(o)&&se(o).position==="static";)o=jt(o);return o&&(ye(o)==="html"||ye(o)==="body"&&se(o).position==="static"&&!gt(o))?t:o||function(n){let s=Ie(n);for(;ie(s)&&!Ht(s);){if(gt(s))return s;s=Ie(s)}return null}(e)||t}function Ul(e,t,o){const n=ie(t),s=ge(t),i=Be(e,!0,o==="fixed",t);let a={scrollLeft:0,scrollTop:0};const r={x:0,y:0};if(n||!n&&o!=="fixed")if((ye(t)!=="body"||st(s))&&(a=it(t)),ie(t)){const l=Be(t,!0);r.x=l.x+t.clientLeft,r.y=l.y+t.clientTop}else s&&(r.x=xo(s));return{x:i.left+a.scrollLeft-r.x,y:i.top+a.scrollTop-r.y,width:i.width,height:i.height}}const ql={getClippingRect:function(e){let{element:t,boundary:o,rootBoundary:n,strategy:s}=e;const i=o==="clippingAncestors"?function(p,y){const f=y.get(p);if(f)return f;let _=Ye(p).filter(b=>_e(b)&&ye(b)!=="body"),g=null;const $=se(p).position==="fixed";let P=$?Ie(p):p;for(;_e(P)&&!Ht(P);){const b=se(P),L=gt(P);($?L||g:L||b.position!=="static"||!g||!["absolute","fixed"].includes(g.position))?g=b:_=_.filter(C=>C!==P),P=Ie(P)}return y.set(p,_),_}(t,this._c):[].concat(o),a=[...i,n],r=a[0],l=a.reduce((p,y)=>{const f=Rt(t,y,s);return p.top=Me(f.top,p.top),p.right=zt(f.right,p.right),p.bottom=zt(f.bottom,p.bottom),p.left=Me(f.left,p.left),p},Rt(t,r,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:o,strategy:n}=e;const s=ie(o),i=ge(o);if(o===i)return t;let a={scrollLeft:0,scrollTop:0},r={x:1,y:1};const l={x:0,y:0};if((s||!s&&n!=="fixed")&&((ye(o)!=="body"||st(i))&&(a=it(o)),ie(o))){const p=Be(o);r=Ve(o),l.x=p.x+o.clientLeft,l.y=p.y+o.clientTop}return{width:t.width*r.x,height:t.height*r.y,x:t.x*r.x-a.scrollLeft*r.x+l.x,y:t.y*r.y-a.scrollTop*r.y+l.y}},isElement:_e,getDimensions:function(e){return ie(e)?To(e):e.getBoundingClientRect()},getOffsetParent:Wt,getDocumentElement:ge,getScale:Ve,async getElementRects(e){let{reference:t,floating:o,strategy:n}=e;const s=this.getOffsetParent||Wt,i=this.getDimensions;return{reference:Ul(t,await s(o),n),floating:{x:0,y:0,...await i(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>se(e).direction==="rtl"},Kl=(e,t,o)=>{const n=new Map,s={platform:ql,...o},i={...s.platform,_c:n};return Bl(e,t,{...s,platform:i})};function Ho(e,t){for(const o in t)Object.prototype.hasOwnProperty.call(t,o)&&(typeof t[o]=="object"&&e[o]?Ho(e[o],t[o]):e[o]=t[o])}const Z={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Ee(e,t){let o=Z.themes[e]||{},n;do n=o[t],typeof n>"u"?o.$extend?o=Z.themes[o.$extend]||{}:(o=null,n=Z[t]):o=null;while(o);return n}function Yl(e){const t=[e];let o=Z.themes[e]||{};do o.$extend&&!o.$resetCss?(t.push(o.$extend),o=Z.themes[o.$extend]||{}):o=null;while(o);return t.map(n=>`v-popper--theme-${n}`)}function Gt(e){const t=[e];let o=Z.themes[e]||{};do o.$extend?(t.push(o.$extend),o=Z.themes[o.$extend]||{}):o=null;while(o);return t}let Ce=!1;if(typeof window<"u"){Ce=!1;try{const e=Object.defineProperty({},"passive",{get(){Ce=!0}});window.addEventListener("test",null,e)}catch{}}let Oo=!1;typeof window<"u"&&typeof navigator<"u"&&(Oo=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Bo=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ut={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},qt={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Kt(e,t){const o=e.indexOf(t);o!==-1&&e.splice(o,1)}function ct(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const J=[];let be=null;const Yt={};function Xt(e){let t=Yt[e];return t||(t=Yt[e]=[]),t}let yt=function(){};typeof window<"u"&&(yt=window.Element);function x(e){return function(t){return Ee(t.theme,e)}}const dt="__floating-vue__popper",Io=()=>k({name:"VPopper",provide(){return{[dt]:{parentPopper:this}}},inject:{[dt]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:x("disabled")},positioningDisabled:{type:Boolean,default:x("positioningDisabled")},placement:{type:String,default:x("placement"),validator:e=>Bo.includes(e)},delay:{type:[String,Number,Object],default:x("delay")},distance:{type:[Number,String],default:x("distance")},skidding:{type:[Number,String],default:x("skidding")},triggers:{type:Array,default:x("triggers")},showTriggers:{type:[Array,Function],default:x("showTriggers")},hideTriggers:{type:[Array,Function],default:x("hideTriggers")},popperTriggers:{type:Array,default:x("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:x("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:x("popperHideTriggers")},container:{type:[String,Object,yt,Boolean],default:x("container")},boundary:{type:[String,yt],default:x("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:x("strategy")},autoHide:{type:[Boolean,Function],default:x("autoHide")},handleResize:{type:Boolean,default:x("handleResize")},instantMove:{type:Boolean,default:x("instantMove")},eagerMount:{type:Boolean,default:x("eagerMount")},popperClass:{type:[String,Array,Object],default:x("popperClass")},computeTransformOrigin:{type:Boolean,default:x("computeTransformOrigin")},autoMinSize:{type:Boolean,default:x("autoMinSize")},autoSize:{type:[Boolean,String],default:x("autoSize")},autoMaxSize:{type:Boolean,default:x("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:x("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:x("preventOverflow")},overflowPadding:{type:[Number,String],default:x("overflowPadding")},arrowPadding:{type:[Number,String],default:x("arrowPadding")},arrowOverflow:{type:Boolean,default:x("arrowOverflow")},flip:{type:Boolean,default:x("flip")},shift:{type:Boolean,default:x("shift")},shiftCrossAxis:{type:Boolean,default:x("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:x("noAutoFocus")},disposeTimeout:{type:Number,default:x("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[dt])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:o=!1}={}){var n,s;(n=this.parentPopper)!=null&&n.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Rl({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Dl({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(jl({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(zl({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Il({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:n,rects:s,middlewareData:i})=>{let a;const{centerOffset:r}=i.arrow;return n.startsWith("top")||n.startsWith("bottom")?a=Math.abs(r)>s.reference.width/2:a=Math.abs(r)>s.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const n=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:i,middlewareData:a})=>{var r;if((r=a.autoSize)!=null&&r.skip)return{};let l,p;return i.startsWith("top")||i.startsWith("bottom")?l=s.reference.width:p=s.reference.height,this.$_innerNode.style[n==="min"?"minWidth":n==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[n==="min"?"minHeight":n==="max"?"maxHeight":"height"]=p!=null?`${p}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Wl({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:n,availableHeight:s})=>{this.$_innerNode.style.maxWidth=n!=null?`${n}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const o=await Kl(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),be&&this.instantMove&&be.instantMove&&be!==this.parentPopper){be.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(be=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ct(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ye(this.$_referenceNode),...Ye(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),n=o.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(n.left+o.offsetLeft),i=t.y+t.height/2-(n.top+o.offsetTop);this.result.transformOrigin=`${s}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let o=0;o0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Kt(J,this),J.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of Gt(this.theme)){const n=Xt(o);Kt(n,this),n.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}be===this&&(be=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ct(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,Ut,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ut,this.popperTriggers,this.popperShowTriggers,e);const t=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,qt,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],qt,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,o){this.$_events.push({targetNodes:e,eventType:t,handler:o}),e.forEach(n=>n.addEventListener(t,o,Ce?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,o,n,s){let i=o;n!=null&&(i=typeof n=="function"?n(i):n),i.forEach(a=>{const r=t[a];r&&this.$_registerEventListeners(e,r,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(o=>{const{targetNodes:n,eventType:s,handler:i}=o;!e||e===s?n.forEach(a=>a.removeEventListener(s,i)):t.push(o)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const o of this.$_targetNodes){const n=o.getAttribute(e);n&&(o.removeAttribute(e),o.setAttribute(t,n))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const o in e){const n=e[o];n==null?t.removeAttribute(o):t.setAttribute(o,n)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(He>=e.left&&He<=e.right&&Oe>=e.top&&Oe<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),o=He-ve,n=Oe-me,s=t.left+t.width/2-ve+(t.top+t.height/2)-me+t.width+t.height,i=ve+o*s,a=me+n*s;return Re(ve,me,i,a,t.left,t.top,t.left,t.bottom)||Re(ve,me,i,a,t.left,t.top,t.right,t.top)||Re(ve,me,i,a,t.right,t.top,t.right,t.bottom)||Re(ve,me,i,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Oo){const e=Ce?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Jt(t,!0),e),document.addEventListener("touchend",t=>Qt(t,!0),e)}else window.addEventListener("mousedown",e=>Jt(e,!1),!0),window.addEventListener("click",e=>Qt(e,!1),!0);window.addEventListener("resize",Do)}function Jt(e,t){if(Z.autoHideOnMousedown)Eo(e,t);else for(let o=0;o=0;n--){const s=J[n];try{const i=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!o[s.randomId]&&Zt(s,i,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let r=s.parentPopper;for(;r;)o[r.randomId]=!0,r=r.parentPopper;return}let a=s.parentPopper;for(;a&&Zt(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Zt(e,t,o){return o.closeAllPopover||o.closePopover&&t||Xl(e,o)&&!t}function Xl(e,t){if(typeof e.autoHide=="function"){const o=e.autoHide(t);return e.lastAutoHide=o,o}return e.autoHide}function Do(){for(let e=0;e{ve=He,me=Oe,He=e.clientX,Oe=e.clientY},Ce?{passive:!0}:void 0);function Re(e,t,o,n,s,i,a,r){const l=((a-s)*(t-i)-(r-i)*(e-s))/((r-i)*(o-e)-(a-s)*(n-t)),p=((o-e)*(t-i)-(n-t)*(e-s))/((r-i)*(o-e)-(a-s)*(n-t));return l>=0&&l<=1&&p>=0&&p<=1}const Jl={extends:Io()},at=(e,t)=>{const o=e.__vccOpts||e;for(const[n,s]of t)o[n]=s;return o};function Ql(e,t,o,n,s,i){return c(),h("div",{ref:"reference",class:B(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[u(e.$slots,"default",un(pn(e.slotData)))],2)}const Zl=at(Jl,[["render",Ql]]);function ec(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var o=e.indexOf("Trident/");if(o>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let We;function $t(){$t.init||($t.init=!0,We=ec()!==-1)}var rt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$t(),ao(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",We&&this.$el.appendChild(e),e.data="about:blank",We||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!We&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const tc=dn();F("data-v-b329ee4c");const oc={class:"resize-observer",tabindex:"-1"};R();const nc=tc((e,t,o,n,s,i)=>(c(),S("div",oc)));rt.render=nc;rt.__scopeId="data-v-b329ee4c";rt.__file="src/components/ResizeObserver.vue";const zo=(e="theme")=>({computed:{themeClass(){return Yl(this[e])}}}),sc=k({name:"VPopperContent",components:{ResizeObserver:rt},mixins:[zo()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),ic=["id","aria-hidden","tabindex","data-popper-placement"],ac={ref:"inner",class:"v-popper__inner"},rc=v("div",{class:"v-popper__arrow-outer"},null,-1),lc=v("div",{class:"v-popper__arrow-inner"},null,-1),cc=[rc,lc];function dc(e,t,o,n,s,i){const a=X("ResizeObserver");return c(),h("div",{id:e.popperId,ref:"popover",class:B(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:Ne(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=uo(r=>e.autoHide&&e.$emit("hide"),["esc"]))},[v("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=r=>e.autoHide&&e.$emit("hide"))}),v("div",{class:"v-popper__wrapper",style:Ne(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[v("div",ac,[e.mounted?(c(),h(E,{key:0},[v("div",null,[u(e.$slots,"default")]),e.handleResize?(c(),S(a,{key:0,onNotify:t[1]||(t[1]=r=>e.$emit("resize",r))})):w("",!0)],64)):w("",!0)],512),v("div",{ref:"arrow",class:"v-popper__arrow-container",style:Ne(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},cc,4)],4)],46,ic)}const Fo=at(sc,[["render",dc]]),Ro={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let bt=function(){};typeof window<"u"&&(bt=window.Element);const uc=k({name:"VPopperWrapper",components:{Popper:Zl,PopperContent:Fo},mixins:[Ro,zo("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,bt,Boolean],default:void 0},boundary:{type:[String,bt],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function pc(e,t,o,n,s,i){const a=X("PopperContent"),r=X("Popper");return c(),S(r,oe({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:m(({popperId:l,isShown:p,shouldMountContent:y,skipTransition:f,autoHide:_,show:g,hide:$,handleResize:P,onResize:b,classes:L,result:C})=>[u(e.$slots,"default",{shown:p,show:g,hide:$}),T(a,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:p,mounted:y,"skip-transition":f,"auto-hide":_,"handle-resize":P,classes:L,result:C,onHide:$,onResize:b},{default:m(()=>[u(e.$slots,"popper",{shown:p,hide:$})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Ot=at(uc,[["render",pc]]),hc={...Ot,name:"VDropdown",vPopperTheme:"dropdown"},fc={...Ot,name:"VMenu",vPopperTheme:"menu"},vc={...Ot,name:"VTooltip",vPopperTheme:"tooltip"},mc=k({name:"VTooltipDirective",components:{Popper:Io(),PopperContent:Fo},mixins:[Ro],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ee(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ee(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,o=this.content(this);o.then?o.then(n=>this.onResult(t,n)):this.onResult(t,o)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),_c=["innerHTML"],gc=["textContent"];function yc(e,t,o,n,s,i){const a=X("PopperContent"),r=X("Popper");return c(),S(r,oe({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:m(({popperId:l,isShown:p,shouldMountContent:y,skipTransition:f,autoHide:_,hide:g,handleResize:$,onResize:P,classes:b,result:L})=>[T(a,{ref:"popperContent",class:B({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:p,mounted:y,"skip-transition":f,"auto-hide":_,"handle-resize":$,classes:b,result:L,onHide:g,onResize:P},{default:m(()=>[e.html?(c(),h("div",{key:0,innerHTML:e.finalContent},null,8,_c)):(c(),h("div",{key:1,textContent:O(e.finalContent)},null,8,gc))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const $c=at(mc,[["render",yc]]),jo="v-popper--has-tooltip";function bc(e,t){let o=e.placement;if(!o&&t)for(const n of Bo)t[n]&&(o=n);return o||(o=Ee(e.theme||"tooltip","placement")),o}function Wo(e,t,o){let n;const s=typeof t;return s==="string"?n={content:t}:t&&s==="object"?n=t:n={content:!1},n.placement=bc(n,o),n.targetNodes=()=>[e],n.referenceNode=()=>e,n}let ut,De,wc=0;function kc(){if(ut)return;De=H([]),ut=hn({name:"VTooltipDirectiveApp",setup(){return{directives:De}},render(){return this.directives.map(t=>fn($c,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ut.mount(e)}function Pc(e,t,o){kc();const n=H(Wo(e,t,o)),s=H(!1),i={id:wc++,options:n,shown:s};return De.value.push(i),e.classList&&e.classList.add(jo),e.$_popper={options:n,item:i,show(){s.value=!0},hide(){s.value=!1}}}function Go(e){if(e.$_popper){const t=De.value.indexOf(e.$_popper.item);t!==-1&&De.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(jo)}function eo(e,{value:t,modifiers:o}){const n=Wo(e,t,o);if(!n.content||Ee(n.theme||"tooltip","disabled"))Go(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=n):s=Pc(e,t,o),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const Sc={beforeMount:eo,updated:eo,beforeUnmount(e){Go(e)}};function to(e){e.addEventListener("mousedown",Xe),e.addEventListener("click",Xe),e.addEventListener("touchstart",Uo,Ce?{passive:!0}:!1)}function oo(e){e.removeEventListener("mousedown",Xe),e.removeEventListener("click",Xe),e.removeEventListener("touchstart",Uo),e.removeEventListener("touchend",qo),e.removeEventListener("touchcancel",Ko)}function Xe(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Uo(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const o=e.changedTouches[0];t.$_vclosepopover_touchPoint=o,t.addEventListener("touchend",qo),t.addEventListener("touchcancel",Ko)}}function qo(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],n=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-n.screenY)<20&&Math.abs(o.screenX-n.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Ko(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Tc={beforeMount(e,{value:t,modifiers:o}){e.$_closePopoverModifiers=o,(typeof t>"u"||t)&&to(e)},updated(e,{value:t,oldValue:o,modifiers:n}){e.$_closePopoverModifiers=n,t!==o&&(typeof t>"u"||t?to(e):oo(e))},beforeUnmount(e){oo(e)}};function Lc(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Ho(Z,t),e.directive("tooltip",Sc),e.directive("close-popper",Tc),e.component("VTooltip",vc),e.component("VDropdown",hc),e.component("VMenu",fc))}const Ac={version:"5.2.2",install:Lc,options:Z},no=typeof navigator<"u"&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),Vc={install:(e,t={})=>{typeof window<"u"&&window.addEventListener("click",o=>{o.composedPath().some(s=>{var i,a,r,l;return((a=(i=s==null?void 0:s.classList)==null?void 0:i.contains)==null?void 0:a.call(i,"vp-code-group"))||((l=(r=s==null?void 0:s.classList)==null?void 0:r.contains)==null?void 0:l.call(r,"tabs"))})&&Do()},{passive:!0}),e.use(Ac,{...t,themes:{twoslash:{$extend:"dropdown",triggers:no?["touch"]:["hover","touch"],popperTriggers:no?["touch"]:["hover","touch"],placement:"bottom-start",overflowPadding:10,delay:0,handleResize:!1,autoHide:!0,instantMove:!0,flip:!1,arrowPadding:8,autoBoundaryMaxSize:!0},"twoslash-query":{$extend:"twoslash",triggers:["click"],popperTriggers:["click"],autoHide:!1},"twoslash-completion":{$extend:"twoslash-query",triggers:["click"],popperTriggers:["click"],autoHide:!1,distance:0,arrowOverflow:!0},...t.theme}})}},Nc={extends:Al,enhanceApp({app:e}){e.use(Vc)}};export{Za as c,Nc as t,N as u}; diff --git a/assets/index.md.D2c0lH4-.js b/assets/index.md.D2c0lH4-.js new file mode 100644 index 00000000..e113bbee --- /dev/null +++ b/assets/index.md.D2c0lH4-.js @@ -0,0 +1,161 @@ +import{_ as n,c as h,j as s,a as i,I as l,w as a,a9 as t,D as p,o as r}from"./chunks/framework.CPdKJSF1.js";const Ds=JSON.parse('{"title":"eslint-plugin-lodash-template","description":"","frontmatter":{},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1721431800000}'),k={name:"index.md"},o=t(`

eslint-plugin-lodash-template

ESLint plugin for John Resig-style micro templating.

NPM licenseNPM versionNPM downloads

It can be used in projects using Underscore.js and Lodash's template.

This plugin supports code checking for templates like the examples below.

html
<div id="<%= id %>" class="<%= (i % 2 == 1 ? ' even': '') %>">
+  <div class="grid_1 alpha right">
+    <img class="righted" src="<%= profile_image_url %>"/>
+  </div>
+  <div class="grid_6 omega contents">
+    <p><b><a href="/<%= from_user %>"><%= from_user %></a>:</b> <%= text %></p>
+  </div>
+</div>
html
<% for ( var i = 0; i < users.length; i++ ) { %>
+  <li><a href="<%= users[i].url %>"><%= users[i].name %></a></li>
+<% } %>

Playground on the Web

Features

  • Enable ESLint in Underscore.js and Lodash's templates.
  • You can find issues specific to template tags.
  • Improves readability of HTML templates.
  • For JavaScript (TypeScript) templates, enable ESLint both inside and outside the template tag. (This is an experimental feature)
  • Partial supports for EJS.

Installation

bash
npm install --save-dev eslint eslint-plugin-lodash-template

Usage

Create .eslintrc.* file to configure rules. See also: http://eslint.org/docs/user-guide/configuring.

Example eslint.config.js:

js
import lodashTemplate from 'eslint-plugin-lodash-template'
+export default [
+    {
+        files: ['**/*.html'],
+        ...lodashTemplate.configs['flat/recommended-with-html']
+    }
+]

Example .eslintrc.js:

js
module.exports = {
+  extends: [
+    // add more generic rulesets here, such as:
+    // 'eslint:recommended',
+    'plugin:lodash-template/recommended-with-html'
+  ],
+  rules: {
+    // override/add rules settings here, such as:
+    // 'lodash-template/no-warning-html-comments': 'error'
+  }
+}

Attention

This plugin does special handling for the following rule warnings in the template.

Rule IDProcess DescriptionAnother way this plugin supports
indentDisable warningslodash-template/scriptlet-indent rule,
lodash-template/html-indentrule
@stylistic/indentDisable warningslodash-template/scriptlet-indent rule,
lodash-template/html-indent rule
strictDisable warnings--
no-emptyDisable warnings--
max-statements-per-lineDisable warnings--
@stylistic/max-statements-per-lineDisable warnings--
padded-blocksDisable warnings--
@stylistic/padded-blocksDisable warnings--
no-implicit-globalsDisable warnings--
no-multi-spacesDisable warningslodash-template/no-multi-spaces-in-scriptlet rule,
lodash-template/no-multi-spaces-in-html-tag rule
@stylistic/no-multi-spacesDisable warningslodash-template/no-multi-spaces-in-scriptlet rule,
lodash-template/no-multi-spaces-in-html-tag rule
no-unused-expressionsDisable warnings within interpolate(<%=...%>)--
quotesDisable warnings if doublequote is set--
@stylistic/quotesDisable warnings if doublequote is set--
no-irregular-whitespaceDisable warnings outside template tagslodash-template/no-irregular-whitespace rule

Configs

For eslint.config.js

This plugin provides 7 predefined configs:

  • *.configs['flat/base'] - Settings and rules to enable correct ESLint parsing
  • *.configs['flat/base-with-ejs'] - Settings and rules to enable correct ESLint parsing for EJS
  • *.configs['flat/best-practices'] - Above, plus rules to improve dev experience
  • *.configs['flat/recommended'] - Above, plus rules to improve code readability
  • *.configs['flat/recommended-with-html'] - Above, plus rules to improve code readability with HTML template
  • *.configs['flat/recommended-with-script'] - *.configs['flat/recommended'] config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
  • *.configs['flat/all'] - All rules of this plugin are included

For .eslintrc.*

This plugin provides 6 predefined configs:

  • plugin:lodash-template/base - Settings and rules to enable correct ESLint parsing
  • plugin:lodash-template/best-practices - Above, plus rules to improve dev experience
  • plugin:lodash-template/recommended - Above, plus rules to improve code readability
  • plugin:lodash-template/recommended-with-html - Above, plus rules to improve code readability with HTML template
  • plugin:lodash-template/recommended-with-script - plugin:lodash-template/recommended config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
  • plugin:lodash-template/all - All rules of this plugin are included

All Rules

Please see All Rules

Plugin Option

Suppress no-undef warnings in the template tag

Please set the global variable used in all templates as follows.

.eslintrc.*:

diff
  {
+      "settings": {
++         "lodash-template/globals": ["variableName"]
+      }
+  }

Please write the global comment in the file as follows for the variable to be used with a specific template.

diff
+ <% /* global users */ %>
+  <% for ( var i = 0; i < users.length; i++ ) { %>
+    <li><a href="<%= users[i].url %>"><%= users[i].name %></a></li>
+  <% } %>

Suppress reports for specific rules in template files

Please set as follows.

.eslintrc.*:

diff
  {
+      "settings": {
++         "lodash-template/ignoreRules": ["no-undef", "no-tabs"]
+      }
+  }

The ESLint standard suppression method can also be used by using template tag, as follows.

diff
+ <% /* eslint no-ternary: 0 */ %>

Customize parser

For example, if you set Lodash templateSettings as follows,

js
_.templateSettings = {
+    evaluate:    /{{([\\s\\S]+?)}}/g,
+    interpolate: /{{=([\\s\\S]+?)}}/g,
+    escape:      /{{-([\\s\\S]+?)}}/g
+};

please set parserOptions(ex. .eslintrc.*) as follows.

diff
      parserOptions: {
++         templateSettings: {
++             evaluate:    ["{{", "}}"],
++             interpolate: ["{{=", "}}"],
++             escape:      ["{{-", "}}"],
++         },
+      },

For example, to parse like EJS, set as follows,

(If plugin:lodash-template/*** is set in extends, it is automatically applied to the extension .ejs.)

diff
      parserOptions: {
++         templateSettings: {
++             evaluate:    [ ["<%", "<%_"], ["%>", "-%>", "_%>"] ],
++             interpolate: [  "<%-",        ["%>", "-%>", "_%>"] ],
++             escape:      [  "<%=",        ["%>", "-%>", "_%>"] ],
++             comment:     [  "<%#",        ["%>", "-%>", "_%>"] ],
++             literal:     [  "<%%" ],
++         },
+      },

(This plugin do not provide complete support for EJS. e.g. the include directive.)

Customize target extensions

Please set .eslintrc.* as follows.

(For example, for EJS.)

diff
+    "overrides": [
++        {
++            "files": ["*.ejs"],
++            "processor": "lodash-template/html"
++        }
++    ]

For JavaScript (TypeScript) Templates

(This is an experimental feature. Also check for known limitations.)

For example if you have a file like below.

`,57),d={class:"language-js vp-adaptive-theme"},g=s("button",{title:"Copy Code",class:"copy"},null,-1),c=s("span",{class:"lang"},"js",-1),u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"/* eslint no-multi-spaces: error */")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<%"),s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}}," /* eslint lodash-template/no-multi-spaces-in-scriptlet: error */"),s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," %>")],-1),f=s("span",{class:"line"},null,-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// if this plugin is not used, a parsing error will occur.")],-1),b={class:"line"},F=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1),v=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," obj",-1),D=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," ")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,"Multiple spaces found before '='. (no-multi-spaces)")])],-1),q=t('= <%= JSON.stringify(options',6),C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),_=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Multiple spaces found before "),s("code",null,")"),i(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),i(")")])])],-1),x=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},") ",-1),w=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>",-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// ^^^^ ^^^^^ ")],-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// | |")],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'// | If you don\'t use `"plugin:lodash-template/recommended-with-script"`,')],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// | only the space after `options` is reported.")],-1),P=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// |")],-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'// + When using `"plugin:lodash-template/recommended-with-script"`, the space after `obj` is also reported.')],-1),L=t(`

Playground on the Web

Configuring

Please set .eslintrc.* as follows.

diff
+    "overrides": [
++        {
++            "files": ["**/your/templates/*.js"],
++            "extends": ["plugin:lodash-template/recommended-with-script"]
++        }
++    ]

If you do not want to use the included rules, set the details as follows.

diff
    "overrides": [
+        {
+            "files": ["**/your/templates/*.js"],
+-            "extends": ["plugin:lodash-template/recommended-with-script"],
++            "extends": ["plugin:lodash-template/base"],
++            "processor": "lodash-template/script"
+        }
+    ]

If you want to use it with TypeScript, you need to configure parserOptions.

diff
    "overrides": [
+        {
+-            "files": ["**/your/templates/*.js"],
++            "files": ["**/your/templates/*.ts"],
++            "parserOptions": {
++                 "parser": "@typescript-eslint/parser",
++                 "sourceType": "module"
++            },
+            "extends": ["plugin:lodash-template/recommended-with-script"]
+        }
+    ]

FAQ

Known Limitations in Script Templates

Due to known limitations in script templates, you may need to rewrite some templates. Otherwise, you may not be able to use this plugin or some rules.

Parsing Error

Interpolation in the script template will try to replace it with an identifier and parse it. If you generate a complex script in interpolation, you may get a parsing error.

👍 The following script can be parsed well.

js
let <%= idName %> = 42;
+export { <%= idName %> };

👎 The following script cannot be parsed well.

js
<%= 'let ' + idName %> = 42;
+export { <%= idName %> };

False Positives in Some Rules

If you use branching in your template, the plugin will generate multiple script ASTs needed to cover all branches. (Then merge the results of validating these ASTs.)
This can confuse some rules and cause false positives.

However, this is necessary to avoid script parsing errors.

e.g.

Template:

js
const a = 'foo'
+<% if (x) { %>
+  const b = 1;
+<% } else { %>
+  const b = 2;
+<% } %>

Generated Script 1:

js

+const a = 'foo'
+
+  const b = 1;

Generated Script 2:

js

+const a = 'foo'
+
+
+
+  const b = 2;

If we use the following script, it is a parsing error.

js

+const a = 'foo'
+
+  const b = 1;
+
+  const b = 2; // <- Identifier 'b' has already been declared

The plugin also tries to generate scripts using branches that are as consistent as possible.

e.g.

Template:

js
<% if (x.foo) { %>
+  const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+  console.log(a)
+<% } else { %>
+  // process for x.foo is false
+<% } %>

Generated Script 1:

js

+  const a = 'x.foo is true'
+
+// ...
+
+  console.log(a)

Generated Script 2:

js

+
+
+// ...
+
+
+
+  // process for x.foo is false

However, branching conditions are compared using text, so even logically the same can be confusing.

e.g.

Template:

js
<% if (x['foo']) { %>
+  const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+  console.log(a)
+<% } else { %>
+  // process for x.foo is false
+<% } %>

Generated Script 1:

js

+  const a = 'x.foo is true'
+
+// ...
+
+  console.log(a)

Generated Script 2:

js

+  const a = 'x.foo is true'
+
+// ...
+
+
+
+  // process for x.foo is false

This template gets an error 'a' is assigned a value but never used. from the no-unused-vars rule.

Editor Settings

About how to mark warnings on editor.

`,48),R=s("p",null,[i("VSCode ("),s("a",{href:"https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint",target:"_blank",rel:"noreferrer"},"VS Code ESLint extension"),i(")")],-1),N=s("p",null,[s("strong",null,"settings.json"),i(":")],-1),J={class:"language-json vp-adaptive-theme"},M=s("button",{title:"Copy Code",class:"copy"},null,-1),G=s("span",{class:"lang"},"json",-1),V={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},U=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{")],-1),z={class:"line"},H=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "eslint.validate"',-1),Q=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")])],-1),Z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,"Parsing error: Unexpected token :")])],-1),W=t(' [ "javascript", "javascriptreact", { "language": "html", "autoFix": true } ]',13),O=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"}")],-1),X=s("p",null,[i("Sublime Text3 ("),s("a",{href:"https://packagecontrol.io/packages/SublimeLinter-eslint",target:"_blank",rel:"noreferrer"},"SublimeLinter-eslint"),i(")")],-1),Y=s("p",null,"[Preference] > [Package Settings] > [SublimeLinter] > [Settings]",-1),K={class:"language-json vp-adaptive-theme"},$=s("button",{title:"Copy Code",class:"copy"},null,-1),ss=s("span",{class:"lang"},"json",-1),is={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// SublimeLinter Settings - User")],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{")],-1),es={class:"line"},ls=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "linters"',-1),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,"Parsing error: Unexpected token :")])],-1),ps=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," {",-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "eslint"'),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": {")],-1),ks=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "selector"'),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"text.html, source.js - meta.attribute-with-value"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"}")],-1),cs=t('

Migrations

Contributing

Welcome contributing!

Please use GitHub's Issues/PRs.

parserServices

Information provided by parserServices on this plugin

Development Tools

  • npm test runs tests and measures coverage.
  • npm run update runs in order to update readme and recommended configuration.

License

See the LICENSE file for license rights and limitations (MIT).

',11);function us(Es,ys,fs,ms,bs,Fs){const e=p("v-menu");return r(),h("div",null,[o,s("div",d,[g,c,s("pre",u,[s("code",null,[E,i(` +`),y,i(` +`),f,i(` +`),m,i(` +`),s("span",b,[F,v,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[A]),default:a(()=>[D]),_:1}),q,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[_]),default:a(()=>[C]),_:1}),x,w]),i(` +`),B,i(` +`),S,i(` +`),j,i(` +`),T,i(` +`),P,i(` +`),I])])]),L,s("ul",null,[s("li",null,[R,N,s("div",J,[M,G,s("pre",V,[s("code",null,[U,i(` +`),s("span",z,[H,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[Z]),default:a(()=>[Q]),_:1}),W]),i(` +`),O])])])]),s("li",null,[X,Y,s("div",K,[$,ss,s("pre",is,[s("code",null,[as,i(` +`),ts,i(` +`),s("span",es,[ls,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[hs]),default:a(()=>[ns]),_:1}),ps]),i(` +`),rs,i(` +`),ks,i(` +`),os,i(` +`),ds,i(` +`),gs])])])])]),cs])}const As=n(k,[["render",us]]);export{Ds as __pageData,As as default}; diff --git a/assets/index.md.D2c0lH4-.lean.js b/assets/index.md.D2c0lH4-.lean.js new file mode 100644 index 00000000..4831b693 --- /dev/null +++ b/assets/index.md.D2c0lH4-.lean.js @@ -0,0 +1,20 @@ +import{_ as n,c as h,j as s,a as i,I as l,w as a,a9 as t,D as p,o as r}from"./chunks/framework.CPdKJSF1.js";const Ds=JSON.parse('{"title":"eslint-plugin-lodash-template","description":"","frontmatter":{},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1721431800000}'),k={name:"index.md"},o=t("",57),d={class:"language-js vp-adaptive-theme"},g=s("button",{title:"Copy Code",class:"copy"},null,-1),c=s("span",{class:"lang"},"js",-1),u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"/* eslint no-multi-spaces: error */")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<%"),s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}}," /* eslint lodash-template/no-multi-spaces-in-scriptlet: error */"),s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," %>")],-1),f=s("span",{class:"line"},null,-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// if this plugin is not used, a parsing error will occur.")],-1),b={class:"line"},F=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1),v=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," obj",-1),D=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," ")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,"Multiple spaces found before '='. (no-multi-spaces)")])],-1),q=t("",6),C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),_=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Multiple spaces found before "),s("code",null,")"),i(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),i(")")])])],-1),x=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},") ",-1),w=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>",-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// ^^^^ ^^^^^ ")],-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// | |")],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'// | If you don\'t use `"plugin:lodash-template/recommended-with-script"`,')],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// | only the space after `options` is reported.")],-1),P=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// |")],-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'// + When using `"plugin:lodash-template/recommended-with-script"`, the space after `obj` is also reported.')],-1),L=t("",48),R=s("p",null,[i("VSCode ("),s("a",{href:"https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint",target:"_blank",rel:"noreferrer"},"VS Code ESLint extension"),i(")")],-1),N=s("p",null,[s("strong",null,"settings.json"),i(":")],-1),J={class:"language-json vp-adaptive-theme"},M=s("button",{title:"Copy Code",class:"copy"},null,-1),G=s("span",{class:"lang"},"json",-1),V={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},U=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{")],-1),z={class:"line"},H=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "eslint.validate"',-1),Q=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")])],-1),Z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,"Parsing error: Unexpected token :")])],-1),W=t("",13),O=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"}")],-1),X=s("p",null,[i("Sublime Text3 ("),s("a",{href:"https://packagecontrol.io/packages/SublimeLinter-eslint",target:"_blank",rel:"noreferrer"},"SublimeLinter-eslint"),i(")")],-1),Y=s("p",null,"[Preference] > [Package Settings] > [SublimeLinter] > [Settings]",-1),K={class:"language-json vp-adaptive-theme"},$=s("button",{title:"Copy Code",class:"copy"},null,-1),ss=s("span",{class:"lang"},"json",-1),is={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// SublimeLinter Settings - User")],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"{")],-1),es={class:"line"},ls=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "linters"',-1),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},":")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,"Parsing error: Unexpected token :")])],-1),ps=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," {",-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "eslint"'),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": {")],-1),ks=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},' "selector"'),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},": "),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"text.html, source.js - meta.attribute-with-value"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"}")],-1),cs=t("",11);function us(Es,ys,fs,ms,bs,Fs){const e=p("v-menu");return r(),h("div",null,[o,s("div",d,[g,c,s("pre",u,[s("code",null,[E,i(` +`),y,i(` +`),f,i(` +`),m,i(` +`),s("span",b,[F,v,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[A]),default:a(()=>[D]),_:1}),q,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[_]),default:a(()=>[C]),_:1}),x,w]),i(` +`),B,i(` +`),S,i(` +`),j,i(` +`),T,i(` +`),P,i(` +`),I])])]),L,s("ul",null,[s("li",null,[R,N,s("div",J,[M,G,s("pre",V,[s("code",null,[U,i(` +`),s("span",z,[H,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[Z]),default:a(()=>[Q]),_:1}),W]),i(` +`),O])])])]),s("li",null,[X,Y,s("div",K,[$,ss,s("pre",is,[s("code",null,[as,i(` +`),ts,i(` +`),s("span",es,[ls,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[hs]),default:a(()=>[ns]),_:1}),ps]),i(` +`),rs,i(` +`),ks,i(` +`),os,i(` +`),ds,i(` +`),gs])])])])]),cs])}const As=n(k,[["render",us]]);export{Ds as __pageData,As as default}; diff --git a/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 new file mode 100644 index 00000000..b6b603d5 Binary files /dev/null and b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 differ diff --git a/assets/inter-italic-cyrillic.By2_1cv3.woff2 b/assets/inter-italic-cyrillic.By2_1cv3.woff2 new file mode 100644 index 00000000..def40a4f Binary files /dev/null and b/assets/inter-italic-cyrillic.By2_1cv3.woff2 differ diff --git a/assets/inter-italic-greek-ext.1u6EdAuj.woff2 b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 new file mode 100644 index 00000000..e070c3d3 Binary files /dev/null and b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 differ diff --git a/assets/inter-italic-greek.DJ8dCoTZ.woff2 b/assets/inter-italic-greek.DJ8dCoTZ.woff2 new file mode 100644 index 00000000..a3c16ca4 Binary files /dev/null and b/assets/inter-italic-greek.DJ8dCoTZ.woff2 differ diff --git a/assets/inter-italic-latin-ext.CN1xVJS-.woff2 b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 new file mode 100644 index 00000000..2210a899 Binary files /dev/null and b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 differ diff --git a/assets/inter-italic-latin.C2AdPX0b.woff2 b/assets/inter-italic-latin.C2AdPX0b.woff2 new file mode 100644 index 00000000..790d62dc Binary files /dev/null and b/assets/inter-italic-latin.C2AdPX0b.woff2 differ diff --git a/assets/inter-italic-vietnamese.BSbpV94h.woff2 b/assets/inter-italic-vietnamese.BSbpV94h.woff2 new file mode 100644 index 00000000..1eec0775 Binary files /dev/null and b/assets/inter-italic-vietnamese.BSbpV94h.woff2 differ diff --git a/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 new file mode 100644 index 00000000..2cfe6153 Binary files /dev/null and b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 differ diff --git a/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 new file mode 100644 index 00000000..e3886dd1 Binary files /dev/null and b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 differ diff --git a/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 new file mode 100644 index 00000000..36d67487 Binary files /dev/null and b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 differ diff --git a/assets/inter-roman-greek.BBVDIX6e.woff2 b/assets/inter-roman-greek.BBVDIX6e.woff2 new file mode 100644 index 00000000..2bed1e85 Binary files /dev/null and b/assets/inter-roman-greek.BBVDIX6e.woff2 differ diff --git a/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 new file mode 100644 index 00000000..9a8d1e2b Binary files /dev/null and b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 differ diff --git a/assets/inter-roman-latin.Di8DUHzh.woff2 b/assets/inter-roman-latin.Di8DUHzh.woff2 new file mode 100644 index 00000000..07d3c53a Binary files /dev/null and b/assets/inter-roman-latin.Di8DUHzh.woff2 differ diff --git a/assets/inter-roman-vietnamese.BjW4sHH5.woff2 b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 new file mode 100644 index 00000000..57bdc22a Binary files /dev/null and b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 differ diff --git a/assets/migration_0.13to0.14.md.BYhuNpkM.js b/assets/migration_0.13to0.14.md.BYhuNpkM.js new file mode 100644 index 00000000..0b22a04c --- /dev/null +++ b/assets/migration_0.13to0.14.md.BYhuNpkM.js @@ -0,0 +1,31 @@ +import{_ as s,c as a,o as e,a9 as i}from"./chunks/framework.CPdKJSF1.js";const g=JSON.parse('{"title":"0.13.x to 0.14.x","description":"","frontmatter":{},"headers":[],"relativePath":"migration/0.13to0.14.md","filePath":"migration/0.13to0.14.md","lastUpdated":1721431800000}'),t={name:"migration/0.13to0.14.md"},n=i(`

0.13.x to 0.14.x

Breaking Changes

  • Moved some rule categories.
  • Rename some rules.
  • The configuration method for customizing the target extension has changed.
  • The configuration method for suppressing the reporting of specific rules in the template file has changed.
  • Drop supports for ESLint@5

Moved some rule categories.

In 0.13.x

  • Rule lodash-template/no-warning-html-comments was category best-practices.
  • Rule lodash-template/no-html-comments was category best-practices.

For 0.14.x

  • Rule lodash-template/no-warning-html-comments has moved to category recommended-with-html.
  • Rule lodash-template/no-html-comments has moved to category recommended-with-html.

Rename some rules.

  • lodash-template/no-multi-spaces-in-script to lodash-template/no-multi-spaces-in-scriptlet
  • lodash-template/script-indent to lodash-template/scriptlet-indent

Customize target extentions

In 0.13.x

In 0.13.x, it was set in .eslintrc.js as follows:

(For example, for EJS.)

diff
  "use strict"
+
++ const pluginLodashTemplate = require("eslint-plugin-lodash-template")
++ pluginLodashTemplate.addTargetExtensions(".ejs")
+
+  module.exports = {

For 0.14.x

For 0.14.x, please set .eslintrc.* as follows:

(For example, for EJS.)

diff
+    "overrides": [
++        {
++            "files": ["*.ejs"],
++            "processor": "lodash-template/html"
++        }
++    ]

Suppress no-undef warnings in the template tag

In 0.13.x

In 0.13.x, it was set the global variable used in all templates as follows.

.eslintrc.json:

diff
  {
+      "rules": {
++         "lodash-template/plugin-option": [2, {
++             "globals": ["variableName"],
++         }]
+      }
+  }

For 0.14.x

For 0.14.x, please set the global variable used in all templates as follows.

.eslintrc.json:

diff
  {
+      "settings": {
++         "lodash-template/globals": ["variableName"]
+      }
+  }

Suppress reports for specific rules in template files

In 0.13.x

In 0.13.x, it was set as follows.

.eslintrc.json:

diff
  {
+      "rules": {
++         "lodash-template/plugin-option": [2, {
++             "ignoreRules": ["no-undef", "no-tabs"],
++         }]
+      }
+  }

For 0.14.x

For 0.14.x, please set as follows.

.eslintrc.json:

diff
  {
+      "settings": {
++         "lodash-template/ignoreRules": ["no-undef", "no-tabs"]
+      }
+  }
`,37),l=[n];function o(h,p,r,d,c,k){return e(),a("div",null,l)}const m=s(t,[["render",o]]);export{g as __pageData,m as default}; diff --git a/assets/migration_0.13to0.14.md.BYhuNpkM.lean.js b/assets/migration_0.13to0.14.md.BYhuNpkM.lean.js new file mode 100644 index 00000000..b23e113e --- /dev/null +++ b/assets/migration_0.13to0.14.md.BYhuNpkM.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,o as e,a9 as i}from"./chunks/framework.CPdKJSF1.js";const g=JSON.parse('{"title":"0.13.x to 0.14.x","description":"","frontmatter":{},"headers":[],"relativePath":"migration/0.13to0.14.md","filePath":"migration/0.13to0.14.md","lastUpdated":1721431800000}'),t={name:"migration/0.13to0.14.md"},n=i("",37),l=[n];function o(h,p,r,d,c,k){return e(),a("div",null,l)}const m=s(t,[["render",o]]);export{g as __pageData,m as default}; diff --git a/assets/rules_attribute-name-casing.md.B_fPGJoI.js b/assets/rules_attribute-name-casing.md.B_fPGJoI.js new file mode 100644 index 00000000..e7e41a1f --- /dev/null +++ b/assets/rules_attribute-name-casing.md.B_fPGJoI.js @@ -0,0 +1,16 @@ +import{_ as n,c as o,j as s,a as i,I as l,w as t,a9 as a,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const W=JSON.parse('{"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)"},"headers":[],"relativePath":"rules/attribute-name-casing.md","filePath":"rules/attribute-name-casing.md","lastUpdated":1721431800000}'),p={name:"rules/attribute-name-casing.md"},d=a('

lodash-template/attribute-name-casing

enforce HTML attribute name casing. (ex. 🆗 <div foo-bar> 🆖 <div fooBar> <div FOO-BAR>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces attribute name casing style (kebab-case).

',5),k={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-name-casing": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=a('<div foo-bar="abc">',1),_=s("span",{class:"line"},null,-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f={class:"line"},v=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),C=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),F=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"fooBar")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Attribute "),s("code",null,"fooBar"),i(" must be 'kebab-case'. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-name-casing.html"},"lodash-template/attribute-name-casing"),i(")")])])],-1),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),w=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"',-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),x={class:"line"},T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),O=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),P=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"FOO-BAR")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Attribute "),s("code",null,"FOO-BAR"),i(" must be 'kebab-case'. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-name-casing.html"},"lodash-template/attribute-name-casing"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),V=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"',-1),I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),M=a(`

Options

json
{
+  "lodash-template/attribute-name-casing": ["error", {
+    "ignore": [],
+    "ignoreSvgCamelCaseAttributes": true,
+  }]
+}

Examples for this rule with "ignore": ["onClick"] option:

html
<% /* eslint "lodash-template/attribute-name-casing": ["error", {"ignore": ["onClick"]}] */ %>
+<!-- ✓ GOOD -->
+<div onClick="abc">

Examples for this rule with "ignoreSvgCamelCaseAttributes": true, (default)

html
<% /* eslint "lodash-template/attribute-name-casing": ["error", {"ignoreSvgCamelCaseAttributes": true}] */ %>
+<!-- ✓ GOOD -->
+<svg viewBox="0 0 100 100"></svg>

Further Reading

Implementation

`,10);function H(L,G,j,z,$,U){const e=h("v-menu");return r(),o("div",null,[d,s("div",k,[c,u,s("pre",g,[s("code",null,[m,i(` +`),E,i(` +`),b,i(` +`),_,i(` +`),y,i(` +`),s("span",f,[v,q,C,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[F]),_:1}),B,w,D]),i(` +`),s("span",x,[T,O,S,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[P]),_:1}),N,V,I])])])]),M])}const K=n(p,[["render",H]]);export{W as __pageData,K as default}; diff --git a/assets/rules_attribute-name-casing.md.B_fPGJoI.lean.js b/assets/rules_attribute-name-casing.md.B_fPGJoI.lean.js new file mode 100644 index 00000000..500552d0 --- /dev/null +++ b/assets/rules_attribute-name-casing.md.B_fPGJoI.lean.js @@ -0,0 +1,7 @@ +import{_ as n,c as o,j as s,a as i,I as l,w as t,a9 as a,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const W=JSON.parse('{"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)"},"headers":[],"relativePath":"rules/attribute-name-casing.md","filePath":"rules/attribute-name-casing.md","lastUpdated":1721431800000}'),p={name:"rules/attribute-name-casing.md"},d=a("",5),k={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-name-casing": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=a("",1),_=s("span",{class:"line"},null,-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f={class:"line"},v=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),C=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),F=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"fooBar")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Attribute "),s("code",null,"fooBar"),i(" must be 'kebab-case'. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-name-casing.html"},"lodash-template/attribute-name-casing"),i(")")])])],-1),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),w=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"',-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),x={class:"line"},T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),O=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),P=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"FOO-BAR")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Attribute "),s("code",null,"FOO-BAR"),i(" must be 'kebab-case'. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-name-casing.html"},"lodash-template/attribute-name-casing"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),V=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"',-1),I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),M=a("",10);function H(L,G,j,z,$,U){const e=h("v-menu");return r(),o("div",null,[d,s("div",k,[c,u,s("pre",g,[s("code",null,[m,i(` +`),E,i(` +`),b,i(` +`),_,i(` +`),y,i(` +`),s("span",f,[v,q,C,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[F]),_:1}),B,w,D]),i(` +`),s("span",x,[T,O,S,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[P]),_:1}),N,V,I])])])]),M])}const K=n(p,[["render",H]]);export{W as __pageData,K as default}; diff --git a/assets/rules_attribute-value-quote.md.D5rEfMyZ.js b/assets/rules_attribute-value-quote.md.D5rEfMyZ.js new file mode 100644 index 00000000..f8f7cf4d --- /dev/null +++ b/assets/rules_attribute-value-quote.md.D5rEfMyZ.js @@ -0,0 +1,19 @@ +import{_ as o,c as h,j as s,a as t,I as l,w as i,a9 as e,D as n,o as r}from"./chunks/framework.CPdKJSF1.js";const Rs=JSON.parse('{"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
` :ng: `
` `
`)"},"headers":[],"relativePath":"rules/attribute-value-quote.md","filePath":"rules/attribute-value-quote.md","lastUpdated":1721431800000}'),p={name:"rules/attribute-value-quote.md"},d=e('

lodash-template/attribute-value-quote

enforce quotes style of HTML attributes. (ex. 🆗 <div class="abc"> 🆖 <div class='abc'> <div class=abc>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces the quotes style of HTML attributes.

',5),k={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=e('<img src="./logo.png">',1),b=s("span",{class:"line"},null,-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),q={class:"line"},f=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),v=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),F=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),A=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'./logo.png'")])],-1),C=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by double quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),w={class:"line"},B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),x=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),I=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by double quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),R=e('

Options

json
{\n  "lodash-template/attribute-value-quote": ["error", "double" | "single" | "either" | "prefer-double"]\n}
  • "double" ... requires double quotes.
  • "single" ... requires single quotes.
  • "either" ... requires double quotes or single quotes.
  • "prefer-double" (default) ... requires double quotes or single quotes. if do not need escape double quotes, requires double quotes.

Examples for this rule with "single" option:

',4),M={class:"language-html vp-adaptive-theme"},O=s("button",{title:"Copy Code",class:"copy"},null,-1),H=s("span",{class:"lang"},"html",-1),L={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},G=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "single"] */ %>')],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Q=e('<img src='./logo.png'>',1),$=s("span",{class:"line"},null,-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),U={class:"line"},W=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),z=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),K=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"./logo.png"')])],-1),Z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ss=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),ts={class:"line"},is=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),as=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),ls=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),os=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),rs=s("h3",{id:"examples-for-this-rule-with-either-option",tabindex:"-1"},[t("Examples for this rule with "),s("code",null,'"either"'),t(" option: "),s("a",{class:"header-anchor",href:"#examples-for-this-rule-with-either-option","aria-label":'Permalink to "Examples for this rule with `"either"` option:"'},"​")],-1),ps={class:"language-html vp-adaptive-theme"},ds=s("button",{title:"Copy Code",class:"copy"},null,-1),ks=s("span",{class:"lang"},"html",-1),cs={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "either"] */ %>')],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),gs=e('<img src="./logo.png">',1),Es=e('<img src='./logo.png'>',1),ys=s("span",{class:"line"},null,-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ms={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),fs=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),vs=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),Fs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),As=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),Cs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Ds=e('

Further Reading

Implementation

',4);function ws(Bs,xs,Ss,Ps,Vs,Is){const a=n("v-menu");return r(),h("div",null,[d,s("div",k,[c,u,s("pre",_,[s("code",null,[g,t(` +`),E,t(` +`),y,t(` +`),b,t(` +`),m,t(` +`),s("span",q,[f,v,F,T,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[C]),default:i(()=>[A]),_:1}),D]),t(` +`),s("span",w,[B,x,S,P,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[I]),default:i(()=>[V]),_:1}),N])])])]),R,s("div",M,[O,H,s("pre",L,[s("code",null,[G,t(` +`),j,t(` +`),Q,t(` +`),$,t(` +`),J,t(` +`),s("span",U,[W,z,K,X,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Z]),default:i(()=>[Y]),_:1}),ss]),t(` +`),s("span",ts,[is,es,as,ls,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[hs]),default:i(()=>[os]),_:1}),ns])])])]),rs,s("div",ps,[ds,ks,s("pre",cs,[s("code",null,[us,t(` +`),_s,t(` +`),gs,t(` +`),Es,t(` +`),ys,t(` +`),bs,t(` +`),s("span",ms,[qs,fs,vs,Fs,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[As]),default:i(()=>[Ts]),_:1}),Cs])])])]),Ds])}const Ms=o(p,[["render",ws]]);export{Rs as __pageData,Ms as default}; diff --git a/assets/rules_attribute-value-quote.md.D5rEfMyZ.lean.js b/assets/rules_attribute-value-quote.md.D5rEfMyZ.lean.js new file mode 100644 index 00000000..f67ac5bb --- /dev/null +++ b/assets/rules_attribute-value-quote.md.D5rEfMyZ.lean.js @@ -0,0 +1,19 @@ +import{_ as o,c as h,j as s,a as t,I as l,w as i,a9 as e,D as n,o as r}from"./chunks/framework.CPdKJSF1.js";const Rs=JSON.parse('{"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
` :ng: `
` `
`)"},"headers":[],"relativePath":"rules/attribute-value-quote.md","filePath":"rules/attribute-value-quote.md","lastUpdated":1721431800000}'),p={name:"rules/attribute-value-quote.md"},d=e("",5),k={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=e("",1),b=s("span",{class:"line"},null,-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),q={class:"line"},f=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),v=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),F=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),A=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'./logo.png'")])],-1),C=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by double quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),w={class:"line"},B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),x=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),I=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by double quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),R=e("",4),M={class:"language-html vp-adaptive-theme"},O=s("button",{title:"Copy Code",class:"copy"},null,-1),H=s("span",{class:"lang"},"html",-1),L={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},G=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "single"] */ %>')],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Q=e("",1),$=s("span",{class:"line"},null,-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),U={class:"line"},W=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),z=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),K=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"./logo.png"')])],-1),Z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ss=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),ts={class:"line"},is=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),as=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),ls=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),os=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),rs=s("h3",{id:"examples-for-this-rule-with-either-option",tabindex:"-1"},[t("Examples for this rule with "),s("code",null,'"either"'),t(" option: "),s("a",{class:"header-anchor",href:"#examples-for-this-rule-with-either-option","aria-label":'Permalink to "Examples for this rule with `"either"` option:"'},"​")],-1),ps={class:"language-html vp-adaptive-theme"},ds=s("button",{title:"Copy Code",class:"copy"},null,-1),ks=s("span",{class:"lang"},"html",-1),cs={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "either"] */ %>')],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),gs=e("",1),Es=e("",1),ys=s("span",{class:"line"},null,-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ms={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),fs=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),vs=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),Fs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),As=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),Cs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Ds=e("",4);function ws(Bs,xs,Ss,Ps,Vs,Is){const a=n("v-menu");return r(),h("div",null,[d,s("div",k,[c,u,s("pre",_,[s("code",null,[g,t(` +`),E,t(` +`),y,t(` +`),b,t(` +`),m,t(` +`),s("span",q,[f,v,F,T,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[C]),default:i(()=>[A]),_:1}),D]),t(` +`),s("span",w,[B,x,S,P,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[I]),default:i(()=>[V]),_:1}),N])])])]),R,s("div",M,[O,H,s("pre",L,[s("code",null,[G,t(` +`),j,t(` +`),Q,t(` +`),$,t(` +`),J,t(` +`),s("span",U,[W,z,K,X,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Z]),default:i(()=>[Y]),_:1}),ss]),t(` +`),s("span",ts,[is,es,as,ls,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[hs]),default:i(()=>[os]),_:1}),ns])])])]),rs,s("div",ps,[ds,ks,s("pre",cs,[s("code",null,[us,t(` +`),_s,t(` +`),gs,t(` +`),Es,t(` +`),ys,t(` +`),bs,t(` +`),s("span",ms,[qs,fs,vs,Fs,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[As]),default:i(()=>[Ts]),_:1}),Cs])])])]),Ds])}const Ms=o(p,[["render",ws]]);export{Rs as __pageData,Ms as default}; diff --git a/assets/rules_element-name-casing.md.D8VKeOhs.js b/assets/rules_element-name-casing.md.D8VKeOhs.js new file mode 100644 index 00000000..cc9cd916 --- /dev/null +++ b/assets/rules_element-name-casing.md.D8VKeOhs.js @@ -0,0 +1,8 @@ +import{_ as n,c as o,j as e,a as s,I as l,w as t,a9 as i,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const U=JSON.parse('{"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
`)"},"headers":[],"relativePath":"rules/element-name-casing.md","filePath":"rules/element-name-casing.md","lastUpdated":1721431800000}'),c={name:"rules/element-name-casing.md"},p=i('

lodash-template/element-name-casing

enforce HTML element name casing. (ex. 🆗 <xxx-element> 🆖 <xxxElement> <DIV>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces element name casing style (kebab-case).

',5),d={class:"language-html vp-adaptive-theme"},m=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/element-name-casing": "error" */ %>')],-1),k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),b=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"xxx-element"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),f=e("span",{class:"line"},null,-1),x=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y={class:"line"},D=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"DIV")])],-1),v=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Element name "),e("code",null,"
"),s(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),s(")")])])],-1),T=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),w={class:"line"},A=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"xxxElement")])],-1),q=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Element name "),e("code",null,""),s(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),s(")")])])],-1),V=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),C=i('

Further Reading

Implementation

',4);function I(P,N,S,B,R,F){const a=h("v-menu");return r(),o("div",null,[p,e("div",d,[m,u,e("pre",_,[e("code",null,[g,s(` +`),k,s(` +`),E,s(` +`),b,s(` +`),f,s(` +`),x,s(` +`),e("span",y,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[v]),default:t(()=>[D]),_:1}),T]),s(` +`),e("span",w,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[q]),default:t(()=>[A]),_:1}),V])])])]),C])}const $=n(c,[["render",I]]);export{U as __pageData,$ as default}; diff --git a/assets/rules_element-name-casing.md.D8VKeOhs.lean.js b/assets/rules_element-name-casing.md.D8VKeOhs.lean.js new file mode 100644 index 00000000..01dac130 --- /dev/null +++ b/assets/rules_element-name-casing.md.D8VKeOhs.lean.js @@ -0,0 +1,8 @@ +import{_ as n,c as o,j as e,a as s,I as l,w as t,a9 as i,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const U=JSON.parse('{"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
`)"},"headers":[],"relativePath":"rules/element-name-casing.md","filePath":"rules/element-name-casing.md","lastUpdated":1721431800000}'),c={name:"rules/element-name-casing.md"},p=i("",5),d={class:"language-html vp-adaptive-theme"},m=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/element-name-casing": "error" */ %>')],-1),k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),b=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"xxx-element"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),f=e("span",{class:"line"},null,-1),x=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y={class:"line"},D=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"DIV")])],-1),v=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Element name "),e("code",null,"
"),s(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),s(")")])])],-1),T=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),w={class:"line"},A=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"xxxElement")])],-1),q=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Element name "),e("code",null,""),s(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),s(")")])])],-1),V=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),C=i("",4);function I(P,N,S,B,R,F){const a=h("v-menu");return r(),o("div",null,[p,e("div",d,[m,u,e("pre",_,[e("code",null,[g,s(` +`),k,s(` +`),E,s(` +`),b,s(` +`),f,s(` +`),x,s(` +`),e("span",y,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[v]),default:t(()=>[D]),_:1}),T]),s(` +`),e("span",w,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[q]),default:t(()=>[A]),_:1}),V])])])]),C])}const $=n(c,[["render",I]]);export{U as __pageData,$ as default}; diff --git a/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.js b/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.js new file mode 100644 index 00000000..671efdf0 --- /dev/null +++ b/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.js @@ -0,0 +1,48 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as o,o as k}from"./chunks/framework.CPdKJSF1.js";const Rs=JSON.parse(`{"title":"lodash-template/html-closing-bracket-newline","description":"require or disallow a line break before tag's closing brackets","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-closing-bracket-newline","description":"require or disallow a line break before tag's closing brackets"},"headers":[],"relativePath":"rules/html-closing-bracket-newline.md","filePath":"rules/html-closing-bracket-newline.md","lastUpdated":1721431800000}`),p={name:"rules/html-closing-bracket-newline.md"},r=a(`

lodash-template/html-closing-bracket-newline

require or disallow a line break before tag's closing brackets

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

People have own preference about the location of closing brackets. This rule enforces a line break (or no line break) before tag's closing brackets.

html
<div
+  id="foo"
+  class="bar"> <!-- On the same line with the last attribute. -->
+</div>
+<div
+  id="foo"
+  class="bar"
+> <!-- On the next line. -->
+</div>
`,6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-newline": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=a('<div id="foo" class="bar"></div>',1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),F=a(' class="bar"></div>',1),f=s("span",{class:"line"},null,-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},w=a('<div id="foo" class="bar"',8),q=s("span",null,[s("span")],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),x={class:"line"},S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),I=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),V=s("span",null,[s("span")],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),R=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),O=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),$={class:"line"},G=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),J=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),U=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),z=s("span",null,[s("span")],-1),H=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),K=a(' ></div>',1),L=a(`

Options

json
{
+  "lodash-template/html-closing-bracket-newline": ["error", {
+    "singleline": "never",
+    "multiline": "never"
+  }]
+}
  • singleline ... the configuration for single-line elements. It's a single-line element if the element does not have attributes or the last attribute is on the same line as the opening bracket.
    • "never" ... disallow line breaks before the closing bracket. This is the default.
    • "always" ... require one line break before the closing bracket.
  • multiline ... the configuration for multiline elements. It's a multiline element if the last attribute is not on the same line of the opening bracket.
    • "never" ... disallow line breaks before the closing bracket. This is the default.
    • "always" ... require one line break before the closing bracket.

Plus, you can use lodash-template/html-indent rule to enforce indent-level of the closing brackets.

Examples for this rule with { "multiline": "always" } option:

`,5),M={class:"language-html vp-adaptive-theme"},Q=s("button",{title:"Copy Code",class:"copy"},null,-1),W=s("span",{class:"lang"},"html",-1),X={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},Y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-newline": ["error", { "multiline": "always" }] */ %>')],-1),Z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ss=a('<div id="foo" class="bar"></div>',1),is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"')],-1),ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),es=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ns=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")],-1),ks=s("span",{class:"line"},null,-1),ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),rs={class:"line"},ds=a('<div id="foo" class="bar"',8),cs=s("span",null,[s("span")],-1),Es=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),ys={class:"line"},bs=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),ms=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Fs=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),fs=s("span",null,[s("span")],-1),Cs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected 1 line break before closing bracket, but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),vs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),As=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),Bs=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-closing-bracket-newline.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-closing-bracket-newline.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function Ds(Ts,xs,Ss,Ps,Is,Vs){const l=o("v-menu");return k(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[_,i(` +`),u,i(` +`),y,i(` +`),b,i(` +`),m,i(` +`),F,i(` +`),f,i(` +`),C,i(` +`),s("span",v,[w,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[q]),_:1})]),i(` +`),B,i(` +`),D,i(` +`),T,i(` +`),s("span",x,[S,P,I,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[N]),default:t(()=>[V]),_:1})]),i(` +`),R,i(` +`),O,i(` +`),j,i(` +`),s("span",$,[G,J,U,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[H]),default:t(()=>[z]),_:1})]),i(` +`),K])])]),L,s("div",M,[Q,W,s("pre",X,[s("code",null,[Y,i(` +`),Z,i(` +`),ss,i(` +`),is,i(` +`),ts,i(` +`),as,i(` +`),ls,i(` +`),es,i(` +`),ns,i(` +`),hs,i(` +`),os,i(` +`),ks,i(` +`),ps,i(` +`),s("span",rs,[ds,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Es]),default:t(()=>[cs]),_:1})]),i(` +`),gs,i(` +`),_s,i(` +`),us,i(` +`),s("span",ys,[bs,ms,Fs,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Cs]),default:t(()=>[fs]),_:1}),vs,ws,qs])])])]),As,Bs])}const Os=n(p,[["render",Ds]]);export{Rs as __pageData,Os as default}; diff --git a/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.lean.js b/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.lean.js new file mode 100644 index 00000000..ee1e69c3 --- /dev/null +++ b/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.lean.js @@ -0,0 +1,35 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as o,o as k}from"./chunks/framework.CPdKJSF1.js";const Rs=JSON.parse(`{"title":"lodash-template/html-closing-bracket-newline","description":"require or disallow a line break before tag's closing brackets","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-closing-bracket-newline","description":"require or disallow a line break before tag's closing brackets"},"headers":[],"relativePath":"rules/html-closing-bracket-newline.md","filePath":"rules/html-closing-bracket-newline.md","lastUpdated":1721431800000}`),p={name:"rules/html-closing-bracket-newline.md"},r=a("",6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-newline": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=a("",1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),F=a("",1),f=s("span",{class:"line"},null,-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},w=a("",8),q=s("span",null,[s("span")],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),x={class:"line"},S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),I=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),V=s("span",null,[s("span")],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),R=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),O=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),$={class:"line"},G=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),J=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),U=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),z=s("span",null,[s("span")],-1),H=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),K=a("",1),L=a("",5),M={class:"language-html vp-adaptive-theme"},Q=s("button",{title:"Copy Code",class:"copy"},null,-1),W=s("span",{class:"lang"},"html",-1),X={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},Y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-newline": ["error", { "multiline": "always" }] */ %>')],-1),Z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ss=a("",1),is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"')],-1),ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),es=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ns=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")],-1),ks=s("span",{class:"line"},null,-1),ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),rs={class:"line"},ds=a("",8),cs=s("span",null,[s("span")],-1),Es=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),ys={class:"line"},bs=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),ms=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Fs=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),fs=s("span",null,[s("span")],-1),Cs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected 1 line break before closing bracket, but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),vs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),As=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),Bs=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-closing-bracket-newline.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-closing-bracket-newline.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function Ds(Ts,xs,Ss,Ps,Is,Vs){const l=o("v-menu");return k(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[_,i(` +`),u,i(` +`),y,i(` +`),b,i(` +`),m,i(` +`),F,i(` +`),f,i(` +`),C,i(` +`),s("span",v,[w,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[q]),_:1})]),i(` +`),B,i(` +`),D,i(` +`),T,i(` +`),s("span",x,[S,P,I,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[N]),default:t(()=>[V]),_:1})]),i(` +`),R,i(` +`),O,i(` +`),j,i(` +`),s("span",$,[G,J,U,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[H]),default:t(()=>[z]),_:1})]),i(` +`),K])])]),L,s("div",M,[Q,W,s("pre",X,[s("code",null,[Y,i(` +`),Z,i(` +`),ss,i(` +`),is,i(` +`),ts,i(` +`),as,i(` +`),ls,i(` +`),es,i(` +`),ns,i(` +`),hs,i(` +`),os,i(` +`),ks,i(` +`),ps,i(` +`),s("span",rs,[ds,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Es]),default:t(()=>[cs]),_:1})]),i(` +`),gs,i(` +`),_s,i(` +`),us,i(` +`),s("span",ys,[bs,ms,Fs,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Cs]),default:t(()=>[fs]),_:1}),vs,ws,qs])])])]),As,Bs])}const Os=n(p,[["render",Ds]]);export{Rs as __pageData,Os as default}; diff --git a/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.js b/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.js new file mode 100644 index 00000000..2a248b88 --- /dev/null +++ b/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.js @@ -0,0 +1,39 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const _s=JSON.parse('{"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)"},"headers":[],"relativePath":"rules/html-closing-bracket-spacing.md","filePath":"rules/html-closing-bracket-spacing.md","lastUpdated":1721431800000}'),k={name:"rules/html-closing-bracket-spacing.md"},r=a(`

lodash-template/html-closing-bracket-spacing

require or disallow a space before tag's closing brackets. (ex. 🆗 <input> <input·/> 🆖 <input·> <input/>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces consistent spacing style before closing brackets > of tags.

html
<div class="foo"> or <div class="foo" >
+<input class="foo"/> or <input class="foo" />
`,6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-spacing": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),m=a('<input foo>',1),b=a('<div foo="bar">',1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," />")],-1),F=a('<input foo />',1),v=a('<input foo="bar" />',1),C=s("span",{class:"line"},null,-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),T={class:"line"},A=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),B=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),S=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),x={class:"line"},P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),V=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),I=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),N=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),O={class:"line"},j=a('<div foo="bar"',5),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),G=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),J={class:"line"},U=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),L={class:"line"},M=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br",-1),W=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),X=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),Y={class:"line"},Z=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ss=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),is=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),as=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),ls={class:"line"},es=a('<input foo="bar"',5),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),os=a(`

Options

json
{
+  "lodash-template/html-closing-bracket-spacing": ["error", {
+    "startTag": "always" | "never",
+    "endTag": "always" | "never",
+    "selfClosingTag": "always" | "never"
+  }]
+}
  • startTag ("always" | "never") ... Setting for the > of start tags (e.g. <div>). Default is "never".
    • "always" ... requires one or more spaces.
    • "never" ... disallows spaces.
  • endTag ("always" | "never") ... Setting for the > of end tags (e.g. </div>). Default is "never".
    • "always" ... requires one or more spaces.
    • "never" ... disallows spaces.
  • selfClosingTag ("always" | "never") ... Setting for the /> of self-closing tags (e.g. <br/>). Default is "always".
    • "always" ... requires one or more spaces.
    • "never" ... disallows spaces.
html
<% /* eslint
+  lodash-template/html-closing-bracket-spacing: ["error", {
+    "startTag": "always",
+    "endTag": "always",
+    "selfClosingTag": "always"
+  }]
+*/ %>
+<!-- ✓ GOOD -->
+<input >
+<input foo >
+<div foo="bar" >
+</div >
+<br />
+<input foo />
+<input foo="bar" />

Implementation

`,6);function ps(ks,rs,ds,cs,Es,gs){const l=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[u,i(` +`),_,i(` +`),y,i(` +`),m,i(` +`),b,i(` +`),f,i(` +`),q,i(` +`),F,i(` +`),v,i(` +`),C,i(` +`),w,i(` +`),s("span",T,[A,D,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[S]),default:t(()=>[B]),_:1})]),i(` +`),s("span",x,[P,V,I,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[N]),_:1})]),i(` +`),s("span",O,[j,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[G]),default:t(()=>[$]),_:1})]),i(` +`),s("span",J,[U,z,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[K]),default:t(()=>[H]),_:1})]),i(` +`),s("span",L,[M,Q,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[X]),default:t(()=>[W]),_:1})]),i(` +`),s("span",Y,[Z,ss,is,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[as]),default:t(()=>[ts]),_:1})]),i(` +`),s("span",ls,[es,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[hs]),default:t(()=>[ns]),_:1})])])])]),os])}const ys=n(k,[["render",ps]]);export{_s as __pageData,ys as default}; diff --git a/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.lean.js b/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.lean.js new file mode 100644 index 00000000..5cfd993d --- /dev/null +++ b/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.lean.js @@ -0,0 +1,18 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const _s=JSON.parse('{"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)"},"headers":[],"relativePath":"rules/html-closing-bracket-spacing.md","filePath":"rules/html-closing-bracket-spacing.md","lastUpdated":1721431800000}'),k={name:"rules/html-closing-bracket-spacing.md"},r=a("",6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-spacing": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),m=a("",1),b=a("",1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," />")],-1),F=a("",1),v=a("",1),C=s("span",{class:"line"},null,-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),T={class:"line"},A=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),B=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),S=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),x={class:"line"},P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),V=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),I=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),N=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),O={class:"line"},j=a("",5),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),G=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),J={class:"line"},U=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),L={class:"line"},M=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br",-1),W=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),X=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),Y={class:"line"},Z=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ss=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),is=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),as=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),ls={class:"line"},es=a("",5),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),i(")")])])],-1),os=a("",6);function ps(ks,rs,ds,cs,Es,gs){const l=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[u,i(` +`),_,i(` +`),y,i(` +`),m,i(` +`),b,i(` +`),f,i(` +`),q,i(` +`),F,i(` +`),v,i(` +`),C,i(` +`),w,i(` +`),s("span",T,[A,D,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[S]),default:t(()=>[B]),_:1})]),i(` +`),s("span",x,[P,V,I,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[N]),_:1})]),i(` +`),s("span",O,[j,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[G]),default:t(()=>[$]),_:1})]),i(` +`),s("span",J,[U,z,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[K]),default:t(()=>[H]),_:1})]),i(` +`),s("span",L,[M,Q,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[X]),default:t(()=>[W]),_:1})]),i(` +`),s("span",Y,[Z,ss,is,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[as]),default:t(()=>[ts]),_:1})]),i(` +`),s("span",ls,[es,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[hs]),default:t(()=>[ns]),_:1})])])])]),os])}const ys=n(k,[["render",ps]]);export{_s as __pageData,ys as default}; diff --git a/assets/rules_html-comment-content-newline.md.CpKumZBn.js b/assets/rules_html-comment-content-newline.md.CpKumZBn.js new file mode 100644 index 00000000..e36019a1 --- /dev/null +++ b/assets/rules_html-comment-content-newline.md.CpKumZBn.js @@ -0,0 +1,44 @@ +import{_ as o,c as a,j as s,a as e,I as l,w as t,a9 as n,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const ee=JSON.parse('{"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents"},"headers":[],"relativePath":"rules/html-comment-content-newline.md","filePath":"rules/html-comment-content-newline.md","lastUpdated":1721431800000}'),r={name:"rules/html-comment-content-newline.md"},c=n('

lodash-template/html-comment-content-newline

require or disallow a line break before and after HTML comment contents

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a line break (or no line break) before and after HTML comment contents.

',5),d={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),m=s("span",{class:"lang"},"html",-1),u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-content-newline": "error" */ %>')],-1),g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),A=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E={class:"line"},q=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),V=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")],-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),M=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),j={class:"line"},$=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),X=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Y=n(`

Options

json
{
+  "lodash-template/html-comment-content-newline": ["error", {
+    "singleline": "never",
+    "multiline": "always",
+  }]
+}
  • singleline ... the configuration for single-line comments.
    • "ignore" ... Don't enforce line breaks style before and after the comments.
    • "never" ... disallow line breaks before and after the comments. This is the default.
    • "always" ... require one line break before and after the comments.
  • multiline ... the configuration for multiline comments.
    • "ignore" ... Don't enforce line breaks style before and after the comments.
    • "never" ... disallow line breaks before and after the comments.
    • "always" ... require one line break before and after the comments. This is the default.
`,3),Z={class:"language-html vp-adaptive-theme"},ss=s("button",{title:"Copy Code",class:"copy"},null,-1),es=s("span",{class:"lang"},"html",-1),ts={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/html-comment-content-newline: ["error", {')],-1),ns=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": "always",')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": "never"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),us=s("span",{class:"line"},null,-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),fs=s("span",{class:"line"},null,-1),ws={class:"line"},bs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),qs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Ts={class:"line"},xs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),Vs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Is=s("span",{class:"line"},null,-1),Ns={class:"line"},Rs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),Js=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")],-1),Us=n('

Further Reading

Implementation

',4);function Ws(zs,Ks,Qs,Xs,Ys,Zs){const i=h("v-menu");return p(),a("div",null,[c,s("div",d,[k,m,s("pre",u,[s("code",null,[_,e(` +`),g,e(` +`),f,e(` +`),w,e(` +`),b,e(` +`),y,e(` +`),D,e(` +`),A,e(` +`),v,e(` +`),s("span",E,[q,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[x]),default:t(()=>[T]),_:1})]),e(` +`),s("span",C,[F,B,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[S]),default:t(()=>[P]),_:1})]),e(` +`),V,e(` +`),I,e(` +`),N,e(` +`),s("span",R,[O,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[L]),default:t(()=>[H]),_:1}),M]),e(` +`),s("span",j,[$,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[J]),default:t(()=>[G]),_:1}),U]),e(` +`),s("span",W,[z,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Q]),default:t(()=>[K]),_:1}),X])])])]),Y,s("div",Z,[ss,es,s("pre",ts,[s("code",null,[is,e(` +`),ls,e(` +`),ns,e(` +`),os,e(` +`),as,e(` +`),hs,e(` +`),ps,e(` +`),rs,e(` +`),cs,e(` +`),ds,e(` +`),ks,e(` +`),ms,e(` +`),us,e(` +`),_s,e(` +`),gs,e(` +`),fs,e(` +`),s("span",ws,[bs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ds]),default:t(()=>[ys]),_:1}),As,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Es]),default:t(()=>[vs]),_:1}),qs]),e(` +`),s("span",Ts,[xs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Fs]),default:t(()=>[Cs]),_:1}),Bs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ss]),default:t(()=>[Ps]),_:1}),Vs]),e(` +`),Is,e(` +`),s("span",Ns,[Rs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Hs]),default:t(()=>[Os]),_:1})]),e(` +`),Ls,e(` +`),s("span",Ms,[js,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Gs]),default:t(()=>[$s]),_:1})]),e(` +`),Js])])]),Us])}const te=o(r,[["render",Ws]]);export{ee as __pageData,te as default}; diff --git a/assets/rules_html-comment-content-newline.md.CpKumZBn.lean.js b/assets/rules_html-comment-content-newline.md.CpKumZBn.lean.js new file mode 100644 index 00000000..5b23f64c --- /dev/null +++ b/assets/rules_html-comment-content-newline.md.CpKumZBn.lean.js @@ -0,0 +1,39 @@ +import{_ as o,c as a,j as s,a as e,I as l,w as t,a9 as n,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const ee=JSON.parse('{"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents"},"headers":[],"relativePath":"rules/html-comment-content-newline.md","filePath":"rules/html-comment-content-newline.md","lastUpdated":1721431800000}'),r={name:"rules/html-comment-content-newline.md"},c=n("",5),d={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),m=s("span",{class:"lang"},"html",-1),u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-content-newline": "error" */ %>')],-1),g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),A=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E={class:"line"},q=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),V=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")],-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),M=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),j={class:"line"},$=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),X=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Y=n("",3),Z={class:"language-html vp-adaptive-theme"},ss=s("button",{title:"Copy Code",class:"copy"},null,-1),es=s("span",{class:"lang"},"html",-1),ts={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/html-comment-content-newline: ["error", {')],-1),ns=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": "always",')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": "never"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),us=s("span",{class:"line"},null,-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),fs=s("span",{class:"line"},null,-1),ws={class:"line"},bs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),qs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Ts={class:"line"},xs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),Vs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Is=s("span",{class:"line"},null,-1),Ns={class:"line"},Rs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),Js=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")],-1),Us=n("",4);function Ws(zs,Ks,Qs,Xs,Ys,Zs){const i=h("v-menu");return p(),a("div",null,[c,s("div",d,[k,m,s("pre",u,[s("code",null,[_,e(` +`),g,e(` +`),f,e(` +`),w,e(` +`),b,e(` +`),y,e(` +`),D,e(` +`),A,e(` +`),v,e(` +`),s("span",E,[q,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[x]),default:t(()=>[T]),_:1})]),e(` +`),s("span",C,[F,B,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[S]),default:t(()=>[P]),_:1})]),e(` +`),V,e(` +`),I,e(` +`),N,e(` +`),s("span",R,[O,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[L]),default:t(()=>[H]),_:1}),M]),e(` +`),s("span",j,[$,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[J]),default:t(()=>[G]),_:1}),U]),e(` +`),s("span",W,[z,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Q]),default:t(()=>[K]),_:1}),X])])])]),Y,s("div",Z,[ss,es,s("pre",ts,[s("code",null,[is,e(` +`),ls,e(` +`),ns,e(` +`),os,e(` +`),as,e(` +`),hs,e(` +`),ps,e(` +`),rs,e(` +`),cs,e(` +`),ds,e(` +`),ks,e(` +`),ms,e(` +`),us,e(` +`),_s,e(` +`),gs,e(` +`),fs,e(` +`),s("span",ws,[bs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ds]),default:t(()=>[ys]),_:1}),As,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Es]),default:t(()=>[vs]),_:1}),qs]),e(` +`),s("span",Ts,[xs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Fs]),default:t(()=>[Cs]),_:1}),Bs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ss]),default:t(()=>[Ps]),_:1}),Vs]),e(` +`),Is,e(` +`),s("span",Ns,[Rs,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Hs]),default:t(()=>[Os]),_:1})]),e(` +`),Ls,e(` +`),s("span",Ms,[js,l(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Gs]),default:t(()=>[$s]),_:1})]),e(` +`),Js])])]),Us])}const te=o(r,[["render",Ws]]);export{ee as __pageData,te as default}; diff --git a/assets/rules_html-comment-spacing.md.Gv6G28xC.js b/assets/rules_html-comment-spacing.md.Gv6G28xC.js new file mode 100644 index 00000000..1b59ec5c --- /dev/null +++ b/assets/rules_html-comment-spacing.md.Gv6G28xC.js @@ -0,0 +1,18 @@ +import{_ as i,c as n,j as s,a as e,I as a,w as t,a9 as o,D as p,o as h}from"./chunks/framework.CPdKJSF1.js";const Ps=JSON.parse('{"title":"lodash-template/html-comment-spacing","description":"enforce unified spacing in HTML comment. (ex. :ok: ``, :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-comment-spacing","description":"enforce unified spacing in HTML comment. (ex. :ok: ``, :ng: ``)"},"headers":[],"relativePath":"rules/html-comment-spacing.md","filePath":"rules/html-comment-spacing.md","lastUpdated":1721431800000}'),c={name:"rules/html-comment-spacing.md"},r=o('

lodash-template/html-comment-spacing

enforce unified spacing in HTML comment. (ex. 🆗 <!-- comment -->, 🆖 <!--comment-->)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to enforce unified spacing in HTML comment.

',5),d={class:"language-html vp-adaptive-theme"},m=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-spacing": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=s("span",{class:"line"},null,-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},w=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),x=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),q={class:"line"},C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),P=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),O=o('

Options

Default spacing is set to always

json
{\n  "lodash-template/html-comment-spacing": ["error", "always" | "never"]\n}

"always" - Expect one space between comment and curly brackets.

',4),S={class:"language-html vp-adaptive-theme"},V=s("button",{title:"Copy Code",class:"copy"},null,-1),I=s("span",{class:"lang"},"html",-1),N={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-spacing": ["error", "always"] */ %>')],-1),R=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),H=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),L=s("span",{class:"line"},null,-1),M=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),$={class:"line"},G=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),Q={class:"line"},W=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),es=s("h3",{id:"never-expect-no-spaces-between-comment-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),e(" - Expect no spaces between comment and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-comment-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between comment and curly brackets."'},"​")],-1),ts={class:"language-html vp-adaptive-theme"},ls=s("button",{title:"Copy Code",class:"copy"},null,-1),as=s("span",{class:"lang"},"html",-1),os={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-spacing": ["error", "never"] */ %>')],-1),ns=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),hs=s("span",{class:"line"},null,-1),cs={class:"line"},rs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),gs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces before "),s("code",null,"-->"),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),ks={class:"line"},_s=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),vs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces before "),s("code",null,"-->"),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),ws=s("h2",{id:"implementation",tabindex:"-1"},[e("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),Ds=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function As(Es,xs,qs,Cs,Ts,Bs){const l=p("v-menu");return h(),n("div",null,[r,s("div",d,[m,u,s("pre",g,[s("code",null,[k,e(` +`),_,e(` +`),f,e(` +`),y,e(` +`),b,e(` +`),s("span",v,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[D]),default:t(()=>[w]),_:1}),A,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[x]),default:t(()=>[E]),_:1})]),e(` +`),s("span",q,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[T]),default:t(()=>[C]),_:1}),B,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[P]),default:t(()=>[F]),_:1})])])])]),O,s("div",S,[V,I,s("pre",N,[s("code",null,[j,e(` +`),R,e(` +`),H,e(` +`),L,e(` +`),M,e(` +`),s("span",$,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[J]),default:t(()=>[G]),_:1}),U,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[K]),default:t(()=>[z]),_:1})]),e(` +`),s("span",Q,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[X]),default:t(()=>[W]),_:1}),Y,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[ss]),default:t(()=>[Z]),_:1})])])])]),es,s("div",ts,[ls,as,s("pre",os,[s("code",null,[is,e(` +`),ns,e(` +`),ps,e(` +`),hs,e(` +`),s("span",cs,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[ds]),default:t(()=>[rs]),_:1}),ms,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[gs]),default:t(()=>[us]),_:1})]),e(` +`),s("span",ks,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[fs]),default:t(()=>[_s]),_:1}),ys,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[vs]),default:t(()=>[bs]),_:1})])])])]),ws,Ds])}const Os=i(c,[["render",As]]);export{Ps as __pageData,Os as default}; diff --git a/assets/rules_html-comment-spacing.md.Gv6G28xC.lean.js b/assets/rules_html-comment-spacing.md.Gv6G28xC.lean.js new file mode 100644 index 00000000..4773807d --- /dev/null +++ b/assets/rules_html-comment-spacing.md.Gv6G28xC.lean.js @@ -0,0 +1,18 @@ +import{_ as i,c as n,j as s,a as e,I as a,w as t,a9 as o,D as p,o as h}from"./chunks/framework.CPdKJSF1.js";const Ps=JSON.parse('{"title":"lodash-template/html-comment-spacing","description":"enforce unified spacing in HTML comment. (ex. :ok: ``, :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-comment-spacing","description":"enforce unified spacing in HTML comment. (ex. :ok: ``, :ng: ``)"},"headers":[],"relativePath":"rules/html-comment-spacing.md","filePath":"rules/html-comment-spacing.md","lastUpdated":1721431800000}'),c={name:"rules/html-comment-spacing.md"},r=o("",5),d={class:"language-html vp-adaptive-theme"},m=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-spacing": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=s("span",{class:"line"},null,-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},w=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),x=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),q={class:"line"},C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),P=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),O=o("",4),S={class:"language-html vp-adaptive-theme"},V=s("button",{title:"Copy Code",class:"copy"},null,-1),I=s("span",{class:"lang"},"html",-1),N={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-spacing": ["error", "always"] */ %>')],-1),R=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),H=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),L=s("span",{class:"line"},null,-1),M=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),$={class:"line"},G=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),Q={class:"line"},W=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space before "),s("code",null,"-->"),e(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),es=s("h3",{id:"never-expect-no-spaces-between-comment-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),e(" - Expect no spaces between comment and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-comment-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between comment and curly brackets."'},"​")],-1),ts={class:"language-html vp-adaptive-theme"},ls=s("button",{title:"Copy Code",class:"copy"},null,-1),as=s("span",{class:"lang"},"html",-1),os={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-spacing": ["error", "never"] */ %>')],-1),ns=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),hs=s("span",{class:"line"},null,-1),cs={class:"line"},rs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),gs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces before "),s("code",null,"-->"),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),ks={class:"line"},_s=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),vs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces before "),s("code",null,"-->"),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1),ws=s("h2",{id:"implementation",tabindex:"-1"},[e("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),Ds=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function As(Es,xs,qs,Cs,Ts,Bs){const l=p("v-menu");return h(),n("div",null,[r,s("div",d,[m,u,s("pre",g,[s("code",null,[k,e(` +`),_,e(` +`),f,e(` +`),y,e(` +`),b,e(` +`),s("span",v,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[D]),default:t(()=>[w]),_:1}),A,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[x]),default:t(()=>[E]),_:1})]),e(` +`),s("span",q,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[T]),default:t(()=>[C]),_:1}),B,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[P]),default:t(()=>[F]),_:1})])])])]),O,s("div",S,[V,I,s("pre",N,[s("code",null,[j,e(` +`),R,e(` +`),H,e(` +`),L,e(` +`),M,e(` +`),s("span",$,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[J]),default:t(()=>[G]),_:1}),U,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[K]),default:t(()=>[z]),_:1})]),e(` +`),s("span",Q,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[X]),default:t(()=>[W]),_:1}),Y,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[ss]),default:t(()=>[Z]),_:1})])])])]),es,s("div",ts,[ls,as,s("pre",os,[s("code",null,[is,e(` +`),ns,e(` +`),ps,e(` +`),hs,e(` +`),s("span",cs,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[ds]),default:t(()=>[rs]),_:1}),ms,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[gs]),default:t(()=>[us]),_:1})]),e(` +`),s("span",ks,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[fs]),default:t(()=>[_s]),_:1}),ys,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[vs]),default:t(()=>[bs]),_:1})])])])]),ws,Ds])}const Os=i(c,[["render",As]]);export{Ps as __pageData,Os as default}; diff --git a/assets/rules_html-content-newline.md.B9D8l6D4.js b/assets/rules_html-content-newline.md.B9D8l6D4.js new file mode 100644 index 00000000..a64957d4 --- /dev/null +++ b/assets/rules_html-content-newline.md.B9D8l6D4.js @@ -0,0 +1,47 @@ +import{_ as a,c as h,j as s,a as i,I as l,w as e,a9 as n,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const Gs=JSON.parse('{"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents"},"headers":[],"relativePath":"rules/html-content-newline.md","filePath":"rules/html-content-newline.md","lastUpdated":1721431800000}'),r={name:"rules/html-content-newline.md"},k=n('

lodash-template/html-content-newline

require or disallow a line break before and after HTML contents

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a line break (or no line break) before and after HTML contents.

',5),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-content-newline": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=n('<div class="panel">content</div>',1),m=s("span",{class:"line"},null,-1),f=n('<div class="panel">',1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),w=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),D=s("span",{class:"line"},null,-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),P={class:"line"},I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),V=s("span",null,[s("span")],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),R=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),O=s("span",null,[s("span")],-1),j=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),H=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),$=n(`

Options

json
{
+  "lodash-template/html-content-newline": ["error", {
+    "singleline": "ignore",
+    "multiline": "always",
+    "ignoreNames": ["pre", "textarea"]
+  }]
+}
  • singleline ... the configuration for single-line elements. It's a single-line element if startTag, endTag and contents are single-line.
    • "ignore" ... Don't enforce line breaks style before and after the contents. This is the default.
    • "never" ... disallow line breaks before and after the contents.
    • "always" ... require one line break before and after the contents.
  • multiline ... the configuration for multiline elements. It's a multiline element if startTag, endTag or contents are multiline.
    • "ignore" ... Don't enforce line breaks style before and after the contents.
    • "never" ... disallow line breaks before and after the contents.
    • "always" ... require one line break before and after the contents. This is the default.
  • ignoreNames ... the configuration for element names to ignore line breaks style.
    default ["pre", "textarea"]
`,3),G={class:"language-html vp-adaptive-theme"},J=s("button",{title:"Copy Code",class:"copy"},null,-1),U=s("span",{class:"lang"},"html",-1),z={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /*eslint")],-1),Q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/html-content-newline: ["error", {')],-1),W=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": "always",')],-1),X=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": "never"')],-1),Y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ss=s("span",{class:"line"},null,-1),is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),es=n('<div class="panel">',1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),ns=s("span",{class:"line"},null,-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">content")],-1),ps=s("span",{class:"line"},null,-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ks={class:"line"},ds=n('<div class="panel">',6),cs=s("span",null,[s("span")],-1),Es=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),_s=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),gs=s("span",null,[s("span")],-1),us=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),bs=s("span",{class:"line"},null,-1),vs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ws=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),Fs={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Cs=s("span",null,[s("span")],-1),Ts=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks after closing bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),As={class:"line"},Ds=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),Bs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),xs=s("span",null,[s("span")],-1),Ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks before opening bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),Ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),Is=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),Vs=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function Ns(Rs,Os,js,Hs,Ls,Ms){const t=o("v-menu");return p(),h("div",null,[k,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(` +`),u,i(` +`),y,i(` +`),m,i(` +`),f,i(` +`),b,i(` +`),v,i(` +`),w,i(` +`),F,i(` +`),q,i(` +`),C,i(` +`),T,i(` +`),A,i(` +`),D,i(` +`),B,i(` +`),x,i(` +`),S,i(` +`),s("span",P,[I,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[N]),default:e(()=>[V]),_:1}),R,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[j]),default:e(()=>[O]),_:1}),H,L,M])])])]),$,s("div",G,[J,U,s("pre",z,[s("code",null,[K,i(` +`),Q,i(` +`),W,i(` +`),X,i(` +`),Y,i(` +`),Z,i(` +`),ss,i(` +`),is,i(` +`),es,i(` +`),ts,i(` +`),ls,i(` +`),ns,i(` +`),as,i(` +`),hs,i(` +`),os,i(` +`),ps,i(` +`),rs,i(` +`),s("span",ks,[ds,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Es]),default:e(()=>[cs]),_:1}),_s,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[us]),default:e(()=>[gs]),_:1}),ys,ms,fs]),i(` +`),bs,i(` +`),vs,i(` +`),ws,i(` +`),s("span",Fs,[qs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ts]),default:e(()=>[Cs]),_:1})]),i(` +`),s("span",As,[Ds,Bs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ss]),default:e(()=>[xs]),_:1})]),i(` +`),Ps])])]),Is,Vs])}const Js=a(r,[["render",Ns]]);export{Gs as __pageData,Js as default}; diff --git a/assets/rules_html-content-newline.md.B9D8l6D4.lean.js b/assets/rules_html-content-newline.md.B9D8l6D4.lean.js new file mode 100644 index 00000000..d1ac364b --- /dev/null +++ b/assets/rules_html-content-newline.md.B9D8l6D4.lean.js @@ -0,0 +1,41 @@ +import{_ as a,c as h,j as s,a as i,I as l,w as e,a9 as n,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const Gs=JSON.parse('{"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents"},"headers":[],"relativePath":"rules/html-content-newline.md","filePath":"rules/html-content-newline.md","lastUpdated":1721431800000}'),r={name:"rules/html-content-newline.md"},k=n("",5),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-content-newline": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=n("",1),m=s("span",{class:"line"},null,-1),f=n("",1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),w=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),D=s("span",{class:"line"},null,-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),P={class:"line"},I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),V=s("span",null,[s("span")],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),R=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),O=s("span",null,[s("span")],-1),j=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),H=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),$=n("",3),G={class:"language-html vp-adaptive-theme"},J=s("button",{title:"Copy Code",class:"copy"},null,-1),U=s("span",{class:"lang"},"html",-1),z={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /*eslint")],-1),Q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/html-content-newline: ["error", {')],-1),W=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": "always",')],-1),X=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": "never"')],-1),Y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ss=s("span",{class:"line"},null,-1),is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),es=n("",1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),ns=s("span",{class:"line"},null,-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">content")],-1),ps=s("span",{class:"line"},null,-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ks={class:"line"},ds=n("",6),cs=s("span",null,[s("span")],-1),Es=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),_s=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),gs=s("span",null,[s("span")],-1),us=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),bs=s("span",{class:"line"},null,-1),vs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ws=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),Fs={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Cs=s("span",null,[s("span")],-1),Ts=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks after closing bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),As={class:"line"},Ds=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),Bs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),xs=s("span",null,[s("span")],-1),Ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks before opening bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),Ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),Is=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),Vs=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function Ns(Rs,Os,js,Hs,Ls,Ms){const t=o("v-menu");return p(),h("div",null,[k,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(` +`),u,i(` +`),y,i(` +`),m,i(` +`),f,i(` +`),b,i(` +`),v,i(` +`),w,i(` +`),F,i(` +`),q,i(` +`),C,i(` +`),T,i(` +`),A,i(` +`),D,i(` +`),B,i(` +`),x,i(` +`),S,i(` +`),s("span",P,[I,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[N]),default:e(()=>[V]),_:1}),R,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[j]),default:e(()=>[O]),_:1}),H,L,M])])])]),$,s("div",G,[J,U,s("pre",z,[s("code",null,[K,i(` +`),Q,i(` +`),W,i(` +`),X,i(` +`),Y,i(` +`),Z,i(` +`),ss,i(` +`),is,i(` +`),es,i(` +`),ts,i(` +`),ls,i(` +`),ns,i(` +`),as,i(` +`),hs,i(` +`),os,i(` +`),ps,i(` +`),rs,i(` +`),s("span",ks,[ds,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Es]),default:e(()=>[cs]),_:1}),_s,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[us]),default:e(()=>[gs]),_:1}),ys,ms,fs]),i(` +`),bs,i(` +`),vs,i(` +`),ws,i(` +`),s("span",Fs,[qs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ts]),default:e(()=>[Cs]),_:1})]),i(` +`),s("span",As,[Ds,Bs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ss]),default:e(()=>[xs]),_:1})]),i(` +`),Ps])])]),Is,Vs])}const Js=a(r,[["render",Ns]]);export{Gs as __pageData,Js as default}; diff --git a/assets/rules_html-indent.md.BKma_2yi.js b/assets/rules_html-indent.md.BKma_2yi.js new file mode 100644 index 00000000..7ff2b418 --- /dev/null +++ b/assets/rules_html-indent.md.BKma_2yi.js @@ -0,0 +1,41 @@ +import{_ as n,c as h,j as s,a as i,I as l,w as t,a9 as a,D as p,o}from"./chunks/framework.CPdKJSF1.js";const W=JSON.parse('{"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation."},"headers":[],"relativePath":"rules/html-indent.md","filePath":"rules/html-indent.md","lastUpdated":1721431800000}'),k={name:"rules/html-indent.md"},d=a('

lodash-template/html-indent

enforce consistent HTML indentation.

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a consistent HTML indentation style. The default style is 2 spaces.

',5),r={class:"language-html vp-adaptive-theme"},E=s("button",{title:"Copy Code",class:"copy"},null,-1),c=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-indent": "error" */ %>')],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),m=a(' <div class="foo">',1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Hello.")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")],-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),q=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),D={class:"line"},B=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 2 spaces but found 1 space. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-indent.html"},"lodash-template/html-indent"),i(")")])])],-1),T=a('<div class="foo">',6),w={class:"line"},x=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),P=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 4 spaces but found 3 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-indent.html"},"lodash-template/html-indent"),i(")")])])],-1),I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Hello.",-1),S={class:"line"},V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 2 spaces but found 4 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-indent.html"},"lodash-template/html-indent"),i(")")])])],-1),O=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),L=a(`

Options

json
{
+  "lodash-template/html-indent": ["error", type, {
+    "attribute": 1,
+    "closeBracket": 0
+  }]
+}
  • type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
  • attribute (integer) ... The multiplier of indentation for attributes. Default is 1.
  • closeBracket (integer) ... The multiplier of indentation for right brackets. Default is 0.

Examples for this rule with { attribute: 1, closeBracket: 1 } option:

html
<% /* eslint "lodash-template/html-indent": ["error", 2, { "attribute": 1, "closeBracket": 1 }] */ %>
+<!-- ✓ GOOD -->
+<div>
+  <div
+    id="a"
+    class="b"
+    attr1="c"
+    attr2="d"
+    >
+    Text
+  </div>
+</div>

Examples for this rule with { attribute: 2, closeBracket: 1 } option:

html
<% /* eslint "lodash-template/html-indent": ["error", 2, { "attribute": 2, "closeBracket": 1 }] */ %>
+<!-- ✓ GOOD -->
+<div>
+  <div
+      id="a"
+      class="b"
+      attr1="c"
+      attr2="d"
+    >
+    Text
+  </div>
+</div>

Implementation

`,9);function M($,G,J,U,z,K){const e=p("v-menu");return o(),h("div",null,[d,s("div",r,[E,c,s("pre",g,[s("code",null,[u,i(` +`),y,i(` +`),_,i(` +`),m,i(` +`),b,i(` +`),f,i(` +`),F,i(` +`),q,i(` +`),v,i(` +`),C,i(` +`),s("span",D,[l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[B]),_:1}),T]),i(` +`),s("span",w,[l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[P]),default:t(()=>[x]),_:1}),I]),i(` +`),s("span",S,[l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[N]),default:t(()=>[V]),_:1}),O,R,H]),i(` +`),j])])]),L])}const X=n(k,[["render",M]]);export{W as __pageData,X as default}; diff --git a/assets/rules_html-indent.md.BKma_2yi.lean.js b/assets/rules_html-indent.md.BKma_2yi.lean.js new file mode 100644 index 00000000..f8676889 --- /dev/null +++ b/assets/rules_html-indent.md.BKma_2yi.lean.js @@ -0,0 +1,14 @@ +import{_ as n,c as h,j as s,a as i,I as l,w as t,a9 as a,D as p,o}from"./chunks/framework.CPdKJSF1.js";const W=JSON.parse('{"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation."},"headers":[],"relativePath":"rules/html-indent.md","filePath":"rules/html-indent.md","lastUpdated":1721431800000}'),k={name:"rules/html-indent.md"},d=a("",5),r={class:"language-html vp-adaptive-theme"},E=s("button",{title:"Copy Code",class:"copy"},null,-1),c=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-indent": "error" */ %>')],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),m=a("",1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," Hello.")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")],-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),q=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),D={class:"line"},B=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 2 spaces but found 1 space. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-indent.html"},"lodash-template/html-indent"),i(")")])])],-1),T=a("",6),w={class:"line"},x=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),P=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 4 spaces but found 3 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-indent.html"},"lodash-template/html-indent"),i(")")])])],-1),I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"Hello.",-1),S={class:"line"},V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 2 spaces but found 4 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-indent.html"},"lodash-template/html-indent"),i(")")])])],-1),O=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),L=a("",9);function M($,G,J,U,z,K){const e=p("v-menu");return o(),h("div",null,[d,s("div",r,[E,c,s("pre",g,[s("code",null,[u,i(` +`),y,i(` +`),_,i(` +`),m,i(` +`),b,i(` +`),f,i(` +`),F,i(` +`),q,i(` +`),v,i(` +`),C,i(` +`),s("span",D,[l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[B]),_:1}),T]),i(` +`),s("span",w,[l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[P]),default:t(()=>[x]),_:1}),I]),i(` +`),s("span",S,[l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[N]),default:t(()=>[V]),_:1}),O,R,H]),i(` +`),j])])]),L])}const X=n(k,[["render",M]]);export{W as __pageData,X as default}; diff --git a/assets/rules_index.md.CaVhX-YM.js b/assets/rules_index.md.CaVhX-YM.js new file mode 100644 index 00000000..84d09047 --- /dev/null +++ b/assets/rules_index.md.CaVhX-YM.js @@ -0,0 +1,13 @@ +import{_ as t,c as e,o as l,a9 as a}from"./chunks/framework.CPdKJSF1.js";const f=JSON.parse('{"title":"All Rules","description":"","frontmatter":{"sidebarDepth":0},"headers":[],"relativePath":"rules/index.md","filePath":"rules/index.md","lastUpdated":1721431800000}'),i={name:"rules/index.md"},s=a(`

All Rules

Base Rules (Enabling Correct ESLint Parsing)

Enable this plugin using with:

json
{
+  "extends": "plugin:lodash-template/base"
+}
Rule IDDescription
lodash-template/no-script-parsing-errordisallow parsing errors in template

Best Practices (Improve Development Experience)

Enforce all the rules in this category with:

json
{
+  "extends": "plugin:lodash-template/best-practices"
+}
Rule IDDescription
lodash-template/no-empty-template-tagdisallow empty micro-template tag. (ex. 🆖 <% %>)
lodash-template/no-invalid-template-interpolationdisallow other than expression in micro-template interpolation. (ex. 🆖 <%= if (test) { %>)
lodash-template/no-semi-in-template-interpolationdisallow the semicolon at the end of expression in micro template interpolation.(ex. 🆗 <%= text %> 🆖 <%= text; %>)🔧

Enforce all the rules in this category and all the rules in Best Practices categories with:

json
{
+  "extends": "plugin:lodash-template/recommended"
+}
Rule IDDescription
lodash-template/no-irregular-whitespacedisallow irregular whitespace outside the template tags.🔧
lodash-template/no-multi-spaces-in-scriptletdisallow multiple spaces in scriptlet. (ex. 🆖 <% if···(test)···{ %>)🔧
lodash-template/scriptlet-indentenforce consistent indentation to scriptlet in micro-template tag.🔧
lodash-template/template-tag-spacingenforce unified spacing in micro-template tag. (ex. 🆗 <%= prop %>, 🆖 <%=prop%>)🔧

Enforce all the rules in this category and all the rules in Best Practices/Recommended categories with:

json
{
+  "extends": "plugin:lodash-template/recommended-with-html"
+}
Rule IDDescription
lodash-template/attribute-name-casingenforce HTML attribute name casing. (ex. 🆗 <div foo-bar> 🆖 <div fooBar> <div FOO-BAR>)🔧
lodash-template/attribute-value-quoteenforce quotes style of HTML attributes. (ex. 🆗 <div class="abc"> 🆖 <div class='abc'> <div class=abc>)🔧
lodash-template/element-name-casingenforce HTML element name casing. (ex. 🆗 <xxx-element> 🆖 <xxxElement> <DIV>)🔧
lodash-template/html-closing-bracket-newlinerequire or disallow a line break before tag's closing brackets🔧
lodash-template/html-closing-bracket-spacingrequire or disallow a space before tag's closing brackets. (ex. 🆗 <input> <input·/> 🆖 <input·> <input/>)🔧
lodash-template/html-comment-content-newlinerequire or disallow a line break before and after HTML comment contents🔧
lodash-template/html-comment-spacingenforce unified spacing in HTML comment. (ex. 🆗 <!-- comment -->, 🆖 <!--comment-->)🔧
lodash-template/html-content-newlinerequire or disallow a line break before and after HTML contents🔧
lodash-template/html-indentenforce consistent HTML indentation.🔧
lodash-template/max-attributes-per-lineenforce the maximum number of HTML attributes per line🔧
lodash-template/no-duplicate-attributesdisallow duplication of HTML attributes. (ex. 🆖 <div foo foo>)
lodash-template/no-html-commentsdisallow HTML comments. (ex. 🆖 <!-- comment -->)
lodash-template/no-multi-spaces-in-html-tagdisallow multiple spaces in HTML tags. (ex. 🆖 <input···type="text">)🔧
lodash-template/no-space-attribute-equal-signdisallow spacing around equal signs in attribute. (ex. 🆗 <div class="item"> 🆖 <div class = "item">)🔧
lodash-template/no-warning-html-commentsdisallow specified warning terms in HTML comments. (ex. 🆖 <!-- TODO:task -->)

Uncategorized

No preset enables the rules in this category. Please enable each rule if you want.

For example:

json
{
+  "rules": {
+    "lodash-template/no-template-tag-in-start-tag": "error"
+  }
+}
Rule IDDescription
lodash-template/no-template-tag-in-start-tagdisallow template tag in start tag outside attribute values. (ex. 🆖 <input <%= 'disabled' %> >)
lodash-template/prefer-escape-template-interpolationsprefer escape micro-template interpolations. (ex. 🆗 <%- ... %>, 🆖 <%= ... %>)
`,22),n=[s];function d(o,r,h,p,c,g){return l(),e("div",null,n)}const y=t(i,[["render",d]]);export{f as __pageData,y as default}; diff --git a/assets/rules_index.md.CaVhX-YM.lean.js b/assets/rules_index.md.CaVhX-YM.lean.js new file mode 100644 index 00000000..a8737288 --- /dev/null +++ b/assets/rules_index.md.CaVhX-YM.lean.js @@ -0,0 +1 @@ +import{_ as t,c as e,o as l,a9 as a}from"./chunks/framework.CPdKJSF1.js";const f=JSON.parse('{"title":"All Rules","description":"","frontmatter":{"sidebarDepth":0},"headers":[],"relativePath":"rules/index.md","filePath":"rules/index.md","lastUpdated":1721431800000}'),i={name:"rules/index.md"},s=a("",22),n=[s];function d(o,r,h,p,c,g){return l(),e("div",null,n)}const y=t(i,[["render",d]]);export{f as __pageData,y as default}; diff --git a/assets/rules_max-attributes-per-line.md.Hrxx8STn.js b/assets/rules_max-attributes-per-line.md.Hrxx8STn.js new file mode 100644 index 00000000..8462527f --- /dev/null +++ b/assets/rules_max-attributes-per-line.md.Hrxx8STn.js @@ -0,0 +1,76 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as l,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const Oi=JSON.parse('{"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line"},"headers":[],"relativePath":"rules/max-attributes-per-line.md","filePath":"rules/max-attributes-per-line.md","lastUpdated":1721431800000}'),k={name:"rules/max-attributes-per-line.md"},r=l('

lodash-template/max-attributes-per-line

enforce the maximum number of HTML attributes per line

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

Limits the maximum number of attributes/properties per line to improve readability.

This rule aims to enforce a number of attributes per line in HTML. It checks all the elements and verifies that the number of attributes per line does not exceed the defined maximum. An attribute is considered to be in a new line when there is a line break between two attributes.

',6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/max-attributes-per-line": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=l('<input foo="1">',1),m=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),B=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},null,-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),P={class:"line"},S=l('<input foo="1" ',6),I=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),V=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),O=s("span",{class:"line"},null,-1),L=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),R={class:"line"},j=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),G=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),H=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),M=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),U=s("span",{class:"line"},null,-1),K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),Q={class:"line"},W=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Z=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),ss=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),is=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),es=l(`

Options

json
{
+  "lodash-template/max-attributes-per-line": ["error", {
+    "singleline": 1,
+    "multiline": {
+      "max": 1,
+      "allowFirstLine": false
+    }
+  }]
+}

allowFirstLine

For multi-line declarations, defines if allows attributes to be put in the first line. (Default false)

`,4),ls={class:"language-html vp-adaptive-theme"},ns=s("button",{title:"Copy Code",class:"copy"},null,-1),hs=s("span",{class:"lang"},"html",-1),os={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ks=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": {')],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "allowFirstLine": false')],-1),cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),Es=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),gs=s("span",{class:"line"},null,-1),us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ys=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ms=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),Fs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),fs=s("span",{class:"line"},null,-1),Cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Bs={class:"line"},vs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ws=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),As=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),xs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')])],-1),Ds=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "foo" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),qs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ps=s("h3",{id:"singleline",tabindex:"-1"},[s("code",null,"singleline"),i(),s("a",{class:"header-anchor",href:"#singleline","aria-label":'Permalink to "`singleline`"'},"​")],-1),Ss=s("p",null,"Number of maximum attributes per line when the opening tag is in a single line. (Default is 1)",-1),Is={class:"language-html vp-adaptive-theme"},Vs=s("button",{title:"Copy Code",class:"copy"},null,-1),Ns=s("span",{class:"lang"},"html",-1),Os={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},Ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),Rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),js=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": 1')],-1),Gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),Ms=s("span",{class:"line"},null,-1),$s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),zs=l('<input foo="1">',1),Js=s("span",{class:"line"},null,-1),Us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Ks={class:"line"},Qs=l('<input foo="1" ',6),Ws=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),Xs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Zs=s("h3",{id:"multiline",tabindex:"-1"},[s("code",null,"multiline"),i(),s("a",{class:"header-anchor",href:"#multiline","aria-label":'Permalink to "`multiline`"'},"​")],-1),si=s("p",null,"Number of maximum attributes per line when a tag is in multiple lines. (Default is 1)",-1),ii={class:"language-html vp-adaptive-theme"},ti=s("button",{title:"Copy Code",class:"copy"},null,-1),ai=s("span",{class:"lang"},"html",-1),ei={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},li=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ni=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),hi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": 1')],-1),oi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),pi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ki=s("span",{class:"line"},null,-1),ri=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),di=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ci=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),Ei=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),_i=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),gi=s("span",{class:"line"},null,-1),ui=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),yi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),mi={class:"line"},Fi=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),bi=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),fi=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Ci=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),Bi=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),vi=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),wi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ai=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),xi=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function Di(Ti,qi,Pi,Si,Ii,Vi){const a=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(` +`),u,i(` +`),y,i(` +`),m,i(` +`),F,i(` +`),b,i(` +`),f,i(` +`),C,i(` +`),B,i(` +`),v,i(` +`),w,i(` +`),A,i(` +`),x,i(` +`),D,i(` +`),T,i(` +`),q,i(` +`),s("span",P,[S,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[V]),default:t(()=>[I]),_:1}),N]),i(` +`),O,i(` +`),L,i(` +`),s("span",R,[j,G,H,M,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[z]),default:t(()=>[$]),_:1})]),i(` +`),J,i(` +`),U,i(` +`),K,i(` +`),s("span",Q,[W,X,Y,Z,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[is]),default:t(()=>[ss]),_:1})]),i(` +`),ts,i(` +`),as])])]),es,s("div",ls,[ns,hs,s("pre",os,[s("code",null,[ps,i(` +`),ks,i(` +`),rs,i(` +`),ds,i(` +`),cs,i(` +`),Es,i(` +`),_s,i(` +`),gs,i(` +`),us,i(` +`),ys,i(` +`),ms,i(` +`),Fs,i(` +`),bs,i(` +`),fs,i(` +`),Cs,i(` +`),s("span",Bs,[vs,ws,As,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ds]),default:t(()=>[xs]),_:1})]),i(` +`),Ts,i(` +`),qs])])]),Ps,Ss,s("div",Is,[Vs,Ns,s("pre",Os,[s("code",null,[Ls,i(` +`),Rs,i(` +`),js,i(` +`),Gs,i(` +`),Hs,i(` +`),Ms,i(` +`),$s,i(` +`),zs,i(` +`),Js,i(` +`),Us,i(` +`),s("span",Ks,[Qs,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Xs]),default:t(()=>[Ws]),_:1}),Ys])])])]),Zs,si,s("div",ii,[ti,ai,s("pre",ei,[s("code",null,[li,i(` +`),ni,i(` +`),hi,i(` +`),oi,i(` +`),pi,i(` +`),ki,i(` +`),ri,i(` +`),di,i(` +`),ci,i(` +`),Ei,i(` +`),_i,i(` +`),gi,i(` +`),ui,i(` +`),yi,i(` +`),s("span",mi,[Fi,bi,fi,Ci,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[vi]),default:t(()=>[Bi]),_:1})]),i(` +`),wi])])]),Ai,xi])}const Li=n(k,[["render",Di]]);export{Oi as __pageData,Li as default}; diff --git a/assets/rules_max-attributes-per-line.md.Hrxx8STn.lean.js b/assets/rules_max-attributes-per-line.md.Hrxx8STn.lean.js new file mode 100644 index 00000000..58adbe82 --- /dev/null +++ b/assets/rules_max-attributes-per-line.md.Hrxx8STn.lean.js @@ -0,0 +1,68 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as l,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const Oi=JSON.parse('{"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line"},"headers":[],"relativePath":"rules/max-attributes-per-line.md","filePath":"rules/max-attributes-per-line.md","lastUpdated":1721431800000}'),k={name:"rules/max-attributes-per-line.md"},r=l("",6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/max-attributes-per-line": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=l("",1),m=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),B=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},null,-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),P={class:"line"},S=l("",6),I=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),V=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),O=s("span",{class:"line"},null,-1),L=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),R={class:"line"},j=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),G=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),H=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),M=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),U=s("span",{class:"line"},null,-1),K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),Q={class:"line"},W=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Z=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),ss=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),is=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),es=l("",4),ls={class:"language-html vp-adaptive-theme"},ns=s("button",{title:"Copy Code",class:"copy"},null,-1),hs=s("span",{class:"lang"},"html",-1),os={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ks=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": {')],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "allowFirstLine": false')],-1),cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),Es=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),gs=s("span",{class:"line"},null,-1),us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ys=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ms=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),Fs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),fs=s("span",{class:"line"},null,-1),Cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Bs={class:"line"},vs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ws=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),As=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),xs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')])],-1),Ds=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "foo" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),qs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ps=s("h3",{id:"singleline",tabindex:"-1"},[s("code",null,"singleline"),i(),s("a",{class:"header-anchor",href:"#singleline","aria-label":'Permalink to "`singleline`"'},"​")],-1),Ss=s("p",null,"Number of maximum attributes per line when the opening tag is in a single line. (Default is 1)",-1),Is={class:"language-html vp-adaptive-theme"},Vs=s("button",{title:"Copy Code",class:"copy"},null,-1),Ns=s("span",{class:"lang"},"html",-1),Os={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},Ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),Rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),js=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": 1')],-1),Gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),Ms=s("span",{class:"line"},null,-1),$s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),zs=l("",1),Js=s("span",{class:"line"},null,-1),Us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Ks={class:"line"},Qs=l("",6),Ws=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),Xs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Zs=s("h3",{id:"multiline",tabindex:"-1"},[s("code",null,"multiline"),i(),s("a",{class:"header-anchor",href:"#multiline","aria-label":'Permalink to "`multiline`"'},"​")],-1),si=s("p",null,"Number of maximum attributes per line when a tag is in multiple lines. (Default is 1)",-1),ii={class:"language-html vp-adaptive-theme"},ti=s("button",{title:"Copy Code",class:"copy"},null,-1),ai=s("span",{class:"lang"},"html",-1),ei={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},li=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ni=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),hi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": 1')],-1),oi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),pi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ki=s("span",{class:"line"},null,-1),ri=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),di=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ci=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')],-1),Ei=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),_i=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),gi=s("span",{class:"line"},null,-1),ui=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),yi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),mi={class:"line"},Fi=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),bi=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),fi=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Ci=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),Bi=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),vi=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),wi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ai=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),xi=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function Di(Ti,qi,Pi,Si,Ii,Vi){const a=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(` +`),u,i(` +`),y,i(` +`),m,i(` +`),F,i(` +`),b,i(` +`),f,i(` +`),C,i(` +`),B,i(` +`),v,i(` +`),w,i(` +`),A,i(` +`),x,i(` +`),D,i(` +`),T,i(` +`),q,i(` +`),s("span",P,[S,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[V]),default:t(()=>[I]),_:1}),N]),i(` +`),O,i(` +`),L,i(` +`),s("span",R,[j,G,H,M,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[z]),default:t(()=>[$]),_:1})]),i(` +`),J,i(` +`),U,i(` +`),K,i(` +`),s("span",Q,[W,X,Y,Z,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[is]),default:t(()=>[ss]),_:1})]),i(` +`),ts,i(` +`),as])])]),es,s("div",ls,[ns,hs,s("pre",os,[s("code",null,[ps,i(` +`),ks,i(` +`),rs,i(` +`),ds,i(` +`),cs,i(` +`),Es,i(` +`),_s,i(` +`),gs,i(` +`),us,i(` +`),ys,i(` +`),ms,i(` +`),Fs,i(` +`),bs,i(` +`),fs,i(` +`),Cs,i(` +`),s("span",Bs,[vs,ws,As,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ds]),default:t(()=>[xs]),_:1})]),i(` +`),Ts,i(` +`),qs])])]),Ps,Ss,s("div",Is,[Vs,Ns,s("pre",Os,[s("code",null,[Ls,i(` +`),Rs,i(` +`),js,i(` +`),Gs,i(` +`),Hs,i(` +`),Ms,i(` +`),$s,i(` +`),zs,i(` +`),Js,i(` +`),Us,i(` +`),s("span",Ks,[Qs,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Xs]),default:t(()=>[Ws]),_:1}),Ys])])])]),Zs,si,s("div",ii,[ti,ai,s("pre",ei,[s("code",null,[li,i(` +`),ni,i(` +`),hi,i(` +`),oi,i(` +`),pi,i(` +`),ki,i(` +`),ri,i(` +`),di,i(` +`),ci,i(` +`),Ei,i(` +`),_i,i(` +`),gi,i(` +`),ui,i(` +`),yi,i(` +`),s("span",mi,[Fi,bi,fi,Ci,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[vi]),default:t(()=>[Bi]),_:1})]),i(` +`),wi])])]),Ai,xi])}const Li=n(k,[["render",Di]]);export{Oi as __pageData,Li as default}; diff --git a/assets/rules_no-duplicate-attributes.md.Blj53J_C.js b/assets/rules_no-duplicate-attributes.md.Blj53J_C.js new file mode 100644 index 00000000..2abb710e --- /dev/null +++ b/assets/rules_no-duplicate-attributes.md.Blj53J_C.js @@ -0,0 +1,11 @@ +import{_ as l,c as o,j as t,a as s,I as a,w as i,a9 as n,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const O=JSON.parse('{"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
`)"},"headers":[],"relativePath":"rules/no-duplicate-attributes.md","filePath":"rules/no-duplicate-attributes.md","lastUpdated":1721431800000}'),r={name:"rules/no-duplicate-attributes.md"},d=n('

lodash-template/no-duplicate-attributes

disallow duplication of HTML attributes. (ex. 🆖 <div foo foo>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".

Rule Details

This rule reports duplicate attributes.

When duplicate arguments exist, only the last one is valid. It's possibly mistakes.

',6),c={class:"language-html vp-adaptive-theme"},u=t("button",{title:"Copy Code",class:"copy"},null,-1),k=t("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-duplicate-attributes": "error" */ %>')],-1),m=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),E=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')],-1),f=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),y=t("span",{class:"line"},null,-1),v=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),D=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),F={class:"line"},w=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),C=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')])],-1),A=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),B={class:"line"},x=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),T=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"def"')])],-1),q=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),P=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),I=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),N=t("ul",null,[t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-duplicate-attributes.js",target:"_blank",rel:"noreferrer"},"Rule source")]),t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-duplicate-attributes.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function V(S,R,$,j,H,L){const e=h("v-menu");return p(),o("div",null,[d,t("div",c,[u,k,t("pre",_,[t("code",null,[g,s(` +`),m,s(` +`),b,s(` +`),E,s(` +`),f,s(` +`),y,s(` +`),v,s(` +`),D,s(` +`),t("span",F,[w,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[A]),default:i(()=>[C]),_:1})]),s(` +`),t("span",B,[x,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[T]),_:1})]),s(` +`),P])])]),I,N])}const G=l(r,[["render",V]]);export{O as __pageData,G as default}; diff --git a/assets/rules_no-duplicate-attributes.md.Blj53J_C.lean.js b/assets/rules_no-duplicate-attributes.md.Blj53J_C.lean.js new file mode 100644 index 00000000..42793cf3 --- /dev/null +++ b/assets/rules_no-duplicate-attributes.md.Blj53J_C.lean.js @@ -0,0 +1,11 @@ +import{_ as l,c as o,j as t,a as s,I as a,w as i,a9 as n,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const O=JSON.parse('{"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
`)"},"headers":[],"relativePath":"rules/no-duplicate-attributes.md","filePath":"rules/no-duplicate-attributes.md","lastUpdated":1721431800000}'),r={name:"rules/no-duplicate-attributes.md"},d=n("",6),c={class:"language-html vp-adaptive-theme"},u=t("button",{title:"Copy Code",class:"copy"},null,-1),k=t("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-duplicate-attributes": "error" */ %>')],-1),m=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),E=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')],-1),f=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),y=t("span",{class:"line"},null,-1),v=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),D=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),F={class:"line"},w=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),C=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')])],-1),A=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),B={class:"line"},x=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),T=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"def"')])],-1),q=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),P=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),I=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),N=t("ul",null,[t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-duplicate-attributes.js",target:"_blank",rel:"noreferrer"},"Rule source")]),t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-duplicate-attributes.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function V(S,R,$,j,H,L){const e=h("v-menu");return p(),o("div",null,[d,t("div",c,[u,k,t("pre",_,[t("code",null,[g,s(` +`),m,s(` +`),b,s(` +`),E,s(` +`),f,s(` +`),y,s(` +`),v,s(` +`),D,s(` +`),t("span",F,[w,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[A]),default:i(()=>[C]),_:1})]),s(` +`),t("span",B,[x,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[T]),_:1})]),s(` +`),P])])]),I,N])}const G=l(r,[["render",V]]);export{O as __pageData,G as default}; diff --git a/assets/rules_no-empty-template-tag.md.DTsTbqfX.js b/assets/rules_no-empty-template-tag.md.DTsTbqfX.js new file mode 100644 index 00000000..05d20baf --- /dev/null +++ b/assets/rules_no-empty-template-tag.md.DTsTbqfX.js @@ -0,0 +1,8 @@ +import{_ as o,c as h,j as t,a as s,I as l,w as e,a9 as i,D as n,o as p}from"./chunks/framework.CPdKJSF1.js";const L=JSON.parse('{"title":"lodash-template/no-empty-template-tag","description":"disallow empty micro-template tag. (ex. :ng: `<% %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-empty-template-tag","description":"disallow empty micro-template tag. (ex. :ng: `<% %>`)"},"headers":[],"relativePath":"rules/no-empty-template-tag.md","filePath":"rules/no-empty-template-tag.md","lastUpdated":1721431800000}'),d={name:"rules/no-empty-template-tag.md"},r=i('

lodash-template/no-empty-template-tag

disallow empty micro-template tag. (ex. 🆖 <% %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".

Rule Details

This rule reports empty micro-template interpolate/evaluate.

',5),c={class:"language-html vp-adaptive-theme"},m=t("button",{title:"Copy Code",class:"copy"},null,-1),k=t("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-empty-template-tag": "error" */ %>')],-1),E=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),u=i('<div><%= text %></div>',1),y=t("span",{class:"line"},null,-1),f=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b={class:"line"},v=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),A=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),T=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% %>")])],-1),w=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s("Empty micro-template tag. ("),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-empty-template-tag.html"},"lodash-template/no-empty-template-tag"),s(")")])])],-1),q=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),C={class:"line"},P=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),S=t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),V=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),I=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%")])],-1),N=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s("Empty micro-template tag. ("),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-empty-template-tag.html"},"lodash-template/no-empty-template-tag"),s(")")])])],-1),R=i('%></div>',1),F=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),$=t("ul",null,[t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-empty-template-tag.js",target:"_blank",rel:"noreferrer"},"Rule source")]),t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-empty-template-tag.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function j(O,G,J,U,z,H){const a=n("v-menu");return p(),h("div",null,[r,t("div",c,[m,k,t("pre",_,[t("code",null,[g,s(` +`),E,s(` +`),u,s(` +`),y,s(` +`),f,s(` +`),t("span",b,[v,D,A,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[w]),default:e(()=>[T]),_:1}),q,x,B]),s(` +`),t("span",C,[P,S,V,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[N]),default:e(()=>[I]),_:1})]),s(` +`),R])])]),F,$])}const M=o(d,[["render",j]]);export{L as __pageData,M as default}; diff --git a/assets/rules_no-empty-template-tag.md.DTsTbqfX.lean.js b/assets/rules_no-empty-template-tag.md.DTsTbqfX.lean.js new file mode 100644 index 00000000..0a3fd515 --- /dev/null +++ b/assets/rules_no-empty-template-tag.md.DTsTbqfX.lean.js @@ -0,0 +1,8 @@ +import{_ as o,c as h,j as t,a as s,I as l,w as e,a9 as i,D as n,o as p}from"./chunks/framework.CPdKJSF1.js";const L=JSON.parse('{"title":"lodash-template/no-empty-template-tag","description":"disallow empty micro-template tag. (ex. :ng: `<% %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-empty-template-tag","description":"disallow empty micro-template tag. (ex. :ng: `<% %>`)"},"headers":[],"relativePath":"rules/no-empty-template-tag.md","filePath":"rules/no-empty-template-tag.md","lastUpdated":1721431800000}'),d={name:"rules/no-empty-template-tag.md"},r=i("",5),c={class:"language-html vp-adaptive-theme"},m=t("button",{title:"Copy Code",class:"copy"},null,-1),k=t("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-empty-template-tag": "error" */ %>')],-1),E=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),u=i("",1),y=t("span",{class:"line"},null,-1),f=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b={class:"line"},v=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),A=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),T=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% %>")])],-1),w=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s("Empty micro-template tag. ("),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-empty-template-tag.html"},"lodash-template/no-empty-template-tag"),s(")")])])],-1),q=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),C={class:"line"},P=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),S=t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),V=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),I=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%")])],-1),N=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s("Empty micro-template tag. ("),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-empty-template-tag.html"},"lodash-template/no-empty-template-tag"),s(")")])])],-1),R=i("",1),F=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),$=t("ul",null,[t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-empty-template-tag.js",target:"_blank",rel:"noreferrer"},"Rule source")]),t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-empty-template-tag.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function j(O,G,J,U,z,H){const a=n("v-menu");return p(),h("div",null,[r,t("div",c,[m,k,t("pre",_,[t("code",null,[g,s(` +`),E,s(` +`),u,s(` +`),y,s(` +`),f,s(` +`),t("span",b,[v,D,A,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[w]),default:e(()=>[T]),_:1}),q,x,B]),s(` +`),t("span",C,[P,S,V,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[N]),default:e(()=>[I]),_:1})]),s(` +`),R])])]),F,$])}const M=o(d,[["render",j]]);export{L as __pageData,M as default}; diff --git a/assets/rules_no-html-comments.md.DY6KRGhR.js b/assets/rules_no-html-comments.md.DY6KRGhR.js new file mode 100644 index 00000000..2bba2bc6 --- /dev/null +++ b/assets/rules_no-html-comments.md.DY6KRGhR.js @@ -0,0 +1,4 @@ +import{_ as o,c as a,j as e,a as t,I as i,w as s,a9 as n,D as h,o as m}from"./chunks/framework.CPdKJSF1.js";const H=JSON.parse('{"title":"lodash-template/no-html-comments","description":"disallow HTML comments. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-html-comments","description":"disallow HTML comments. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-html-comments.md","filePath":"rules/no-html-comments.md","lastUpdated":1721431800000}'),r={name:"rules/no-html-comments.md"},c=n('

lodash-template/no-html-comments

disallow HTML comments. (ex. 🆖 <!-- comment -->)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".

Rule Details

This rule reports HTML comments.

',5),d={class:"language-html vp-adaptive-theme"},p=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-html-comments": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* ✓ GOOD */ %>")],-1),b=e("span",{class:"line"},null,-1),f={class:"line"},v=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),T=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("HTML comment are forbidden. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-html-comments.html"},"lodash-template/no-html-comments"),t(")")])])],-1),y=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),D=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-html-comments.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-html-comments.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function w(x,E,q,A,B,C){const l=h("v-menu");return m(),a("div",null,[c,e("div",d,[p,u,e("pre",_,[e("code",null,[k,t(` +`),g,t(` +`),b,t(` +`),e("span",f,[i(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[T]),default:s(()=>[v]),_:1})])])])]),y,D])}const N=o(r,[["render",w]]);export{H as __pageData,N as default}; diff --git a/assets/rules_no-html-comments.md.DY6KRGhR.lean.js b/assets/rules_no-html-comments.md.DY6KRGhR.lean.js new file mode 100644 index 00000000..00356924 --- /dev/null +++ b/assets/rules_no-html-comments.md.DY6KRGhR.lean.js @@ -0,0 +1,4 @@ +import{_ as o,c as a,j as e,a as t,I as i,w as s,a9 as n,D as h,o as m}from"./chunks/framework.CPdKJSF1.js";const H=JSON.parse('{"title":"lodash-template/no-html-comments","description":"disallow HTML comments. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-html-comments","description":"disallow HTML comments. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-html-comments.md","filePath":"rules/no-html-comments.md","lastUpdated":1721431800000}'),r={name:"rules/no-html-comments.md"},c=n("",5),d={class:"language-html vp-adaptive-theme"},p=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-html-comments": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* ✓ GOOD */ %>")],-1),b=e("span",{class:"line"},null,-1),f={class:"line"},v=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),T=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("HTML comment are forbidden. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-html-comments.html"},"lodash-template/no-html-comments"),t(")")])])],-1),y=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),D=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-html-comments.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-html-comments.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function w(x,E,q,A,B,C){const l=h("v-menu");return m(),a("div",null,[c,e("div",d,[p,u,e("pre",_,[e("code",null,[k,t(` +`),g,t(` +`),b,t(` +`),e("span",f,[i(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[T]),default:s(()=>[v]),_:1})])])])]),y,D])}const N=o(r,[["render",w]]);export{H as __pageData,N as default}; diff --git a/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.js b/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.js new file mode 100644 index 00000000..4404fe4f --- /dev/null +++ b/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.js @@ -0,0 +1,14 @@ +import{_ as n,c as o,j as i,a as t,I as a,w as s,a9 as e,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const W=JSON.parse('{"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)"},"headers":[],"relativePath":"rules/no-invalid-template-interpolation.md","filePath":"rules/no-invalid-template-interpolation.md","lastUpdated":1721431800000}'),r={name:"rules/no-invalid-template-interpolation.md"},d=e('

lodash-template/no-invalid-template-interpolation

disallow other than expression in micro-template interpolation. (ex. 🆖 <%= if (test) { %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".

Rule Details

This rule disallow other than expression in micro-template interpolation.

',5),k={class:"language-html vp-adaptive-theme"},c=i("button",{title:"Copy Code",class:"copy"},null,-1),_=i("span",{class:"lang"},"html",-1),E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-invalid-template-interpolation": "error" */ %>')],-1),g=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),u=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% if (a) { %>")],-1),y=e(' <div></div>',1),v=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),f=i("span",{class:"line"},null,-1),D=e('<div><%= text %></div>',1),A=i("span",{class:"line"},null,-1),b=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),T={class:"line"},w=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= if (a) { %>")])],-1),x=i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected an expression, but a not expressions. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html"},"lodash-template/no-invalid-template-interpolation"),t(")")])])],-1),B=e(' <div></div>',1),q=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),S=i("span",{class:"line"},null,-1),C={class:"line"},I=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),P=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),V=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),N=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= /**/ %>")])],-1),F=i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Empty statement. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html"},"lodash-template/no-invalid-template-interpolation"),t(")")])])],-1),R=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),O=i("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),G=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-invalid-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-invalid-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function J(U,z,H,K,L,M){const l=h("v-menu");return p(),o("div",null,[d,i("div",k,[c,_,i("pre",E,[i("code",null,[m,t(` +`),g,t(` +`),u,t(` +`),y,t(` +`),v,t(` +`),f,t(` +`),D,t(` +`),A,t(` +`),b,t(` +`),i("span",T,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[x]),default:s(()=>[w]),_:1})]),t(` +`),B,t(` +`),q,t(` +`),S,t(` +`),i("span",C,[I,P,V,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[F]),default:s(()=>[N]),_:1}),R,$,j])])])]),O,G])}const X=n(r,[["render",J]]);export{W as __pageData,X as default}; diff --git a/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.lean.js b/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.lean.js new file mode 100644 index 00000000..d77c271f --- /dev/null +++ b/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.lean.js @@ -0,0 +1,14 @@ +import{_ as n,c as o,j as i,a as t,I as a,w as s,a9 as e,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const W=JSON.parse('{"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)"},"headers":[],"relativePath":"rules/no-invalid-template-interpolation.md","filePath":"rules/no-invalid-template-interpolation.md","lastUpdated":1721431800000}'),r={name:"rules/no-invalid-template-interpolation.md"},d=e("",5),k={class:"language-html vp-adaptive-theme"},c=i("button",{title:"Copy Code",class:"copy"},null,-1),_=i("span",{class:"lang"},"html",-1),E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-invalid-template-interpolation": "error" */ %>')],-1),g=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),u=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% if (a) { %>")],-1),y=e("",1),v=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),f=i("span",{class:"line"},null,-1),D=e("",1),A=i("span",{class:"line"},null,-1),b=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),T={class:"line"},w=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= if (a) { %>")])],-1),x=i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected an expression, but a not expressions. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html"},"lodash-template/no-invalid-template-interpolation"),t(")")])])],-1),B=e("",1),q=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),S=i("span",{class:"line"},null,-1),C={class:"line"},I=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),P=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),V=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),N=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= /**/ %>")])],-1),F=i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Empty statement. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html"},"lodash-template/no-invalid-template-interpolation"),t(")")])])],-1),R=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),O=i("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),G=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-invalid-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-invalid-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function J(U,z,H,K,L,M){const l=h("v-menu");return p(),o("div",null,[d,i("div",k,[c,_,i("pre",E,[i("code",null,[m,t(` +`),g,t(` +`),u,t(` +`),y,t(` +`),v,t(` +`),f,t(` +`),D,t(` +`),A,t(` +`),b,t(` +`),i("span",T,[a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[x]),default:s(()=>[w]),_:1})]),t(` +`),B,t(` +`),q,t(` +`),S,t(` +`),i("span",C,[I,P,V,a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[F]),default:s(()=>[N]),_:1}),R,$,j])])])]),O,G])}const X=n(r,[["render",J]]);export{W as __pageData,X as default}; diff --git a/assets/rules_no-irregular-whitespace.md.BknRbDbC.js b/assets/rules_no-irregular-whitespace.md.BknRbDbC.js new file mode 100644 index 00000000..8b2f2858 --- /dev/null +++ b/assets/rules_no-irregular-whitespace.md.BknRbDbC.js @@ -0,0 +1,14 @@ +import{_ as h,c as o,j as s,a as i,I as a,w as e,a9 as l,D as n,o as r}from"./chunks/framework.CPdKJSF1.js";const X=JSON.parse('{"title":"lodash-template/no-irregular-whitespace","description":"disallow irregular whitespace outside the template tags.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-irregular-whitespace","description":"disallow irregular whitespace outside the template tags."},"headers":[],"relativePath":"rules/no-irregular-whitespace.md","filePath":"rules/no-irregular-whitespace.md","lastUpdated":1721431800000}'),p={name:"rules/no-irregular-whitespace.md"},d=l('

lodash-template/no-irregular-whitespace

disallow irregular whitespace outside the template tags.

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule disallows the irregular whitespaces.

',5),c={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-irregular-whitespace": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),m=l('<div id="item-id" class="item-content">',1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),w=s("span",{class:"line"},null,-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b={class:"line"},F=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ")])],-1),v=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Irregular whitespace '\\u3000' not allowed. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html"},"lodash-template/no-irregular-whitespace"),i(")")])])],-1),T=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"id",-1),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),A=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"item-id"',-1),D=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ")])],-1),x=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Irregular whitespace '\\u3000' not allowed. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html"},"lodash-template/no-irregular-whitespace"),i(")")])])],-1),I=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"class",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),S=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"item-content"',-1),V=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),N={class:"line"},R=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),H=l(`

Options

json
{
+  "lodash-template/no-irregular-whitespace": ["error", {
+    "skipComments": false,
+    "skipAttrValues": false,
+    "skipText": false
+  }]
+}

This rule has an object option for exceptions:

  • "skipComments": true allows any whitespace characters in HTML comments
  • "skipAttrValues": true allows any whitespace characters in HTML attribute values
  • "skipText": true allows any whitespace characters in HTML texts

Further Reading

Implementation

`,8);function M(G,J,U,W,z,K){const t=n("v-menu");return r(),o("div",null,[d,s("div",c,[k,u,s("pre",g,[s("code",null,[_,i(` +`),E,i(` +`),m,i(` +`),y,i(` +`),w,i(` +`),f,i(` +`),s("span",b,[F,q,a(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[v]),default:e(()=>[C]),_:1}),T,B,A,a(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[x]),default:e(()=>[D]),_:1}),I,P,S,V]),i(` +`),s("span",N,[R,j,a(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[L]),default:e(()=>[O]),_:1}),$])])])]),H])}const Y=h(p,[["render",M]]);export{X as __pageData,Y as default}; diff --git a/assets/rules_no-irregular-whitespace.md.BknRbDbC.lean.js b/assets/rules_no-irregular-whitespace.md.BknRbDbC.lean.js new file mode 100644 index 00000000..7dc81cf7 --- /dev/null +++ b/assets/rules_no-irregular-whitespace.md.BknRbDbC.lean.js @@ -0,0 +1,8 @@ +import{_ as h,c as o,j as s,a as i,I as a,w as e,a9 as l,D as n,o as r}from"./chunks/framework.CPdKJSF1.js";const X=JSON.parse('{"title":"lodash-template/no-irregular-whitespace","description":"disallow irregular whitespace outside the template tags.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-irregular-whitespace","description":"disallow irregular whitespace outside the template tags."},"headers":[],"relativePath":"rules/no-irregular-whitespace.md","filePath":"rules/no-irregular-whitespace.md","lastUpdated":1721431800000}'),p={name:"rules/no-irregular-whitespace.md"},d=l("",5),c={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-irregular-whitespace": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),m=l("",1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"")],-1),w=s("span",{class:"line"},null,-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b={class:"line"},F=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ")])],-1),v=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Irregular whitespace '\\u3000' not allowed. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html"},"lodash-template/no-irregular-whitespace"),i(")")])])],-1),T=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"id",-1),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),A=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"item-id"',-1),D=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ")])],-1),x=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Irregular whitespace '\\u3000' not allowed. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-irregular-whitespace.html"},"lodash-template/no-irregular-whitespace"),i(")")])])],-1),I=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"class",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),S=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"item-content"',-1),V=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),N={class:"line"},R=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),H=l("",8);function M(G,J,U,W,z,K){const t=n("v-menu");return r(),o("div",null,[d,s("div",c,[k,u,s("pre",g,[s("code",null,[_,i(` +`),E,i(` +`),m,i(` +`),y,i(` +`),w,i(` +`),f,i(` +`),s("span",b,[F,q,a(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[v]),default:e(()=>[C]),_:1}),T,B,A,a(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[x]),default:e(()=>[D]),_:1}),I,P,S,V]),i(` +`),s("span",N,[R,j,a(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[L]),default:e(()=>[O]),_:1}),$])])])]),H])}const Y=h(p,[["render",M]]);export{X as __pageData,Y as default}; diff --git a/assets/rules_no-multi-spaces-in-html-tag.md.ClcPh98n.js b/assets/rules_no-multi-spaces-in-html-tag.md.ClcPh98n.js new file mode 100644 index 00000000..91ae7cbe --- /dev/null +++ b/assets/rules_no-multi-spaces-in-html-tag.md.ClcPh98n.js @@ -0,0 +1,12 @@ +import{_ as n,c as o,j as s,a as t,I as l,w as i,a9 as a,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const X=JSON.parse('{"title":"lodash-template/no-multi-spaces-in-html-tag","description":"disallow multiple spaces in HTML tags. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-multi-spaces-in-html-tag","description":"disallow multiple spaces in HTML tags. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-multi-spaces-in-html-tag.md","filePath":"rules/no-multi-spaces-in-html-tag.md","lastUpdated":1721431800000}'),r={name:"rules/no-multi-spaces-in-html-tag.md"},d=a('

lodash-template/no-multi-spaces-in-html-tag

disallow multiple spaces in HTML tags. (ex. 🆖 <input···type="text">)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to disallow multiple whitespace in a between attributes which are not used for indentation.

',5),c={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-multi-spaces-in-html-tag": "error" */ %>')],-1),g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," type"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"text"')],-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),F=s("span",{class:"line"},null,-1),w=a('<input class="foo" type="text">',1),C=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),x={class:"line"},T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),B=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),D=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ")])],-1),q=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,'class="foo"'),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-html-tag.html"},"lodash-template/no-multi-spaces-in-html-tag"),t(")")])])],-1),A=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"class",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),S=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"',-1),I={class:"line"},V=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," type",-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),M=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"text"',-1),R=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),H=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,">"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-html-tag.html"},"lodash-template/no-multi-spaces-in-html-tag"),t(")")])])],-1),$=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),j=s("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),L=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-multi-spaces-in-html-tag.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-multi-spaces-in-html-tag.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function O(G,J,U,z,K,Q){const e=h("v-menu");return p(),o("div",null,[d,s("div",c,[k,u,s("pre",_,[s("code",null,[m,t(` +`),g,t(` +`),E,t(` +`),y,t(` +`),f,t(` +`),b,t(` +`),F,t(` +`),w,t(` +`),C,t(` +`),v,t(` +`),s("span",x,[T,B,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[D]),_:1}),A,P,S]),t(` +`),s("span",I,[V,N,M,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[H]),default:i(()=>[R]),_:1}),$])])])]),j,L])}const Y=n(r,[["render",O]]);export{X as __pageData,Y as default}; diff --git a/assets/rules_no-multi-spaces-in-html-tag.md.ClcPh98n.lean.js b/assets/rules_no-multi-spaces-in-html-tag.md.ClcPh98n.lean.js new file mode 100644 index 00000000..e48c2e73 --- /dev/null +++ b/assets/rules_no-multi-spaces-in-html-tag.md.ClcPh98n.lean.js @@ -0,0 +1,12 @@ +import{_ as n,c as o,j as s,a as t,I as l,w as i,a9 as a,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const X=JSON.parse('{"title":"lodash-template/no-multi-spaces-in-html-tag","description":"disallow multiple spaces in HTML tags. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-multi-spaces-in-html-tag","description":"disallow multiple spaces in HTML tags. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-multi-spaces-in-html-tag.md","filePath":"rules/no-multi-spaces-in-html-tag.md","lastUpdated":1721431800000}'),r={name:"rules/no-multi-spaces-in-html-tag.md"},d=a("",5),c={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-multi-spaces-in-html-tag": "error" */ %>')],-1),g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," type"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"text"')],-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),F=s("span",{class:"line"},null,-1),w=a("",1),C=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),x={class:"line"},T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),B=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),D=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ")])],-1),q=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,'class="foo"'),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-html-tag.html"},"lodash-template/no-multi-spaces-in-html-tag"),t(")")])])],-1),A=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"class",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),S=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"',-1),I={class:"line"},V=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," type",-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),M=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"text"',-1),R=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),H=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,">"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-html-tag.html"},"lodash-template/no-multi-spaces-in-html-tag"),t(")")])])],-1),$=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),j=s("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),L=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-multi-spaces-in-html-tag.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-multi-spaces-in-html-tag.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function O(G,J,U,z,K,Q){const e=h("v-menu");return p(),o("div",null,[d,s("div",c,[k,u,s("pre",_,[s("code",null,[m,t(` +`),g,t(` +`),E,t(` +`),y,t(` +`),f,t(` +`),b,t(` +`),F,t(` +`),w,t(` +`),C,t(` +`),v,t(` +`),s("span",x,[T,B,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[D]),_:1}),A,P,S]),t(` +`),s("span",I,[V,N,M,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[H]),default:i(()=>[R]),_:1}),$])])])]),j,L])}const Y=n(r,[["render",O]]);export{X as __pageData,Y as default}; diff --git a/assets/rules_no-multi-spaces-in-scriptlet.md.BAcQOluZ.js b/assets/rules_no-multi-spaces-in-scriptlet.md.BAcQOluZ.js new file mode 100644 index 00000000..60e4ed80 --- /dev/null +++ b/assets/rules_no-multi-spaces-in-scriptlet.md.BAcQOluZ.js @@ -0,0 +1,26 @@ +import{_ as o,c as n,j as s,a as t,I as l,w as i,a9 as a,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const gs=JSON.parse('{"title":"lodash-template/no-multi-spaces-in-scriptlet","description":"disallow multiple spaces in scriptlet. (ex. :ng: `<% if···(test)···{ %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-multi-spaces-in-scriptlet","description":"disallow multiple spaces in scriptlet. (ex. :ng: `<% if···(test)···{ %>`)"},"headers":[],"relativePath":"rules/no-multi-spaces-in-scriptlet.md","filePath":"rules/no-multi-spaces-in-scriptlet.md","lastUpdated":1721431800000}'),r={name:"rules/no-multi-spaces-in-scriptlet.md"},c=a('

lodash-template/no-multi-spaces-in-scriptlet

disallow multiple spaces in scriptlet. (ex. 🆖 <% if···(test)···{ %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to disallow multiple whitespace in script which are not used for indentation.

',5),d={class:"language-html vp-adaptive-theme"},u=s("button",{title:"Copy Code",class:"copy"},null,-1),_=s("span",{class:"lang"},"html",-1),k={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-multi-spaces-in-scriptlet": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var a = 1;")],-1),y=s("span",{class:"line"},null,-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'if(foo === "bar") {}')],-1),v=s("span",{class:"line"},null,-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a "),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," b")],-1),D=s("span",{class:"line"},null,-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var arr = [1, 2];")],-1),T=s("span",{class:"line"},null,-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a ? b: c")],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")],-1),B=s("span",{class:"line"},null,-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),P=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%")],-1),C={class:"line"},I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var a =",-1),V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),F=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"1"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"1;",-1),R=s("span",{class:"line"},null,-1),M={class:"line"},$=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"if(foo",-1),j=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),O=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"==="),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),G=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'=== "bar") {}',-1),J=s("span",{class:"line"},null,-1),L={class:"line"},U=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a ",-1),z=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<<",-1),H=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"b"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),Q=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"b",-1),W=s("span",{class:"line"},null,-1),X={class:"line"},Y=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var arr = [1,",-1),Z=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"2"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),ts=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"2];",-1),is=s("span",{class:"line"},null,-1),es={class:"line"},ls=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a ?",-1),as=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),os=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"b"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"b: c",-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")],-1),ps=a('

Further Reading

Implementation

',4);function rs(cs,ds,us,_s,ks,ms){const e=h("v-menu");return p(),n("div",null,[c,s("div",d,[u,_,s("pre",k,[s("code",null,[m,t(` +`),E,t(` +`),g,t(` +`),f,t(` +`),y,t(` +`),b,t(` +`),v,t(` +`),w,t(` +`),D,t(` +`),q,t(` +`),T,t(` +`),x,t(` +`),A,t(` +`),B,t(` +`),S,t(` +`),P,t(` +`),s("span",C,[I,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[F]),default:i(()=>[V]),_:1}),N]),t(` +`),R,t(` +`),s("span",M,[$,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[O]),default:i(()=>[j]),_:1}),G]),t(` +`),J,t(` +`),s("span",L,[U,z,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[K]),default:i(()=>[H]),_:1}),Q]),t(` +`),W,t(` +`),s("span",X,[Y,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[ss]),default:i(()=>[Z]),_:1}),ts]),t(` +`),is,t(` +`),s("span",es,[ls,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[os]),default:i(()=>[as]),_:1}),ns]),t(` +`),hs])])]),ps])}const fs=o(r,[["render",rs]]);export{gs as __pageData,fs as default}; diff --git a/assets/rules_no-multi-spaces-in-scriptlet.md.BAcQOluZ.lean.js b/assets/rules_no-multi-spaces-in-scriptlet.md.BAcQOluZ.lean.js new file mode 100644 index 00000000..6cbb8ced --- /dev/null +++ b/assets/rules_no-multi-spaces-in-scriptlet.md.BAcQOluZ.lean.js @@ -0,0 +1,26 @@ +import{_ as o,c as n,j as s,a as t,I as l,w as i,a9 as a,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const gs=JSON.parse('{"title":"lodash-template/no-multi-spaces-in-scriptlet","description":"disallow multiple spaces in scriptlet. (ex. :ng: `<% if···(test)···{ %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-multi-spaces-in-scriptlet","description":"disallow multiple spaces in scriptlet. (ex. :ng: `<% if···(test)···{ %>`)"},"headers":[],"relativePath":"rules/no-multi-spaces-in-scriptlet.md","filePath":"rules/no-multi-spaces-in-scriptlet.md","lastUpdated":1721431800000}'),r={name:"rules/no-multi-spaces-in-scriptlet.md"},c=a("",5),d={class:"language-html vp-adaptive-theme"},u=s("button",{title:"Copy Code",class:"copy"},null,-1),_=s("span",{class:"lang"},"html",-1),k={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-multi-spaces-in-scriptlet": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var a = 1;")],-1),y=s("span",{class:"line"},null,-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'if(foo === "bar") {}')],-1),v=s("span",{class:"line"},null,-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a "),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," b")],-1),D=s("span",{class:"line"},null,-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var arr = [1, 2];")],-1),T=s("span",{class:"line"},null,-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a ? b: c")],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")],-1),B=s("span",{class:"line"},null,-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),P=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%")],-1),C={class:"line"},I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var a =",-1),V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),F=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"1"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"1;",-1),R=s("span",{class:"line"},null,-1),M={class:"line"},$=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"if(foo",-1),j=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),O=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"==="),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),G=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'=== "bar") {}',-1),J=s("span",{class:"line"},null,-1),L={class:"line"},U=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a ",-1),z=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<<",-1),H=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"b"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),Q=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"b",-1),W=s("span",{class:"line"},null,-1),X={class:"line"},Y=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"var arr = [1,",-1),Z=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"2"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),ts=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"2];",-1),is=s("span",{class:"line"},null,-1),es={class:"line"},ls=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"a ?",-1),as=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),os=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Multiple spaces found before "),s("code",null,"b"),t(". ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),t(")")])])],-1),ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"b: c",-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")],-1),ps=a("",4);function rs(cs,ds,us,_s,ks,ms){const e=h("v-menu");return p(),n("div",null,[c,s("div",d,[u,_,s("pre",k,[s("code",null,[m,t(` +`),E,t(` +`),g,t(` +`),f,t(` +`),y,t(` +`),b,t(` +`),v,t(` +`),w,t(` +`),D,t(` +`),q,t(` +`),T,t(` +`),x,t(` +`),A,t(` +`),B,t(` +`),S,t(` +`),P,t(` +`),s("span",C,[I,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[F]),default:i(()=>[V]),_:1}),N]),t(` +`),R,t(` +`),s("span",M,[$,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[O]),default:i(()=>[j]),_:1}),G]),t(` +`),J,t(` +`),s("span",L,[U,z,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[K]),default:i(()=>[H]),_:1}),Q]),t(` +`),W,t(` +`),s("span",X,[Y,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[ss]),default:i(()=>[Z]),_:1}),ts]),t(` +`),is,t(` +`),s("span",es,[ls,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[os]),default:i(()=>[as]),_:1}),ns]),t(` +`),hs])])]),ps])}const fs=o(r,[["render",rs]]);export{gs as __pageData,fs as default}; diff --git a/assets/rules_no-script-parsing-error.md.DvgrHDnY.js b/assets/rules_no-script-parsing-error.md.DvgrHDnY.js new file mode 100644 index 00000000..700835ae --- /dev/null +++ b/assets/rules_no-script-parsing-error.md.DvgrHDnY.js @@ -0,0 +1,12 @@ +import{_ as l,c as n,j as s,a as i,I as r,w as t,a9 as a,D as o,o as h}from"./chunks/framework.CPdKJSF1.js";const R=JSON.parse('{"title":"lodash-template/no-script-parsing-error","description":"disallow parsing errors in template","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-script-parsing-error","description":"disallow parsing errors in template"},"headers":[],"relativePath":"rules/no-script-parsing-error.md","filePath":"rules/no-script-parsing-error.md","lastUpdated":1721431800000}'),p={name:"rules/no-script-parsing-error.md"},d=a(`

lodash-template/no-script-parsing-error

disallow parsing errors in template

  • ⚙️ This rule is included in all of "plugin:lodash-template/base", "plugin:lodash-template/all", "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/recommended-with-script".

Rule Details

This rule reports syntax errors in JavaScript template.
This rule works when verification of "JavaScript Templates" is enabled.

js
/* eslint "lodash-template/no-script-parsing-error": "error" */
+/* ✓ GOOD */
+<% if (a) { %>
+  const a = 'ABC'
+<% } else { %>
+  const a = 'DEF'
+<% } %>
`,6),k={class:"language-js vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),g=s("span",{class:"lang"},"js",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'/* eslint "lodash-template/no-script-parsing-error": "error" */')],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"/* ✗ BAD */")],-1),y=a('<% if (a) { %>',1),F=a(' const a = 'ABC'',1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<%"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } "),s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>")],-1),D={class:"line"},b=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1),E=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ",-1),f=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"a")])],-1),C=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Parsing error: Identifier 'a' has already been declared. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-script-parsing-error.html"},"lodash-template/no-script-parsing-error"),i(")")])])],-1),q=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =",-1),v=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," 'DEF'",-1),T=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),w=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-script-parsing-error.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-script-parsing-error.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function B(S,P,x,I,V,j){const e=o("v-menu");return h(),n("div",null,[d,s("div",k,[c,g,s("pre",_,[s("code",null,[u,i(` +`),m,i(` +`),y,i(` +`),F,i(` +`),A,i(` +`),s("span",D,[b,E,r(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[C]),default:t(()=>[f]),_:1}),q,v])])])]),T,w])}const $=l(p,[["render",B]]);export{R as __pageData,$ as default}; diff --git a/assets/rules_no-script-parsing-error.md.DvgrHDnY.lean.js b/assets/rules_no-script-parsing-error.md.DvgrHDnY.lean.js new file mode 100644 index 00000000..3e1d8b13 --- /dev/null +++ b/assets/rules_no-script-parsing-error.md.DvgrHDnY.lean.js @@ -0,0 +1,6 @@ +import{_ as l,c as n,j as s,a as i,I as r,w as t,a9 as a,D as o,o as h}from"./chunks/framework.CPdKJSF1.js";const R=JSON.parse('{"title":"lodash-template/no-script-parsing-error","description":"disallow parsing errors in template","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-script-parsing-error","description":"disallow parsing errors in template"},"headers":[],"relativePath":"rules/no-script-parsing-error.md","filePath":"rules/no-script-parsing-error.md","lastUpdated":1721431800000}'),p={name:"rules/no-script-parsing-error.md"},d=a("",6),k={class:"language-js vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),g=s("span",{class:"lang"},"js",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'/* eslint "lodash-template/no-script-parsing-error": "error" */')],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"/* ✗ BAD */")],-1),y=a("",1),F=a("",1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<%"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } "),s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>")],-1),D={class:"line"},b=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1),E=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ",-1),f=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"a")])],-1),C=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Parsing error: Identifier 'a' has already been declared. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-script-parsing-error.html"},"lodash-template/no-script-parsing-error"),i(")")])])],-1),q=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =",-1),v=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," 'DEF'",-1),T=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),w=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-script-parsing-error.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-script-parsing-error.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function B(S,P,x,I,V,j){const e=o("v-menu");return h(),n("div",null,[d,s("div",k,[c,g,s("pre",_,[s("code",null,[u,i(` +`),m,i(` +`),y,i(` +`),F,i(` +`),A,i(` +`),s("span",D,[b,E,r(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[C]),default:t(()=>[f]),_:1}),q,v])])])]),T,w])}const $=l(p,[["render",B]]);export{R as __pageData,$ as default}; diff --git a/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.js b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.js new file mode 100644 index 00000000..d8cd011b --- /dev/null +++ b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.js @@ -0,0 +1,6 @@ +import{_ as l,c as o,j as e,a as t,I as a,w as i,a9 as n,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const $=JSON.parse('{"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)"},"headers":[],"relativePath":"rules/no-semi-in-template-interpolation.md","filePath":"rules/no-semi-in-template-interpolation.md","lastUpdated":1721431800000}'),p={name:"rules/no-semi-in-template-interpolation.md"},d=n('

lodash-template/no-semi-in-template-interpolation

disallow the semicolon at the end of expression in micro template interpolation.(ex. 🆗 <%= text %> 🆖 <%= text; %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule disallow the semicolon at the end of expression in micro template interpolation.

',5),c={class:"language-html vp-adaptive-theme"},m=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-semi-in-template-interpolation": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text %>")],-1),b=e("span",{class:"line"},null,-1),x=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E={class:"line"},y=e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<",-1),D=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text",-1),q=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},";")])],-1),v=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Unnecessary semicolon. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-semi-in-template-interpolation.html"},"lodash-template/no-semi-in-template-interpolation"),t(")")])])],-1),w=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," %>",-1),T=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),A=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function B(C,I,P,N,S,V){const s=r("v-menu");return h(),o("div",null,[d,e("div",c,[m,u,e("pre",_,[e("code",null,[k,t(` +`),g,t(` +`),f,t(` +`),b,t(` +`),x,t(` +`),e("span",E,[y,D,a(s,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[v]),default:i(()=>[q]),_:1}),w])])])]),T,A])}const j=l(p,[["render",B]]);export{$ as __pageData,j as default}; diff --git a/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.lean.js b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.lean.js new file mode 100644 index 00000000..4ee8fc59 --- /dev/null +++ b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.lean.js @@ -0,0 +1,6 @@ +import{_ as l,c as o,j as e,a as t,I as a,w as i,a9 as n,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const $=JSON.parse('{"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)"},"headers":[],"relativePath":"rules/no-semi-in-template-interpolation.md","filePath":"rules/no-semi-in-template-interpolation.md","lastUpdated":1721431800000}'),p={name:"rules/no-semi-in-template-interpolation.md"},d=n("",5),c={class:"language-html vp-adaptive-theme"},m=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-semi-in-template-interpolation": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text %>")],-1),b=e("span",{class:"line"},null,-1),x=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E={class:"line"},y=e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<",-1),D=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text",-1),q=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},";")])],-1),v=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Unnecessary semicolon. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-semi-in-template-interpolation.html"},"lodash-template/no-semi-in-template-interpolation"),t(")")])])],-1),w=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," %>",-1),T=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),A=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function B(C,I,P,N,S,V){const s=r("v-menu");return h(),o("div",null,[d,e("div",c,[m,u,e("pre",_,[e("code",null,[k,t(` +`),g,t(` +`),f,t(` +`),b,t(` +`),x,t(` +`),e("span",E,[y,D,a(s,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[v]),default:i(()=>[q]),_:1}),w])])])]),T,A])}const j=l(p,[["render",B]]);export{$ as __pageData,j as default}; diff --git a/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.js b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.js new file mode 100644 index 00000000..c8fbfb80 --- /dev/null +++ b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.js @@ -0,0 +1,6 @@ +import{_ as l,c as n,j as e,a as s,I as o,w as a,a9 as t,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const O=JSON.parse('{"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
` :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
` :ng: `
`)"},"headers":[],"relativePath":"rules/no-space-attribute-equal-sign.md","filePath":"rules/no-space-attribute-equal-sign.md","lastUpdated":1721431800000}'),d={name:"rules/no-space-attribute-equal-sign.md"},p=t('

lodash-template/no-space-attribute-equal-sign

disallow spacing around equal signs in attribute. (ex. 🆗 <div class="item"> 🆖 <div class = "item">)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule disallow spacing around equal signs in attribute.

HTML5 allows spaces around equal signs. But space-less is easier to read, and groups entities better together.

',6),c={class:"language-html vp-adaptive-theme"},u=e("button",{title:"Copy Code",class:"copy"},null,-1),_=e("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-space-attribute-equal-sign": "error" */ %>')],-1),m=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=t('<input class="item">',1),E=e("span",{class:"line"},null,-1),q=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f={class:"line"},y=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),T=e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),v=e("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),w=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),A=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=")])],-1),D=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Equal signs in must not be spaced. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-space-attribute-equal-sign.html"},"lodash-template/no-space-attribute-equal-sign"),s(")")])])],-1),x=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),S=e("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"item"',-1),C=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),F=t('

Further Reading

Implementation

',4);function P(B,V,I,N,R,$){const i=r("v-menu");return h(),n("div",null,[p,e("div",c,[u,_,e("pre",g,[e("code",null,[k,s(` +`),m,s(` +`),b,s(` +`),E,s(` +`),q,s(` +`),e("span",f,[y,T,v,w,o(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[D]),default:a(()=>[A]),_:1}),x,S,C])])])]),F])}const G=l(d,[["render",P]]);export{O as __pageData,G as default}; diff --git a/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.lean.js b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.lean.js new file mode 100644 index 00000000..3aafbc0c --- /dev/null +++ b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.lean.js @@ -0,0 +1,6 @@ +import{_ as l,c as n,j as e,a as s,I as o,w as a,a9 as t,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const O=JSON.parse('{"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
` :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
` :ng: `
`)"},"headers":[],"relativePath":"rules/no-space-attribute-equal-sign.md","filePath":"rules/no-space-attribute-equal-sign.md","lastUpdated":1721431800000}'),d={name:"rules/no-space-attribute-equal-sign.md"},p=t("",6),c={class:"language-html vp-adaptive-theme"},u=e("button",{title:"Copy Code",class:"copy"},null,-1),_=e("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-space-attribute-equal-sign": "error" */ %>')],-1),m=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=t("",1),E=e("span",{class:"line"},null,-1),q=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f={class:"line"},y=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),T=e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),v=e("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),w=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),A=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=")])],-1),D=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Equal signs in must not be spaced. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-space-attribute-equal-sign.html"},"lodash-template/no-space-attribute-equal-sign"),s(")")])])],-1),x=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),S=e("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"item"',-1),C=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),F=t("",4);function P(B,V,I,N,R,$){const i=r("v-menu");return h(),n("div",null,[p,e("div",c,[u,_,e("pre",g,[e("code",null,[k,s(` +`),m,s(` +`),b,s(` +`),E,s(` +`),q,s(` +`),e("span",f,[y,T,v,w,o(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[D]),default:a(()=>[A]),_:1}),x,S,C])])])]),F])}const G=l(d,[["render",P]]);export{O as __pageData,G as default}; diff --git a/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.js b/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.js new file mode 100644 index 00000000..e5052bbc --- /dev/null +++ b/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.js @@ -0,0 +1,27 @@ +import{_ as n,c as h,j as s,a as t,I as l,w as i,a9 as e,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const es=JSON.parse('{"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)"},"headers":[],"relativePath":"rules/no-template-tag-in-start-tag.md","filePath":"rules/no-template-tag-in-start-tag.md","lastUpdated":1721431800000}'),r={name:"rules/no-template-tag-in-start-tag.md"},k=e('

lodash-template/no-template-tag-in-start-tag

disallow template tag in start tag outside attribute values. (ex. 🆖 <input <%= 'disabled' %> >)

  • ⚙️ This rule is included in "plugin:lodash-template/all".

Rule Details

This rule reports the template tag that is in the start tag, outside attribute values.

',5),d={class:"language-html vp-adaptive-theme"},g=s("button",{title:"Copy Code",class:"copy"},null,-1),c=s("span",{class:"lang"},"html",-1),u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-template-tag-in-start-tag": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=e('<input disabled >',1),m=s("span",{class:"line"},null,-1),f=e('<input class="<%= hidden ? 'hidden' : '' %>" >',1),b=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),A=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<%="),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," 'disabled'"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," %"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")])],-1),w=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template interpolate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >",-1),q=s("span",{class:"line"},null,-1),x={class:"line"},P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),S=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),I=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<%="),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," disabled"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ?"),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," 'disabled'"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," :"),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ''"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," %"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")])],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template interpolate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),O=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >",-1),R=s("span",{class:"line"},null,-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),$={class:"line"},G=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),J=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<%"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," if"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," (disabled)"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," {"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," %"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")])],-1),U=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template evaluate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," disabled")],-1),H={class:"line"},K=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),L=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")])],-1),M=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template evaluate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),Q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),W=e(`

Options

json
{
+  "lodash-template/no-template-tag-in-start-tag": ["error", {
+    "arrowEvaluateTag": false,
+  }]
+}

Examples for this rule with {arrowEvaluateTag: true} option:

html
<% /* eslint "lodash-template/no-template-tag-in-start-tag": ["error", {"arrowEvaluateTag": true}] */ %>
+<!-- ✓ GOOD -->
+<input disabled >
+<input
+  <% if (disabled) { %>
+  disabled
+  <% } %>
+>

Implementation

`,6);function X(Y,Z,ss,ts,is,as){const a=o("v-menu");return p(),h("div",null,[k,s("div",d,[g,c,s("pre",u,[s("code",null,[E,t(` +`),_,t(` +`),y,t(` +`),m,t(` +`),f,t(` +`),b,t(` +`),F,t(` +`),s("span",v,[B,D,A,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[w]),default:i(()=>[C]),_:1}),T]),t(` +`),q,t(` +`),s("span",x,[P,S,I,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[N]),default:i(()=>[V]),_:1}),O]),t(` +`),R,t(` +`),j,t(` +`),s("span",$,[G,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[U]),default:i(()=>[J]),_:1})]),t(` +`),z,t(` +`),s("span",H,[K,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[M]),default:i(()=>[L]),_:1})]),t(` +`),Q])])]),W])}const ns=n(r,[["render",X]]);export{es as __pageData,ns as default}; diff --git a/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.lean.js b/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.lean.js new file mode 100644 index 00000000..951344bb --- /dev/null +++ b/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.lean.js @@ -0,0 +1,16 @@ +import{_ as n,c as h,j as s,a as t,I as l,w as i,a9 as e,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const es=JSON.parse('{"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)"},"headers":[],"relativePath":"rules/no-template-tag-in-start-tag.md","filePath":"rules/no-template-tag-in-start-tag.md","lastUpdated":1721431800000}'),r={name:"rules/no-template-tag-in-start-tag.md"},k=e("",5),d={class:"language-html vp-adaptive-theme"},g=s("button",{title:"Copy Code",class:"copy"},null,-1),c=s("span",{class:"lang"},"html",-1),u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-template-tag-in-start-tag": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=e("",1),m=s("span",{class:"line"},null,-1),f=e("",1),b=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),A=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<%="),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," 'disabled'"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," %"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")])],-1),w=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template interpolate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >",-1),q=s("span",{class:"line"},null,-1),x={class:"line"},P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),S=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),I=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<%="),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," disabled"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ?"),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," 'disabled'"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," :"),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ''"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," %"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")])],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template interpolate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),O=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >",-1),R=s("span",{class:"line"},null,-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),$={class:"line"},G=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),J=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<%"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," if"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," (disabled)"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," {"),s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," %"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")])],-1),U=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template evaluate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," disabled")],-1),H={class:"line"},K=s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}}," ",-1),L=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")])],-1),M=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("The template evaluate tag in start tag outside attribute values are forbidden. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-template-tag-in-start-tag.html"},"lodash-template/no-template-tag-in-start-tag"),t(")")])])],-1),Q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),W=e("",6);function X(Y,Z,ss,ts,is,as){const a=o("v-menu");return p(),h("div",null,[k,s("div",d,[g,c,s("pre",u,[s("code",null,[E,t(` +`),_,t(` +`),y,t(` +`),m,t(` +`),f,t(` +`),b,t(` +`),F,t(` +`),s("span",v,[B,D,A,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[w]),default:i(()=>[C]),_:1}),T]),t(` +`),q,t(` +`),s("span",x,[P,S,I,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[N]),default:i(()=>[V]),_:1}),O]),t(` +`),R,t(` +`),j,t(` +`),s("span",$,[G,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[U]),default:i(()=>[J]),_:1})]),t(` +`),z,t(` +`),s("span",H,[K,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[M]),default:i(()=>[L]),_:1})]),t(` +`),Q])])]),W])}const ns=n(r,[["render",X]]);export{es as __pageData,ns as default}; diff --git a/assets/rules_no-warning-html-comments.md.Bgu2SVPk.js b/assets/rules_no-warning-html-comments.md.Bgu2SVPk.js new file mode 100644 index 00000000..e8e81cef --- /dev/null +++ b/assets/rules_no-warning-html-comments.md.Bgu2SVPk.js @@ -0,0 +1,2 @@ +import{_ as l,c as n,j as e,a as t,I as o,w as s,a9 as i,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const P=JSON.parse('{"title":"lodash-template/no-warning-html-comments","description":"disallow specified warning terms in HTML comments. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-warning-html-comments","description":"disallow specified warning terms in HTML comments. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-warning-html-comments.md","filePath":"rules/no-warning-html-comments.md","lastUpdated":1721431800000}'),m={name:"rules/no-warning-html-comments.md"},c=i('

lodash-template/no-warning-html-comments

disallow specified warning terms in HTML comments. (ex. 🆖 <!-- TODO:task -->)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".

Rule Details

This rule reports HTML comments that include any of the predefined terms specified in its configuration.

',5),d={class:"language-html vp-adaptive-theme"},p=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-warning-html-comments": "error" */ %>')],-1),k={class:"line"},f=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),w=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Unexpected 'todo' comment. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-warning-html-comments.html"},"lodash-template/no-warning-html-comments"),t(")")])])],-1),b=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),T=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-warning-html-comments.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-warning-html-comments.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function v(D,x,y,q,O,C){const a=r("v-menu");return h(),n("div",null,[c,e("div",d,[p,u,e("pre",g,[e("code",null,[_,t(` +`),e("span",k,[o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[w]),default:s(()=>[f]),_:1})])])])]),b,T])}const A=l(m,[["render",v]]);export{P as __pageData,A as default}; diff --git a/assets/rules_no-warning-html-comments.md.Bgu2SVPk.lean.js b/assets/rules_no-warning-html-comments.md.Bgu2SVPk.lean.js new file mode 100644 index 00000000..4c888e63 --- /dev/null +++ b/assets/rules_no-warning-html-comments.md.Bgu2SVPk.lean.js @@ -0,0 +1,2 @@ +import{_ as l,c as n,j as e,a as t,I as o,w as s,a9 as i,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const P=JSON.parse('{"title":"lodash-template/no-warning-html-comments","description":"disallow specified warning terms in HTML comments. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-warning-html-comments","description":"disallow specified warning terms in HTML comments. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-warning-html-comments.md","filePath":"rules/no-warning-html-comments.md","lastUpdated":1721431800000}'),m={name:"rules/no-warning-html-comments.md"},c=i("",5),d={class:"language-html vp-adaptive-theme"},p=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-warning-html-comments": "error" */ %>')],-1),k={class:"line"},f=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),w=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Unexpected 'todo' comment. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-warning-html-comments.html"},"lodash-template/no-warning-html-comments"),t(")")])])],-1),b=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),T=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-warning-html-comments.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-warning-html-comments.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function v(D,x,y,q,O,C){const a=r("v-menu");return h(),n("div",null,[c,e("div",d,[p,u,e("pre",g,[e("code",null,[_,t(` +`),e("span",k,[o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[w]),default:s(()=>[f]),_:1})])])])]),b,T])}const A=l(m,[["render",v]]);export{P as __pageData,A as default}; diff --git a/assets/rules_prefer-escape-template-interpolations.md.XZw3EGUG.js b/assets/rules_prefer-escape-template-interpolations.md.XZw3EGUG.js new file mode 100644 index 00000000..e98fa09f --- /dev/null +++ b/assets/rules_prefer-escape-template-interpolations.md.XZw3EGUG.js @@ -0,0 +1,7 @@ +import{_ as l,c as n,j as e,a as t,I as o,w as i,a9 as s,D as p,o as r}from"./chunks/framework.CPdKJSF1.js";const G=JSON.parse('{"title":"lodash-template/prefer-escape-template-interpolations","description":"prefer escape micro-template interpolations. (ex. :ok: `<%- ... %>`, :ng: `<%= ... %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/prefer-escape-template-interpolations","description":"prefer escape micro-template interpolations. (ex. :ok: `<%- ... %>`, :ng: `<%= ... %>`)"},"headers":[],"relativePath":"rules/prefer-escape-template-interpolations.md","filePath":"rules/prefer-escape-template-interpolations.md","lastUpdated":1721431800000}'),h={name:"rules/prefer-escape-template-interpolations.md"},d=s('

lodash-template/prefer-escape-template-interpolations

prefer escape micro-template interpolations. (ex. 🆗 <%- ... %>, 🆖 <%= ... %>)

  • ⚙️ This rule is included in "plugin:lodash-template/all".

Rule Details

This rule reports no escape micro-template interpolates.

',5),c={class:"language-html vp-adaptive-theme"},k=e("button",{title:"Copy Code",class:"copy"},null,-1),_=e("span",{class:"lang"},"html",-1),m={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/prefer-escape-template-interpolations": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),u=s('<div><%- text %></div>',1),f=s('<div><% print(html) %></div>',1),y=e("span",{class:"line"},null,-1),D=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b={class:"line"},A=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),T=e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),v=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),x=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text %>")])],-1),B=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("The escape micro-template interpolation is preferable. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/prefer-escape-template-interpolations.html"},"lodash-template/prefer-escape-template-interpolations"),t(")")])])],-1),C=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),I=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),V=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/prefer-escape-template-interpolations.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/prefer-escape-template-interpolations.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function w(q,N,R,F,$,j){const a=p("v-menu");return r(),n("div",null,[d,e("div",c,[k,_,e("pre",m,[e("code",null,[E,t(` +`),g,t(` +`),u,t(` +`),f,t(` +`),y,t(` +`),D,t(` +`),e("span",b,[A,T,v,o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[B]),default:i(()=>[x]),_:1}),C,P,S])])])]),I,V])}const J=l(h,[["render",w]]);export{G as __pageData,J as default}; diff --git a/assets/rules_prefer-escape-template-interpolations.md.XZw3EGUG.lean.js b/assets/rules_prefer-escape-template-interpolations.md.XZw3EGUG.lean.js new file mode 100644 index 00000000..657c446b --- /dev/null +++ b/assets/rules_prefer-escape-template-interpolations.md.XZw3EGUG.lean.js @@ -0,0 +1,7 @@ +import{_ as l,c as n,j as e,a as t,I as o,w as i,a9 as s,D as p,o as r}from"./chunks/framework.CPdKJSF1.js";const G=JSON.parse('{"title":"lodash-template/prefer-escape-template-interpolations","description":"prefer escape micro-template interpolations. (ex. :ok: `<%- ... %>`, :ng: `<%= ... %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/prefer-escape-template-interpolations","description":"prefer escape micro-template interpolations. (ex. :ok: `<%- ... %>`, :ng: `<%= ... %>`)"},"headers":[],"relativePath":"rules/prefer-escape-template-interpolations.md","filePath":"rules/prefer-escape-template-interpolations.md","lastUpdated":1721431800000}'),h={name:"rules/prefer-escape-template-interpolations.md"},d=s("",5),c={class:"language-html vp-adaptive-theme"},k=e("button",{title:"Copy Code",class:"copy"},null,-1),_=e("span",{class:"lang"},"html",-1),m={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/prefer-escape-template-interpolations": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),u=s("",1),f=s("",1),y=e("span",{class:"line"},null,-1),D=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b={class:"line"},A=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),T=e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),v=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),x=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text %>")])],-1),B=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("The escape micro-template interpolation is preferable. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/prefer-escape-template-interpolations.html"},"lodash-template/prefer-escape-template-interpolations"),t(")")])])],-1),C=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),I=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),V=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/prefer-escape-template-interpolations.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/prefer-escape-template-interpolations.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function w(q,N,R,F,$,j){const a=p("v-menu");return r(),n("div",null,[d,e("div",c,[k,_,e("pre",m,[e("code",null,[E,t(` +`),g,t(` +`),u,t(` +`),f,t(` +`),y,t(` +`),D,t(` +`),e("span",b,[A,T,v,o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[B]),default:i(()=>[x]),_:1}),C,P,S])])])]),I,V])}const J=l(h,[["render",w]]);export{G as __pageData,J as default}; diff --git a/assets/rules_scriptlet-indent.md.BB4oMMU-.js b/assets/rules_scriptlet-indent.md.BB4oMMU-.js new file mode 100644 index 00000000..a5cbb16a --- /dev/null +++ b/assets/rules_scriptlet-indent.md.BB4oMMU-.js @@ -0,0 +1,39 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as p,o}from"./chunks/framework.CPdKJSF1.js";const Y=JSON.parse('{"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag."},"headers":[],"relativePath":"rules/scriptlet-indent.md","filePath":"rules/scriptlet-indent.md","lastUpdated":1721431800000}'),k={name:"rules/scriptlet-indent.md"},r=a('

lodash-template/scriptlet-indent

enforce consistent indentation to scriptlet in micro-template tag.

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a consistent indentation style to script in micro-template tag. The default style is 2 spaces.

',5),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/scriptlet-indent": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% for (")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," let i = 0;")],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," i "),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," arr.length;")],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," i++")],-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ) { %>")],-1),F=a(' <div class="<%= arr[i] %>"></div>',1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),q=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% for (")],-1),C={class:"line"},w=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),T=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 4 spaces but found 6 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/scriptlet-indent.html"},"lodash-template/scriptlet-indent"),i(")")])])],-1),x=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"let i = 0;",-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," i "),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," arr.length;")],-1),P={class:"line"},S=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),V=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 4 spaces but found 2 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/scriptlet-indent.html"},"lodash-template/scriptlet-indent"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"i++",-1),O={class:"line"},R=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),j=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 2 spaces but found 4 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/scriptlet-indent.html"},"lodash-template/scriptlet-indent"),i(")")])])],-1),$=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},") { %>",-1),G=a(' <div class="<%= arr[i] %>"></div>',1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),U=a(`

Options

json
{
+  "lodash-template/scriptlet-indent": ["error", type, {
+    "startIndent": 1,
+    "switchCase": 0
+  }]
+}
  • type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
  • startIndent (integer) ... The multiplier of indentation for top-level statements in micro-template tag. Default is 1.
  • switchCase (integer) ... The multiplier of indentation for case/default clauses. Default is 0.

Examples for this rule with {startIndent: 0}:

html
<% /* eslint "lodash-template/scriptlet-indent": ["error", 2, {"startIndent": 0}] */ %>
+<!-- ✓ GOOD -->
+<% for (
+  let i = 0;
+  i < arr.length;
+  i++
+) { %>
+  <div class="<%= arr[i] %>"></div>
+<% } %>

Examples for this rule with {startIndent: 2}:

html
<% /* eslint "lodash-template/scriptlet-indent": ["error", 2, {"startIndent": 2}] */ %>
+<!-- ✓ GOOD -->
+<% for (
+      let i = 0;
+      i < arr.length;
+      i++
+    ) { %>
+  <div class="<%= arr[i] %>"></div>
+<% } %>

Implementation

`,9);function z(H,K,L,M,Q,W){const l=p("v-menu");return o(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[y,i(` +`),u,i(` +`),_,i(` +`),f,i(` +`),m,i(` +`),D,i(` +`),b,i(` +`),F,i(` +`),B,i(` +`),q,i(` +`),v,i(` +`),A,i(` +`),s("span",C,[e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[T]),default:t(()=>[w]),_:1}),x]),i(` +`),I,i(` +`),s("span",P,[e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[V]),default:t(()=>[S]),_:1}),N]),i(` +`),s("span",O,[e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[j]),default:t(()=>[R]),_:1}),$]),i(` +`),G,i(` +`),J])])]),U])}const Z=n(k,[["render",z]]);export{Y as __pageData,Z as default}; diff --git a/assets/rules_scriptlet-indent.md.BB4oMMU-.lean.js b/assets/rules_scriptlet-indent.md.BB4oMMU-.lean.js new file mode 100644 index 00000000..07f3f80f --- /dev/null +++ b/assets/rules_scriptlet-indent.md.BB4oMMU-.lean.js @@ -0,0 +1,18 @@ +import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as p,o}from"./chunks/framework.CPdKJSF1.js";const Y=JSON.parse('{"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag."},"headers":[],"relativePath":"rules/scriptlet-indent.md","filePath":"rules/scriptlet-indent.md","lastUpdated":1721431800000}'),k={name:"rules/scriptlet-indent.md"},r=a("",5),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/scriptlet-indent": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% for (")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," let i = 0;")],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," i "),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," arr.length;")],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," i++")],-1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ) { %>")],-1),F=a("",1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),q=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% for (")],-1),C={class:"line"},w=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),T=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 4 spaces but found 6 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/scriptlet-indent.html"},"lodash-template/scriptlet-indent"),i(")")])])],-1),x=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"let i = 0;",-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," i "),s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," arr.length;")],-1),P={class:"line"},S=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),V=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 4 spaces but found 2 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/scriptlet-indent.html"},"lodash-template/scriptlet-indent"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"i++",-1),O={class:"line"},R=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),j=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected indentation of 2 spaces but found 4 spaces. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/scriptlet-indent.html"},"lodash-template/scriptlet-indent"),i(")")])])],-1),$=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},") { %>",-1),G=a("",1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% } %>")],-1),U=a("",9);function z(H,K,L,M,Q,W){const l=p("v-menu");return o(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[y,i(` +`),u,i(` +`),_,i(` +`),f,i(` +`),m,i(` +`),D,i(` +`),b,i(` +`),F,i(` +`),B,i(` +`),q,i(` +`),v,i(` +`),A,i(` +`),s("span",C,[e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[T]),default:t(()=>[w]),_:1}),x]),i(` +`),I,i(` +`),s("span",P,[e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[V]),default:t(()=>[S]),_:1}),N]),i(` +`),s("span",O,[e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[j]),default:t(()=>[R]),_:1}),$]),i(` +`),G,i(` +`),J])])]),U])}const Z=n(k,[["render",z]]);export{Y as __pageData,Z as default}; diff --git a/assets/rules_template-tag-spacing.md.CjFIf6Nx.js b/assets/rules_template-tag-spacing.md.CjFIf6Nx.js new file mode 100644 index 00000000..ad8570f7 --- /dev/null +++ b/assets/rules_template-tag-spacing.md.CjFIf6Nx.js @@ -0,0 +1,19 @@ +import{_ as o,c as h,j as s,a as t,I as a,w as i,a9 as l,D as n,o as p}from"./chunks/framework.CPdKJSF1.js";const Et=JSON.parse('{"title":"lodash-template/template-tag-spacing","description":"enforce unified spacing in micro-template tag. (ex. :ok: `<%= prop %>`, :ng: `<%=prop%>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/template-tag-spacing","description":"enforce unified spacing in micro-template tag. (ex. :ok: `<%= prop %>`, :ng: `<%=prop%>`)"},"headers":[],"relativePath":"rules/template-tag-spacing.md","filePath":"rules/template-tag-spacing.md","lastUpdated":1721431800000}'),r={name:"rules/template-tag-spacing.md"},c=l('

lodash-template/template-tag-spacing

enforce unified spacing in micro-template tag. (ex. 🆗 <%= prop %>, 🆖 <%=prop%>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to enforce unified spacing in micro-template interpolate/evaluate.

',5),d={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),g=s("span",{class:"lang"},"html",-1),E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/template-tag-spacing": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),m=l('<div><%= text %></div>',1),y=s("span",{class:"line"},null,-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},b=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),w=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),A=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),x=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),T=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),q=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),C=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),S={class:"line"},V=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),I=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),O=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),j=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),G=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),J=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),H=l('

Options

Default spacing is set to always

json
{\n  "lodash-template/micro-template-interpolation-spacing": ["error", "always" | "never"]\n}

"always" - Expect one space between expression and curly brackets.

',4),K={class:"language-html vp-adaptive-theme"},L=s("button",{title:"Copy Code",class:"copy"},null,-1),M=s("span",{class:"lang"},"html",-1),Q={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},W=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/template-tag-spacing": ["error", "always"] */ %>')],-1),X=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Y=l('<div><%= text %></div>',1),Z=s("span",{class:"line"},null,-1),ss=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ts={class:"line"},is=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),as=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),ls=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),os=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),hs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),ps=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),rs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),ks={class:"line"},gs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),_s=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),us=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),ms=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1),fs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),vs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),bs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),As=s("h3",{id:"never-expect-no-spaces-between-expression-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),t(" - Expect no spaces between expression and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-expression-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between expression and curly brackets."'},"​")],-1),xs={class:"language-html vp-adaptive-theme"},Bs=s("button",{title:"Copy Code",class:"copy"},null,-1),Ts=s("span",{class:"lang"},"html",-1),qs={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},Cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'%/* eslint "lodash-template/template-tag-spacing": ["error", "never"] */%>')],-1),Fs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Ps=l('<div><%=text%></div>',1),Ss=s("span",{class:"line"},null,-1),Vs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Is={class:"line"},Ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Os=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),Rs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),js=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),$s=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),Gs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),Js=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),Us=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),zs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),Ls={class:"line"},Ms=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Qs=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),Ws=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Xs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),Ys=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),Zs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),st=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),tt=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),it=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),lt=s("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),ot=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function ht(nt,pt,rt,ct,dt,kt){const e=n("v-menu");return p(),h("div",null,[c,s("div",d,[k,g,s("pre",E,[s("code",null,[_,t(` +`),u,t(` +`),m,t(` +`),y,t(` +`),f,t(` +`),s("span",v,[b,w,D,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[x]),default:i(()=>[A]),_:1}),B,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[T]),_:1}),C,F,P]),t(` +`),s("span",S,[V,I,N,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[R]),default:i(()=>[O]),_:1}),j,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[G]),default:i(()=>[$]),_:1}),J,U,z])])])]),H,s("div",K,[L,M,s("pre",Q,[s("code",null,[W,t(` +`),X,t(` +`),Y,t(` +`),Z,t(` +`),ss,t(` +`),s("span",ts,[is,es,as,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[os]),default:i(()=>[ls]),_:1}),hs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[ps]),default:i(()=>[ns]),_:1}),rs,cs,ds]),t(` +`),s("span",ks,[gs,Es,_s,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[ms]),default:i(()=>[us]),_:1}),ys,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[vs]),default:i(()=>[fs]),_:1}),bs,ws,Ds])])])]),As,s("div",xs,[Bs,Ts,s("pre",qs,[s("code",null,[Cs,t(` +`),Fs,t(` +`),Ps,t(` +`),Ss,t(` +`),Vs,t(` +`),s("span",Is,[Ns,Os,Rs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[$s]),default:i(()=>[js]),_:1}),Gs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Us]),default:i(()=>[Js]),_:1}),zs,Hs,Ks]),t(` +`),s("span",Ls,[Ms,Qs,Ws,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Ys]),default:i(()=>[Xs]),_:1}),Zs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[tt]),default:i(()=>[st]),_:1}),it,et,at])])])]),lt,ot])}const _t=o(r,[["render",ht]]);export{Et as __pageData,_t as default}; diff --git a/assets/rules_template-tag-spacing.md.CjFIf6Nx.lean.js b/assets/rules_template-tag-spacing.md.CjFIf6Nx.lean.js new file mode 100644 index 00000000..2107a09f --- /dev/null +++ b/assets/rules_template-tag-spacing.md.CjFIf6Nx.lean.js @@ -0,0 +1,19 @@ +import{_ as o,c as h,j as s,a as t,I as a,w as i,a9 as l,D as n,o as p}from"./chunks/framework.CPdKJSF1.js";const Et=JSON.parse('{"title":"lodash-template/template-tag-spacing","description":"enforce unified spacing in micro-template tag. (ex. :ok: `<%= prop %>`, :ng: `<%=prop%>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/template-tag-spacing","description":"enforce unified spacing in micro-template tag. (ex. :ok: `<%= prop %>`, :ng: `<%=prop%>`)"},"headers":[],"relativePath":"rules/template-tag-spacing.md","filePath":"rules/template-tag-spacing.md","lastUpdated":1721431800000}'),r={name:"rules/template-tag-spacing.md"},c=l("",5),d={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),g=s("span",{class:"lang"},"html",-1),E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/template-tag-spacing": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),m=l("",1),y=s("span",{class:"line"},null,-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},b=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),w=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),A=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),x=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),T=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),q=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),C=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),S={class:"line"},V=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),I=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),O=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),j=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),G=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),J=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),H=l("",4),K={class:"language-html vp-adaptive-theme"},L=s("button",{title:"Copy Code",class:"copy"},null,-1),M=s("span",{class:"lang"},"html",-1),Q={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},W=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/template-tag-spacing": ["error", "always"] */ %>')],-1),X=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Y=l("",1),Z=s("span",{class:"line"},null,-1),ss=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ts={class:"line"},is=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),as=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),ls=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),os=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),hs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),ps=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),rs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),ks={class:"line"},gs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),_s=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),us=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),ms=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1),fs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),vs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),bs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),As=s("h3",{id:"never-expect-no-spaces-between-expression-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),t(" - Expect no spaces between expression and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-expression-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between expression and curly brackets."'},"​")],-1),xs={class:"language-html vp-adaptive-theme"},Bs=s("button",{title:"Copy Code",class:"copy"},null,-1),Ts=s("span",{class:"lang"},"html",-1),qs={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},Cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'%/* eslint "lodash-template/template-tag-spacing": ["error", "never"] */%>')],-1),Fs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Ps=l("",1),Ss=s("span",{class:"line"},null,-1),Vs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Is={class:"line"},Ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Os=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),Rs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),js=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),$s=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),Gs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),Js=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),Us=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),zs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),Ls={class:"line"},Ms=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Qs=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),Ws=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Xs=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),Ys=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),Zs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),st=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),tt=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1),it=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),lt=s("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"​")],-1),ot=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1);function ht(nt,pt,rt,ct,dt,kt){const e=n("v-menu");return p(),h("div",null,[c,s("div",d,[k,g,s("pre",E,[s("code",null,[_,t(` +`),u,t(` +`),m,t(` +`),y,t(` +`),f,t(` +`),s("span",v,[b,w,D,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[x]),default:i(()=>[A]),_:1}),B,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[T]),_:1}),C,F,P]),t(` +`),s("span",S,[V,I,N,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[R]),default:i(()=>[O]),_:1}),j,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[G]),default:i(()=>[$]),_:1}),J,U,z])])])]),H,s("div",K,[L,M,s("pre",Q,[s("code",null,[W,t(` +`),X,t(` +`),Y,t(` +`),Z,t(` +`),ss,t(` +`),s("span",ts,[is,es,as,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[os]),default:i(()=>[ls]),_:1}),hs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[ps]),default:i(()=>[ns]),_:1}),rs,cs,ds]),t(` +`),s("span",ks,[gs,Es,_s,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[ms]),default:i(()=>[us]),_:1}),ys,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[vs]),default:i(()=>[fs]),_:1}),bs,ws,Ds])])])]),As,s("div",xs,[Bs,Ts,s("pre",qs,[s("code",null,[Cs,t(` +`),Fs,t(` +`),Ps,t(` +`),Ss,t(` +`),Vs,t(` +`),s("span",Is,[Ns,Os,Rs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[$s]),default:i(()=>[js]),_:1}),Gs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Us]),default:i(()=>[Js]),_:1}),zs,Hs,Ks]),t(` +`),s("span",Ls,[Ms,Qs,Ws,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Ys]),default:i(()=>[Xs]),_:1}),Zs,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[tt]),default:i(()=>[st]),_:1}),it,et,at])])])]),lt,ot])}const _t=o(r,[["render",ht]]);export{Et as __pageData,_t as default}; diff --git a/assets/services_ast-for-html.md.voWLWX5n.js b/assets/services_ast-for-html.md.voWLWX5n.js new file mode 100644 index 00000000..30964076 --- /dev/null +++ b/assets/services_ast-for-html.md.voWLWX5n.js @@ -0,0 +1,68 @@ +import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.CPdKJSF1.js";const F=JSON.parse('{"title":"AST for HTML","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-html.md","filePath":"services/ast-for-html.md","lastUpdated":1721431800000}'),n={name:"services/ast-for-html.md"},h=t(`

AST for HTML

You can use the type definition of this AST:

ts

+export function create(context) {
+    const microTemplateService = sourceCode.parserServices.getMicroTemplateService()
+    return {
+        "Program:exit"() {
+            microTemplateService.traverseDocumentNodes({
+                HTMLElement(node: HTMLElement): void {
+                    // ...
+                },
+                HTMLText(node: HTMLText): void {
+                    // ...
+                },
+                HTMLComment(node: HTMLComment): void {
+                    // ...
+                },
+            })
+        },
+    }
+}

See details: https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/ast/html-nodes.js

HTMLToken

ts
extend interface HTMLToken {
+    range: [ number ],
+    htmlValue: string,
+    value: string,
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

HTMLNode

ts
extend interface HTMLNode {
+    range: [ number ]
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

HTMLDocument

ts
interface HTMLDocument <: HTMLNode {
+    type: "HTMLDocument",
+    children: [ HTMLElement | HTMLText | HTMLComment ]
+}
  • This is a HTML Document.

HTMLDocumentFragment

ts
interface HTMLDocumentFragment <: HTMLNode  {
+    type: "HTMLDocumentFragment",
+    children: [ HTMLElement | HTMLText | HTMLComment ]
+}
  • This is a HTML DocumentFragment.

HTMLDocumentType

ts
interface HTMLDocumentType <: HTMLNode  {
+    type: "HTMLDocumentType",
+    name: string,
+    publicId: string,
+    systemId: string
+}
  • This is a HTML Document Type.

HTMLComment

ts
interface HTMLComment <: HTMLNode  {
+    type: "HTMLComment",
+    value: string,
+    commentOpen: HTMLToken | null,
+    commentClose: HTMLToken | null,
+}
  • This is a HTML comment node.

HTMLText

ts
interface HTMLText <: HTMLNode  {
+    type: "HTMLText",
+    value: string
+}
  • This is a HTML text node.

HTMLElement

ts
interface HTMLElement <: HTMLNode  {
+    type: "HTMLElement",
+    name: string,
+    children: [ HTMLElement | HTMLText | HTMLComment ]
+    startTag: HTMLStartTag | null,
+    endTag: HTMLEndTag | null
+}
  • This is a HTML element node.

HTMLStartTag

ts
interface HTMLStartTag <: HTMLNode  {
+    type: "HTMLStartTag",
+    attributes: [ HTMLAttribute ],
+    tagOpen: HTMLToken,
+    tagClose: HTMLToken,
+    selfClosing: boolean,
+    ignoredAttributes: [ HTMLAttribute ],
+}
  • This is a HTML element start tag.

HTMLAttribute

ts
interface HTMLAttribute <: HTMLNode  {
+    type: "HTMLAttribute",
+    key: string,
+    vakue: string,
+    keyToken: HTMLToken,
+    eqToken: HTMLToken | null,
+    valueToken: HTMLToken | null,
+}
  • This is a HTML attribute.

HTMLEndTag

ts
interface HTMLEndTag <: HTMLNode  {
+    type: "HTMLEndTag",
+    tagOpen: HTMLToken,
+    tagClose: HTMLToken,
+}
  • This is a HTML element end tag.
`,38),l=[h];function e(k,p,r,d,g,E){return a(),i("div",null,l)}const o=s(n,[["render",e]]);export{F as __pageData,o as default}; diff --git a/assets/services_ast-for-html.md.voWLWX5n.lean.js b/assets/services_ast-for-html.md.voWLWX5n.lean.js new file mode 100644 index 00000000..8f22b26e --- /dev/null +++ b/assets/services_ast-for-html.md.voWLWX5n.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.CPdKJSF1.js";const F=JSON.parse('{"title":"AST for HTML","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-html.md","filePath":"services/ast-for-html.md","lastUpdated":1721431800000}'),n={name:"services/ast-for-html.md"},h=t("",38),l=[h];function e(k,p,r,d,g,E){return a(),i("div",null,l)}const o=s(n,[["render",e]]);export{F as __pageData,o as default}; diff --git a/assets/services_ast-for-template-tag.md.XKuVL62r.js b/assets/services_ast-for-template-tag.md.XKuVL62r.js new file mode 100644 index 00000000..75ab5e63 --- /dev/null +++ b/assets/services_ast-for-template-tag.md.XKuVL62r.js @@ -0,0 +1,44 @@ +import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.CPdKJSF1.js";const c=JSON.parse('{"title":"AST for <%= templateTag %>","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-template-tag.md","filePath":"services/ast-for-template-tag.md","lastUpdated":1721431800000}'),t={name:"services/ast-for-template-tag.md"},n=e(`

AST for <%= templateTag %>

You can use the type definition of this AST:

ts

+export function create(context) {
+    const microTemplateService = sourceCode.parserServices.getMicroTemplateService()
+    return {
+        "Program:exit"() {
+            microTemplateService.traverseMicroTemplates({
+                MicroTemplateEvaluate(node: MicroTemplateEvaluate): void {
+                    // ...
+                },
+                MicroTemplateInterpolate(node: MicroTemplateInterpolate): void {
+                    // ...
+                },
+                MicroTemplateEscape(node: MicroTemplateEscape): void {
+                    // ...
+                },
+            })
+        },
+    }
+}

See details: https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/ast/micro-template-nodes.js

Token

ts
extend interface Token {
+    range: [ number ]
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

Node

ts
extend interface Node {
+    range: [ number ]
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

MicroTemplateEvaluate

ts
interface MicroTemplateEvaluate <: Node {
+    type: "MicroTemplateEvaluate",
+    expressionStart: MicroTemplateExpressionStart,
+    expressionEnd: MicroTemplateExpressionEnd,
+    code: string
+}
  • This is a template tag that is evaluated as script.
  • The start tag information is stored in the expressionStart property.
  • The end tag information is stored in the expressionEnd property.

MicroTemplateInterpolate

ts
interface MicroTemplateInterpolate <: Node  {
+    type: "MicroTemplateInterpolate",
+    expressionStart: MicroTemplateExpressionStart,
+    expressionEnd: MicroTemplateExpressionEnd,
+    code: string
+}
  • This is a template tag that is interpolate as template.
  • The start tag information is stored in the expressionStart property.
  • The end tag information is stored in the expressionEnd property.

MicroTemplateEscape

ts
interface MicroTemplateInterpolate <: Node  {
+    type: "MicroTemplateEscape",
+    expressionStart: MicroTemplateExpressionStart,
+    expressionEnd: MicroTemplateExpressionEnd,
+    code: string
+}
  • This is a template tag that is escapes to interpolate as template.
  • The start tag information is stored in the expressionStart property.
  • The end tag information is stored in the expressionEnd property.

MicroTemplateExpressionStart

ts
interface MicroTemplateExpressionStart <: Token  {
+    type: "MicroTemplateExpressionStart",
+    chars: string
+}
  • This is the start tag of the template tag.
  • The delimiter string is stored in the chars property.

MicroTemplateExpressionEnd

ts
interface MicroTemplateExpressionEnd <: Token  {
+    type: "MicroTemplateExpressionEnd",
+    chars: string
+}
  • This is the end tag of the template tag.
  • The delimiter string is stored in the chars property.
`,26),l=[n];function h(p,k,r,d,o,E){return a(),i("div",null,l)}const y=s(t,[["render",h]]);export{c as __pageData,y as default}; diff --git a/assets/services_ast-for-template-tag.md.XKuVL62r.lean.js b/assets/services_ast-for-template-tag.md.XKuVL62r.lean.js new file mode 100644 index 00000000..bd1d405a --- /dev/null +++ b/assets/services_ast-for-template-tag.md.XKuVL62r.lean.js @@ -0,0 +1 @@ +import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.CPdKJSF1.js";const c=JSON.parse('{"title":"AST for <%= templateTag %>","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-template-tag.md","filePath":"services/ast-for-template-tag.md","lastUpdated":1721431800000}'),t={name:"services/ast-for-template-tag.md"},n=e("",26),l=[n];function h(p,k,r,d,o,E){return a(),i("div",null,l)}const y=s(t,[["render",h]]);export{c as __pageData,y as default}; diff --git a/assets/services_index.md.Ddw5PF02.js b/assets/services_index.md.Ddw5PF02.js new file mode 100644 index 00000000..9bc3f54d --- /dev/null +++ b/assets/services_index.md.Ddw5PF02.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a9 as r}from"./chunks/framework.CPdKJSF1.js";const _=JSON.parse('{"title":"Contributing","description":"","frontmatter":{},"headers":[],"relativePath":"services/index.md","filePath":"services/index.md","lastUpdated":1721431800000}'),i={name:"services/index.md"},s=r('

Contributing

MicroTemplateService

This plugin's parser provides MicroTemplateService from parserServices. MicroTemplateServic can be get with sourceCode.parserServices.getMicroTemplateService().

Traverse MicroTemplates

Traverse HTML

',7),o=[s];function l(c,m,n,h,d,p){return a(),t("div",null,o)}const b=e(i,[["render",l]]);export{_ as __pageData,b as default}; diff --git a/assets/services_index.md.Ddw5PF02.lean.js b/assets/services_index.md.Ddw5PF02.lean.js new file mode 100644 index 00000000..f507af5e --- /dev/null +++ b/assets/services_index.md.Ddw5PF02.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,o as a,a9 as r}from"./chunks/framework.CPdKJSF1.js";const _=JSON.parse('{"title":"Contributing","description":"","frontmatter":{},"headers":[],"relativePath":"services/index.md","filePath":"services/index.md","lastUpdated":1721431800000}'),i={name:"services/index.md"},s=r("",7),o=[s];function l(c,m,n,h,d,p){return a(),t("div",null,o)}const b=e(i,[["render",l]]);export{_ as __pageData,b as default}; diff --git a/assets/style.ClSKP3vu.css b/assets/style.ClSKP3vu.css new file mode 100644 index 00000000..7114c132 --- /dev/null +++ b/assets/style.ClSKP3vu.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/eslint-plugin-lodash-template/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-c79a1216]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-c79a1216],.VPBackdrop.fade-leave-to[data-v-c79a1216]{opacity:0}.VPBackdrop.fade-leave-active[data-v-c79a1216]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-c79a1216]{display:none}}.NotFound[data-v-d6be1790]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-d6be1790]{padding:96px 32px 168px}}.code[data-v-d6be1790]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-d6be1790]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-d6be1790]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-d6be1790]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-d6be1790]{padding-top:20px}.link[data-v-d6be1790]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-d6be1790]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-b933a997]{position:relative;z-index:1}.nested[data-v-b933a997]{padding-right:16px;padding-left:16px}.outline-link[data-v-b933a997]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-b933a997]:hover,.outline-link.active[data-v-b933a997]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-b933a997]{padding-left:13px}.VPDocAsideOutline[data-v-a5bbad30]{display:none}.VPDocAsideOutline.has-outline[data-v-a5bbad30]{display:block}.content[data-v-a5bbad30]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-a5bbad30]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-a5bbad30]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-3f215769]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-3f215769]{flex-grow:1}.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-3f215769] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-e98dd255]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-e98dd255]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-e257564d]{margin-top:64px}.edit-info[data-v-e257564d]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-e257564d]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-e257564d]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-e257564d]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-e257564d]{margin-right:8px}.prev-next[data-v-e257564d]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-e257564d]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-e257564d]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-e257564d]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-e257564d]{margin-left:auto;text-align:right}.desc[data-v-e257564d]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-e257564d]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-39a288b8]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-39a288b8]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-39a288b8]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-39a288b8]{display:flex;justify-content:center}.VPDoc .aside[data-v-39a288b8]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{max-width:1104px}}.container[data-v-39a288b8]{margin:0 auto;width:100%}.aside[data-v-39a288b8]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-39a288b8]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-39a288b8]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-39a288b8]::-webkit-scrollbar{display:none}.aside-curtain[data-v-39a288b8]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-39a288b8]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-39a288b8]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-39a288b8]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-39a288b8]{order:1;margin:0;min-width:640px}}.content-container[data-v-39a288b8]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-39a288b8]{max-width:688px}.VPButton[data-v-cad61b99]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-cad61b99]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-cad61b99]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-cad61b99]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-cad61b99]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-cad61b99]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-cad61b99]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-cad61b99]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-cad61b99]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-cad61b99]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-cad61b99]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-cad61b99]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-cad61b99]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-8426fc1a]{display:none}.dark .VPImage.light[data-v-8426fc1a]{display:none}.VPHero[data-v-303bb580]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-303bb580]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-303bb580]{flex-direction:row}}.main[data-v-303bb580]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-303bb580]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-303bb580]{text-align:left}}@media (min-width: 960px){.main[data-v-303bb580]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-303bb580]{max-width:592px}}.name[data-v-303bb580],.text[data-v-303bb580]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0 auto}.name[data-v-303bb580]{color:var(--vp-home-hero-name-color)}.clip[data-v-303bb580]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-303bb580],.text[data-v-303bb580]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-303bb580],.text[data-v-303bb580]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0}}.tagline[data-v-303bb580]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-303bb580]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-303bb580]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-303bb580]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-303bb580]{margin:0}}.actions[data-v-303bb580]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-303bb580]{justify-content:center}@media (min-width: 640px){.actions[data-v-303bb580]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-303bb580]{justify-content:flex-start}}.action[data-v-303bb580]{flex-shrink:0;padding:6px}.image[data-v-303bb580]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-303bb580]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-303bb580]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-303bb580]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-303bb580]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-303bb580]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-303bb580]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-303bb580]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-303bb580]{width:320px;height:320px}}[data-v-303bb580] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-303bb580] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-303bb580] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-a3976bdc]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-a3976bdc]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-a3976bdc]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-a3976bdc]>.VPImage{margin-bottom:20px}.icon[data-v-a3976bdc]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-a3976bdc]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-a3976bdc]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-a3976bdc]{padding-top:8px}.link-text-value[data-v-a3976bdc]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-a3976bdc]{margin-left:6px}.VPFeatures[data-v-a6181336]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-a6181336]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-a6181336]{padding:0 64px}}.container[data-v-a6181336]{margin:0 auto;max-width:1152px}.items[data-v-a6181336]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-a6181336]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336]{width:50%}.item.grid-3[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-a6181336]{width:25%}}.container[data-v-8e2d4988]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-8e2d4988]{padding:0 48px}}@media (min-width: 960px){.container[data-v-8e2d4988]{width:100%;padding:0 64px}}.vp-doc[data-v-8e2d4988] .VPHomeSponsors,.vp-doc[data-v-8e2d4988] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-8e2d4988] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-8e2d4988] .VPHomeSponsors a,.vp-doc[data-v-8e2d4988] .VPTeamPage a{text-decoration:none}.VPHome[data-v-686f80a6]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-686f80a6]{margin-bottom:128px}}.VPContent[data-v-1428d186]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-1428d186]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-1428d186]{margin:0}@media (min-width: 960px){.VPContent[data-v-1428d186]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-1428d186]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-1428d186]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-e315a0ad]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-e315a0ad]{display:none}.VPFooter[data-v-e315a0ad] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-e315a0ad] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-e315a0ad]{padding:32px}}.container[data-v-e315a0ad]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-e315a0ad],.copyright[data-v-e315a0ad]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-17a5e62e]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-17a5e62e]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-17a5e62e]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-17a5e62e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-17a5e62e]{color:var(--vp-c-text-1)}.icon[data-v-17a5e62e]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-17a5e62e]{font-size:14px}.icon[data-v-17a5e62e]{font-size:16px}}.open>.icon[data-v-17a5e62e]{transform:rotate(90deg)}.items[data-v-17a5e62e]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-17a5e62e]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-17a5e62e]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-17a5e62e]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-17a5e62e]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-17a5e62e]{transition:all .2s ease-out}.flyout-leave-active[data-v-17a5e62e]{transition:all .15s ease-in}.flyout-enter-from[data-v-17a5e62e],.flyout-leave-to[data-v-17a5e62e]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-a6f0e41e]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-a6f0e41e]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-a6f0e41e]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-a6f0e41e]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-a6f0e41e]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-a6f0e41e]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-a6f0e41e]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-a6f0e41e]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-a6f0e41e]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-a6f0e41e]{display:none}}.menu-icon[data-v-a6f0e41e]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 32px 11px}}.VPSwitch[data-v-1d5665e3]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-1d5665e3]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-1d5665e3]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-1d5665e3]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-1d5665e3] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-1d5665e3] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-5337faa4]{opacity:1}.moon[data-v-5337faa4],.dark .sun[data-v-5337faa4]{opacity:0}.dark .moon[data-v-5337faa4]{opacity:1}.dark .VPSwitchAppearance[data-v-5337faa4] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-6c893767]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-6c893767]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-43f1e123]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-43f1e123]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-43f1e123]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-43f1e123]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-69e747b5]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-69e747b5]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-69e747b5]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-69e747b5]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-b98bc113]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-b98bc113] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-b98bc113] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-b98bc113] .group:last-child{padding-bottom:0}.VPMenu[data-v-b98bc113] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-b98bc113] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-b98bc113] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-b98bc113] .action{padding-left:24px}.VPFlyout[data-v-b6c34ac9]{position:relative}.VPFlyout[data-v-b6c34ac9]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-b6c34ac9]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-b6c34ac9]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-b6c34ac9]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-b6c34ac9]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-b6c34ac9],.button[aria-expanded=true]+.menu[data-v-b6c34ac9]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-b6c34ac9]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-b6c34ac9]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-b6c34ac9]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-b6c34ac9]{margin-right:0;font-size:16px}.text-icon[data-v-b6c34ac9]{margin-left:4px;font-size:14px}.icon[data-v-b6c34ac9]{font-size:20px;transition:fill .25s}.menu[data-v-b6c34ac9]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-eee4e7cb]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-eee4e7cb]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-eee4e7cb]>svg,.VPSocialLink[data-v-eee4e7cb]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-7bc22406]{display:flex;justify-content:center}.VPNavBarExtra[data-v-bb2aa2f0]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-bb2aa2f0]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-bb2aa2f0]{display:none}}.trans-title[data-v-bb2aa2f0]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-bb2aa2f0],.item.social-links[data-v-bb2aa2f0]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-bb2aa2f0]{min-width:176px}.appearance-action[data-v-bb2aa2f0]{margin-right:-2px}.social-links-list[data-v-bb2aa2f0]{margin:-4px -8px}.VPNavBarHamburger[data-v-e5dd9c1c]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-e5dd9c1c]{display:none}}.container[data-v-e5dd9c1c]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-e5dd9c1c]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .middle[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .bottom[data-v-e5dd9c1c]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-e5dd9c1c],.middle[data-v-e5dd9c1c],.bottom[data-v-e5dd9c1c]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(0)}.middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-9c663999]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-9c663999],.VPNavBarMenuLink[data-v-9c663999]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-dc692963]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-dc692963]{display:flex}}/*! @docsearch/css 3.6.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-0394ad82]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-0394ad82]{display:flex;align-items:center}}.title[data-v-ab179fa1]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-ab179fa1]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-ab179fa1]{border-bottom-color:var(--vp-c-divider)}}[data-v-ab179fa1] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-88af2de4]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-88af2de4]{display:flex;align-items:center}}.title[data-v-88af2de4]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-6aa21345]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-6aa21345]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-6aa21345]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-6aa21345]:not(.home){background-color:transparent}.VPNavBar[data-v-6aa21345]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-6aa21345]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-6aa21345]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-6aa21345]{padding:0}}.container[data-v-6aa21345]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-6aa21345],.container>.content[data-v-6aa21345]{pointer-events:none}.container[data-v-6aa21345] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-6aa21345]{max-width:100%}}.title[data-v-6aa21345]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-6aa21345]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-6aa21345]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-6aa21345]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-6aa21345]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-6aa21345]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-6aa21345]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-6aa21345]{column-gap:.5rem}}.menu+.translations[data-v-6aa21345]:before,.menu+.appearance[data-v-6aa21345]:before,.menu+.social-links[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before,.appearance+.social-links[data-v-6aa21345]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before{margin-right:16px}.appearance+.social-links[data-v-6aa21345]:before{margin-left:16px}.social-links[data-v-6aa21345]{margin-right:-8px}.divider[data-v-6aa21345]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-6aa21345]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-6aa21345]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-b44890b2]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-b44890b2]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-7f31e1f6]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-7f31e1f6]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-19976ae1]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-19976ae1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-8133b170]{display:block}.title[data-v-8133b170]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-b9ab8c58]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-b9ab8c58]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-b9ab8c58]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-b9ab8c58]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-b9ab8c58]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-b9ab8c58]{transform:rotate(45deg)}.button[data-v-b9ab8c58]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-b9ab8c58]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-b9ab8c58]{transition:transform .25s}.group[data-v-b9ab8c58]:first-child{padding-top:0}.group+.group[data-v-b9ab8c58],.group+.item[data-v-b9ab8c58]{padding-top:4px}.VPNavScreenTranslations[data-v-858fe1a4]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-858fe1a4]{height:auto}.title[data-v-858fe1a4]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-858fe1a4]{font-size:16px}.icon.lang[data-v-858fe1a4]{margin-right:8px}.icon.chevron[data-v-858fe1a4]{margin-left:4px}.list[data-v-858fe1a4]{padding:4px 0 0 24px}.link[data-v-858fe1a4]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-f2779853]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-f2779853],.VPNavScreen.fade-leave-active[data-v-f2779853]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-f2779853],.VPNavScreen.fade-leave-active .container[data-v-f2779853]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-f2779853],.VPNavScreen.fade-leave-to[data-v-f2779853]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-f2779853],.VPNavScreen.fade-leave-to .container[data-v-f2779853]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-f2779853]{display:none}}.container[data-v-f2779853]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-f2779853],.menu+.appearance[data-v-f2779853],.translations+.appearance[data-v-f2779853]{margin-top:24px}.menu+.social-links[data-v-f2779853]{margin-top:16px}.appearance+.social-links[data-v-f2779853]{margin-top:16px}.VPNav[data-v-ae24b3ad]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-ae24b3ad]{position:fixed}}.VPSidebarItem.level-0[data-v-b7550ba0]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-b7550ba0]{padding-bottom:10px}.item[data-v-b7550ba0]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-b7550ba0]{cursor:pointer}.indicator[data-v-b7550ba0]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-b7550ba0]{background-color:var(--vp-c-brand-1)}.link[data-v-b7550ba0]{display:flex;align-items:center;flex-grow:1}.text[data-v-b7550ba0]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-b7550ba0]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-b7550ba0],.VPSidebarItem.level-2 .text[data-v-b7550ba0],.VPSidebarItem.level-3 .text[data-v-b7550ba0],.VPSidebarItem.level-4 .text[data-v-b7550ba0],.VPSidebarItem.level-5 .text[data-v-b7550ba0]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-b7550ba0]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.caret[data-v-b7550ba0]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-b7550ba0]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-b7550ba0]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-b7550ba0]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-b7550ba0]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-b7550ba0],.VPSidebarItem.level-2 .items[data-v-b7550ba0],.VPSidebarItem.level-3 .items[data-v-b7550ba0],.VPSidebarItem.level-4 .items[data-v-b7550ba0],.VPSidebarItem.level-5 .items[data-v-b7550ba0]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-b7550ba0]{display:none}.no-transition[data-v-c40bc020] .caret-icon{transition:none}.group+.group[data-v-c40bc020]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-c40bc020]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-319d5ca6]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-319d5ca6]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-319d5ca6]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-319d5ca6]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-319d5ca6]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-319d5ca6]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-319d5ca6]{outline:0}.VPSkipLink[data-v-0f60ec36]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-0f60ec36]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-0f60ec36]{top:14px;left:16px}}.Layout[data-v-5d98c3a5]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-3d121b4a]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-3d121b4a]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{margin:128px 0}}.VPHomeSponsors[data-v-3d121b4a]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 64px}}.container[data-v-3d121b4a]{margin:0 auto;max-width:1152px}.love[data-v-3d121b4a]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-3d121b4a]{display:inline-block}.message[data-v-3d121b4a]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-3d121b4a]{padding-top:32px}.action[data-v-3d121b4a]{padding-top:40px;text-align:center}.VPTeamPage[data-v-7c57f839]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-7c57f839]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-7c57f839-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-7c57f839-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:96px}}.VPTeamMembers[data-v-7c57f839-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 64px}}.VPTeamPageTitle[data-v-bf2cbdac]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:80px 64px 48px}}.title[data-v-bf2cbdac]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-bf2cbdac]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-bf2cbdac]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-bf2cbdac]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-b1a88750]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-b1a88750]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-b1a88750]{padding:0 64px}}.title[data-v-b1a88750]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-b1a88750]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-b1a88750]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-b1a88750]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-b1a88750]{padding-top:40px}.VPTeamMembersItem[data-v-f3fa364a]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-f3fa364a]{padding:32px}.VPTeamMembersItem.small .data[data-v-f3fa364a]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-f3fa364a]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-f3fa364a]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-f3fa364a]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-f3fa364a]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-f3fa364a]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-f3fa364a]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-f3fa364a]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-f3fa364a]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-f3fa364a]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-f3fa364a]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-f3fa364a]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-f3fa364a]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-f3fa364a]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-f3fa364a]{text-align:center}.avatar[data-v-f3fa364a]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-f3fa364a]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-f3fa364a]{margin:0;font-weight:600}.affiliation[data-v-f3fa364a]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-f3fa364a]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-f3fa364a]:hover{color:var(--vp-c-brand-1)}.desc[data-v-f3fa364a]{margin:0 auto}.desc[data-v-f3fa364a] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-f3fa364a]{display:flex;justify-content:center;height:56px}.sp-link[data-v-f3fa364a]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-f3fa364a]:hover,.sp .sp-link.link[data-v-f3fa364a]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-f3fa364a]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-6cb0dbc4]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-6cb0dbc4]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-6cb0dbc4]{max-width:876px}.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-6cb0dbc4]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-6cb0dbc4]{max-width:760px}.container[data-v-6cb0dbc4]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:#000c;color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}:root{--twoslash-border-color: #8888;--twoslash-underline-color: currentColor;--twoslash-highlighted-border: #c37d0d50;--twoslash-highlighted-bg: #c37d0d20;--twoslash-popup-bg: #f8f8f8;--twoslash-popup-color: inherit;--twoslash-popup-shadow: rgba(0, 0, 0, .08) 0px 1px 4px;--twoslash-docs-color: #888;--twoslash-docs-font: sans-serif;--twoslash-code-font: inherit;--twoslash-code-font-size: 1em;--twoslash-matched-color: inherit;--twoslash-unmatched-color: #888;--twoslash-cursor-color: #8888;--twoslash-error-color: #d45656;--twoslash-error-bg: #d4565620;--twoslash-warn-color: #c37d0d;--twoslash-warn-bg: #c37d0d20;--twoslash-tag-color: #3772cf;--twoslash-tag-bg: #3772cf20;--twoslash-tag-warn-color: var(--twoslash-warn-color);--twoslash-tag-warn-bg: var(--twoslash-warn-bg);--twoslash-tag-annotate-color: #1ba673;--twoslash-tag-annotate-bg: #1ba67320}@media (prefers-reduced-motion: reduce){.twoslash *{transition:none!important}}.twoslash:hover .twoslash-hover{border-color:var(--twoslash-underline-color)}.twoslash .twoslash-hover{border-bottom:1px dotted transparent;transition-timing-function:ease;transition:border-color .3s;position:relative}.twoslash .twoslash-popup-container{position:absolute;opacity:0;display:inline-flex;flex-direction:column;transform:translateY(1.1em);background:var(--twoslash-popup-bg);color:var(--twoslash-popup-color);border:1px solid var(--twoslash-border-color);transition:opacity .3s;border-radius:4px;pointer-events:none;z-index:10;-webkit-user-select:none;user-select:none;text-align:left;box-shadow:var(--twoslash-popup-shadow)}.twoslash .twoslash-query-presisted .twoslash-popup-container{z-index:9;transform:translateY(1.5em)}.twoslash .twoslash-hover:hover .twoslash-popup-container,.twoslash .twoslash-error-hover:hover .twoslash-popup-container,.twoslash .twoslash-query-presisted .twoslash-popup-container,.twoslash .twoslash-query-line .twoslash-popup-container{opacity:1;pointer-events:auto}.twoslash .twoslash-popup-container:hover{-webkit-user-select:auto;user-select:auto}.twoslash .twoslash-popup-arrow{position:absolute;top:-4px;left:1em;border-top:1px solid var(--twoslash-border-color);border-right:1px solid var(--twoslash-border-color);background:var(--twoslash-popup-bg);transform:rotate(-45deg);width:6px;height:6px;pointer-events:none}.twoslash .twoslash-popup-code,.twoslash .twoslash-popup-error,.twoslash .twoslash-popup-docs{padding:6px 8px!important}.twoslash .twoslash-popup-code{font-family:var(--twoslash-code-font);font-size:var(--twoslash-code-font-size)}.twoslash .twoslash-popup-docs{color:var(--twoslash-docs-color);font-family:var(--twoslash-docs-font);font-size:.8em;border-top:1px solid var(--twoslash-border-color)}.twoslash .twoslash-popup-error{color:var(--twoslash-error-color);background-color:var(--twoslash-error-bg);font-family:var(--twoslash-docs-font);font-size:.8em}.twoslash .twoslash-popup-docs-tags{display:flex;flex-direction:column;font-family:var(--twoslash-docs-font)}.twoslash .twoslash-popup-docs-tags,.twoslash .twoslash-popup-docs-tag-name{margin-right:.5em}.twoslash .twoslash-popup-docs-tag-name{font-family:var(--twoslash-code-font)}.twoslash .twoslash-query-line .twoslash-popup-container{position:relative;margin-bottom:1.4em;transform:translateY(.6em)}.twoslash .twoslash-error-line{position:relative;background-color:var(--twoslash-error-bg);border-left:3px solid var(--twoslash-error-color);color:var(--twoslash-error-color);padding:6px 12px;margin:.2em 0;min-width:100%;width:max-content}.twoslash .twoslash-error-line.twoslash-error-level-warning{background-color:var(--twoslash-warn-bg);border-left:3px solid var(--twoslash-warn-color);color:var(--twoslash-warn-color)}.twoslash .twoslash-error{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c94824'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash .twoslash-error.twoslash-error-level-warning{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%206%203'%20enable-background%3D'new%200%200%206%203'%20height%3D'3'%20width%3D'6'%3E%3Cg%20fill%3D'%23c37d0d'%3E%3Cpolygon%20points%3D'5.5%2C0%202.5%2C3%201.1%2C3%204.1%2C0'%2F%3E%3Cpolygon%20points%3D'4%2C0%206%2C2%206%2C0.6%205.4%2C0'%2F%3E%3Cpolygon%20points%3D'0%2C2%201%2C3%202.4%2C3%200%2C0.6'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x bottom left;padding-bottom:2px}.twoslash .twoslash-completion-cursor{position:relative}.twoslash .twoslash-completion-cursor .twoslash-completion-list{-webkit-user-select:none;user-select:none;position:absolute;top:0;left:0;transform:translateY(1.2em);margin:3px 0 0 -1px;display:inline-block;z-index:8;box-shadow:var(--twoslash-popup-shadow);background:var(--twoslash-popup-bg);border:1px solid var(--twoslash-border-color)}.twoslash-completion-list{width:240px;font-size:.8rem;padding:4px;display:flex;flex-direction:column;gap:4px}.twoslash-completion-list:hover{-webkit-user-select:auto;user-select:auto}.twoslash-completion-list:before{background-color:var(--twoslash-cursor-color);width:2px;position:absolute;top:-1.6em;height:1.4em;left:-1px;content:" "}.twoslash-completion-list li{overflow:hidden;display:flex;align-items:center;gap:.25em;line-height:1em}.twoslash-completion-list li span.twoslash-completions-unmatched{color:var(--twoslash-unmatched-color)}.twoslash-completion-list .deprecated{text-decoration:line-through;opacity:.5}.twoslash-completion-list li span.twoslash-completions-matched{color:var(--twoslash-matched-color)}.twoslash-highlighted{background-color:var(--twoslash-highlighted-bg);border:1px solid var(--twoslash-highlighted-border);padding:1px 2px;margin:-1px -3px;border-radius:4px}.twoslash-completion-list .twoslash-completions-icon{color:var(--twoslash-unmatched-color);width:1em;flex:none}.twoslash .twoslash-tag-line{position:relative;background-color:var(--twoslash-tag-bg);border-left:3px solid var(--twoslash-tag-color);color:var(--twoslash-tag-color);padding:6px 10px;margin:.2em 0;display:flex;align-items:center;gap:.3em;min-width:100%;width:max-content}.twoslash .twoslash-tag-line .twoslash-tag-icon{width:1.1em;color:inherit}.twoslash .twoslash-tag-line.twoslash-tag-error-line{background-color:var(--twoslash-error-bg);border-left:3px solid var(--twoslash-error-color);color:var(--twoslash-error-color)}.twoslash .twoslash-tag-line.twoslash-tag-warn-line{background-color:var(--twoslash-tag-warn-bg);border-left:3px solid var(--twoslash-tag-warn-color);color:var(--twoslash-tag-warn-color)}.twoslash .twoslash-tag-line.twoslash-tag-annotate-line{background-color:var(--twoslash-tag-annotate-bg);border-left:3px solid var(--twoslash-tag-annotate-color);color:var(--twoslash-tag-annotate-color)}:root{--twoslash-popup-bg: var(--vp-c-bg, inherit);--twoslash-popup-color: var(--vp-c-text-1);--twoslash-docs-color: var(--vp-c-text-1);--twoslash-docs-font: var(--vp-font-family-base);--twoslash-code-font: var(--vp-font-family-mono);--twoslash-code-size: var(--vp-code-font-size);--twoslash-underline-color: #8888;--twoslash-border-color: var(--vp-c-border);--twoslash-cursor-color: var(--vp-c-brand);--twoslash-matched-color: var(--vp-c-brand);--twoslash-unmatched-color: var(--vp-c-text-2)}.v-popper--theme-twoslash{z-index:calc(var(--vp-z-index-local-nav) - 1)}.v-popper--theme-twoslash .v-popper__inner{background:var(--twoslash-popup-bg);color:var(--twoslash-popup-color);border-color:var(--twoslash-border-color)}.v-popper--theme-twoslash .v-popper__arrow-outer{border-color:var(--twoslash-border-color)}.v-popper--theme-twoslash .v-popper__arrow-inner{border-color:var(--twoslash-popup-bg)}.twoslash-popup-container{transform:translateY(1.5em)}.twoslash-query-presisted .twoslash-popup-container{transform:translateY(1.8em)}.twoslash .v-popper{display:inline-block}.twoslash-completion-list .twoslash-completions-icon{color:var(--twoslash-unmatched-color)!important}.twoslash-floating .twoslash-popup-code{max-width:600px;display:block;width:fit-content;min-width:100%;padding:6px 12px;line-height:var(--vp-code-line-height);font-size:var(--twoslash-code-size);transition:color .5s;white-space:pre-wrap}.twoslash-floating .twoslash-popup-docs,.twoslash-floating .twoslash-popup-error{padding:12px!important;font-family:var(--twoslash-docs-font);font-size:.9em;max-height:500px;max-width:700px;overflow-y:auto;overflow-x:hidden;text-wrap:balance}.twoslash-floating .twoslash-popup-docs p:first-child,.twoslash-floating .twoslash-popup-error p:first-child{margin-top:0}.twoslash-floating .twoslash-popup-docs p:last-child,.twoslash-floating .twoslash-popup-error p:last-child{margin-bottom:0}.twoslash-floating .twoslash-popup-docs{border-top:1px solid var(--twoslash-border-color);color:var(--twoslash-docs-color)}.twoslash-floating .twoslash-popup-error{color:var(--twoslash-error-color)}.twoslash-floating .twoslash-popup-error.twoslash-error-level-warning{color:var(--twoslash-warn-color)}.twoslash-floating .twoslash-popup-docs p,.twoslash-floating .twoslash-popup-error p{margin:6px 0;text-wrap:balance}.twoslash-floating .twoslash-popup-docs pre .twoslash-floating .twoslash-popup-error pre{background-color:var(--vp-code-block-bg);border-radius:8px;padding:12px;margin:6px -2px;overflow-x:auto}.twoslash-floating .twoslash-popup-docs-tags{display:flex;flex-direction:column;padding:8px 12px!important}.twoslash-floating .twoslash-popup-docs-tags .twoslash-popup-docs-tag-name{font-family:var(--twoslash-code-font);color:var(--twoslash-unmatched-color);margin-right:.5em}.twoslash-completion-cursor{height:1.2em;width:2px;margin-bottom:-.2em;background:var(--twoslash-cursor-color);display:inline-block;-webkit-user-select:none;user-select:none}.twoslash-floating.twoslash-completion .v-popper__arrow-container{display:none}.twoslash-floating.twoslash-completion .twoslash-completion-list{padding:6px;font-family:var(--twoslash-code-font);font-size:var(--twoslash-code-size)!important}.twoslash-floating.twoslash-completion .twoslash-completion-list li{padding:3px 0}a>img{display:inline-block}a.title{white-space:pre-wrap}.twoslash-error-hover>*{min-width:4px;min-height:16px;display:inline-block}.VPLocalSearchBox[data-v-639d7ab9]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-639d7ab9]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-639d7ab9]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-639d7ab9]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-639d7ab9]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-639d7ab9]{padding:0 8px}}.search-bar[data-v-639d7ab9]:focus-within{border-color:var(--vp-c-brand-1)}.local-search-icon[data-v-639d7ab9]{display:block;font-size:18px}.navigate-icon[data-v-639d7ab9]{display:block;font-size:14px}.search-icon[data-v-639d7ab9]{margin:8px}@media (max-width: 767px){.search-icon[data-v-639d7ab9]{display:none}}.search-input[data-v-639d7ab9]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-639d7ab9]{padding:6px 4px}}.search-actions[data-v-639d7ab9]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-639d7ab9]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-639d7ab9]{display:none}}.search-actions button[data-v-639d7ab9]{padding:8px}.search-actions button[data-v-639d7ab9]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-639d7ab9]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-639d7ab9]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-639d7ab9]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-639d7ab9]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-639d7ab9]{display:none}}.search-keyboard-shortcuts kbd[data-v-639d7ab9]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-639d7ab9]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-639d7ab9]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-639d7ab9]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-639d7ab9]{margin:8px}}.titles[data-v-639d7ab9]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-639d7ab9]{display:flex;align-items:center;gap:4px}.title.main[data-v-639d7ab9]{font-weight:500}.title-icon[data-v-639d7ab9]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-639d7ab9]{opacity:.5}.result.selected[data-v-639d7ab9]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-639d7ab9]{position:relative}.excerpt[data-v-639d7ab9]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-639d7ab9]{opacity:1}.excerpt[data-v-639d7ab9] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-639d7ab9] mark,.excerpt[data-v-639d7ab9] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-639d7ab9] .vp-code-group .tabs{display:none}.excerpt[data-v-639d7ab9] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-639d7ab9]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-639d7ab9]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-639d7ab9],.result.selected .title-icon[data-v-639d7ab9]{color:var(--vp-c-brand-1)!important}.no-results[data-v-639d7ab9]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-639d7ab9]{flex:none} diff --git a/hashmap.json b/hashmap.json new file mode 100644 index 00000000..6dd24947 --- /dev/null +++ b/hashmap.json @@ -0,0 +1 @@ +{"index.md":"D2c0lH4-","migration_0.13to0.14.md":"BYhuNpkM","rules_attribute-name-casing.md":"B_fPGJoI","rules_attribute-value-quote.md":"D5rEfMyZ","rules_element-name-casing.md":"D8VKeOhs","rules_html-closing-bracket-newline.md":"g6WeyT1S","rules_html-closing-bracket-spacing.md":"C8ylLT0B","rules_html-comment-content-newline.md":"CpKumZBn","rules_html-comment-spacing.md":"Gv6G28xC","rules_html-content-newline.md":"B9D8l6D4","rules_html-indent.md":"BKma_2yi","rules_index.md":"CaVhX-YM","rules_max-attributes-per-line.md":"Hrxx8STn","rules_no-duplicate-attributes.md":"Blj53J_C","rules_no-empty-template-tag.md":"DTsTbqfX","rules_no-html-comments.md":"DY6KRGhR","rules_no-invalid-template-interpolation.md":"CRAfJE2m","rules_no-irregular-whitespace.md":"BknRbDbC","rules_no-multi-spaces-in-html-tag.md":"ClcPh98n","rules_no-multi-spaces-in-scriptlet.md":"BAcQOluZ","rules_no-script-parsing-error.md":"DvgrHDnY","rules_no-semi-in-template-interpolation.md":"DDilnGuS","rules_no-space-attribute-equal-sign.md":"D_89UbKJ","rules_no-template-tag-in-start-tag.md":"Hz8q5SYw","rules_no-warning-html-comments.md":"Bgu2SVPk","rules_prefer-escape-template-interpolations.md":"XZw3EGUG","rules_scriptlet-indent.md":"BB4oMMU-","rules_template-tag-spacing.md":"CjFIf6Nx","services_ast-for-html.md":"voWLWX5n","services_ast-for-template-tag.md":"XKuVL62r","services_index.md":"Ddw5PF02"} diff --git a/index.html b/index.html new file mode 100644 index 00000000..29bd1040 --- /dev/null +++ b/index.html @@ -0,0 +1,184 @@ + + + + + + eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

eslint-plugin-lodash-template

ESLint plugin for John Resig-style micro templating.

NPM licenseNPM versionNPM downloads

It can be used in projects using Underscore.js and Lodash's template.

This plugin supports code checking for templates like the examples below.

html
<div id="<%= id %>" class="<%= (i % 2 == 1 ? ' even': '') %>">
+  <div class="grid_1 alpha right">
+    <img class="righted" src="<%= profile_image_url %>"/>
+  </div>
+  <div class="grid_6 omega contents">
+    <p><b><a href="/<%= from_user %>"><%= from_user %></a>:</b> <%= text %></p>
+  </div>
+</div>
html
<% for ( var i = 0; i < users.length; i++ ) { %>
+  <li><a href="<%= users[i].url %>"><%= users[i].name %></a></li>
+<% } %>

Playground on the Web

Features

  • Enable ESLint in Underscore.js and Lodash's templates.
  • You can find issues specific to template tags.
  • Improves readability of HTML templates.
  • For JavaScript (TypeScript) templates, enable ESLint both inside and outside the template tag. (This is an experimental feature)
  • Partial supports for EJS.

Installation

bash
npm install --save-dev eslint eslint-plugin-lodash-template

Usage

Create .eslintrc.* file to configure rules. See also: http://eslint.org/docs/user-guide/configuring.

Example eslint.config.js:

js
import lodashTemplate from 'eslint-plugin-lodash-template'
+export default [
+    {
+        files: ['**/*.html'],
+        ...lodashTemplate.configs['flat/recommended-with-html']
+    }
+]

Example .eslintrc.js:

js
module.exports = {
+  extends: [
+    // add more generic rulesets here, such as:
+    // 'eslint:recommended',
+    'plugin:lodash-template/recommended-with-html'
+  ],
+  rules: {
+    // override/add rules settings here, such as:
+    // 'lodash-template/no-warning-html-comments': 'error'
+  }
+}

Attention

This plugin does special handling for the following rule warnings in the template.

Rule IDProcess DescriptionAnother way this plugin supports
indentDisable warningslodash-template/scriptlet-indent rule,
lodash-template/html-indentrule
@stylistic/indentDisable warningslodash-template/scriptlet-indent rule,
lodash-template/html-indent rule
strictDisable warnings--
no-emptyDisable warnings--
max-statements-per-lineDisable warnings--
@stylistic/max-statements-per-lineDisable warnings--
padded-blocksDisable warnings--
@stylistic/padded-blocksDisable warnings--
no-implicit-globalsDisable warnings--
no-multi-spacesDisable warningslodash-template/no-multi-spaces-in-scriptlet rule,
lodash-template/no-multi-spaces-in-html-tag rule
@stylistic/no-multi-spacesDisable warningslodash-template/no-multi-spaces-in-scriptlet rule,
lodash-template/no-multi-spaces-in-html-tag rule
no-unused-expressionsDisable warnings within interpolate(<%=...%>)--
quotesDisable warnings if doublequote is set--
@stylistic/quotesDisable warnings if doublequote is set--
no-irregular-whitespaceDisable warnings outside template tagslodash-template/no-irregular-whitespace rule

Configs

For eslint.config.js

This plugin provides 7 predefined configs:

  • *.configs['flat/base'] - Settings and rules to enable correct ESLint parsing
  • *.configs['flat/base-with-ejs'] - Settings and rules to enable correct ESLint parsing for EJS
  • *.configs['flat/best-practices'] - Above, plus rules to improve dev experience
  • *.configs['flat/recommended'] - Above, plus rules to improve code readability
  • *.configs['flat/recommended-with-html'] - Above, plus rules to improve code readability with HTML template
  • *.configs['flat/recommended-with-script'] - *.configs['flat/recommended'] config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
  • *.configs['flat/all'] - All rules of this plugin are included

For .eslintrc.*

This plugin provides 6 predefined configs:

  • plugin:lodash-template/base - Settings and rules to enable correct ESLint parsing
  • plugin:lodash-template/best-practices - Above, plus rules to improve dev experience
  • plugin:lodash-template/recommended - Above, plus rules to improve code readability
  • plugin:lodash-template/recommended-with-html - Above, plus rules to improve code readability with HTML template
  • plugin:lodash-template/recommended-with-script - plugin:lodash-template/recommended config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
  • plugin:lodash-template/all - All rules of this plugin are included

All Rules

Please see All Rules

Plugin Option

Suppress no-undef warnings in the template tag

Please set the global variable used in all templates as follows.

.eslintrc.*:

diff
  {
+      "settings": {
++         "lodash-template/globals": ["variableName"]
+      }
+  }

Please write the global comment in the file as follows for the variable to be used with a specific template.

diff
+ <% /* global users */ %>
+  <% for ( var i = 0; i < users.length; i++ ) { %>
+    <li><a href="<%= users[i].url %>"><%= users[i].name %></a></li>
+  <% } %>

Suppress reports for specific rules in template files

Please set as follows.

.eslintrc.*:

diff
  {
+      "settings": {
++         "lodash-template/ignoreRules": ["no-undef", "no-tabs"]
+      }
+  }

The ESLint standard suppression method can also be used by using template tag, as follows.

diff
+ <% /* eslint no-ternary: 0 */ %>

Customize parser

For example, if you set Lodash templateSettings as follows,

js
_.templateSettings = {
+    evaluate:    /{{([\s\S]+?)}}/g,
+    interpolate: /{{=([\s\S]+?)}}/g,
+    escape:      /{{-([\s\S]+?)}}/g
+};

please set parserOptions(ex. .eslintrc.*) as follows.

diff
      parserOptions: {
++         templateSettings: {
++             evaluate:    ["{{", "}}"],
++             interpolate: ["{{=", "}}"],
++             escape:      ["{{-", "}}"],
++         },
+      },

For example, to parse like EJS, set as follows,

(If plugin:lodash-template/*** is set in extends, it is automatically applied to the extension .ejs.)

diff
      parserOptions: {
++         templateSettings: {
++             evaluate:    [ ["<%", "<%_"], ["%>", "-%>", "_%>"] ],
++             interpolate: [  "<%-",        ["%>", "-%>", "_%>"] ],
++             escape:      [  "<%=",        ["%>", "-%>", "_%>"] ],
++             comment:     [  "<%#",        ["%>", "-%>", "_%>"] ],
++             literal:     [  "<%%" ],
++         },
+      },

(This plugin do not provide complete support for EJS. e.g. the include directive.)

Customize target extensions

Please set .eslintrc.* as follows.

(For example, for EJS.)

diff
+    "overrides": [
++        {
++            "files": ["*.ejs"],
++            "processor": "lodash-template/html"
++        }
++    ]

For JavaScript (TypeScript) Templates

(This is an experimental feature. Also check for known limitations.)

For example if you have a file like below.

js
/* eslint no-multi-spaces: error */
+<% /* eslint lodash-template/no-multi-spaces-in-scriptlet: error */ %>
+
+// if this plugin is not used, a parsing error will occur.
+const obj
= <%= JSON.stringify(options
) %>
+// ^^^^ ^^^^^ +// | | +// | If you don't use `"plugin:lodash-template/recommended-with-script"`, +// | only the space after `options` is reported. +// | +// + When using `"plugin:lodash-template/recommended-with-script"`, the space after `obj` is also reported.

Playground on the Web

Configuring

Please set .eslintrc.* as follows.

diff
+    "overrides": [
++        {
++            "files": ["**/your/templates/*.js"],
++            "extends": ["plugin:lodash-template/recommended-with-script"]
++        }
++    ]

If you do not want to use the included rules, set the details as follows.

diff
    "overrides": [
+        {
+            "files": ["**/your/templates/*.js"],
+-            "extends": ["plugin:lodash-template/recommended-with-script"],
++            "extends": ["plugin:lodash-template/base"],
++            "processor": "lodash-template/script"
+        }
+    ]

If you want to use it with TypeScript, you need to configure parserOptions.

diff
    "overrides": [
+        {
+-            "files": ["**/your/templates/*.js"],
++            "files": ["**/your/templates/*.ts"],
++            "parserOptions": {
++                 "parser": "@typescript-eslint/parser",
++                 "sourceType": "module"
++            },
+            "extends": ["plugin:lodash-template/recommended-with-script"]
+        }
+    ]

FAQ

Known Limitations in Script Templates

Due to known limitations in script templates, you may need to rewrite some templates. Otherwise, you may not be able to use this plugin or some rules.

Parsing Error

Interpolation in the script template will try to replace it with an identifier and parse it. If you generate a complex script in interpolation, you may get a parsing error.

👍 The following script can be parsed well.

js
let <%= idName %> = 42;
+export { <%= idName %> };

👎 The following script cannot be parsed well.

js
<%= 'let ' + idName %> = 42;
+export { <%= idName %> };

False Positives in Some Rules

If you use branching in your template, the plugin will generate multiple script ASTs needed to cover all branches. (Then merge the results of validating these ASTs.)
This can confuse some rules and cause false positives.

However, this is necessary to avoid script parsing errors.

e.g.

Template:

js
const a = 'foo'
+<% if (x) { %>
+  const b = 1;
+<% } else { %>
+  const b = 2;
+<% } %>

Generated Script 1:

js

+const a = 'foo'
+
+  const b = 1;

Generated Script 2:

js

+const a = 'foo'
+
+
+
+  const b = 2;

If we use the following script, it is a parsing error.

js

+const a = 'foo'
+
+  const b = 1;
+
+  const b = 2; // <- Identifier 'b' has already been declared

The plugin also tries to generate scripts using branches that are as consistent as possible.

e.g.

Template:

js
<% if (x.foo) { %>
+  const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+  console.log(a)
+<% } else { %>
+  // process for x.foo is false
+<% } %>

Generated Script 1:

js

+  const a = 'x.foo is true'
+
+// ...
+
+  console.log(a)

Generated Script 2:

js

+
+
+// ...
+
+
+
+  // process for x.foo is false

However, branching conditions are compared using text, so even logically the same can be confusing.

e.g.

Template:

js
<% if (x['foo']) { %>
+  const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+  console.log(a)
+<% } else { %>
+  // process for x.foo is false
+<% } %>

Generated Script 1:

js

+  const a = 'x.foo is true'
+
+// ...
+
+  console.log(a)

Generated Script 2:

js

+  const a = 'x.foo is true'
+
+// ...
+
+
+
+  // process for x.foo is false

This template gets an error 'a' is assigned a value but never used. from the no-unused-vars rule.

Editor Settings

About how to mark warnings on editor.

  • VSCode (VS Code ESLint extension)

    settings.json:

    json
    {
    +    "eslint.validate"
    :
    [ "javascript", "javascriptreact", { "language": "html", "autoFix": true } ]
    +}
  • Sublime Text3 (SublimeLinter-eslint)

    [Preference] > [Package Settings] > [SublimeLinter] > [Settings]

    json
    // SublimeLinter Settings - User
    +{
    +    "linters"
    :
    {
    + "eslint": { + "selector": "text.html, source.js - meta.attribute-with-value" + } + } +}

Migrations

Contributing

Welcome contributing!

Please use GitHub's Issues/PRs.

parserServices

Information provided by parserServices on this plugin

Development Tools

  • npm test runs tests and measures coverage.
  • npm run update runs in order to update readme and recommended configuration.

License

See the LICENSE file for license rights and limitations (MIT).

+ + + + \ No newline at end of file diff --git a/logo.png b/logo.png new file mode 100644 index 00000000..c259cbd9 Binary files /dev/null and b/logo.png differ diff --git a/logo.svg b/logo.svg new file mode 100644 index 00000000..e0adddb2 --- /dev/null +++ b/logo.svg @@ -0,0 +1,17 @@ + + + + + + + + + diff --git a/migration/0.13to0.14.html b/migration/0.13to0.14.html new file mode 100644 index 00000000..d01972b6 --- /dev/null +++ b/migration/0.13to0.14.html @@ -0,0 +1,54 @@ + + + + + + 0.13.x to 0.14.x | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

0.13.x to 0.14.x

Breaking Changes

  • Moved some rule categories.
  • Rename some rules.
  • The configuration method for customizing the target extension has changed.
  • The configuration method for suppressing the reporting of specific rules in the template file has changed.
  • Drop supports for ESLint@5

Moved some rule categories.

In 0.13.x

  • Rule lodash-template/no-warning-html-comments was category best-practices.
  • Rule lodash-template/no-html-comments was category best-practices.

For 0.14.x

  • Rule lodash-template/no-warning-html-comments has moved to category recommended-with-html.
  • Rule lodash-template/no-html-comments has moved to category recommended-with-html.

Rename some rules.

  • lodash-template/no-multi-spaces-in-script to lodash-template/no-multi-spaces-in-scriptlet
  • lodash-template/script-indent to lodash-template/scriptlet-indent

Customize target extentions

In 0.13.x

In 0.13.x, it was set in .eslintrc.js as follows:

(For example, for EJS.)

diff
  "use strict"
+
++ const pluginLodashTemplate = require("eslint-plugin-lodash-template")
++ pluginLodashTemplate.addTargetExtensions(".ejs")
+
+  module.exports = {

For 0.14.x

For 0.14.x, please set .eslintrc.* as follows:

(For example, for EJS.)

diff
+    "overrides": [
++        {
++            "files": ["*.ejs"],
++            "processor": "lodash-template/html"
++        }
++    ]

Suppress no-undef warnings in the template tag

In 0.13.x

In 0.13.x, it was set the global variable used in all templates as follows.

.eslintrc.json:

diff
  {
+      "rules": {
++         "lodash-template/plugin-option": [2, {
++             "globals": ["variableName"],
++         }]
+      }
+  }

For 0.14.x

For 0.14.x, please set the global variable used in all templates as follows.

.eslintrc.json:

diff
  {
+      "settings": {
++         "lodash-template/globals": ["variableName"]
+      }
+  }

Suppress reports for specific rules in template files

In 0.13.x

In 0.13.x, it was set as follows.

.eslintrc.json:

diff
  {
+      "rules": {
++         "lodash-template/plugin-option": [2, {
++             "ignoreRules": ["no-undef", "no-tabs"],
++         }]
+      }
+  }

For 0.14.x

For 0.14.x, please set as follows.

.eslintrc.json:

diff
  {
+      "settings": {
++         "lodash-template/ignoreRules": ["no-undef", "no-tabs"]
+      }
+  }
+ + + + \ No newline at end of file diff --git a/rules/attribute-name-casing.html b/rules/attribute-name-casing.html new file mode 100644 index 00000000..c57051d9 --- /dev/null +++ b/rules/attribute-name-casing.html @@ -0,0 +1,39 @@ + + + + + + lodash-template/attribute-name-casing | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/attribute-name-casing

enforce HTML attribute name casing. (ex. 🆗 <div foo-bar> 🆖 <div fooBar> <div FOO-BAR>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces attribute name casing style (kebab-case).

html
<% /* eslint "lodash-template/attribute-name-casing": "error" */ %>
+<!-- ✓ GOOD -->
+<div foo-bar="abc">
+
+<!-- ✗ BAD -->
+<div 
fooBar
="abc">
+<div
FOO-BAR
="abc">

Options

json
{
+  "lodash-template/attribute-name-casing": ["error", {
+    "ignore": [],
+    "ignoreSvgCamelCaseAttributes": true,
+  }]
+}

Examples for this rule with "ignore": ["onClick"] option:

html
<% /* eslint "lodash-template/attribute-name-casing": ["error", {"ignore": ["onClick"]}] */ %>
+<!-- ✓ GOOD -->
+<div onClick="abc">

Examples for this rule with "ignoreSvgCamelCaseAttributes": true, (default)

html
<% /* eslint "lodash-template/attribute-name-casing": ["error", {"ignoreSvgCamelCaseAttributes": true}] */ %>
+<!-- ✓ GOOD -->
+<svg viewBox="0 0 100 100"></svg>

Further Reading

Implementation

+ + + + \ No newline at end of file diff --git a/rules/attribute-value-quote.html b/rules/attribute-value-quote.html new file mode 100644 index 00000000..a76cfc57 --- /dev/null +++ b/rules/attribute-value-quote.html @@ -0,0 +1,44 @@ + + + + + + lodash-template/attribute-value-quote | eslint-plugin-lodash-template + ` :ng: `
` `
`)"> + + + + + + + + + + + + +
Skip to content

lodash-template/attribute-value-quote

enforce quotes style of HTML attributes. (ex. 🆗 <div class="abc"> 🆖 <div class='abc'> <div class=abc>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces the quotes style of HTML attributes.

html
<% /* eslint "lodash-template/attribute-value-quote": "error" */ %>
+<!-- ✓ GOOD -->
+<img src="./logo.png">
+
+<!-- ✗ BAD -->
+<img src=
'./logo.png'
>
+<img src=
./logo.png
>

Options

json
{
+  "lodash-template/attribute-value-quote": ["error", "double" | "single" | "either" | "prefer-double"]
+}
  • "double" ... requires double quotes.
  • "single" ... requires single quotes.
  • "either" ... requires double quotes or single quotes.
  • "prefer-double" (default) ... requires double quotes or single quotes. if do not need escape double quotes, requires double quotes.

Examples for this rule with "single" option:

html
<% /* eslint "lodash-template/attribute-value-quote": ["error", "single"] */ %>
+<!-- ✓ GOOD -->
+<img src='./logo.png'>
+
+<!-- ✗ BAD -->
+<img src=
"./logo.png"
>
+<img src=
./logo.png
>

Examples for this rule with "either" option:

html
<% /* eslint "lodash-template/attribute-value-quote": ["error", "either"] */ %>
+<!-- ✓ GOOD -->
+<img src="./logo.png">
+<img src='./logo.png'>
+
+<!-- ✗ BAD -->
+<img src=
./logo.png
>

Further Reading

Implementation

+ + + + \ No newline at end of file diff --git a/rules/element-name-casing.html b/rules/element-name-casing.html new file mode 100644 index 00000000..7ee9c815 --- /dev/null +++ b/rules/element-name-casing.html @@ -0,0 +1,31 @@ + + + + + + lodash-template/element-name-casing | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/element-name-casing

enforce HTML element name casing. (ex. 🆗 <xxx-element> 🆖 <xxxElement> <DIV>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces element name casing style (kebab-case).

html
<% /* eslint "lodash-template/element-name-casing": "error" */ %>
+<!-- ✓ GOOD -->
+<div>
+<xxx-element>
+
+<!-- ✗ BAD -->
+
<DIV
>
+
<xxxElement
>

Further Reading

Implementation

+ + + + \ No newline at end of file diff --git a/rules/html-closing-bracket-newline.html b/rules/html-closing-bracket-newline.html new file mode 100644 index 00000000..b4c90d32 --- /dev/null +++ b/rules/html-closing-bracket-newline.html @@ -0,0 +1,71 @@ + + + + + + lodash-template/html-closing-bracket-newline | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/html-closing-bracket-newline

require or disallow a line break before tag's closing brackets

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

People have own preference about the location of closing brackets. This rule enforces a line break (or no line break) before tag's closing brackets.

html
<div
+  id="foo"
+  class="bar"> <!-- On the same line with the last attribute. -->
+</div>
+<div
+  id="foo"
+  class="bar"
+> <!-- On the next line. -->
+</div>
html
<% /* eslint "lodash-template/html-closing-bracket-newline": "error" */ %>
+<!-- ✓ GOOD -->
+<div id="foo" class="bar"></div>
+<div
+  id="foo"
+  class="bar"></div>
+
+<!-- ✗ BAD -->
+<div id="foo" class="bar"
+></div> +<div + id="foo" + class="bar"
+></div> +<div + id="foo" + class="bar"
+ ></div>

Options

json
{
+  "lodash-template/html-closing-bracket-newline": ["error", {
+    "singleline": "never",
+    "multiline": "never"
+  }]
+}
  • singleline ... the configuration for single-line elements. It's a single-line element if the element does not have attributes or the last attribute is on the same line as the opening bracket.
    • "never" ... disallow line breaks before the closing bracket. This is the default.
    • "always" ... require one line break before the closing bracket.
  • multiline ... the configuration for multiline elements. It's a multiline element if the last attribute is not on the same line of the opening bracket.
    • "never" ... disallow line breaks before the closing bracket. This is the default.
    • "always" ... require one line break before the closing bracket.

Plus, you can use lodash-template/html-indent rule to enforce indent-level of the closing brackets.

Examples for this rule with { "multiline": "always" } option:

html
<% /* eslint "lodash-template/html-closing-bracket-newline": ["error", { "multiline": "always" }] */ %>
+<!-- ✓ GOOD -->
+<div id="foo" class="bar"></div>
+<div
+  id="foo"
+  class="bar"
+></div>
+<div
+  id="foo"
+  class="bar"
+  ></div>
+
+<!-- ✗ BAD -->
+<div id="foo" class="bar"
+></div> +<div + id="foo" + class="bar"
></div>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/html-closing-bracket-spacing.html b/rules/html-closing-bracket-spacing.html new file mode 100644 index 00000000..0be8bb3d --- /dev/null +++ b/rules/html-closing-bracket-spacing.html @@ -0,0 +1,62 @@ + + + + + + lodash-template/html-closing-bracket-spacing | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/html-closing-bracket-spacing

require or disallow a space before tag's closing brackets. (ex. 🆗 <input> <input·/> 🆖 <input·> <input/>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces consistent spacing style before closing brackets > of tags.

html
<div class="foo"> or <div class="foo" >
+<input class="foo"/> or <input class="foo" />
html
<% /* eslint "lodash-template/html-closing-bracket-spacing": "error" */ %>
+<!-- ✓ GOOD -->
+<input>
+<input foo>
+<div foo="bar">
+</div>
+<br />
+<input foo />
+<input foo="bar" />
+
+<!-- ✗ BAD -->
+<input
>
+<input foo
>
+<div foo="bar"
>
+</div
>
+<br
/>
+<input foo
/>
+<input foo="bar"
/>

Options

json
{
+  "lodash-template/html-closing-bracket-spacing": ["error", {
+    "startTag": "always" | "never",
+    "endTag": "always" | "never",
+    "selfClosingTag": "always" | "never"
+  }]
+}
  • startTag ("always" | "never") ... Setting for the > of start tags (e.g. <div>). Default is "never".
    • "always" ... requires one or more spaces.
    • "never" ... disallows spaces.
  • endTag ("always" | "never") ... Setting for the > of end tags (e.g. </div>). Default is "never".
    • "always" ... requires one or more spaces.
    • "never" ... disallows spaces.
  • selfClosingTag ("always" | "never") ... Setting for the /> of self-closing tags (e.g. <br/>). Default is "always".
    • "always" ... requires one or more spaces.
    • "never" ... disallows spaces.
html
<% /* eslint
+  lodash-template/html-closing-bracket-spacing: ["error", {
+    "startTag": "always",
+    "endTag": "always",
+    "selfClosingTag": "always"
+  }]
+*/ %>
+<!-- ✓ GOOD -->
+<input >
+<input foo >
+<div foo="bar" >
+</div >
+<br />
+<input foo />
+<input foo="bar" />

Implementation

+ + + + \ No newline at end of file diff --git a/rules/html-comment-content-newline.html b/rules/html-comment-content-newline.html new file mode 100644 index 00000000..297ed152 --- /dev/null +++ b/rules/html-comment-content-newline.html @@ -0,0 +1,67 @@ + + + + + + lodash-template/html-comment-content-newline | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/html-comment-content-newline

require or disallow a line break before and after HTML comment contents

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a line break (or no line break) before and after HTML comment contents.

html
<% /* eslint "lodash-template/html-comment-content-newline": "error" */ %>
+<!-- ✓ GOOD -->
+<!-- singleline comment -->
+<!--
+  multiline
+  comment
+-->
+
+<!-- ✗ BAD -->
+<!--
+ singleline comment
+--> +<!-- + multiline + comment
-->
+<!--
multiline
+ comment
-->

Options

json
{
+  "lodash-template/html-comment-content-newline": ["error", {
+    "singleline": "never",
+    "multiline": "always",
+  }]
+}
  • singleline ... the configuration for single-line comments.
    • "ignore" ... Don't enforce line breaks style before and after the comments.
    • "never" ... disallow line breaks before and after the comments. This is the default.
    • "always" ... require one line break before and after the comments.
  • multiline ... the configuration for multiline comments.
    • "ignore" ... Don't enforce line breaks style before and after the comments.
    • "never" ... disallow line breaks before and after the comments.
    • "always" ... require one line break before and after the comments. This is the default.
html
<% /* eslint
+  lodash-template/html-comment-content-newline: ["error", {
+    "singleline": "always",
+    "multiline": "never"
+  }]
+*/ %>
+<!--
+  ✓ GOOD
+-->
+<!--
+  comment
+-->
+
+<!-- comment
+  comment -->
+
+<!--
✗ BAD
-->
+<!--
comment
-->
+ +<!--
+ comment + comment
+-->

Further Reading

Implementation

+ + + + \ No newline at end of file diff --git a/rules/html-comment-spacing.html b/rules/html-comment-spacing.html new file mode 100644 index 00000000..2b323e74 --- /dev/null +++ b/rules/html-comment-spacing.html @@ -0,0 +1,43 @@ + + + + + + lodash-template/html-comment-spacing | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/html-comment-spacing

enforce unified spacing in HTML comment. (ex. 🆗 <!-- comment -->, 🆖 <!--comment-->)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to enforce unified spacing in HTML comment.

html
<% /* eslint "lodash-template/html-comment-spacing": "error" */ %>
+<!-- ✓ GOOD -->
+<!-- comment -->
+
+<!-- ✗ BAD -->
+
<!--
comment
-->
+
<!--
comment
-->

Options

Default spacing is set to always

json
{
+  "lodash-template/html-comment-spacing": ["error", "always" | "never"]
+}

"always" - Expect one space between comment and curly brackets.

html
<% /* eslint "lodash-template/html-comment-spacing": ["error", "always"] */ %>
+<!-- ✓ GOOD -->
+<!-- comment -->
+
+<!-- ✗ BAD -->
+
<!--
comment
-->
+
<!--
comment
-->

"never" - Expect no spaces between comment and curly brackets.

html
<% /* eslint "lodash-template/html-comment-spacing": ["error", "never"] */ %>
+<!--✓ GOOD-->
+<!--comment-->
+
+
<!--
✗ BAD
-->
+
<!--
comment
-->

Implementation

+ + + + \ No newline at end of file diff --git a/rules/html-content-newline.html b/rules/html-content-newline.html new file mode 100644 index 00000000..e3005926 --- /dev/null +++ b/rules/html-content-newline.html @@ -0,0 +1,70 @@ + + + + + + lodash-template/html-content-newline | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/html-content-newline

require or disallow a line break before and after HTML contents

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a line break (or no line break) before and after HTML contents.

html
<% /* eslint "lodash-template/html-content-newline": "error" */ %>
+<!-- ✓ GOOD -->
+<div class="panel">content</div>
+
+<div class="panel">
+  content
+</div>
+
+<div
+  class="panel"
+>
+  content
+</div>
+
+<!-- ✗ BAD -->
+<div
+  class="panel"
+>
content
</div>

Options

json
{
+  "lodash-template/html-content-newline": ["error", {
+    "singleline": "ignore",
+    "multiline": "always",
+    "ignoreNames": ["pre", "textarea"]
+  }]
+}
  • singleline ... the configuration for single-line elements. It's a single-line element if startTag, endTag and contents are single-line.
    • "ignore" ... Don't enforce line breaks style before and after the contents. This is the default.
    • "never" ... disallow line breaks before and after the contents.
    • "always" ... require one line break before and after the contents.
  • multiline ... the configuration for multiline elements. It's a multiline element if startTag, endTag or contents are multiline.
    • "ignore" ... Don't enforce line breaks style before and after the contents.
    • "never" ... disallow line breaks before and after the contents.
    • "always" ... require one line break before and after the contents. This is the default.
  • ignoreNames ... the configuration for element names to ignore line breaks style.
    default ["pre", "textarea"]
html
<% /*eslint
+  lodash-template/html-content-newline: ["error", {
+    "singleline": "always",
+    "multiline": "never"
+  }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<div class="panel">
+  content
+</div>
+
+<div
+  class="panel"
+>content</div>
+
+<!-- ✗ BAD -->
+<div class="panel">
content
</div>
+ +<div + class="panel" +>
+ content
+</div>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/html-indent.html b/rules/html-indent.html new file mode 100644 index 00000000..608bad94 --- /dev/null +++ b/rules/html-indent.html @@ -0,0 +1,64 @@ + + + + + + lodash-template/html-indent | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/html-indent

enforce consistent HTML indentation.

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a consistent HTML indentation style. The default style is 2 spaces.

html
<% /* eslint "lodash-template/html-indent": "error" */ %>
+<!-- ✓ GOOD -->
+<div>
+  <div class="foo">
+    Hello.
+  </div>
+</div>
+
+<!-- ✗ BAD -->
+<div>
+
<div class="foo">
+
Hello.
+
</div>
+</div>

Options

json
{
+  "lodash-template/html-indent": ["error", type, {
+    "attribute": 1,
+    "closeBracket": 0
+  }]
+}
  • type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
  • attribute (integer) ... The multiplier of indentation for attributes. Default is 1.
  • closeBracket (integer) ... The multiplier of indentation for right brackets. Default is 0.

Examples for this rule with { attribute: 1, closeBracket: 1 } option:

html
<% /* eslint "lodash-template/html-indent": ["error", 2, { "attribute": 1, "closeBracket": 1 }] */ %>
+<!-- ✓ GOOD -->
+<div>
+  <div
+    id="a"
+    class="b"
+    attr1="c"
+    attr2="d"
+    >
+    Text
+  </div>
+</div>

Examples for this rule with { attribute: 2, closeBracket: 1 } option:

html
<% /* eslint "lodash-template/html-indent": ["error", 2, { "attribute": 2, "closeBracket": 1 }] */ %>
+<!-- ✓ GOOD -->
+<div>
+  <div
+      id="a"
+      class="b"
+      attr1="c"
+      attr2="d"
+    >
+    Text
+  </div>
+</div>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/index.html b/rules/index.html new file mode 100644 index 00000000..d3ada799 --- /dev/null +++ b/rules/index.html @@ -0,0 +1,36 @@ + + + + + + All Rules | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

All Rules

Base Rules (Enabling Correct ESLint Parsing)

Enable this plugin using with:

json
{
+  "extends": "plugin:lodash-template/base"
+}
Rule IDDescription
lodash-template/no-script-parsing-errordisallow parsing errors in template

Best Practices (Improve Development Experience)

Enforce all the rules in this category with:

json
{
+  "extends": "plugin:lodash-template/best-practices"
+}
Rule IDDescription
lodash-template/no-empty-template-tagdisallow empty micro-template tag. (ex. 🆖 <% %>)
lodash-template/no-invalid-template-interpolationdisallow other than expression in micro-template interpolation. (ex. 🆖 <%= if (test) { %>)
lodash-template/no-semi-in-template-interpolationdisallow the semicolon at the end of expression in micro template interpolation.(ex. 🆗 <%= text %> 🆖 <%= text; %>)🔧

Enforce all the rules in this category and all the rules in Best Practices categories with:

json
{
+  "extends": "plugin:lodash-template/recommended"
+}
Rule IDDescription
lodash-template/no-irregular-whitespacedisallow irregular whitespace outside the template tags.🔧
lodash-template/no-multi-spaces-in-scriptletdisallow multiple spaces in scriptlet. (ex. 🆖 <% if···(test)···{ %>)🔧
lodash-template/scriptlet-indentenforce consistent indentation to scriptlet in micro-template tag.🔧
lodash-template/template-tag-spacingenforce unified spacing in micro-template tag. (ex. 🆗 <%= prop %>, 🆖 <%=prop%>)🔧

Enforce all the rules in this category and all the rules in Best Practices/Recommended categories with:

json
{
+  "extends": "plugin:lodash-template/recommended-with-html"
+}
Rule IDDescription
lodash-template/attribute-name-casingenforce HTML attribute name casing. (ex. 🆗 <div foo-bar> 🆖 <div fooBar> <div FOO-BAR>)🔧
lodash-template/attribute-value-quoteenforce quotes style of HTML attributes. (ex. 🆗 <div class="abc"> 🆖 <div class='abc'> <div class=abc>)🔧
lodash-template/element-name-casingenforce HTML element name casing. (ex. 🆗 <xxx-element> 🆖 <xxxElement> <DIV>)🔧
lodash-template/html-closing-bracket-newlinerequire or disallow a line break before tag's closing brackets🔧
lodash-template/html-closing-bracket-spacingrequire or disallow a space before tag's closing brackets. (ex. 🆗 <input> <input·/> 🆖 <input·> <input/>)🔧
lodash-template/html-comment-content-newlinerequire or disallow a line break before and after HTML comment contents🔧
lodash-template/html-comment-spacingenforce unified spacing in HTML comment. (ex. 🆗 <!-- comment -->, 🆖 <!--comment-->)🔧
lodash-template/html-content-newlinerequire or disallow a line break before and after HTML contents🔧
lodash-template/html-indentenforce consistent HTML indentation.🔧
lodash-template/max-attributes-per-lineenforce the maximum number of HTML attributes per line🔧
lodash-template/no-duplicate-attributesdisallow duplication of HTML attributes. (ex. 🆖 <div foo foo>)
lodash-template/no-html-commentsdisallow HTML comments. (ex. 🆖 <!-- comment -->)
lodash-template/no-multi-spaces-in-html-tagdisallow multiple spaces in HTML tags. (ex. 🆖 <input···type="text">)🔧
lodash-template/no-space-attribute-equal-signdisallow spacing around equal signs in attribute. (ex. 🆗 <div class="item"> 🆖 <div class = "item">)🔧
lodash-template/no-warning-html-commentsdisallow specified warning terms in HTML comments. (ex. 🆖 <!-- TODO:task -->)

Uncategorized

No preset enables the rules in this category. Please enable each rule if you want.

For example:

json
{
+  "rules": {
+    "lodash-template/no-template-tag-in-start-tag": "error"
+  }
+}
Rule IDDescription
lodash-template/no-template-tag-in-start-tagdisallow template tag in start tag outside attribute values. (ex. 🆖 <input <%= 'disabled' %> >)
lodash-template/prefer-escape-template-interpolationsprefer escape micro-template interpolations. (ex. 🆗 <%- ... %>, 🆖 <%= ... %>)
+ + + + \ No newline at end of file diff --git a/rules/max-attributes-per-line.html b/rules/max-attributes-per-line.html new file mode 100644 index 00000000..b1c490ce --- /dev/null +++ b/rules/max-attributes-per-line.html @@ -0,0 +1,99 @@ + + + + + + lodash-template/max-attributes-per-line | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/max-attributes-per-line

enforce the maximum number of HTML attributes per line

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

Limits the maximum number of attributes/properties per line to improve readability.

This rule aims to enforce a number of attributes per line in HTML. It checks all the elements and verifies that the number of attributes per line does not exceed the defined maximum. An attribute is considered to be in a new line when there is a line break between two attributes.

html
<% /* eslint "lodash-template/max-attributes-per-line": "error" */ %>
+<!-- ✓ GOOD -->
+<input foo="1">
+
+<input
+  foo="1"
+  bar="2"
+>
+
+<input
+  foo="1"
+  bar="2"
+  baz="3"
+>
+
+<!-- ✗ BAD -->
+<input foo="1" 
bar="2"
>
+ +<input + foo="1"
bar="2"
+> + +<input + foo="1"
bar="2"
+ baz="3" +>

Options

json
{
+  "lodash-template/max-attributes-per-line": ["error", {
+    "singleline": 1,
+    "multiline": {
+      "max": 1,
+      "allowFirstLine": false
+    }
+  }]
+}

allowFirstLine

For multi-line declarations, defines if allows attributes to be put in the first line. (Default false)

html
<% /* eslint
+  lodash-template/max-attributes-per-line: ["error", {
+    "multiline": {
+      "allowFirstLine": false
+    }
+  }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input
+  foo="1"
+  bar="2"
+>
+
+<!-- ✗ BAD -->
+<input 
foo="1"
+ bar="2" +>

singleline

Number of maximum attributes per line when the opening tag is in a single line. (Default is 1)

html
<% /* eslint
+  lodash-template/max-attributes-per-line: ["error", {
+    "singleline": 1
+  }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input foo="1">
+
+<!-- ✗ BAD -->
+<input foo="1" 
bar="2"
>

multiline

Number of maximum attributes per line when a tag is in multiple lines. (Default is 1)

html
<% /* eslint
+  lodash-template/max-attributes-per-line: ["error", {
+    "multiline": 1
+  }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input
+  foo="1"
+  bar="2"
+>
+
+<!-- ✗ BAD -->
+<input
+  foo="1" 
bar="2"
+>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-duplicate-attributes.html b/rules/no-duplicate-attributes.html new file mode 100644 index 00000000..0cfa6b68 --- /dev/null +++ b/rules/no-duplicate-attributes.html @@ -0,0 +1,34 @@ + + + + + + lodash-template/no-duplicate-attributes | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-duplicate-attributes

disallow duplication of HTML attributes. (ex. 🆖 <div foo foo>)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".

Rule Details

This rule reports duplicate attributes.

When duplicate arguments exist, only the last one is valid. It's possibly mistakes.

html
<% /* eslint "lodash-template/no-duplicate-attributes": "error" */ %>
+<!-- ✓ GOOD -->
+<div
+  foo="abc"
+></div>
+
+<!-- ✗ BAD -->
+<div
+  
foo="abc"
+
foo="def"
+></div>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-empty-template-tag.html b/rules/no-empty-template-tag.html new file mode 100644 index 00000000..5d3856ac --- /dev/null +++ b/rules/no-empty-template-tag.html @@ -0,0 +1,31 @@ + + + + + + lodash-template/no-empty-template-tag | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-empty-template-tag

disallow empty micro-template tag. (ex. 🆖 <% %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".

Rule Details

This rule reports empty micro-template interpolate/evaluate.

html
<% /* eslint "lodash-template/no-empty-template-tag": "error" */ %>
+<!-- ✓ GOOD -->
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+<div>
<% %>
</div>
+<div>
<%
+%></div>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-html-comments.html b/rules/no-html-comments.html new file mode 100644 index 00000000..b9a71736 --- /dev/null +++ b/rules/no-html-comments.html @@ -0,0 +1,27 @@ + + + + + + lodash-template/no-html-comments | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-html-comments

disallow HTML comments. (ex. 🆖 <!-- comment -->)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".

Rule Details

This rule reports HTML comments.

html
<% /* eslint "lodash-template/no-html-comments": "error" */ %>
+<% /* ✓ GOOD */ %>
+
+
<!-- ✗ BAD -->

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-invalid-template-interpolation.html b/rules/no-invalid-template-interpolation.html new file mode 100644 index 00000000..ca6b5c6b --- /dev/null +++ b/rules/no-invalid-template-interpolation.html @@ -0,0 +1,37 @@ + + + + + + lodash-template/no-invalid-template-interpolation | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-invalid-template-interpolation

disallow other than expression in micro-template interpolation. (ex. 🆖 <%= if (test) { %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".

Rule Details

This rule disallow other than expression in micro-template interpolation.

html
<% /* eslint "lodash-template/no-invalid-template-interpolation": "error" */ %>
+<!-- ✓ GOOD -->
+<% if (a) { %>
+  <div></div>
+<% } %>
+
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+
<%= if (a) { %>
+ <div></div> +<% } %> + +<div>
<%= /**/ %>
</div>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-irregular-whitespace.html b/rules/no-irregular-whitespace.html new file mode 100644 index 00000000..ab4e03cb --- /dev/null +++ b/rules/no-irregular-whitespace.html @@ -0,0 +1,37 @@ + + + + + + lodash-template/no-irregular-whitespace | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-irregular-whitespace

disallow irregular whitespace outside the template tags.

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule disallows the irregular whitespaces.

html
<% /* eslint "lodash-template/no-irregular-whitespace": "error" */ %>
+<!-- ✓ GOOD -->
+<div id="item-id" class="item-content">
+</div >
+
+<!-- ✗ BAD -->
+<div
 
id="item-id"
 
class="item-content">
+</div
 
>

Options

json
{
+  "lodash-template/no-irregular-whitespace": ["error", {
+    "skipComments": false,
+    "skipAttrValues": false,
+    "skipText": false
+  }]
+}

This rule has an object option for exceptions:

  • "skipComments": true allows any whitespace characters in HTML comments
  • "skipAttrValues": true allows any whitespace characters in HTML attribute values
  • "skipText": true allows any whitespace characters in HTML texts

Further Reading

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-multi-spaces-in-html-tag.html b/rules/no-multi-spaces-in-html-tag.html new file mode 100644 index 00000000..e53fa878 --- /dev/null +++ b/rules/no-multi-spaces-in-html-tag.html @@ -0,0 +1,35 @@ + + + + + + lodash-template/no-multi-spaces-in-html-tag | eslint-plugin-lodash-template + `)"> + + + + + + + + + + + + +
Skip to content

lodash-template/no-multi-spaces-in-html-tag

disallow multiple spaces in HTML tags. (ex. 🆖 <input···type="text">)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to disallow multiple whitespace in a between attributes which are not used for indentation.

html
<% /* eslint "lodash-template/no-multi-spaces-in-html-tag": "error" */ %>
+<!-- ✓ GOOD -->
+<input
+  class="foo"
+  type="text"
+>
+
+<input class="foo" type="text">
+
+<!-- ✗ BAD -->
+<input
class="foo"
+ type="text"
>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-multi-spaces-in-scriptlet.html b/rules/no-multi-spaces-in-scriptlet.html new file mode 100644 index 00000000..44cc9838 --- /dev/null +++ b/rules/no-multi-spaces-in-scriptlet.html @@ -0,0 +1,49 @@ + + + + + + lodash-template/no-multi-spaces-in-scriptlet | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-multi-spaces-in-scriptlet

disallow multiple spaces in scriptlet. (ex. 🆖 <% if···(test)···{ %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to disallow multiple whitespace in script which are not used for indentation.

html
<% /* eslint "lodash-template/no-multi-spaces-in-scriptlet": "error" */ %>
+<!-- ✓ GOOD -->
+<%
+var a = 1;
+
+if(foo === "bar") {}
+
+a << b
+
+var arr = [1, 2];
+
+a ? b: c
+%>
+
+<!-- ✗ BAD -->
+<%
+var a =
1;
+ +if(foo
=== "bar") {}
+ +a <<
b
+ +var arr = [1,
2];
+ +a ?
b: c
+%>

Further Reading

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-script-parsing-error.html b/rules/no-script-parsing-error.html new file mode 100644 index 00000000..0a5a6894 --- /dev/null +++ b/rules/no-script-parsing-error.html @@ -0,0 +1,35 @@ + + + + + + lodash-template/no-script-parsing-error | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-script-parsing-error

disallow parsing errors in template

  • ⚙️ This rule is included in all of "plugin:lodash-template/base", "plugin:lodash-template/all", "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/recommended-with-script".

Rule Details

This rule reports syntax errors in JavaScript template.
This rule works when verification of "JavaScript Templates" is enabled.

js
/* eslint "lodash-template/no-script-parsing-error": "error" */
+/* ✓ GOOD */
+<% if (a) { %>
+  const a = 'ABC'
+<% } else { %>
+  const a = 'DEF'
+<% } %>
js
/* eslint "lodash-template/no-script-parsing-error": "error" */
+/* ✗ BAD */
+<% if (a) { %>
+  const a = 'ABC'
+<% } %>
+const 
a
= 'DEF'

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-semi-in-template-interpolation.html b/rules/no-semi-in-template-interpolation.html new file mode 100644 index 00000000..848023a6 --- /dev/null +++ b/rules/no-semi-in-template-interpolation.html @@ -0,0 +1,29 @@ + + + + + + lodash-template/no-semi-in-template-interpolation | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-semi-in-template-interpolation

disallow the semicolon at the end of expression in micro template interpolation.(ex. 🆗 <%= text %> 🆖 <%= text; %>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule disallow the semicolon at the end of expression in micro template interpolation.

html
<% /* eslint "lodash-template/no-semi-in-template-interpolation": "error" */ %>
+<!-- ✓ GOOD -->
+<%= text %>
+
+<!-- ✗ BAD -->
+<%= text
;
%>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-space-attribute-equal-sign.html b/rules/no-space-attribute-equal-sign.html new file mode 100644 index 00000000..ef2a6e05 --- /dev/null +++ b/rules/no-space-attribute-equal-sign.html @@ -0,0 +1,29 @@ + + + + + + lodash-template/no-space-attribute-equal-sign | eslint-plugin-lodash-template + ` :ng: `
`)"> + + + + + + + + + + + + +
Skip to content

lodash-template/no-space-attribute-equal-sign

disallow spacing around equal signs in attribute. (ex. 🆗 <div class="item"> 🆖 <div class = "item">)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule disallow spacing around equal signs in attribute.

HTML5 allows spaces around equal signs. But space-less is easier to read, and groups entities better together.

html
<% /* eslint "lodash-template/no-space-attribute-equal-sign": "error" */ %>
+<!-- ✓ GOOD -->
+<input class="item">
+
+<!-- ✗ BAD -->
+<input class 
=
"item">

Further Reading

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-template-tag-in-start-tag.html b/rules/no-template-tag-in-start-tag.html new file mode 100644 index 00000000..7412c66c --- /dev/null +++ b/rules/no-template-tag-in-start-tag.html @@ -0,0 +1,50 @@ + + + + + + lodash-template/no-template-tag-in-start-tag | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-template-tag-in-start-tag

disallow template tag in start tag outside attribute values. (ex. 🆖 <input <%= 'disabled' %> >)

  • ⚙️ This rule is included in "plugin:lodash-template/all".

Rule Details

This rule reports the template tag that is in the start tag, outside attribute values.

html
<% /* eslint "lodash-template/no-template-tag-in-start-tag": "error" */ %>
+<!-- ✓ GOOD -->
+<input disabled >
+
+<input class="<%= hidden ? 'hidden' : '' %>" >
+
+<!-- ✗ BAD -->
+<input 
<%= 'disabled' %>
>
+ +<input
<%= disabled ? 'disabled' : '' %>
>
+ +<input +
<% if (disabled) { %>
+ disabled +
<% } %>
+>

Options

json
{
+  "lodash-template/no-template-tag-in-start-tag": ["error", {
+    "arrowEvaluateTag": false,
+  }]
+}

Examples for this rule with {arrowEvaluateTag: true} option:

html
<% /* eslint "lodash-template/no-template-tag-in-start-tag": ["error", {"arrowEvaluateTag": true}] */ %>
+<!-- ✓ GOOD -->
+<input disabled >
+<input
+  <% if (disabled) { %>
+  disabled
+  <% } %>
+>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/no-warning-html-comments.html b/rules/no-warning-html-comments.html new file mode 100644 index 00000000..f46f7dfc --- /dev/null +++ b/rules/no-warning-html-comments.html @@ -0,0 +1,25 @@ + + + + + + lodash-template/no-warning-html-comments | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/no-warning-html-comments

disallow specified warning terms in HTML comments. (ex. 🆖 <!-- TODO:task -->)

  • ⚙️ This rule is included in "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/all".

Rule Details

This rule reports HTML comments that include any of the predefined terms specified in its configuration.

html
<% /* eslint "lodash-template/no-warning-html-comments": "error" */ %>
+
<!-- TODO -->

Implementation

+ + + + \ No newline at end of file diff --git a/rules/prefer-escape-template-interpolations.html b/rules/prefer-escape-template-interpolations.html new file mode 100644 index 00000000..ccebe17a --- /dev/null +++ b/rules/prefer-escape-template-interpolations.html @@ -0,0 +1,30 @@ + + + + + + lodash-template/prefer-escape-template-interpolations | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/prefer-escape-template-interpolations

prefer escape micro-template interpolations. (ex. 🆗 <%- ... %>, 🆖 <%= ... %>)

  • ⚙️ This rule is included in "plugin:lodash-template/all".

Rule Details

This rule reports no escape micro-template interpolates.

html
<% /* eslint "lodash-template/prefer-escape-template-interpolations": "error" */ %>
+<!-- ✓ GOOD -->
+<div><%- text %></div>
+<div><% print(html) %></div>
+
+<!-- ✗ BAD -->
+<div>
<%= text %>
</div>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/scriptlet-indent.html b/rules/scriptlet-indent.html new file mode 100644 index 00000000..a464d902 --- /dev/null +++ b/rules/scriptlet-indent.html @@ -0,0 +1,62 @@ + + + + + + lodash-template/scriptlet-indent | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/scriptlet-indent

enforce consistent indentation to scriptlet in micro-template tag.

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule enforces a consistent indentation style to script in micro-template tag. The default style is 2 spaces.

html
<% /* eslint "lodash-template/scriptlet-indent": "error" */ %>
+<!-- ✓ GOOD -->
+<% for (
+    let i = 0;
+    i < arr.length;
+    i++
+  ) { %>
+  <div class="<%= arr[i] %>"></div>
+<% } %>
+
+<!-- ✗ BAD -->
+<% for (
+
let i = 0;
+ i < arr.length; +
i++
+
) { %>
+ <div class="<%= arr[i] %>"></div> +<% } %>

Options

json
{
+  "lodash-template/scriptlet-indent": ["error", type, {
+    "startIndent": 1,
+    "switchCase": 0
+  }]
+}
  • type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
  • startIndent (integer) ... The multiplier of indentation for top-level statements in micro-template tag. Default is 1.
  • switchCase (integer) ... The multiplier of indentation for case/default clauses. Default is 0.

Examples for this rule with {startIndent: 0}:

html
<% /* eslint "lodash-template/scriptlet-indent": ["error", 2, {"startIndent": 0}] */ %>
+<!-- ✓ GOOD -->
+<% for (
+  let i = 0;
+  i < arr.length;
+  i++
+) { %>
+  <div class="<%= arr[i] %>"></div>
+<% } %>

Examples for this rule with {startIndent: 2}:

html
<% /* eslint "lodash-template/scriptlet-indent": ["error", 2, {"startIndent": 2}] */ %>
+<!-- ✓ GOOD -->
+<% for (
+      let i = 0;
+      i < arr.length;
+      i++
+    ) { %>
+  <div class="<%= arr[i] %>"></div>
+<% } %>

Implementation

+ + + + \ No newline at end of file diff --git a/rules/template-tag-spacing.html b/rules/template-tag-spacing.html new file mode 100644 index 00000000..acd61175 --- /dev/null +++ b/rules/template-tag-spacing.html @@ -0,0 +1,44 @@ + + + + + + lodash-template/template-tag-spacing | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

lodash-template/template-tag-spacing

enforce unified spacing in micro-template tag. (ex. 🆗 <%= prop %>, 🆖 <%=prop%>)

  • ⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
  • 🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.

Rule Details

This rule aims to enforce unified spacing in micro-template interpolate/evaluate.

html
<% /* eslint "lodash-template/template-tag-spacing": "error" */ %>
+<!-- ✓ GOOD -->
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+<div>
<%=
text
%>
</div>
+<div>
<%=
text
%>
</div>

Options

Default spacing is set to always

json
{
+  "lodash-template/micro-template-interpolation-spacing": ["error", "always" | "never"]
+}

"always" - Expect one space between expression and curly brackets.

html
<% /* eslint "lodash-template/template-tag-spacing": ["error", "always"] */ %>
+<!-- ✓ GOOD -->
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+<div>
<%=
text
%>
</div>
+<div>
<%=
text
%>
</div>

"never" - Expect no spaces between expression and curly brackets.

html
<%/* eslint "lodash-template/template-tag-spacing": ["error", "never"] */%>
+<!-- ✓ GOOD -->
+<div><%=text%></div>
+
+<!-- ✗ BAD -->
+<div>
<%=
text
%>
</div>
+<div>
<%=
text
%>
</div>

Implementation

+ + + + \ No newline at end of file diff --git a/service-worker.js b/service-worker.js new file mode 100644 index 00000000..9f78ca85 --- /dev/null +++ b/service-worker.js @@ -0,0 +1,13 @@ +// https://github.com/NekR/self-destroying-sw +self.addEventListener("install", (_e) => { + self.skipWaiting(); +}); + +self.addEventListener("activate", (_e) => { + self.registration + .unregister() + .then(() => self.clients.matchAll()) + .then((clients) => { + for (const client of clients) client.navigate(client.url); + }); +}); diff --git a/services/ast-for-html.html b/services/ast-for-html.html new file mode 100644 index 00000000..2efbd30c --- /dev/null +++ b/services/ast-for-html.html @@ -0,0 +1,91 @@ + + + + + + AST for HTML | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

AST for HTML

You can use the type definition of this AST:

ts

+export function create(context) {
+    const microTemplateService = sourceCode.parserServices.getMicroTemplateService()
+    return {
+        "Program:exit"() {
+            microTemplateService.traverseDocumentNodes({
+                HTMLElement(node: HTMLElement): void {
+                    // ...
+                },
+                HTMLText(node: HTMLText): void {
+                    // ...
+                },
+                HTMLComment(node: HTMLComment): void {
+                    // ...
+                },
+            })
+        },
+    }
+}

See details: https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/ast/html-nodes.js

HTMLToken

ts
extend interface HTMLToken {
+    range: [ number ],
+    htmlValue: string,
+    value: string,
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

HTMLNode

ts
extend interface HTMLNode {
+    range: [ number ]
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

HTMLDocument

ts
interface HTMLDocument <: HTMLNode {
+    type: "HTMLDocument",
+    children: [ HTMLElement | HTMLText | HTMLComment ]
+}
  • This is a HTML Document.

HTMLDocumentFragment

ts
interface HTMLDocumentFragment <: HTMLNode  {
+    type: "HTMLDocumentFragment",
+    children: [ HTMLElement | HTMLText | HTMLComment ]
+}
  • This is a HTML DocumentFragment.

HTMLDocumentType

ts
interface HTMLDocumentType <: HTMLNode  {
+    type: "HTMLDocumentType",
+    name: string,
+    publicId: string,
+    systemId: string
+}
  • This is a HTML Document Type.

HTMLComment

ts
interface HTMLComment <: HTMLNode  {
+    type: "HTMLComment",
+    value: string,
+    commentOpen: HTMLToken | null,
+    commentClose: HTMLToken | null,
+}
  • This is a HTML comment node.

HTMLText

ts
interface HTMLText <: HTMLNode  {
+    type: "HTMLText",
+    value: string
+}
  • This is a HTML text node.

HTMLElement

ts
interface HTMLElement <: HTMLNode  {
+    type: "HTMLElement",
+    name: string,
+    children: [ HTMLElement | HTMLText | HTMLComment ]
+    startTag: HTMLStartTag | null,
+    endTag: HTMLEndTag | null
+}
  • This is a HTML element node.

HTMLStartTag

ts
interface HTMLStartTag <: HTMLNode  {
+    type: "HTMLStartTag",
+    attributes: [ HTMLAttribute ],
+    tagOpen: HTMLToken,
+    tagClose: HTMLToken,
+    selfClosing: boolean,
+    ignoredAttributes: [ HTMLAttribute ],
+}
  • This is a HTML element start tag.

HTMLAttribute

ts
interface HTMLAttribute <: HTMLNode  {
+    type: "HTMLAttribute",
+    key: string,
+    vakue: string,
+    keyToken: HTMLToken,
+    eqToken: HTMLToken | null,
+    valueToken: HTMLToken | null,
+}
  • This is a HTML attribute.

HTMLEndTag

ts
interface HTMLEndTag <: HTMLNode  {
+    type: "HTMLEndTag",
+    tagOpen: HTMLToken,
+    tagClose: HTMLToken,
+}
  • This is a HTML element end tag.
+ + + + \ No newline at end of file diff --git a/services/ast-for-template-tag.html b/services/ast-for-template-tag.html new file mode 100644 index 00000000..b26149e9 --- /dev/null +++ b/services/ast-for-template-tag.html @@ -0,0 +1,67 @@ + + + + + + AST for <%= templateTag %> | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

AST for <%= templateTag %>

You can use the type definition of this AST:

ts

+export function create(context) {
+    const microTemplateService = sourceCode.parserServices.getMicroTemplateService()
+    return {
+        "Program:exit"() {
+            microTemplateService.traverseMicroTemplates({
+                MicroTemplateEvaluate(node: MicroTemplateEvaluate): void {
+                    // ...
+                },
+                MicroTemplateInterpolate(node: MicroTemplateInterpolate): void {
+                    // ...
+                },
+                MicroTemplateEscape(node: MicroTemplateEscape): void {
+                    // ...
+                },
+            })
+        },
+    }
+}

See details: https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/ast/micro-template-nodes.js

Token

ts
extend interface Token {
+    range: [ number ]
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

Node

ts
extend interface Node {
+    range: [ number ]
+}
  • The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.

MicroTemplateEvaluate

ts
interface MicroTemplateEvaluate <: Node {
+    type: "MicroTemplateEvaluate",
+    expressionStart: MicroTemplateExpressionStart,
+    expressionEnd: MicroTemplateExpressionEnd,
+    code: string
+}
  • This is a template tag that is evaluated as script.
  • The start tag information is stored in the expressionStart property.
  • The end tag information is stored in the expressionEnd property.

MicroTemplateInterpolate

ts
interface MicroTemplateInterpolate <: Node  {
+    type: "MicroTemplateInterpolate",
+    expressionStart: MicroTemplateExpressionStart,
+    expressionEnd: MicroTemplateExpressionEnd,
+    code: string
+}
  • This is a template tag that is interpolate as template.
  • The start tag information is stored in the expressionStart property.
  • The end tag information is stored in the expressionEnd property.

MicroTemplateEscape

ts
interface MicroTemplateInterpolate <: Node  {
+    type: "MicroTemplateEscape",
+    expressionStart: MicroTemplateExpressionStart,
+    expressionEnd: MicroTemplateExpressionEnd,
+    code: string
+}
  • This is a template tag that is escapes to interpolate as template.
  • The start tag information is stored in the expressionStart property.
  • The end tag information is stored in the expressionEnd property.

MicroTemplateExpressionStart

ts
interface MicroTemplateExpressionStart <: Token  {
+    type: "MicroTemplateExpressionStart",
+    chars: string
+}
  • This is the start tag of the template tag.
  • The delimiter string is stored in the chars property.

MicroTemplateExpressionEnd

ts
interface MicroTemplateExpressionEnd <: Token  {
+    type: "MicroTemplateExpressionEnd",
+    chars: string
+}
  • This is the end tag of the template tag.
  • The delimiter string is stored in the chars property.
+ + + + \ No newline at end of file diff --git a/services/index.html b/services/index.html new file mode 100644 index 00000000..be85ec06 --- /dev/null +++ b/services/index.html @@ -0,0 +1,24 @@ + + + + + + Contributing | eslint-plugin-lodash-template + + + + + + + + + + + + + +
Skip to content

Contributing

MicroTemplateService

This plugin's parser provides MicroTemplateService from parserServices. MicroTemplateServic can be get with sourceCode.parserServices.getMicroTemplateService().

Traverse MicroTemplates

Traverse HTML

+ + + + \ No newline at end of file