§
    ‚Štj"™  ã                   ó¸  — d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl	Z
d dlmZ d dlmZ ddlmZ dd	lmZ dd
lmZ ddlmZmZmZmZ ddlmZmZ ddlmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z( ddl)m*Z*m+Z+ ddl,m-Z- ddl.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7  e$¦   «         rd dl8Z8 e&¦   «         rd dl9m:c m;c m<Z=  e¦   «         rddlm>Z>  e'j?        e@¦  «        ZAdZB e"deB¦  «         e-d¬¦  «         G d„ de¦  «        ¦   «         ¦   «         ZC e#eCjD        ¦  «        eC_D        eCjD        jE        �.eCjD        jE         F                    ddd¬¦  «        eCjD        _E        dS dS )é    N)ÚCallable)Úpartial)ÚAny)Úis_offline_mode)Úvalidate_typed_dicté   )Úcustom_object_save)ÚTorchvisionBackend)ÚBatchFeature)ÚChannelDimensionÚSizeDictÚis_vision_availableÚvalidate_kwargs)ÚUnpackÚVideosKwargs)ÚIMAGE_PROCESSOR_NAMEÚPROCESSOR_NAMEÚVIDEO_PROCESSOR_NAMEÚ
TensorTypeÚadd_start_docstringsÚ	copy_funcÚis_torch_availableÚis_torchcodec_availableÚis_torchvision_v2_availableÚloggingÚsafe_load_json_file)Úcached_fileÚhf_api)Úrequires)	Ú
VideoInputÚVideoMetadataÚgroup_videos_by_shapeÚinfer_channel_dimension_formatÚis_valid_videoÚ
load_videoÚmake_batched_metadataÚmake_batched_videosÚreorder_videos)ÚPILImageResamplingaÊ  
    Args:
        do_resize (`bool`, *optional*, defaults to `self.do_resize`):
            Whether to resize the video's (height, width) dimensions to the specified `size`. Can be overridden by the
            `do_resize` parameter in the `preprocess` method.
        size (`dict`, *optional*, defaults to `self.size`):
            Size of the output video after resizing. Can be overridden by the `size` parameter in the `preprocess`
            method.
        size_divisor (`int`, *optional*, defaults to `self.size_divisor`):
            The size by which to make sure both the height and width can be divided.
        default_to_square (`bool`, *optional*, defaults to `self.default_to_square`):
            Whether to default to a square video when resizing, if size is an int.
        resample (`PILImageResampling`, *optional*, defaults to `self.resample`):
            Resampling filter to use if resizing the video. Only has an effect if `do_resize` is set to `True`. Can be
            overridden by the `resample` parameter in the `preprocess` method.
        do_center_crop (`bool`, *optional*, defaults to `self.do_center_crop`):
            Whether to center crop the video to the specified `crop_size`. Can be overridden by `do_center_crop` in the
            `preprocess` method.
        crop_size (`dict[str, int]` *optional*, defaults to `self.crop_size`):
            Size of the output video after applying `center_crop`. Can be overridden by `crop_size` in the `preprocess`
            method.
        do_rescale (`bool`, *optional*, defaults to `self.do_rescale`):
            Whether to rescale the video by the specified scale `rescale_factor`. Can be overridden by the
            `do_rescale` parameter in the `preprocess` method.
        rescale_factor (`int` or `float`, *optional*, defaults to `self.rescale_factor`):
            Scale factor to use if rescaling the video. Only has an effect if `do_rescale` is set to `True`. Can be
            overridden by the `rescale_factor` parameter in the `preprocess` method.
        do_normalize (`bool`, *optional*, defaults to `self.do_normalize`):
            Whether to normalize the video. Can be overridden by the `do_normalize` parameter in the `preprocess`
            method. Can be overridden by the `do_normalize` parameter in the `preprocess` method.
        image_mean (`float` or `list[float]`, *optional*, defaults to `self.image_mean`):
            Mean to use if normalizing the video. This is a float or list of floats the length of the number of
            channels in the video. Can be overridden by the `image_mean` parameter in the `preprocess` method. Can be
            overridden by the `image_mean` parameter in the `preprocess` method.
        image_std (`float` or `list[float]`, *optional*, defaults to `self.image_std`):
            Standard deviation to use if normalizing the video. This is a float or list of floats the length of the
            number of channels in the video. Can be overridden by the `image_std` parameter in the `preprocess` method.
            Can be overridden by the `image_std` parameter in the `preprocess` method.
        do_convert_rgb (`bool`, *optional*, defaults to `self.image_std`):
            Whether to convert the video to RGB.
        video_metadata (`VideoMetadata`, *optional*):
            Metadata of the video containing information about total duration, fps and total number of frames.
        do_sample_frames (`int`, *optional*, defaults to `self.do_sample_frames`):
            Whether to sample frames from the video before processing or to process the whole video.
        num_frames (`int`, *optional*, defaults to `self.num_frames`):
            Maximum number of frames to sample when `do_sample_frames=True`.
        fps (`int` or `float`, *optional*, defaults to `self.fps`):
            Target frames to sample per second when `do_sample_frames=True`.
        return_tensors (`str` or `TensorType`, *optional*):
            Returns stacked tensors if set to `pt, otherwise returns a list of tensors.
        data_format (`ChannelDimension` or `str`, *optional*, defaults to `ChannelDimension.FIRST`):
            The channel dimension format for the output video. Can be one of:
            - `"channels_first"` or `ChannelDimension.FIRST`: video in (num_channels, height, width) format.
            - `"channels_last"` or `ChannelDimension.LAST`: video in (height, width, num_channels) format.
            - Unset: Use the channel dimension format of the input video.
        input_data_format (`ChannelDimension` or `str`, *optional*):
            The channel dimension format for the input video. If unset, the channel dimension format is inferred
            from the input video. Can be one of:
            - `"channels_first"` or `ChannelDimension.FIRST`: video in (num_channels, height, width) format.
            - `"channels_last"` or `ChannelDimension.LAST`: video in (height, width, num_channels) format.
            - `"none"` or `ChannelDimension.NONE`: video in (height, width) format.
        device (`torch.device`, *optional*):
            The device to process the videos on. If unset, the device is inferred from the input videos.
        return_metadata (`bool`, *optional*):
            Whether to return video metadata or not.
        z!Constructs a base VideoProcessor.)ÚvisionÚtorchvision)Úbackendsc                   ó  ‡ — e Zd ZdZdZdZdZdZdZdZ	dZ
dZdZdZdZdZdZdZdZdZdZdZeZdgZdee         ddfˆ fd„Zdefd	„Zd
ddefd„Z	 	 dAdede dz  de e!z  dz  fd„Z"	 	 dAdedee#z  de$dz  de%dz  de&d         f
d„Z'	 	 dAdede(e)z  dz  de(dz  de&d         fd„Z* e+e,¦  «        dedee         defd„¦   «         Z-	 dBde&d         de$de$de.ddde$d e.d!e$d"e!d#e$d$e!e&e!         z  dz  d%e!e&e!         z  dz  d&e(e/z  dz  defd'„Z0e1	 	 	 	 	 dCd)e(e2j3        z  d*e(e2j3        z  dz  d+e$d,e$d-e(e$z  dz  d.e(fd/„¦   «         Z4dDd0e(e2j3        z  d1e$fd2„Z5e1d)e(e2j3        z  de6e#e(e7f         e#e(e7f         f         fd3„¦   «         Z8e1d4e#e(e7f         fd5„¦   «         Z9de#e(e7f         fˆ fd6„Z:de(fd7„Z;d8e(e2j3        z  fd9„Z<d:„ Z=e1d;e(e2j3        z  fd<„¦   «         Z>e1dEd>„¦   «         Z?dBd?e(e&e(         z  e&e&e(                  z  fd@„Z@ˆ xZAS )FÚBaseVideoProcessorNTgp?FÚpixel_values_videosÚkwargsÚreturnc                 ó:   •—  t          ¦   «         j        di |¤Ž d S )N© )ÚsuperÚ__init__)Úselfr0   Ú	__class__s     €úa/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/transformers/video_processing_utils.pyr5   zBaseVideoProcessor.__init__®   s&   ø€ Ø�‰ŒÔÐ"Ð"˜6Ð"Ð"Ð"Ð"Ð"ó    c                 ó   —  | j         |fi |¤ŽS ©N)Ú
preprocess)r6   Úvideosr0   s      r8   Ú__call__zBaseVideoProcessor.__call__±   s   € ØˆtŒ˜vÐ0Ð0¨Ð0Ð0Ð0r9   Úvideoztorch.Tensorc                 ó:  — t          j        |¦  «        }|j        d         dk    s&|dddd…dd…f         dk                          ¦   «         s|S |dddd…dd…f         dz  }d|dddd…dd…f         z
  dz  |dddd…dd…f         |ddd…dd…dd…f         z  z   }|S )zÏ
        Converts a video to RGB format.

        Args:
            video (`"torch.Tensor"`):
                The video to convert.

        Returns:
            `torch.Tensor`: The converted video.
        éýÿÿÿé   .Néÿ   g     ào@r   )ÚtvFÚgrayscale_to_rgbÚshapeÚany)r6   r?   Úalphas      r8   Úconvert_to_rgbz!BaseVideoProcessor.convert_to_rgb´   sâ   € õ Ô$ UÑ+Ô+ˆØŒ;�rŒ?˜aÒÐ¨¨c°1°a°a°a¸¸¸¨lÔ(;¸cÒ(A×'FÒ'FÑ'HÔ'HÐØˆLð �c˜1˜a˜a˜a   �lÔ# eÑ+ˆØ�U˜3  a a a¨¨¨˜?Ô+Ñ+¨sÑ2°U¸3ÀÀaÀaÀaÈÈÈ¸?Ô5KÈeÐTWÐY[ÐZ[ÐY[Ð]^Ð]^Ð]^Ð`aÐ`aÐ`aÐTaÔNbÑ5bÑbˆØˆr9   ÚmetadataÚ
