(self.webpackChunk_name_=self.webpackChunk_name_||[]).push([["mode/rpm"],{3189:(e,r,t)=>{!function(e){"use strict";e.defineMode("rpm-changes",(function(){var e=/^-+$/,r=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)  ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,t=/^[\w+.-]+@[\w.-]+/;return{token:function(n){if(n.sol()){if(n.match(e))return"tag";if(n.match(r))return"tag"}return n.match(t)?"string":(n.next(),null)}}})),e.defineMIME("text/x-rpm-changes","rpm-changes"),e.defineMode("rpm-spec",(function(){var e=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,r=/^[a-zA-Z0-9()]+:/,t=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,n=/^%(ifnarch|ifarch|if)/,a=/^%(else|endif)/,c=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(i,o){if("#"==i.peek())return i.skipToEnd(),"comment";if(i.sol()){if(i.match(r))return"header";if(i.match(t))return"atom"}if(i.match(/^\$\w+/))return"def";if(i.match(/^\$\{\w+\}/))return"def";if(i.match(a))return"keyword";if(i.match(n))return o.controlFlow=!0,"keyword";if(o.controlFlow){if(i.match(c))return"operator";if(i.match(/^(\d+)/))return"number";i.eol()&&(o.controlFlow=!1)}if(i.match(e))return i.eol()&&(o.controlFlow=!1),"number";if(i.match(/^%[\w]+/))return i.match("(")&&(o.macroParameters=!0),"keyword";if(o.macroParameters){if(i.match(/^\d+/))return"number";if(i.match(")"))return o.macroParameters=!1,"keyword"}return i.match(/^%\{\??[\w \-\:\!]+\}/)?(i.eol()&&(o.controlFlow=!1),"def"):(i.next(),null)}}})),e.defineMIME("text/x-rpm-spec","rpm-spec")}(t(7750))}}]);
//# sourceMappingURL=rpm.js.map