Ë
    `§1hN  ã                  óV  — 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 G d„ dej                  «      Z
e G d„ d	«      «       Ze G d
„ d«      «       Ze G d„ d«      «       Ze G d„ d«      «       Zdd„Zdd„Zdd„Zdd„Z	 	 	 	 dd„Z	 	 	 	 dd„Z	 	 d 	 	 	 	 	 d!d„Zdd„Zd"d„Zd"d„Zd"d„Zy)#é    )Úannotationsé   )Úevent_classÚT_JSON_DICT)Ú	dataclassNc                  ó.   — e Zd ZdZdZdZd„ Zed„ «       Zy)ÚPressureLevelz 
    Memory pressure level.
    ÚmoderateÚcriticalc                ó   — | j                   S ©N)Úvalue)Úselfs    úl/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/selenium/webdriver/common/devtools/v136/memory.pyÚto_jsonzPressureLevel.to_json   s   € Ø�z‰zÐó    c                ó   —  | |«      S r   © ©ÚclsÚjsons     r   Ú	from_jsonzPressureLevel.from_json   s   € á�4‹yÐr   N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚMODERATEÚCRITICALr   Úclassmethodr   r   r   r   r	   r	      s,   „ ñð €HØ€Hòð ñó ñr   r	   c                  óF   — e Zd ZU dZded<   ded<   ded<   d„ Zed„ «       Zy	)
ÚSamplingProfileNodez
    Heap profile sample.
    ÚfloatÚsizeÚtotalztyping.List[str]Ústackc                óš   — t        «       }| j                  |d<   | j                  |d<   | j                  D �cg c]  }|‘Œ c}|d<   |S c c}w )Nr#   r$   r%   )Údictr#   r$   r%   ©r   r   Úis      r   r   zSamplingProfileNode.to_json*   sE   € Ü‹vˆØ—y‘yˆˆV‰ØŸ
™
ˆˆW‰Ø$(§J¡JÖ/˜qšÒ/ˆˆW‰Øˆùò 0s   ·	Ac           
     ó†   —  | t        |d   «      t        |d   «      |d   D �cg c]  }t        |«      ‘Œ c}¬«      S c c}w )Nr#   r$   r%   )r#   r$   r%   )r"   Ústr©r   r   r)   s      r   r   zSamplingProfileNode.from_json1   sB   € áÜ�t˜F‘|Ó$Ü˜˜W™Ó&Ø#'¨¡=Ö1˜a”3�q•6Ò1ô
ð 	
ùò 2s   ¤>N©r   r   r   r   Ú__annotations__r   r   r   r   r   r   r!   r!      s6   … ñð ƒKð ƒLð Óòð ñ
ó ñ
r   r!   c                  ó<   — e Zd ZU dZded<   ded<   d„ Zed„ «       Zy)	ÚSamplingProfilez(
    Array of heap profile samples.
    z typing.List[SamplingProfileNode]Úsamplesztyping.List[Module]Úmodulesc                óÚ   — t        «       }| j                  D �cg c]  }|j                  «       ‘Œ c}|d<   | j                  D �cg c]  }|j                  «       ‘Œ c}|d<   |S c c}w c c}w )Nr1   r2   )r'   r1   r   r2   r(   s      r   r   zSamplingProfile.to_jsonC   sR   € Ü‹vˆØ04·±Ö=¨1˜1Ÿ9™9�;Ò=ˆˆY‰Ø04·±Ö=¨1˜1Ÿ9™9�;Ò=ˆˆY‰Øˆùò >ùÚ=s   ™A#ÁA(c           	     óº   —  | |d   D �cg c]  }t         j                  |«      ‘Œ c}|d   D �cg c]  }t        j                  |«      ‘Œ c}¬«      S c c}w c c}w )Nr1   r2   )r1   r2   )r!   r   ÚModuler,   s      r   r   zSamplingProfile.from_jsonI   sP   € áØ?CÀI¹ÖO¸!Ô(×2Ñ2°1Õ5ÒOØ26°y±/ÖB¨Q”V×%Ñ% aÕ(ÒBô
ð 	
ùÚOùÚBs
   ŠA¯A
Nr-   r   r   r   r0   r0   :   s.   … ñð .Ó-à Ó òð ñ
ó ñ
r   r0   c                  óP   — e Zd ZU dZded<   ded<   ded<   ded<   d„ Zed	„ «       Zy
)r5   z'
    Executable module information
    r+   ÚnameÚuuidÚbase_addressr"   r#   c                ó’   — t        «       }| j                  |d<   | j                  |d<   | j                  |d<   | j                  |d<   |S )Nr7   r8   ÚbaseAddressr#   )r'   r7   r8   r9   r#   ©r   r   s     r   r   zModule.to_jsonc   sE   € Ü‹vˆØ—y‘yˆˆV‰Ø—y‘yˆˆV‰Ø"×/Ñ/ˆˆ]ÑØ—y‘yˆˆV‰Øˆr   c           	     óz   —  | t        |d   «      t        |d   «      t        |d   «      t        |d   «      ¬«      S )Nr7   r8   r;   r#   )r7   r8   r9   r#   )r+   r"   r   s     r   r   zModule.from_jsonk   s@   € áÜ�T˜&‘\Ó"Ü�T˜&‘\Ó"Ü˜T -Ñ0Ó1Ü�t˜F‘|Ó$ô	
ð 	
r   Nr-   r   r   r   r5   r5   Q   s=   … ñð ƒIð ƒIð Óð ƒKòð ñ
ó ñ
r   r5   c                  ó<   — e Zd ZU dZded<   ded<   d„ Zed„ «       Zy)	Ú
DOMCounterz"
    DOM object counter data.
    r+   r7   ÚintÚcountc                óV   — t        «       }| j                  |d<   | j                  |d<   |S )Nr7   rA   )r'   r7   rA   r<   s     r   r   zDOMCounter.to_json�   s(   € Ü‹vˆØ—y‘yˆˆV‰ØŸ
™
ˆˆW‰Øˆr   c                óF   —  | t        |d   «      t        |d   «      ¬«      S )Nr7   rA   )r7   rA   )r+   r@   r   s     r   r   zDOMCounter.from_json‡   s'   € áÜ�T˜&‘\Ó"Ü�d˜7‘mÓ$ô
ð 	
r   Nr-   r   r   r   r?   r?   u   s.   … ñð
 ƒIð ƒJòð ñ
ó ñ
r   r?   c               #  ól   K  — ddi} | –—}t        |d   «      t        |d   «      t        |d   «      fS ­w)z·
    Retruns current DOM object counters.

    :returns: A tuple with the following items:

        0. **documents** - 
        1. **nodes** - 
        2. **jsEventListeners** - 
    ÚmethodzMemory.getDOMCountersÚ	documentsÚnodesÚjsEventListeners)r@   ©Úcmd_dictr   s     r   Úget_dom_countersrK   �   sO   è ø€ ð 	Ð)ð€Hð ‰>€DäˆD�ÑÓÜˆD�‰MÓÜˆDÐ#Ñ$Ó%ðð ùs   ‚24c               #  óp   K  — ddi} | –—}|d   D �cg c]  }t         j                  |«      ‘Œ c}S c c}w ­w)zv
    Retruns DOM object counters after preparing renderer for leak detection.

    :returns: DOM object counters.
    rE   z%Memory.getDOMCountersForLeakDetectionÚcounters)r?   r   )rJ   r   r)   s      r   Ú#get_dom_counters_for_leak_detectionrN   ¤   sB   è ø€ ð 	Ð9ð€Hð ‰>€DØ-1°*Ñ-=Ö>¨ŒJ× Ñ  Õ#Ò>Ð>ùÒ>ùs   ‚6’1®6c               #  ó   K  — ddi} | –—}y­w)z£
    Prepares for leak detection by terminating workers, stopping spellcheckers,
    dropping non-essential internal caches, running garbage collections, etc.
    rE   zMemory.prepareForLeakDetectionNr   rI   s     r   Úprepare_for_leak_detectionrP   ±   s   è ø€ ð 	Ð2ð€Hð ‰>�Dùó   ‚
c               #  ó   K  — ddi} | –—}y­w)z8
    Simulate OomIntervention by purging V8 memory.
    rE   z$Memory.forciblyPurgeJavaScriptMemoryNr   rI   s     r   Ú!forcibly_purge_java_script_memoryrS   ¼   s   è ø€ ð
 	Ð8ð€Hð ‰>�DùrQ   c              #  ó<   K  — t        «       }| |d<   d|dœ}|–—}y­w)z§
    Enable/disable suppressing memory pressure notifications in all processes.

    :param suppressed: If true, memory pressure notifications will be suppressed.
    Ú
suppressedz)Memory.setPressureNotificationsSuppressed©rE   ÚparamsN©r'   )rU   rW   rJ   r   s       r   Ú%set_pressure_notifications_suppressedrY   Æ   s/   è ø€ ô ›&€FØ%€Fˆ<Ñà=Øñ€Hð ‰>�Dùs   ‚c              #  óX   K  — t        «       }| j                  «       |d<   d|dœ}|–—}y­w)z�
    Simulate a memory pressure notification in all processes.

    :param level: Memory pressure level of the notification.
    Úlevelz#Memory.simulatePressureNotificationrV   N)r'   r   )r[   rW   rJ   r   s       r   Úsimulate_pressure_notificationr\   ×   s4   è ø€ ô ›&€FØ—m‘m“o€Fˆ7�Oà7Øñ€Hð ‰>�Dùs   ‚(*c              #  óN   K  — t        «       }| �| |d<   |�||d<   d|dœ}|–—}y­w)zß
    Start collecting native memory profile.

    :param sampling_interval: *(Optional)* Average number of bytes between samples.
    :param suppress_randomness: *(Optional)* Do not randomize intervals between samples.
    NÚsamplingIntervalÚsuppressRandomnesszMemory.startSamplingrV   rX   )Úsampling_intervalÚsuppress_randomnessrW   rJ   r   s        r   Ústart_samplingrb   è   sG   è ø€ ô ›&€FØÐ$Ø%6ˆÐ!Ñ"ØÐ&Ø':ˆÐ#Ñ$à(Øñ€Hð ‰>�Dùs   ‚#%c               #  ó   K  — ddi} | –—}y­w)z0
    Stop collecting native memory profile.
    rE   zMemory.stopSamplingNr   rI   s     r   Ústop_samplingrd   þ   s   è ø€ ð
 	Ð'ð€Hð ‰>�DùrQ   c               #  óJ   K  — ddi} | –—}t         j                  |d   «      S ­w)zr
    Retrieve native memory allocations profile
    collected since renderer process startup.

    :returns: 
    rE   z Memory.getAllTimeSamplingProfileÚprofile©r0   r   rI   s     r   Úget_all_time_sampling_profilerh     ó3   è ø€ ð 	Ð4ð€Hð ‰>€DÜ×$Ñ$ T¨)¡_Ó5Ð5ùó   ‚!#c               #  óJ   K  — ddi} | –—}t         j                  |d   «      S ­w)zq
    Retrieve native memory allocations profile
    collected since browser process startup.

    :returns: 
    rE   z Memory.getBrowserSamplingProfilerf   rg   rI   s     r   Úget_browser_sampling_profilerl     ri   rj   c               #  óJ   K  — ddi} | –—}t         j                  |d   «      S ­w)zu
    Retrieve native memory allocations profile collected since last
    ``startSampling`` call.

    :returns: 
    rE   zMemory.getSamplingProfilerf   rg   rI   s     r   Úget_sampling_profilern   $  s3   è ø€ ð 	Ð-ð€Hð ‰>€DÜ×$Ñ$ T¨)¡_Ó5Ð5ùrj   )ÚreturnzGtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.Tuple[int, int, int]])ro   zCtyping.Generator[T_JSON_DICT, T_JSON_DICT, typing.List[DOMCounter]])ro   ú0typing.Generator[T_JSON_DICT, T_JSON_DICT, None])rU   Úboolro   rp   )r[   r	   ro   rp   )NN)r`   ztyping.Optional[int]ra   ztyping.Optional[bool]ro   rp   )ro   z;typing.Generator[T_JSON_DICT, T_JSON_DICT, SamplingProfile])Ú
__future__r   Úutilr   r   Údataclassesr   ÚenumÚtypingÚEnumr	   r!   r0   r5   r?   rK   rN   rP   rS   rY   r\   rb   rd   rh   rl   rn   r   r   r   ú<module>rx      s  ðõ #ß *Ý !Û Û ô�D—I‘Iô ð ÷
ð 
ó ð
ð: ÷
ð 
ó ð
ð, ÷ 
ð  
ó ð 
ðF ÷
ð 
ó ð
ó2ó*
?óóðØðà	7óð"Øðà	7óð$ 37Ø59ðØ/ðà2ðð 
8óó,ó6ó6ô6r   