num_framesÚfpsc                 ó´  — |�|�t          d¦  «        ‚|�|n| j        }|�|n| j        }|j        }|€4|�2|�|j        €t          d¦  «        ‚t	          ||j        z  |z  ¦  «        }||k    rt          d|› d|› d�¦  «        ‚|�,t          j        d|||z  ¦  «                             ¦   «         }n't          j        d|¦  «                             ¦   «         }|S )a%  
        Default sampling function which uniformly samples the desired number of frames between 0 and total number of frames.
        If `fps` is passed along with metadata, `fps` frames per second are sampled uniformty. Arguments `num_frames`
        and `fps` are mutually exclusive.

        Args:
            metadata (`VideoMetadata`):
                Metadata of the video containing information about total duration, fps and total number of frames.
            num_frames (`int`, *optional*):
                Maximum number of frames to sample. Defaults to `self.num_frames`.
            fps (`int` or `float`, *optional*):
                Target frames to sample per second. Defaults to `self.fps`.

        Returns:
            np.ndarray:
                Indices to sample video frames.
        Nzc`num_frames`, `fps`, and `sample_indices_fn` are mutually exclusive arguments, please use only one!zÈAsked to sample `fps` frames per second but no video metadata was provided which is required when sampling with `fps`. Please pass in `VideoMetadata` object or use a fixed `num_frames` per input videoz(Video can't be sampled. The `num_frames=z` exceeds `total_num_frames=z`. r   )Ú
ValueErrorrK   rL   Útotal_num_framesÚintÚtorchÚarange)r6   rJ   rK   rL   r0   rO   Úindicess          r8   Úsample_framesz BaseVideoProcessor.sample_framesÍ   s"  € ð0 ˆ?˜zÐ5ÝØuñô ð ð $.Ð#9�Z�Z¸t¼ˆ
Ø�_ˆcˆc¨$¬(ˆØ#Ô4Ðð Ð # /ØÐ 8¤<Ð#7Ý ðhñô ð õ Ð-°´Ñ<¸sÑBÑCÔCˆJàÐ(Ò(Ð(ÝØx¸:ÐxÐxÐcsÐxÐxÐxñô ð ð Ð!Ý”l 1Ð&6Ð8HÈ:Ñ8UÑVÔV×ZÒZÑ\Ô\ˆGˆGå”l 1Ð&6Ñ7Ô7×;Ò;Ñ=Ô=ˆGØˆr9   r=   Úvideo_metadataÚdo_sample_framesÚsample_indices_fnc                 ó8  ‡ — t          |¦  «        }t          ||¬¦  «        }t          |d         ¦  «        rd|rbg }g }t          ||¦  «        D ]H\  }} ||¬¦  «        }	|	|_        |                     ||	         ¦  «         |                     |¦  «         ŒI|}|}n}t          |d         ¦  «        sht          |d         t          ¦  «        r3ˆ fd„‰                      |¦  «        D ¦   «         }|rt          d¦  «        ‚n‰  
                    ||¬¦  «        \  }}||fS )zB
        Decode input videos and sample frames if needed.
        )rU   r   )rJ   c                 óT   •— g | ]$}t          j        ˆfd „|D ¦   «         d¬¦  «        ‘Œ%S )c                 ó:   •— g | ]}‰                      |¦  «        ‘ŒS r3   )Úprocess_image)Ú.0Úimager6   s     €r8   ú
