
    +js                     L    d dl Z d dlmZ d dlZ G d d          ZdeiZddiZdS )    N)IOc                   P    e Zd Zed             Zej        fZdZdZ	dZ
g dZddZdS )	
PreviewAnyc                 &    ddt           j        i fiiS )Nrequiredsource)r   ANY)clss    >/home/wildlama/comfy/ComfyUI/comfy_extras/nodes_preview_any.pyINPUT_TYPESzPreviewAny.INPUT_TYPES	   s     BFB<0
 	
    mainT	utilities)zshow outputinspectdebugzprint valuez	show textNc                    t          j        d           d}t          |t                    r|}nt          |t          t
          t          f          rt          |          }nM|K	 t          j        |d          }n3# t          $ r& 	 t          |          }n# t          $ r d}Y nw xY wY nw xY wt          j                     d|fi|fdS )	N   )	edgeitemsNone   )indentz+source exists, but could not be serialized.text)uiresult)
torchset_printoptions
isinstancestrintfloatbooljsondumps	Exception)selfr   values      r   r   zPreviewAny.main   s   ++++fc"" 	JEEeT 233 		JKKEEJ
6!444 J J JJKKEE  J J JIEEEJJ 	   x(UH===s6   %A< <
B,BB,B&#B,%B&&B,+B,)N)__name__
__module____qualname__classmethodr   r   STRINGRETURN_TYPESFUNCTIONOUTPUT_NODECATEGORYSEARCH_ALIASESr    r   r   r   r      sf        
 
 [

 I<LHKHTTTN> > > > > >r   r   zPreview as Text)r"   comfy.comfy_types.node_typingr   r   r   NODE_CLASS_MAPPINGSNODE_DISPLAY_NAME_MAPPINGSr1   r   r   <module>r5      sw     , , , , , , 
> > > > > > > >D * 
 #   r   