+
    òÄPjS  ã                   óP   € ^ RI t ^ RIt^ RIHt ^ RIHt ^ RIHt  ! R R]4      tR# )é    N)Úunquote)ÚAbstractFileSystem)Ústringify_pathc                   ó„   a a€ ] tR t^	t oRtRtV 3R lt]R 4       tRR lt	R t
RR lt]RV3R lR	 ll4       tR
tVtV ;t# )ÚDataFileSystemzàA handy decoder for data-URLs

Example
-------
>>> with fsspec.open("data:,Hello%2C%20World%21") as f:
...     print(f.read())
b"Hello, World!"

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs
Údatac                ó(   <€ \         SV `  ! R/ VB  R# )z!No parameters for this filesystemN© )ÚsuperÚ__init__)ÚselfÚkwargsÚ	__class__s   &,€Út/Users/ahmed/devFolder/Ultron/claude-voice/gateway/.venv/lib/python3.14/site-packages/fsspec/implementations/data.pyr   ÚDataFileSystem.__init__   s   ø€ ä‰ÒÑ"˜6Ô"ó    c                ó  € \        V\        4      '       d!   V Uu. uF  q P                  V4      NK  	  up# \        V4      pVP	                  R 4      '       d   VR,          pV# VP	                  R4      '       d
   VR,          pV# u upi )zdata://:é   NNúdata::é   NN)Ú
isinstanceÚlistÚ_strip_protocolr   Ú
startswith)ÚclsÚpathÚps   && r   r   ÚDataFileSystem._strip_protocol   s|   € ädœD×!Ò!Ù48Ó9±D¨q×'Ñ'¨Ö*±DÑ9Ð9Ü˜dÓ#ˆØ?‰?˜9×%Ò%Ø˜•8ˆDð
 ˆð	 _‰_˜W×%Ò%Ø˜•8ˆDð ˆùò :s   ›Bc                ó¾   € VP                  R ^4      w  rVVP                  R4      '       d   \        P                  ! V4      W# # \	        V4      P                  4       W# # )Ú,Úbase64)ÚsplitÚendswithr!   Ú	b64decoder   Úencode)r   r   ÚstartÚendr   Úprefr   s   &&&&,  r   Úcat_fileÚDataFileSystem.cat_file(   sQ   € Ø—Z‘Z  QÓ'‰
ˆØ=‰=˜×"Ò"Ü×#Ò# DÓ)¨%Ð4Ð4Üt‹}×#Ñ#Ó% eÐ0Ð0r   c                óÒ   € VP                  R ^4      w  r4V P                  V4      pVP                  R^4      ^,          P                  R^4      ^ ,          pRVR\        V4      RRRV/# )r    Ú:Ú;ÚnameÚsizeÚtypeÚfileÚmimetype)r"   r)   Úlen)r   r   r   r(   r.   r   Úmimes   &&,    r   ÚinfoÚDataFileSystem.info.   sd   € Ø—Z‘Z  QÓ'‰
ˆØ}‰}˜TÓ"ˆØz‰z˜#˜qÓ! !Õ$×*Ñ*¨3°Ó2°1Õ5ˆØ˜˜f¤c¨$£i°¸ÀÈTÐRÐRr   c                óp   € R V9  d   \        R4      h\        P                  ! V P                  V4      4      # )ÚrzRead only filesystem)Ú
ValueErrorÚioÚBytesIOr)   )r   r   ÚmodeÚ
block_sizeÚ
autocommitÚcache_optionsr   s   &&&&&&,r   Ú_openÚDataFileSystem._open4   s/   € ð dŒ?ÜÐ3Ó4Ð4ÜzŠz˜$Ÿ-™-¨Ó-Ó.Ð.r   c                ó4   <€ V ^8„  d   QhRS[ RS[R,          /# )é   r   r4   N)ÚbytesÚstr)ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚDataFileSystem.__annotate__B   s#   ø€ ÷ Mñ M‘Uð M¡#¨¥*ñ Mr   c                ój   € RT;'       g    R R\         P                  ! V 4      P                  4        2# )zvFormat the given data into data-URL syntax

This version always base64 encodes, even when the data is ascii/url-safe.
r   Ú z;base64,)r!   Ú	b64encodeÚdecode)r   r4   s   &&r   r%   ÚDataFileSystem.encodeA   s2   € ð t—zz˜rl (¬6×+;Ò+;¸DÓ+A×+HÑ+HÓ+JÐ*KÐLÐLr   r
   )NN)ÚrbNTN)N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úprotocolr   Úclassmethodr   r)   r5   r@   Ústaticmethodr%   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r   rG   s   @@r   r   r   	   s\   ù‡ € ñ	ð €Hõ#ð ñ
ó ð
ô1òSô/ð ÷Mñ Mó ÷Mð Mr   r   )	r!   r:   Úurllib.parser   Úfsspecr   Úfsspec.utilsr   r   r
   r   r   Ú<module>r^      s#   ðÛ Û 	Ý  å %Ý 'ô>MÐ'ö >Mr   