
    |e                     6   d Z ddlZddlmZmZmZmZmZmZm	Z	m
Z
mZmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddlmZ ddlmZ g dZ d ejB                  dd	d
ddd      z   dz   Z"d ejB                  dd	d
ddddddd
      z   dz   Z#e"dz   e#z   dz   Z$ G d de
      Z% G d de%      Z& G d de
      Z' G d de
      Z( G d d e
      Z) G d! d"e
      Z* G d# d$e
      Z+ G d% d&e
      Z, G d' d(e
      Z- G d) d*e
      Z. G d+ d,e
      Z/ G d- d.e	      Z0y)/z
    pygments.lexers.javascript
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for JavaScript and related languages.

    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
    N)bygroupscombineddefaultdo_insertionsincludeinheritLexer
RegexLexerthisusingwordsline_re)TextCommentOperatorKeywordNameStringNumberPunctuationOtherGeneric
Whitespace)get_bool_opt)JavascriptLexerKalLexerLiveScriptLexer	DartLexerTypeScriptLexer
LassoLexerObjectiveJLexerCoffeeScriptLexer	MaskLexerEarlGreyLexerJuttleLexerNodeConsoleLexerz(?:[$_LuLlLtLmLoNlz]|\\u[a-fA-F0-9]{4})z(?:[$MnMcNdPcu   ‌‍]|\\u[a-fA-F0-9]{4})z(?:z)*c                      e Zd ZdZdZdZddgZg dZg dZe	j                  e	j                  z  Zdefd	efd
ej                  fdej                   fg ed      dej&                  dfdedf ed      gdedfgdej,                  fdedf ed      dej0                  fdej2                  fdej4                  fdej6                  fdej8                  fdefdedfdedfdefdej>                  dfde jB                  fd e dfd!e jD                  dfd"e jB                  fd#e jF                  fd$e$jJ                  fd%e$jL                  fd& e'e e      dfd'e$jP                  dfe)e$jP                  fd(ejT                  fd)ej                  fd*ejV                  d+fgd*ejV                  dfd,ejV                  fd-ejX                  d.fd/ejV                  fd0ejV                  fgd1ejX                  df ed2      gd3Z-y4)5r   z%
    For JavaScript source code.
    
JavaScriptzQhttps://www.ecma-international.org/publications-and-standards/standards/ecma-262/
javascriptjs)z*.jsz*.jsmz*.mjsz*.cjs)zapplication/javascriptzapplication/x-javascriptztext/x-javascriptztext/javascript\s+<!--z//.*?$	/\*.*?\*/commentsandwhitespace7/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)#pop(?=/)r:   badregex\nz\A#! ?/.*?$^(?=\s|/|<!--)slashstartsregexz0[bB][01]+n?z0[oO]?[0-7]+n?z0[xX][0-9a-fA-F]+n?z[0-9]+nz2(\.[0-9]+|[0-9]+\.[0-9]*|[0-9]+)([eE][-+]?[0-9]+)?z	\.\.\.|=>zP\+\+|--|~|\?\?=?|\?|:|\\(?=\n)|(<<|>>>?|==?|!=?|(?:\*\*|\|\||&&|[-<>+*%&|^/]))=?[{(\[;,][})\].]z((typeof|instanceof|in|void|delete|new)\bz\b(constructor|from|as)\bz(for|in|while|do|break|return|continue|switch|case|default|if|else|throw|try|catch|finally|yield|await|async|this|of|static|export|import|debugger|extends|super)\bz%(var|let|const|with|function|class)\bz(abstract|boolean|byte|char|double|enum|final|float|goto|implements|int|interface|long|native|package|private|protected|public|short|synchronized|throws|transient|volatile)\b*(true|false|null|NaN|Infinity|undefined)\ba  (Array|Boolean|Date|BigInt|Function|Math|ArrayBuffer|Number|Object|RegExp|String|Promise|Proxy|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|DataView|document|window|globalThis|global|Symbol|Intl|WeakSet|WeakMap|Set|Map|Reflect|JSON|Atomics|Int(?:8|16|32)Array|BigInt64Array|Float32Array|Float64Array|Uint8ClampedArray|Uint(?:8|16|32)Array|BigUint64Array)\bz;((?:Eval|Internal|Range|Reference|Syntax|Type|URI)?Error)\bz (super)(\s*)(\([\w,?.$\s]+\s*\))z!([a-zA-Z_?.$][\w?.$]*)(?=\(\) \{)"(\\\\|\\[^\\]|[^"\\])*"'(\\\\|\\[^\\]|[^'\\])*'`interp\\.z\$\{interp-insidez\$z[^`\\$]+\}root)r8   r@   r=   rK   rG   rI   N).__name__
__module____qualname____doc__nameurlaliases	filenames	mimetypesreDOTALL	MULTILINEflagsr   r   Single	Multiliner   r   Regexr   r   Hashbangr   BinOctHexIntegerFloatr   r   Wordr   ReservedDeclarationConstantr   Builtin	Exceptionr   r   JS_IDENTDoubleBacktickInterpoltokens     </usr/lib/python3/dist-packages/pygments/lexers/javascript.pyr   r   !   s    D
]CT"G3I9I II$E Z g'7,,-	"
 +,"#)<<9t12FO
 J'
 W--.&89+, fjj)

+#VZZ0( CFLLQ;'BCKM_a+'9:%8(--I[\ *7+;+;<129;MO 6w7J7JL^_GHOHXHXZ ;G<L<LMI KO,,X LT^^\ 1gz*,>@ 24::?QRtzz"(&--8(&--86??H-q9
v 6??F+V__%foo7FOO$&//*
 FOOV,FO
eWFrn   r   c                   8   e Zd ZdZdZdZddgZdgZddgZd	Z	d
de
dfde
j                  dfde
j                  fde
j                  fd ee
j                  eej"                  e      dfd eej"                  eeee
j                        fdez   e
j                  fegiZy)r   z@
    For TypeScript source code.

    .. versionadded:: 1.6
    
