D,biLSrSSKJr SSKJr SSKJr SSKJr "SS5rg ) zv OS-independent base for an event and VT sequence scanner See unix_eventqueue and windows_eventqueue for subclasses. )deque)keymap)Event)tracec\rSrSrS\S\\\4SS4SjrS\S-4Sjr S\ 4Sjr S\ 4S jr S \SS4S jrS \\-SS4S jrSrg)BaseEventQueue!encoding keymap_dictreturnNc[R"U5UlURUl[SURS9 Xl[ 5Ul[5Ulg)Nz keymap {k!r}k) rcompile_keymapcompiled_keymaprr revents bytearraybuf)selfr r s >/opt/alt/python313/lib64/python3.13/_pyrepl/base_eventqueue.py__init__BaseEventQueue.__init__"sG%44[A**  n , $)G ;cZUR(aURR5$g)z* Retrieves the next event from the queue. N)rpopleftrs rgetBaseEventQueue.get*s! ;;;;&&( (rc$UR(+$)z Checks if the queue is empty. )rrs remptyBaseEventQueue.empty3s;;rc<URn[5UlU$)z. Flushes the buffer and returns its contents. )rr)rolds r flush_bufBaseEventQueue.flush_buf9shh; reventcN[SUS9 URRU5 g)z" Inserts an event into the queue. zadded event {event})r'N)rrappend)rr's rinsertBaseEventQueue.insertAs! #51 5!rcharc [U[5(aUO [U5nUR5nURR U5 XR ;aUR URLaUR Un[SUS9 [U[5(aX0lg UR[SU[UR5555 URUlg UR(awURSS:Xad[S5 URUlUR[SSS55 UR5S S HnURU5 M g [UR5RUR 5nUR[SU[UR5555 URUlg !["a g f=f) zQ Processes a character by updating the buffer and handling special key mappings. zfound map {k!r}rkeyrz,unrecognized escape sequence, propagating...rN) isinstanceintordto_bytesrr)rrrdictr*rbytesr%pushdecoder UnicodeError)rr,ord_charr_cdecodeds rr8BaseEventQueue.pushHs| &dC004c$i  " ! ;; {{d222 D!A #q )!T""  E%E$..2B,CDE"22 XX$((1++ @ A..DK KKeVW5 6nn&qr* " + L/00? E%%8H2IJK..DK    s9.G,, G98G9)rrr rr)__name__ __module__ __qualname____firstlineno__strr6r7rrrboolr!rr%r*r3r8__static_attributes__rrr r !sw4s 3CUT\t 9"E"d"&/u&/&/rr N) __doc__ collectionsrrconsolerrr rFrrrKs$* M/M/r