<listcomp>zKBaseVideoProcessor._decode_and_sample_videos.<locals>.<listcomp>.<listcomp>  s'   ø€ Ð OÐ OÐ O¸u ×!3Ò!3°EÑ!:Ô!:Ð OÐ OÐ Or9   r   )Údim)rQ   Ústack)r\   Úimagesr6   s     €r8   r^   z@BaseVideoProcessor._decode_and_sample_videos.<locals>.<listcomp>  sN   ø€ ð ð ð àõ ”KÐ OÐ OÐ OÐ OÈÐ OÑ OÔ OÐUVÐWÑWÔWðð ð r9   zUSampling frames from a list of images is not supported! Set `do_sample_frames=False`.©rW   )r'   r&   r$   ÚzipÚframes_indicesÚappendÚ
isinstanceÚlistÚfetch_imagesrN   Úfetch_videos)
r6   r=   rU   rV   rW   Úsampled_videosÚsampled_metadatar?   rJ   rS   s
   `         r8   Ú_decode_and_sample_videosz,BaseVideoProcessor._decode_and_sample_videos  ss  ø€ õ % VÑ,Ô,ˆÝ.¨vÀnÐUÑUÔUˆõ ˜& œ)Ñ$Ô$ð 	hÐ)9ð 	hØˆNØ!ÐÝ#& v¨~Ñ#>Ô#>ð 2ð 2‘��xØ+Ð+°XÐ>Ñ>Ô>�Ø*1�Ô'Ø×%Ò% e¨G¤nÑ5Ô5Ð5Ø ×'Ò'¨Ñ1Ô1Ð1Ð1Ø#ˆFØ-ˆNˆNÝ  q¤	Ñ*Ô*ð 	hÝ˜& œ)¥TÑ*Ô*ð hðð ð ð à"&×"3Ò"3°FÑ";Ô";ðñ ô �ð $ð Ý$Øoñô ð ðð
 *.×):Ò):¸6ÐUfÐ):Ñ)gÔ)gÑ&�˜à�~Ð%Ð%r9   Úinput_data_formatÚdevicec                 ó‚  — g }|D ]¹}t          |t          j        ¦  «        r&t          j        |¦  «                             ¦   «         }|€t          |¦  «        }|t          j        k    r*| 	                    dddd¦  «                             ¦   «         }|�| 
                    |¦  «        }|                     |¦  «         Œº|S )z:
        Prepare the input videos for processing.
        Nr   rB   r   é   )rf   ÚnpÚndarrayrQ   Ú
from_numpyÚ
contiguousr#   r   ÚLASTÚpermuteÚtore   )r6   r=   rm   rn   Úprocessed_videosr?   s         r8   Ú_prepare_input_videosz(BaseVideoProcessor._prepare_input_videos*  sÅ   € ð ÐØð 	+ð 	+ˆEå˜%¥¤Ñ,Ô,ð =åÔ(¨Ñ/Ô/×:Ò:Ñ<Ô<�ð !Ð(Ý$BÀ5Ñ$IÔ$IÐ!à Õ$4Ô$9Ò9Ð9ØŸš a¨¨A¨qÑ1Ô1×<Ò<Ñ>Ô>�àÐ!ØŸš Ñ(Ô(�à×#Ò# EÑ*Ô*Ð*Ð*ØÐr9   c           	      ó(  — t          |                     ¦   «         t          | j        j                             ¦   «         ¦  «        dgz   ¬¦  «         t          | j        |¦  «         | j        j        D ]'}|                     |t          | |d ¦  «        ¦  «         Œ(|                     d¦  «        }|                     d¦  «        }|                     d¦  «        }|                     d¦  «        }|rt          | j
        fi |¤Žnd }|                      ||||¬¦  «        \  }}|                      |||¬¦  «        } | j        di |¤Ž} | j        di |¤Ž |                     d	¦  «         |                     d
¦  «        }	 | j        dd|i|¤Ž}
|	r||
d<   |
S )NÚreturn_tensors)Úcaptured_kwargsÚvalid_processor_keysrm   rV   rn   rU   )rU   rV   rW   )r=   rm   rn   Údata_formatÚreturn_metadatar=   r3   )r   Úkeysrg   Úvalid_kwargsÚ__annotations__r   Ú
setdefaultÚgetattrÚpopr   rT   rl   ry   Ú_standardize_kwargsÚ_validate_preprocess_kwargsÚ_preprocess)r6   r=   r0   Ú
kwarg_namerm   rV   rn   rU   rW   r   Úpreprocessed_videoss              r8   r<   zBaseVideoProcessor.preprocessG  sæ  € õ 	Ø"ŸKšK™MœMÝ!% dÔ&7Ô&G×&LÒ&LÑ&NÔ&NÑ!OÔ!OÐScÐRdÑ!dð	
ñ 	
ô 	
ð 	
õ 	˜DÔ-¨vÑ6Ô6Ð6ð Ô+Ô;ð 	Kð 	KˆJØ×Ò˜j­'°$¸
ÀDÑ*IÔ*IÑJÔJÐJÐJà"ŸJšJÐ':Ñ;Ô;ÐØ!Ÿ:š:Ð&8Ñ9Ô9ÐØ—’˜HÑ%Ô%ˆØŸšÐ$4Ñ5Ô5ˆàEUÐ_�G DÔ$6ÐAÐA¸&ÐAÐAÐAÐ[_ÐØ!%×!?Ò!?ØØ)Ø-Ø/ð	 "@ñ "
ô "
Ñˆ�ð ×+Ò+°6ÐM^ÐgmÐ+ÑnÔnˆà)�Ô)Ð3Ð3¨FÐ3Ð3ˆØ(ˆÔ(Ð2Ð2¨6Ð2Ð2Ð2ð 	�
Š
�=Ñ!Ô!Ð!Ø Ÿ*š*Ð%6Ñ7Ô7ˆà.˜dÔ.ÐGÐG°fÐGÀÐGÐGÐØð 	CØ4BÐÐ 0Ñ1Ø"Ð"r9   Údo_convert_rgbÚ	do_resizeÚsizeÚresamplez7PILImageResampling | tvF.InterpolationMode | int | NoneÚdo_center_cropÚ	crop_sizeÚ
do_rescaleÚrescale_factorÚdo_normalizeÚ
image_meanÚ	image_stdr{   c           	      óú  — t          |¦  «        \  }}i }|                     ¦   «         D ];\  }}|r|                      |¦  «        }|r|                      |||¬¦  «        }|||<   Œ<t	          ||¦  «        }t          |¦  «        \  }}i }|                     ¦   «         D ]<\  }}|r|                      ||¦  «        }|                      |||	|
||¦  «        }|||<   Œ=t	          ||¦  «        }t          d|i|¬¦  «        S )N)r�   rŽ   r/   )ÚdataÚtensor_type)r"   ÚitemsrI   Úresizer(   Úcenter_cropÚrescale_and_normalizer   )r6   r=   r‹   rŒ   r�   rŽ   r�   r�   r‘   r’   r“   r”   r•   r{   r0   Úgrouped_videosÚgrouped_videos_indexÚresized_videos_groupedrF   Ústacked_videosÚresized_videosÚprocessed_videos_groupedrx   s                          r8   rˆ   zBaseVideoProcessor._preprocessv  sT  € õ$ 0EÀVÑ/LÔ/LÑ,ˆÐ,Ø!#ÐØ%3×%9Ò%9Ñ%;Ô%;ð 	;ð 	;Ñ!ˆE�>Øð EØ!%×!4Ò!4°^Ñ!DÔ!D�Øð [Ø!%§¢¨^À$ÐQY Ñ!ZÔ!Z�Ø,:Ð" 5Ñ)Ð)Ý'Ð(>Ð@TÑUÔUˆõ 0EÀ^Ñ/TÔ/TÑ,ˆÐ,Ø#%Ð Ø%3×%9Ò%9Ñ%;Ô%;ð 	=ð 	=Ñ!ˆE�>Øð MØ!%×!1Ò!1°.À)Ñ!LÔ!L�à!×7Ò7Ø 
¨N¸LÈ*ÐV_ñô ˆNð /=Ð$ UÑ+Ð+å)Ð*BÐDXÑYÔYÐåÐ"7Ð9IÐ!JÐXfÐgÑgÔgÐgr9   ÚmainÚpretrained_model_name_or_pathÚ	cache_dirÚforce_downloadÚlocal_files_onlyÚtokenÚrevisionc                 óv   — ||d<   ||d<   ||d<   ||d<   |�||d<    | j         |fi |¤Ž\  }} | j        |fi |¤ŽS )aK  
        Instantiate a type of [`~video_processing_utils.VideoProcessorBase`] from an video processor.

        Args:
            pretrained_model_name_or_path (`str` or `os.PathLike`):
                This can be either:

                - a string, the *model id* of a pretrained video hosted inside a model repo on
                  huggingface.co.
                - a path to a *directory* containing a video processor file saved using the
                  [`~video_processing_utils.VideoProcessorBase.save_pretrained`] method, e.g.,
                  `./my_model_directory/`.
                - a path to a saved video processor JSON *file*, e.g.,
                  `./my_model_directory/video_preprocessor_config.json`.
            cache_dir (`str` or `os.PathLike`, *optional*):
                Path to a directory in which a downloaded pretrained model video processor should be cached if the
                standard cache should not be used.
            force_download (`bool`, *optional*, defaults to `False`):
                Whether or not to force to (re-)download the video processor files and override the cached versions if
                they exist.
            proxies (`dict[str, str]`, *optional*):
                A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128',
                'http://hostname': 'foo.bar:4012'}.` The proxies are used on each request.
            token (`str` or `bool`, *optional*):
                The token to use as HTTP bearer authorization for remote files. If `True`, or not specified, will use
                the token generated when running `hf auth login` (stored in `~/.huggingface`).
            revision (`str`, *optional*, defaults to `"main"`):
                The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a
                git-based system for storing models and other artifacts on huggingface.co, so `revision` can be any
                identifier allowed by git.


                <Tip>

                To test a pull request you made on the Hub, you can pass `revision="refs/pr/<pr_number>"`.

                </Tip>

            return_unused_kwargs (`bool`, *optional*, defaults to `False`):
                If `False`, then this function returns just the final video processor object. If `True`, then this
                functions returns a `Tuple(video_processor, unused_kwargs)` where *unused_kwargs* is a dictionary
                consisting of the key/value pairs whose keys are not video processor attributes: i.e., the part of
                `kwargs` which has not been used to update `video_processor` and is otherwise ignored.
            subfolder (`str`, *optional*, defaults to `""`):
                In case the relevant files are located inside a subfolder of the model repo on huggingface.co, you can
                specify the folder name here.
            kwargs (`dict[str, Any]`, *optional*):
                The values in kwargs of any keys which are video processor attributes will be used to override the
                loaded values. Behavior concerning key/value pairs whose keys are *not* video processor attributes is
                controlled by the `return_unused_kwargs` keyword parameter.

        Returns:
            A video processor of type [`~video_processing_utils.ImagVideoProcessorBase`].

        Examples:

        ```python
        # We can't instantiate directly the base class *VideoProcessorBase* so let's show the examples on a
        # derived class: *LlavaOnevisionVideoProcessor*
        video_processor = LlavaOnevisionVideoProcessor.from_pretrained(
            "llava-hf/llava-onevision-qwen2-0.5b-ov-hf"
        )  # Download video_processing_config from huggingface.co and cache.
        video_processor = LlavaOnevisionVideoProcessor.from_pretrained(
            "./test/saved_model/"
        )  # E.g. video processor (or model) was saved using *save_pretrained('./test/saved_model/')*
        video_processor = LlavaOnevisionVideoProcessor.from_pretrained("./test/saved_model/video_preprocessor_config.json")
        video_processor = LlavaOnevisionVideoProcessor.from_pretrained(
            "llava-hf/llava-onevision-qwen2-0.5b-ov-hf", do_normalize=False, foo=False
        )
        assert video_processor.do_normalize is False
        video_processor, unused_kwargs = LlavaOnevisionVideoProcessor.from_pretrained(
            "llava-hf/llava-onevision-qwen2-0.5b-ov-hf", do_normalize=False, foo=False, return_unused_kwargs=True
        )
        assert video_processor.do_normalize is False
        assert unused_kwargs == {"foo": False}
        ```r¥   r¦   r§   r©   Nr¨   )Úget_video_processor_dictÚ	from_dict)	Úclsr¤   r¥   r¦   r§   r¨   r©   r0   Úvideo_processor_dicts	            r8   Úfrom_pretrainedz"BaseVideoProcessor.from_pretrained£  s{   € ðn (ˆˆ{ÑØ#1ˆÐÑ Ø%5ˆÐ!Ñ"Ø%ˆˆzÑàÐØ#ˆF�7‰Oà'C sÔ'CÐDaÐ'lÐ'lÐekÐ'lÐ'lÑ$Ð˜fàˆsŒ}Ð1Ð<Ð<°VÐ<Ð<Ð<r9   Úsave_directoryÚpush_to_hubc           	      óî  — t           j                             |¦  «        rt          d|› d�¦  «        ‚t          j        |d¬¦  «         |rŠ|                     dd¦  «        }|                     d|                     t           j        j        ¦  «        d         ¦  «        } t          ¦   «         j	        |fd	di|¤Žj
        }|                      |¦  «        }| j        �t          | || ¬
