
    ,h;c                       d dl mZ ddlmZmZ d dlmZ d dlZd dlZddl	m
Z
 ddl	mZ  G d d	e      Z G d
 de      Ze G d d             Ze G d d             Z G d de      Ze G d d             Z G d dej(                        Z	 	 	 	 d<dZ	 d=	 	 	 	 	 d>dZd?dZ	 	 	 	 d@dZ	 d=	 	 	 	 	 dAdZ	 	 	 	 dB	 	 	 	 	 	 	 	 	 dCdZdDdZ	 	 	 	 	 	 	 	 	 	 dE	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dFdZ	 	 dG	 	 	 	 	 dHdZ	 	 	 	 dIdZ	 d=	 	 	 dJd Z 	 d=	 	 	 dKd!Z!	 	 dG	 	 	 	 	 	 	 dLd"Z"	 	 dG	 	 	 	 	 	 	 	 	 dMd#Z#	 d=	 	 	 	 	 	 	 dNd$Z$	 d=	 	 	 	 	 dOd%Z%	 	 	 	 dPd&Z& ed'      e G d( d)                    Z' ed*      e G d+ d,                    Z( ed-      e G d. d/                    Z) ed0      e G d1 d2                    Z* ed3      e G d4 d5                    Z+ ed6      e G d7 d8                    Z, ed9      e G d: d;                    Z-y)Q    )annotations   )event_classT_JSON_DICT)	dataclassN)browser)pagec                  8     e Zd ZddZedd       Z fdZ xZS )TargetIDc                    | S N selfs    p/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/selenium/webdriver/common/devtools/v134/target.pyto_jsonzTargetID.to_json           c                     | |      S r   r   clsjsons     r   	from_jsonzTargetID.from_json       4yr   c                >    dj                  t        | 	               S )NzTargetID({})formatsuper__repr__r   	__class__s    r   r   zTargetID.__repr__   s    $$UW%5%788r   returnstr)r   r$   r#   r   )__name__
__module____qualname__r   classmethodr   r   __classcell__r!   s   @r   r   r      s&      9 9r   r   c                  <     e Zd ZdZddZedd       Z fdZ xZS )	SessionIDz:
    Unique identifier of attached debugging session.
    c                    | S r   r   r   s    r   r   zSessionID.to_json    r   r   c                     | |      S r   r   r   s     r   r   zSessionID.from_json#   r   r   c                >    dj                  t        | 	               S )NzSessionID({})r   r    s    r   r   zSessionID.__repr__'   s    %%eg&6&899r   r"   )r   r$   r#   r,   	r%   r&   r'   __doc__r   r(   r   r   r)   r*   s   @r   r,   r,      s+      : :r   r,   c                      e Zd ZU ded<   ded<   ded<   ded<   ded<   ded	<   d
Zded<   d
Zded<   d
Zded<   d
Zded<   d Ze	d        Z
y
)
TargetInfor   	target_idr$   type_titleurlboolattachedcan_access_openerNtyping.Optional[TargetID]	opener_idztyping.Optional[page.FrameId]opener_frame_id)typing.Optional[browser.BrowserContextID]browser_context_idtyping.Optional[str]subtypec                   t               }| j                  j                         |d<   | j                  |d<   | j                  |d<   | j
                  |d<   | j                  |d<   | j                  |d<   | j                  | j                  j                         |d<   | j                  | j                  j                         |d<   | j                  | j                  j                         |d	<   | j                  | j                  |d
<   |S )NtargetIdtyper6   r7   r9   canAccessOpeneropenerIdopenerFrameIdbrowserContextIdrA   )dictr4   r   r5   r6   r7   r9   r:   r<   r=   r?   rA   r   r   s     r   r   zTargetInfo.to_jsonH   s    v>>113ZzzV

WhhU==Z"&"8"8>>%#~~557D+$($8$8$@$@$BD!"".'+'>'>'F'F'HD#$<<#"llDOr   c                    | t         j                  |d         t        |d         t        |d         t        |d         t        |d         t        |d         d|v rt         j                  |d         nd d|v r"t        j
                  j                  |d         nd d	|v r"t        j                  j                  |d	         nd d
|v rt        |d
         
      S d 
      S )NrC   rD   r6   r7   r9   rE   rF   rG   rH   rA   )
