
    6Dh
                     B    S SK Jr  S SKJr  \" S5      rS rS r\\S.rg)   )	Undefined)
get_modulenumpyc           	      ~   [        U [        5      (       a/  U R                  5        VV s0 s H  u  p U[        X5      _M     sn n$ [        U [        [
        45      (       a  U  V s/ s H  n [        X5      PM     sn $ [        b  [        U [        R                  5      (       a  U R                  S:X  af  U R                  R                  S;   aL  U R                  S:w  a<  U R                  S:w  a,  [        U 5      [        U R                  5      U R                  S.$ U R                  5       $ U [        L a  gU $ s  sn nf s  sn f )ax  
Python -> Javascript ipywidget serializer

This function must repalce all objects that the ipywidget library
can't serialize natively (e.g. numpy arrays) with serializable
representations

Parameters
----------
v
    Object to be serialized
widget_manager
    ipywidget widget_manager (unused)

Returns
-------
any
    Value that the ipywidget library can serialize natively
r   )uifint64uint64)bufferdtypeshape_undefined_)
isinstancedictitems	_py_to_jslisttuplenpndarrayndimr   kind
memoryviewstrr   tolistr   vwidget_managerks      D/var/www/html/env/lib/python3.13/site-packages/plotly/serializers.pyr   r      s    . !T<=GGIFIDA9Q//IFF 
Ae}	%	%678a	!,a88 
Jq"**55 FFaK/7"8#
 )mc!''lQWWUU 88: 	I~
 E G
 9s   D4$D:c           	      T   [        U [        5      (       a/  U R                  5        VV s0 s H  u  p U[        X5      _M     sn n$ [        U [        [
        45      (       a  U  V s/ s H  n [        X5      PM     sn $ [        U [        5      (       a  U S:X  a  [        $ U $ s  sn nf s  sn f )z
Javascript -> Python ipywidget deserializer

Parameters
----------
v
    Object to be deserialized
widget_manager
    ipywidget widget_manager (unused)

Returns
-------
any
    Deserialized object for use by the Python side of the library
r   )r   r   r   	_js_to_pyr   r   r   r   r   s      r!   r#   r#   D   s    $ !T<=GGIFIDA9Q//IFF 
Ae}	%	%678a	!,a88 
As		] 2
  G
 9s   B$B%)	from_jsonto_jsonN)basedatatypesr   optional_importsr   r   r   r#   custom_serializers     r!   <module>r+      s.    $ (:z"L $-C r*   