TypeScriptzhttps://www.typescriptlang.org/
typescripttsz*.tszapplication/x-typescriptztext/x-typescriptg      ?rK   z9(abstract|implements|private|protected|public|readonly)\br@   z(enum|interface|override)\bz\b(declare|type)\bz\b(string|boolean|number)\bz\b(module)(\s*)([\w?.$]+)(\s*)z!([\w?.$]+)(\s*)(:)(\s*)([\w?.$]+)@N)rL   rM   rN   rO   rP   rQ   rR   rS   rT   priorityr   rd   rc   Typer   r   r   r   r   rh   r   rl   rm   rn   ro   r   r      s     D
+CT"GI+-@AI H 	I+-+W-@-@BTU"G$4$45+W\\:.g&&
DJJ
KM_a 2djj*h
GLLQS H_g112
Frn   r   c            $          e Zd ZdZdZdZdgZdgZddgZe	j                  Zdefd	ej                  fd
 eej                   e      fgd eej$                  e      df ed      gd eeee      fdej*                  dfdej*                  f ed      gdedfdef ed      gdedfdef ed      g ed      dej0                  fdefdej4                  fd eej$                  ee      fdefdedfdefdej6                  dfd ej6                  d!fd" eeeeee      d#fd$ej8                  j:                  fd% eeeeee      fd& eeee      fd' eeee      fd( eeee      fd) eeee      fd& eeee      f ed*d+d,-      ef ed.d+d,-      ej>                  f ed/d,0      ej@                  fd1 eej8                  ee      fd2e!jD                  fd3e!jF                  fd4e!jH                  fd5ed6fd7ed8fd9ed:fd;ed<fgd=efgd>ejJ                  df ed      gd9edfd?efd@ejJ                  dAf edB      gd;edfdCef edB      gd5edfdDefd@ejJ                  dAf edB      gd7edfdEef edB      gdFZ&yG)Hr   z9
    For Kal source code.

    .. versionadded:: 2.0
    Kalzhttp://rzimmerman.github.io/kalkalz*.kalztext/kalzapplication/kalr5   ###[^#].*?###(#(?!##[^#]).*?)(\n)z([$a-zA-Z_][\w$]*)(\s*)r:   r8   z\b(inherits)(\s+)(from)\bz([$a-zA-Z_][\w$]*)(?=\s*\n)z[$a-zA-Z_][\w$]*\b\]z\b(property|value)\brK   r>   z\bfrom\b</(?! )(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gimuysd]+\b|\B)z%\?|:|_(?=\n)|==?|!=|-(?!>)|[<>+*/-]=?zE\b(and|or|isnt|is|not|but|bitwise|mod|\^|xor|exists|doesnt\s+exist)\bz(\([^()]+\))?(\s*)(>)z[{(]\[listcomprehensionz[})\].,]z\b(function|method|task)\bfunctiondefz	\bclass\bclassdefz,\b(safe(?=\s))?(\s*)(wait(?=\s))(\s+)(for)\bwaitforz#\b(me|this)(\.[$a-zA-Z_][\w.$]*)?\bz((?<![.$])(run)(\s+)(in)(\s+)(parallel)\bz'(?<![.$])(for)(\s+)(parallel|series)?\bz(?<![.$])(except)(\s+)(when)?\bz(?<![.$])(fail)(\s+)(with)?\bz!(?<![.$])(inherits)(\s+)(from)?\b)inofwhileuntilbreakreturncontinuewhenifunlesselse	otherwisethrowraisetrycatchfinallynewdeletetypeof