¦  «         t           j                             |t          ¦  «        }|                      |¦  «         t"                               d|› �¦  «         |r-|                      |||||                     d¦  «        ¬¦  «         |gS )aq  
        Save an video processor object to the directory `save_directory`, so that it can be re-loaded using the
        [`~video_processing_utils.VideoProcessorBase.from_pretrained`] class method.

        Args:
            save_directory (`str` or `os.PathLike`):
                Directory where the video processor JSON file will be saved (will be created if it does not exist).
            push_to_hub (`bool`, *optional*, defaults to `False`):
                Whether or not to push your model to the Hugging Face model hub after saving it. You can specify the
                repository you want to push to with `repo_id` (will default to the name of `save_directory` in your
                namespace).
            kwargs (`dict[str, Any]`, *optional*):
                Additional key word arguments passed along to the [`~utils.PushToHubMixin.push_to_hub`] method.
        zProvided path (z#) should be a directory, not a fileT)Úexist_okÚcommit_messageNÚrepo_idéÿÿÿÿr³   )ÚconfigzVideo processor saved in r¨   )r´   r¨   )ÚosÚpathÚisfileÚAssertionErrorÚmakedirsr…   ÚsplitÚsepr   Úcreate_reporµ   Ú_get_files_timestampsÚ_auto_classr	   Újoinr   Úto_json_fileÚloggerÚinfoÚ_upload_modified_filesÚget)r6   r°   r±   r0   r´   rµ   Úfiles_timestampsÚoutput_video_processor_files           r8   Úsave_pretrainedz"BaseVideoProcessor.save_pretrained  s€  € õ Œ7�>Š>˜.Ñ)Ô)ð 	hÝ Ð!f°>Ð!fÐ!fÐ!fÑgÔgÐgå
Œ�N¨TÐ2Ñ2Ô2Ð2àð 	JØ#ŸZšZÐ(8¸$Ñ?Ô?ˆNØ—j’j ¨N×,@Ò,@ÅÄÄÑ,MÔ,MÈbÔ,QÑRÔRˆGØ*•f‘h”hÔ*¨7ÐLÐL¸TÐLÀVÐLÐLÔTˆGØ#×9Ò9¸.ÑIÔIÐð ÔÐ'Ý˜t ^¸DÐAÑAÔAÐAõ ')¤g§l¢l°>ÕCWÑ&XÔ&XÐ#à×ÒÐ5Ñ6Ô6Ð6Ý�ŠÐMÐ0KÐMÐMÑNÔNÐNàð 	Ø×'Ò'ØØØ Ø-Ø—j’j Ñ)Ô)ð (ñ ô ð ð ,Ð,Ð,r9   c                 óâ  ‡‡‡‡‡‡‡‡‡‡— |                      dd¦  «        Š|                      dd¦  «        Š|                      dd¦  «        Š|                      dd¦  «        Š|                      dd¦  «        Š|                      dd¦  «        Š|                      d	d
¦  «        Š|                      dd¦  «        }|                      dd¦  «        }d|dœŠ|�|‰d<   t          ¦   «         r‰st                               d¦  «         dŠt	          ‰¦  «        Št
          j                             ‰¦  «        }t
          j                             ‰¦  «        r‰}d}d}nƒt          }	 t          ‰t          ‰‰‰‰‰‰‰‰d¬¦  «        }ˆˆˆˆˆˆˆˆˆˆf
