import{i as l}from"./index-B-vFg-u2.js";function p(r,i){for(var e=0;e<i.length;e++){const n=i[e];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in r)){const t=Object.getOwnPropertyDescriptor(n,s);t&&Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a={};var o;function f(){if(o)return a;o=1;var r=r||{};function i(e){return{aliases:["rpm","spec","rpm-spec","specfile"],contains:[e.COMMENT("%dnl"),e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"type",begin:/^(Name|BuildRequires|Version|Release|Epoch|Summary|Group|License|Packager|Vendor|Icon|URL|Distribution|Prefix|Patch[0-9]*|Source[0-9]*|Requires\(?[a-z]*\)?|[a-z]+Req|Obsoletes|Recommends|Suggests|Supplements|Enhances|Provides|Conflicts|RemovePathPostfixes|Build[a-z]+|[a-z]+Arch|Auto[a-z]+)(:)/},{className:"keyword",begin:/(%)(?:package|prep|generate_buildrequires|sourcelist|patchlist|build|description|install|verifyscript|clean|changelog|check|pre[a-z]*|post[a-z]*|trigger[a-z]*|files)/},{className:"link",begin:/(%)(if|ifarch|ifnarch|ifos|ifnos|elif|elifarch|elifos|else|endif)/},{className:"link",begin:/%\{_/,end:/}/},{className:"symbol",begin:/%\{\?/,end:/}/},{className:"link font-weight-bold",begin:/%\{/,end:/}/},{className:"link font-weight-bold",begin:/%/,end:/[ \t\n]/},{className:"symbol font-weight-bold",begin:/^\* (Mon|Tue|Wed|Thu|Fri|Sat|Sun)/,end:/$/}]}}r.exports=function(e){e.registerLanguage("rpm-specfile",i)},r.exports.definer=i;return a}var c=f();const u=l(c),g=p({__proto__:null,default:u},[c]);export{g as r};