instanceofsuperz	(?<![.$])z\bprefixsuffix)truefalseyesnoonoffnullnothingnoneNaNInfinity	undefined)ArrayBooleanDateErrorFunctionMathr   ObjectRegExpr   	decodeURIdecodeURIComponent	encodeURIencodeURIComponentevalisFiniteisNaNisSafeInteger
parseFloatparseIntdocumentwindow
globalThisSymbolprint)r   z)([$a-zA-Z_][\w.$]*)(\s*)(:|[+\-*/]?\=)?\b%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?0x[0-9a-fA-F]+[0-9]+"""tdqs'''tsqs"dqs'sqs
[^#\\\'"]+rJ   \\.|\'#\{interpoling_stringstrings#|\\.|"\\.|\'|"
#|\\.|\'|")r8   r   r   r   r   rK   r   r   r   r   r   r   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rX   r   r   rZ   r   rY   r   r   r   r   Classr   r   r[   r   rb   rd   VariableInstancer   re   rf   r   ra   r_   r`   rk   rl   rm   rn   ro   r   r      s    D
+CgG	I./IIIE Z w001$hw~~z&JK"
 ($--)L+,
 **g68+TZZ@"DJJ/+,
 K($g.FO
 J''"FO
 +,"#)<<15"#+==2%
K@Bk"K!45+&*G,?,?O7..
;<*gz') 4T]]5K5KL8*gz7KM7*g68/*g68-*g681*g687*g68 ' 0<E	K
   8@L  '//1  G   $||- :
H=?5v||D

+'FF#FF#&% &% q9
v F#
 FOOV,FO

 66"V__&:;I	
 66" I
 VV$&!V__&:;I	
 VV$F#I
auFrn   r   c                      e Zd ZdZdZdZddgZdgZdgZe	j                  Zdefd	ej                  fd
 eej                   e      fg ed      dej&                  dfdej&                  fdej&                  fg ed      dej&                  dfdej&                  dfdedf ed      gdedf ed      dej0                  fdedfdedfdefdedfdej6                  fdej8                  fd eej:                  eee      dfd eej:                  j<                  eee      dfdej>                  dfdej>                  dfd e jB                  fd!e jD                  fd"ed#fd$ed%fd&ed'fd(ed)fd*efd+efgd,efgd-ejF                  df ed.      gd&edfd/efd0ejF                  d1fd2ef ed3      gd(edfd4ef ed3      gd"edfd5efd0ejF                  d1fd2ef ed3      gd$edfd6ef ed3      gd7
Z$y8)9r   z@
    For LiveScript source code.

    .. versionadded:: 1.6
    
LiveScriptzhttps://livescript.net/
livescriptzlive-scriptz*.lsztext/livescriptr5   r7   z
(#.*?)(\n)r8   z//([gimuysd]+\b|\B)r:   /[^/#]+z//r:   multilineregexr}   
\A(?=\s|/)r@   z?(?:\([^()]+\))?[ ]*[~-]{1,2}>|(?:\(?[^()\n]+\)?)?[ ]*<[~-]{1,2}z\+\+|&&|(?<![.$])\b(?:and|x?or|is|isnt|not)\b|\?|:|=|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|~(?!\~?>)|-(?!\-?>)|<(?!\[)|(?<!\])>|[+*`%&|^/])=?rA   rB   z(?<![.$])(for|own|in|of|while|until|loop|break|return|continue|switch|when|then|if|unless|else|throw|try|catch|finally|new|delete|typeof|instanceof|super|extends|this|class|by|const|var|to|til)\bzF(?<![.$])(true|false|yes|no|on|off|null|NaN|Infinity|undefined|void)\bz(Array|Boolean|Date|Error|Function|Math|Number|Object|RegExp|String|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|document|window|globalThis|Symbol|Symbol|BigInt)\bz&([$a-zA-Z_][\w.\-:$]*)(\s*)([:=])(\s+)z'(@[$a-zA-Z_][\w.\-:$]*)(\s*)([:=])(\s+)rt   z@?[$a-zA-Z_][\w-]*z/[0-9]+\.[0-9]+([eE][0-9]+)?[fd]?(?:[a-zA-Z_]+)?z"[0-9]+(~[0-9a-z]+)?(?:[a-zA-Z_]+)?r   r   r   r   r   r   r   r   z\\\S+z	<\[.*?\]>r   rJ   rK   r   r   r   #r   r   r   r   
r8   r   r@   rK   r   r   r   r   r   r   N)%rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rX   r   r   rZ   r   rY   r   r   r[   r   r   r   r   r   r   r   re   rf   r   r   r   r   ra   r`   rk   rl   rm   rn   ro   r   r   5  s	    D
#C]+GI"#IIIE Z 7,,-HW^^Z@A"
 +,#V\\6:6<< %	
 +,FLL"<="#)<<98V$FO
 D"45+,237==B )	+
 +'9:%: <C	!
43 59LL	B
 7
HjI"$ 8//X "$ 4::12"DJJ0BC?N2FNNCFF#FF#&% &% v6"S*
X F#
 FOOV,FO

 66"V__&:;6NI
 66" I
 VV$&!V__&:;6NI
 VV$F#I
w`Frn   r   c                      e Zd ZdZdZdZdgZdgZdgZe	j                  e	j                  z  Z ed      dej                  fd	ed
fdefdefd eej&                  e      fdej(                  fd eej*                  e      dfdefdej*                  fdej,                  fdej.                  fdefdej4                  fdej6                  fdefdefdej<                  fdefdefdefgdej>                  dfg ed      defd efdefd!efd"edfgd#e jB                  fd$e j&                  fd%e jB                  fd&e j&                  fd'e jB                  d(fd)e j&                  d*fd+e jB                  d,fd-e j&                  d.fgd/e jD                  fd0 ee jF                  e      fd1 ee jF                   e$e%      e jF                        fgd+e jB                  dfd2e jB                  f ed3      d4e jB                  fgd'e jB                  dfd5e jB                  f ed3      d6e jB                  fgd-e j&                  dfd7e j&                  f ed3      d4e j&                  fgd)e j&                  dfd8e j&                  f ed3      d9e j&                  fgd:	Z&y;)<r   z:
    For Dart source code.

    .. versionadded:: 1.5
    Dartzhttp://dart.dev/dartz*.dartztext/x-dartstring_literalz#!(.*?)$z\b(import|export)\bimport_declz!\b(library|source|part of|part)\b[^\S\n]+(//.*?)(\n)r7   z \b(class|extension|mixin)\b(\s+)classz\b(as|assert|break|case|catch|const|continue|default|do|else|finally|for|if|in|is|new|rethrow|return|super|switch|this|throw|try|while)\bz\b(abstract|async|await|const|covariant|extends|external|factory|final|get|implements|late|native|on|operator|required|set|static|sync|typedef|var|with|yield)\bzH\b(bool|double|dynamic|int|num|Function|Never|Null|Object|String|void)\bz\b(false|null|true)\bz[~!%^&*+=|?:<>/-]|as\bz@[a-zA-Z_$]\w*z[a-zA-Z_$]\w*:z[a-zA-Z_$]\w*z[(){}\[\],.;]z0[xX][0-9a-fA-F]+z\d+(\.\d*)?([eE][+-]?\d+)?z\.\d+([eE][+-]?\d+)?r>   r:   r5   z\b(as|deferred|show|hide)\bz\,z\;zr"""([\w\W]*?)"""zr'''([\w\W]*?)'''zr"(.*?)"zr'(.*?)'r   string_double_multiliner   string_single_multiliner   string_doubler   string_singlezA\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\{[0-9A-Fa-f]*\}|[a-z'\"$\\])z(\$)([a-zA-Z_]\w*)z(\$\{)(.*?)(\})z
[^"$\\\n]+string_commonz\$+z[^"$\\]+z(\$|\")+z
[^'$\\\n]+z	[^\'$\\]+z(\$|\')+)	rK   r   r   r   r   r   r   r   r   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rW   rV   rX   r   r   Preprocr   r   r   rY   rZ   rd   rv   re   r   r   	DecoratorLabelr   r   r_   r   r   ri   Escaperk   r   r   rl   rm   rn   ro   r   r     s*    D
ChG
IILL299$E $%'//*#Wm<17;*%XgnnjAB7,,-0g)):6AU"#*#6#68 Y\\%w'7'78&1/

+t${+!6::.*F3$f-J9
@ tzz62
 $%Z +W5t$K K(
 "6==1!6==1&--(&--(V]]$=>V]]$=>6==/26==/2
 R]]"HV__d$CDfoouT{FOODF	
 6==&)FMM*O$V]]#	
 V]]F+&--(O$&--(	$
 6==&)FMM*O$V]]#	
 V]]F+6==)O$&--(	$
aVFrn   r   c                   j   e Zd ZdZdZddgZddgZg dZdgZe	j                  e	j                  z  e	j                  z  Zi d	d
ej                  dfdedfdef ed      gddej                  dfdej                  dfdej                  dfdej                  dfdefdefgddej                  dfdefdej                  dfdefdefgddej                  dfdefdefgddej                  df ed      gddej                  df ed      gddej                  df ed      gd defd! eej*                  e      fd"ej.                  fd#ej0                  fgdg  ed       d$ej4                  fd%ej6                  fd&ej8                  fd'efd(ej*                  d)fd*ej:                  d+fd,ej<                  fd-ej@                  fd.ej@                  jB                  fd/ eejD                  jF                  eej@                  jH                        fd0 eejD                  jF                  ee%eej@                  jH                        fd1 eejD                  jF                  eej                   jL                        fd2 ee%eej                   jL                        fd3ejD                  jF                  fd4ejN                  fd5 ee(eejR                        fd6ejT                  fd7 ee+jX                  eejH                  ee%ee+      fd8 ee+jX                  eejH                  ee%eejZ                        d9fd: ee+jX                  eejZ                        d9fd; ee+eejZ                        d9fd< ee+eejZ                        fd=e+j\                  fd>e+jX                  fd?e+j^                  fd@ eeee+      fdA ee+ee      fdBe+dCfdD ee(e+j`                        fdE ee(e+      fdFe(dGfdHe%jb                  fdI eeee(eejR                  e%      fdJ ee(ej                         fdK ee%e%jb                        fdLe%fdMe(fd)d(ej*                  dfdNej*                  f edO      dPej*                  fgd+d*ej:                  dfdQej:                  f edO      dPej:                  fgdOdRejd                  fgd9dSe%dfdTe(dfdUe(dVf ed      gdVdTe(dfdWejN                  dfdXejD                  jF                  f ed      gdCdYedZfd[efd\edfd5 ee(eejR                        fdFe(f ed       gdZd]e(dfdTe(d^fdWejN                  fd5 ee(eejR                        fdXejD                  jF                  fdUe(f ed       gdGd_ejZ                  d9f ed        ed      gZ3d` Z4da Z5db Z6yc)dr    a  
    For Lasso source code, covering both Lasso 9
    syntax and LassoScript for Lasso 8.6 and earlier. For Lasso embedded in
    HTML, use the `LassoHtmlLexer`.

    Additional options accepted:

    `builtinshighlighting`
        If given and ``True``, highlight builtin types, traits, methods, and
        members (default: ``True``).
    `requiredelimiters`
        If given and ``True``, only highlight code between delimiters as Lasso
        (default: ``False``).

    .. versionadded:: 1.6
    Lassolassolassoscriptz*.lassoz*.lasso[89])z*.inclz*.incz*.lasztext/x-lassorK   z^#![ \S]+lasso9\bz(?=\[|<)
delimitersr5   )r   	lassofilez\[no_square_brackets\]nosquarebracketsz\[noprocess\]	noprocessr~   squarebracketsz<\?(lasso(script)?|=)anglebracketsz<(!--.*?-->)?z[^[<]+z\[/noprocess\]r:   z[^[]r|   z\?>r   z\]|\?>whitespacecommentsz(//.*?)(\s*)$z/\*\*!.*?\*/r7   z\d*\.\d+(e[+-]?\d+)?z
0x[\da-f]+\d+z(infinity|NaN)\br   singlestringr   doublestringz`[^`]*`z\$[a-z_][\w.]*z#([a-z_][\w.]*|\d+\b)z(\.)(\s*)('[a-z_][\w.]*')z$(self)(\s*)(->)(\s*)('[a-z_][\w.]*')z#(\.\.?)(\s*)([a-z_][\w.]*(=(?!=))?)z%(->\\?|&)(\s*)([a-z_][\w.]*(=(?!=))?)z3(?<!->)(self|inherited|currentcapture|givenblock)\bz-(?!infinity)[a-z_][\w.]*z(::)(\s*)([a-z_][\w.]*)a  (error_(code|msg)_\w+|Error_AddError|Error_ColumnRestriction|Error_DatabaseConnectionUnavailable|Error_DatabaseTimeout|Error_DeleteError|Error_FieldRestriction|Error_FileNotFound|Error_InvalidDatabase|Error_InvalidPassword|Error_InvalidUsername|Error_ModuleNotFound|Error_NoError|Error_NoPermission|Error_OutOfMemory|Error_ReqColumnMissing|Error_ReqFieldMissing|Error_RequiredColumnMissing|Error_RequiredFieldMissing|Error_UpdateError)\bz>(define)(\s+)([a-z_][\w.]*)(\s*)(=>)(\s*)(type|trait|thread)\bzA(define)(\s+)([a-z_][\w.]*)(\s*)(->)(\s*)([a-z_][\w.]*=?|[-+*/%])	signaturez(define)(\s+)([a-z_][\w.]*)zJ(public|protected|private|provide)(\s+)(([a-z_][\w.]*=?|[-+*/%])(?=\s*\())z5(public|protected|private|provide)(\s+)([a-z_][\w.]*)z)(true|false|none|minimal|full|all|void)\bz((local|var|variable|global|data(?=\s))\bz(array|date|decimal|duration|integer|map|pair|string|tag|xml|null|boolean|bytes|keyword|list|locale|queue|set|stack|staticarray)\bz([a-z_][\w.]*)(\s+)(in)\bz(let|into)(\s+)([a-z_][\w.]*)z	require\brequiresectionz(/?)(Namespace_Using)\ba  (/?)(Cache|Database_Names|Database_SchemaNames|Database_TableNames|Define_Tag|Define_Type|Email_Batch|Encode_Set|HTML_Comment|Handle|Handle_Error|Header|If|Inline|Iterate|LJAX_Target|Link|Link_CurrentAction|Link_CurrentGroup|Link_CurrentRecord|Link_Detail|Link_FirstGroup|Link_FirstRecord|Link_LastGroup|Link_LastRecord|Link_NextGroup|Link_NextRecord|Link_PrevGroup|Link_PrevRecord|Log|Loop|Output_None|Portal|Private|Protect|Records|Referer|Referrer|Repeating|ResultSet|Rows|Search_Args|Search_Arguments|Select|Sort_Args|Sort_Arguments|Thread_Atomic|Value_List|While|Abort|Case|Else|Fail_If|Fail_IfNot|Fail|If_Empty|If_False|If_Null|If_True|Loop_Abort|Loop_Continue|Loop_Count|Params|Params_Up|Return|Return_Value|Run_Children|SOAP_DefineTag|SOAP_LastRequest|SOAP_LastResponse|Tag_Name|ascending|average|by|define|descending|do|equals|frozen|group|handle_failure|import|in|into|join|let|match|max|min|on|order|parent|protected|provide|public|require|returnhome|skip|split_thread|sum|take|thread|to|trait|type|where|with|yield|yieldhome)\b,commamemberz(and|or|not)\bz6([a-z_][\w.]*)(\s*)(::)(\s*)([a-z_][\w.]*)?(\s*=(?!=))z(/?)([\w.]+)z,(=)(n?bw|n?ew|n?cn|lte?|gte?|n?eq|n?rx|ft)\bz:=|[-+*/%=<>&|!?\\]+z[{}():;,@^]z[^'\\]+escape\\z[^"\\]+zS\\(U[\da-f]{8}|u[\da-f]{4}|x[\da-f]{1,2}|[0-7]{1,3}|:[^:\n\r]+:|[abefnrtv?"\'\\]|$)z=>\)z[(,]	parameterz-?[a-z_][\w.]*z\.\.\.z#(([a-z_][\w.]*=?|[-+*/%])(?=\s*\())requiresignaturez3(([a-z_][\w.]*=?|[-+*/%])(?=(\s*::\s*[\w.]+)?\s*,))z[a-z_][\w.]*=?|[-+*/%]z(\)(?=(\s*::\s*[\w.]+)?\s*,))#pop:2zR(([a-z_][\w.]*=?|[-+*/%])(?=\s*(\(([^()]*\([^()]*\))*[^)]*\)\s*)?(::[\w.\s]+)?=>))c                    t        |dd      | _        t        |dd      | _        t               | _        t               | _        | j                  rnddlm}m} |j                         D ]   \  }}| j                  j                  |       " |j                         D ]   \  }}| j
                  j                  |       " t        j                  | fi | y )NbuiltinshighlightingTrequiredelimitersFr   )BUILTINSMEMBERS)r   r	  r
  set	_builtins_memberspygments.lexers._lasso_builtinsr  r  itemsupdater
   __init__)selfoptionsr  r  keyvalues         ro   r  zLassoLexer.__init__  s    $0+T%3!!-(%"1 $$I&nn. -
U%%e,-%mmo ,
U$$U+,D,G,rn   c              #     K   dg}| j                   r|j                  d       t        j                  | ||      D ]  \  }}}|t        j
                  u r|j                         | j                  v sG|t        j
                  j                  u rA|j                         j                  d      | j                  v r|t        j                  |f |||f  y w)NrK   r   =)r
  appendr
   get_tokens_unprocessedr   r   lowerr  Memberrstripr  rf   )r  textstackindextokenr  s         ro   r  z!LassoLexer.get_tokens_unprocessed  s     !!LL&11$eD	&E5%#(GTZZ...KKM((->T\\500%%	&s   CCc                     d}d| v r|dz  }t        j                  d| t         j                        r|dz  }t        j                  d| t         j                        r|dz  }|S )Ng        z
bin/lasso9g?z<\?lassog?zlocal\()rU   searchI)r  rvs     ro   analyse_textzLassoLexer.analyse_text  sW    4#IB99[$-#IB99Zrtt,#IB	rn   N)7rL   rM   rN   rO   rP   rR   rS   alias_filenamesrT   rU   
IGNORECASErV   rW   rX   r   r   r   r   r   r   r   rY   r   DocrZ   r   ra   r_   r`   ri   rj   r   r   r   rf   Pseudor   r   r  	Attributer   r   rg   r   rd   r   re   rv   	Namespacerb   r   rl   r  r  r'  rm   rn   ro   r    r      s   " D&GM*I2O IMMBII%4EE!7??G<%.Z /0	
E 	&9KLw<GOO%56%wHu%
E 	w<EN%wHu%
E, 	8ENe
-E6 	GOOV,G
7E> 	W__f-G
?EF 	0G
GEN 	Z x
CDfjj)7,,-	
OEZ 	 a
()a

 %fll3a
 FJJ'a
 V^^$a
 !&)a
 6==.1a
 6==.1a
 )a
 .a
 &t}}'='=>a
  *,,j$--:M:MNP!a
$ 5,,j(JMM'')*%a
* 4,,j$**:K:KLN+a
. 6:tzz/@/@AC/a
2 D##%3a
6 *4>>:7a
8 (j$**=?9a
<% '+nn6=a
R O,,j$***g?@Sa
X R,,j$***dmmEYa
` ,,,j$--H+Waa
d$Wj$--Hea
j F*dmm<>ka
r :7;K;KLsa
t 9':M:MNua
v '.wa
| *8D*g+NO}a
~ .xT/RSa
@ 7$45Aa
B (+w?P?P)QRCa
D3$ g.%0Ea
n ;.oa
p .qa
r Gz;
DJJsa
x h{DJJ?@ya
z =8==13{a
~ %h/a
@ [)Aa
[E^ 	6==&)'HFMM"	
_Ej 	6==&)'HFMM"	
kEv 	$%+]]4
wE~ 	Hf%K(k;/G	
EJ 	K(7++,G	
KEV 	3T;MNCTJ&f5'j$**=?;()
WEh 	-{FCK*/'j$**=?++,k"()	
iE| 	J{, ()FO
}EFN- &rn   r    c            !       
   e Zd ZdZdZg dZdgZdgZdZe	j                  e	j                  z  Z ed      dez   d	z   ez   d
z   ez   dz    e ee       eed       ee            fd eee      dfd eee      dfd eeee      f ed      defdefgd eej*                  eej.                        fd eej*                  eej.                        fd eej*                  eej.                        fd eej*                  eej.                        fdej*                  dfdej*                  dfdefd eej0                  e      fd ej2                  fd!ej4                  fd"efg ed      d#ej6                  d$fd%ed&f ed$      gd'ed$fgd(ed)fd*ej<                  fd+ej.                  fd,ej2                  fd-ej@                  fd.ej@                  fd/ejB                  fd0ejD                  fd1ejF                  fd2ed3fd4e$d3fd5ed3fd6efd7ed3fd8ejJ                  d3fd9efd:ejL                  fd;e'jP                  fd<ejR                  fd=ejR                  fd>ejR                  fd?e'jP                  fd@ez   dAz    ee'jT                   ee            fdBe'fgdCez   dDz   ez   dEz    ee'jV                   ee      e'jV                        d$fdCez   dFz    ee'jV                   ee      e'jX                  e      d$fdGe'jV                  d$fgdH ee'jV                  eee      dIfdJ ee'jV                  ee      d$fg ed      dKez   dLz   ez   dMz   ez   dNz   ez   dOz    e ee      ejL                   ee      e'jT                        dPfdKez   dLz   ez   dMz   ez   dQz    e ee      ejL                   ee      e'jT                        d$fdRez   dOz    ee'jT                        dPfdS ee'jT                        d$f ed$      g ed      dKez   dTz   ez   dMz   ez   dQz    e ee      ejL                   ee      e      fdRez   dOz   e'jT                  fdUe'jT                  fdVez   dWz    ee      fdSefgdX ee'jT                  e      fdYed$fgdZed$fd[ej0                  fd\efd eej0                  e      fd]efgd^ej*                  fd_ej4                  fd` eej2                  e      d$fdaej*                  fdbefd'ed$fgdcej*                  dIfddej*                  d$fde eee      fgdfZ-dg Z.yh)ir!   z^
    For Objective-J source code with preprocessor directives.

    .. versionadded:: 1.3
    zObjective-J)zobjective-j
objectivejzobj-jobjjz*.jztext/x-objective-jz,(?:\s|//[^\n]*\n|/[*](?:[^*]|[*][^/])*[*]/)*
whitespacez^(z[+-]z)([(a-zA-Z_].*?[^(])(z\{)function_signature)statez!(@interface|@implementation)(\s+)	classnamez(@class|@protocol)(\s*)forward_classnamez(\s*)(@end)(\s*)
statementsz[{()}];z$(@import)(\s+)("(?:\\\\|\\"|[^"])*")z$(@import)(\s+)(<(?:\\\\|\\>|[^>])*>)z0(#(?:include|import))(\s+)("(?:\\\\|\\"|[^"])*")z0(#(?:include|import))(\s+)(<(?:\\\\|\\>|[^>])*>)z#if\s+0if0r   macror5   (\\)(\n)z//(\n|(.|\n)*?[^\\]\n)z/(\\\n)?[*](.|\n)*?[*](\\\n)?/r6   z3/(\\.|[^[/\\\n]|\[(\\.|[^\]\\\n])*])+/([gim]+\b|\B)r:   r;   r<   r>   z(L|@)?"stringz8(L|@)?'(\\.|\\[0-7]{1,3}|\\x[a-fA-F0-9]{1,2}|[^\\\'\n])'rD   rE   z%(\d+\.\d*|\.\d+|\d+)[eE][+-]?\d+[lL]?z(\d+\.\d*|\.\d+|\d+[fF])[fF]?z0x[0-9a-fA-F]+[Ll]?z0[0-7]+[Ll]?z\d+[Ll]?r?   r@   z@\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?|!=?|[-<>+*%&|^/])=?rA   rB   z(for|in|while|do|break|return|continue|switch|case|default|if|else|throw|try|catch|finally|new|delete|typeof|instanceof|void|prototype|__proto__)\bz(var|with|function)\bz(@selector|@private|@protected|@public|@encode|@synchronized|@try|@throw|@catch|@finally|@end|@property|@synthesize|@dynamic|@for|@accessors|new)\bzt(int|long|float|short|double|char|unsigned|signed|void|id|BOOL|bool|boolean|IBOutlet|IBAction|SEL|@outlet|@action)\bz(self|super)\bz"(TRUE|YES|FALSE|NO|Nil|nil|NULL)\brC   z(ABS|ASIN|ACOS|ATAN|ATAN2|SIN|COS|TAN|EXP|POW|CEIL|FLOOR|ROUND|MIN|MAX|RAND|SQRT|E|LN2|LN10|LOG2E|LOG10E|PI|PI2|PI_2|SQRT1_2|SQRT2)\bz(Array|Boolean|Date|Error|Function|Math|Number|Object|RegExp|String|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|Error|eval|isFinite|isNaN|parseFloat|parseInt|document|this|window|globalThis|Symbol)\bz([$a-zA-Z_]\w*)(z)(?=\()z[$a-zA-Z_]\w*z([a-zA-Z_]\w*)(:z)([a-zA-Z_]\w*)?z\()([a-zA-Z_]\w*)(\))z([a-zA-Z_]\w*)z([a-zA-Z_]\w*)(\s*)(,)(\s*)z#pushz([a-zA-Z_]\w*)(\s*)(;?)z(\(z)([a-zA-Z_]\w+)(r  z)([$a-zA-Z_]\w+z:)function_parametersz)([$a-zA-Z_]\w+)z([$a-zA-Z_]\w+z([$a-zA-Z_]\w+)z	)([^)]+)(z(:)z(,z\.\.\.)z([$a-zA-Z_]\w*)(\()z(\))r   z/\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|[0-7]{1,3})z	[^\\"\n]+r  z[^/\n]+z/[*](.|\n)*?[*]/r   r   z	(?<=\\)\nz^\s*#if.*?(?<!\\)\nz^\s*#endif.*?(?<!\\)\nz	(.*?)(\n))rK   r1  r@   r=   r6  r4  r5  r2  r=  
expressionr;  r9  r8  c                 P    t        j                  d| t         j                        ryy)Nz^\s*@import\s+[<"]TF)rU   r$  rW   )r  s    ro   r'  zObjectiveJLexer.analyse_text  s    99*D",,?rn   N)/rL   rM   rN   rO   rP   rR   rS   rT   _wsrU   rV   rW   rX   r   r   r   r   r   r   r   r   r   r   ri   r   rY   rZ   r[   r   r   Charr   ra   r_   r^   r`   r   rd   rv   r   rf   re   r   r   r   rl   r'  rm   rn   ro   r!   r!     s    D<GI%&I :CII$E L! S[7"S(+CCcIFReDk55I#JDk#$
 28GZ3P'':)F " (:w
"KLL!{#+#
( 5gooz6==AC4gooz6==AC@gooz6==AC@gooz6==AC %07??G,Z 
35&7.0A0ABg%
* L!%||V5t12FO
 J'
 *H[[(&--8(&--85v||D-v||<#VZZ0fjj)&..)&891)+ +'9:%'(/1CE &w':':<NO<=DFN\\ -2G4D4DE:G<L<LM!**,, .2\\	; !3&3dmmU4[13 t$g4
n  #%,s2 !djj%+tzz:FD  #%(@@djj%+tzz4@&J 

F3

 ,djj*dJ?J'djj*d3V=
 L! c\   "%&) "%% (-- eDk7<<tmm%&;= c\   "%&)   eDk7<<tmm%&,. $u,dmm$&;=  dmm$f. FO7
< L! c\   "%&)   eDk7<<tdC	E $u,]] T]]# S[:%uT{3  &+ 
0 $Xdmm.9&; <k6*
 66"?O6"(6==*=>FO
 ) '"3"34XgnnjA6J7??#:&J'
 $W__g>&@8GZ89
AEFNrn   r!   c                      e Zd ZdZdZdZg dZdgZdgZdZ	e
j                  Zdefd	ej                  fd
 eej"                  e      fgdej&                  fdej&                  dfdej(                  dfdej&                  fg ed      dej&                  dfdej&                  dfdedf ed      g ed      dedfe	edfdej4                  dfdedfdefdedfdej:                  fdej<                  fd eej>                  eee      dfd eej>                  j@                  eee      dfd ejB                  dfd!ejB                  fd"e"jF                  fd#e"jH                  fd$e"jJ                  fd%ed&fd'ed(fd)ed*fd+ed,fgd-efgd.ej(                  df ed/      gd)edfd0efdej(                  dfd1ef ed2      gd+edfd3ef ed2      gd%edfd4efdej(                  dfd1ef ed2      gd'edfd5ef ed2      gd6
Z&y7)8r"   zB
    For CoffeeScript source code.

    .. versionadded:: 1.3
    CoffeeScriptzhttp://coffeescript.org)coffeescriptzcoffee-scriptcoffeez*.coffeeztext/coffeescriptzx\+\+|~|&&|\band\b|\bor\b|\bis\b|\bisnt\b|\bnot\b|\?|:|\|\||\\(?=\n)|(<<|>>>?|==?(?!>)|!=?|=(?!>)|-(?!>)|[<>+*`%&|\^/])=?r5   rz   r{   r   z///([gimuysd]+\b|\B)r:   r   r   z[/#]r8   z///r   r}   r   r   r@   z(?:\([^()]*\))?\s*[=-]>rA   rB   z(?<![.$])(for|own|in|of|while|until|loop|break|return|continue|switch|when|then|if|unless|else|throw|try|catch|finally|new|delete|typeof|instanceof|super|extends|this|class|by)\bzA(?<![.$])(true|false|yes|no|on|off|null|NaN|Infinity|undefined)\bz(Array|Boolean|Date|Error|Function|Math|Number|Object|RegExp|String|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|document|window|globalThis|Symbol)\bz$([$a-zA-Z_][\w.:$]*)(\s*)([:=])(\s+)z%(@[$a-zA-Z_][\w.:$]*)(\s*)([:=])(\s+)rt   z@?[$a-zA-Z_][\w$]*r   r   r   r   r   r   r   r   r   r   r   r   rJ   rK   r   r   r   r   r   r   r   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   _operator_rerU   rV   rX   r   r   rZ   r   rY   r   r[   rk   r   r   r   r   r   r   r   r   re   rf   r   r   r   r   ra   r_   r`   rl   rm   rn   ro   r"   r"     s    D
#C9GI$%I	@ 
 IIE Z w001$hw~~z&JK"
 %$fllF;V__&:;fll#	
 +,V\\#=>"#)<<9
 8V$FO

 +,D"458%78'8JK+'9:%) +23E	G
*] \\	
 5
HjI"$ 6//XzR"$ 4::12"DJJ/5v||D

+'FF#FF#&% &% E#
J F#
 FOOV,FO

 66"V__&:;6NI
 66" I
 VV$&!V__&:;6NI
 VV$F#I
o\Frn   r"   c                   f   e Zd ZdZdZdZdgZdgZdgZe	j                  e	j                  z  e	j                  z  Zi ddefd	 eej"                  e      fd
ej$                  fdefdedfdedfdedfdedfdej,                  dfdej.                  dfdej0                  dfdej2                  j.                  dfgddej4                  fdej6                  dfdej"                  fgddej"                  df ed      gddej"                  df ed      gddej"                  df ed      gddej"                  df ed      gddej6                  dfd  eeej6                        d!fd" eeej:                  e      fd#ej6                  fgd!d# ee      dfgddefd$ej2                  j.                  d%fd&ej0                  d'fd( eej@                  ee!      d)fd* eej@                  ee!      d+fd,ej@                  fd-edfgd%d.ej2                  j.                  fdej6                  df e"d      gd'd.ej0                  fdej6                  df e"d      gd+defd/ej2                  dfded0fded1f e"d      gd)defdej"                  d2fdej"                  d3f ed+      gd4defd5efd6ejF                  fgd2 ed4      dej"                  d7fd8ejH                  fgd3 ed4      dej"                  d7fd9ejH                  fgd0dej"                  d7f ed      gd1dej"                  d7f ed      giZ%y:);r#   z5
    For Mask markup.

    .. versionadded:: 2.0
    Maskz https://github.com/atmajs/MaskJSmaskz*.maskztext/x-maskrK   r5   r   r7   z[{};>]r   zstring-trpl-singler   zstring-trpl-doubler   zstring-singler   zstring-doublez([\w-]+)nodez([^.#;{>\s]+)z	(#[\w-]+)z
(\.[\w-]+)zstring-baserH   z~\[interpolation.r:   r|   z(\s*)(:)r>  z(\s*)(\w+)(:)z[^\]]+z\.z
node-classz\#znode-idz(style)([ \t]*)(=)znode-attr-style-valuez([\w:-]+)([ \t]*)(=)znode-attr-valuez[\w:-]+z[>{;]z[\w-]+z\w+zstring-single-pop2zstring-double-pop2zcss-single-endzcss-double-endzcss-baser7  z[\w\-]+\s*:r  z[^;']+z[^;"]+N)&rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rW   r)  rV   rX   r   r   r   rY   rZ   r   r   r   Tagr   r   r   r   rk   r   r   r   r   r,  r   r   rf   Entityrl   rm   rn   ro   r#   r#   g  s   
 D
,ChG
IILL2==(2994EhZ XgnnjAB7,,-$V12V126?+6?+$((F+tzz624==&1DMM//8
h 	V]]#V__o66==!
h( 	6==&)M"
)h0 	6==&)M"
1h8 	V]]F+M"
9h@ 	V]]F+M"
AhH 	FOOV,(:v?Nx
DJJLM(	
IhT 	o.7
UhZ 	Z DMM''6DMM9-"X>') %X>!# ({F+
[ht 	++,V__o6FO
uh~ 	&V__o6FO
hH 	Z T]]F+6/06/0FO
IhV 	 Z 6=="236=="23%&	"
Whb 	Z ;T\\*
chl 	J6==(+$
mhv 	J6==(+$
wh@ 	6==(+M"
AhH 	6==(+M"
IhFrn   r#   c            !       	   e Zd ZdZdZg dZdgZdgZi ddef e	d      d	e
fd
 eee      fdefd eej                  e      fde
f e	d       eddd      ej$                  fdej(                  fdej$                  fdej$                  fdefdej,                  f e	d       e	d       e	d      d eeej.                  eej0                  j2                        dfdej4                  dfdej4                  d fd!ej6                  f e	d"      d#e ed$d%      fd&e ed$d'      fd(e ed$d)      f e	d*       e	d+       e	d,       e	d-      gdd. eeej0                  j:                        fd/ eeej<                  j:                  e      fd0efd1ej:                  d2fgd+d3 ee
j                  e
      fgdd4 eeej>                        fgd ed5d6d7      ej@                  fd8ej@                  fgdd9ejB                  fd: eejB                  e      fd; eeejB                  e      fd< eeejB                  e      fgd"d= eeej(                        fd> eeejD                        fd? eeej(                        fgd ed@d6d7      ejF                  f edAd6dB      ejH                  f edCd6dB      ejJ                  fgd edDdEdF      ejL                  f edGd6d7      ejH                  fgd,dHej>                  jN                  fdI eej6                  ej$                        fgd*dJejP                  fgdKdLejR                  d2f e	d      gd$dMej                  fgdNdOefdPefdefgd%dQed2fdRej                  f e	dN      gd'dSed2fdTej                  fdUejR                  dKf e	dN      gd)d(ed2f e	dN      gdVej4                  d2fdWej4                  fdXej                  fdYej4                  fgdZej4                  d2fdej4                  fdXej                  fd[ej4                  fgd\e*jV                  fd]e*jV                  fd^e*jX                  fd_e*jZ                  fd`e*j\                  fdae*j^                  fdbe*j`                  fgdcZ1yd)er$   z>
    For Earl-Grey source code.

    .. versionadded: 2.1
    z	Earl Grey)z	earl-greyearlgreyegz*.egztext/x-earl-greyrK   r>   controlr   z
(;;.*)(\n)z[\[\]{}:(),;]r:  r  errors)
withwherer   andnotorr   asr   isz
(?<=\s|\[)z(?![\w$\-])r   z[*@]?->z[+\-*/~^<>%&|?!@#.]*=z\.{2,3}z+([+*/~^<>&|?!]+)|([#\-](?=\s))|@@+(?=\s)|=+z(?<![\w$\-])(var|let)(?:[^\w$])keywordsbuiltins
assignmentz(?x)
                (?:()([a-zA-Z$_](?:[\w$\-]*[\w$])?)|
                   (?<=[\s{\[(])(\.)([a-zA-Z$_](?:[\w$\-]*[\w$])?))
                (?=.*%)dbsz[rR]?`btz[rR]?```tbtz=(?<=[\s\[{(,;])\.([a-zA-Z$_](?:[\w$\-]*[\w$])?)(?=[\s\]}),;])nestedz(?:[rR]|[rR]\.[gmi]{1,3})?"stringescaper   z(?:[rR]|[rR]\.[gmi]{1,3})?\'r   r   r   tupleimport_pathsrP   numbersz-(\.)([a-zA-Z$_](?:[\w$\-]*[\w$])?)(?=[.\[\s])z+(\[)([\^#][a-zA-Z$_](?:[\w$\-]*[\w$])?)(\])r5   %r:   z>(?<=[\s:;,])(\.{1,3}(?:[\w\-]*/)*)(\w(?:[\w\-]*\w)*)(?=[\s;,])zB(\.)?([a-zA-Z$_](?:[\w$\-]*[\w$])?)(?=\s+[+\-*/~^<>%&|?!@#.]*\=\s))r   	TypeErrorReferenceErrorz(?<![\w\-$.])z(?![\w\-$.])z(?x)
                (?<![\w$])
                E\.[\w$](?:[\w$\-]*[\w$])?
                (?:\.[\w$](?:[\w$\-]*[\w$])?)*
                (?=[({\[?!\s])z(?x)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?!\n)\s+
                (?!and|as|each\*|each|in|is|mod|of|or|when|where|with)
                (?=(?:[+\-*/~^<>%&|?!@#.])?[a-zA-Z$_](?:[\w$-]*[\w$])?)z7([a-zA-Z$_](?:[\w$-]*[\w$])?)(?!\n)(\s+)(?=[\'"\d{\[(])z(?x)
                (?:
                    (?<=[%=])|
                    (?<=[=\-]>)|
                    (?<=with|each|with)|
                    (?<=each\*|where)
                )(\s+)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)(:)zc(?x)
                (?<![+\-*/~^<>%&|?!@#.])(\s+)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)(:)zz(?x)
                (?<=[\w$\]})])(\.)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?=\s+with(?:\s|\n))zo(?x)
                (?<!\s)(\.)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?=[}\]).,;:\s])zq(?x)
                (?<=[\w$\]})])(\.)
                ([a-zA-Z$_](?:[\w$-]*[\w$])?)
                (?=[\[{(:]))eachzeach*modawaitr   chainr   elifz
expr-valuer   matchr   yieldpassr   requirevarletasyncmethodgen)r   r  rt   z(?![\w\-$]))	r   r   r   r   r   r   ErrorFactoryENodePromise)sendobjectkeysr  	enumeratezipproduct
neighbours	predicateequalnequalcontainsreprclonerange
getCheckerzget-checkergetPropertyzget-propertygetProjectorzget-projectorconsumetake	promisifyspawnconstructorz(?<![\w\-#.])z(?![\w\-.]))r   r   r   r   z@([a-zA-Z$_](?:[\w$-]*[\w$])?)z)([a-zA-Z$_](?:[\w$-]*[\w$])?)(\+\+|\-\-)?z#[a-zA-Z_][\w\-]*(?=[\s{(,;])r   rJ   zY\\([\\abfnrtv"\']|\n|N\{.*?\}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|x[a-fA-F0-9]{2}|[0-7]{1,3})r   z[^\\\'"]z[\'"\\]r   z\\\\|\\"|\\\nr   z\\\\|\\'|\\\nz\{rF   z(?<!`)\nz\^=?z.+z```z[^`]+z \d+\.(?!\.)\d*([eE][+-]?[0-9]+)?z\d+[eE][+-]?[0-9]+z8r[0-7]+z2r[01]+z16r[a-fA-F0-9]+z5([3-79]|[12][0-9]|3[0-6])r[a-zA-Z\d]+(\.[a-zA-Z\d]+)?r   )r_  r`  re  N)2rL   rM   rN   rO   rP   rR   rS   rT   r   r   r   r   r   r   r   r   r   r   rb   r   r   r   rd   rM  r   Startrj   r   r   DBSrN  r   rg   ControlFieldr+  re   rv   rf   r   r-  rk   r   ra   r^   r]   r_   Radixr`   rl   rm   rn   ro   r$   r$     s    D-GI#$IGJI$HWj9:{+(6==*=>DMH " %^= ]]	
 '%x}}5';XF/1D1DEJJL! k488[$**:J:JKU	T
 .&//51 &/H+VXne5TU,fh~u6UVVXnf=>GN#FOIM'
GR 	=k4::>>24;k4;;??K@BZ 8<<(
SGb 	Ndoot,.
cGj 	0k4==13
kGt 	;*?D^^"
 ^^	

uGJ 	K
 __ Hgooz244 j'//;?A4 j'//;?A%
KGx 	( k4==1	3
$ k4::.	0
 k4==1	3
yGZ 	 1
 (A ^^ (*>C  ? (@ \\	
[G| 	 5 (@ \\  6'A ]]
}GZ 	.0F0FG9dkk8==13
[Gd 	-t~~>
eGj 	FOOV,FO
kGr 	<=C]]L
sGz 	&! FO
{GD 	66"v}}-I
EGN 	66"v}}-FOO%9:I	
OGZ 	VV$I
[Gd 6??F+&//*fmm$FOO$	
 V__f-FOO$fmm$v'	
 1&,,?"FLL1&**%$,E\\V^^$	
{GFrn   r$   c                      e Zd ZdZdZdZdgZdgZg dZe	j                  e	j                  z  Zdefd eej                   e      fd	ej"                  fg ed
      dej(                  dfdedf ed      gdedfgdedf ed
      dej.                  fdej.                  fdej.                  fdej.                  fdedfdedfdefdedfdej6                  dfdej8                  fdej:                  fdej>                  fe ejB                  fde"jF                  fde"jH                  fd ejJ                  fd!ej                   fgd"Z&y#)$r%   z<
    For Juttle source code.

    .. versionadded:: 2.2
    Juttlezhttp://juttle.github.io/juttlez*.juttle)zapplication/juttlezapplication/x-juttleztext/x-juttleztext/juttler5   r   r7   r8   r9   r:   r;   r<   r>   z	^(?=\s|/)r@   z:\d{2}:\d{2}:\d{2}(\.\d*)?:zY:(now|beginning|end|forever|yesterday|today|tomorrow|(\d+(\.\d*)?|\.\d+)(ms|[smhdwMy])?):zN:\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d*)?)?(Z|[+-]\d{2}:\d{2}|[+-]\d{4})?:z:((\d+(\.\d*)?|\.\d+)[ ]+)?(millisecond|second|minute|hour|day|week|month|year)[s]?(([ ]+and[ ]+(\d+[ ]+)?(millisecond|second|minute|hour|day|week|month|year)[s]?)|[ ]+(ago|from[ ]+now))*:z8\+\+|--|~|&&|\?|:|\|\||\\(?=\n)|(==?|!=?|[-<>+*%&|^/])=?rA   rB   z"(import|return|continue|if|else)\bz((var|const|function|reducer|sub|input)\bz{(batch|emit|filter|head|join|keep|pace|pass|put|read|reduce|remove|sequence|skip|sort|split|tail|unbatch|uniq|view|write)\bz(true|false|null|Infinity)\bz6(Array|Date|Juttle|Math|Number|Object|RegExp|String)\br   r   rD   rE   )r8   r@   r=   rK   N)'rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   r   r   r   rY   rZ   r   r   r[   r   r   Momentr   r   r   rd   rc   re   r   rf   rh   r   r   ra   r`   ri   rl   rm   rn   ro   r%   r%     s    D
$CjGI1I II$E Z XgnnjAB7,,-"
 +,"#)<<9t12FO
 D&!
 4!34+,+V]];56<mmE017@* ,2==	:
)*24FH+'9:%2G=OP8':M:M!I -g.>.>?F\\tzz"5v||D'(&--8(&--8=
!1Frn   r%   c                   &    e Zd ZdZdZdgZdgZd Zy)r&   a  
    For parsing within an interactive Node.js REPL, such as:

    .. sourcecode:: nodejsrepl

        > let a = 3
        undefined
        > a
        3
        > let b = '4'
        undefined
        > b
        '4'
        > b == a
        false

    .. versionadded: 2.10
    zNode.js REPL console session
nodejsreplztext/x-nodejsreplc           
   #     K   t        di | j                  }d}g }t        j                  |      D ]%  }|j	                         }|j                  d      rE|j                  t        |      dt        j                  |d d fdt        |dd fgf       ||dd  z  }j|j                  d      r_|j                  d      }t        |      t        |      z
  }|j                  t        |      dt        j                  |d | fgf       ||z  }|r't        ||j                  |            E d {    d}g }t        g |j                  |            E d {    ( |r$t        ||j                  |            E d {    y y 7 U7 07 
w)	N z> r         z...rL  rm   )r   r  r   finditergroup
startswithr  lenr   Promptr   lstripr   r  )	r  r  jslexercurcode
insertionsrn  linecodeleads	            ro   r  z'NodeConsoleLexer.get_tokens_unprocessed  s    !1DLL1
%%d+ 	:E;;=Dt$!!3w<bq2T!AY/1#2 3 48#'{{3'4y3t9,!!3w<et56#8 9 4,Z66w? A A A !G!#J(2248: : :3	:8 $Z..w79 9 9 A:9s6   D)F+F,&FF'F:F;FFFN)rL   rM   rN   rO   rP   rR   rT   r  rm   rn   ro   r&   r&     s#    $ *DG$'I$9rn   r&   )1rO   rU   pygments.lexerr   r   r   r   r   r   r	   r
   r   r   r   r   pygments.tokenr   r   r   r   r   r   r   r   r   r   r   pygments.utilr   pygments.unistring	unistringuni__all__combineJS_IDENT_STARTJS_IDENT_PARTrh   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   rm   rn   ro   <module>r     sf   
< < < <4 4 4 4 &  
 [S[[tT4tLL*+;3;;tT4tT'+T4? ?56 E!M1D8ej eP#o #LCz CLnj nbe
 ePE EP\j \~o
 odu
 upSJ SlA* AH;9u ;9rn   