import{p as n}from"./vendor-lezer-sass-C6Jy1LV-.js";import{L as s,c as i,f as t,d as a,k as m,e as p}from"./cm-language-CDsY7zq0.js";import{defineCSSCompletionSource as d}from"./cm-lang-css-NVaY7c0M.js";import"./vendor-lezer-lr-eZ5kYecM.js";import"./vendor-lezer-common-tVQBIsvN.js";import"./vendor-lezer-highlight-DuEf3ZFH.js";import"./cm-state-X9WpHEQO.js";import"./vendor-marijn-find-cluster-break-DXwl3gUT.js";import"./cm-view-CiSFjroV.js";import"./vendor-style-mod-Bs6eFhZE.js";import"./vendor-w3c-keyname-Vcq4gwWv.js";import"./vendor-crelt-C8TCjufn.js";import"./vendor-lezer-css-BMlSRxbI.js";const e=s.define({name:"sass",parser:n.configure({props:[t.add({Block:m,Comment(o,r){return{from:o.from+2,to:r.sliceDoc(o.to-2,o.to)=="*/"?o.to-2:o.to}}}),a.add({Declaration:p()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),l=e.configure({dialect:"indented",props:[a.add({"Block RuleSet":o=>o.baseIndent+o.unit}),t.add({Block:o=>({from:o.from,to:o.to})})]}),u=d(o=>o.name=="VariableName"||o.name=="SassVariableName");function w(o){return new i(o?.indented?l:e,e.data.of({autocomplete:u}))}export{w as sass,u as sassCompletionSource,e as sassLanguage};