r4   r5   r6   r7   r9   r:   r<   r=   r?   rA   )r   r   r$   r8   r	   FrameIdr   BrowserContextIDr   s     r   r   zTargetInfo.from_jsonZ   s    ((j)9:d6l#d7m$DK $z*+"4(9#:;>HD>Ph((j)9:VZM\`dMdDLL2243HIjn_quy_yw77AA$GYBZ[  @D,5,=CY(
 	
 DH
 	
r   )r%   r&   r'   __annotations__r<   r=   r?   rA   r   r(   r   r   r   r   r3   r3   +   st     JJ	H N  ,0I(/ 6:O29DHAH %)G!($ 
 
r   r3   c                  D    e Zd ZU dZdZded<   dZded<   d Zed        Z	y)	FilterEntryzI
    A filter used by target query/discovery/auto-attach operations.
    Ntyping.Optional[bool]excluder@   r5   c                    t               }| j                  | j                  |d<   | j                  | j                  |d<   |S )NrR   rD   )rI   rR   r5   rJ   s     r   r   zFilterEntry.to_jsonu   s<    v<<#"llDO::!::DLr   c                h     | d|v rt        |d         nd d|v rt        |d               S d       S )NrR   rD   )rR   r5   )r8   r$   r   s     r   r   zFilterEntry.from_json}   sC    -6$->Di)D'-~#d6l#
 	
;?
 	
r   )
r%   r&   r'   r1   rR   rN   r5   r   r(   r   r   r   r   rP   rP   j   s:     &*G") #'E& 
 
r   rP   c                  <     e Zd ZdZddZedd       Z fdZ xZS )TargetFiltera  
    The entries in TargetFilter are matched sequentially against targets and
    the first entry that matches determines if the target is included or not,
    depending on the value of ``exclude`` field in the entry.
    If filter is not specified, the one assumed is
    [{type: "browser", exclude: true}, {type: "tab", exclude: true}, {}]
    (i.e. include everything but ``browser`` and ``tab``).
    c                    | S r   r   r   s    r   r   zTargetFilter.to_json   r   r   c                     | |      S r   r   r   s     r   r   zTargetFilter.from_json   r   r   c                >    dj                  t        | 	               S )NzTargetFilter({})r   r    s    r   r   zTargetFilter.__repr__   s    !(()9);<<r   )r#   typing.List[FilterEntry])r   rZ   r#   rV   r0   r*   s   @r   rV   rV      s+      = =r   rV   c                  8    e Zd ZU ded<   ded<   d Zed        Zy)RemoteLocationr$   hostintportc                V    t               }| j                  |d<   | j                  |d<   |S )Nr]   r_   )rI   r]   r_   rJ   s     r   r   zRemoteLocation.to_json   s(    vyyVyyVr   c                F     | t        |d         t        |d               S )Nr]   r_   )r]   r_   )r$   r^   r   s     r   r   zRemoteLocation.from_json   s'    T&\"T&\"
 	
r   N)r%   r&   r'   rN   r   r(   r   r   r   r   r\   r\      s%    
I
I 
 
r   r\   c                  6    e Zd ZdZdZdZdZdZd Ze	d        Z
y)	WindowStatez)
    The state of the target window.
    normal	minimized	maximized
