module.exports=[514059,a=>{"use strict";function b(a,b,c){return{triggerCharacters:["{"],provideCompletionItems(d,e){let f=d.getLineContent(e.lineNumber).substring(0,e.column-1);if(!f.endsWith("{{")&&!f.match(/\{\{[\w.]*$/))return{suggestions:[]};let g=f.match(/\{\{([\w.]*)$/),h=g?e.column-g[1].length:e.column,i={startLineNumber:e.lineNumber,startColumn:h,endLineNumber:e.lineNumber,endColumn:e.column};return{suggestions:(c?b.filter(a=>0===a.executor_types.length||a.executor_types.includes(c)):b).map((b,c)=>({label:{label:`{{${b.key}}}`,description:b.description},kind:a.languages.CompletionItemKind.Variable,detail:b.description,documentation:b.example?`Example: ${b.example}`:void 0,insertText:`${b.key}}}`,range:i,sortText:String(c).padStart(3,"0")}))}}}}a.s(["createPlaceholderCompletionProvider",()=>b])}];

//# sourceMappingURL=web_components_settings_profile-edit_script-editor-completions_ts_394f43b7._.js.map