d„|t          fD ¦   «         }	|	r|	d         nd}n1# t          $ r ‚ t          $ r t          d‰› d‰› d|› d�¦  «        ‚w xY wd}
|�t          |¦  «        }d|v r|d         }
|�|
€t          |¦  «        }
|
€t          d‰› d‰› d|› d�¦  «        ‚|rt                               d|› �¦  «         n t                               d|› d|› �¦  «         |
|fS )a  
        From a `pretrained_model_name_or_path`, resolve to a dictionary of parameters, to be used for instantiating a
        video processor of type [`~video_processing_utils.VideoProcessorBase`] using `from_dict`.

        Parameters:
            pretrained_model_name_or_path (`str` or `os.PathLike`):
                The identifier of the pre-trained checkpoint from which we want the dictionary of parameters.
            subfolder (`str`, *optional*, defaults to `""`):
                In case the relevant files are located inside a subfolder of the model repo on huggingface.co, you can
                specify the folder name here.

        Returns:
            `tuple[Dict, Dict]`: The dictionary(ies) that will be used to instantiate the video processor object.
        r¥   Nr¦   FÚproxiesr¨   r§   r©   Ú	subfolderÚ Ú_from_pipelineÚ
_from_autoúvideo processor)Ú	file_typeÚfrom_auto_classÚusing_pipelinez+Offline mode: forcing local_files_only=TrueT©
Úfilenamer¥   r¦   rÌ   r§   r¨   Ú
user_agentr©   rÍ   Ú%_raise_exceptions_for_missing_entriesc                 óN   •
— g | ]!}t          ‰|‰‰‰‰‰
‰‰‰	d ¬¦  «        xŠ	 ®‰‘Œ"S )FrÕ   )r   )r\   rÖ   r¥   r¦   r§   r¤   rÌ   Úresolved_filer©   rÍ   r¨   r×   s     €€€€€€€€€€r8   r^   z?BaseVideoProcessor.get_video_processor_dict.<locals>.<listcomp>s  sm   ø€ ð 2ð 2ð 2à å)4Ø9Ø%-Ø&/Ø+9Ø$+Ø-=Ø"'Ø'1Ø%-Ø&/ØBGð*ñ *ô *ð ˜ð  ð ð "ð ð  ð  r9   r   z Can't load video processor for 'zœ'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'z2' is the correct path to a directory containing a z fileÚvideo_processorzloading configuration file z from cache at )r…   r   rÄ   rÅ   Ústrr¸   r¹   Úisdirrº   r   r   r   r   ÚOSErrorÚ	Exceptionr   )r­   r¤   r0   Úfrom_pipelinerÓ   Úis_localÚresolved_video_processor_fileÚresolved_processor_fileÚvideo_processor_fileÚresolved_video_processor_filesr®   Úprocessor_dictr¥   r¦   r§   rÌ   rÚ   r©   rÍ   r¨   r×   s    `          @@@@@@@@@r8   r«   z+BaseVideoProcessor.get_video_processor_dict6  sš  øøøøøøøøøø€ ð$ —J’J˜{¨DÑ1Ô1ˆ	ØŸšÐ$4°eÑ<Ô<ˆØ—*’*˜Y¨Ñ-Ô-ˆØ—
’
˜7 DÑ)Ô)ˆØ!Ÿ:š:Ð&8¸%Ñ@Ô@ÐØ—:’:˜j¨$Ñ/Ô/ˆØ—J’J˜{¨BÑ/Ô/ˆ	àŸ
š
Ð#3°TÑ:Ô:ˆØ Ÿ*š* \°5Ñ9Ô9ˆà#4ÈÐYÐYˆ
ØÐ$Ø+8ˆJÐ'Ñ(åÑÔð 	$Ð%5ð 	$Ý�KŠKÐEÑFÔFÐFØ#Ðå(+Ð,IÑ(JÔ(JÐ%Ý”7—=’=Ð!>Ñ?Ô?ˆÝŒ7�>Š>Ð7Ñ8Ô8ð 8	Ø,IÐ)Ø&*Ð#ØˆHˆHå#7Ð ð2õ +6Ø1Ý+Ø'Ø#1Ø#Ø%5ØØ)Ø%Ø'Ø:?ð+ñ +ô +Ð'ð2ð 2ð 2ð 2ð 2ð 2ð 2ð 2ð 2ð 2ð 2ð 2ð 2à%9Õ;OÐ$Pð2ñ 2ô 2Ð.ð* :XÐaÐ2°1Ô5Ð5Ð]að .Ð-øõ ð ð ð ð Ýð ð ð åðKÐ7Tð Kð Kà9VðKð Kð 0DðKð Kð Kñô ð ðøøøð  $ÐØ"Ð.Ý0Ð1HÑIÔIˆNØ  NÐ2Ð2Ø'5Ð6GÔ'HÐ$à(Ð4Ð9MÐ9UÝ#6Ð7TÑ#UÔ#UÐ àÐ'ÝðGÐ3Pð Gð Gà5RðGð Gð ,@ðGð Gð Gñô ð ð ð 	Ý�KŠKÐUÐ6SÐUÐUÑVÔVÐVÐVå�KŠKØrÐ.BÐrÐrÐSpÐrÐrñô ð ð $ VÐ+Ð+s   Å%A	F/ Æ/.Gr®   c           	      ó~  ‡ — |                      ¦   «         }|                     dd¦  «        }|                     ˆ fd„|                     ¦   «         D ¦   «         ¦  «          ‰ d	i |¤Ž}g }t	          t          |                     ¦   «         ¦  «        ¦  «        D ]Z}t          ||¦  «        rH|‰ j        j	        vr:t          |||                     |d¦  «        ¦  «         |                     |¦  «         Œ[|r&t                               d‰ j        › d|› d�¦  «         t                               d|› �¦  «         |r||fS |S )
aç  
        Instantiates a type of [`~video_processing_utils.VideoProcessorBase`] from a Python dictionary of parameters.

        Args:
            video_processor_dict (`dict[str, Any]`):
                Dictionary that will be used to instantiate the video processor object. Such a dictionary can be
                retrieved from a pretrained checkpoint by leveraging the
                [`~video_processing_utils.VideoProcessorBase.to_dict`] method.
            kwargs (`dict[str, Any]`):
                Additional parameters from which to initialize the video processor object.

        Returns:
            [`~video_processing_utils.VideoProcessorBase`]: The video processor object instantiated from those
            parameters.
        Úreturn_unused_kwargsFc                 ó8   •— i | ]\  }}|‰j         j        v ¯||“ŒS r3   )r�   r‚   )r\   ÚkÚvr­   s      €r8   ú