fullscreenc                    | j                   S r   )valuer   s    r   r   zWindowState.to_json   s    zzr   c                     | |      S r   r   r   s     r   r   zWindowState.from_json   r   r   N)r%   r&   r'   r1   NORMAL	MINIMIZED	MAXIMIZED
FULLSCREENr   r(   r   r   r   r   rc   rc      s6     FIIJ  r   rc   c              #  X   K   t               }| j                         |d<   d|d}|}yw)z@
    Activates (focuses) the target.

    :param target_id:
    rC   zTarget.activateTargetmethodparamsNrI   r   r4   rr   cmd_dictr   s       r   activate_targetrv      s8      &F"**,F:)H >D   (*c              #     K   t               }| j                         |d<   |||d<   d|d}|}t        j                  |d         S w)aZ  
    Attaches to the target with given id.

    :param target_id:
    :param flatten: *(Optional)* Enables "flat" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.
    :returns: Id assigned to the session.
    rC   flattenzTarget.attachToTargetrp   	sessionId)rI   r   r,   r   )r4   ry   rr   ru   r   s        r   attach_to_targetr{      s^      &F"**,F:#y)H >DtK011s   AAc               #  J   K   ddi} | }t         j                  |d         S w)z
    Attaches to the browser target, only uses flat sessionId mode.

    **EXPERIMENTAL**

    :returns: Id assigned to the session.
    rq   zTarget.attachToBrowserTargetrz   )r,   r   )ru   r   s     r   attach_to_browser_targetr}      s4      	0H >DtK011s   !#c              #  r   K   t               }| j                         |d<   d|d}|}t        |d         S w)z
    Closes the target. If the target is a page that gets closed too.

    :param target_id:
    :returns: Always set to true. If an error occurs, the response indicates protocol error.
    rC   zTarget.closeTargetrp   success)rI   r   r8   rt   s       r   close_targetr      sG      &F"**,F:&H >DY  s   57c              #  f   K   t               }| j                         |d<   |||d<   d|d}|}yw)aA  
    Inject object to the target's main frame that provides a communication
    channel with browser target.

    Injected object will be available as ``window[bindingName]``.

    The object has the following API:
    - ``binding.send(json)`` - a method to send messages over the remote debugging protocol
    - ``binding.onmessage = json => handleMessage(json)`` - a callback that will be called for the protocol notifications and command responses.

    **EXPERIMENTAL**

    :param target_id:
    :param binding_name: *(Optional)* Binding name, 'cdp' if not specified.
    rC   NbindingNamezTarget.exposeDevToolsProtocolrp   rs   )r4   binding_namerr   ru   r   s        r   expose_dev_tools_protocolr     sH     & &F"**,F: ,}1H >D   /1c              #     K   t               }| | |d<   |||d<   |||d<   ||D cg c]  }| c}|d<   d|d}|}t        j                  j                  |d         S c c}w w)a  
    Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than
    one.

    :param dispose_on_detach: **(EXPERIMENTAL)** *(Optional)* If specified, disposes this context when debugging session disconnects.
    :param proxy_server: **(EXPERIMENTAL)** *(Optional)* Proxy server, similar to the one passed to --proxy-server
    :param proxy_bypass_list: **(EXPERIMENTAL)** *(Optional)* Proxy bypass list, similar to the one passed to --proxy-bypass-list
    :param origins_with_universal_network_access: **(EXPERIMENTAL)** *(Optional)* An optional list of origins to grant unlimited cross-origin access to. Parts of the URL other than those constituting origin are ignored.
    :returns: The id of the context created.
    disposeOnDetachproxyServerproxyBypassList!originsWithUniversalNetworkAccesszTarget.createBrowserContextrp   rH   )rI   r   rM   r   )dispose_on_detachproxy_serverproxy_bypass_list%origins_with_universal_network_accessrr   iru   r   s           r   create_browser_contextr   &  s       &F$$5 ! ,}$$5 !,8Bg6hQq6h23/H >D##--d3E.FGG 7is   &A'	A"6A'c               #     K   ddi} | }|d   D cg c]!  }t         j                  j                  |      # c}S c c}w w)z
    Returns all browser contexts created with ``Target.createBrowserContext`` method.

    :returns: An array of browser context ids.
    rq   zTarget.getBrowserContextsbrowserContextIds)r   rM   r   )ru   r   r   s      r   get_browser_contextsr   G  sI      	-H >D;?@S;TUaG$$..q1UUUs   A &;A c              #  .  K   t               }| |d<   |||d<   |||d<   |||d<   |||d<   ||j                         |d<   ||j                         |d<   |||d<   |||d	<   |	|	|d
<   |
|
|d<   d|d}|}t        j                  |d         S w)a  
    Creates a new page.

    :param url: The initial URL the page will be navigated to. An empty string indicates about:blank.
    :param left: **(EXPERIMENTAL)** *(Optional)* Frame left origin in DIP (requires newWindow to be true or headless shell).
    :param top: **(EXPERIMENTAL)** *(Optional)* Frame top origin in DIP (requires newWindow to be true or headless shell).
    :param width: *(Optional)* Frame width in DIP (requires newWindow to be true or headless shell).
    :param height: *(Optional)* Frame height in DIP (requires newWindow to be true or headless shell).
    :param window_state: *(Optional)* Frame window state (requires newWindow to be true or headless shell). Default is normal.
    :param browser_context_id: **(EXPERIMENTAL)** *(Optional)* The browser context to create the page in.
    :param enable_begin_frame_control: **(EXPERIMENTAL)** *(Optional)* Whether BeginFrames for this target will be controlled via DevTools (headless shell only, not supported on MacOS yet, false by default).
    :param new_window: *(Optional)* Whether to create a new Window or Tab (false by default, not supported by headless shell).
    :param background: *(Optional)* Whether to create the target in background or foreground (false by default, not supported by headless shell).
    :param for_tab: **(EXPERIMENTAL)** *(Optional)* Whether to create the target of type "tab".
    :returns: The id of the page opened.
    r7   lefttopwidthheightwindowStaterH   enableBeginFrameControl	newWindow
backgroundforTabzTarget.createTargetrp   rC   )rI   r   r   r   )r7   r   r   r   r   window_stater?   enable_begin_frame_control
new_windowr   for_tabrr   ru   r   s                 r   create_targetr   T  s     : &FF5Mv
uw!x , 4 4 6}%%7%?%?%A!"!-,F()({)|"x'H >Dd:.//s   BBc              #     K   t               }| | j                         |d<   ||j                         |d<   d|d}|}yw)z
    Detaches session with given id.

    :param session_id: *(Optional)* Session to detach.
    :param target_id: *(Optional)* Deprecated.
    Nrz   rC   zTarget.detachFromTargetrp   rs   )
session_idr4   rr   ru   r   s        r   detach_from_targetr     sW      &F(002{&..0z+H >Ds   ?Ac              #  X   K   t               }| j                         |d<   d|d}|}yw)z
    Deletes a BrowserContext. All the belonging pages will be closed without calling their
    beforeunload hooks.

    :param browser_context_id:
    rH   zTarget.disposeBrowserContextrp   Nrs   )r?   rr   ru   r   s       r   dispose_browser_contextr     s9      &F!3!;!;!=F0H >Drw   c              #     K   t               }| | j                         |d<   d|d}|}t        j                  |d         S w)zv
    Returns information about a target.

    **EXPERIMENTAL**

    :param target_id: *(Optional)*
    :returns: 
    rC   zTarget.getTargetInforp   
targetInforI   r   r3   r   rt   s       r   get_target_infor     sT      &F&..0z(H >D\ 233s   AAc              #     K   t               }| | j                         |d<   d|d}|}|d   D cg c]  }t        j                  |       c}S c c}w w)a9  
    Retrieves a list of available targets.

    :param filter_: **(EXPERIMENTAL)** *(Optional)* Only targets matching filter will be reported. If filter is not specified and target discovery is currently enabled, a filter used for target discovery is used for consistency.
    :returns: The list of targets.
    filterzTarget.getTargetsrp   targetInfosr   )filter_rr   ru   r   r   s        r   get_targetsr     s`      &F"??,x%H >D-1--@AJ  #AAAs   0AAAc              #     K   t               }| |d<   ||j                         |d<   ||j                         |d<   d|d}|}yw)a+  
    Sends protocol message over session with given id.
    Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
    and crbug.com/991325.

    :param message:
    :param session_id: *(Optional)* Identifier of the session.
    :param target_id: *(Optional)* Deprecated.
    messageNrz   rC   zTarget.sendMessageToTargetrp   rs   )r   r   r4   rr   ru   r   s         r   send_message_to_targetr     sa      &FF9(002{&..0z.H >Ds   AAc              #  ~   K   t               }| |d<   ||d<   |||d<   ||j                         |d<   d|d}|}yw)a  
    Controls whether to automatically attach to new targets which are considered to be related to
    this one. When turned on, attaches to all existing related targets as well. When turned off,
    automatically detaches from all currently attached targets.
    This also clears all targets added by ``autoAttachRelated`` from the list of targets to watch
    for creation of related targets.

    :param auto_attach: Whether to auto-attach to related targets.
    :param wait_for_debugger_on_start: Whether to pause new targets when attaching to them. Use ```Runtime.runIfWaitingForDebugger``` to run paused targets.
    :param flatten: **(EXPERIMENTAL)** *(Optional)* Enables "flat" access to the session via specifying sessionId attribute in the commands. We plan to make this the default, deprecate non-flattened mode, and eventually retire it. See crbug.com/991325.
    :param filter_: **(EXPERIMENTAL)** *(Optional)* Only targets matching filter will be attached.
    
autoAttachwaitForDebuggerOnStartNry   r   zTarget.setAutoAttachrp   rs   )auto_attachwait_for_debugger_on_startry   r   rr   ru   r   s          r   set_auto_attachr     sa     $ &F&F<'AF#$#y"??,x(H >Ds   ;=c              #     K   t               }| j                         |d<   ||d<   ||j                         |d<   d|d}|}yw)a  
    Adds the specified target to the list of targets that will be monitored for any related target
    creation (such as child frames, child workers and new versions of service worker) and reported
    through ``attachedToTarget``. The specified target is also auto-attached.
    This cancels the effect of any previous ``setAutoAttach`` and is also cancelled by subsequent
    ``setAutoAttach``. Only available at the Browser target.

    **EXPERIMENTAL**

    :param target_id:
    :param wait_for_debugger_on_start: Whether to pause new targets when attaching to them. Use ```Runtime.runIfWaitingForDebugger``` to run paused targets.
    :param filter_: **(EXPERIMENTAL)** *(Optional)* Only targets matching filter will be attached.
    rC   r   Nr   zTarget.autoAttachRelatedrp   rs   )r4   r   r   rr   ru   r   s         r   auto_attach_relatedr     sZ     $ &F"**,F:'AF#$"??,x,H >Ds   AAc              #  f   K   t               }| |d<   ||j                         |d<   d|d}|}yw)al  
    Controls whether to discover available targets and notify via
    ``targetCreated/targetInfoChanged/targetDestroyed`` events.

    :param discover: Whether to discover available targets.
    :param filter_: **(EXPERIMENTAL)** *(Optional)* Only targets matching filter will be attached. If ```discover```` is false, ````filter``` must be omitted or empty.
    discoverNr   zTarget.setDiscoverTargetsrp   rs   )r   r   rr   ru   r   s        r   set_discover_targetsr   :  sF      &F!F:"??,x-H >Dr   c              #  ~   K   t               }| D cg c]  }|j                          c}|d<   d|d}|}yc c}w w)z
    Enables target discovery for the specified locations, when ``setDiscoverTargets`` was set to
    ``true``.

    **EXPERIMENTAL**

    :param locations: List of remote locations.
    	locationszTarget.setRemoteLocationsrp   Nrs   )r   rr   r   ru   r   s        r   set_remote_locationsr   P  sE      &F09:1199;:F;-H >D ;s   =8=zTarget.attachedToTargetc                  B    e Zd ZU dZded<   ded<   ded<   ed
d       Zy	)AttachedToTargetzt
    **EXPERIMENTAL**

    Issued when attached to target because of auto-attach or ``attachToTarget`` command.
    r,   r   r3   target_infor8   waiting_for_debuggerc                     | t         j                  |d         t        j                  |d         t        |d               S )Nrz   r   waitingForDebugger)r   r   r   )r,   r   r3   r8   r   s     r   r   zAttachedToTarget.from_jsonq  sC     **4+<=",,T,-?@!%d+?&@!A
 	
r   N)r   r   r#   r   r%   r&   r'   r1   rN   r(   r   r   r   r   r   r   d  s-     
 
r   r   zTarget.detachedFromTargetc                  8    e Zd ZU dZded<   ded<   edd       Zy)	DetachedFromTargetz
    **EXPERIMENTAL**

    Issued when detached from target for any reason (including ``detachFromTarget`` command). Can be
    issued multiple times per target if multiple sessions have been attached to it.
    r,   r   r;   r4   c                     | t         j                  |d         d|v rt        j                  |d               S d       S )Nrz   rC   )r   r4   )r,   r   r   r   s     r   r   zDetachedFromTarget.from_json  sI     **4+<=>HD>Ph((j)9:
 	
VZ
 	
r   N)r   r   r#   r   r   r   r   r   r   r   z  s'     ((
 
r   r   z Target.receivedMessageFromTargetc                  B    e Zd ZU dZded<   ded<   ded<   ed
d       Zy	)ReceivedMessageFromTargetzz
    Notifies about a new protocol message received from the session (as reported in
    ``attachedToTarget`` event).
    r,   r   r$   r   r;   r4   c                     | t         j                  |d         t        |d         d|v rt        j                  |d               S d       S )Nrz   r   rC   )r   r   r4   )r,   r   r$   r   r   s     r   r   z#ReceivedMessageFromTarget.from_json  sY     **4+<=Y(>HD>Ph((j)9:
 	
 W[
 	
r   N)r   r   r#   r   r   r   r   r   r   r     s,    
 L((
 
r   r   zTarget.targetCreatedc                  .    e Zd ZU dZded<   edd       Zy)TargetCreatedz>
    Issued when a possible inspection target is created.
    r3   r   c                @     | t         j                  |d               S Nr   )r   r3   r   r   s     r   r   zTargetCreated.from_json  "    ",,T,-?@
 	
r   N)r   r   r#   r   r   r   r   r   r   r     s!     
 
r   r   zTarget.targetDestroyedc                  .    e Zd ZU dZded<   edd       Zy)TargetDestroyedz,
    Issued when a target is destroyed.
    r   r4   c                @     | t         j                  |d               S )NrC   )r4   )r   r   r   s     r   r   zTargetDestroyed.from_json  s"    ((j)9:
 	
r   N)r   r   r#   r   r   r   r   r   r   r     s!     
 
r   r   zTarget.targetCrashedc                  B    e Zd ZU dZded<   ded<   ded<   ed
d       Zy	)TargetCrashedz+
    Issued when a target has crashed.
    r   r4   r$   statusr^   
error_codec                t     | t         j                  |d         t        |d         t        |d               S )NrC   r   	errorCode)r4   r   r   )r   r   r$   r^   r   s     r   r   zTargetCrashed.from_json  s;    ((j)9:tH~&4,-
 	
r   N)r   r   r#   r   r   r   r   r   r   r     s+     KO
 
r   r   zTarget.targetInfoChangedc                  .    e Zd ZU dZded<   edd       Zy)TargetInfoChangedz
    Issued when some information about a target has changed. This only happens between
    ``targetCreated`` and ``targetDestroyed``.
    r3   r   c                @     | t         j                  |d               S r   r   r   s     r   r   zTargetInfoChanged.from_json  r   r   N)r   r   r#   r   r   r   r   r   r   r     s!     
 
r   r   )r4   r   r#   0typing.Generator[T_JSON_DICT, T_JSON_DICT, None]r   )r4   r   ry   rQ   r#   5typing.Generator[T_JSON_DICT, T_JSON_DICT, SessionID])r#   r   )r4   r   r#   z0typing.Generator[T_JSON_DICT, T_JSON_DICT, bool])r4   r   r   r@   r#   r   )NNNN)
r   rQ   r   r@   r   r@   r   z!typing.Optional[typing.List[str]]r#   zDtyping.Generator[T_JSON_DICT, T_JSON_DICT, browser.BrowserContextID])r#   zQtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[browser.BrowserContextID]])
NNNNNNNNNN)r7   r$   r   typing.Optional[int]r   r   r   r   r   r   r   ztyping.Optional[WindowState]r?   r>   r   rQ   r   rQ   r   rQ   r   rQ   r#   z4typing.Generator[T_JSON_DICT, T_JSON_DICT, TargetID])NN)r   typing.Optional[SessionID]r4   r;   r#   r   )r?   zbrowser.BrowserContextIDr#   r   )r4   r;   r#   z6typing.Generator[T_JSON_DICT, T_JSON_DICT, TargetInfo])r   typing.Optional[TargetFilter]r#   zCtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[TargetInfo]])r   r$   r   r   r4   r;   r#   r   )
r   r8   r   r8   ry   rQ   r   r   r#   r   )r4   r   r   r8   r   r   r#   r   )r   r8   r   r   r#   r   )r   ztyping.List[RemoteLocation]r#   r   ).
__future__r   utilr   r   dataclassesr   enumtyping r   r	   r$   r   r,   r3   rP   listrV   r\   Enumrc   rv   r{   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>r      sW   # * !    	9s 	9: : ;
 ;
 ;
| 
 
 
4=4 =( 
 
 
&$)) "	7& *.22&2 
=2.2!!	7!* .2* 
8> 48-126SW	H0H*H 0H 0Q	H
 
LHB
V &*$(&*'+59HL<@,0,0)-8080"80 "80 $	80
 %80 380 F80 %:80 *80 *80 '80 
<80x 26/3., 
8,4	7& 044,4	=4. 26B.B	JB, 26/3. - 
8	< *.15	$( ' /	
 
8F 26$( / 
8	@ 26. 
8,.	7( &'

 
  (
( ()

 
  *
( /0

 
  1
( #$


 

  %

 %&


 

  '

 #$

 
  %
& '(

 
  )
r   