<dictcomp>z0BaseVideoProcessor.from_dict.<locals>.<dictcomp>Ç  s/   ø€ Ð$nÐ$nÐ$n©d¨a°ÈÈSÔM]ÔMmÐHmÐHm Q¨ÐHmÐHmÐHmr9   NzImage processor z	: kwargs zÍ were applied for backward compatibility. To avoid this warning, add them to valid_kwargs: create a custom TypedDict extending ImagesKwargs with these keys and set it as the `valid_kwargs` class attribute.zVideo processor r3   )Úcopyr…   Úupdater™   Úreversedrg   r€   Úhasattrr�   r‚   Úsetattrre   rÄ   Úwarning_onceÚ__name__rÅ   )r­   r®   r0   rè   rÛ   Ú
extra_keysÚkeys   `      r8   r¬   zBaseVideoProcessor.from_dict´  sx  ø€ ð"  4×8Ò8Ñ:Ô:ÐØ%ŸzšzÐ*@À%ÑHÔHÐØ×#Ò#Ð$nÐ$nÐ$nÐ$n°f·l²l±n´nÐ$nÑ$nÔ$nÑoÔoÐoØ˜#Ð5Ð5Ð 4Ð5Ð5ˆð ˆ
Ý�D §¢¡¤Ñ/Ô/Ñ0Ô0ð 	'ð 	'ˆCÝ�¨Ñ,Ô,ð '°¸CÔ<LÔ<\Ð1\Ð1\Ý˜¨¨f¯jªj¸¸dÑ.CÔ.CÑDÔDÐDØ×!Ò! #Ñ&Ô&Ð&øØð 	Ý×Òðb 3¤<ð bð b¸*ð bð bð bñô ð õ 	�ŠÐ8 Ð8Ð8Ñ9Ô9Ð9Øð 	#Ø" FÐ*Ð*à"Ð"r9   c                 ó’   •— t          ¦   «                              ¦   «         }|                     dd¦  «         | j        j        |d<   |S )z¿
        Serializes this instance to a Python dictionary.

        Returns:
            `dict[str, Any]`: Dictionary of all the attributes that make up this video processor instance.
        Úimage_processor_typeNÚvideo_processor_type)r4   Úto_dictr…   r7   ró   )r6   Úfiltered_dictr7   s     €r8   rù   zBaseVideoProcessor.to_dictÝ  sE   ø€ õ ™œŸšÑ)Ô)ˆØ×ÒÐ0°$Ñ7Ô7Ð7Ø04´Ô0GˆÐ,Ñ-àÐr9   c                 óô   — |                       ¦   «         }|                     ¦   «         D ]6\  }}t          |t          j        ¦  «        r|                     ¦   «         ||<   Œ7t          j        |dd¬¦  «        dz   S )zÃ
        Serializes this instance to a JSON string.

        Returns:
            `str`: String containing all the attributes that make up this feature_extractor instance in JSON format.
        rp   T)ÚindentÚ	sort_keysú
)rù   r™   rf   rq   rr   ÚtolistÚjsonÚdumps)r6   Ú
dictionaryrõ   Úvalues       r8   Úto_json_stringz!BaseVideoProcessor.to_json_stringê  sr   € ð —\’\‘^”^ˆ
à$×*Ò*Ñ,Ô,ð 	1ð 	1‰JˆC�Ý˜%¥¤Ñ,Ô,ð 1Ø"'§,¢,¡.¤.�
˜3‘øåŒz˜*¨Q¸$Ð?Ñ?Ô?À$ÑFÐFr9   Újson_file_pathc                 óª   — t          |dd¬¦  «        5 }|                     |                      ¦   «         ¦  «         ddd¦  «         dS # 1 swxY w Y   dS )zá
        Save this instance to a JSON file.

        Args:
            json_file_path (`str` or `os.PathLike`):
                Path to the JSON file in which this image_processor instance's parameters will be saved.
        Úwúutf-8©ÚencodingN)ÚopenÚwriter  )r6   r  Úwriters      r8   rÃ   zBaseVideoProcessor.to_json_fileù  s˜   € õ �. #°Ð8Ñ8Ô8ð 	0¸FØ�LŠL˜×,Ò,Ñ.Ô.Ñ/Ô/Ð/ð	0ð 	0ð 	0ñ 	0ô 	0ð 	0ð 	0ð 	0ð 	0ð 	0ð 	0ð 	0øøøð 	0ð 	0ð 	0ð 	0ð 	0ð 	0s   “(AÁAÁAc                 óH   — | j         j        › d|                      ¦   «         › �S )Nú )r7   ró   r  )r6   s    r8   Ú__repr__zBaseVideoProcessor.__repr__  s'   € Ø”.Ô)ÐCÐC¨D×,?Ò,?Ñ,AÔ,AÐCÐCÐCr9   Ú	json_filec                 ó¶   — t          |dd¬¦  «        5 }|                     ¦   «         }ddd¦  «         n# 1 swxY w Y   t          j        |¦  «        } | di |¤ŽS )aÌ  
        Instantiates a video processor of type [`~video_processing_utils.VideoProcessorBase`] from the path to a JSON
        file of parameters.

        Args:
            json_file (`str` or `os.PathLike`):
                Path to the JSON file containing the parameters.

        Returns:
            A video processor of type [`~video_processing_utils.VideoProcessorBase`]: The video_processor object
            instantiated from that JSON file.
        Úrr  r	  Nr3   )r  Úreadr   Úloads)r­   r  ÚreaderÚtextr®   s        r8   Úfrom_json_filez!BaseVideoProcessor.from_json_file  sŸ   € õ �)˜S¨7Ð3Ñ3Ô3ð 	!°vØ—;’;‘=”=ˆDð	!ð 	!ð 	!ñ 	!ô 	!ð 	!ð 	!ð 	!ð 	!ð 	!ð 	!øøøð 	!ð 	!ð 	!ð 	!å#œz¨$Ñ/Ô/ÐØˆsÐ*Ð*Ð)Ð*Ð*Ð*s   “4´8»8ÚAutoVideoProcessorc                 ó¢   — t          |t          ¦  «        s|j        }ddlmc m} t          ||¦  «        st          |› d�¦  «        ‚|| _        dS )a	  
        Register this class with a given auto class. This should only be used for custom video processors as the ones
        in the library are already mapped with `AutoVideoProcessor `.

        <Tip warning={true}>

        This API is experimental and may have some slight breaking changes in the next releases.

        </Tip>

        Args:
            auto_class (`str` or `type`, *optional*, defaults to `"AutoVideoProcessor "`):
                The auto class to register this new video processor with.
        r   Nz is not a valid auto class.)	rf   rÜ   ró   Útransformers.models.autoÚmodelsÚautorð   rN   rÁ   )r­   Ú
auto_classÚauto_modules      r8   Úregister_for_auto_classz*BaseVideoProcessor.register_for_auto_class  sn   € õ  ˜*¥cÑ*Ô*ð 	-Ø#Ô,ˆJà6Ð6Ð6Ð6Ð6Ð6Ð6Ð6Ð6å�{ JÑ/Ô/ð 	IÝ 
ÐGÐGÐGÑHÔHÐHà$ˆŒˆˆr9   Úvideo_url_or_urlsc                 óæ   ‡ ‡— d}t          ¦   «         st          j        d¦  «         d}t          |t          ¦  «        r#t	          t          ˆˆ fd„|D ¦   «         Ž ¦  «        S t          ||‰¬¦  «        S )zè
        Convert a single or a list of urls into the corresponding `np.array` objects.

        If a single url is passed, the return value will be a single object. If a list is passed a list of objects is
        returned.
        Ú
torchcodeczÇ`torchcodec` is not installed and cannot be used to decode the video by default. Falling back to `torchvision`. Note that `torchvision` decoding is deprecated and will be removed in future versions. r+   c                 ó>   •— g | ]}‰                      |‰¬ ¦  «        ‘ŒS )rb   )ri   )r\   ÚxrW   r6   s     €€r8   r^   z3BaseVideoProcessor.fetch_videos.<locals>.<listcomp>D  s.   ø€ ÐsÐsÐsÐ\]˜d×/Ò/°ÐEVÐ/ÑWÔWÐsÐsÐsr9   )ÚbackendrW   )r   ÚwarningsÚwarnrf   rg   rc   r%   )r6   r!  rW   r&  s   ` ` r8   ri   zBaseVideoProcessor.fetch_videos4  s‘   øø€ ð ˆÝ&Ñ(Ô(ð 	$ÝŒMðIñô ð ð $ˆGåÐ'­Ñ.Ô.ð 	gÝ�ÐsÐsÐsÐsÐsÐarÐsÑsÔsÐtÑuÔuÐuåÐ/¸ÐTeÐfÑfÔfÐfr9   )NNr;   )NFFNr£   )F)r  )Bró   Ú
__module__Ú__qualname__rÁ   rŽ   r”   r•   r�   Úsize_divisorÚdefault_to_squarer�   rŒ   r�   r‘   r’   r“   r‹   rV   rL   rK   rU   r   r   r�   Úmodel_input_namesr   r5   r   r>   r    rI   r!   rP   ÚfloatrT   ÚdictÚboolr   rg   rl   rÜ   r   ry   r   ÚBASE_VIDEO_PROCESSOR_DOCSTRINGr<   r   r   rˆ   Úclassmethodr¸   ÚPathLiker¯   rÊ   Útupler   r«   r¬   rù   r  rÃ   r  r  r   ri   Ú__classcell__)r7   s   @r8   r.   r.   ‘   s§  ø€ € € € € ð €Kà€HØ€JØ€IØ€DØ€LØÐØ€IØ€IØ€NØ€JØ€NØ€LØ€NØÐØ
€CØ€JØ€NØ€OØ€LØ.Ð/Ðð# ¨Ô!5ð #¸$ð #ð #ð #ð #ð #ð #ð1¨Lð 1ð 1ð 1ð 1ðàðð 
ðð ð ð ð8 "&Ø"&ð	3ð 3àð3ð ˜$‘Jð3ð �5‰[˜4Ñð	3ð 3ð 3ð 3ðr )-Ø-1ð&&ð &&àð&&ð &¨Ñ,ð&&ð  ™+ð	&&ð
 $ d™?ð&&ð 
ˆnÔ	ð&&ð &&ð &&ð &&ðV <@Ø!ð	 ð  àð ð Ð!1Ñ1°DÑ8ð ð �d‘
ð	 ð
 
ˆnÔ	ð ð  ð  ð  ð: ÐØ&ñô ð*#àð*#ð ˜Ô&ð*#ð 
ð	*#ð *#ð *#ñô ð*#ðt 37ð+hð +hà�^Ô$ð+hð ð+hð ð	+hð
 ð+hð Lð+hð ð+hð ð+hð ð+hð ð+hð ð+hð ˜D œKÑ'¨$Ñ.ð+hð ˜4 œ;Ñ&¨Ñ-ð+hð ˜jÑ(¨4Ñ/ð+hð  
ð!+hð +hð +hð +hðZ ð /3Ø$Ø!&Ø#'Øð`=ð `=à'*¨R¬[Ñ'8ð`=ð ˜œÑ$ tÑ+ð`=ð ð	`=ð
 ð`=ð �T‰z˜DÑ ð`=ð ð`=ð `=ð `=ñ „[ð`=ðD.-ð .-¨c°B´KÑ.?ð .-Èdð .-ð .-ð .-ð .-ð` ð{,Ø,/°"´+Ñ,=ð{,à	ˆt�C˜�HŒ~˜t C¨ Hœ~Ð-Ô	.ð{,ð {,ð {,ñ „[ð{,ðz ð&#¨T°#°s°(¬^ð &#ð &#ð &#ñ „[ð&#ðP˜˜c 3˜hœð ð ð ð ð ð ðG ð Gð Gð Gð Gð	0¨3°´Ñ+<ð 	0ð 	0ð 	0ð 	0ðDð Dð Dð ð+ s¨R¬[Ñ'8ð +ð +ð +ñ „[ð+ð$ ð%ð %ð %ñ „[ð%ð2gð g¨c°D¸´I©oÀÀTÈ#ÄYÄÑ.Oð gð gð gð gð gð gð gð gr9   r.   rÑ   r  zvideo processor file)ÚobjectÚobject_classÚobject_files)Gr   r¸   r'  Úcollections.abcr   Ú	functoolsr   Útypingr   Únumpyrq   Úhuggingface_hubr   Úhuggingface_hub.dataclassesr   Údynamic_module_utilsr	   Úimage_processing_backendsr
   Úimage_processing_utilsr   Úimage_utilsr   r   r   r   Úprocessing_utilsr   r   Úutilsr   r   r   r   r   r   r   r   r   r   r   Ú	utils.hubr   r   Úutils.import_utilsr   Úvideo_utilsr    r!   r"   r#   r$   r%   r&   r'   r(   rQ   Ú$torchvision.transforms.v2.functionalÚ
transformsÚv2Ú
functionalrD   r)   Ú
get_loggerró   rÄ   r1  r.   r±   Ú__doc__Úformatr3   r9   r8   ú<module>rO     sŸ  ðð €€€Ø 	€	€	€	Ø €€€Ø $Ð $Ð $Ð $Ð $Ð $Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð à Ð Ð Ð Ø +Ð +Ð +Ð +Ð +Ð +Ø ;Ð ;Ð ;Ð ;Ð ;Ð ;à 4Ð 4Ð 4Ð 4Ð 4Ð 4Ø 9Ð 9Ð 9Ð 9Ð 9Ð 9Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0ðð ð ð ð ð ð ð ð ð ð ð ð 3Ð 2Ð 2Ð 2Ð 2Ð 2Ð 2Ð 2ðð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð +Ð *Ð *Ð *Ð *Ð *Ð *Ð *Ø (Ð (Ð (Ð (Ð (Ð (ð
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð 
ð ÐÑÔð Ø€L€L€LàÐÑ Ô ð 7Ø6Ð6Ð6Ð6Ð6Ð6Ð6Ð6Ð6Ð6Ð6Ð6àÐÑÔð 0Ø/Ð/Ð/Ð/Ð/Ð/ð 
ˆÔ	˜HÑ	%Ô	%€ðA"Ð ðH ÐØ'Ø"ñô ð 
€Ð,Ð-Ñ-Ô-ðp
gð p
gð p
gð p
gð p
gÐ+ñ p
gô p
gñ .Ô-ñ	ô ð
p
gðf "+ Ð+=Ô+IÑ!JÔ!JÐ Ô ØÔ!Ô)Ð5Ø-?Ô-KÔ-S×-ZÒ-ZØ Ð/CÐRhð .[ñ .ô .ÐÔ"Ô*Ð*Ð*ð 6Ð5r9   