1ÿþf�u�n�c�t�i�o�n� �W�i�n�d�o�w�O�n�L�o�a�d�C�u�s�t�o�m�(�)�{�L�o�g�C�l�i�c�k�E�v�e�n�t�s�W�i�t�h�G�a�(�)�;�W�i�n�d�o�w�O�n�L�o�a�d�C�o�r�e�(�)�}�f�u�n�c�t�i�o�n� �S�a�v�e�F�o�r�m�A�j�a�x�(�n�,�t�)�{�v�a�r� �f�,�u�,�r�;�r�e�t�u�r�n� �c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �f�o�r�m�C�o�n�t�a�i�n�e�r�T�e�x�t�I�d�=�"�+�n�)�,�f�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�D�r�a�f�t�M�e�s�s�a�g�e�_�"�+�n�)�,�u�=�"�"�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �f�o�r�m� �v�a�l�i�d�a�t�e�d� �j�Q�u�e�r�y�=�"�+�j�Q�u�e�r�y�)�,�t�y�p�e�o�f� �j�Q�u�e�r�y�!�=�"�u�n�d�e�f�i�n�e�d�"�?�(�t�i�n�y�m�c�e�.�t�r�i�g�g�e�r�S�a�v�e�(�)�,�r�=�{�}�,�$�.�e�a�c�h�(�$�(�"�f�o�r�m�"�)�.�s�e�r�i�a�l�i�z�e�A�r�r�a�y�(�)�,�f�u�n�c�t�i�o�n�(�)�{�t�h�i�s�.�v�a�l�u�e�&�&�t�h�i�s�.�n�a�m�e�.�i�n�d�e�x�O�f�(�"�p�a�s�s�w�o�r�d�"�)�=�=�-�1�&�&�(�r�[�t�h�i�s�.�n�a�m�e�]�?�r�[�t�h�i�s�.�n�a�m�e�]�+�=�"�,� �"�+�t�h�i�s�.�v�a�l�u�e�.�r�e�p�l�a�c�e�(�/�<�/�g�,�"�&�l�t�;�"�)�.�r�e�p�l�a�c�e�(�/�>�/�g�,�"�&�g�t�;�"�)�.�r�e�p�l�a�c�e�(�/�&�#�3�9�;�/�g�,�"�'�"�)�:�r�[�t�h�i�s�.�n�a�m�e�]�=�t�h�i�s�.�v�a�l�u�e�.�r�e�p�l�a�c�e�(�/�<�/�g�,�"�&�l�t�;�"�)�.�r�e�p�l�a�c�e�(�/�>�/�g�,�"�&�g�t�;�"�)�.�r�e�p�l�a�c�e�(�/�&�#�3�9�;�/�g�,�"�'�"�)�)�}�)�,�r�.�s�i�d�=�g�e�t�C�o�o�k�i�e�(�"�c�m�3�s�e�s�s�i�o�n�c�m�3�s�i�d�f�r�o�n�t�e�n�d�"�)�,�r�.�c�=�"�s�a�v�e�f�o�r�m�a�j�a�x�"�,�r�.�f�o�r�m�c�o�n�t�a�i�n�e�r�i�d�=�n�,�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�f�o�r�m�u�r�l�&�&�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�f�o�r�m�u�r�l�.�v�a�l�u�e�|�|�(�r�.�f�o�r�m�u�r�l�=�d�o�c�u�m�e�n�t�.�U�R�L�)�,�$�.�a�j�a�x�(�{�t�y�p�e�:�"�P�O�S�T�"�,�d�a�t�a�T�y�p�e�:�"�j�s�o�n�"�,�u�r�l�:�"�/�A�p�p�_�S�i�t�e�s�/�a�l�l�/�J�a�v�a�s�c�r�i�p�t�/�A�j�a�x�/�c�o�m�m�a�n�d�.�a�s�p�x�"�,�d�a�t�a�:�r�,�s�u�c�c�e�s�s�:�f�u�n�c�t�i�o�n�(�r�)�{�v�a�r� �h�,�s�,�e�,�o�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �s�u�c�c�e�s�s�:� �f�o�r�m�C�o�n�t�a�i�n�e�r�T�e�x�t�I�d�=�"�+�n�+�"� �e�l�=�"�+�f�+�"� �r�e�s�u�l�t�.�S�u�c�c�e�s�s�=�"�+�r�.�S�u�c�c�e�s�s�)�,�f�)�i�f�(�h�=�n�e�w� �D�a�t�e�,�r�.�S�u�c�c�e�s�s�)�u�=�t�,�l�o�c�a�t�i�o�n�.�h�r�e�f�=�"�/�s�e�r�v�i�c�e�s�/�t�h�a�n�k�s�"�,�s�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�_�c�h�e�s�s�m�o�v�i�n�g�_�q�u�i�c�k�-�q�u�o�t�e�-�r�e�q�u�e�s�t�-�f�o�r�m�"�)�,�s�&�&�!�1�&�&�(�s�.�i�n�n�e�r�H�T�M�L�=�'�<�d�i�v� �i�d�=�"�F�o�r�m�R�e�s�p�o�n�s�e�M�e�s�s�a�g�e�_�c�h�e�s�s�m�o�v�i�n�g�_�q�u�i�c�k�-�q�u�o�t�e�-�r�e�q�u�e�s�t�-�f�o�r�m�"� �c�l�a�s�s�=�"�f�o�r�m�R�e�s�p�o�n�s�e�M�e�s�s�a�g�e�"�>� � � � �<�p�>�T�h�a�n�k�s� �f�o�r� �s�u�b�m�i�t�t�i�n�g� �y�o�u�r� �q�u�o�t�e� �r�e�q�u�e�s�t�.�<�\�/�p�>�\�t�<�p�>�O�u�r� �c�u�s�t�o�m�e�r� �s�e�r�v�i�c�e� �t�e�a�m� �w�i�l�l� �b�e� �i�n� �t�o�u�c�h� �w�i�t�h� �y�o�u� �s�h�o�r�t�l�y�.�<�\�/�p�>�\�t�<�p�>�F�o�r� �u�r�g�e�n�t� �e�n�q�u�i�r�i�e�s� �p�l�e�a�s�e� �c�a�l�l� �t�h�e� �p�h�o�n�e� �n�u�m�b�e�r� �a�t� �t�h�e� �t�o�p� �o�f� �t�h�e� �p�a�g�e� �n�o�w�!�<�\�/�p�>�\�t�<�p�>�L�o�o�k�i�n�g� �t�o� �p�r�o�v�i�d�e� �a� �m�o�r�e� �d�e�t�a�i�l�e�d� �q�u�o�t�e�?� �<�a� �h�r�e�f�=�"�/�q�u�o�t�e�/�l�o�c�a�l�"�>�C�l�i�c�k� �h�e�r�e� �t�o� �g�e�t� �a� �d�e�t�a�i�l�e�d� �q�u�o�t�e� �n�o�w�<�\�/�a�>�.�<�\�/�p�>�<�\�/�d�i�v�>�'�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �2� �*�*�*� �f�m�e�l�=�"�+�s�)�;�e�l�s�e� �i�f�(�u�=�r�.�M�e�s�s�a�g�e�,�a�l�e�r�t�(�u�.�r�e�p�l�a�c�e�(�/�<�(�?�:�.�|�\�n�)�*�?�>�/�g�m�,�"�"�)�)�,�e�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�b�u�t�t�o�n�-�s�u�b�m�i�t�-�f�o�r�m� �b�u�t�t�o�n�-�c�m�s�-�f�o�r�m�"�,�"�i�n�p�u�t�"�,�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�)�,�e�&�&�e�[�0�]�)�f�o�r�(�i�=�0�;�i�<�e�.�l�e�n�g�t�h�;�i�+�+�)�e�[�i�]�.�c�l�a�s�s�N�a�m�e�=�e�[�i�]�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�"� �h�i�d�d�e�n�"�,�"�"�)�;�o�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�m�e�s�s�a�g�e�F�o�r�m�S�u�b�m�i�t�t�i�n�g�"�)�;�o�&�&�o�[�0�]�&�&�o�[�0�]�.�p�a�r�e�n�t�N�o�d�e�.�r�e�m�o�v�e�C�h�i�l�d�(�o�[�0�]�)�}�,�e�r�r�o�r�:�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �e�,�r�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �e�r�r�o�r� �e�l�=�"�+�f�+�"� �r�e�s�u�l�t�.�S�u�c�c�e�s�s�=�"�+�n�.�S�u�c�c�e�s�s�)�,�f�)�{�i�f�(�e�=�n�e�w� �D�a�t�e�,
1�u�=�n�.�S�u�c�c�e�s�s�?�t�:�n�.�M�e�s�s�a�g�e�?�n�.�M�e�s�s�a�g�e�:�"�E�r�r�o�r� �w�h�i�l�e� �s�a�v�i�n�g� �f�o�r�m� �s�u�b�m�i�s�s�i�o�n�.� �P�l�e�a�s�e� �t�r�y� �s�a�v�i�n�g� �f�o�r�m� �a�g�a�i�n�.�"�,�a�l�e�r�t�(�u�.�r�e�p�l�a�c�e�(�/�<�(�?�:�.�|�\�n�)�*�?�>�/�g�m�,�"�"�)�)�,�r�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�b�u�t�t�o�n�-�s�u�b�m�i�t�-�f�o�r�m� �b�u�t�t�o�n�-�c�m�s�-�f�o�r�m�"�,�"�i�n�p�u�t�"�,�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �a�r�r�B�u�t�t�o�n�s�=�"�+�r�)�,�r�&�&�r�[�0�]�)�f�o�r�(�i�=�0�;�i�<�r�.�l�e�n�g�t�h�;�i�+�+�)�r�[�i�]�.�c�l�a�s�s�N�a�m�e�=�r�[�i�]�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�"� �h�i�d�d�e�n�"�,�"�"�)�;�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �2� �*�*�*�"�)�}�}�}�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �r�e�t�u�r�n�i�n�g� �f�a�l�s�e�"�)�,�!�1�)�:�!�0�}�s�c�r�e�e�n�S�i�z�e�s�=�{�n�a�n�o�:�2�4�0�,�m�i�c�r�o�:�3�7�5�,�s�m�a�l�l�:�6�0�0�,�m�e�d�i�u�m�:�9�0�0�,�l�a�r�g�e�:�1�2�0�0�,�l�a�r�g�e�r�:�1�5�0�0�,�h�u�g�e�:�1�9�2�0�}�;�v�a�r� �g�s�t�r�S�m�a�l�l�S�c�r�e�e�n�T�o�g�g�l�e�E�l�e�m�e�n�t�s�L�i�s�t�=�"�M�a�i�n�M�e�n�u�,�A�n�c�h�o�r�M�e�n�u�"�,�b�l�n�L�o�g�C�l�i�e�n�t�E�v�e�n�t�s�=�!�1�,�s�t�r�L�o�g�T�o�U�r�l�=�"�/�A�c�o�r�a�C�M�S�/�J�a�v�a�s�c�r�i�p�t�/�C�M�S�/�A�j�a�x�/�e�v�e�n�t�.�a�s�p�x�"�,�s�t�r�M�e�a�s�u�r�e�m�e�n�t�U�r�l�=�w�i�n�d�o�w�.�l�o�c�a�t�i�o�n�.�h�r�e�f�,�s�t�r�M�e�a�s�u�r�e�m�e�n�t�S�e�s�s�i�o�n�I�d�=�g�e�t�C�o�o�k�i�e�(�"�c�m�3�s�e�s�s�i�o�n�c�m�3�s�i�d�f�r�o�n�t�e�n�d�"�)�,�s�t�r�M�e�a�s�u�r�e�m�e�n�t�I�n�i�t�i�a�l�V�a�l�u�e�s�=�"�"�;��� 2�f�u�n�c�t�i�o�n� �W�i�n�d�o�w�O�n�L�o�a�d�S�i�t�e�(�)�{�i�f�(�D�e�l�e�t�e�C�o�o�k�i�e�(�"�S�i�t�e�F�o�n�t�S�i�z�e�D�e�f�a�u�l�t�"�)�,�t�y�p�e�o�f� �$�=�=�"�f�u�n�c�t�i�o�n�"�,�t�y�p�e�o�f� �i�F�r�a�m�e�R�e�s�i�z�e�=�=�"�f�u�n�c�t�i�o�n�"�&�&�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�i�f�r�a�m�e�"�)�.�l�e�n�g�t�h�>�0�)�v�a�r� �n�=�i�F�r�a�m�e�R�e�s�i�z�e�(�{�c�h�e�c�k�O�r�i�g�i�n�:�!�1�}�,�"�b�o�d�y�.�S�e�c�t�i�o�n�1�_�c�h�e�s�s�m�o�v�i�n�g�_�c�h�e�s�s�a�d�m�i�n� �i�f�r�a�m�e�"�)�;�P�h�o�n�e�N�u�m�U�p�d�a�t�e�(�)�;�L�u�c�k�y�O�r�a�n�g�e�(�)�;�s�e�t�C�h�e�s�s�I�n�v�e�n�t�o�r�y�(�)�;�s�e�t�C�h�e�s�s�O�t�h�e�r�G�r�i�d�s�(�)�;�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�=�!�1�;�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�L�a�r�g�e�S�c�r�e�e�n�&�&�$�(�w�i�n�d�o�w�)�.�w�i�d�t�h�(�)�>�s�c�r�e�e�n�S�i�z�e�s�.�s�m�a�l�l�?�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�=�!�0�:�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�S�m�a�l�l�S�c�r�e�e�n�&�&�$�(�w�i�n�d�o�w�)�.�w�i�d�t�h�(�)�<�=�s�c�r�e�e�n�S�i�z�e�s�.�s�m�a�l�l�&�&�(�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�=�!�0�)�;�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�&�&�(�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�s�t�i�c�k�y�-�h�e�a�d�e�r�"�)�.�l�e�n�g�t�h�>�0�?�$�(�"�.�s�t�i�c�k�y�-�h�e�a�d�e�r�"�)�.�s�t�i�c�k�M�e�(�{�t�o�p�O�f�f�s�e�t�:�2�0�0�,�s�h�a�d�o�w�:�!�0�,�s�h�a�d�o�w�O�p�a�c�i�t�y�:�.�2�5�,�a�n�i�m�a�t�e�:�!�0�,�t�r�a�n�s�i�t�i�o�n�S�t�y�l�e�:�"�f�a�d�e�"�,�t�r�a�n�s�i�t�i�o�n�D�u�r�a�t�i�o�n�:�1�e�3�}�)�:�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�s�t�i�c�k�y�H�e�a�d�e�r�"�)�.�l�e�n�g�t�h�>�0�&�&�$�(�"�.�s�t�i�c�k�y�H�e�a�d�e�r�"�)�.�s�t�i�c�k�M�e�(�{�t�o�p�O�f�f�s�e�t�:�2�0�0�,�s�h�a�d�o�w�:�!�0�,�s�h�a�d�o�w�O�p�a�c�i�t�y�:�.�2�5�,�a�n�i�m�a�t�e�:�!�0�,�t�r�a�n�s�i�t�i�o�n�S�t�y�l�e�:�"�f�a�d�e�"�,�t�r�a�n�s�i�t�i�o�n�D�u�r�a�t�i�o�n�:�1�e�3�}�)�)�;�$�(�'�a�[�h�r�e�f�^�=�"�t�e�l�:�"�]�'�)�.�o�n�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�S�e�n�d�S�i�m�p�l�e�M�e�t�a�E�v�e�n�t�(�"�C�o�n�t�a�c�t�"�,�G�e�t�R�a�n�d�o�m�S�t�r�i�n�g�(�1�6�,�4�)�,�"�p�h�o�n�e�"�,�"�c�l�i�c�k�"�)�;�S�e�n�d�S�i�m�p�l�e�M�e�t�a�E�v�e�n�t�(�"�L�e�a�d�"�,�G�e�t�R�a�n�d�o�m�S�t�r�i�n�g�(�1�6�,�4�)�,�"�p�h�o�n�e�"�,�"�c�l�i�c�k�"�)�}�)�;�$�(�'�a�[�h�r�e�f�^�=�"�m�a�i�l�t�o�:�"�]�'�)�.�o�n�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�S�e�n�d�S�i�m�p�l�e�M�e�t�a�E�v�e�n�t�(�"�C�o�n�t�a�c�t�"�,�G�e�t�R�a�n�d�o�m�S�t�r�i�n�g�(�1�6�,�4�)�,�"�e�m�a�i�l�"�,�"�c�l�i�c�k�"�)�;�S�e�n�d�S�i�m�p�l�e�M�e�t�a�E�v�e�n�t�(�"�L�e�a�d�"�,�G�e�t�R�a�n�d�o�m�S�t�r�i�n�g�(�1�6�,�4�)�,�"�e�m�a�i�l�"�,�"�c�l�i�c�k�"�)�}�)�;�$�(�"�u�l�.�t�a�b�s� �l�i�"�)�.�c�l�i�c�k�(�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �n�=�$�(�t�h�i�s�)�.�a�t�t�r�(�"�d�a�t�a�-�t�a�b�"�)�;�$�(�"�u�l�.�t�a�b�s� �l�i�"�)�.�r�e�m�o�v�e�C�l�a�s�s�(�"�c�u�r�r�e�n�t�"�
2)�;�$�(�"�.�t�a�b�-�c�o�n�t�e�n�t�"�)�.�r�e�m�o�v�e�C�l�a�s�s�(�"�c�u�r�r�e�n�t�"�)�;�$�(�t�h�i�s�)�.�a�d�d�C�l�a�s�s�(�"�c�u�r�r�e�n�t�"�)�;�$�(�"�#�"�+�n�)�.�a�d�d�C�l�a�s�s�(�"�c�u�r�r�e�n�t�"�)�}�)�;�$�(�"�.�c�o�n�t�e�n�t�T�a�b�s� �.�t�a�b�L�i�n�k�s� �a�"�)�.�o�n�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�=�$�(�t�h�i�s�)�.�a�t�t�r�(�"�h�r�e�f�"�)�;�$�(�"�.�c�o�n�t�e�n�t�T�a�b�s� �"�+�t�)�.�s�h�o�w�(�)�.�s�i�b�l�i�n�g�s�(�)�.�h�i�d�e�(�)�;�$�(�t�h�i�s�)�.�p�a�r�e�n�t�(�"�l�i�"�)�.�a�d�d�C�l�a�s�s�(�"�a�c�t�i�v�e�"�)�.�s�i�b�l�i�n�g�s�(�)�.�r�e�m�o�v�e�C�l�a�s�s�(�"�a�c�t�i�v�e�"�)�;�n�.�p�r�e�v�e�n�t�D�e�f�a�u�l�t�(�)�}�)�;�i�f�(�c�m�D�r�o�p�z�o�n�e�)�{�c�m�D�r�o�p�z�o�n�e�.�o�p�t�i�o�n�s�.�m�a�x�F�i�l�e�s�=�1�;�c�m�D�r�o�p�z�o�n�e�.�o�p�t�i�o�n�s�.�m�a�x�F�i�l�e�s�i�z�e�=�5�;�c�m�D�r�o�p�z�o�n�e�.�o�p�t�i�o�n�s�.�a�d�d�R�e�m�o�v�e�L�i�n�k�s�=�!�0�;�c�m�D�r�o�p�z�o�n�e�.�o�n�(�"�r�e�m�o�v�e�d�f�i�l�e�"�,�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�,�i�,�r�;�r�e�t�u�r�n� �n�.�s�e�r�v�e�r�I�d�&�&�(�t�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�d�z�f�i�l�e�s�,�t�&�&�(�i�=�t�.�v�a�l�u�e�,�i�&�&�(�t�.�v�a�l�u�e�=�i�.�r�e�p�l�a�c�e�(�n�.�s�e�r�v�e�r�I�d�,�"�"�)�)�)�,�$�.
2�p�o�s�t�(�"�/�q�u�o�t�e�/�i�n�v�e�n�t�o�r�y�/�F�i�l�e�D�e�l�e�t�e�.�a�s�h�x�?�i�d�=�"�+�n�.�s�e�r�v�e�r�I�d�)�)�,�(�r�=�n�.�p�r�e�v�i�e�w�E�l�e�m�e�n�t�)�!�=�n�u�l�l�?�r�.�p�a�r�e�n�t�N�o�d�e�.�r�e�m�o�v�e�C�h�i�l�d�(�n�.�p�r�e�v�i�e�w�E�l�e�m�e�n�t�)�:�v�o�i�d� �0�}�)�}�D�r�o�p�z�o�n�e�.�a�u�t�o�D�i�s�c�o�v�e�r�=�!�1�;�$�(�"�#�d�Z�U�p�l�o�a�d�"�)�.�d�r�o�p�z�o�n�e�(�{�u�r�l�:�"�/�q�u�o�t�e�/�i�n�v�e�n�t�o�r�y�/�F�i�l�e�U�p�l�o�a�d�e�r�.�a�s�h�x�"�,�m�a�x�F�i�l�e�s�:�1�,�m�a�x�F�i�l�e�s�i�z�e�:�5�,�a�d�d�R�e�m�o�v�e�L�i�n�k�s�:�!�0�,�r�e�m�o�v�e�d�f�i�l�e�:�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�,�i�,�r�;�r�e�t�u�r�n� �n�.�s�e�r�v�e�r�I�d�&�&�(�t�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�d�z�f�i�l�e�s�,�t�&�&�(�i�=�t�.�v�a�l�u�e�,�i�&�&�(�t�.�v�a�l�u�e�=�i�.�r�e�p�l�a�c�e�(�n�.�s�e�r�v�e�r�I�d�,�"�"�)�)�)�,�$�.�p�o�s�t�(�"�/�q�u�o�t�e�/�i�n�v�e�n�t�o�r�y�/�F�i�l�e�D�e�l�e�t�e�.�a�s�h�x�?�i�d�=�"�+�n�.�s�e�r�v�e�r�I�d�)�)�,�(�r�=�n�.�p�r�e�v�i�e�w�E�l�e�m�e�n�t�)�!�=�n�u�l�l�?�r�.�p�a�r�e�n�t�N�o�d�e�.�r�e�m�o�v�e�C�h�i�l�d�(�n�.�p�r�e�v�i�e�w�E�l�e�m�e�n�t�)�:�v�o�i�d� �0�}�,�s�u�c�c�e�s�s�:�f�u�n�c�t�i�o�n�(�n�,�t�)�{�v�a�r� �r�,�i�;�n�.�s�e�r�v�e�r�I�d�=�t�;�n�.�p�r�e�v�i�e�w�E�l�e�m�e�n�t�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�d�z�-�s�u�c�c�e�s�s�"�)�;�r�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�d�z�f�i�l�e�s�;�r�&�&�(�i�=�r�.�v�a�l�u�e�,�i�&�&�(�i�+�=�"�,�"�)�,�i�+�=�n�.�s�e�r�v�e�r�I�d�,�r�.�v�a�l�u�e�=�i�)�;�c�o�n�s�o�l�e�.�l�o�g�(�"�S�u�c�c�e�s�s�f�u�l�l�y� �u�p�l�o�a�d�e�d� �:�"�+�n�.�s�e�r�v�e�r�I�d�)�}�,�e�r�r�o�r�:�f�u�n�c�t�i�o�n�(�n�,�t�)�{�a�l�e�r�t�(�t�)�;�t�h�i�s�.�r�e�m�o�v�e�F�i�l�e�(�n�)�}�}�)�;�s�t�r�U�r�l�=�l�o�c�a�t�i�o�n�.�h�r�e�f�.�t�o�L�o�w�e�r�C�a�s�e�(�)�;�s�t�r�U�r�l�.�i�n�d�e�x�O�f�(�"�#�d�o�m�e�s�t�i�c�"�)�!�=�-�1�?�$�(�"�.�d�o�m�e�s�t�i�c�L�i�n�k�"�)�.�c�l�i�c�k�(�)�:�s�t�r�U�r�l�.�i�n�d�e�x�O�f�(�"�#�i�n�t�e�r�n�a�t�i�o�n�a�l�"�)�!�=�-�1�?�$�(�"�.�i�n�t�e�r�n�a�t�i�o�n�a�l�L�i�n�k�"�)�.�c�l�i�c�k�(�)�:�s�t�r�U�r�l�.�i�n�d�e�x�O�f�(�"�#�b�u�s�i�n�e�s�s�"�)�!�=�-�1�&�&�$�(�"�.�b�u�s�i�n�e�s�s�L�i�n�k�"�)�.�c�l�i�c�k�(�)�;�s�e�t�T�i�m�e�o�u�t�(�t�r�i�g�g�e�r�C�h�a�t�,�3�e�3�)�;�W�i�n�d�o�w�O�n�L�o�a�d�C�u�s�t�o�m�(�)�}�f�u�n�c�t�i�o�n� �G�e�t�R�a�n�d�o�m�S�t�r�i�n�g�(�n�,�t�)�{�v�a�r� �f�,�i�,�e�,�o�,�r�,�s�,�u�;�f�o�r�(�n�|�|�(�n�=�1�6�)�,�f�=�"�a�b�c�d�e�f�g�h�i�j�k�l�m�n�o�p�q�r�s�t�u�v�w�x�y�z�0�1�2�3�4�5�6�7�8�9�"�,�i�=�"�"�,�e�=�0�;�e�<�n�;�e�+�+�)�i�+�=�f�.�c�h�a�r�A�t�(�M�a�t�h�.�f�l�o�o�r�(�M�a�t�h�.�r�a�n�d�o�m�(�)�*�f�.�l�e�n�g�t�h�)�)�;�i�f�(�o�=�0�,�r�=�"�"�,�t�>�n�&�&�(�t�=�0�)�,�t�>�0�)�d�o� �o�+�+�,�s�=�i�.�s�u�b�s�t�r�i�n�g�(�0�,�t�)�,�u�=�i�.�s�u�b�s�t�r�i�n�g�(�t�,�i�.�l�e�n�g�t�h�)�,�r�!�=�"�"�&�&�(�r�+�=�"�-�"�)�,�r�+�=�s�,�u�.�l�e�n�g�t�h�<�t�?�r�+�=�"�-�"�+�u�:�i�=�u�;�w�h�i�l�e�(�n�/�t�>�o�)�;�r�e�t�u�r�n� �r�!�=�"�"�&�&�(�i�=�r�)�,�i�.�s�u�b�s�t�r�i�n�g�(�i�.�l�e�n�g�t�h�-�1�,�i�.�l�e�n�g�t�h�)�=�=�"�-�"�&�&�(�i�=�i�.�s�u�b�s�t�r�i�n�g�(�0�,�i�.�l�e�n�g�t�h�-�1�)�)�,�i�}�f�u�n�c�t�i�o�n� �S�e�n�d�S�i�m�p�l�e�M�e�t�a�E�v�e�n�t�(�n�,�t�,�i�,�r�)�{�v�a�r� �u�=�l�o�c�a�t�i�o�n�.�h�r�e�f�,�f�;�l�o�c�a�t�i�o�n�.�s�e�a�r�c�h�&�&�(�u�+�=�"�?�"�+�l�o�c�a�t�i�o�n�.�s�e�a�r�c�h�)�;�n�&�&�(�t�|�|�(�t�=�G�e�t�R�a�n�d�o�m�S�t�r�i�n�g�(�1�6�,�4�)�)�,�f�b�q�&�&�f�b�q�(�"�t�r�a�c�k�"�,�n�,�{�c�o�n�t�e�n�t�_�n�a�m�e�:�i�,�c�o�n�t�e�n�t�_�c�a�t�e�g�o�r�y�:�r�}�,�t�)�,�f�=�D�i�s�p�l�a�y�U�R�L�(�"�/�A�p�p�_�S�i�t�e�s�/�c�h�e�s�s�m�o�v�i�n�g�/�J�a�v�a�s�c�r�i�p�t�/�A�j�a�x�/�c�o�m�m�a�n�d�.�a�s�p�x�"�,�"�c�=�s�e�n�d�s�i�m�p�l�e�m�e�t�a�c�o�n�v�e�r�s�i�o�n�&�e�v�e�n�t�_�n�a�m�e�=�"�+�n�+�"�&�e�v�e�n�t�_�i�d�=�"�+�t�+�"�&�e�v�e�n�t�_�s�o�u�r�c�e�_�u�r�l�=�"�+�u�+�"�&�c�o�n�t�e�n�t�_�n�a�m�e�=�"�+�i�+�"�&�c�o�n�t�e�n�t�_�c�a�t�e�g�o�r�y�=�"�+�r�,�"�G�E�T�"�)�)�}�f�u�n�c�t�i�o�n� �P�h�o�n�e�N�u�m�U�p�d�a�t�e�(�)�{�_�g�o�o�g�W�c�m�G�e�t�(�"�n�u�m�b�e�r�"�,�"�1�3� �1�4� �6�9�"�)�}�f�u�n�c�t�i�o�n� �L�u�c�k�y�O�r�a�n�g�e�(�)�{�v�a�r� �n�,�t�;�l�o�c�a�t�i�o�n�.�h�o�s�t�n�a�m�e�.�i�n�d�e�x�O�f�(�"�c�h�e�s�s�m�o�v�i�n�g�.�c�o�m�"�)�>�-�1�&�&�(�w�i�n�d�o�w�.�_�_�l�o�_�s�i�t�e�_�i�d�=�5�2�2�0�8�,�n�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�s�c�r�i�p�t�"�)�,�n�.�t�y�p�e�=�"�t�e�x�t�/�j�a�v�a�s�c�r�i�p�t�"�,�n�.�a�s�y�n�c�=�!�0�,�n�.�s�r�c�=�(�"�h�t�t�p�s�:�"�=�=�d�o�c�u�m�e�n�t�.�l�o�c�a�t�i�o�n�.�p�r�o�t�o�c�o�l�?�"�h�t�t�p�s�:�/�/�s�s�l�"�:�"�h�t�t�p�:�/�/�w�1�"�)�+�"�.�l�i�v�e�s�t�a�t�s�e�r�v�e�r�.�c�o�m�/�w�.�j�s�"�,�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�s�c�r�i�p�t�"�)�[�0�]�,�t�.�p�a�r�e�n�t�N�o�d�e�.�i�n�s�e�r�t�B�e�f�
2o�r�e�(�n�,�t�)�)�}�f�u�n�c�t�i�o�n� �a�u�t�o�s�i�z�e�(�)�{�v�a�r� �n�=�t�h�i�s�;�s�e�t�T�i�m�e�o�u�t�(�f�u�n�c�t�i�o�n�(�)�{�n�.�s�t�y�l�e�.�c�s�s�T�e�x�t�=�"�h�e�i�g�h�t�:�a�u�t�o�;� �p�a�d�d�i�n�g�:�0�"�;�n�.�s�t�y�l�e�.�c�s�s�T�e�x�t�=�"�-�m�o�z�-�b�o�x�-�s�i�z�i�n�g�:�c�o�n�t�e�n�t�-�b�o�x�"�;�n�.�s�t�y�l�e�.�c�s�s�T�e�x�t�=�"�h�e�i�g�h�t�:�"�+�n�.�s�c�r�o�l�l�H�e�i�g�h�t�+�"�p�x�"�}�,�0�)�}�f�u�n�c�t�i�o�n� �p�o�p�u�l�a�t�e�I�D�s�F�o�r�R�e�a�d�O�n�l�y�F�i�e�l�d�s�(�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�i�n�p�u�t�"�)�,�i�=�"�"�,�r�=�"�"�,�n�;�f�o�r�(�c�o�n�s�o�l�e�.�l�o�g�(�"�p�o�p�u�l�a�t�e�I�D�s�F�o�r�R�e�a�d�O�n�l�y�F�i�e�l�d�s�:� �*�*�*� �i�n�p�u�t�s�.�l�e�n�g�t�h�=�"�+�t�.�l�e�n�g�t�h�)�,�n�=�0�;�n�<�t�.�l�e�n�g�t�h�;�n�+�+�)�t�[�n�]�.�t�y�p�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�h�i�d�d�e�n�"�&�&�(�t�[�n�]�.�n�a�m�e�=�=�"�c�m�F�i�e�l�d�s�"�?�r�=�t�[�n�]�:�t�[�n�]�.�n�a�m�e�!�=�"�c�m�F�i�e�l�d�s�O�l�d�"�&�&�(�i�=�t�[�n�]�)�)�,�t�[�n�]�.�t�y�p�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�n�u�m�b�e�r�"�&�&�t�[�n�]�.�d�i�s�a�b�l�e�d�&�&�i�&�&�!�i�.�i�d�&�&�(�i�.�i�d�=�"�r�o�_�"�+�t�[�n�]�.�i�d�,�c�o�n�s�o�l�e�.�l�o�g�(�"�p�o�p�u�l�a�t�e�I�D�s�F�o�r�R�e�a�d�O�n�l�y�F�i�e�l�d�s�:� �1� �*�*�*� �n�a�m�e�=�"�+�i�.�n�a�m�e�+�"� �i�d�=�"�+�i�.�i�d�)�)�}�f�u�n�c�t�i�o�n� �s�e�t�C�h�e�s�s�I�n�v�e�n�t�o�r�y�(�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�i�n�v�e�n�t�o�r�y�E�d�i�t�a�b�l�e�G�r�i�d�"�)�,�i�,�n�;�i�f�(�t�)�f�o�r�(�p�o�p�u�l�a�t�e�I�D�s�F�o�r�R�e�a�d�O�n�l�y�F�i�e�l�d�s�(�)�,�E�d�i�t�a�b�l�e�G�r�i�d�.�p�r�o�t�o�t�y�p�e�.�g�e�t�E�m�p�t�y�R�o�w�V�a�l�u�e�s�=�f�u�n�c�t�i�o�n�(�)�{�f�o�r�(�v�a�r� �t�=�{�}�,�n�=�0�;�n�<�t�h�i�s�.�g�e�t�C�o�l�u�m�n�C�o�u�n�t�(�)�;�n�+�+�)�t�[�t�h�i�s�.�g�e�t�C�o�l�u�m�n�N�a�m�e�(�n�)�]�=�"�"�;�r�e�t�u�r�n� �t�}�,�E�d�i�t�a�b�l�e�G�r�i�d�.�p�r�o�t�o�t�y�p�e�.�i�n�s�e�r�t�E�m�p�t�y�R�o�w�=�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �f�=�t�h�i�s�.�g�e�t�E�m�p�t�y�R�o�w�V�a�l�u�e�s�(�)�,�r�=�0�,�i�=�t�h�i�s�.�g�e�t�R�o�w�I�d�(�0�)�,�u�,�t�;�i�f�(�i�&�&�i�s�N�a�N�(�i�)�&�&�(�i�=�i�.�r�e�p�l�a�c�e�(�/�^�\�D�+�/�g�,�"�"�)�)�,�i�)�f�o�r�(�u�=�0�;�u�<�t�h�i�s�.�g�e�t�R�o�w�C�o�u�n�t�(�)�;�u�+�+�)�t�=�t�h�i�s�.�g�e�t�R�o�w�I�d�(�u�)�,�t�&�&�i�s�N�a�N�(�t�)�&�&�(�t�=�t�.�r�e�p�l�a�c�e�(�/�^�\�D�+�/�g�,�"�"�)�)�,�t�&�&�(�r�=�M�a�t�h�.�m�a�x�(�r�,�p�a�r�s�e�I�n�t�(�t�)�+�1�)�)�;�e�l�s�e� �r�=�t�h�i�s�.�g�e�t�R�o�w�C�o�u�n�t�(�)�+�2�;�t�h�i�s�.�i�n�s�e�r�t�A�f�t�e�r�(�n�,�r�,�f�)�}�,�i�=�{�m�e�t�a�d�a�t�a�:�[�{�n�a�m�e�:�"�n�a�m�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�v�e�r�a�g�e�v�a�l�u�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�1�}�,�{�n�a�m�e�:�"�q�t�y�"�,�d�a�t�a�t�y�p�e�:�"�i�n�t�e�g�e�r�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�v�a�l�u�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�c�t�i�o�n�"�,�d�a�t�a�t�y�p�e�:�"�h�t�m�l�"�,�e�d�i�t�a�b�l�e�:�!�1�}�]�}�,�n�=�0�;�n�<�t�.�l�e�n�g�t�h�;�n�+�+�)�s�e�t�C�h�e�s�s�G�r�i�d�T�a�b�l�e�(�t�[�n�]�.�i�d�,�i�,�"�o�p�t�i�o�n�-�b�-�i�t�e�m�s�-�t�o�t�a�l�"�)�}�f�u�n�c�t�i�o�n� �s�e�t�C�h�e�s�s�O�t�h�e�r�G�r�i�d�s�(�)�{�f�u�n�c�t�i�o�n� �u�(�)�{�v�a�r� �n�=�A�r�r�a�y�.�f�r�o�m�(�r�)�.�f�i�n�d�(�n�=�>�n�.�c�h�e�c�k�e�d�)�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�i�d�"�)�;�s�w�i�t�c�h�(�n�)�{�c�a�s�e�"�a�-�m�o�v�i�n�g�-�l�o�c�a�t�i�o�n�_�1�"�:�i�=�"�a�-�c�a�l�c�u�l�a�t�e�d�-�v�a�l�u�e�-�a�u�s�"�;�b�r�e�a�k�;�c�a�s�e�"�a�-�m�o�v�i�n�g�-�l�o�c�a�t�i�o�n�_�2�"�:�i�=�"�a�-�c�a�l�c�u�l�a�t�e�d�-�v�a�l�u�e�-�o�s�"�}�u�p�d�a�t�e�T�o�t�a�l�V�a�l�u�e�(�"�a�-�t�o�t�a�l�"�,�`�$�{�i�}�,�a�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�,�a�-�p�r�e�p�a�i�d�-�r�e�m�o�v�a�l�-�c�o�s�t�s�`�)�}�v�a�r� �n�=�"�"�,�t�=�{�}�,�i�,�r�;�n�=�"�h�t�m�l�g�r�i�d�_�a�-�v�a�l�u�a�b�l�e�s�"�;�c�o�n�s�o�l�e�.�l�o�g�(�"�s�e�t�C�h�e�s�s�O�t�h�e�r�G�r�i�d�s�:� �g�r�i�d�I�d�=�"�+�n�+�"� �e�x�i�s�t�s�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�(�t�=�{�m�e�t�a�d�a�t�a�:�[�{�n�a�m�e�:�"�i�t�e�m�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t
2�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�v�a�l�u�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�c�t�i�o�n�"�,�d�a�t�a�t�y�p�e�:�"�h�t�m�l�"�,�e�d�i�t�a�b�l�e�:�!�1�}�]�}�,�s�e�t�C�h�e�s�s�G�r�i�d�T�a�b�l�e�(�n�,�t�,�"�a�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�"�)�)�;�n�=�"�h�t�m�l�g�r�i�d�_�b�-�v�a�l�u�a�b�l�e�s�"�;�c�o�n�s�o�l�e�.�l�o�g�(�"�s�e�t�C�h�e�s�s�O�t�h�e�r�G�r�i�d�s�:� �g�r�i�d�I�d�=�"�+�n�+�"� �e�x�i�s�t�s�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�(�t�=�{�m�e�t�a�d�a�t�a�:�[�{�n�a�m�e�:�"�i�t�e�m�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�v�a�l�u�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�c�t�i�o�n�"�,�d�a�t�a�t�y�p�e�:�"�h�t�m�l�"�,�e�d�i�t�a�b�l�e�:�!�1�}�]�}�,�s�e�t�C�h�e�s�s�G�r�i�d�T�a�b�l�e�(�n�,�t�,�"�b�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�"�)�)�;�n�=�"�h�t�m�l�g�r�i�d�_�p�a�i�r�s�-�a�n�d�-�s�e�t�s�"�;�c�o�n�s�o�l�e�.�l�o�g�(�"�s�e�t�C�h�e�s�s�O�t�h�e�r�G�r�i�d�s�:� �g�r�i�d�I�d�=�"�+�n�+�"� �e�x�i�s�t�s�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�(�t�=�{�m�e�t�a�d�a�t�a�:�[�{�n�a�m�e�:�"�i�t�e�m�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�n�u�m�b�e�r�"�,�d�a�t�a�t�y�p�e�:�"�i�n�t�e�g�e�r�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�v�a�l�u�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�c�t�i�o�n�"�,�d�a�t�a�t�y�p�e�:�"�h�t�m�l�"�,�e�d�i�t�a�b�l�e�:�!�1�}�]�}�,�s�e�t�C�h�e�s�s�G�r�i�d�T�a�b�l�e�(�n�,�t�,�"�e�x�t�e�n�s�i�o�n�-�t�o�t�a�l�"�)�)�;�n�=�"�h�t�m�l�g�r�i�d�_�m�e�c�h�a�n�i�c�a�l�"�;�c�o�n�s�o�l�e�.�l�o�g�(�"�s�e�t�C�h�e�s�s�O�t�h�e�r�G�r�i�d�s�:� �g�r�i�d�I�d�=�"�+�n�+�"� �e�x�i�s�t�s�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�(�t�=�{�m�e�t�a�d�a�t�a�:�[�{�n�a�m�e�:�"�i�t�e�m�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�m�o�d�e�l�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�g�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�v�a�l�u�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�c�t�i�o�n�"�,�d�a�t�a�t�y�p�e�:�"�h�t�m�l�"�,�e�d�i�t�a�b�l�e�:�!�1�}�]�}�,�s�e�t�C�h�e�s�s�G�r�i�d�T�a�b�l�e�(�n�,�t�,�"�e�x�t�e�n�s�i�o�n�-�t�o�t�a�l�"�)�)�;�n�=�"�h�t�m�l�g�r�i�d�_�m�o�t�o�r�-�v�e�h�i�c�l�e�"�;�c�o�n�s�o�l�e�.�l�o�g�(�"�s�e�t�C�h�e�s�s�O�t�h�e�r�G�r�i�d�s�:� �g�r�i�d�I�d�=�"�+�n�+�"� �e�x�i�s�t�s�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�(�t�=�{�m�e�t�a�d�a�t�a�:�[�{�n�a�m�e�:�"�m�a�k�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�m�o�d�e�l�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�y�e�a�r�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�v�a�l�u�e�"�,�d�a�t�a�t�y�p�e�:�"�s�t�r�i�n�g�"�,�e�d�i�t�a�b�l�e�:�!�0�}�,�{�n�a�m�e�:�"�a�c�t�i�o�n�"�,�d�a�t�a�t�y�p�e�:�"�h�t�m�l�"�,�e�d�i�t�a�b�l�e�:�!�1�}�]�}�,�s�e�t�C�h�e�s�s�G�r�i�d�T�a�b�l�e�(�n�,�t�,�"�e�x�t�e�n�s�i�o�n�-�t�o�t�a�l�"�)�)�;�i�=�"�"�;�r�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�i�d�^�=�'�a�-�m�o�v�i�n�g�-�l�o�c�a�t�i�o�n�'�]�"�)�;�r�.�f�o�r�E�a�c�h�(�n�=�>�{�n�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�h�a�n�g�e�"�,�u�)�}�)�;�u�p�d�a�t�e�T�o�t�a�l�V�a�l�u�e�(�"�a�-�t�o�t�a�l�"�,�`�$�{�i�}�,�a�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�,�a�-�p�r�e�p�a�i�d�-�r�e�m�o�v�a�l�-�c�o�s�t�s�`�)�;�u�p�d�a�t�e�T�o�t�a�l�V�a�l�u�e�(�"�b�-�t�o�t�a�l�"�,�"�o�p�t�i�o�n�-�b�-�i�t�e�m�s�-�t�o�t�a�l�,�b�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�,�b�-�p�r�e�p�a�i�d�-�r�e�m�o�v�a�l�-�c�o�s�t�s�"�)�}�f�u�n�c�t�i�o�n� �u�p�d�a�t�e�T�o�t�a�l�V�a�l�u�e�(�n�,�t�)�{�v�a�r� �r�,�i�;�i�f�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�t�)�{�r�=�t�.�s�p�l�i�t�(�"�,�"�)�;
2�f�o�r�(�i� �i�n� �r�)�i�=�r�[�i�]�.�t�r�i�m�(�)�,�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�i�)�&�&�(�a�d�d�E�v�e�n�t�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�i�)�,�"�c�h�a�n�g�e�"�,�f�u�n�c�t�i�o�n�(�)�{�c�a�l�c�u�l�a�t�e�T�o�t�a�l�V�a�l�u�e�(�n�,�t�)�}�)�,�c�a�l�c�u�l�a�t�e�T�o�t�a�l�V�a�l�u�e�(�n�,�t�)�)�}�}�f�u�n�c�t�i�o�n� �c�a�l�c�u�l�a�t�e�T�o�t�a�l�V�a�l�u�e�(�n�,�t�)�{�v�a�r� �r�=�0�,�f�,�u�,�i�;�i�f�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�t�)�{�f�=�t�.�s�p�l�i�t�(�"�,�"�)�;�f�o�r�(�u� �i�n� �f�)�u�=�f�[�u�]�.�t�r�i�m�(�)�,�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�&�&�(�i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�.�v�a�l�u�e�,�i�&�&�(�i�=�i�.�r�e�p�l�a�c�e�(�/�[�^�\�d�\�.�]�/�g�,�"�"�)�)�,�i�&�&�!�i�s�N�a�N�(�i�)�&�&�(�r�+�=�1�*�i�)�)�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�.�v�a�l�u�e�=�r�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�r�o�_�"�+�n�)�&�&�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�r�o�_�"�+�n�)�.�v�a�l�u�e�=�r�)�}�r�>�0�&�&�c�o�n�s�o�l�e�.�l�o�g�(�"�c�a�l�c�u�l�a�t�e�T�o�t�a�l�V�a�l�u�e� �t�o�t�a�l� �f�o�r� �"�+�n�+�"� �f�i�e�l�d�,� �f�i�e�l�d�s�T�o�S�u�m�=�"�+�t�+�"� �t�o�t�=�"�+�r�)�}�f�u�n�c�t�i�o�n� �s�e�t�C�h�e�s�s�G�r�i�d�T�a�b�l�e�(�n�,�t�,�i�)�{�r�e�t�u�r�n� �o�G�r�i�d�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�s�t�r�G�r�i�d�C�o�n�t�a�i�n�e�r�I�d�=�"�G�r�i�d�C�o�n�t�a�i�n�e�r�_�"�+�n�,�o�G�r�i�d�.�o�u�t�e�r�H�T�M�L�=�'�<�d�i�v� �i�d�=�"�'�+�s�t�r�G�r�i�d�C�o�n�t�a�i�n�e�r�I�d�+�'�"�>�'�+�o�G�r�i�d�.�o�u�t�e�r�H�T�M�L�+�"�<�\�/�d�i�v�>�"�,�o�G�r�i�d�C�o�n�t�a�i�n�e�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�s�t�r�G�r�i�d�C�o�n�t�a�i�n�e�r�I�d�)�,�o�G�r�i�d�?�(�c�m�E�G�[�i�+�n�]�=�n�e�w� �E�d�i�t�a�b�l�e�G�r�i�d�(�n�+�"�G�r�i�d�"�,�{�t�a�b�l�e�L�o�a�d�e�d�:�f�u�n�c�t�i�o�n�(�)�{�t�h�i�s�.�l�o�a�d�(�t�)�;�t�h�i�s�.�h�a�s�C�o�l�u�m�n�(�"�a�c�t�i�o�n�"�)�&�&�t�h�i�s�.�s�e�t�C�e�l�l�R�e�n�d�e�r�e�r�(�"�a�c�t�i�o�n�"�,�n�e�w� �C�e�l�l�R�e�n�d�e�r�e�r�(�{�r�e�n�d�e�r�:�f�u�n�c�t�i�o�n�(�t�)�{�t�.�i�n�n�e�r�H�T�M�L�=�"�<�a� �o�n�c�l�i�c�k�=�\�"�c�m�E�G�[�'�"�+�i�+�n�+�"�'�]�.�r�e�m�o�v�e�(�"�+�t�.�r�o�w�I�n�d�e�x�+�'�)�;� �"� �c�l�a�s�s�=�"�b�u�t�t�o�n�I�c�o�n� �i�c�o�n�D�e�l�e�t�e�R�o�w�"� �t�i�t�l�e�=�"�D�e�l�e�t�e� �r�o�w� �'�+�t�.�r�o�w�I�n�d�e�x�+�'�"�>�D�e�l�e�t�e�<�\�/�a�>�'�;�t�.�i�n�n�e�r�H�T�M�L�+�=�"�&�n�b�s�p�;�<�a� �o�n�c�l�i�c�k�=�\�"�c�m�E�G�[�'�"�+�i�+�n�+�"�'�]�.�i�n�s�e�r�t�E�m�p�t�y�R�o�w�(�"�+�t�.�r�o�w�I�n�d�e�x�+�'�)�;�"� �c�l�a�s�s�=�"�b�u�t�t�o�n�I�c�o�n� �i�c�o�n�A�d�d�R�o�w�"� �t�i�t�l�e�=�"�A�d�d� �r�o�w� �b�e�l�o�w� �t�h�i�s� �o�n�e�"�>�A�d�d�<�\�/�a�>�'�}�}�)�)�;�t�h�i�s�.�c�u�r�r�e�n�t�C�o�n�t�a�i�n�e�r�i�d�=�s�t�r�G�r�i�d�C�o�n�t�a�i�n�e�r�I�d�;�t�h�i�s�.�c�u�r�r�e�n�t�T�a�b�l�e�i�d�=�n�;�t�h�i�s�.�a�t�t�a�c�h�T�o�H�T�M�L�T�a�b�l�e�(�n�)�;�t�h�i�s�.�r�e�n�d�e�r�G�r�i�d�(�)�}�,�m�o�d�e�l�C�h�a�n�g�e�d�:�f�u�n�c�t�i�o�n�(�)�{�U�p�d�a�t�e�C�h�e�s�s�F�i�e�l�d�s�(�i�)�}�,�t�a�b�l�e�S�o�r�t�e�d�:�f�u�n�c�t�i�o�n�(�)�{�U�p�d�a�t�e�C�h�e�s�s�F�i�e�l�d�s�(�i�)�}�,�r�o�w�R�e�m�o�v�e�d�:�f�u�n�c�t�i�o�n�(�)�{�U�p�d�a�t�e�C�h�e�s�s�F�i�e�l�d�s�(�i�)�}�,�r�o�w�I�n�s�e�r�t�e�d�:�f�u�n�c�t�i�o�n�(�)�{�U�p�d�a�t�e�C�h�e�s�s�F�i�e�l�d�s�(�i�)�}�}�)�,�c�m�E�G�[�i�+�n�]�.�t�a�b�l�e�L�o�a�d�e�d�(�)�,�c�m�E�G�[�i�+�n�]�)�:�!�1�}�f�u�n�c�t�i�o�n� �r�e�m�o�v�e�L�a�s�t�C�o�l�u�m�n�(�n�)�{�v�a�r� �u�=�"�"�,�i�,�r�,�t�;�i�f�(�n�)�{�f�o�r�(�i�=�n�.�c�l�o�n�e�N�o�d�e�(�!�0�)�,�r�=�i�.�r�o�w�s�,�t�=�0�;�t�<�r�.�l�e�n�g�t�h�;�t�+�+�)�r�[�t�]�.�d�e�l�e�t�e�C�e�l�l�(�-�1�)�;�u�=�i�.�o�u�t�e�r�H�T�M�L�}�r�e�t�u�r�n� �u�}�f�u�n�c�t�i�o�n� �U�p�d�a�t�e�C�h�e�s�s�F�i�e�l�d�s�(�n�)�{�v�a�r� �u�=�0�,�s�=�0�,�i�,�e�,�o�,�h�,�f�,�t�,�r�;�f�o�r�(�i� �i�n� �c�m�E�G�)�i�f�(�i�.�i�n�d�e�x�O�f�(�n�)�=�=�0�)�f�o�r�(�e�=�i�.�r�e�p�l�a�c�e�(�n�,�"�"�)�,�o�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�e�)�,�o�&�&�(�h�=�e�.�r�e�p�l�a�c�e�(�"�h�t�m�l�g�r�i�d�_�"�,�"�"�)�+�"�-�c�m�e�m�a�i�l�d�a�t�a�"�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�h�)�,�r�&�&�(�s�=�r�e�m�o�v�e�L�a�s�t�C�o�l�u�m�n�(�o�)�,�r�.�v�a�l�u�e�=�H�t�m�l�E�n�c�o�d�e�(�s�)�.�r�e�p�l�a�c�e�(�/�[�\�r�\�n�]�+�/�g�,�"�"�)�)�)�,�f�=�0�;�f�<�c�m�E�G�[�i�]�.�d�a�t�a�.�l�e�n�g�t�h�;�f�+�+�)�t�=�c�m�E�G�[�i�]�.�d�a�t�a�[�f�]�.�c�o�l�u�m�n�s�[�c�m�E�G�[�i�]�.�d�a�t�a�[�f�]�.�c�o�l�u�m�n�s�.�l�e�n�g�t�h�-�2�]�,�t�&�&�(�t�=�t�.�r�e�p�l�a�c�e�(�/�[�^�\�d�\�.�]�/�g�,�"�"�)�,�t�&�&�!�i�s�N�a�N�(�t�)�&�&�(�u�+�=�1�*�t�)�)�;�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�;�r�&�&�(�r�.�v�a�l�u�e�=�u�,�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�r�o�_�"�+�n�)�&�&�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�r�o�_�"�+�n�)�.�v�a�l�u�e�=�u�)�,�n�=�=�"�a�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�"�&�&�c�a�l�c�u�l�a�t�e�T�o�t�a�l�V�a�l�u�e�(�"�a�-�t�o�t�a�l�"�,�"�a�-�c�a�l�c�u�l�a�t�e�d�-�v�a�l�u�e�-�a�u�s�,�a�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�,�a�-�p�r�e�p�a�i�d�-�r�e�m�o�v�a�l�-�c�o�s�t�s�"�)�,�(�n�=�=�"�b�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�"�|�|�n�=�=�"�o�p�t�i�o�n�-�b�-�i�t�e�m�s�-�t�o�t�a�l�"�)�&�&�c�a�l�c�u�l�a�t�e�T�o�t�a�l�V�a�l�u�e�(�"�b�-�t�o�t�a�l�"�,�"�a�-�c�a�l�c�u�l�a�t�e�d�-�v�a�l�u�e�-�o�s�,�o�p�t�i�o�n�-�b�-�i�t�e�m�s�-�t�o�t�a�l�,�b�-�v�a�l�u�a�b�l�e�s�-�s�u�b�-�t�o�t�a�l�,�b�-�p�r�e�p�a�i�d�-�r�e�m�o�v�a�l�-�c�o�s�t�s�"�)�)�;�u�>�0�&�&�c�o�n�s�o�l�e�.�l�o�g�(�"�\�n�t�o�t�V�a�l�=�"�+�u�+�"� �f�o�r� �t�o�t�a�l�i�d�=�"�+�n�)�}�f�u�n�c�t�i�o�n� �S�e�n�d�S�e�c�u�r�i�t�y�N�u�m�b�e�r�(�n�)�{�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�n�d�S�e�c�u�r�i�t�y�N�u�m�b�e�r�:� �e�l�=�"�+�n�+�"� �h�r�e�f�=�"�+�l�o�c�a�t�i�o�n�.�h�r�e�f�)�,�n�)�{�v�a�r� �i�=�"�c�=�s�e�n�d�s�e�c�u�r�i�t�y�n�u�m�b�e�r�&�u�r�l�=�"�+�e�n�c�o�d�e�U�R�I�C�o�m�p�o�n�e�n�t�(�l�o�c�a�t�i�o�n�.�h�r�e�f�)�,�t�=�n�.�v�a�l�u�e�;�r�e�t�u�r�n� �n�.�v�a�l�u�e�=�"�S�e�n�d�i�n�g� �.�.�.�"�,�$�.�a�j�a�x�(�{�t�y�p�e�:�"�P�O�S�T�"�,�u�r�l�:�"�/�A�p�
2p�_�S�i�t�e�s�/�c�h�e�s�s�m�o�v�i�n�g�/�J�a�v�a�s�c�r�i�p�t�/�A�j�a�x�/�c�o�m�m�a�n�d�.�a�s�p�x�"�,�d�a�t�a�:�i�,�s�u�c�c�e�s�s�:�f�u�n�c�t�i�o�n�(�i�)�{�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�n�d�S�e�c�u�r�i�t�y�N�u�m�b�e�r�:� �s�u�c�c�e�s�s�:� �r�e�s�u�l�t�.�S�u�c�c�e�s�s�=�"�+�i�.�S�u�c�c�e�s�s�)�;�i�.�S�u�c�c�e�s�s�?�a�l�e�r�t�(�"�S�e�c�u�r�i�t�y� �n�u�m�b�e�r� �s�e�n�t�.� �P�l�e�a�s�e� �c�h�e�c�k� �y�o�u�r� �e�m�a�i�l� �a�n�d� �e�n�t�e�r� �t�h�e� �n�e�w� �s�e�c�u�r�i�t�y� �n�u�m�b�e�r� �b�e�l�o�w�.�"�)�:�a�l�e�r�t�(�i�.�M�e�s�s�a�g�e�)�;�n�.�v�a�l�u�e�=�t�}�,�e�r�r�o�r�:�f�u�n�c�t�i�o�n�(�)�{�a�l�e�r�t�(�"�S�o�m�e�t�h�i�n�g� �w�e�n�t� �w�r�o�n�g�.� �P�l�e�a�s�e� �t�r�y� �a�g�a�i�n� �l�a�t�e�r� �o�r� �c�o�n�t�a�c�t� �t�h�e� �s�i�t�e� �a�d�m�i�n�i�s�t�r�a�t�o�r�.�"�)�;�n�.�v�a�l�u�e�=�t�}�}�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�A�j�a�x�:� �r�e�t�u�r�n�i�n�g� �f�a�l�s�e�"�)�,�!�1�}�r�e�t�u�r�n�!�1�}�f�u�n�c�t�i�o�n� �t�r�i�g�g�e�r�C�h�a�t�(�)�{�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�i�f�r�a�m�e�#�p�o�d�i�u�m�-�b�u�b�b�l�e�"�)�&�&�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�#�t�r�i�g�g�e�r�C�h�a�t�B�u�t�t�o�n�"�)�&�&�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�#�t�r�i�g�g�e�r�C�h�a�t�B�u�t�t�o�n�"�)�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�n�)�{�n�.�p�r�e�v�e�n�t�D�e�f�a�u�l�t�(�)�;�w�i�n�d�o�w�.�P�o�d�i�u�m�W�e�b�C�h�a�t�.�o�p�e�n�(�)�}�)�}�v�a�r� �c�m�E�G�,�e�Q�u�o�t�e�;�s�c�r�e�e�n�S�i�z�e�s�=�{�m�i�c�r�o�:�2�4�0�,�t�i�n�y�:�3�7�5�,�s�m�a�l�l�:�6�0�0�,�m�e�d�i�u�m�:�9�0�0�,�l�a�r�g�e�:�1�2�0�0�,�l�a�r�g�e�r�:�1�5�0�0�,�h�u�g�e�:�1�9�2�0�}�;�v�a�r� �g�s�t�r�S�m�a�l�l�S�c�r�e�e�n�T�o�g�g�l�e�E�l�e�m�e�n�t�s�L�i�s�t�=�"�"�,�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�L�a�r�g�e�S�c�r�e�e�n�=�!�0�,�b�l�n�S�t�i�c�k�y�H�e�a�d�e�r�S�m�a�l�l�S�c�r�e�e�n�=�!�0�;�(�f�u�n�c�t�i�o�n�(�n�,�t�,�i�,�r�,�u�,�f�,�e�)�{�v�a�r� �o�=�{�a�k�:�"�9�7�8�3�4�9�1�6�7�"�,�c�l�:�"�5�Y�p�-�C�L�3�x�i�V�k�Q�7�9�j�B�0�g�M�"�}�;�n�[�i�]�=�n�[�i�]�|�|�f�u�n�c�t�i�o�n�(�)�{�(�n�[�i�]�.�q�=�n�[�i�]�.�q�|�|�[�]�)�.�p�u�s�h�(�a�r�g�u�m�e�n�t�s�)�}�;�n�[�r�]�|�|�(�n�[�r�]�=�o�.�a�k�)�;�f�=�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�u�)�;�f�.�a�s�y�n�c�=�1�;�f�.�s�r�c�=�"�/�/�w�w�w�.�g�s�t�a�t�i�c�.�c�o�m�/�w�c�m�/�l�o�a�d�e�r�.�j�s�"�;�e�=�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�u�)�[�0�]�;�e�.�p�a�r�e�n�t�N�o�d�e�.�i�n�s�e�r�t�B�e�f�o�r�e�(�f�,�e�)�;�n�.�_�g�o�o�g�W�c�m�G�e�t�=�f�u�n�c�t�i�o�n�(�t�,�r�,�u�)�{�n�[�i�]�(�2�,�t�,�o�,�r�,�n�u�l�l�,�n�e�w� �D�a�t�e�,�u�)�}�}�)�(�w�i�n�d�o�w�,�d�o�c�u�m�e�n�t�,�"�_�g�o�o�g�W�c�m�I�m�p�l�"�,�"�_�g�o�o�g�W�c�m�A�k�"�,�"�s�c�r�i�p�t�"�)�;�c�m�E�G�=�[�]�;�e�Q�u�o�t�e�=�{�i�n�v�e�n�t�o�r�y�:�"�"�,�a�d�d�i�t�i�o�n�a�l�I�t�e�m�s�:�"�"�,�s�t�r�R�o�o�m�E�l�e�m�e�n�t�I�d�:�"�R�o�o�m�I�t�e�m�s�"�,�s�t�r�I�t�e�m�s�L�i�s�t�E�l�e�m�e�n�t�I�d�:�"�I�t�e�m�s�L�i�s�t�"�,�b�l�n�D�e�b�u�g�E�n�a�b�l�e�d�:�!�1�,�D�i�s�p�l�a�y�I�n�v�e�n�t�o�r�y�:�f�u�n�c�t�i�o�n�(�n�,�t�)�{�v�a�r� �f�=�[�]�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�i�,�u�;�i�f�(�t�&�&�r�)�{�f�o�r�(�t�.�r�o�o�m�s�.�l�e�n�g�t�h�!�=�1�&�&�f�.�p�u�s�h�(�'�<�l�i�>�<�a� �h�r�e�f�=�"�#�"� �c�l�a�s�s�=�"�r�o�o�m�N�a�m�e�"� �o�n�c�l�i�c�k�=�"�r�e�t�u�r�n� �e�Q�u�o�t�e�.�D�i�s�p�l�a�y�I�n�v�e�n�t�o�r�y�R�o�o�m�(�t�h�i�s�,� �e�Q�u�o�t�e�.�s�t�r�R�o�o�m�E�l�e�m�e�n�t�I�d�,� �i�n�v�e�n�t�o�r�y�,� �\�'�A�l�l�\�'�)�;�"�>�A�l�l�<�\�/�a�>� �<�s�p�a�n� �c�l�a�s�s�=�"�q�u�a�n�t�i�t�y�"�>�'�+�t�.�q�t�y�+�"�<�\�/�s�p�a�n�>�<�\�/�l�i�>�"�)�,�i�=�0�;�i�<�t�.�r�o�o�m�s�.�l�e�n�g�t�h�;�i�+�+�)�u�=�t�.�r�o�o�m�s�[�i�]�.�r�o�o�m�,�u�|�|�(�u�=�"�R�o�o�m� �N�o�t� �S�p�e�c�i�f�i�e�d�"�)�,�f�.�p�u�s�h�(�'�<�l�i�>�<�a� �h�r�e�f�=�"�#�"� �c�l�a�s�s�=�"�r�o�o�m�N�a�m�e�"� �o�n�c�l�i�c�k�=�"�r�e�t�u�r�n� �e�Q�u�o�t�e�.�D�i�s�p�l�a�y�I�n�v�e�n�t�o�r�y�R�o�o�m�(�t�h�i�s�,� �e�Q�u�o�t�e�.�s�t�r�R�o�o�m�E�l�e�m�e�n�t�I�d�,� �i�n�v�e�n�t�o�r�y� �,�\�'�'�+�t�.�r�o�o�m�s�[�i�]�.�r�o�o�m�+�"�'�)�;�\�"�>�"�+�u�+�'�<�\�/�a�>� �<�s�p�a�n� �c�l�a�s�s�=�"�q�u�a�n�t�i�t�y�"�>�'�+�t�.�r�o�o�m�s�[�i�]�.�q�t�y�+�"�<�\�/�s�p�a�n�>�<�\�/�l�i�>�"�)�,�t�.�r�o�o�m�s�.�l�e�n�g�t�h�=�=�1�;�r�.�i�n�n�e�r�H�T�M�L�=�'�<�u�l� �c�l�a�s�s�=�"�r�o�o�m�s�"�>�'�+�f�.�j�o�i�n�(�"�\�n�"�)�+�"�<�\�/�u�l�>�"�}�e�l�s�e� �r�&�&�(�r�.�i�n�n�e�r�H�T�M�L�=�'�<�d�i�v� �c�l�a�s�s�=�"�r�o�o�m�s� �n�o�I�t�e�m�s�"�>�T�h�e�r�e� �a�r�e� �n�o� �i�t�e�m�s� �i�n� �t�h�e� �i�n�v�e�n�t�o�r�y�<�\�/�d�i�v�>�'�)�}�,�D�i�s�p�l�a�y�I�n�v�e�n�t�o�r�y�R�o�o�m�:�f�u�n�c�t�i�o�n�(�n�,�t�,�i�,�r�)�{�v�a�r� �o�=�[�]�,�e�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�,�f�,�u�;�f�o�r�(�a�r�r�R�o�o�m�L�i�n�k�E�l�e�m�e�n�t�s�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�r�o�o�m�N�a�m�e�"�)�,�u�=�0�;�u�<�a�r�r�R�o�o�m�L�i�n�k�E�l�e�m�e�n�t�s�.�l�e�n�g�t�h�;�u�+�+�)�a�r�r�R�o�o�m�L�i�n�k�E�l�e�m�e�n�t�s�[�u�]�.�c�l�a�s�s�N�a�m�e�=�"�r�o�o�m�N�a�m�e�"�;�i�f�(�n�.�c�l�a�s�s�N�a�m�e�=�"�r�o�o�m�N�a�m�e� �s�e�l�e�c�t�e�d�"�,�i�&�&�e�)�i�f�(�r�!�=�"�A�l�l�"�)�{�f�o�r�(�f�=�"�"�,�u�=�0�;�u�<�i�.�r�o�o�m�s�.�l�e�n�g�t�h�;�u�+�+�)�i�.�r�o�o�m�s�[�u�]�.�r�o�o�m�=�=�r�&�&�(�f�=�i�.�r�o�o�m�s�[�u�]�.�i�t�e�m�s�)�;�i�f�(�f�)�f�o�r�(�u�=�0�;�u�<�f�.�l�e�n�g�t�h�;�u�+�+�)�o�.�p�u�s�h�(�'�<�l�i�>�<�s�p�a�n� �c�l�a�s�s�=�"�i�t�e�m�N�a�m�e�"�>�'�+�f�[�u�]�.�n�a�m�e�+�'�<�\�/�s�p�a�n�>� �<�s�p�a�n� �c�l�a�s�s�=�"�q�u�a�n�t�i�t�y�"�>�'�+�f�[�u�]�.�q�t�y�+�"�<�\�/�s�p�a�n�>�<�\�/�l�i�>�"�)�;�e�.�i�n�n�e�r�H�T�M�L�=�'�<�u�l� �c�l�a�s�s�=�"�i�t�e�m�s�"�>�'�+�o�.�j�o�i�n�(�"�\�n�"�)�+�"�<�\�/�u�l�>�"�}�e�l�s�e� �e�.�i�n�n�e�r�H�T�M�L�=�"�"�;�r�e�t�u�r�n�!�1�}�,�D�i�s�p�l�a�y�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�:�f�u�n�c�t�i�o�n�(�n�,�t�,�i�,�r�,�u�)�{�v�a�r� �w�=�[�]�,�l�=�"�"�,�a�,�v�,�f�,�e�,
2�s�,�h�,�y�,�o�,�c�,�p�;�i�f�(�e�l�a�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�u�s�e�r�-�a�c�c�e�p�t�e�d�-�t�o�t�a�l�"�)�,�e�l�a�t�&�&�(�l�=�e�l�a�t�.�v�a�l�u�e�)�,�a�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�v�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�u�s�e�r�-�a�c�c�e�p�t�e�d�-�a�d�d�i�t�i�o�n�a�l�"�)�,�v�&�&�!�u�&�&�(�u�=�v�.�v�a�l�u�e�)�,�e�Q�u�o�t�e�.�b�l�n�D�e�b�u�g�E�n�a�b�l�e�d�&�&�c�o�n�s�o�l�e�.�l�o�g�(�"�e�Q�u�o�t�e�.�D�i�s�p�l�a�y�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�:� �e�l�=�"�+�a�+�"� �a�c�c�e�p�t�e�d�T�o�t�a�l�P�r�i�c�e�=�"�+�l�+�"� �s�e�l�e�c�t�e�d�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�=�"�+�u�)�,�i�&�&�i�.�l�e�n�g�t�h�>�0�&�&�a�)�{�f�o�r�(�f�=�0�;�f�<�i�.�l�e�n�g�t�h�;�f�+�+�)�e�=�1�*�i�[�f�]�.�t�r�v�a�l�u�e�+�1�*�i�[�f�]�.�t�r�v�a�l�u�e�t�a�x�,�e�Q�u�o�t�e�.�b�l�n�D�e�b�u�g�E�n�a�b�l�e�d�&�&�c�o�n�s�o�l�e�.�l�o�g�(�"�e�Q�u�o�t�e�.�D�i�s�p�l�a�y�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�:� �i�=�"�+�f�+�"� �p�r�i�c�e�=�"�+�e�+�"� �f�p�=�"�+�F�o�r�m�a�t�C�u�r�r�e�n�c�y�(�e�)�)�,�s�=�t�+�"�_�"�+�i�[�f�]�.�t�r�i�d�+�"�;�"�+�e�+�"�;�"�+�H�t�m�l�E�n�c�o�d�e�(�i�[�f�]�.�t�r�d�e�s�c�)�.�r�e�p�l�a�c�e�(�/�\�r�\�n�/�g�,�"�"�)�,�h�=�"�"�,�u�?�u�.�i�n�d�e�x�O�f�(�s�)�>�-�1�&�&�(�h�=�"� �c�h�e�c�k�e�d� �"�)�:�!�l�&�&�(�r�|�|�i�[�f�]�.�_�o�p�t�i�o�n�a�l�e�x�t�r�a�=�=�"�N�"�)�&�&�(�h�=�"� �c�h�e�c�k�e�d� �"�)�,�y�=�'�<�i�n�p�u�t� �t�y�p�e�=�"�c�h�e�c�k�b�o�x�"� �'�+�h�+�'� �n�a�m�e�=�"�u�s�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�"� �v�a�l�u�e�=�"�'�+�s�+�'�"� �o�n�c�l�i�c�k�=�"�e�Q�u�o�t�e�.�U�p�d�a�t�e�M�o�v�e�P�r�i�c�e�(�)�;�"�>�'�,�!�1�&�&�(�r�|�|�i�[�f�]�.�_�o�p�t�i�o�n�a�l�e�x�t�r�a�=�=�"�N�"�)�&�&�(�y�=�'�<�i�n�p�u�t� �t�y�p�e�=�"�c�h�e�c�k�b�o�x�"� �r�e�a�d�o�n�l�y� �d�i�s�a�b�l�e�d� �c�h�e�c�k�e�d� �n�a�m�e�=�"�u�s�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�"�>�<�i�n�p�u�t� �t�y�p�e�=�"�h�i�d�d�e�n�"� �n�a�m�e�=�"�u�s�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�"� �v�a�l�u�e�=�"�'�+�s�+�'�"�>�'�)�,�o�=�i�[�f�]�.�t�r�d�e�t�a�i�l�s�,�o�&�&�(�o�=�'�<�s�p�a�n� �c�l�a�s�s�=�"�n�o�t�e�"�>�'�+�o�+�"�<�\�/�s�p�a�n�>�"�)�,�w�.�p�u�s�h�(�`��� 3� � � � � � � � � � � �<�l�a�b�e�l�>��� 4� � � � � � � � � � � � �<�s�p�a�n� �c�l�a�s�s�=�"�i�t�e�m�"�>��� 5� � � � � � � � � � � � � � � � � � � � � � � � � � � � �`�+�y�+�`��� 6� � � � � � � � � � � � � � � � �`�+�i�[�f�]�.�t�r�d�e�s�c�+�`��� 7� � � � � � � � � � � � � � � � �`�+�o�+�`��� 8� � � � � � � � � � � � � � � � � � � � � � � � �<�/�s�p�a�n�>��� 9� � � � � � � � � � � � � � � � � � � � � � � � �<�s�p�a�n� �c�l�a�s�s�=�"�p�r�i�c�e�"�>�`�+�F�o�r�m�a�t�C�u�r�r�e�n�c�y�(�e�)�+�`�<�/�s�p�a�n�>��� 10� � � � � � � � � � � �<�/�l�a�b�e�l�>� � � � ��� 11� � � � � � � � � � �`�)�;�c�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�l�i�"�)�;�c�.�c�l�a�s�s�N�a�m�e�=�"�f�i�e�l�d�C�o�n�t�a�i�n�e�r� �c�h�e�c�k�b�o�x�F�i�e�l�d�"�;�c�.�i�n�n�e�r�H�T�M�L�=�`��� 12� � � � �<�d�i�v� �c�l�a�s�s�=�"�f�i�e�l�d�T�i�t�l�e�"�>��� 13� � � � � � � � �A�d�d�i�t�i�o�n�a�l� �I�t�e�m�s��� 14� � � � �<�/�d�i�v�>��� 15� � � � �<�d�i�v� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�e�n�t�"�>��� 16� � � � � � � � �<�f�i�e�l�d�s�e�t� �i�d�=�"�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�"� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�r�o�l�s� �v�e�r�t�i�c�a�l�O�p�t�i�o�n�s�"�>��� 17� � � � � � �<�l�e�g�e�n�d�>��� 18� � � � � � � �A�d�d�i�t�i�o�n�a�l� �I�t�e�m�s��� 19� � � � � � �<�/�l�e�g�e�n�d�>��� 20� � � � � � � � � � � � �`�+�w�.�j�o�i�n�(�"�\�n�"�)�+�`��� 21� � � � � � � � �<�/�f�i�e�l�d�s�e�t�>��� 22� � � � �<�/�d�i�v�>��� 23�`�;�p�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�;�p�&�&�p�.�a�p�p�e�n�d�C�h�i�l�d�(�c�)�;�e�Q�u�o�t�e�.�U�p�d�a�t�e�M�o�v�e�P�r�i�c�e�(�)�}�}�,�U�p�d�a�t�e�M�o�v�e�P�r�i�c�e�:�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �f�=�0�,�e�=�0�,�t�=�0�,�n�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�M�a�i�n�M�o�v�e�P�r�i�c�e�"�)�,�a�=�"�A�U�D�"�,�s�=�"�$�"�,�h�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�Q�u�o�t�e�C�u�r�r�e�n�c�y�"�)�,�c�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�Q�u�o�t�e�C�u�r�r�e�n�c�y�S�y�m�b�o�l�"�)�,�i�,�o�;�h�&�&�(�a�=�h�.�i�n�n�e�r�H�T�M�L�)�;�c�&�&�(�s�=�c�.�i�n�n�e�r�H�T�M�L�)�;�n�&�&�(�f�=�n�.�i�n�n�e�r�H�T�M�L�.�t�r�i�m�(�)�.�r�e�p�l�a�c�e�(�/�[�^�\�d�\�.�]�/�g�,�"�"�)�)�;�n�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�T�o�t�a�l�P�r�i�c�e�"�)�;�n�&�&�(�t�=�n�.�i�n�n�e�r�H�T�M�L�.�t�r�i�m�(�)�.�r�e�p�l�a�c�e�(�/�[�^�\�d�\�.�]�/�g�,�"�"�)�)�;�e�Q�u�o�t�e�.�b�l�n�D�e�b�u�g�E�n�a�b�l�e�d�&�&�c�o�n�s�o�l�e�.�l�o�g�(�"�e�l�=�"�+�n�+�"� �m�a�i�n�M�o�v�e�P�r�i�c�e�=�"�+�f�+�"� �t�o�t�a�l�P�r�i�c�e�=�"�+�t�)�;�v�a�r� �l�=�"�"�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�N�a�m�e�(�"�u�s�A�d�d�i�t�i�o�n�a�l�I�t�e�m�s�"�)�,�u�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�u�s�e�r�-�a�c�c�e�p�t�e�d�-�a�d�d�i�t�i�o�n�a�l�"�)�;�i�f�(�u�&�&�(�u�.�v�a�l�u�e�=�"�"�)�,�r�)�f�o�r�(�i�=�0�;�i�<�r�.�l�e�n�g�t�h�;�i�+�+�)�r�[�i�]�.�c�h�e�c�k�e�d�&�&�(�u�&�&�(�u�.�v�a�l�u�e�+�=�l�+�r�[�i�]�.�v�a�l�u�e�,�l�=�"�,� �"�)�,�o�=�r�[�i�]�.�v�a�l�u�e�.�s�p�l�i�t�(�"�;�"�)�,�o�.�l�e�n�g�t�h�=�=�3�&�&�(�e�+�=�1�*�o�[�1�]�.�r�e�p�l�a�c�e�(�/�[�^�\�d�\�.�]�/�g�,�"�"�)�)�)�;�t�=�e�+�1�*�f�;�e�Q�u�o�t�e�.�b�l�n�D�e�b�u�g�E�n�a�b�l�e�d�&�&�c�o�n�s�o�l�e�.�l�o�g�(�"�o�p�t�i�o�n�a�l�P�r�i�c�e�=�"�+�e�+�"� �m�a�i�n�M�o�v�e�P�r�i�c�e�=�"�+�f�+�"� �t�o�t�a�l�P�r�i�c�e�=�"�+�t�+�"� �e�l�a�p�.�v�a�l�u�e�=�"�+�u�.�v�a�l�u�e�)�;�t�=�t�.�t�o�L�o�c�a�l�e�S�t�r�i�n�g�(�u�n�d�e�f�i�n�e�d�,�{�m�i�n�i�m�u�m�F�r�a�c�t�i�o�n�D�i�g�i�t�s�:�2�}�)�;�n�.�i�n�n�e�r�H�T�M�L�=�s�+�t�;�n�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�u�s�e�r�-�a�c�c�e�p�t�e�d�-�t�o�t�a�l�"�)�;�n�&�&�(�n�.�v�a�l�u�e�=�t�)�}�}�;��� 24�f�u�n�c�t�i�o�n� �c�m�F�i�r�e�C�m�s�F�o�r�m�B�u�t�t�o�n�(�n�,�t�)�{�v�a�r� �i�,�r�;�i�f�(�n�.�k�e�y�C�o�d�e�=�=�1�3�)�{�i�f�(�i�=�n�.�s�r�c�E�l�e�m�e�n�t�|�|�n�.�t�a�r�g�e�t�,�i�&�&�i�.�t�a�g�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�i�n�p�u�t�"�&�&�(�i�.�t�y�p�e�.�t�
24o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�s�u�b�m�i�t�"�|�|�i�.�t�y�p�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�b�u�t�t�o�n�"�)�|�|�i�.�t�a�g�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�a�"�&�&�i�.�h�r�e�f�!�=�n�u�l�l�&�&�i�.�h�r�e�f�!�=�"�"�|�|�i�.�t�a�g�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�t�e�x�t�a�r�e�a�"�)�r�e�t�u�r�n�!�0�;�v�a�r� �u�=�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�i�n�p�u�t�"�)�,�f�=�0�,�e�=�"�"�;�i�f�(�u�)�f�o�r�(�r�=�0�;�r�<�u�.�l�e�n�g�t�h�;�r�+�+�)�u�[�r�]�.�t�y�p�e�=�=�"�s�u�b�m�i�t�"�&�&�(�e�=�u�[�r�]�,�f�+�+�)�;�r�e�t�u�r�n� �f�=�=�1�?�W�e�b�F�o�r�m�_�S�i�m�u�l�a�t�e�C�l�i�c�k�(�e�,�n�)�:�(�a�l�e�r�t�(�"�P�l�e�a�s�e� �c�l�i�c�k� �o�n� �o�n�e� �o�f� �t�h�e� �f�o�r�m� �s�u�b�m�i�s�s�i�o�n� �b�u�t�t�o�n�s� �t�o� �s�u�b�m�i�t� �t�h�e� �f�o�r�m�.�"�)�,�!�1�)�}�r�e�t�u�r�n�!�0�}�f�u�n�c�t�i�o�n� �F�i�n�d�E�l�e�m�e�n�t�S�e�c�t�i�o�n�N�a�m�e�(�n�)�{�v�a�r� �r�=�"�"�,�i�,�t�;�r�e�t�u�r�n� �n�&�&�(�i�=�F�i�n�d�P�a�r�e�n�t�B�y�C�l�a�s�s�N�a�m�e�(�n�,�"�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�)�,�i�&�&�(�t�=�i�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�l�e�g�e�n�d�"�)�,�t�&�&�t�[�0�]�&�&�(�r�=�T�r�i�m�(�t�[�0�]�.�i�n�n�e�r�H�T�M�L�)�)�)�)�,�r�}�f�u�n�c�t�i�o�n� �F�i�n�d�F�i�e�l�d�S�e�c�t�i�o�n�N�a�m�e�(�n�,�t�)�{�v�a�r� �f�=�"�"�,�i�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�n�]�.�e�l�e�m�e�n�t�s�[�t�]�,�u�,�r�;�r�e�t�u�r�n� �i�&�&�(�i�.�t�y�p�e�=�=�u�n�d�e�f�i�n�e�d�&�&�(�i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�+�"�_�1�"�)�)�,�u�=�F�i�n�d�P�a�r�e�n�t�B�y�C�l�a�s�s�N�a�m�e�(�i�,�"�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�)�,�u�&�&�(�r�=�u�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�l�e�g�e�n�d�"�)�,�r�&�&�r�[�0�]�&�&�(�f�=�T�r�i�m�(�r�[�0�]�.�i�n�n�e�r�H�T�M�L�)�)�)�)�,�f�}�f�u�n�c�t�i�o�n� �F�i�n�d�F�o�r�m�N�a�m�e�(�n�)�{�i�f�(�n�)�{�v�a�r� �t�=�n�.�p�a�r�e�n�t�N�o�d�e�;�i�f�(�t�)�r�e�t�u�r�n� �t�.�n�o�d�e�N�a�m�e�&�&�t�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�f�o�r�m�"�?�t�.�h�a�s�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�)�?�t�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�)�:�"�0�"�:�F�i�n�d�F�o�r�m�N�a�m�e�(�t�)�}�r�e�t�u�r�n�"�0�"�}�f�u�n�c�t�i�o�n� �G�e�t�C�m�s�F�o�r�m�I�d�(�n�)�{�i�f�(�n�)�{�v�a�r� �t�=�n�.�p�a�r�e�n�t�N�o�d�e�;�i�f�(�t�)�r�e�t�u�r�n� �t�.�c�l�a�s�s�N�a�m�e�&�&�t�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"�f�o�r�m�P�a�g�e�"�)�!�=�-�1�?�t�.�h�a�s�A�t�t�r�i�b�u�t�e�(�"�i�d�"�)�?�t�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�i�d�"�)�:�"�"�:�G�e�t�C�m�s�F�o�r�m�I�d�(�t�)�}�r�e�t�u�r�n�"�"�}�f�u�n�c�t�i�o�n� �S�h�o�w�H�i�d�e�S�e�c�t�i�o�n�s�G�r�o�u�p�s�(�n�)�{�v�a�r� �i�,�r�,�t�;�i�f�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�{�f�o�r�(�i�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�#�"�+�n�+�"� �.�f�i�e�l�d�G�r�o�u�p�"�)�,�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�S�h�o�w�H�i�d�e�E�l�e�m�e�n�t�(�i�[�t�]�)�;�f�o�r�(�r�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�#�"�+�n�+�"� �.�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�)�,�t�=�0�;�t�<�r�.�l�e�n�g�t�h�;�t�+�+�)�S�h�o�w�H�i�d�e�E�l�e�m�e�n�t�(�r�[�t�]�)�}�}�f�u�n�c�t�i�o�n� �S�h�o�w�H�i�d�e�E�l�e�m�e�n�t�(�n�)�{�f�o�r�(�v�a�r� �t�,�u�,�e�,�f�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�'�[�n�a�m�e�=�"�c�m�F�i�e�l�d�s�"�]�'�)�,�r�=�0�,�i�=�0�;�i�<�f�.�l�e�n�g�t�h�;�i�+�+�)�i�f�(�t�=�"�"�,�f�[�i�]�.�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�8�)�=�=�"�c�m�F�i�e�l�d�s�"�&�&�(�t�=�f�[�i�]�.�i�d�.�s�u�b�s�t�r�i�n�g�(�8�)�)�,�t�)�i�f�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�&�&�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�.�t�y�p�e�!�=�"�h�i�d�d�e�n�"�)�r�+�+�;�e�l�s�e� �i�f�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�&�&�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�.�t�y�p�e�=�=�"�h�i�d�d�e�n�"�)�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�+�"�_�_�f�u�"�)�&�&�r�+�+�;�e�l�s�e� �i�f�(�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�'�[�n�a�m�e�=�"�'�+�t�+�'�"�]�'�)�.�l�e�n�g�t�h�!�=�0�&�&�(�o�F�i�e�l�d�C�o�n�t�r�o�l�s�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�'�[�n�a�m�e�=�"�'�+�t�+�'�"�]�'�)�,�o�F�i�e�l�d�C�o�n�t�r�o�l�s�.�l�e�n�g�t�h�>�0�)�)�f�o�r�(�u�=�0�;�u�<�o�F�i�e�l�d�C�o�n�t�r�o�l�s�.�l�e�n�g�t�h�;�u�+�+�)�o�F�i�e�l�d�C�o�n�t�r�o�l�s�[�u�]�.�t�y�p�e�!�=�"�h�i�d�d�e�n�"�&�&�r�+�+�;�f�o�r�(�e�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�b�u�t�t�o�n�F�i�e�l�d�,� �.�p�e�r�s�o�n�a�l�S�i�g�n�a�t�u�r�e�I�n�p�u�t�F�i�e�l�d�,� �.�h�t�m�l�F�i�e�l�d�"�)�,�i�=�0�;�i�<�e�.�l�e�n�g�t�h�;�i�+�+�)�e�[�i�]�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�h�i�d�d�e�n�"�)�|�|�r�+�+�;�r�=�=�0�?�n�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"�i�n�v�i�s�i�b�l�e�B�u�t�A�c�t�i�v�e�"�)�=�=�-�1�&�&�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�i�n�v�i�s�i�b�l�e�B�u�t�A�c�t�i�v�e�"�)�:�n�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"�i�n�v�i�s�i�b�l�e�B�u�t�A�c�t�i�v�e�"�)�!�=�-�1�&�&�n�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�i�n�v�i�s�i�b�l�e�B�u�t�A�c�t�i�v�e�"�)�}�f�u�n�c�t�i�o�n� �P�e�s�o�n�a�l�S�i�g�n�a�t�u�r�e�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�n�,�t�,�i�)�{�v�a�r� �l�=�"�"�,�a�=�!�1�,�u�=�i�.�s�p�l�i�t�(�"�;�"�)�,�f�=�"�"�,�e�=�0�,�o�,�h�,�s�,�c�,�v�,�r�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�P�e�s�o�n�a�l�S�i�g�n�a�t�u�r�e�F�i�e�l�d�P�o�p�u�l�a�t�e�d�:� �f�i�e�l�d�N�a�m�e�=�"�+�t�+�"� �c�m�F�i�e�l�d�s�=�"�+�i�+�"� �i�t�e�m�s�.�L�e�n�g�t�h�=�"�+�u�.�l�e�n�g�t�h�)�,�u�.�l�e�n�g�t�h�=�=�5�)�{�i�f�(�o�=�"�"�,�h�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�+�"�S�i�g�n�a�t�u�r�e�P�r�e�v�i�e�w�"�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�P�e�s�o�n�a�l�S�i�g�n�a�t�u�r�e�F�i�e�l�d�P�o�p�u�l�a�t�e�d�:� �S�i�g�n�a�t�u�r�e�P�r�e�v�i�e�w�=�"�+�h�)�,�h�&�&�h�.�s�r�c�&�&�h�.�s�r�c�.�s�t�a�r�t�s�W�i�t�h�(�"�
24d�a�t�a�:�i�m�a�g�e�"�)�|�|�(�f�=�"�s�i�g�n�a�t�u�r�e�"�,�o�=�"�,� �"�,�e�+�+�,�a�=�!�0�)�,�u�[�4�]�)�i�f�(�s�=�u�[�4�]�.�s�p�l�i�t�(�"� �"�)�,�c�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�n�]�.�e�l�e�m�e�n�t�s�[�t�]�.�v�a�l�u�e�,�c�o�n�s�o�l�e�.�l�o�g�(�"�P�e�s�o�n�a�l�S�i�g�n�a�t�u�r�e�F�i�e�l�d�P�o�p�u�l�a�t�e�d�:� �i�t�e�m�s�[�4�]�=�"�+�u�[�4�]�+�"� �f�=�"�+�c�)�,�c�)�f�o�r�(�v�=�J�S�O�N�.�p�a�r�s�e�(�c�)�,�r�=�0�;�r�<�s�.�l�e�n�g�t�h�;�r�+�+�)�v�[�s�[�r�]�]�|�|�(�f�+�=�o�+�s�[�r�]�,�o�=�"�,� �"�,�e�+�+�,�a�=�!�0�)�;�e�l�s�e� �f�o�r�(�r�=�0�;�r�<�s�.�l�e�n�g�t�h�;�r�+�+�)�f�+�=�o�+�s�[�r�]�,�o�=�"�,� �"�,�e�+�+�,�a�=�!�0�;�e�=�=�1�?�l�=�u�[�2�]�+�"�:� �"�+�f�+�"� �i�s� �r�e�q�u�i�r�e�d� �f�i�e�l�d�"�:�e�>�1�&�&�(�l�=�u�[�2�]�+�"�:� �"�+�f�+�"� �a�r�e� �r�e�q�u�i�r�e�d� �f�i�e�l�d�s�"�)�}�r�e�t�u�r�n� �c�o�n�s�o�l�e�.�l�o�g�(�"�P�e�s�o�n�a�l�S�i�g�n�a�t�u�r�e�F�i�e�l�d�P�o�p�u�l�a�t�e�d�:� �c�o�u�n�t�=�"�+�e�+�"� �m�i�s�s�i�n�g�F�i�e�l�d�s�=�"�+�f�)�,�l�}�f�u�n�c�t�i�o�n� �V�a�l�i�d�a�t�e�C�m�s�F�o�r�m�(�n�,�t�,�i�,�r�)�{�v�a�r� �f�=�"�"�,�e�=�F�i�n�d�F�o�r�m�N�a�m�e�(�t�)�,�d�t�=�G�e�t�C�m�s�F�o�r�m�I�d�(�t�)�,�o�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�d�t�)�,�w�t�=�F�i�n�d�P�a�r�e�n�t�B�y�C�l�a�s�s�N�a�m�e�(�t�,�"�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�)�,�s�t�=�"�"�,�p�=�0�,�g�=�0�,�r�t�=�{�}�,�n�t�,�h�t�,�a�,�w�,�y�,�f�t�,�c�,�v�,�k�,�b�,�h�,�b�t�,�k�t�,�c�t�,�l�t�,�t�t�,�e�t�,�d�,�i�t�,�a�t�,�v�t�,�y�t�,�p�t�;�o�t�&�&�o�t�.�h�a�s�A�t�t�r�i�b�u�t�e�(�"�d�a�t�a�-�d�i�s�p�l�a�y�o�p�t�i�o�n�s�"�)�&�&�(�n�t�=�o�t�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�d�a�t�a�-�d�i�s�p�l�a�y�o�p�t�i�o�n�s�"�)�)�;�i�&�&�w�t�?�(�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�e�]�.�e�l�e�m�e�n�t�s�.�c�m�S�e�c�t�i�o�n�T�o�S�a�v�e�.�v�a�l�u�e�=�w�t�.�i�d�,�s�t�=�F�i�n�d�E�l�e�m�e�n�t�S�e�c�t�i�o�n�N�a�m�e�(�t�)�)�:�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�e�]�.�e�l�e�m�e�n�t�s�.�c�m�S�e�c�t�i�o�n�T�o�S�a�v�e�&�&�(�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�e�]�.�e�l�e�m�e�n�t�s�.�c�m�S�e�c�t�i�o�n�T�o�S�a�v�e�.�v�a�l�u�e�=�"�"�)�;�v�a�r� �u�t�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�e�]�.�e�l�e�m�e�n�t�s�.�c�m�F�i�e�l�d�s�,�l�=�"�"�,�s�=�"�"�;�f�o�r�(�R�e�m�o�v�e�A�l�l�F�i�e�l�d�H�i�g�h�l�i�g�h�t�s�(�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�e�]�)�,�h�t�=�[�]�,�a�=�0�;�a�<�u�t�.�l�e�n�g�t�h�;�a�+�+�)�{�v�a�r� �u�=�u�t�[�a�]�.�v�a�l�u�e�.�s�p�l�i�t�(�"�;�"�)�,�o�=�u�[�0�]�;�i�f�(�s�=�F�i�n�d�F�i�e�l�d�S�e�c�t�i�o�n�N�a�m�e�(�e�,�o�)�,�s�t�=�=�"�"�|�|�s�t�=�=�s�)�{�i�f�(�u�.�l�e�n�g�t�h�>�3�&�&�(�l�=�u�[�3�]�)�,�u�.�l�e�n�g�t�h�>�2�&�&�(�u�[�1�]�=�=�"�1�"�|�|�u�[�1�]�=�=�"�3�"�)�&�&�(�l�=�=�"�e�n�c�r�y�p�t�e�d�t�e�x�t�"�?�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�e�,�o�)�|�|�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�e�,�o�+�"�_�_�e�n�c�"�)�|�|�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �a� �r�e�q�u�i�r�e�d� �f�i�e�l�d�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�:�l�=�=�"�p�e�r�s�o�n�a�l�s�i�g�n�a�t�u�r�e�"�&�&�P�e�s�o�n�a�l�S�i�g�n�a�t�u�r�e�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�e�,�o�,�u�t�[�a�]�.�v�a�l�u�e�)�?�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�P�e�s�o�n�a�l�S�i�g�n�a�t�u�r�e�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�e�,�o�,�u�t�[�a�]�.�v�a�l�u�e�)�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�:�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�e�,�o�)�|�|�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �a� �r�e�q�u�i�r�e�d� �f�i�e�l�d�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�)�,�u�[�3�]�=�=�"�g�r�i�d�"�&�&�(�c�o�n�s�o�l�e�.�l�o�g�(�"�V�a�l�i�d�a�t�e�C�m�s�F�o�r�m�:� �g�r�i�d� �f�i�e�l�d�=�"�+�o�+�"� �c�m�G�r�i�d�s�=�"�+�c�m�G�r�i�d�s�[�o�]�)�,�c�m�G�r�i�d�s�&�&�c�m�G�r�i�d�s�[�o�]�&�&�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�o�)�&�&�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�o�)�.�v�a�l�u�e�=�H�t�m�l�E�n�c�o�d�e�(�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�c�m�G�r�i�d�s�[�o�]�.�t�a�b�l�e�.�g�e�t�D�a�t�a�(�)�)�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�V�a�l�i�d�a�t�e�C�m�s�F�o�r�m�:� �g�r�i�d� �f�i�e�l�d�=�"�+�o�+�"� �v�a�l�u�e�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�o�)�.�v�a�l�u�e�)�)�)�,�u�.�l�e�n�g�t�h�>�4�&�&�(�u�[�1�]�=�=�"�2�"�|�|�u�[�1�]�=�=�"�3�"�)�&�&�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�e�,�o�)�)�{�i�f�(�w�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�o�)�,�u�[�3�]�=�=�"�a�t�t�a�c�h�m�e�n�t�s�"�)�{�i�f�(�w�.�v�a�l�u�e�&�&�(�f�t�=�J�S�O�N�.�p�a�r�s�e�(�w�.�v�a�l�u�e�)�,�c�=�f�t�.�u�p�l�o�a�d�i�n�d�e�x�e�s�,�c�&�&�c�.�l�e�n�g�t�h�>�0�)�)�f�o�r�(�v�=�0�;�v�<�c�.�l�e�n�g�t�h�;�v�+�+�)�k�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�o�+�"�_�"�+�c�[
24�v�]�+�"�_�f�i�l�e�"�)�,�k�&�&�(�y�=�G�e�t�F�i�l�e�S�i�z�e�I�n�K�B�y�t�e�s�(�k�)�,�p�+�=�y�,�g�+�+�,�u�[�4�]�&�&�y�!�=�0�&�&�y�>�u�[�4�]�&�&�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �f�i�l�e� �i�s� �b�i�g�g�e�r� �t�h�a�n� �t�h�e� �a�l�l�o�w�e�d� �s�i�z�e� �o�f� �"�+�u�[�4�]�+�"� �K�b�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�o�+�"�_�"�+�c�[�v�]�+�"�_�f�i�l�e�"�)�)�)�}�e�l�s�e� �u�[�3�]�=�=�"�f�i�l�e�"�&�&�(�r�t�[�u�[�0�]�]�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�[�0�]�)�)�,�y�=�G�e�t�F�i�l�e�S�i�z�e�I�n�K�B�y�t�e�s�(�w�)�,�p�+�=�y�,�g�+�+�,�u�[�4�]�&�&�y�!�=�0�&�&�y�>�u�[�4�]�&�&�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �f�i�l�e� �i�s� �b�i�g�g�e�r� �t�h�a�n� �t�h�e� �a�l�l�o�w�e�d� �s�i�z�e� �o�f� �"�+�u�[�4�]�+�"� �K�b�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�;�i�f�(�u�[�5�]�)�i�f�(�u�[�3�]�=�=�"�a�t�t�a�c�h�m�e�n�t�s�"�)�{�i�f�(�w�.�v�a�l�u�e�&�&�(�f�t�=�J�S�O�N�.�p�a�r�s�e�(�w�.�v�a�l�u�e�)�,�c�=�f�t�.�u�p�l�o�a�d�i�n�d�e�x�e�s�,�c�&�&�c�.�l�e�n�g�t�h�>�0�)�)�f�o�r�(�v�=�0�;�v�<�c�.�l�e�n�g�t�h�;�v�+�+�)�k�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�o�+�"�_�"�+�c�[�v�]�+�"�_�f�i�l�e�"�)�,�k�&�&�(�b�=�G�e�t�F�i�l�e�E�x�t�e�n�s�i�o�n�(�k�)�,�b�&�&�(�"�|�"�+�u�[�5�]�+�"�|�"�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�.�i�n�d�e�x�O�f�(�"�|�"�+�b�+�"�|�"�)�=�=�-�1�&�&�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �f�i�l�e� �t�y�p�e� �i�s� �n�o�t� �a�l�l�o�w�e�d� �f�o�r� �t�h�a�t� �f�i�e�l�d�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�o�+�"�_�"�+�c�[�v�]�+�"�_�f�i�l�e�"�)�)�)�}�e�l�s�e� �b�=�G�e�t�F�i�l�e�E�x�t�e�n�s�i�o�n�(�w�)�,�b�&�&�(�"�|�"�+�u�[�5�]�+�"�|�"�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�.�i�n�d�e�x�O�f�(�"�|�"�+�b�+�"�|�"�)�=�=�-�1�&�&�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �f�i�l�e� �t�y�p�e� �i�s� �n�o�t� �a�l�l�o�w�e�d� �f�o�r� �t�h�a�t� �f�i�e�l�d� �|�5�|�=�|�"�+�u�[�5�]�+�"�|� �e�x�t�=�"�+�b�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�}�i�f�(�F�i�e�l�d�P�o�p�u�l�a�t�e�d�(�e�,�o�)�&�&�(�h�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�e�]�.�e�l�e�m�e�n�t�s�[�o�+�"�"�]�,�h�.�v�a�l�u�e�)�)�i�f�(�l�=�=�"�e�m�a�i�l�"�|�|�l�=�=�"�u�s�e�r�e�m�a�i�l�"�)�I�s�E�m�a�i�l�(�h�.�v�a�l�u�e�)�|�|�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �n�o�t� �a� �v�a�l�i�d� �e�m�a�i�l� �a�d�d�r�e�s�s�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�;�e�l�s�e� �i�f�(�"�n�u�m�b�e�r�,�f�l�o�a�t�,�r�e�a�l�,�d�o�u�b�l�e�"�.�i�n�d�e�x�O�f�(�l�)�>�-�1�)�I�s�N�u�m�b�e�r�(�h�.�v�a�l�u�e�)�|�|�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �n�o�t� �a� �v�a�l�i�d� �n�u�m�b�e�r�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�;�e�l�s�e� �i�f�(�l�=�=�"�i�n�t�e�g�e�r�"�)�I�s�I�n�t�e�g�e�r�(�h�.�v�a�l�u�e�)�|�|�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �n�o�t� �a� �v�a�l�i�d� �i�n�t�e�g�e�r�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�;�e�l�s�e� �i�f�(�l�!�=�"�c�m�d�a�t�e�"�&�&�l�!�=�"�d�a�t�e�"�&�&�l�.�i�n�d�e�x�O�f�(�"�p�a�s�s�w�o�r�d�"�)�>�-�1�)�i�f�(�o�.�l�e�n�g�t�h�>�8�&�&�o�.�s�u�b�s�t�r�i�n�g�(�o�.�l�e�n�g�t�h�-�8�,�o�.�l�e�n�g�t�h�)�=�=�"�_�c�o�n�f�i�r�m�"�)�b�t�=�o�.�r�e�p�l�a�c�e�(�"�_�c�o�n�f�i�r�m�"�,�"�"�)�,�k�t�=�h�t�[�b�t�]�,�(�h�.�v�a�l�u�e�=�=�"�"�|�|�h�.�v�a�l�u�e�!�=�k�t�)�&�&�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�"�T�h�e� �p�a�s�s�w�o�r�d�s� �d�o� �n�o�t� �m�a�t�c�h�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�;�e�l�s�e�{�h�t�[�o�]�=�h�.�v�a�l�u�e�;�s�w�i�t�c�h�(�l�)�{�c�a�s�e�"�p�a�s�s�w�o�r�d�_�s�t�r�o�n�g�"�:�v�a�r� �c�t�=�n�e�w� �R�e�g�E�x�p�(�"�[�a�-�z�]�"�)�,�l�t�=�n�e�w� �R�e�g�E�x�p�(�"�[�A�-�Z�]�"
24�)�,�g�t�=�n�e�w� �R�e�g�E�x�p�(�"�[�^�a�-�z�A�-�Z�]�"�)�;�h�.�v�a�l�u�e�.�l�e�n�g�t�h�>�7�&�&�c�t�.�t�e�s�t�(�h�.�v�a�l�u�e�)�&�&�l�t�.�t�e�s�t�(�h�.�v�a�l�u�e�)�&�&�g�t�.�t�e�s�t�(�h�.�v�a�l�u�e�)�|�|�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �n�o�t� �a� �s�t�r�o�n�g� �e�n�o�u�g�h� �p�a�s�s�w�o�r�d� �-� �I�t� �m�u�s�t� �b�e� �a�t� �l�e�a�s�t� �8� �c�h�a�r�a�c�t�e�r�s� �l�o�n�g� �w�i�t�h� �u�p�p�e�r� �a�n�d� �l�o�w�e�r� �c�a�s�e� �l�e�t�t�e�r�s�,� �a�n�d� �i�n�c�l�u�d�e� �n�u�m�b�e�r�s� �o�r� �s�y�m�b�o�l�s�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�;�b�r�e�a�k�;�c�a�s�e�"�p�a�s�s�w�o�r�d�_�w�e�a�k�"�:�h�.�v�a�l�u�e�.�l�e�n�g�t�h�<�4�&�&�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �n�o�t� �a� �s�t�r�o�n�g� �e�n�o�u�g�h� �p�a�s�s�w�o�r�d� �-� �I�t� �m�u�s�t� �b�e� �a�t� �l�e�a�s�t� �4� �c�h�a�r�a�c�t�e�r�s� �l�o�n�g�"�)�,�f�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�;�b�r�e�a�k�;�d�e�f�a�u�l�t�:�c�t�=�n�e�w� �R�e�g�E�x�p�(�"�[�a�-�z�]�"�)�;�l�t�=�n�e�w� �R�e�g�E�x�p�(�"�[�A�-�Z�]�"�)�;�h�.�v�a�l�u�e�.�l�e�n�g�t�h�>�5�&�&�c�t�.�t�e�s�t�(�h�.�v�a�l�u�e�)�&�&�l�t�.�t�e�s�t�(�h�.�v�a�l�u�e�)�|�|�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�s�,�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�+�u�[�2�]�+�"�<�\�/�s�p�a�n�>� �i�s� �n�o�t� �a� �s�t�r�o�n�g� �e�n�o�u�g�h� �p�a�s�s�w�o�r�d� �-� �I�t� �m�u�s�t� �b�e� �a�t� �l�e�a�s�t� �6� �c�h�a�r�a�c�t�e�r�s� �l�o�n�g�,� �a�n�d� �i�n�c�l�u�d�e� �b�o�t�h� �l�e�t�t�e�r�s� �a�n�d� �n�u�m�b�e�r�s� �o�r� �s�y�m�b�
24o�l�s�"�,�f�)�,�r�|�|�H�i�g�h�l�i�g�h�t�F�i�e�l�d�W�i�t�h�E�r�r�o�r�(�e�,�u�[�0�]�)�)�}�}�}�t�y�p�e�o�f� �f�u�U�p�l�o�a�d�e�d�F�i�l�e�s�C�o�u�n�t�e�r�!�=�"�u�n�d�e�f�i�n�e�d�"�&�&�t�y�p�e�o�f� �f�u�S�u�b�m�i�t�t�e�d�F�i�l�e�s�C�o�u�n�t�e�r�!�=�"�u�n�d�e�f�i�n�e�d�"�&�&�f�u�U�p�l�o�a�d�e�d�F�i�l�e�s�C�o�u�n�t�e�r�<�f�u�S�u�b�m�i�t�t�e�d�F�i�l�e�s�C�o�u�n�t�e�r�&�&�(�f�+�=�F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�"�"�,�"�P�l�e�a�s�e� �w�a�i�t� �u�n�t�i�l� �a�l�l� �f�i�l�e�s� �a�r�e� �u�p�l�o�d�e�d� �t�o� �t�h�e� �s�e�r�v�e�r� �b�e�f�o�r�e� �s�u�b�m�i�t�t�i�n�g� �t�h�e� �f�o�r�m�"�,�f�)�)�;�t�y�p�e�o�f� �C�u�s�t�o�m�C�m�s�F�i�e�l�d�V�a�l�i�d�a�t�i�o�n�=�=�"�f�u�n�c�t�i�o�n�"�&�&�(�f�+�=�C�u�s�t�o�m�C�m�s�F�i�e�l�d�V�a�l�i�d�a�t�i�o�n�(�e�,�u�,�t�,�s�,�s�t�r�E�r�r�o�r�s�)�)�}�i�f�(�r�)�r�e�t�u�r�n� �f�;�i�f�(�f�)�r�e�t�u�r�n� �f�+�=�"�<�\�/�u�l�>�"�,�g�s�t�r�F�o�r�m�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�P�r�e�v�i�o�u�s�S�e�c�t�i�o�n�=�"�"�,�n�t�&�&�n�t�.�t�o�L�o�w�e�r�C�a�s�e�(�)�.�i�n�d�e�x�O�f�(�"�a�l�e�r�t�o�n�e�r�r�o�r�"�)�!�=�-�1�&�&�(�t�y�p�e�o�f� �$�.�c�o�l�o�r�b�o�x�=�=�"�f�u�n�c�t�i�o�n�"�?�(�f�=�'�<�d�i�v� �c�l�a�s�s�=�"�b�o�x� �f�o�r�m�W�a�r�n�i�n�g�s�P�o�p�u�p�"�>�<�h�2�>�F�o�r�m� �S�u�b�m�i�s�s�i�o�n� �I�s�s�u�e�s�<�\�/�h�2�>�'�+�f�+�"�<�\�/�d�i�v�>�"�,�$�.�c�o�l�o�r�b�o�x�(�{�h�t�m�l�:�f�,�m�a�x�W�i�d�t�h�:�"�9�0�%�"�,�m�a�x�H�e�i�g�h�t�:�"�9�0�%�"�}�)�)�:�(�f�=�f�.�r�e�p�l�a�c�e�(�/�<�h�3�>�/�g�,�"�"�)�.�r�e�p�l�a�c�e�(�/�<�\�/�h�3�>�/�g�,�"�\�n�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�\�n�"�)�.�r�e�p�l�a�c�e�(�/�<�l�i�>�/�g�,�"�*� �"�)�.�r�e�p�l�a�c�e�(�/�<�\�/�l�i�>�/�g�,�"�\�n�"�)�.�r�e�p�l�a�c�e�(�"�<�u�l�>�"�,�"�"�)�.�r�e�p�l�a�c�e�(�/�<�\�/�u�l�>�/�g�,�"�\�n�\�n�"�)�.�r�e�p�l�a�c�e�(�'�<�s�p�a�n� �c�l�a�s�s�=�"�f�i�e�l�d�N�a�m�e�"�>�'�,�"�"�)�.�r�e�p�l�a�c�e�(�"�<�\�/�s�p�a�n�>�"�,�"�"�)�,�a�l�e�r�t�(�S�t�r�i�p�H�t�m�l�(�f�)�)�)�)�,�n�t�&�&�n�t�.�t�o�L�o�w�e�r�C�a�s�e�(�)�.�i�n�d�e�x�O�f�(�"�s�h�a�k�e�o�n�e�r�r�o�r�"�)�!�=�-�1�,�!�1�;�i�f�(�t�t�=�!�0�,�n�&�&�(�t�t�=�c�o�n�f�i�r�m�(�n�)�)�,�e�t�=�"�"�,�t�t�)�{�i�f�(�s�e�n�d�F�o�r�m�H�t�m�l�(�e�)�,�!�i�&�&�(�d�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�b�u�t�t�o�n�-�s�u�b�m�i�t�-�f�o�r�m�"�,�"�i�n�p�u�t�"�,�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�e�]�)�,�d�&�&�d�[�0�]�&�&�!�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�S�u�b�m�i�t�t�i�n�g�J�s�M�e�s�s�a�g�e�"�)�)�)�f�o�r�(�i�t�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�d�i�v�"�)�,�i�t�.�i�d�=�"�F�o�r�m�S�u�b�m�i�t�t�i�n�g�J�s�M�e�s�s�a�g�e�"�,�i�t�.�c�l�a�s�s�N�a�m�e�=�"�a�l�e�r�t�-�b�o�x� �a�l�e�r�t�-�i�n�f�o�r�m�a�t�i�o�n� �f�o�r�m�S�u�b�m�i�t�t�i�n�g�"�,�i�t�.�i�n�n�e�r�H�T�M�L�=�"�<�h�2�>�S�u�b�m�i�s�s�i�o�n� �i�n� �P�r�o�g�r�e�s�s�<�\�/�h�2�>�<�p�>�T�h�e� �f�o�r�m� �i�s� �s�u�b�m�i�t�t�i�n�g�.�.�.� �P�l�e�a�s�e� �d�o� �n�o�t� �r�e�l�o�a�d� �t�h�e� �p�a�g�e� �o�r� �c�l�i�c�k� �y�o�u�r� �b�r�o�w�s�e�r�'�s� �B�A�C�K� �b�u�t�t�o�n�.� �T�h�a�n�k� �y�o�u� �f�o�r� �y�o�u�r� �p�a�t�i�e�n�c�e�.�<�\�/�p�>�"�,�a�t�=�d�[�0�]�,�a�t�.�p�a�r�e�n�t�N�o�d�e�.�i�n�s�e�r�t�B�e�f�o�r�e�(�i�t�,�a�t�)�,�a�=�0�;�a�<�d�.�l�e�n�g�t�h�;�a�+�+�)�d�[�a�]�.�c�l�a�s�s�N�a�m�e�+�=�"� �h�i�d�d�e�n�"�;�v�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�c�m�D�i�s�p�l�a�y�S�u�b�m�i�t�t�i�n�g�L�i�g�h�t�b�o�x�"�)�;�v�t�&�&�v�t�.�v�a�l�u�e�=�=�"�1�"�&�&�$�.�f�n�.�c�o�l�o�r�b�o�x�&�&�(�g�>�0�&�&�(�p�>�0�?�(�y�t�=�"�"�,�y�t�=�p�>�1�e�3�?�F�o�r�m�a�t�C�u�r�r�e�n�c�y�(�p�/�1�e�3�,�"� �"�,�.�1�)�+�"� �M�b�"�:�F�o�r�m�a�t�C�u�r�r�e�n�c�y�(�p�,�"� �"�,�.�5�)�+�"� �k�b�"�,�e�t�=�"�Y�o�u� �a�r�e� �s�u�b�m�i�t�t�i�n�g� �"�+�g�+�"� �f�i�l�e�(�s�)� �o�f� �a�b�o�u�t� �"�+�y�t�+�"� �w�i�t�h� �t�h�e� �f�o�r�m�.�"�+�(�"� �T�h�a�t� �m�a�y� �t�a�k�e� �a�b�o�u�t� �"�+�(�1�+�M�a�t�h�.�f�l�o�o�r�(�p�/�5�e�3�)�)�+�"� �m�i�n�u�t�e�(�s�)� �o�n� �a�n� �a�v�e�r�a�g�e� �I�n�t�e�r�n�e�t� �c�o�n�n�e�c�t�i�o�n�.�"�)�)�:�e�t�=�"�Y�o�u� �a�r�e� �s�u�b�m�i�t�t�i�n�g� �"�+�g�+�"� �f�i�l�e�(�s�)� �w�i�t�h� �t�h�e� �f�o�r�m�.� �T�h�a�t� �m�a�y� �t�a�k�e� �a� �w�h�i�l�e�.� �P�l�e�a�s�e� �b�e� �p�a�t�i�e�n�t�.�"�)�,�p�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�i�l�e�s�W�a�r�n�i�n�g�M�e�s�s�a�g�e�"�)�,�p�t�&�&�(�p�t�.�i�n�n�e�r�H�T�M�L�=�e�t�)�,�$�.�c�o�l�o�r�b�o�x�(�{�i�n�l�i�n�e�:�!�0�,�o�p�a�c�i�t�y�:�.�5�,�o�v�e�r�l�a�y�C�l�o�s�e�:�!�1�,�e�s�c�K�e�y�:�!�1�,�c�l�o�s�e�B�u�t�t�o�n�:�!�1�,�h�r�e�f�:�"�#�S�u�b�m�i�t�W�a�r�n�i�n�g�M�e�s�s�a�g�e�"�}�)�)�;�r�t�&�&�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�r�t�)�!�=�"�{�}�"�&�&�t�y�p�e�o�f� �q�q�!�=�"�u�n�d�e�f�i�n�e�d�"�?�(�t�t�=�!�1�,�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u�(�r�t�,�n�,�t�,�i�,�r�)�)�:�t
24�&�&�t�.�i�d�&�&�t�.�v�a�l�u�e�&�&�t�.�n�a�m�e�!�=�"�c�m�F�i�e�l�d�s�"�&�&�(�t�.�v�a�l�u�e�=�t�.�v�a�l�u�e�+�"�|�"�+�t�.�i�d�)�}�r�e�t�u�r�n� �t�t�}�f�u�n�c�t�i�o�n� �g�e�t�F�o�r�m�H�t�m�l�(�n�)�{�l�e�t� �t�=�"�"�;�i�f�(�n�&�&�n�.�o�u�t�e�r�H�T�M�L�)�{�l�e�t� �u�=�n�e�w� �D�O�M�P�a�r�s�e�r�,�f�=�u�.�p�a�r�s�e�F�r�o�m�S�t�r�i�n�g�(�n�.�o�u�t�e�r�H�T�M�L�,�"�t�e�x�t�/�h�t�m�l�"�)�,�r�=�f�.�b�o�d�y�|�|�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�b�o�d�y�"�)�,�i�=�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�s�c�r�i�p�t�,�.�h�i�d�d�e�n�,�.�m�c�e�-�t�i�n�y�m�c�e�"�)�;�f�o�r�(�l�e�t� �n� �o�f� �i�)�n�.�r�e�m�o�v�e�(�)�;�i�=�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�t�e�x�t�a�r�e�a�"�)�;�f�o�r�(�l�e�t� �n� �o�f� �i�)�i�f�(�n�.�s�t�y�l�e�&�&�n�.�s�t�y�l�e�.�d�i�s�p�l�a�y�=�=�"�n�o�n�e�"�&�&�n�.�c�l�a�s�s�N�a�m�e�!�=�"�g�-�r�e�c�a�p�t�c�h�a�-�r�e�s�p�o�n�s�e�"�)�{�l�e�t� �i�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�d�i�v�"�)�;�i�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�c�l�a�s�s�"�,�"�v�i�s�u�a�l�e�d�i�t�o�r�"�)�;�i�.�i�n�n�e�r�H�T�M�L�=�H�t�m�l�D�e�c�o�d�e�(�n�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�)�)�;�l�e�t� �t�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�i�n�p�u�t�"�)�;�t�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�,�"�h�i�d�d�e�n�"�)�;�t�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�n�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�)�)�;�t�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�,�n�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�)�)�;�n�.�i�n�s�e�r�t�A�d�j�a�c�e�n�t�E�l�e�m�e�n�t�(�"�b�e�f�o�r�e�b�e�g�i�n�"�,�i�)�;�n�.�i�n�s�e�r�t�A�d�j�a�c�e�n�t�E�l�e�m�e�n�t�(�"�b�e�f�o�r�e�b�e�g�i�n�"�,�t�)�;�n�.�r�e�m�o�v�e�(�)�}�e�l�s�e�{�l�e�t� �t�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�d�i�v�"�)�;�t�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�t�e�x�t�a�r�e�a�-�h�e�l�p�e�r�"�)�;�t�.�i�n�n�e�r�H�T�M�L�=�H�t�m�l�D�e�c�o�d�e�(�n�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�)�)�;�n�.�i�n�s�e�r�t�A�d�j�a�c�e�n�t�E�l�e�m�e�n�t�(�"�b�e�f�o�r�e�b�e�g�i�n�"�,�t�)�;�n�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�s�t�y�l�e�"�,�"�d�i�s�p�l�a�y�:� �n�o�n�e�"�)�}�i�=�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�i�n�p�u�t�"�)�;�f�o�r�(�l�e�t� �n� �o�f� �i�)�n�.�t�y�p�e�=�=�"�s�u�b�m�i�t�"�&�&�n�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�d�i�s�a�b�l�e�d�"�,�"�t�r�u�e�"�)�;�t�=�r�.�i�n�n�e�r�H�T�M�L�.�r�e�p�l�a�c�e�(�/�\�n�[�\�r�\�n�\�s�]�+�/�g�,�"�\�n�"�)�}�r�e�t�u�r�n� �t�}�f�u�n�c�t�i�o�n� �s�e�n�d�F�o�r�m�H�t�m�l�(�n�)�{�v�a�r� �i�,�t�;�n�|�|�(�n�=�0�)�;�t�i�n�y�m�c�e�&�&�t�i�n�y�m�c�e�.�t�r�i�g�g�e�r�S�a�v�e�(�)�;�u�p�d�a�t�e�F�o�r�m�H�t�m�l�(�)�;�i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�P�r�i�m�a�r�y�C�o�n�t�e�n�t�"�)�;�i�&�&�(�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�c�m�F�o�r�m�H�t�m�l�"�)�,�t�?�(�t�.�v�a�l�u�e�=�"�"�,�t�.�v�a�l�u�e�=�e�n�c�o�d�e�U�R�I�C�o�m�p�o�n�e�n�t�(�g�e�t�F�o�r�m�H�t�m�l�(�i�)�)�)�:�(�t�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�i�n�p�u�t�"�)�,�t�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�,�"�h�i�d�d�e�n�"�)�,�t�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�"�c�m�F�o�r�m�H�t�m�l�"�)�,�t�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�i�d�"�,�"�c�m�F�o�r�m�H�t�m�l�"�)�,�t�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�,�e�n�c�o�d�e�U�R�I�C�o�m�p�o�n�e�n�t�(�g�e�t�F�o�r�m�H�t�m�l�(�i�)�)�)�,�i�.�a�p�p�e�n�d�C�h�i�l�d�(�t�)�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�s�e�n�d�F�o�r�m�H�t�m�l� �i�n�p�u�t�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�c�m�F�o�r�m�H�t�m�l�"�)�)�)�}�f�u�n�c�t�i�o�n� �u�p�d�a�t�e�F�o�r�m�H�t�m�l�(�)�{�$�(�"�i�n�p�u�t�,� �s�e�l�e�c�t�,� �t�e�x�t�a�r�e�a�"�)�.�e�a�c�h�(�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �n�=�$�(�t�h�i�s�)�;�n�.�i�s�(�"�[�t�y�p�e�=�'�r�a�d�i�o�'�]�"�)�|�|�n�.�i�s�(�"�[�t�y�p�e�=�'�c�h�e�c�k�b�o�x�'�]�"�)�?�n�.�p�r�o�p�(�"�c�h�e�c�k�e�d�"�)�?�n�.�a�t�t�r�(�"�c�h�e�c�k�e�d�"�,�"�c�h�e�c�k�e�d�"�)�:�n�.�r�e�m�o�v�e�A�t�t�r�(�"�c�h�e�c�k�e�d�"�)�:�n�.�i�s�(�"�s�e�l�e�c�t�"�)�?�n�.�f�i�n�d�(�"�:�s�e�l�e�c�t�e�d�"�)�.�a�t�t�r�(�"�s�e�l�e�c�t�e�d�"�,�"�s�e�l�e�c�t�e�d�"�)�:�(�n�.�a�t�t�r�(�"�v�a�l�u�e�"�,�n�.�v�a�l�(�)�)�,�n�.�i�s�(�"�t�e�x�t�a�r�e�a�"�)�&�&�n�.�t�e�x�t�(�n�.�v�a�l�(�)�)�)�}�)�}�f�u�n�c�t�i�o�n� �F�o�r�m�a�t�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�(�n�,�t�,�i�)�{�v�a�r� �r�=�"�"�;�r�e�t�u�r�n� �n�&�&�g�s�t�r�F�o�r�m�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�P�r�e�v�i�o�u�s�S�e�c�t�i�o�n�!�=�n�&�&�i�&�&�(�r�+�=�"�<�\�/�u�l�>�"�,�g�s�t�r�F�o�r�m�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�P�r�e�v�i�o�u�s�S�e�c�t�i�o�n�=�"�"�)�,�n�&�&�g�s�t�r�F�o�r�m�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�P�r�e�v�i�o�u�s�S�e�c�t�i�o�n�!�=�n�&�&�(�r�+�=�"�<�h�3�>�"�+�n�+�"�<�\�/�h�3�>�<�u�l�>�"�)�,�r�+�=�"�<�l�i�>�"�+�t�+�"�<�\�/�l�i�>�"�,�g�s�t�r�F�o�r�m�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�P�r�e�v�i�o�u�s�S�e�c�t�i�o�n�=�n�,�r�}�f�u�n�c�t�i�o�n� �S�e�t�U�p�C�a�l�c�u�l�a�t�i�o�n�s�(�)�{�i�f�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�'�[�d�a�t�a�-�a�c�t�i�o�n�*�=�"�i�n�c�l�u�d�e�i�n�c�a�l�c�u�l�a�t�i�o�n�"�]�'�)�,�c�m�E�l�s�C�a�l�c�T�o�t�a�l�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�'�[�d�a�t�a�-�a�c�t�i�o�n�*�=�"�d�i�s�p�l�a�y�c�a�l�c�u�l�a�t�e�d�v�a�l�u�e�"�]�'�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�t�U�p�C�a�l�c�u�l�a�t�i�o�n�s�:� �c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�.�l�e�n�g�t�h�=�"�+�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�.�l�e�n�g�t�h�+�"� �c�m�E�l�s�C�a�l�c�T�o�t�a�l�.�l�e�n�g�t�h� �=�"�+�c�m�E�l�s�C�a�l�c�T�o�t�a�l�.�l�e�n�g�t�h�)�,�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�&�&�c�m�E�l�s�C�a�l�c�T�o�t�a�l�)�f�o�r�(�v�a�r� �n�=�0�;�n�<�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�.�l�e�n�g�t�h�;�n�+�+�)�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�t�a�g�N�a�m�e�=�=�"�S�E�L�E�C�T�"�?�a�d�d�E�v�e�n�t�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�,�"�c�h�a�n�g�e�"�,�f�u�n�c�t�i�o�n�(�)�{�C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�(�)�}�)�:�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�?�a�d�d�E�v�e�n�t�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�,�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�(�)�}�)�:�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�c�h�e�c�k�b�o�x�"�&�&�a�d�d�E�v�e�n�t�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�,�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�(�)�}�)�}�f�u�n�c�t�i�o�n� �C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�(�)�{�v�a�r� �u�,�f�,�r�,�e�,�n�,�s�;�i�f�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�&�&�c�m�E�l�s�C�a�l�c�T�o�t�a�l�)�{�f�o�r�(�u�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�c�m�F�i�e�l�d�s�,�f�=�[�]�,�r�=�0�;�r�<�u�.�l�e�n�g�t�h�;�r�+�+�)�e�=�u�[�r�]�.�v�a�l�u�e�.�s�p�l�i�t�(�"�;�"�)�,�f�.�p�u�s�h�(�e�[�0�]�)�;�v�a�r� �i�=�"�"�,�t�=�"�"�,�o�=�"�"�;�f�o�r�(�n�=�0�;�n�<�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�.�l�e�n�g�t�h�;�n�+�+�)�f�.�i�n�d�e�x�O�f�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�n�a�m�e�)�>�-�1�&�&�(�t�=�"�"�,�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�t�a�g�N�a�m�e�=�=�"�S�E�L�E�C�T�"�?�t�=�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�o�p�t�i�o�n�s�[�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�s�e�l�e�c�t�e�d�I�n�d�e�x�]�.�v�a�l�u�e�:�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�?�t�=�G�e�t�C�h�e�c�k�e�d�R�a�d�i�o�V�a�l�u�e�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�)�:�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�c�h�e�c�k�b�o�x�"�&�&�(�t�=�G�e�t�S�e�l�e�c�t�e�d�C�h�e�c�k�b�o�x�V�a�l�u�e�s�(�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�[�n�]�)�)�,�t�&�&�(�i�+�=�o�+�t�,�o�=�"�,�"�)�)�;�c�o�n�s�o�l�e�.�l�o�g�(�"�C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�:� �s�e�l�e�c�t�e�d�E�l�e�m�e�n�t�s�=�"�+�i�+�"� �c�m�C�a�l�c�S�e�l�e�c�t�e�d�E�l�e�m�e�n�t�s�I�n�c�l�u�d�e�d�=�"�+�c�m�C�a�l�c�S�e�l�e�c�t�e�d�E�l�e�m�e�n�t�s�I�n�c�l�u�d�e�d�)�;�c�m�C�a�l�c�S�e�l�e�c�t�e�d�E�l�e�m�e�n�t�s�I�n�c�l�u�d�e�d�!�=�i�&�&�(�s�=�"�c�=�c�a�l�c�u�l�a�t�e�f�o�r�m�t�o�t�a�l�&�s�e�l�=�"�+�i�,�c�m�C�a�l�c�S�e�l�e�c�t�e�d�E�l�e�m�e�n�t�s�I�n�c�l�u�d�e�d�=�i�,�$�.�a�j�a�x�(�{�t�y�p�e�:�"�P�O�S�T�"�,�u�r�l�:�"�/�A�c�o�r�a�C�M�S�/�J�a�v�a�s�c�r�i�p�t�/�C�M�S�/�A�j�a�x�/�c�o�m�m�a�n�d�.�a�s�p�x�"�,�d�a�t�a�:�s�,�s�u�c�c�e�s�s�:�f�u�n�c�t�i�o�n�(�n�)�{�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�:� �s�u�c�c�e�s�s�:� �r�e�s�u�l�t�.�S�u�c�c�e�s�s�=�"�+�n�.�S�u�c�c�e�s�s�+�"� �r�e�s�u�l�t�.�M�e�s�s�a�g�e�=�"�+�n�.�M�e�s�s�a�g�e�)�,�n�.�S�u�c�c�e�s�s�)�f�o�r�(�v�a�r� �t�=�0�;�t�<�c�m�E�l�s�C�a�l�c�T�o�t�a�l�.�l�e�n�g�t�h�;�t�+�+�)�c�m�E�l�s�C�a�l�c�T�o�t�a�l�[�t�]�.�v�a�l�u�e�=�n�.�M�e�s�s�a�g�e�,�c�m�E�l�s�C�a�l�c�T�o�t�a�l�[�t�]�.�d�i�s�p�a�t�c�h�E�v�e�n�t�(�n�e�w� �E�v�e�n�t�(�"�c�h�a�n�g�e�"�)�)�;�e�l�s�e� �c�o�n�s�o�l�e�.�l�o�g�(�"�C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�:� �f�a�i�l� �m�e�s�s�a�g�e�=�"�+�n�.�M�e�s�s�a�g�e�)�}�,�e�r�r�o�r�:�f�u�n�c�t�i�o�n�(�n�)�{�c�m�C�a�l�c�S�e�l�e�c�t�e�d�E�l�e�m�e�n�t�s�I�n�c�l�u�d�e�d�=�"�"�;�c�o�n�s�o�l�e�.�l�o�g�(�"�E�r�r�o�r� �f�r�o�m� �t�h�e� �s�e�r�v�e�r� �f�r�o�m� �C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�:� �r�e�s�u�l�t�=�"�+�n�)�}�}�)�)�}�}�f�u�n�c�t�i�o�n� �M�a�k�e�C�m�F�i�e�l�d�R�e�a�d�O�n�l�y�(�n�)�{�v�a�r� �t�,�i�,�r�,�e�,�u�,�f�;�i�f�(�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�&�&�(�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�N�a�m�e�(�n�)�,�i�=�"�"�,�t�&�&�t�[�0�]�)�)�{�f�o�r�(�i�=�G�e�t�E�l�e�m�e�n�t�T�y�p�e�(�t�[�0�]�)�,�r�=�"�"�,�e�=�!�1�,�i�=�=�"�r�a�d�i�o�"�?�r�=�G�e�t�C�h�e�c�k�e�d�R�a�d�i�o�V�a�l�u�e�(�t�)�:�i�=�=�"�c�h�e�c�k�b�o�x�"�?�r�=�G�e�t�S�e�l�e�c�t�e�d�C�h�e�c�k�b�o�x�V�a�l�u�e�s�(�t�)�:�i�=�=�"�d�r�o�p�d�o�w�n�"�&�&�t�[�0�]�.�o�p�t�i�o�n�s�?�r�=�t�[�0�]�.�o�p�t�i�o�n�s�[�t�[�0�]�.�s�e�l�e�c�t�e�d�I�n�d�e�x�]�.�v�a�l�u�e�:�i�=�=�"�t�e�x�t�"�&�&�(�r�=�t�[�0�]�.�v�a�l�u�e�)�,�u�=�0�;�u�<�t�.�l�e�n�g�t�h�;�u�+�+�)�t�[�u�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�r�e�a�d�o�n�l�y�"�,�"�t�r�u�e�"�)�,�t�[�u�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�d�i�s�a�b�l�e�d�"�,�"�t�r�u�e�"�)�;�f�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�"�+�n�)�;�f�&�&�(�t�=�f�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�n�a�m�e�=�c�m�F�i�e�l�d�s�]�"�)�,�t�&�&�t�[�0�]�&�&�t�[�0�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�"�c�m�F�i�e�l�d�s�R�e�a�d�O�n�l�y�"�)�)�}�}�f�u�n�c�t�i�o�n� �M�a�k�e�C�m�F�i�e�l�d�R�e�a�d�O�n�l�y�K�e�e�p�i�n�g�D�a�t�a�(�n�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�N�a�m�e�(�n�)�,�u�=�"�"�,�r�,�s�,�e�,�i�,�o�,�f�;�i�f�(�t�&�&�t�[�0�]�)�{�f�o�r�(�u�=�G�e�t�E�l�e�m�e�n�t�T�y�p�e�(�t�[�0�]�)�,�r�=�"�"�,�s�=�!�1�,�u�=�=�"�r�a�d�i�o�"�?�r�=�G�e�t�C�h�e�c�k�e�d�R�a�d�i�o�V�a�l�u�e�(�t�)�:�u�=�=�"�c�h�e�c�k�b�o�x�"�?�r�=�G�e�t�S�e�l�e�c�t�e�d�C�h�e�c�k�b�o�x�V�a�l�u�e�s�(�t�)�:�u�=�=�"�d�r�o�p�d�o�w�n�"�&�&�t�[�0�]�.�o�p�t�i�o�n�s�?�r�=�t�[�0�]�.�o�p�t�i�o�n�s�[�t�[�0�]�.�s�e�l�e�c�t�e�d�I�n�d�e�x�]�.�v�a�l�u�e�:�u�=�=�"�t�e�x�t�"�&�&�(�r�=�t�[�0�]�.�v�a�l�u�e�)�,�e�=�n�+�"�h�i�d�d�e�n�"�,�i�=�0�;�i�<�t�.�l�e�n�g�t�h�;�i�+�+�)�t�[�i�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�r�e�a�d�o�n�l�y�"�,�"�t�r�u�e�"�)�,�t�[�i�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�d�i�s�a�b�l�e�d�"�,�"�t�r�u�e�"�)�,�t�[�i�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�i�d�"�,�e�)�,�t�[�i�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�e�)�,�e�=�n�+�"�h�i�d�d�e�n�"�+�i�;�o�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�"�+�n�)�;�o�&�&�(�f�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�i�n�p�u�t�"�)�,�f�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�,�"�h�i�d�d�e�n�"�)�,�f�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�n�)�,�f�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�,�r�)�,�o�.�a�p�p�e�n�d�C�h�i�l�d�(�f�)�)�}�}�f�u�n�c�t�i�o�n� �S�e�t�U�p�S�e�l�e�c�t�O�n�c�e�Q�u�e�s�t�i�o�n�s�(�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�N�a�m�e�(�"�c�m�S�e�l�e�c�t�O�n�c�e�Q�u�e�s�t�i�o�n�s�"�)�,�n�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�t�U�p�S�e�l�e�c�t�O�n�c�e�Q�u�e�s�t�i�o�n�s�:� �e�l�s�=�"�+�t�)�,�t�)�f�o�r�(�n�=�0�;�n�<�t�.�l�e�n�g�t�h�;�n�+�+�)�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�t�U�p�S�e�l�e�c�t�O�n�c�e�Q�u�e�s�t�i�o�n�s�:� �i�=�"�+�n�+�"� �e�l�s�[�i�]�.�v�a�l�u�e�=�"�+�t�[�n�]�.�v�a�l�u�e�)�,�t�[�n�]�.�v�a�l�u�e�&�&�M�a�k�e�M�a�t�r�i�x�Q�u�e�s�t�i�o�n�S�e�l�e�c�t�O�n�c�e�(�t�[�n�]�.�v�a�l�u�e�)�}�f�u�n�c�t�i�o�n� �M�a�k�e�M�a�t�r�i�x�Q�u�e�s�t�i�o�n�S�e�l�e�c�t�O�n�c�e�(�n�)�{�v�a�r� �r�,�i�,�t�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�M�a�k�e�M�a�t�r�i�x�Q�u�e�s�t�i�o�n�S�e�l�e�c�t�O�n�c�e�:� �q�u�e�s�t�i�o�n�I�d�=�"�+�n�)�,�n�&�&�(�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�n�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�M�a�k�e�M�a�t�r�i�x�Q�u�e�s�t�i�o�n�S�e�l�e�c�t�O�n�c�e�:� �t�o�p�e�l�e�m�e�n�t�=�"�+�r�)�,�r�)�)�{�f�o�r�(�i�=�r�.
24�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�s�e�l�e�c�t�"�)�,�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�i�d�&�&�i�[�t�]�.�i�d�.�s�t�a�r�t�s�W�i�t�h�(�n�+�"�_�"�)�&�&�a�d�d�E�v�e�n�t�(�i�[�t�]�,�"�c�h�a�n�g�e�"�,�f�u�n�c�t�i�o�n�(�t�)�{�v�a�r� �i�=�t�.�t�a�r�g�e�t�|�|�t�.�s�r�c�E�l�e�m�e�n�t�;�c�o�n�s�o�l�e�.�l�o�g�(�"�M�a�k�e�M�a�t�r�i�x�Q�u�e�s�t�i�o�n�S�e�l�e�c�t�O�n�c�e�:� �c�h�a�n�g�e� �e�v�e�n�t� �q�u�e�s�t�i�o�n�I�d�=�"�+�n�+�"� �e�l�=�"�+�i�)�;�D�r�o�p�d�o�w�n�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�(�i�.�i�d�,�n�)�}�)�;�f�o�r�(�i�=�r�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�i�n�p�u�t�"�)�,�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�i�d�&�&�i�[�t�]�.�i�d�.�s�t�a�r�t�s�W�i�t�h�(�n�+�"�_�"�)�&�&�(�i�[�t�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�?�a�d�d�E�v�e�n�t�(�i�[�t�]�,�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�t�)�{�v�a�r� �i�=�t�.�t�a�r�g�e�t�|�|�t�.�s�r�c�E�l�e�m�e�n�t�;�c�o�n�s�o�l�e�.�l�o�g�(�"�M�a�k�e�M�a�t�r�i�x�Q�u�e�s�t�i�o�n�S�e�l�e�c�t�O�n�c�e�:� �r�a�d�i�o� �c�l�i�c�k� �q�u�e�s�t�i�o�n�I�d�=�"�+�n�+�"� �e�l�=�"�+�i�)�;�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�(�i�.�i�d�,�n�)�}�)�:�i�[�t�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�c�h�e�c�k�b�o�x�"�&�&�a�d�d�E�v�e�n�t�(�i�[�t�]�,�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�t�)�{�v�a�r� �i�=�t�.�t�a�r�g�e�t�|�|�t�.�s�r�c�E�l�e�m�e�n�t�;�C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�(�i�.�i�d�,�n�)�}�)�)�}�}�f�u�n�c�t�i�o�n� �D�r�o�p�d�o�w�n�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�(�n�,�t�)�{�v�a�r� �o�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�u�=�n�.�r�e�p�l�a�c�e�(�"�O�t�h�e�r�"�,�"�_�O�t�h�e�r�"�)�,�f�,�e�,
24�r�,�i�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�D�r�o�p�d�o�w�n�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �e�l�=�"�+�o�+�"� �e�l�e�m�e�n�t�i�d�=�"�+�n�+�"� �m�e�l�e�m�e�n�t�i�d�=�"�+�u�+�"� �q�u�e�s�t�i�o�n�I�d�=�"�+�t�)�,�o�&�&�(�f�=�o�.�v�a�l�u�e�,�e�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�t�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�D�r�o�p�d�o�w�n�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �e�l�V�a�l�u�e�=�"�+�f�+�"� �t�o�p�e�l�e�m�e�n�t�=�"�+�e�+�"� �s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�e�l�e�m�e�n�t�i�d�]�=�"�+�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�n�]�)�,�e�)�)�{�f�o�r�(�r�=�e�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�o�p�t�i�o�n�"�)�,�i�=�0�;�i�<�r�.�l�e�n�g�t�h�;�i�+�+�)�r�[�i�]�.�i�d�&�&�(�r�[�i�]�.�m�i�d�=�r�[�i�]�.�i�d�.�r�e�p�l�a�c�e�(�"�O�t�h�e�r�"�,�"�_�O�t�h�e�r�"�)�)�;�f�o�r�(�i�=�0�;�i�<�r�.�l�e�n�g�t�h�;�i�+�+�)�r�[�i�]�.�i�d�&�&�r�[�i�]�.�m�i�d�.�s�t�a�r�t�s�W�i�t�h�(�t�+�"�_�"�)�&�&�(�f�&�&�r�[�i�]�.�v�a�l�u�e�=�=�f�&�&�r�[�i�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�r�[�i�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�!�=�u�?�(�c�o�n�s�o�l�e�.�l�o�g�(�"�D�r�o�p�d�o�w�n�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �D�I�S�A�B�L�E� �E�L�E�M�E�N�T� �i�=�"�+�i�+�"� �e�l�s�[�i�]�.�v�a�l�u�e�=�"�+�r�[�i�]�.�v�a�l�u�e�+�"� �e�l�s�[�i�]�.�i�d�=�"�+�r�[�i�]�.�i�d�)�,�r�[�i�]�.�d�i�s�a�b�l�e�d�=�!�0�)�:�(�!�r�[�i�]�.�v�a�l�u�e�|�|�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�u�]�&�&�r�[�i�]�.�v�a�l�u�e�=�=�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�n�]�&�&�r�[�i�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�r�[�i�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�!�=�u�)�&�&�(�c�o�n�s�o�l�e�.�l�o�g�(�"�D�r�o�p�d�o�w�n�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �E�N�A�B�L�E� �E�L�E�M�E�N�T� �i�=�"�+�i�+�"� �e�l�s�[�i�]�.�v�a�l�u�e�=�"�+�r�[�i�]�.�v�a�l�u�e�+�"� �e�l�s�[�i�]�.�i�d�=�"�+�r�[�i�]�.�i�d�)�,�r�[�i�]�.�d�i�s�a�b�l�e�d�=�!�1�)�)�;�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�u�]�=�f�}�}�f�u�n�c�t�i�o�n� �R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�(�n�,�t�)�{�v�a�r� �e�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�f�=�n�.�r�e�p�l�a�c�e�(�"�O�t�h�e�r�"�,�"�_�O�t�h�e�r�"�)�,�s�,�o�,�i�,�r�,�u�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �e�l�=�"�+�e�+�"� �e�l�e�m�e�n�t�i�d�=�"�+�n�+�"� �m�e�l�e�m�e�n�t�i�d�=�"�+�f�+�"� �q�u�e�s�t�i�o�n�I�d�=�"�+�t�)�,�e�&�&�(�s�=�e�.�v�a�l�u�e�,�o�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�t�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �e�l�V�a�l�u�e�=�"�+�s�+�"� �t�o�p�e�l�e�m�e�n�t�=�"�+�o�)�,�o�)�)�{�f�o�r�(�i�=�o�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�i�n�p�u�t�"�)�,�r�=�0�;�r�<�i�.�l�e�n�g�t�h�;�r�+�+�)�i�[�r�]�.�i�d�&�&�(�i�[�r�]�.�m�i�d�=�i�[�r�]�.�i�d�.�r�e�p�l�a�c�e�(�"�O�t�h�e�r�"�,�"�_�O�t�h�e�r�"�)�)�;�f�o�r�(�r�=�0�;�r�<�i�.�l�e�n�g�t�h�;�r�+�+�)�i�f�(�i�[�r�]�.�i�d�&�&�i�[�r�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�&�&�i�[�r�]�.�m�i�d�.�s�t�a�r�t�s�W�i�t�h�(�t�+�"�_�"�)�)�i�f�(�i�[�r�]�.�v�a�l�u�e�=�=�s�)�{�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �1� �i�=�"�+�r�+�"� �e�l�s�[�i�]�.�m�i�d�=�"�+�i�[�r�]�.�m�i�d�+�"� �-� �A�d�d� �s�e�l�e�c�t�e�d�C�o�l�u�m�n�"�)�,�i�[�r�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�+�=�"� �s�e�l�e�c�t�e�d�C�o�l�u�m�n�"�,�i�[�r�]�.�m�i�d�=�=�f�&�&�(�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �A�d�d� �s�e�l�e�c�t�e�d�R�o�w�"�)�,�i�[�r�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�+�=�"� �s�e�l�e�c�t�e�d�R�o�w�"�)�,�i�[�r�]�.�m�i�d�!�=�f�&�&�i�[�r�]�.�c�h�e�c�k�e�d�)�f�o�r�(�i�[�r�]�.�c�h�e�c�k�e�d�&�&�(�i�[�r�]�.�c�h�e�c�k�e�d�=�!�1�,�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�i�[�r�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�i�[�r�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�]�=�"�"�,�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �r�e�m�o�v�e� �p�r�e�v�i�o�u�s� �v�a�l�u�e� �f�r�o�m� �"�+�i�[�r�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�i�[�r�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�)�)�,�u�=�0�;�u�<�i�.�l�e�n�g�t�h�;�u�+�+�)�i�[�u�]�.�i�d�&�&�i�[�u�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�&�&�i�[�u�]�.�m�i�d�.�s�t�a�r�t�s�W�i�t�h�(�t�+�"�_�"�)�&�&�i�[�r�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�i�[�r�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�=�=�i�[�u�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�i�[�u�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�&�&�(�i�[�u�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�=�i�[�u�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �s�e�l�e�c�t�e�d�R�o�w�/�g�,�"�"�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �r�e�m�o�v�e� �s�e�l�e�c�t�e�d�R�o�w� �j�=�"�+�u�+�"� �e�l�s�[�j�]�.�m�i�d�=�"�+�i�[�u�]�.�m�i�d�+�"� �l�i�=�"�+�i�[�u�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�i�[�u�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�)�)�}�e�l�s�e� �i�f�(�i�[�r�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�i�[�r�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�=�=�f�.�s�u�b�s�t�r�i�n�g�(�0�,�f�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�&�&�(�i�[�r�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�+�=�"� �s�e�l�e�c�t�e�d�R�o�w�"�,�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �2� �i�=�"�+�r�+�"� �e�l�s�[�i�]�.�m�i�d�=�"�+�i�[�r�]�.�m�i�d�+�"� �v�a�l�u�e�=�"�+�i�[�r�]�.�v�a�l�u�e�+�"� �p�r�e�v�i�o�u�s�=�"�+�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�f�.�s�u�b�s�t�r�i�n�g�(�0�,�f�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�]�)�,�i�[�r�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"�s�e�l�e�c�t�e�d�C�o�l�u�m�n�"�)�>�-�1�&�&�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�f�.�s�u�b�s�t�r�i�n�g�(�0�,�f�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�]�=�=�i�[�r�]�.�v�a�l�u�e�)�)�f�o�r�(�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �T�r�y� �t�o� �r�e�m�o�v�e� �s�e�l�e�c�t�e�d�C�o�l�u�m�n�"�)�,�u�=�0�;�u�<�i�.�l�e�n�g�t�h�;�u�+�+�)�i�[�u�]�.�i�d�&�&�i�[�u�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�&�&�i�[�u�]�.�m�i�d�.�s�t�a�r�t�s�W�i�t�h�(�t�+�"�_�"�)�&�&�i�[�r�]�.�v�a�l�u�e�=�=�i�[�u�]�.�v�a�l�u�e�&�&�(�i�[�u�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�=�i�[�u�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �s�e�l�e�c�t�e�d�C�o�l�u�m�n�/�g�,�"�"�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�R�a�d�i�o�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �r�e�m�o�v�e� �s�e�l�e�c�t�e�d�C�o�l�u�m�n� �j�=�"�+�u�+�"� �e�l�s�[�j�]�.�m�i�d�=�"�+�i�[�u�]�.�m�i�d�+�"� �l�i�=�"�+�i�[�u�]�.�m�i�d�.�s�u�b�s�t�r�i�n�g�(�0�,�i�[�u�]�.�m�i�d�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�)�)�;�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�f�.�s�u�b�s�t�r�i�n�g�(�0�,�f�.�l�a�s�t�I�n�d�e�x�O�f�(�"�_�"�)�)�]�=�e�.�v�a�l�u�e�}�}�f�u�n�c�t�i�o�n� �C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�(�n�,�t�)�{�v�a�r� �u�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�f�,�s�,�r�,�i�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �e�l�=�"�+�u�+�"� �e�l�e�m�e�n�t�i�d�=�"�+�n�+�"� �q�u�e�s�t�i�o�n�I�d�=�"�+�t�)�,�u�)�{�f�=�n�;
24�f�.�i�n�d�e�x�O�f�(�"�O�t�h�e�r�"�)�>�-�1�&�&�(�f�=�f�.�r�e�p�l�a�c�e�(�"�O�t�h�e�r�"�,�"�_�O�t�h�e�r�"�)�)�;�v�a�r� �h�=�f�.�s�p�l�i�t�(�"�_�"�)�,�e�=�t�+�"�_�"�+�h�[�h�.�l�e�n�g�t�h�-�2�]�,�o�=�u�.�v�a�l�u�e�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �e�l�V�a�l�u�e�=�"�+�o�+�"� �e�l�.�c�h�e�c�k�e�d�=�"�+�u�.�c�h�e�c�k�e�d�+�"� �r�o�w�I�d�=�"�+�e�)�,�u�.�c�h�e�c�k�e�d�)�{�i�f�(�u�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�&�&�(�u�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"�s�e�l�e�c�t�e�d�C�o�l�u�m�n�"�)�>�-�1�|�|�u�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"�s�e�l�e�c�t�e�d�R�o�w�"�)�>�-�1�)�)�{�u�.�c�h�e�c�k�e�d�=�!�1�;�r�e�t�u�r�n�}�}�e�l�s�e� �o�=�"�"�;�i�f�(�s�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�t�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �t�o�p�e�l�e�m�e�n�t�=�"�+�s�+�"� �s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�e�l�e�m�e�n�t�i�d�]�=�"�+�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�n�]�)�,�s�)�{�f�o�r�(�r�=�s�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�i�n�p�u�t�"�)�,�i�=�0�;�i�<�r�.�l�e�n�g�t�h�;�i�+�+�)�r�[�i�]�.�i�d�&�&�r�[�i�]�.�i�d�.�s�t�a�r�t�s�W�i�t�h�(�t�+�"�_�"�)�&�&�r�[�i�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�c�h�e�c�k�b�o�x�"�&�&�(�o�?�r�[�i�]�.�i�d�.�s�t�a�r�t�s�W�i�t�h�(�e�+�"�_�"�)�|�|�r�[�i�]�.�i�d�.�s�t�a�r�t�s�W�i�t�h�(�e�+�"�O�t�h�e�r�"�)�?�(�r�[�i�]�.�v�a�l�u�e�=�=�u�.�v�a�l�u�e�&�&�(�r�[�i�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�+�=�"� �s�e�l�e�c�t�e�d�C�o�l�u�m�n�"�)�,�r�[�i�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�+�=�"� �s�e�l�e�c�t�e�d�R�o�w�"�)�:�r�[�i�]�.�v�a�l�u�e�=�=�u�.�v�a�l�u�e�&�&�(�c�o�n�s�o�l�e�.�l�o�g�(�"�C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �c�h�e�c�k� �a�d�d� �c�l�a�s�s� �f�o�r� �e�l�s�[�i�]�.�i�d�=�"�+�r�[�i�]�.�i�d�)�,�r�[�i�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�+�=�"� �s�e�l�e�c�t�e�d�C�o�l�u�m�n�"�)�:�(�r�[�i�]�.�v�a�l�u�e�=�=�u�.�v�a�l�u�e�&�&�(�c�o�n�s�o�l�e�.�l�o�g�(�"�C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �C�O�L�U�M�N� �u�n�c�h�e�c�k� �r�e�m�o�v�e� �c�l�a�s�s� �f�o�r� �e�l�s�[�i�]�.�i�d�=�"�+�r�[�i�]�.�i�d�)�,�r�[�i�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�=�r�[�i�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �s�e�l�e�c�t�e�d�C�o�l�u�m�n�/�g�,�"�"�)�)�,�(�r�[�i�]�.�i�d�.�s�t�a�r�t�s�W�i�t�h�(�e�+�"�_�"�)�|�|�r�[�i�]�.�i�d�.�s�t�a�r�t�s�W�i�t�h�(�e�+�"�O�t�h�e�r�"�)�)�&�&�(�c�o�n�s�o�l�e�.�l�o�g�(�"�C�h�e�c�k�b�o�x�S�e�l�e�c�t�O�n�c�e�E�v�e�n�t�:� �R�O�W� �u�n�c�h�e�c�k� �r�e�m�o�v�e� �c�l�a�s�s� �f�o�r� �e�l�s�[�i�]�.�i�d�=�"�+�r�[�i�]�.�i�d�)�,�r�[�i�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�=�r�[�i�]�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �s�e�l�e�c�t�e�d�R�o�w�/�g�,�"�"�)�)�)�)�;�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�[�n�]�=�o�}�}�}�f�u�n�c�t�i�o�n� �C�m�s�R�a�d�i�o�M�a�t�r�i�x�A�l�l�o�w�S�i�n�g�l�e�V�a�l�u�e�(�)�{�}�f�u�n�c�t�i�o�n� �G�e�t�C�h�e�c�k�e�d�R�a�d�i�o�V�a�l�u�e�(�n�)�{�v�a�r� �i�,�t�;�i�f�(�!�n�)�r�e�t�u�r�n�"�"�;�i�f�(�i�=�n�.�l�e�n�g�t�h�,�i�=�=�u�n�d�e�f�i�n�e�d�)�r�e�t�u�r�n� �n�.�c�h�e�c�k�e�d�?�n�.�v�a�l�u�e�:�"�"�;�f�o�r�(�t�=�0�;�t�<�i�;�t�+�+�)�i�f�(�n�[�t�]�.�c�h�e�c�k�e�d�)�r�e�t�u�r�n� �n�[�t�]�.�v�a�l�u�e�;�r�e�t�u�r�n�"�"�}�f�u�n�c�t�i�o�n� �G�e�t�S�e�l�e�c�t�e�d�C�h�e�c�k�b�o�x�V�a�l�u�e�s�(�n�)�{�v�a�r� �i�=�"�"�,�u�=�"�"�,�r�=�G�e�t�S�e�l�e�c�t�e�d�C�h�e�c�k�b�o�x�(�n�)�,�t�;�i�f�(�r�.�l�e�n�g�t�h�!�=�0�)�f�o�r�(�t�=�0�;�t�<�r�.�l�e�n�g�t�h�;�t�+�+�)�n�[�r�[�t�]�]�?�(�i�=�i�+�u�+�n�[�r�[�t�]�]�.�v�a�l�u�e�,�u�=�"�,� �"�)�:�i�=�n�.�v�a�l�u�e�;�r�e�t�u�r�n� �i�}�f�u�n�c�t�i�o�n� �G�e�t�A�l�l�C�h�e�c�k�b�o�x�V�a�l�u�e�s�(�n�)�{�v�a�r� �t�=�"�"�,�r�=�"�"�,�i�;�i�f�(�n�)�i�f�(�n�[�0�]�)�f�o�r�(�i�=�0�;�i�<�n�.�l�e�n�g�t�h�;�i�+�+�)�t�=�t�+�r�+�n�[�i�]�.�v�a�l�u�e�,�r�=�"�,� �"�;�e�l�s�e� �t�=�n�.�v�a�l�u�e�;�r�e�t�u�r�n� �t�}�f�u�n�c�t�i�o�n� �G�e�t�S�e�l�e�c�t�e�d�C�h�e�c�k�b�o�x�(�n�)�{�v�a�r� �t�=�[�]�,�i�=�0�,�r�;�i�f�(�n�)�i�f�(�n�[�0�]�)�f�o�r�(�r�=�0�;�r�<�n�.�l�e�n�g�t�h�;�r�+�+�)�n�[�r�]�.�c�h�e�c�k�e�d�&�&�(�t�.�l�e�n�g�t�h�=�i�,�t�[�i�]�=�r�,�i�+�+�)�;�e�l�s�e� �n�.�c�h�e�c�k�e�d�&�&�(�t�.�l�e�n�g�t�h�=�i�,�t�[�i�]�=�0�)�;�r�e�t�u�r�n� �t�}�f�u�n�c�t�i�o�n� �G�e�t�E�l�e�m�e�n�t�T�y�p�e�(�n�)�{�v�a�r� �t�=�"�"�;�r�e�t�u�r�n� �n�&�&�(�n�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�s�e�l�e�c�t�"�?�t�=�"�d�r�o�p�d�o�w�n�"�:�n�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�i�n�p�u�t�"�?�t�=�n�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�c�h�e�c�k�b�o�x�"�?�"�c�h�e�c�k�b�o�x�"�:�n�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�?�"�r�a�d�i�o�"�:�"�t�e�x�t�"�:�n�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�t�e�x�t�a�r�e�a�"�&�&�(�t�=�"�t�e�x�t�"�)�)�,�t�}�f�u�n�c�t�i�o�n� �F�i�e�l�d�S�e�t�t�i�n�g�s�(�n�,�t�,�i�,�r�)�{�t�h�i�s�.�e�l�e�m�e�n�t�T�y�p�e�=�n�;�t�h�i�s�.�f�i�e�l�d�N�a�m�e�=�t�;�t�h�i�s�.�c�o�n�d�i�t�i�o�n�=�i�;�t�h�i�s�.�f�i�e�l�d�0�1�9�=�r�}�f�u�n�c�t�i�o�n� �F�i�e�l�d�C�o�n�d�i�t�i�o�n�(�n�)�{�v�a�r� �u�=�!�1�,�h�,�f�,�s�,�e�,�c�,�l�,�i�,�r�,�o�,�a�,�t�;�i�f�(�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�)�{�f�o�r�(�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�0�]�.�l�o�g�i�c�=�=�"�A�N�D�"�?�u�=�!�0�:�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�0�]�.�l�o�g�i�c�=�=�"�O�R�"
24�&�&�(�u�=�!�1�)�,�t�=�0�;�t�<�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�.�l�e�n�g�t�h�;�t�+�+�)�i�f�(�h�=�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�t�]�.�l�o�g�i�c�,�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�t�]�.�e�x�p�r�e�s�s�i�o�n�s�[�0�]�)�{�f�o�r�(�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�t�]�.�e�x�p�r�e�s�s�i�o�n�s�[�0�]�.�l�o�g�i�c�=�=�"�A�N�D�"�?�f�=�!�0�:�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�t�]�.�e�x�p�r�e�s�s�i�o�n�s�[�0�]�.�l�o�g�i�c�=�=�"�O�R�"�&�&�(�f�=�!�1�)�,�s�=�0�;�s�<�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�t�]�.�e�x�p�r�e�s�s�i�o�n�s�.�l�e�n�g�t�h�;�s�+�+�)�e�=�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�t�]�.�e�x�p�r�e�s�s�i�o�n�s�[�s�]�,�e�&�&�(�c�=�e�.�l�o�g�i�c�,�l�=�V�a�l�i�d�a�t�e�E�x�p�r�e�s�s�i�o�n�(�n�,�e�.�f�i�e�l�d�,�e�.�o�p�e�r�a�t�o�r�,�e�.�v�a�l�u�e�)�,�c�=�=�"�A�N�D�"�?�l�|�|�(�f�=�!�1�)�:�c�=�=�"�O�R�"�&�&�l�&�&�(�f�=�!�0�)�)�;�h�=�=�"�A�N�D�"�?�f�|�|�(�u�=�!�1�)�:�h�=�=�"�O�R�"�&�&�f�&�&�(�u�=�!�0�)�}�i�=�[�]�;�s�w�i�t�c�h�(�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�e�l�e�m�e�n�t�T�y�p�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�)�{�c�a�s�e�"�q�u�e�s�t�i�o�n�"�:�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�f�i�e�l�d�N�a�m�e�)�;�b�r�e�a�k�;�c�a�s�e�"�g�r�o�u�p�"�:�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�F�i�e�l�d�G�r�o�u�p�_�"�+�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�f�i�e�l�d�N�a�m�e�)�;�b�r�e�a�k�;�c�a�s�e�"�s�e�c�t�i�o�n�"�:�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�S�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�f�i�e�l�d�N�a�m�e�)�}�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�F�i�e�l�d�C�o�n�d�i�t�i�o�n�:� �c�o�n�t�e�n�t�I�d�=�"�+�n�+�"� �i�d� �s�u�f�f�i�x�=�"�+�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�f�i�e�l�d�N�a�m�e�+�"� �t�y�p�e�=�"�+�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�e�l�e�m�e�n�t�T�y�p�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�)�,�o�=�!�1�,�r�)�{�i�f�(�a�=�r�.�c�l�a�s�s�N�a�m�e�,�c�o�n�s�o�l�e�.�l�o�g�(�"�F�i�e�l�d�C�o�n�d�i�t�i�o�n�:� �b�l�n�C�o�n�d�i�t�i�o�n�T�r�u�e�=�"�+�u�+�"� �f�i�e�l�d�0�1�9�=�"�+�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�f�i�e�l�d�0�1�9�)�,�u�)�{�i�f�(�r�&�&�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�f�i�e�l�d�0�1�9�=�=�"�H�i�d�e�"�)�{�i�f�(�r�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"� �h�i�d�d�e�n�"�)�=�=�-�1�&�&�(�r�.�c�l�a�s�s�N�a�m�e�+�=�"� �h�i�d�d�e�n�"�,�o�=�!�0�)�,�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�&�&�(�i�=�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�n�a�m�e�=�c�m�F�i�e�l�d�s�]�"�)�)�,�i�&�&�i�[�0�]�)�f�o�r�(�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�"�c�m�F�i�e�l�d�s�H�i�d�d�e�n�"�)�}�e�l�s�e� �i�f�(�r�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"� �h�i�d�d�e�n�"�)�!�=�-�1�&�&�(�r�.�c�l�a�s�s�N�a�m�e�=�r�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �h�i�d�d�e�n�/�g�,�"�"�)�,�o�=�!�0�)�,�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�&�&�(�i�=�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�n�a�m�e�=�c�m�F�i�e�l�d�s�H�i�d�d�e�n�]�"�)�)�,�i�&�&�i�[�0�]�)�f�o�r�(�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�c�l�o�s�e�s�t�(�"�.�h�i�d�d�e�n�"�)�|�|�i�[�t�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�"�c�m�F�i�e�l�d�s�"�)�}�e�l�s�e� �i�f�(�r�&�&�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�f�i�e�l�d�0�1�9�=�=�"�H�i�d�e�"�)�{�i�f�(�r�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"� �h�i�d�d�e�n�"�)�!�=�-�1�&�&�(�r�.�c�l�a�s�s�N�a�m�e�=�r�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �h�i�d�d�e�n�/�g�,�"�"�)�,�o�=�!�0�)�,�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�&�&�(�i�=�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�n�a�m�e�=�c�m�F�i�e�l�d�s�H�i�d�d�e�n�]�"�)�)�,�i�&�&�i�[�0�]�)�f�o�r�(�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�c�l�o�s�e�s�t�(�"�.�h�i�d�d�e�n�"�)�|�|�i�[�t�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�"�c�m�F�i�e�l�d�s�"�)�}�e�l�s�e� �i�f�(�r�.�c�l�a�s�s�N�a�m�e�.�i�n�d�e�x�O�f�(�"� �h�i�d�d�e�n�"�)�=�=�-�1�&�&�(�r�.�c�l�a�s�s�N�a�m�e�+�=�"� �h�i�d�d�e�n�"�,�o�=�!�0�)�,�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�&�&�(�i�=�r�.
24�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�n�a�m�e�=�c�m�F�i�e�l�d�s�]�"�)�)�,�i�&�&�i�[�0�]�)�f�o�r�(�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�n�a�m�e�"�,�"�c�m�F�i�e�l�d�s�H�i�d�d�e�n�"�)�;�r�.�c�l�a�s�s�N�a�m�e�!�=�a�&�&�t�y�p�e�o�f� �f�i�e�l�d�V�i�s�i�b�i�l�i�t�y�C�h�a�n�g�e�d�=�=�"�f�u�n�c�t�i�o�n�"�&�&�(�n�e�w� �D�a�t�e�)�.�g�e�t�T�i�m�e�(�)�>�1�*�s�t�r�C�u�r�r�e�n�t�T�i�m�e�+�6�0�0�&�&�(�f�i�e�l�d�V�i�s�i�b�i�l�i�t�y�C�h�a�n�g�e�d�(�)�,�s�t�r�C�u�r�r�e�n�t�T�i�m�e�=�(�n�e�w� �D�a�t�e�)�.�g�e�t�T�i�m�e�(�)�)�}�o�&�&�(�C�a�l�c�u�l�a�t�e�F�o�r�m�T�o�t�a�l�V�a�l�u�e�(�)�,�S�h�o�w�H�i�d�e�S�e�c�t�i�o�n�s�G�r�o�u�p�s�(�G�e�t�C�m�s�F�o�r�m�I�d�(�r�)�)�)�}�}�f�u�n�c�t�i�o�n� �V�a�l�i�d�a�t�e�E�x�p�r�e�s�s�i�o�n�(�n�,�t�,�i�,�r�)�{�v�a�r� �e�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�N�a�m�e�(�t�)�,�o�=�"�"�,�u�,�f�,�h�,�c�,�s�;�i�f�(�e�&�&�e�[�0�]�&�&�(�o�=�G�e�t�E�l�e�m�e�n�t�T�y�p�e�(�e�[�0�]�)�)�,�u�=�"�"�,�f�=�!�1�,�o�=�=�"�r�a�d�i�o�"�)�u�=�G�e�t�C�h�e�c�k�e�d�R�a�d�i�o�V�a�l�u�e�(�e�)�,�i�=�=�"�=�"�&�&�r�=�=�u�?�f�=�!�0�:�i�=�=�"�<�>�"�&�&�r�!�=�u�?�f�=�!�0�:�i�!�=�"�i�s� �e�m�p�t�y�"�|�|�u�?�i�=�=�"�i�s� �n�o�t� �e�m�p�t�y�"�&�&�u�&�&�(�f�=�!�0�)�:�f�=�!�0�;�e�l�s�e� �i�f�(�o�=�=�"�c�h�e�c�k�b�o�x�"�)�{�i�f�(�u�=�G�e�t�S�e�l�e�c�t�e�d�C�h�e�c�k�b�o�x�V�a�l�u�e�s�(�e�)�,�r�=�=�"�A�L�L� �V�A�L�U�E�S�"�)�h�=�G�e�t�A�l�l�C�h�e�c�k�b�o�x�V�a�l�u�e�s�(�e�)�,�i�=�=�"�c�o�n�t�a�i�n�s�"�?�h�=�=�u�&�&�(�f�=�!�0�)�:�h�!�=�u�&�&�(�f�=�!�0�)�;�e�l�s�e� �i�f�(�c�=�u�.�s�p�l�i�t�(�"�,�"�)�,�f�=�i�=�=�"�c�o�n�t�a�i�n�s�"�?�!�1�:�!�0�,�r�=�=�"�A�N�Y� �V�A�L�U�E�"�&�&�T�r�i�m�(�u�)�!�=�"�"�)�f�=�!�f�;�e�l�s�e� �f�o�r�(�s�=�0�;�s�<�c�.�l�e�n�g�t�h�;�s�+�+�)�i�f�(�r�=�=�T�r�i�m�(�c�[�s�]�)�)�{�f�=�!�f�;�b�r�e�a�k�}�}�e�l�s�e� �o�=�=�"�d�r�o�p�d�o�w�n�"�&�&�e�[�0�]�.�o�p�t�i�o�n�s�?�(�u�=�e�[�0�]�.�o�p�t�i�o�n�s�[�e�[�0�]�.�s�e�l�e�c�t�e�d�I�n�d�e�x�]�.�v�a�l�u�e�,�i�=�=�"�=�"�&�&�r�=�=�u�?�f�=�!�0�:�i�=�=�"�<�>�"�&�&�r�!�=�u�?�f�=�!�0�:�i�!�=�"�i�s� �e�m�p�t�y�"�|�|�u�?�i�=�=�"�i�s� �n�o�t� �e�m�p�t�y�"�&�&�u�&�&�(�f�=�!�0�)�:�f�=�!�0�)�:�o�=�=�"�t�e�x�t�"�&�&�(�u�=�e�[�0�]�.�v�a�l�u�e�,�i�=�=�"�=�"�&�&�r�=�=�u�?�f�=�!�0�:�i�=�=�"�<�>�"�&�&�r�!�=�u�?�f�=�!�0�:�i�!�=�"�i�s� �e�m�p�t�y�"�|�|�u�?�i�=�=�"�i�s� �n�o�t� �e�m�p�t�y�"�&�&�u�?�f�=�!�0�:�i�=�=�"�l�i�k�e�"�&�&�u�.�i�n�d�e�x�O�f�(�r�)�>�-�1�?�f�=�!�0�:�i�=�=�"�>�"�&�&�u�>�r�?�f�=�!�0�:�i�=�=�"�>�=�"�&�&�u�>�=�r�?�f�=�!�0�:�i�=�=�"�<�"�&�&�u�<�r�?�f�=�!�0�:�i�=�=�"�<�"�&�&�u�<�=�r�&�&�(�f�=�!�0�)�:�f�=�!�0�)�;�r�e�t�u�r�n� �f�}�f�u�n�c�t�i�o�n� �L�o�a�d�C�o�n�d�i�t�i�o�n�(�n�)�{�v�a�r� �r�,�u�,�f�,�t�,�i�;�f�o�r�(�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�=�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�.�i�n�d�e�x�O�f�(�"�[�"�)�>�-�1�?�e�v�a�l�(�"�(�"�+�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�+�"�)�"�)�:�"�"�,�r�=�0�;�r�<�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�.�l�e�n�g�t�h�;�r�+�+�)�f�o�r�(�u�=�0�;�u�<�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�r�]�.�e�x�p�r�e�s�s�i�o�n�s�.�l�e�n�g�t�h�;�u�+�+�)�i�f�(�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�r�]�.�e�x�p�r�e�s�s�i�o�n�s�[�u�]�)�{�i�f�(�f�=�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�[�n�]�.�c�o�n�d�i�t�i�o�n�[�r�]�.�e�x�p�r�e�s�s�i�o�n�s�[�u�]�.�f�i�e�l�d�,�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�N�a�m�e�(�f�)�,�t�&�&�t�[�0�]�)�f�o�r�(�i�=�0�;�i�<�t�.�l�e�n�g�t�h�;�i�+�+�)�t�[�i�]�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�s�e�l�e�c�t�"�|�|�t�[�i�]�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�t�e�x�t�a�r�e�a�"�|�|�t�[�i�]�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�i�n�p�u�t�"�&�&�(�t�[�i�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�t�e�x�t�"�|�|�t�[�i�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�h�i�d�d�e�n�"�|�|�t�[�i�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�p�a�s�s�w�o�r�d�"�)�?�a�d�d�E�v�e�n�t�(�t�[�i�]�,�"�c�h�a�n�g�e�"�,�f�u�n�c�t�i�o�n�(�)�{�F�i�e�l�d�C�o�n�d�i�t�i�o�n�(�n�)�}�)�:�(�t�[�i�]�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�i�n�p�u�t�"�&�&�t�[�i�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�c�h�e�c�k�b�o�x�"�|�|�t�[�i�]�.�n�o�d�e�N�a�m�e�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�i�n�p�u�t�"�&�&�t�[�i�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�t�y�p�e�"�)�=�=�"�r�a�d�i�o�"�)�&�&�a�d�d�E�v�e�n�t�(�t
24�[�i�]�,�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�F�i�e�l�d�C�o�n�d�i�t�i�o�n�(�n�)�}�)�;�e�l�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�f�+�"�O�t�h�e�r�T�e�x�t�"�)�;�e�l�&�&�a�d�d�E�v�e�n�t�(�e�l�,�"�c�h�a�n�g�e�"�,�f�u�n�c�t�i�o�n�(�)�{�F�i�e�l�d�C�o�n�d�i�t�i�o�n�(�n�)�}�)�}�e�l�s�e� �c�o�n�s�o�l�e�.�l�o�g�(�"�e�m�p�t�y� �c�o�n�d�i�t�i�o�n� �c�o�n�t�e�n�t�I�d�=�"�+�n�+�"� �i�=�"�+�r�+�"� �j�=�"�+�u�)�;�F�i�e�l�d�C�o�n�d�i�t�i�o�n�(�n�)�}�f�u�n�c�t�i�o�n� �N�o�n�e�O�f�T�h�e�A�b�o�v�e�(�n�,�t�)�{�v�a�r� �i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�u�=�n�.�s�u�b�s�t�r�i�n�g�(�0�,�t�.�l�e�n�g�t�h�)�,�e�=�G�e�t�E�l�e�m�e�n�t�I�n�d�e�x�(�i�.�p�a�r�e�n�t�N�o�d�e�)�,�f�,�r�;�i�f�(�i�)�f�o�r�(�f�=�e�-�3�,�i�.�o�n�c�h�a�n�g�e�=�f�u�n�c�t�i�o�n�(�)�{�i�f�(�i�.�c�h�e�c�k�e�d�)�f�o�r�(�v�a�r� �n�=�0�;�n�<�f�;�n�+�+�)�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�+�"�_�"�+�(�n�+�1�)�)�&�&�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�+�"�_�"�+�(�n�+�1�)�)�.�c�h�e�c�k�e�d�=�"�"�)�}�,�r�=�0�;�r�<�f�;�r�+�+�)�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�+�"�_�"�+�(�r�+�1�)�)�&�&�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�+�"�_�"�+�(�r�+�1�)�)�.�o�n�c�h�a�n�g�e�=�f�u�n�c�t�i�o�n�(�)�{�i�.�c�h�e�c�k�e�d�=�"�"�}�)�}�f�u�n�c�t�i�o�n� �G�e�t�E�l�e�m�e�n�t�I�n�d�e�x�(�n�)�{�f�o�r�(�v�a�r� �t�=�0�;�n�=�n�.�p�r�e�v�i�o�u�s�E�l�e�m�e�n�t�S�i�b�l�i�n�g�;�)�t�+�+�;�r�e�t�u�r�n� �t�}�f�u�n�c�t�i�o�n� �A�d�d�T�a�b�u�l�a�t�o�r�R�o�w�(�n�)�{�i�f�(�c�m�G�r�i�d�s�&�&�c�m�G�r�i�d�s�[�n�]�)�{�c�m�G�r�i�d�s�[�n�]�.�t�a�b�l�e�.�a�d�d�R�o�w�(�J�S�O�N�.�p�a�r�s�e�(�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�c�m�G�r�i�d�s�[�n�]�.�n�e�w�F�i�e�l�d�V�a�l�)�)�)�;�c�m�G�r�i�d�s�[�n�]�.�t�a�b�l�e�.�r�e�d�r�a�w�(�!�0�)�;�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�+�"�A�d�d�R�o�w�"�)�;�t�&�&�t�.�c�l�a�s�s�N�a�m�e�&�&�(�t�.�c�l�a�s�s�N�a�m�e�+�=�"� �h�i�d�d�e�n�"�)�}�r�e�t�u�r�n�!�1�}�f�u�n�c�t�i�o�n� �S�a�v�e�F�o�r�m�F�i�l�e�s�F�u�(�n�,�t�,�i�)�{�v�a�r� �o�,�u�,�f�,�r�,�e�;�i�f�(�n�&�&�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�n�)�!�=�"�{�}�"�)�{�o�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�F�i�n�d�F�o�r�m�N�a�m�e�(�i�)�]�;�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u�:� �f�o�r�m�=�"�+�o�+�"� �f�i�l�e�F�i�e�l�d�s�=�"�+�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�n�)�)�;�v�a�r� �s�=�{�}�,�c�=�{�c�h�u�n�k�i�n�g�:�{�e�n�a�b�l�e�d�:�!�0�,�p�a�r�t�S�i�z�e�:�1�e�6�,�s�u�c�c�e�s�s�:�{�e�n�d�p�o�i�n�t�:�"�/�A�c�o�r�a�C�M�S�/�J�a�v�a�s�c�r�i�p�t�/�f�i�n�e�u�p�l�o�a�d�e�r�/�s�e�r�v�e�r�/�F�i�n�e�U�p�l�o�a�d�F�i�l�e�H�a�n�d�l�e�r�.�a�s�h�x�?�d�o�n�e�=�1�"�}�}�,�r�e�q�u�e�s�t�:�{�e�n�d�p�o�i�n�t�:�"�/�A�c�o�r�a�C�M�S�/�J�a�v�a�s�c�r�i�p�t�/�f�i�n�e�u�p�l�o�a�d�e�r�/�s�e�r�v�e�r�/�F�i�n�e�U�p�l�o�a�d�F�i�l�e�H�a�n�d�l�e�r�.�a�s�h�x�"�}�,�c�a�l�l�b�a�c�k�s�:�{�o�n�E�r�r�o�r�:�f�u�n�c�t�i�o�n�(�n�,�t�,�r�)�{�i�.�c�l�a�s�s�N�a�m�e�=�i�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�"� �h�i�d�d�e�n�"�,�"�"�)�;�a�l�e�r�t�(�"�E�r�r�o�r� �d�u�r�i�n�g� �u�p�l�o�a�d�i�n�g� �"�+�t�+�"� �f�i�l�e� �"�+�r�)�}�,�o�n�T�o�t�a�l�P�r�o�g�r�e�s�s�:�f�u�n�c�t�i�o�n�(�n�,�t�)�{�n�=�=�t�&�&�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �a�l�l� �f�i�l�e�s� �w�e�r�e� �u�p�l�o�a�d�e�d� �t�o�t�a�l�B�y�t�e�s�=�"�+�t�)�}�,�o�n�A�l�l�C�o�m�p�l�e�t�e�:�f�u�n�c�t�i�o�n�(�n�,�t�)�{�t�&�&�t�.�l�e�n�g�t�h�!�=�0�?�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �"�+�n�.�l�e�n�g�t�h�+�"� �f�i�l�e�s� �w�e�r�e� �f�a�i�l�e�d� �t�o� �u�p�l�o�a�d�.�"�)�:�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �a�l�l� �"�+�n�.�l�e�n�g�t�h�+�"� �f�i�l�e�s� �w�e�r�e� �u�p�l�o�a�d�e�d�.�"�)�,�s�e�t�T�i�m�e�o�u�t�(�f�u�n�c�t�i�o�n�(�)�{�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �s�u�b�m�i�t�t�i�n�g� �f�o�r�m� �e�l�e�m�e�n�t�.�n�a�m�e�=�"�+�i�.�n�a�m�e�+�"� �e�l�e�m�e�n�t�.�v�a�l�u�e�=�"�+�i�.�v�a�l�u�e�+�"� �e�l�e�m�e�n�t�.�d�i�s�a�b�l�e�d�=�"�+�i�.�d�i�s�a�b�l�e�d�)�;�i�.�c�l�i�c�k�(�)�}�,�1�0�0�)�)�}�,�o�n�C�o�m�p�l�e�t�e�:�f�u�n�c�t�i�o�n�(�n�,�t�,�i�)�{�v�a�r� �f�=�s�[�t�]�,�u�,�r�,�e�,�o�;�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �c�o�m�p�l�e�t�e� �"�+�t�+�"� �f�i�l�e� �u�p�l�o�a�d� �e�l�e�m�e�n�t�I�d�=�"�+�f�)�;�u�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�f�)�;�u�?�(�u�.�t�y�p�e�=�"�h�i�d�d�e�n�"�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�c�m�F�i�e�l�d�s�"�+�f�)�,�r�&�&�(�e�=�r�.�v�a�l�u�e�.�s�p�l�i�t�(�"�;�"�)�,�r�.�v�a�l�u�e�=�e�[�0�]�+�"�;�0�;�"�+�e�[�2�]�+�"�;�f�u�f�i�l�e�s�"�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �e�l�F�i�l�e�s�.�v�a�l�u�e�=�"�+�r�.
24�v�a�l�u�e�)�)�,�o�=�{�f�i�l�e�s�:�[�]�}�,�o�.�f�i�l�e�s�.�p�u�s�h�(�{�n�a�m�e�:�t�,�i�d�:�n�,�u�u�i�d�:�i�.�u�u�i�d�,�s�i�z�e�:�i�.�s�i�z�e�}�)�,�u�.�v�a�l�u�e�=�e�n�c�o�d�e�U�R�I�C�o�m�p�o�n�e�n�t�(�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�o�)�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �c�o�m�p�l�e�t�e�:� �v�a�l�u�e�=�"�+�u�.�v�a�l�u�e�+�"� �e�l�F�i�l�e�s�=�"�+�r�)�)�:�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �-� �c�a�n� �n�o�t� �f�i�n�d� �e�l�e�m�e�n�t� �w�i�t�h� �i�d�=�"�+�f�)�}�}�}�,�l�=�n�e�w� �q�q�.�F�i�n�e�U�p�l�o�a�d�e�r�B�a�s�i�c�(�c�)�,�h�=�[�]�;�f�o�r�(�u� �i�n� �n�)�f�=�n�[�u�]�,�f�.�v�a�l�u�e�&�&�(�r�=�f�.�v�a�l�u�e�.�r�e�p�l�a�c�e�(�/�\�\�/�g�,�"�/�"�)�,�e�=�r�.�s�p�l�i�t�(�"�/�"�)�,�r�=�e�[�e�.�l�e�n�g�t�h�-�1�]�,�h�.�p�u�s�h�(�f�)�,�s�[�r�]�=�u�,�c�o�n�s�o�l�e�.�l�o�g�(�"�S�a�v�e�F�o�r�m�F�i�l�e�s�F�u� �a�d�d�i�n�g� �f�i�l�e� �e�l�e�m�e�n�t�=�"�+�u�+�"� �f�i�l�e�=�"�+�r�)�)�;�l�.�a�d�d�F�i�l�e�s�(�h�)�}�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�S�w�i�t�c�h�(�n�,�t�)�{�v�a�r� �i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�;�i�f�(�i�)�{�v�a�r� �f�=�i�.�c�l�a�s�s�N�a�m�e�,�u�=�n�+�"�E�n�a�b�l�e�"�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�;�r�&�&�(�r�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�?�t�.�s�e�l�e�c�t�e�d�I�n�d�e�x�=�=�=�u�n�d�e�f�i�n�e�d�|�|�t�[�t�.�s�e�l�e�c�t�e�d�I�n�d�e�x�]�.�i�d�=�=�r�.�i�d�?�O�t�h�e�r�O�p�t�i�o�n�S�h�o�w�T�e�x�t�(�n�)�:�O�t�h�e�r�O�p�t�i�o�n�D�e�s�e�l�e�c�t�(�n�,�i�)�:�r�.�c�h�e�c�k�e�d�?�O�t�h�e�r�O�p�t�i�o�n�S�h�o�w�T�e�x�t�(�n�)�:�O�t�h�e�r�O�p�t�i�o�n�D�e�s�e�l�e�c�t�(�n�,�i�)�)�}�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�O�n�(�n�)�{�i�f�(�n�)�{�v�a�r� �i�=�n�.�i�d�,�r�=�i�.�s�u�b�s�t�r�i�n�g�(�0�,�i�.�i�n�d�e�x�O�f�(�"�O�t�h�e�r�"�)�)�,�u�=�r�+�"�O�t�h�e�r�E�n�a�b�l�e�"�,�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�;�t�&�&�(�t�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�?�t�.�s�e�l�e�c�t�e�d�=�!�0�:�t�.�c�h�e�c�k�e�d�=�!�0�)�}�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�D�e�s�e�l�e�c�t�(�n�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�;�i�f�(�t�)�{�v�a�r� �i�=�t�.�c�l�a�s�s�N�a�m�e�,�u�=�n�+�"�E�n�a�b�l�e�"�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�;�i�.�i�n�d�e�x�O�f�(�"�o�t�h�e�r�O�p�t�i�o�n�S�e�l�e�c�t�T�e�x�t�H�i�d�d�e�n�"�)�!�=�-�1�?�(�r�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�,�O�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�(�n�)�)�:�i�.�i�n�d�e�x�O�f�(�"�o�t�h�e�r�O�p�t�i�o�n�S�e�l�e�c�t�T�e�x�t�V�i�s�i�b�l�e�"�)�!�=�-�1�&�&�(�r�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�,�O�t�h�e�r�O�p�t�i�o�n�B�l�a�n�k�T�e�x�t�(�t�)�)�}�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�L�o�a�d�(�n�)�{�v�a�r� �t�=�n�.�s�u�b�s�t�r�i�n�g�(�0�,�n�.�i�n�d�e�x�O�f�(�"�O�t�h�e�r�"�)�)�;�O�t�h�e�r�O�p�t�i�o�n�S�w�i�t�c�h�(�n�,�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�)�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�(�n�)�{�v�a�r� �r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�u�,�t�;�i�f�(�r�)�f�o�r�(�u�=�r�.�c�l�a�s�s�N�a�m�e�,�t�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t�"�,�"�d�i�v�"�,�r�)�,�i�=�0�;�i�<�t�.�l�e�n�g�t�h�;�i�+�+�)�t�[�i�]�.�c�l�a�s�s�N�a�m�e�=�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t� �o�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�"�,�O�t�h�e�r�O�p�t�i�o�n�B�l�a�n�k�T�e�x�t�(�t�[�i�]�)�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�S�h�o�w�T�e�x�t�(�n�)�{�v�a�r� �i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�u�,�r�,�t�;�i�f�(�i�)�f�o�r�(�u�=�i�.�c�l�a�s�s�N�a�m�e�,�r�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t� �o�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�"�,�"�d�i�v�"�,�i�)�,�t�=�0�;�t�<�r�.�l�e�n�g�t�h�;�t�+�+�)�r�[�t�]�.�c�l�a�s�s�N�a�m�e�=�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t�"�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�B�l�a�n�k�T�e�x�t�(�n�)�{�v�a�r� �i�=�n�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�I�N�P�U�T�"�)�,�t�;�i�f�(�i�)�f�o�r�(�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�t�y�p�e�=�=�"�t�e�x�t�"�&�&�(�i�[�t�]�.�v�a�l�u�e�=�"�"�)�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�S�w�i�t�c�h�(�n�,�t�)�{�v�a�r� �i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�;�i�f�(�i�)�{�v�a�r� �f�=�i�.�c�l�a�s�s�N�a�m�e�,�u�=�n�+�"�E�n�a�b�l�e�"�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�;�r�&�&�(�r�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�?�t�.�s�e�l�e�c�t�e�d�I�n�d�e�x�=�=�=�u�n�d�e�f�i�n�e�d�|�|�t�[�t�.�s�e�l�e�c�t�e�d�I�n�d�e�x�]�.�i�d�=�=�r�.
24�i�d�?�O�t�h�e�r�O�p�t�i�o�n�S�h�o�w�T�e�x�t�(�n�)�:�O�t�h�e�r�O�p�t�i�o�n�D�e�s�e�l�e�c�t�(�n�,�i�)�:�r�.�c�h�e�c�k�e�d�?�O�t�h�e�r�O�p�t�i�o�n�S�h�o�w�T�e�x�t�(�n�)�:�O�t�h�e�r�O�p�t�i�o�n�D�e�s�e�l�e�c�t�(�n�,�i�)�)�}�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�O�n�(�n�)�{�i�f�(�n�)�{�v�a�r� �i�=�n�.�i�d�,�r�=�i�.�s�u�b�s�t�r�i�n�g�(�0�,�i�.�i�n�d�e�x�O�f�(�"�O�t�h�e�r�"�)�)�,�u�=�r�+�"�O�t�h�e�r�E�n�a�b�l�e�"�,�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�;�t�&�&�(�t�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�?�t�.�s�e�l�e�c�t�e�d�=�!�0�:�t�.�c�h�e�c�k�e�d�=�!�0�)�}�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�D�e�s�e�l�e�c�t�(�n�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�;�i�f�(�t�)�{�v�a�r� �i�=�t�.�c�l�a�s�s�N�a�m�e�,�u�=�n�+�"�E�n�a�b�l�e�"�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�u�)�;�i�.�i�n�d�e�x�O�f�(�"�o�t�h�e�r�O�p�t�i�o�n�S�e�l�e�c�t�T�e�x�t�H�i�d�d�e�n�"�)�!�=�-�1�?�(�r�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�,�O�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�(�n�)�)�:�i�.�i�n�d�e�x�O�f�(�"�o�t�h�e�r�O�p�t�i�o�n�S�e�l�e�c�t�T�e�x�t�V�i�s�i�b�l�e�"�)�!�=�-�1�&�&�(�r�.�t�a�g�N�a�m�e�.�t�o�U�p�p�e�r�C�a�s�e�(�)�=�=�"�O�P�T�I�O�N�"�,�O�t�h�e�r�O�p�t�i�o�n�B�l�a�n�k�T�e�x�t�(�t�)�)�}�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�L�o�a�d�(�n�)�{�v�a�r� �t�=�n�.�s�u�b�s�t�r�i�n�g�(�0�,�n�.�i�n�d�e�x�O�f�(�"�O�t�h�e�r�"�)�)�;�O�t�h�e�r�O�p�t�i�o�n�S�w�i�t�c�h�(�n�,�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�)�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�(�n�)�{�v�a�r� �r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�u�,�t�;�i�f�(�r�)�f�o�r�(�u�=�r�.�c�l�a�s�s�N�a�m�e�,�t�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t�"�,�"�d�i�v�"�,�r�)�,�i�=�0�;�i�<�t�.�l�e�n�g�t�h�;�i�+�+�)�t�[�i�]�.�c�l�a�s�s�N�a�m�e�=�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t� �o�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�"�,�O�t�h�e�r�O�p�t�i�o�n�B�l�a�n�k�T�e�x�t�(�t�[�i�]�)�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�S�h�o�w�T�e�x�t�(�n�)�{�v�a�r� �i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�,�u�,�r�,�t�;�i�f�(�i�)�f�o�r�(�u�=�i�.�c�l�a�s�s�N�a�m�e�,�r�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t� �o�t�h�e�r�O�p�t�i�o�n�H�i�d�e�T�e�x�t�"�,�"�d�i�v�"�,�i�)�,�t�=�0�;�t�<�r�.�l�e�n�g�t�h�;�t�+�+�)�r�[�t�]�.�c�l�a�s�s�N�a�m�e�=�"�o�t�h�e�r�O�p�t�i�o�n�T�e�x�t�"�}�f�u�n�c�t�i�o�n� �O�t�h�e�r�O�p�t�i�o�n�B�l�a�n�k�T�e�x�t�(�n�)�{�v�a�r� �i�=�n�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�I�N�P�U�T�"�)�,�t�;�i�f�(�i�)�f�o�r�(�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�[�t�]�.�t�y�p�e�=�=�"�t�e�x�t�"�&�&�(�i�[�t�]�.�v�a�l�u�e�=�"�"�)�}�f�u�n�c�t�i�o�n� �A�d�d�A�t�t�a�c�h�m�e�n�t�G�r�o�u�p�(�n�,�t�,�i�)�{�v�a�r� �h�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�A�t�t�a�c�h�m�e�n�t�s�"�+�n�)�,�o�,�v�,�f�,�r�,�c�,�s�,�e�;�i�f�(�h�)�{�v�a�r� �a�=�h�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�f�i�e�l�d�s�e�t�"�)�,�u�=�a�.�l�e�n�g�t�h�+�1�,�l�=�"�"�;�i�f�(�i�&�&�u�>�i�)�a�l�e�r�t�(�"�M�a�x�i�m�u�m� �o�f� �"�+�i�+�"� �f�i�l�e�s� �c�a�n� �b�e� �a�t�t�a�c�h�e�d�"�)�;�e�l�s�e�{�f�o�r�(�o�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�f�i�e�l�d�s�e�t�"�)�,�o�.�c�l�a�s�s�N�a�m�e�=�"�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�,�o�.�i�d�=�"�A�t�t�a�c�h�m�e�n�t�C�o�n�t�a�i�n�e�r�"�+�u�,�h�.�a�p�p�e�n�d�C�h�i�l�d�(�o�)�,�v�=�[�]�,�f�=�t�.�s�p�l�i�t�(�"�,�"�)�,�r�=�0�;�r�<�f�.�l�e�n�g�t�h�;�r�+�+�)�f�[�r�]�&�&�f�[�r�]�.�t�r�i�m�(�)�!�=�"�[�-�-�0�-�-�]�"�&�&�(�c�=�"�"�,�c�=�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�s�u�m�m�a�r�y�"�|�|�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�=�=�"�k�e�y�w�o�r�d�s�"�?�'�<�t�e�x�t�a�r�e�a� �i�d�=�"�'�+�n�+�"�_�"�+�u�+�"�_�"�+�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�+�'�"� �n�a�m�e�=�"�'�+�n�+�"�_�"�+�u�+�"�_�"�+�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�+�'�"� �c�l�a�s�s�=�"�a�t�t�a�c�h�m�e�n�t�s�_�'�+�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�+�'�"�>�<�\�/�t�e�x�t�a�r�e�a�>�'�:�'�<�i�n�p�u�t� �i�d�=�"�'�+�n�+�"�_�"�+�u�+�"�_�"�+�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�+�'�"� �t�y�p�e�=�"�t�e�x�t�"� �v�a�l�u�e�=�"�"� �n�a�m�e�=�"�'�+�n�+�"�_�"�+�u�+�"�_�"�+�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�+�'�"� �c�l�a�s�s�=�"�a�t�t�a�c�h�m�e�n�t�s�_�'�+�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�+�'�"�>�'�,�l�+�=�`��� 25� � � � � � � � � � � � � � � � �<�l�i� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�a�i�n�e�r� �t�e�x�t�F�i�e�l�d�"�>��� 26� � � � � � � � � � � � � � � � � � � � �<�l�a�b�e�l� �c�l�a�s�s�=�"�f�i�e�l�d�T�i�t�l�e�"� �f�o�r�=�"�`�+�n�+�"�_�"�+�u�+�"�_�"�+�f�[�r�]�.�t�r�i�m�(�)�.�t�o�L�o�w�e�r�C�a�s�e�(�)�+�`�"�>��� 27� � � � � � � � � � � � � � � � � � � � � � � � �`�+�f�[�r�]�.�t�r�i�m�(�)�+�`��� 28� � � � � � � � � � � � � � � � � � � � �<�/�l�a�b�e�l�>��� 29� � � � � � � � � � � � � � � � � � � � �<�d�i�v� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�e�n�t�"�>��� 30� � � � � � � � � � � � � � � � � � � � � � � � �<�d�i�v� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�r�o�l�s�"�>��� 31� � � � � � � � � � � � � � � � � � � � � � � � � � � � �`�+�c�+�`��� 32� � � � � � � � � � � � � � � � � � � � � � � � �<�/�d�i�v�>��� 33� � � � � � � � � � � � � � � � � � � � �<�/�d�i�v�>��� 34� � � � � � � � � � � � � � � � �<�/�l�i�>��� 35� � � � � � � � � � � � � � � � �`�)�;�o�.�i�n�n�e�r�H�T�M�L�=�`��� 36� � � � � � � � �<�l�e�g�e�n�d� �c�l�a�s�s�=�"�s�e�c�t�i�o�n�L�e�g�e�n�d�"�>�A�t�t�a�c�h�m�e�n�t� �`�+�u�+�`�<�/�l�e�g�e�n�d�>��� 37� � � � � � � � �<�o�l� �c�l�a�s�s�=�"�f�o�r�m�F�i�e�l�d�s�"�>��� 38� � � � � � � � � � � � �<�l�i� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�a�i�n�e�r� �f�i�l�e�F�i�e�l�d�"�>��� 39� � � � � � � � � � � � � � � � �<�l�a�b�e�l� �c�l�a�s�s�=�"�f�i�e�l�d�T�i�t�l�e�"� �f�o�r�=�"�`�+�n�+�"�_�"�+�u�+�`�_�f�i�l�e�"�>��� 40� � � � � � � � � � � � � � � � � � � � �(�<�a� �h�r�e�f�=�"�#�"� �o�n�c�l�i�c�k�=�"�D�e�l�e�t�e�A�t�t�a�c�h�m�e�n�t�G�r�o�u�p�(�'�`�+�n�+�"�'�,�"�+�u�+�`�,�'�'�,�f�a�l�s�e�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"�>�D�e�l�e�t�e� �A�t�t�a�c�h�m�e�n�t�<�/�a�>�)��� 41� � � � � � � � � � � � � � � � �<�/�l�a�b�e�l�>��� 42� � � � � � � � � � � � � � � � �<�d�i�v� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�e�n�t�"�>��� 43� � � � � � � � � � � � � � � � � � � � �<�d�i�v� �c�l�a�s�s�=�"�f�i�e�l�d�C�o�n�t�r�o�l�s�"�>��� 44� � � � � � � � � � � � � � � � � � � � � � � � �<�i�n�p�u�t� �i�d�=�"�`�+�n�+�"�_�"�+�u�+�'�_�f�i�l�e�"� �t�y�p�e�=�"�f�i�l�e�"� �v�a�l�u�e�=�"�"� �n�a�m�e�=�"�'�+�n�+�"�_�"�+�u�+�`�_�f�i�l�e�"�>��� 45� � � � � � � � � � � � � � � � � � � � �<�/�d�i�v�>��� 46� � � � � � � � � � � � � � � � �<�/�d�i�v�>��� 47� � � � � � � � � � � � �<�/�l�i�>�`�+�l�+�`��� 48� � � � � � � � �<�/�o�l�>��� 49� � � � � � � � � � � � �`�;�s�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�[�n�]�;�s�&�&�(�e�=�{�}�,�s�.�v�a�l�u�e�&�&�(�e�=�J�S�O�N�.�p�a�r�s�e�(�s�.�v�a�l�u�e�)�)�,�e�.�u�p�l�o�a�d�i�n�d�e�x�e�s�?�e�.�u�p�l�o�a�d�i�n�d�e�x�e�s�[�e�.�u�p�l�o�a�d�i�n�d�e�x�e�s�.�l�e�n�g�t�h�]�=�u�:�e�.�u�p�l�o�a�d�i�n�d�e�x�e�s�=�[�u�]�,�s�.�v�a�l�u�e�=�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�e�)�)�}�}�}�f�u�n�c�t�i�o�n� �D�e�l�e�t�e�A�t�t�a�c�h�m�e�n�t�G�r�o�u�p�(�n�,�t�,�i�,�r�)�{�v�a�r� �f�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�[�n�]�,�u�,�e�,�o�;�f�&�&�f�.�v�a�l�u�e�&�&�(�u�=�J�S�O�N�.�p�a�r�s�e�(�f�.�v�a�l�u�e�)�,�r�?�u�.�t�o�d�e�l�e�t�e�?�u�.�t�o�d�e�l�e�t�e�[�u�.�t�o�d�e�l�e�t�e�.�l�e�n�g�t�h�]�=�i�:�u�.�t�
49o�d�e�l�e�t�e�=�[�i�]�:�(�e�=�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�[�n�+�"�_�"�+�t�+�"�_�f�i�l�e�"�]�,�e�&�&�(�e�.�v�a�l�u�e�=�"�"�)�,�u�.�u�p�l�o�a�d�i�n�d�e�x�e�s�&�&�(�o�=�R�e�m�o�v�e�I�t�e�m�F�r�o�m�A�r�r�a�y�B�y�V�a�l�u�e�(�u�.�u�p�l�o�a�d�i�n�d�e�x�e�s�,�t�)�,�u�.�u�p�l�o�a�d�i�n�d�e�x�e�s�=�o�)�)�,�f�.�v�a�l�u�e�=�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�u�)�,�a�t�t�a�c�h�m�e�n�t�C�o�n�t�a�i�n�e�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�A�t�t�a�c�h�m�e�n�t�C�o�n�t�a�i�n�e�r�"�+�t�)�,�a�t�t�a�c�h�m�e�n�t�C�o�n�t�a�i�n�e�r�&�&�a�t�t�a�c�h�m�e�n�t�C�o�n�t�a�i�n�e�r�.�p�a�r�e�n�t�N�o�d�e�.�r�e�m�o�v�e�C�h�i�l�d�(�a�t�t�a�c�h�m�e�n�t�C�o�n�t�a�i�n�e�r�)�)�}�f�u�n�c�t�i�o�n� �D�e�l�e�t�e�A�t�t�a�c�h�e�d�F�i�l�e�(�n�,�t�,�i�)�{�r�e�t�u�r�n� �n�&�&�t�&�&�i�&�&�c�o�n�f�i�r�m�(�"�D�o� �y�o�u� �w�a�n�t� �t�o� �d�e�l�e�t�e� �t�h�e� �a�t�t�a�c�h�e�d� �f�i�l�e�?�"�)�&�&�(�n�.�p�a�r�e�n�t�N�o�d�e�.�i�n�n�e�r�H�T�M�L�=�`��� 50� � � � � � � � � � � � �<�i�n�p�u�t� �t�y�p�e�=�"�f�i�l�e�"� �s�i�z�e�=�"�3�0�"� �i�d�=�"�`�+�i�+�'�"� �n�a�m�e�=�"�'�+�i�+�`�"� �>��� 51� � � � � � � � � � � � �<�i�n�p�u�t� �t�y�p�e�=�"�h�i�d�d�e�n�"� �n�a�m�e�=�"�c�m�F�i�l�e�s�T�o�D�e�l�e�t�e�"� �v�a�l�u�e�=�"�`�+�t�+�`�"�>��� 52� � � � � � � � �`�)�,�!�1�}�f�u�n�c�t�i�o�n� �U�p�d�a�t�e�F�r�a�m�e�S�r�c�(�n�,�t�)�{�v�a�r� �i�=�G�e�t�Q�u�e�r�y�S�t�r�i�n�g�V�a�l�u�e�(�"�k�e�y�"�)�;�i�&�&�(�t�|�|�(�t�=�1�)�,�s�e�t�T�i�m�e�o�u�t�(�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�;�t�&�&�t�.�s�r�c�&�&�(�t�.�s�r�c�.�i�n�d�e�x�O�f�(�"�?�"�)�>�0�&�&�(�t�.�s�r�c�=�s�u�b�s�t�r�i�n�g�(�t�.�s�r�c�,�t�.�s�r�c�.�i�n�d�e�x�O�f�(�"�?�"�)�)�)�,�t�.�s�r�c�+�=�"�?�k�e�y�=�"�+�i�)�}�,�t�)�)�}�f�u�n�c�t�i�o�n� �S�a�v�e�F�o�r�m�D�r�a�f�t�(�n�,�t�,�i�,�r�)�{�v�a�r� �e�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�F�o�r�m�D�r�a�f�t�M�e�s�s�a�g�e�_�"�+�n�)�,�f�=�"�"�,�u�,�s�,�c�;�i�f�(�t�y�p�e�o�f� �j�Q�u�e�r�y�!�=�"�u�n�d�e�f�i�n�e�d�"�)�{�t�i�n�y�m�c�e�.�t�r�i�g�g�e�r�S�a�v�e�(�)�;�u�=�{�}�;�$�.�e�a�c�h�(�$�(�"�f�o�r�m�"�)�.�s�e�r�i�a�l�i�z�e�A�r�r�a�y�(�)�,�f�u�n�c�t�i�o�n�(�)�{�t�h�i�s�.�v�a�l�u�e�&�&�t�h�i�s�.�n�a�m�e�.�i�n�d�e�x�O�f�(�"�p�a�s�s�w�o�r�d�"�)�=�=�-�1�&�&�(�u�[�t�h�i�s�.�n�a�m�e�]�?�u�[�t�h�i�s�.�n�a�m�e�]�+�=�"�,� �"�+�t�h�i�s�.�v�a�l�u�e�.�r�e�p�l�a�c�e�(�/�<�/�g�,�"�&�l�t�;�"�)�.�r�e�p�l�a�c�e�(�/�>�/�g�,�"�&�g�t�;�"�)�.�r�e�p�l�a�c�e�(�/�&�#�3�9�;�/�g�,�"�'�"�)�:�u�[�t�h�i�s�.�n�a�m�e�]�=�t�h�i�s�.�v�a�l�u�e�.�r�e�p�l�a�c�e�(�/�<�/�g�,�"�&�l�t�;�"�)�.�r�e�p�l�a�c�e�(�/�>�/�g�,�"�&�g�t�;�"�)�.�r�e�p�l�a�c�e�(�/�&�#�3�9�;�/�g�,�"�'�"�)�)�}�)�;�u�.�s�i�d�=�g�e�t�C�o�o�k�i�e�(�"�c�m�3�s�e�s�s�i�o�n�c�m�3�s�i�d�f�r�o�n�t�e�n�d�"�)�;�u�.�c�=�"�s�a�v�e�d�r�a�f�t�f�o�r�m�"�;�u�.�f�o�r�m�c�o�n�t�a�i�n�e�r�i�d�=�n�;�i�&�&�(�u�.�p�r�o�g�r�e�s�s�=�i�)�;�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�f�o�r�m�u�r�l�&�&�d�o�c�u�m�e�n�t�.�f�o�r�m�s�[�0�]�.�e�l�e�m�e�n�t�s�.�f�o�r�m�u�r�l�.�v�a�l�u�e�|�|�(�u�.�f�o�r�m�u�r�l�=�d�o�c�u�m�e�n�t�.�U�R�L�)�;�v�a�r� �y�=�n�e�w� �D�a�t�e�,�h�=�"�Y�o�u�r� �d�r�a�f�t� �f�o�r�m� �w�a�s� �s�u�c�c�e�s�s�f�u�l�l�y� �s�a�v�e�d�.�"�,�l�=�"�3�0�"�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�c�m�D�r�a�f�t�L�i�f�e�S�p�a�n�"�)�&�&�(�l�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�"�c�m�D�r�a�f�t�L�i�f�e�S�p�a�n�"�)�.�v�a�l�u�e�)�;�h�+�=�g�e�t�C�o�o�k�i�e�(�"�c�m�3�s�e�s�s�i�o�n�c�m�3�s�i�d�f�r�o�n�t�e�n�d�"�)�.�s�u�b�s�t�r�(�0�,�3�)�=�=�"�p�i�u�"�?�"�\�n�\�n�W�e�'�v�e� �s�e�n�t� �y�o�u� �a�n� �e�m�a�i�l� �w�i�t�h� �a� �l�i�n�k� �t�o� �t�h�e� �d�r�a�f�t� �f�o�r�m�.�"�:�"�\�n�\�n�T�o� �r�e�t�r�i�e�v�e� �y�o�u�r� �d�r�a�f�t�,� �s�i�m�p�l�y� �l�o�g� �i�n� �t�o� �t�h�e� �s�i�t�e� �o�n� �y�o�u�r� �n�e�x�t� �v�i�s�i�t� �a�n�d� �a�c�c�e�s�s� �t�h�i�s� �f�o�r�m�.� �T�h�e� �d�a�t�a� �w�i�l�l� �b�e� �l�o�a�d�e�d� �a�u�t�o�m�a�t�i�c�a�l�l�y�.�"�;�h�+�=�"�\�n�\�n�Y�o�u�r� �s�a�v�e�d� �d�r�a�f�t� �w�i�l�l� �e�x�p�i�r�e� �i�n� �"�+�l�+�"� �d�a�y�s�.�"�;�v�a�r� �o�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�T�a�g�N�a�m�e�(�"�i�n�p�u�t�"�)�,�a�=�0�,�v�=�!�1�;�i�f�(�o�&�&�o�.�l�e�n�g�t�h�>�0�)�f�o�r�(�s�=�0�;�s�<�o�.�l�e�n�g�t�h�;�s�+�+�)�o�[�s�]�.�t�y�p�e�=�=�"�f�i�l�e�"�&�&�(�o�[�s�]�.�f�i�l�e�s�&�&�(�v�=�!�0�)�,�a�+�=�G�e�t�F�i�l�e�S�i�z�e�I�n�K�B�y�t�e�s�(�o�[�s�]�)�)�;�r�e�t�u�r�n� �a�>�0�&�&�(�h�+�=�"�\�n�\�n�-�-�=�=�|� � �I�M�P�O�R�T�A�N�T� �N�O�T�E� �A�B�O�U�T� �I�M�A�G�E�S� �A�N�D� �F�I�L�E�S� � �|�=�=�-�-�\�n�\�n�I�t� �a�p�p�e�a�r�s� �y�o�u� �h�a�v�e� �u�p�l�o�a�d�e�d� �f�i�l�e�s� �t�o� �t�h�e� �f�o�r�m�.� �F�i�l�e� �u�p�l�o�a�d�s� �a�r�e� �N�O�T� �S�A�V�E�D� �w�i�t�h� �a� �d�r�a�f�t� �f�o�r�m�.� �Y�o�u� �w�i�l�l� �n�e�e�d� �t�o� �s�e�l�e�c�t� �y�o�u�r� �f�i�l�e�s� �a�g�a�i�n� �w�h�e�n� �y�o�u� �r�e�t�u�r�n� �t�o� �t�h�e� �d�r�
52a�f�t� �f�o�r�m�,� �b�e�f�o�r�e� �t�h�e� �f�i�n�a�l� �f�o�r�m� �s�u�b�m�i�s�s�i�o�n�.�"�)�,�c�=�"�"�,�t�&�&�(�c�=�t�.�v�a�l�u�e�,�t�.�v�a�l�u�e�=�"�S�a�v�i�n�g� �.�.�.�"�)�,�$�.�a�j�a�x�(�{�t�y�p�e�:�"�P�O�S�T�"�,�d�a�t�a�T�y�p�e�:�"�j�s�o�n�"�,�u�r�l�:�"�/�A�c�o�r�a�C�M�S�/�J�a�v�a�s�c�r�i�p�t�/�C�M�S�/�A�j�a�x�/�c�o�m�m�a�n�d�.�a�s�p�x�"�,�d�a�t�a�:�u�,�s�u�c�c�e�s�s�:�f�u�n�c�t�i�o�n�(�n�)�{�i�f�(�r�&�&�e�)�{�e�.�c�l�a�s�s�N�a�m�e�=�e�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �h�i�d�d�e�n�/�g�,�"�"�)�;�v�a�r� �i�=�n�e�w� �D�a�t�e�;�f�=�n�.�S�u�c�c�e�s�s�?�h�:�n�.�M�e�s�s�a�g�e�;�e�.�i�n�n�e�r�H�T�M�L�=�f�;�a�l�e�r�t�(�f�.�r�e�p�l�a�c�e�(�/�<�(�?�:�.�|�\�n�)�*�?�>�/�g�m�,�"�"�)�)�}�t�&�&�(�t�.�v�a�l�u�e�=�c�)�}�,�e�r�r�o�r�:�f�u�n�c�t�i�o�n�(�n�)�{�i�f�(�e�.�c�l�a�s�s�N�a�m�e�=�e�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�/� �h�i�d�d�e�n�/�g�,�"�"�)�,�r�&�&�e�)�{�v�a�r� �i�=�n�e�w� �D�a�t�e�;�f�=�n�.�S�u�c�c�e�s�s�?�h�:�n�.�M�e�s�s�a�g�e�?�n�.�M�e�s�s�a�g�e�:�"�E�r�r�o�r� �w�h�i�l�e� �s�a�v�i�n�g� �a� �d�r�a�f�t� �o�f� �t�h�e� �f�o�r�m� �s�u�b�m�i�s�s�i�o�n�.� �P�l�e�a�s�e� �t�r�y� �s�a�v�i�n�g� �t�h�e� �d�r�a�f�t� �a�g�a�i�n�.�"�;�e�.�i�n�n�e�r�H�T�M�L�=�f�;�a�l�e�r�t�(�f�.�r�e�p�l�a�c�e�(�/�<�(�?�:�.�|�\�n�)�*�?�>�/�g�m�,�"�"�)�)�}�t�&�&�(�t�.�v�a�l�u�e�=�c�)�}�}�)�,�!�1�}�r�e�t�u�r�n�!�0�}�f�u�n�c�t�i�o�n� �i�n�i�t�P�e�r�i�o�d�i�c�D�r�a�f�t�S�a�v�i�n�g�(�)�{�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�f�o�r�m�F�i�e�l�d�s�C�o�n�t�a�i�n�e�r�"�)�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�i�n�p�u�t�"�,�f�u�n�c�t�i�o�n�(�n�)�{�s�t�r�U�s�e�r�F�o�r�m�P�r�o�g�r�e�s�s�=�g�e�t�A�n�c�e�s�t�o�r�W�i�t�h�C�l�a�s�s�(�n�.�t�a�r�g�e�t�,�"�f�i�e�l�d�C�o�n�t�a�i�n�e�r�"�)�.�i�d�.�s�u�b�s�t�r�(�2�2�)�;�b�l�n�F�o�r�m�H�a�s�C�h�a�n�g�e�d�=�!�0�;�f�o�r�m�I�s�I�n�P�r�o�g�r�e�s�s�=�!�0�;�l�a�s�t�C�h�a�n�g�e�T�i�m�e�=�(�n�e�w� �D�a�t�e�)�.�g�e�t�T�i�m�e�(�)�}�)�;�w�i�n�d�o�w�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�b�e�f�o�r�e�u�n�l�o�a�d�"�,�f�u�n�c�t�i�o�n�(�)�{�a�s�y�n�c�S�a�v�e�D�r�a�f�t�(�)�}�)�;�f�o�r�m�C�o�n�t�a�i�n�e�r�T�e�x�t�I�d�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�f�o�r�m�P�a�g�e�"�)�.�i�d�.�s�u�b�s�t�r�(�9�)�;�s�e�t�T�i�m�e�o�u�t�(�p�e�r�i�o�d�i�c�S�a�v�e�D�r�a�f�t�,�d�r�a�f�t�S�a�v�e�I�n�t�e�r�v�a�l�)�}�f�u�n�c�t�i�o�n� �g�e�t�T�i�m�e�S�i�n�c�e�L�a�s�t�C�h�a�n�g�e�(�)�{�r�e�t�u�r�n�(�n�e�w� �D�a�t�e�)�.�g�e�t�T�i�m�e�(�)�-�l�a�s�t�C�h�a�n�g�e�T�i�m�e�}�f�u�n�c�t�i�o�n� �i�s�T�i�m�e�T�o�S�a�v�e�D�r�a�f�t�(�)�{�r�e�t�u�r�n� �d�r�a�f�t�S�a�v�e�I�n�t�e�r�v�a�l�<�g�e�t�T�i�m�e�S�i�n�c�e�L�a�s�t�C�h�a�n�g�e�(�)�}�f�u�n�c�t�i�o�n� �p�e�r�i�o�d�i�c�S�a�v�e�D�r�a�f�t�(�)�{�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�.�i�n�d�e�x�O�f�(�"�a�u�t�o�S�a�v�e�D�r�a�f�t�"�)�>�-�1�&�&�(�b�l�n�F�o�r�m�H�a�s�C�h�a�n�g�e�d�&�&�i�s�T�i�m�e�T�o�S�a�v�e�D�r�a�f�t�(�)�&�&�(�a�s�y�n�c�S�a�v�e�D�r�a�f�t�(�)�,�b�l�n�F�o�r�m�H�a�s�C�h�a�n�g�e�d�=�!�1�)�,�s�e�t�T�i�m�e�o�u�t�(�p�e�r�i�o�d�i�c�S�a�v�e�D�r�a�f�t�,�1�e�3�)�)�}�f�u�n�c�t�i�o�n� �s�a�v�e�P�r�o�g�r�e�s�s�I�n�U�s�e�r�C�o�o�k�i�e�(�)�{�r�e�t�u�r�n�!�1�}�f�u�n�c�t�i�o�n� �a�s�y�n�c�S�a�v�e�D�r�a�f�t�(�)�{�i�f�(�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�.�i�n�d�e�x�O�f�(�"�a�u�t�o�S�a�v�e�D�r�a�f�t�"�)�>�-�1�)�{�i�f�(�!�f�o�r�m�I�s�I�n�P�r�o�g�r�e�s�s�)�r�e�t�u�r�n�;�s�t�r�U�s�e�r�F�o�r�m�P�r�o�g�r�e�s�s�&�&�S�a�v�e�F�o�r�m�D�r�a�f�t�(�f�o�r�m�C�o�n�t�a�i�n�e�r�T�e�x�t�I�d�,�t�h�i�s�,�s�t�r�U�s�e�r�F�o�r�m�P�r�o�g�r�e�s�s�,�!�1�)�}�}�f�u�n�c�t�i�o�n� �g�e�t�A�n�c�e�s�t�o�r�W�i�t�h�C�l�a�s�s�(�n�,�t�)�{�r�e�t�u�r�n� �n�=�=�n�u�l�l�?�n�u�l�l�:�n�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�t�)�?�n�:�g�e�t�A�n�c�e�s�t�o�r�W�i�t�h�C�l�a�s�s�(�n�.�p�a�r�e�n�t�E�l�e�m�e�n�t�,�t�)�}�f�u�n�c�t�i�o�n� �h�i�d�e�R�e�s�t�O�f�C�o�n�t�e�n�t�(�)�{�v�a�r� �n�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�#�P�a�g�e�B�o�d�y�"�)�;�h�i�d�e�I�r�r�e�l�e�v�a�n�t�C�o�n�t�e�n�t�(�n�)�;�n�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�h�t�m�l�E�d�i�t�o�r�"�)�;�n�!�=�n�u�l�l�&�&�(�h�i�d�e�I�r�r�e�l�e�v�a�n�t�C�o�n�t�e�n�t�(�n�)�,�n�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�m�c�e�N�o�n�E�d�i�t�a�b�l�e�"�)�,�n�!�=�n�u�l�l�&�&�h�i�d�e�I�r�r�e�l�e�v�a�n�t�C�o�n�t�e�n�t�(�n�)�)�}�f�u�n�c�t�i�o�n� �h�i�d�e�I�r�r�e�l�e�v�a�n�t�C�o�n�t�e�n�t�(�n�)�{�f�o�r�(�v�a�r� �r�=�n�.�c�h�i�l�d�r�e�n�,�t�,�i�=�0�;�i�<�r�.�l�e�n�g�t�h�;�i�+�+�)�t�=�r�[�i�]�,�t�.�t�y�p�e�=�=�"�s�c�r�i�p�t�"�|�|�t�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�p�a�g�e�s�F�o�r�m�"�)�|�|�t�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�f�o�r�m�s�M�a�n�a�g�e�r�"�)�|�|�t�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�h�t�m�l�E�d�i�t�o�r�"�)�|�|�t�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�m�c�e�N�o�n�E�d�i�t�a�b�l�e�"�)�|�|�t�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�}�f�u�n�c�t�i�o�n� �g�e�t�S�e�c�t�i�o�n�O�f�Q�u�e�s�t�i�o�n�I�d�(�n�)�{�f�o�r�(�v�a�r� �i�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�)�,�r�=�"�#�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�n�,�t�=�0�;�t�<�i�.�l�e�n�g�t�h�;�t�+�+�)�i�f�(�i�[�t�]�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�r�)�)�r�e�t�u�r�n� �t�;�r�e�t�u�r�n� �n�u�l�l�}�f�u�n�c�t�i�o�n� �j�u�m�p�T�o�Q�u�e�s�t�i�o�n�I�d�(�n�)�{�v�a�r� �t�=�g�e�t�S�e�c�t�i�o�n�O�f�Q�u�e�s�t�i�o�n�I�d�(�n�)�;�t�?�o�p�e�n�S�e�c�t�i�o�n�(�t�)�:�o�p�e�n�S�e�c�t�i�o�n�(�0�)�}�f�u�n�c�t�i�o�n� �s�t�a�r�t�P�a�g�e�s�F�o�r�m�(�)�{�s�t�a�r�t�B�u�t�t�o�n�&�&�s�t�a�r�t�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�;�r�e�s�u�m�e�B�u�t�t�o�n�&�&�r�e�s�u�m�e�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�;�d�r�a�f�t�L�o�a�d�e�d�&�&�d�r�a�f�t�I�n�d�i�c�a�t�o�r�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�;
52�f�o�r�m�I�s�I�n�P�r�o�g�r�e�s�s�=�!�0�;�d�r�a�f�t�L�o�a�d�e�d�&�&�u�s�e�r�P�r�o�g�r�e�s�s�Q�u�e�s�t�i�o�n�I�d�?�(�j�u�m�p�T�o�Q�u�e�s�t�i�o�n�I�d�(�u�s�e�r�P�r�o�g�r�e�s�s�Q�u�e�s�t�i�o�n�I�d�)�,�o�J�u�m�p�T�o�Q�u�e�s�t�i�o�n�E�l�e�m�e�n�t�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�#�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�u�s�e�r�P�r�o�g�r�e�s�s�Q�u�e�s�t�i�o�n�I�d�)�,�o�J�u�m�p�T�o�Q�u�e�s�t�i�o�n�E�l�e�m�e�n�t�&�&�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�#�F�o�r�m�Q�u�e�s�t�i�o�n�C�o�n�t�a�i�n�e�r�_�"�+�u�s�e�r�P�r�o�g�r�e�s�s�Q�u�e�s�t�i�o�n�I�d�)�.�s�c�r�o�l�l�I�n�t�o�V�i�e�w�(�)�)�:�o�p�e�n�S�e�c�t�i�o�n�(�0�)�;�v�a�r� �n�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�p�a�g�e�s�F�o�r�m�"�)�;�n�&�&�S�c�r�o�l�l�T�o�(�n�)�}�f�u�n�c�t�i�o�n� �p�r�e�v�S�e�c�t�i�o�n�(�)�{�o�p�e�n�S�e�c�t�i�o�n�(�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�-�1�,�1�)�}�f�u�n�c�t�i�o�n� �n�e�x�t�S�e�c�t�i�o�n�(�)�{�v�a�r� �n�=�c�u�r�r�e�n�t�S�e�c�t�i�o�n�V�a�l�i�d�(�)�;�n�&�&�o�p�e�n�S�e�c�t�i�o�n�(�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�+�1�,�0�)�}�f�u�n�c�t�i�o�n� �c�u�r�r�e�n�t�S�e�c�t�i�o�n�V�a�l�i�d�(�)�{�v�a�r� �n�=�s�e�c�t�i�o�n�s�[�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�]�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�'�i�n�p�u�t�[�n�a�m�e�=�"�c�m�F�i�e�l�d�s�"�]�'�)�,�t�=�V�a�l�i�d�a�t�e�C�m�s�F�o�r�m�(�"�"�,�n�,�!�0�,�!�1�)�;�r�e�t�u�r�n� �c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�.�i�n�d�e�x�O�f�(�"�v�a�l�i�d�a�t�e�M�u�l�t�i�S�t�e�p�S�e�c�t�i�o�n�"�)�>�-�1�&�&�(�t�=�V�a�l�i�d�a�t�e�C�m�s�F�o�r�m�(�"�"�,�n�,�!�0�,�!�1�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�c�u�r�r�e�n�t�S�e�c�t�i�o�n�V�a�l�i�d�:� �c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�=�"�+�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�+�"� �e�l�=�"�+�n�+�"� �b�l�n�V�a�l�i�d�a�t�e�F�o�r�m�=�"�+�t�)�)�,�t�}�f�u�n�c�t�i�o�n� �o�p�e�n�S�e�c�t�i�o�n�(�n�,�t�)�{�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�o�p�e�n�S�e�c�t�i�o�n�:� �i�n�d�e�x�=�"�+�n�+�"� �g�o�i�n�g�B�a�c�k�=�"�+�t�)�,�s�e�c�t�i�o�n�s�[�n�]�&�&�s�e�c�t�i�o�n�s�[�n�]�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�h�i�d�d�e�n�"�)�)�r�e�t�u�r�n� �t�?�o�p�e�n�S�e�c�t�i�o�n�(�n�-�1�,�1�)�:�o�p�e�n�S�e�c�t�i�o�n�(�n�+�1�,�0�)�;�i�f�(�h�i�d�e�S�e�c�t�i�o�n�(�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�)�,�s�e�c�t�i�o�n�s�[�n�]�&�&�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�.�i�n�d�e�x�O�f�(�"�d�i�s�a�b�l�e�M�u�l�t�i�S�t�e�p�N�e�x�t�B�u�t�t�o�n�s�"�)�>�-�1�)�{�v�a�r� �i�=�s�e�c�t�i�o�n�s�[�n�]�.�f�i�r�s�t�C�h�i�l�d�,�r�=�V�a�l�i�d�a�t�e�C�m�s�F�o�r�m�(�"�"�,�i�,�!�0�,�!�0�)�;�r�&�&�r�.�i�n�d�e�x�O�f�(�"�r�e�q�u�i�r�e�d�"�)�!�=�-�1�?�E�n�a�b�l�e�D�i�s�a�b�l�e�N�e�x�t�B�u�t�t�o�n�(�i�,�1�)�:�E�n�a�b�l�e�D�i�s�a�b�l�e�N�e�x�t�B�u�t�t�o�n�(�i�,�0�)�;�s�e�c�t�i�o�n�s�[�n�]�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�i�n�p�u�t�"�,�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�=�n�.�t�a�r�g�e�t�,�i�=�V�a�l�i�d�a�t�e�C�m�s�F�o�r�m�(�"�"�,�t�,�!�0�,�!�0�)�;�i�&�&�i�.�i�n�d�e�x�O�f�(�"�r�e�q�u�i�r�e�d�"�)�!�=�-�1�?�E�n�a�b�l�e�D�i�s�a�b�l�e�N�e�x�t�B�u�t�t�o�n�(�t�,�1�)�:�E�n�a�b�l�e�D�i�s�a�b�l�e�N�e�x�t�B�u�t�t�o�n�(�t�,�0�)�}�)�}�s�h�o�w�S�e�c�t�i�o�n�(�n�)�;�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�=�n�;�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�=�=�0�?�b�a�c�k�B�u�t�t�o�n�&�&�b�a�c�k�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�:�b�a�c�k�B�u�t�t�o�n�&�&�b�a�c�k�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�h�i�d�e�"�)�;�c�h�e�c�k�I�f�C�a�n�P�r�o�c�e�e�d�(�)�}�f�u�n�c�t�i�o�n� �E�n�a�b�l�e�D�i�s�a�b�l�e�N�e�x�t�B�u�t�t�o�n�(�n�,�t�)�{�v�a�r� �r�=�F�i�n�d�P�a�r�e�n�t�B�y�C�l�a�s�s�N�a�m�e�(�n�,�"�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�)�,�i�;�r�&�&�(�i�=�r�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�b�u�t�t�o�n�.�b�u�t�t�o�n�-�n�e�x�t�"�)�,�c�o�n�s�o�l�e�.�l�o�g�(�"�c�u�r�r�e�n�t�S�e�c�t�i�o�n�.�i�d�=�"�+�r�.�i�d�+�"� �n�e�x�t�B�u�t�t�o�n�=�"�+�i�+�"� �d�i�s�a�b�l�e�=�"�+�t�)�,�i�&�&�(�t�?�(�i�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�d�i�s�a�b�l�e�d�"�)�,�i�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�d�i�s�a�b�l�e�d�"�,�"�t�r�u�e�"�)�)�:�(�i�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�d�i�s�a�b�l�e�d�"�)�,�i�.�r�e�m�o�v�e�A�t�t�r�i�b�u�t�e�(�"�d�i�s�a�b�l�e�d�"�)�)�)�)�}�f�u�n�c�t�i�o�n� �h�i�d�e�S�e�c�t�i�o�n�(�n�)�{�s�e�c�t�i�o�n�s�[�n�]�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�}�f�u�n�c�t�i�o�n� �s�h�o�w�S�e�c�t�i�o�n�(�n�)�{�s�e�c�t�i�o�n�s�[�n�]�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�h�i�d�e�"�)�;�s�e�c�t�i�o�n�s�[�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�]�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�'�i�n�p�u�t�[�n�a�m�e�=�"�c�m�F�i�e�l�d�s�"�]�'�)�}
52�f�u�n�c�t�i�o�n� �c�h�e�c�k�I�f�C�a�n�P�r�o�c�e�e�d�(�)�{�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�=�=�s�e�c�t�i�o�n�s�.�l�e�n�g�t�h�-�1�?�(�n�e�x�t�B�u�t�t�o�n�&�&�n�e�x�t�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�,�s�u�b�m�i�t�B�u�t�t�o�n�&�&�s�u�b�m�i�t�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�h�i�d�e�"�)�)�:�(�n�e�x�t�B�u�t�t�o�n�&�&�n�e�x�t�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�h�i�d�e�"�)�,�s�u�b�m�i�t�B�u�t�t�o�n�&�&�s�u�b�m�i�t�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�)�;�c�o�n�s�o�l�e�.�l�o�g�(�"�c�h�e�c�k�I�f�C�a�n�P�r�o�c�e�e�d�:� �c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�=�"�+�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�+�"� �s�e�c�t�i�o�n�s�.�l�e�n�g�t�h�=�"�+�s�e�c�t�i�o�n�s�.�l�e�n�g�t�h�)�}�f�u�n�c�t�i�o�n� �s�e�c�t�i�o�n�I�s�F�i�l�l�e�d�(�n�)�{�f�o�r�(�v�a�r� �r�=�g�e�t�Q�u�e�s�t�i�o�n�s�F�o�r�S�e�c�t�i�o�n�(�n�)�,�t�,�i�=�0�;�i�<�r�.�l�e�n�g�t�h�;�i�+�+�)�i�f�(�t�=�r�[�i�]�,�q�u�e�s�t�i�o�n�I�s�R�e�q�u�i�r�e�d�(�t�)�&�&�!�q�u�e�s�t�i�o�n�I�s�F�i�l�l�e�d�(�t�)�)�r�e�t�u�r�n�!�1�;�r�e�t�u�r�n�!�0�}�f�u�n�c�t�i�o�n� �g�e�t�Q�u�e�s�t�i�o�n�s�F�o�r�S�e�c�t�i�o�n�(�n�)�{�r�e�t�u�r�n� �s�e�c�t�i�o�n�s�[�n�]�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�l�i�.�f�i�e�l�d�C�o�n�t�a�i�n�e�r�"�)�}�f�u�n�c�t�i�o�n� �q�u�e�s�t�i�o�n�I�s�R�e�q�u�i�r�e�d�(�n�)�{�r�e�t�u�r�n� �n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�r�e�q�u�i�r�e�d�F�i�e�l�d�M�a�r�k�e�r�"�)�!�=�n�u�l�l�}�f�u�n�c�t�i�o�n� �q�u�e�s�t�i�o�n�I�s�F�i�l�l�e�d�(�n�)�{�v�a�r� �i�,�r�,�u�,�t�;�i�f�(�n�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�t�e�x�t�a�r�e�a�F�i�e�l�d�"�)�)�r�e�t�u�r�n� �i�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�t�e�x�t�a�r�e�a�"�)�.�v�a�l�u�e�,�i�&�&�i�.�l�e�n�g�t�h�>�0�;�i�f�(�n�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�c�h�e�c�k�b�o�x�F�i�e�l�d�"�)�)�{�f�o�r�(�r�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�t�y�p�e�=�c�h�e�c�k�b�o�x�]�"�)�,�t�=�0�;�t�<�r�.�l�e�n�g�t�h�;�t�+�+�)�i�f�(�r�[�t�]�.�c�h�e�c�k�e�d�)�r�e�t�u�r�n�!�0�;�r�e�t�u�r�n�!�1�}�i�f�(�n�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�r�a�d�i�o�F�i�e�l�d�"�)�)�{�f�o�r�(�u�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�[�t�y�p�e�=�r�a�d�i�o�]�"�)�,�t�=�0�;�t�<�u�.�l�e�n�g�t�h�;�t�+�+�)�i�f�(�u�[�t�]�.�c�h�e�c�k�e�d�)�r�e�t�u�r�n�!�0�;�r�e�t�u�r�n�!�1�}�r�e�t�u�r�n� �n�.�c�l�a�s�s�L�i�s�t�.�c�o�n�t�a�i�n�s�(�"�r�a�n�k�i�n�g�F�i�e�l�d�"�)�,�!�0�}�f�u�n�c�t�i�o�n� �d�e�f�i�n�e�S�e�c�t�i�o�n�(�n�)�{�v�a�r� �t�=�s�e�c�t�i�o�n�s�[�n�]�,�u�=�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�f�i�e�l�d�C�o�n�t�a�i�n�e�r�"�)�,�e�=�"�(�"�+�(�n�+�1�)�+�"�/�"�+�s�e�c�t�i�o�n�s�.�l�e�n�g�t�h�+�"�)�"�,�i�,�r�,�f�;�f�o�r�(�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�l�e�g�e�n�d�.�s�e�c�t�i�o�n�L�e�g�e�n�d�"�)�.�i�n�n�e�r�H�T�M�L�=�e�+�"� �"�+�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�l�e�g�e�n�d�.�s�e�c�t�i�o�n�L�e�g�e�n�d�"�)�.�i�n�n�e�r�H�T�M�L�,�i�=�0�;�i�<�u�.�l�e�n�g�t�h�;�i�+�+�)�r�=�u�[�i�]�,�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�b�u�t�t�o�n�"�)�&�&�(�f�=�r�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�b�u�t�t�o�n�"�)�,�s�u�b�m�i�t�B�u�t�t�o�n�.�o�n�c�l�i�c�k�=�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �n�=�c�u�r�r�e�n�t�S�e�c�t�i�o�n�V�a�l�i�d�(�)�;�n�&�&�(�f�o�r�m�I�s�I�n�P�r�o�g�r�e�s�s�=�!�1�,�f�.�c�l�i�c�k�(�)�)�}�)�;�t�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�}�f�u�n�c�t�i�o�n� �s�a�v�e�D�r�a�f�t�(�)�{�}�f�u�n�c�t�i�o�n� �i�n�i�t�S�e�c�t�i�o�n�s�(�n�)�{�s�e�c�t�i�o�n�s�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�f�o�r�m�F�i�e�l�d�s� �.�s�e�c�t�i�o�n�C�o�n�t�a�i�n�e�r�"�)�;�f�o�r�(�v�a�r� �t�=�0�;�t�<�s�e�c�t�i�o�n�s�.�l�e�n�g�t�h�;�t�+�+�)�d�e�f�i�n�e�S�e�c�t�i�o�n�(�t�)�}�f�u�n�c�t�i�o�n� �s�e�t�P�r�o�g�r�e�s�s�M�e�s�s�a�g�e�(�n�)�{�v�a�r� �t�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�p�a�g�e�s�F�o�r�m�"�)�;�t�.�i�n�s�e�r�t�A�d�j�a�c�e�n�t�H�T�M�L�(�"�b�e�f�o�r�e�b�e�g�i�n�"�,�n�)�}�f�u�n�c�t�i�o�n� �g�e�n�e�r�a�t�e�N�a�v�B�u�t�t�o�n�s�(�n�)�{�v�a�r� �t�=�'�<�d�i�v� �c�l�a�s�s�=�"�p�a�g�e�s�N�a�v�"�>�'�,�i�,�r�;�t�+�=�d�r�a�f�t�L�o�a�d�e�d�?�'�<�a� �c�l�a�s�s�=�"�b�u�t�t�o�n� �b�u�t�t�o�n�-�r�e�s�u�m�e�"� �h�r�e�f�=�"�#�"� �o�n�c�l�i�c�k�=�"�s�t�a�r�t�P�a�g�e�s�F�o�r�m�(�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"�>�R�e�s�u�m�e�<�\�/�a�>�'�:�'�<�a� �c�l�a�s�s�=�"�b�u�t�t�o�n� �b�u�t�t�o�n�-�s�t�a�r�t�"� �h�r�e�f�=�"�#�"� �o�n�c�l�i�c�k�=�"�s�t�a�r�t�P�a�g�e�s�F�o�r�m�(�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"�>�S�t�a�r�t�<�\�/�a�>�'�;�i�=�"�"�;�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�.�i�n�d�e�x�O�f�(�"�d�i�s�p�l�a�y�M�u�l�t�i�S�t�e�p�B�a�c�k�B�u�t�t�o�n�s�"�)�>�-�1�&�&�(�i�=�'�<�b�u�t�t�o�n� �c�l�a�s�s�=�"�b�u�t�t�o�n� �b�u�t�t�o�n�-�b�a�c�k�"� �o�n�c�l�i�c�k�=�"�p�r�e�v�S�e�c�t�i�o�n�(�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"�>�B�a�c�k�<�\�/�b�u�t�t�o�n�>�'�)�;�r�=�"�"�;�r�=�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�.�i�n�d�e�x�O�f�(�"�d�i�s�a�b�l�e�M�u�l�t�i�S�t�e�p�N�e�x�t�B�u�t�t�o�n�s�"�)�>�-�1�?�'�<�b�u�t�t�o�n� �c�l�a�s�s�=�"�b�u�t�t�o�n� �b�u�t�t�o�n�-�n�e�x�t� �d�i�s�a�b�l�e�d�"� �d�i�s�a�b�l�e�d� �o�n�c�l�i�c�k�=�"�n�e�x�t�S�e�c�t�i�o�n�(�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"�>�N�e�x�t�<�\�/�b�u�t�t�o�n�>�'�:�'�<�b�u�t�t�o�n� �c�l�a�s�s�=�"�b�u�t�t�o�n� �b�u�t�t�o�n�-�n�e�x�t�"� �o�n�c�l�i�c�k�=�"�n�e�x�t�S�e�c�t�i�o�n�(�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"�>�N�e�x�t�<�\�/�b�u�t�t�o�n�>�'�;�t�+�=�i�+�r�+�"�<�\�/�d�i�v�>�"�;�c�o�n�s�o�l�e�.�l�o�g�(�"�g�e�n�e�r�a�t�e�N�a�v�B�u�t�t�o�n�s�:� �c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�=�"�+�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�)�;�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�f�o�r�m�F�i�e�l�d�s�"�)�.�i�n�s�e�r�t�A�d�j�a�c�e�n�t�H�T�M�L�(�"�b�e�f�o�r�e�e�n�d�"�,�t�)�;�v�a�r� �u�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�b�u�t�t�o�n�-�s�t�a�r�t�"�)�,�f�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�b�u�t�t�o�n�-�r�e�s�u�m�e�"�)�,�e�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�b�u�t�t�o�n�-�b�a�c�k�"�)�,�o�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�b�u�t�t�o�n�-�n�e�x�t�"�)�,�s�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�b�u�t�t�o�n�-�s�u�b�m�i�t�-�f�o�r�m�"�)�;�s�t�a�r�t�B�u�t�t�o�n�=�u�[�u�.�l�e�n�g�t�h�-�1�]�;�r�e�s�u�m�e�B�u�t�t�o�n�=�f�[�f�.�l�e�n�g�t�h�-�1�]�;�b�a�c�k�B�u�t�t�o�n�=�e�[�e�.�l�e�n�g�t�h�-�1�]�;�n�e�x�t�B�u�t�t�o�n�=�o�[�o�.�l�e�n�g�t�h�-�1�]�;�s�u�b�m�i�t�B�u�t�t�o�n�=�s�[�s�.�l�e�n�g�t�h�-�1�]�;�n�e�x�t�B�u�t�t�o�n�&�&�n�e�x�t�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�;�b�a�c�k�B�u�t�t�o�n�&�&�b�a�c�k�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�;�s�u�b�m�i�t�B�u�t�t�o�n�&�&�s�u�b�m�i�t�B�u�t�t�o�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�h�i�d�e�"�)�}�f�u�n�c�t�i�o�n� �c�r�e�a�t�e�P�a�g�e�s�F�o�r�m�(�n�)�{�(�d�r�a�f�t�I�n�d�i�c�a�t�o�r�=�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�f�o�r�m�D�r�a�f�t�M�e�s�s�a�g�e�"�)�,�d�r�a�f�t�L�o�a�d�e�d�=�d�r�a�f�t�I�n�d�i�c�a�t�o�r�!�=�n�u�l�l�&�&�d�r�a�f�t�I�n�d�i�c�a�t�o�r�.�i�n�n�e�r�T�e�x�t�.�l�e�n�g�t�h�!�=�0�,�d�r�a�f�t�L�o�a�d�e�d�&�&�(�p�r�o�g�r�e�s�s�C�o�o�k�i�e�N�a�m�e�=�n�.�i�d�.�s�u�b�s�t�r�(�9�)�+�"�_�p�r�o�g�r�e�s�s�"�,�u�s�e�r�P�r�o�g�r�e�s�s�Q�u�e�s�t�i�o�n�I�d�=�G�e�t�U�s�e�r�C�o�o�k�i�e�(�p�r�o�g�r�e�s�s�C�o�o�k�i�e�N�a�m�e�)�)�,�n�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�f�o�r�m�R�e�s�p�o�n�s�e�M�e�s�s�a�g�e�"�)�)�|�|�(�g�e�n�e�r�a�t�e�N�a�v�B�u�t�t�o�n�s�(�n�)�,�i�n�i�t�S�e�c�t�i�o�n�s�(�n�)�,�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�.�i�n�d�e�x�O�f�(�"�a�u�t�o�S�a�v�e�D�r�a�f�t�"�)�>�-�1�&�&�i�n�i�t�P�e�r�i�o�d�i�c�D�r�a�f�t�S�a�v�i�n�g�(�)�)�}�f�u�n�c�t�i�o�n� �r�a�n�k�i�n�g�U�p�C�l�i�c�k�e�d�(�n�,�t�)�{�r�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�s�[�n�]�.�a�n�s�w�e�r�U�p�C�l�i�c�k�e�d�(�t�)�}
52�f�u�n�c�t�i�o�n� �r�a�n�k�i�n�g�D�o�w�n�C�l�i�c�k�e�d�(�n�,�t�)�{�r�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�s�[�n�]�.�a�n�s�w�e�r�D�o�w�n�C�l�i�c�k�e�d�(�t�)�}�f�u�n�c�t�i�o�n� �c�o�n�v�e�r�t�M�a�t�r�i�x�Q�s�T�o�R�a�n�k�i�n�g�Q�s�(�)�{�f�o�r�(�v�a�r� �r�,�t�,�i�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�f�o�r�m�P�a�g�e� �.�f�i�e�l�d�C�o�n�t�a�i�n�e�r�.�r�a�n�k�i�n�g�F�i�e�l�d�"�)�,�n�=�0�;�n�<�i�.�l�e�n�g�t�h�;�n�+�+�)�r�=�i�[�n�]�,�t�=�n�e�w� �R�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�(�n�,�r�)�,�t�.�i�n�i�t�(�)�,�r�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�s�[�n�]�=�t�}�f�u�n�c�t�i�o�n� �D�i�s�p�l�a�y�F�i�l�e�F�i�e�l�d�T�h�u�m�b�n�a�i�l�(�n�,�t�)�{�v�a�r� �r�,�i�,�u�;�o�F�i�l�e�U�p�l�o�a�d�F�i�e�l�d�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�#�"�+�n�+�"� �i�n�p�u�t�[�t�y�p�e�=�f�i�l�e�]�"�)�;�o�F�i�l�e�U�p�l�o�a�d�F�i�e�l�d�&�&�(�r�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�d�i�v�"�)�,�r�.�c�l�a�s�s�N�a�m�e�=�"�t�h�u�m�b�n�a�i�l�"�,�r�.�t�i�t�l�e�=�"�I�m�a�g�e� �F�i�e�l�d� �T�h�u�m�b�n�a�i�l� �/� �P�r�e�v�i�e�w�"�,�t�&�&�(�r�.�s�t�y�l�e�.�b�a�c�k�g�r�o�u�n�d�I�m�a�g�e�=�"�u�r�l�(�'�"�+�t�+�"�'�)�"�,�r�.�s�t�y�l�e�.�b�a�c�k�g�r�o�u�n�d�S�i�z�e�=�"�c�o�v�e�r�"�)�,�o�F�i�l�e�U�p�l�o�a�d�F�i�e�l�d�.�p�a�r�e�n�t�N�o�d�e�.�a�p�p�e�n�d�C�h�i�l�d�(�r�)�,�i�=�d�o�c�u�m�e�n�t�.�c�r�e�a�t�e�E�l�e�m�e�n�t�(�"�c�a�n�v�a�s�"�)�,�i�.�i�d�=�n�+�"�_�T�h�u�m�b�n�a�i�l�"�,�i�.�c�l�a�s�s�N�a�m�e�=�"�e�m�p�t�y�"�,�r�.�a�p�p�e�n�d�C�h�i�l�d�(�i�)�,�u�=�i�.�g�e�t�C�o�n�t�e�x�t�(�"�2�d�"�)�,�o�F�i�l�e�U�p�l�o�a�d�F�i�e�l�d�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�h�a�n�g�e�"�,�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�=�n�e�w� �F�i�l�e�R�e�a�d�e�r�;�t�.�o�n�l�o�a�d�=�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�=�n�e�w� �I�m�a�g�e�;�t�.�o�n�l�o�a�d�=�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �e�=�t�.�w�i�d�t�h�,�o�=�t�.�h�e�i�g�h�t�,�s�=�t�.�w�i�d�t�h�=�=�t�.�h�e�i�g�h�t�?�"�s�q�u�a�r�e�"�:�t�.�w�i�d�t�h�>�t�.�h�e�i�g�h�t�?�"�w�i�d�e�"�:�t�.�w�i�d�t�h�<�t�.�h�e�i�g�h�t�?�"�t�a�l�l�"�:�"�s�q�u�a�r�e�"�;�v�a�r� �n�=�$�(�r�)�.�w�i�d�t�h�(�)�,�f�=�$�(�r�)�.�h�e�i�g�h�t�(�)�,�h�=�n�=�=�f�?�"�s�q�u�a�r�e�"�:�n�>�f�?�"�w�i�d�e�"�:�n�<�f�?�"�t�a�l�l�"�:�"�s�q�u�a�r�e�"�;�s�w�i�t�c�h�(�s�)�{�c�a�s�e�"�w�i�d�e�"�:�t�.�h�e�i�g�h�t�!�=�f�&�&�(�o�=�f�,�e�=�M�a�t�h�.�r�o�u�n�d�(�t�.�w�i�d�t�h�*�(�f�/�t�.�h�e�i�g�h�t�)�)�)�;�b�r�e�a�k�;�c�a�s�e�"�t�a�l�l�"�:�t�.�w�i�d�t�h�!�=�n�&�&�(�e�=�n�,�o�=�M�a�t�h�.�r�o�u�n�d�(�t�.�h�e�i�g�h�t�*�(�n�/�t�.�w�i�d�t�h�)�)�)�;�b�r�e�a�k�;�c�a�s�e�"�s�q�u�a�r�e�"�:�s�w�i�t�c�h�(�h�)�{�c�a�s�e�"�w�i�d�e�"�:�t�.�w�i�d�t�h�!�=�n�&�&�(�e�=�n�,�o�=�M�a�t�h�.�r�o�u�n�d�(�t�.�h�e�i�g�h�t�*�(�n�/�t�.�w�i�d�t�h�)�)�)�;�b�r�e�a�k�;�c�a�s�e�"�t�a�l�l�"�:�t�.�h�e�i�g�h�t�!�=�f�&�&�(�o�=�f�,�e�=�M�a�t�h�.�r�o�u�n�d�(�t�.�w�i�d�t�h�*�(�f�/�t�.�h�e�i�g�h�t�)�)�)�;�b�r�e�a�k�;�c�a�s�e�"�s�q�u�a�r�e�"�:�e�=�n�;�o�=�f�}�}�i�.�h�e�i�g�h�t�=�o�;�i�.�w�i�d�t�h�=�e�;�u�.�d�r�a�w�I�m�a�g�e�(�t�,�0�,�0�,�e�,�o�)�}�;�t�.�s�r�c�=�n�.�t�a�r�g�e�t�.�r�e�s�u�l�t�}�;�n�.�t�a�r�g�e�t�.�f�i�l�e�s�[�0�]�?�(�t�.�r�e�a�d�A�s�D�a�t�a�U�R�L�(�n�.�t�a�r�g�e�t�.�f�i�l�e�s�[�0�]�)�,�i�.�c�l�a�s�s�N�a�m�e�=�"�p�o�p�u�l�a�t�e�d�"�)�:�(�i�.�w�i�d�t�h�=�0�,�i�.�h�e�i�g�h�t�=�0�,�i�.�c�l�a�s�s�N�a�m�e�=�"�e�m�p�t�y�"�)�}�)�)�}�f�u�n�c�t�i�o�n� �G�e�t�C�o�n�t�a�i�n�e�d�I�m�a�g�e�S�i�z�e�(�)�{�}�f�u�n�c�t�i�o�n� �S�e�n�d�F�o�r�m�S�e�c�u�r�i�t�y�N�u�m�b�e�r�(�n�,�t�,�i�,�r�)�{�v�a�r� �e�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�t�)�,�u�,�f�,�s�,�o�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�n�d�F�o�r�m�S�e�c�u�r�i�t�y�N�u�m�b�e�r�:� �e�l�=�"�+�n�+�"� �e�E�m�a�i�l�F�i�e�l�d�=�"�+�e�)�,�n�)�i�f�(�e�.�v�a�l�u�e�)�{�i�f�(�u�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�f�o�r�m�R�e�s�p�o�n�s�e�M�e�s�s�a�g�e�"�)�,�u�&�&�u�.�l�e�n�g�t�h�>�0�)�f�o�r�(�f�=�0�;�f�<�u�.�l�e�n�g�t�h�;�f�+�+�)�u�[�f�]�.�i�n�n�e�r�H�T�M�L�=�"�"�;�s�=�"�c�=�s�e�n�d�f�o�r�m�s�e�c�u�r�i�t�y�n�u�m�b�e�r�&�e�m�a�i�l�=�"�+�e�n�c�o�d�e�U�R�I�C�o�m�p�o�n�e�n�t�(�e�.�v�a�l�u�e�)�;�o�=�n�.�v�a�l�u�e�;�n�.�v�a�l�u�e�=�"�S�e�n�d�i�n�g� �.�.�.�"�;�$�.�a�j�a�x�(�{�t�y�p�e�:�"�P�O�S�T�"�,�u�r�l�:�"�/�A�c�o�r�a�C�M�S�/�J�a�v�a�s�c�r�i�p�t�/�C�M�S�/�A�j�a�x�/�c�o�m�m�a�n�d�.�a�s�p�x�"�,�d�a�t�a�:�s�,�s�u�c�c�e�s�s�:�f�u�n�c�t�i�o�n�(�t�)�{�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�n�d�F�o�r�m�S�e�c�u�r�i�t�y�N�u�m�b�e�r�:� �s�u�c�c�e�s�s�:� �r�e�s�u�l�t�.�S�u�c�c�e�s�s�=�"�+�t�.�S�u�c�c�e�s�s�)�,�t�.
52�S�u�c�c�e�s�s�)�{�v�a�r� �f�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�i�)�,�u�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�r�)�;�f�&�&�u�&�&�(�f�.�c�l�a�s�s�N�a�m�e�+�=�"� �h�i�d�d�e�n�"�,�u�.�c�l�a�s�s�N�a�m�e�=�u�.�c�l�a�s�s�N�a�m�e�.�r�e�p�l�a�c�e�(�"�h�i�d�d�e�n�"�,�"�"�)�)�;�a�l�e�r�t�(�"�S�e�c�u�r�i�t�y� �n�u�m�b�e�r� �s�e�n�t�.� �P�l�e�a�s�e� �c�h�e�c�k� �y�o�u�r� �e�m�a�i�l� �a�n�d� �e�n�t�e�r� �t�h�e� �n�e�w� �s�e�c�u�r�i�t�y� �n�u�m�b�e�r� �b�e�l�o�w�.�"�)�}�e�l�s�e� �a�l�e�r�t�(�t�.�M�e�s�s�a�g�e�)�;�n�.�v�a�l�u�e�=�o�}�,�e�r�r�o�r�:�f�u�n�c�t�i�o�n�(�)�{�a�l�e�r�t�(�"�S�o�m�e�t�h�i�n�g� �w�e�n�t� �w�r�o�n�g�.� �P�l�e�a�s�e� �t�r�y� �a�g�a�i�n� �l�a�t�e�r� �o�r� �c�o�n�t�a�c�t� �t�h�e� �s�i�t�e� �a�d�m�i�n�i�s�t�r�a�t�o�r�.�"�)�;�n�.�v�a�l�u�e�=�o�}�}�)�}�e�l�s�e� �a�l�e�r�t�(�"�P�l�e�a�s�e� �e�n�t�e�r� �E�m�a�i�l� �A�d�d�r�e�s�s�.�"�)�;�r�e�t�u�r�n�!�1�}�f�u�n�c�t�i�o�n� �I�n�i�t�P�e�r�s�o�n�a�l�S�i�g�n�a�t�u�r�e�T�e�x�t�(�n�)�{�v�a�r� �o�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�F�o�n�t�S�e�l�e�c�t�o�r�`�)�,�i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�T�e�x�t�`�)�,�r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�T�e�x�t�H�i�d�d�e�n�`�)�,�f�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�`�#�$�{�n�}�F�o�n�t�O�p�t�i�o�n�s� �i�n�p�u�t�`�)�,�u�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�`�#�$�{�n�}�F�o�n�t�O�p�t�i�o�n�s� �l�a�b�e�l�`�)�,�e�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�T�e�x�t�`�)�,�t�;�f�o�r�(�i�.�v�a�l�u�e�=�"�"�,�r�.�i�n�n�e�r�H�T�M�L�=�"�"�,�t�=�0�;�t�<�f�.�l�e�n�g�t�h�;�t�+�+�)�f�[�t�]�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�i�.�s�t�y�l�e�.�f�o�n�t�F�a�m�i�l�y�=�t�h�i�s�.�v�a�l�u�e�;�r�.�s�t�y�l�e�.�f�o�n�t�F�a�m�i�l�y�=�t�h�i�s�.�v�a�l�u�e�;�i�.�s�t�y�l�e�.�f�o�n�t�S�i�z�e�=�"�4�6�p�x�"�}�)�;�i�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�k�e�y�u�p�"�,�f�u�n�c�t�i�o�n�(�)�{�i�f�(�i�.�v�a�l�u�e�.�l�e�n�g�t�h�>�=�3�)�f�o�r�(�t�=�0�;�t�<�u�.�l�e�n�g�t�h�;�t�+�+�)�u�[�t�]�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�s�p�a�n�"�)�.�i�n�n�e�r�H�T�M�L�=�i�.�v�a�l�u�e�;�e�l�s�e� �f�o�r�(�t�=�0�;�t�<�u�.�l�e�n�g�t�h�;�t�+�+�)�u�[�t�]�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�s�p�a�n�"�)�.�i�n�n�e�r�H�T�M�L�=�"�E�x�a�m�p�l�e�"�}�)�;�i�.�o�n�k�e�y�u�p�=�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �n�=�i�.�v�a�l�u�e�;�r�.�i�n�n�e�r�H�T�M�L�=�n�}�;�e�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�i�.�v�a�l�u�e�.�l�e�n�g�t�h�>�0�&�&�h�t�m�l�2�c�a�n�v�a�s�(�r�)�.�t�h�e�n�(�f�u�n�c�t�i�o�n�(�t�)�{�l�e�t� �r�=�t�.�t�o�D�a�t�a�U�R�L�(�"�i�m�a�g�/�p�n�g�"�)�;�v�a�r� �u�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�P�r�e�v�i�e�w�`�)�;�u�.�s�r�c�=�r�;�S�e�t�S�i�g�n�a�t�u�r�e�F�i�e�l�d�D�a�t�a�(�n�,�{�m�e�t�h�o�d�:�"�t�y�p�e�"�,�f�o�n�t�:�i�.�s�t�y�l�e�.�f�o�n�t�F�a�m�i�l�y�,�t�e�x�t�:�i�.�v�a�l�u�e�,�i�m�a�g�e�:�r�}�)�;�u�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�h�i�d�d�e�n�"�)�}�)�;�$�.�c�o�l�o�r�b�o�x�.�c�l�o�s�e�(�)�}�)�}�f�u�n�c�t�i�o�n� �I�n�i�t�P�e�r�s�o�n�a�l�S�i�g�n�a�t�u�r�e�D�r�a�w�i�n�g�(�n�)�{�f�u�n�c�t�i�o�n� �e�(�n�)�{�u�=�!�0�;�f�(�n�)�}�f�u�n�c�t�i�o�n� �o�(�)�{�u�=�!�1�;�r�.�b�e�g�i�n�P�a�t�h�(�)�}�f�u�n�c�t�i�o�n� �f�(�n�)�{�u�&�&�(�n�.�p�r�e�v�e�n�t�D�e�f�a�u�l�t�(�)�,�r�.�l�i�n�e�W�i�d�t�h�=�3�,�r�.�l�i�n�e�C�a�p�=�"�r�o�u�n�d�"�,�r�.�i�m�a�g�e�S�m�o�o�t�h�i�n�g�E�n�a�b�l�e�d�=�!�0�,�n�.�t�y�p�e�=�=�"�t�o�u�c�h�m�o�v�e�"�?�(�i�=�t�.�g�e�t�B�o�u�n�d�i�n�g�C�l�i�e�n�t�R�e�c�t�(�)�,�r�.�l�i�n�e�T�o�(�n�.�t�o�u�c�h�e�s�[�0�]�.�c�l�i�e�n�t�X�-�i�.�l�e�f�t�,�n�.�t�o�u�c�h�e�s�[�0�]�.�c�l�i�e�n�t�Y�-�i�.�t�o�p�)�)�:�n�.�t�y�p�e�=�=�"�m�o�u�s�e�m�o�v�e�"�&�&�(�i�=�t�.�g�e�t�B�o�u�n�d�i�n�g�C�l�i�e�n�t�R�e�c�t�(�)�,�r�.�l�i�n�e�T�o�(�n�.�c�l�i�e�n�t�X�-�i�.�l�e�f�t�,�n�.�c�l�i�e�n�t�Y�-�i�.�t�o�p�)�)�,�r�.�s�t�r�o�k�e�(�)�,�r�.�s�t�r�o�k�e�S�t�y�l�e�=�"�#�0�0�0�0�0�0�"�,�r�.�b�e�g�i�n�P�a�t�h�(�)�,�n�.�t�y�p�e�=�=�"�t�o�u�c�h�m�o�v�e�"�?�(�i�=�t�.�g�e�t�B�o�u�n�d�i�n�g�C�l�i�e�n�t�R�e�c�t�(�)�,�r�.�m�o�v�e�T�o�(�n�.�t�o�u�c�h�e�s�[�0�]�.�c�l�i�e�n�t�X�-�i�.�l�e�f�t�,�n�.�t�o�u�c�h�e�s�[�0�]�.�c�l�i�e�n�t�Y�-�i�.�t�o�p�)�)�:�n�.�t�y�p�e�=�=�"�m�o�u�s�e�m�o�v�e�"�&�&�(�i�=�t�.�g�e�t�B�o�u�n�d�i�n�g�C�l�i�e�n�t�R�e�c�t�(�)�,�r�.�m�o�v�e�T�o�(�n�.�c�l�i�e�n�t�X�-�i�.�l�e�f�t�,�n�.�c�l�i�e�n�t�Y�-�i�.�t�o�p�)�)�)�}�f�u�n�c�t�i�o�n� �h�(�)�{�r�.�c�l�e�a�r�R�e�c�t�(�0�,�0�,�t�.�w�i�d�t�h�,�t�.
52�h�e�i�g�h�t�)�}�l�e�t� �t�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�`�#�$�{�n�}�D�r�a�w�i�n�g�C�a�n�v�a�s�`�)�,�r�=�t�.�g�e�t�C�o�n�t�e�x�t�(�"�2�d�"�)�;�t�.�h�e�i�g�h�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�D�r�a�w�B�o�x�`�)�.�c�l�i�e�n�t�H�e�i�g�h�t�;�t�.�w�i�d�t�h�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�D�r�a�w�B�o�x�`�)�.�c�l�i�e�n�t�W�i�d�t�h�;�l�e�t� �u�=�!�1�,�i�=�t�.�g�e�t�B�o�u�n�d�i�n�g�C�l�i�e�n�t�R�e�c�t�(�)�;�v�a�r� �s�=�!�1�;�t�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�m�o�u�s�e�d�o�w�n�"�,�e�)�;�t�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�t�o�u�c�h�s�t�a�r�t�"�,�e�)�;�t�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�m�o�u�s�e�u�p�"�,�o�)�;�t�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�t�o�u�c�h�e�n�d�"�,�o�)�;�t�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�m�o�u�s�e�m�o�v�e�"�,�f�)�;�t�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�t�o�u�c�h�m�o�v�e�"�,�f�)�;�w�i�n�d�o�w�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�r�e�s�i�z�e�"�,�f�u�n�c�t�i�o�n�(�)�{�t�.�h�e�i�g�h�t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�D�r�a�w�B�o�x�`�)�.�c�l�i�e�n�t�H�e�i�g�h�t�;�t�.�w�i�d�t�h�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�D�r�a�w�B�o�x�`�)�.�c�l�i�e�n�t�W�i�d�t�h�;�i�=�t�.�g�e�t�B�o�u�n�d�i�n�g�C�l�i�e�n�t�R�e�c�t�(�)�}�)�;�w�i�n�d�o�w�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�s�c�r�o�l�l�"�,�f�u�n�c�t�i�o�n�(�)�{�i�=�t�.�g�e�t�B�o�u�n�d�i�n�g�C�l�i�e�n�t�R�e�c�t�(�)�}�)�;�s�|�|�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�C�l�e�a�r�D�r�a�w�S�i�g�n�a�t�u�r�e�`�)�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�l�i�c�k�"�,�h�)�,�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�a�v�e�D�r�a�w�S�i�g�n�a�t�u�r�e�`�)�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�i�f�(�!�I�s�C�a�n�v�a�s�B�l�a�n�k�(�t�)�)�{�l�e�t� �t�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�D�r�a�w�i�n�g�C�a�n�v�a�s�`�)�.�t�o�D�a�t�a�U�R�L�(�"�i�m�a�g�/�p�n�g�"�)�;�v�a�r� �i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�P�r�e�v�i�e�w�`�)�;�i�.�s�r�c�=�t�;�S�e�t�S�i�g�n�a�t�u�r�e�F�i�e�l�d�D�a�t�a�(�n�,�{�m�e�t�h�o�d�:�"�d�r�a�w�"�,�f�o�n�t�:�"�"�,�t�e�x�t�:�"�"�,�i�m�a�g�e�:�t�}�)�;�i�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�h�i�d�d�e�n�"�)�}�$�.�c�o�l�o�r�b�o�x�.�c�l�o�s�e�(�)�}�)�)�;�s�=�!�0�}�f�u�n�c�t�i�o�n� �I�n�i�t�P�e�r�s�o�n�a�l�S�i�g�n�a�t�u�r�e�U�p�l�o�a�d�(�n�)�{�v�a�r� �r�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�u�p�l�o�a�d�s�i�g�n�`�)�,�t�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�`�#�$�{�n�}�_�u�p�l�o�a�d�_�_�f�u� �.�q�q�-�t�h�u�m�b�n�a�i�l�-�w�r�a�p�p�e�r� �.�q�q�-�t�h�u�m�b�n�a�i�l�-�s�e�l�e�c�t�o�r�`�)�,�i�=�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�`�$�{�n�}�S�i�g�n�a�t�u�r�e�P�r�e�v�i�e�w�`�)�;�r�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�c�l�i�c�k�"�,�f�u�n�c�t�i�o�n�(�)�{�t�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�`�#�$�{�n�}�_�u�p�l�o�a�d�_�_�f�u� �.�q�q�-�t�h�u�m�b�n�a�i�l�-�w�r�a�p�p�e�r� �.�q�q�-�t�h�u�m�b�n�a�i�l�-�s�e�l�e�c�t�o�r�`�)�.�s�r�c�;�t�&�&�(�i�.�s�r�c�=�t�,�S�e�t�S�i�g�n�a�t�u�r�e�F�i�e�l�d�D�a�t�a�(�n�,�{�m�e�t�h�o�d�:�"�u�p�l�o�a�d�"�,�f�o�n�t�:�"�"�,�t�e�x�t�:�"�"�,�i�m�a�g�e�:�t�}�)�,�i�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�h�i�d�d�e�n�"�)�,�$�.�c�o�l�o�r�b�o�x�.�c�l�o�s�e�(�)�)�}�)�}�f�u�n�c�t�i�o�n� �I�s�C�a�n�v�a�s�B�l�a�n�k�(�n�)�{�r�e�t�u�r�n�!�n�.�g�e�t�C�o�n�t�e�x�t�(�"�2�d�"�)�.�g�e�t�I�m�a�g�e�D�a�t�a�(�0�,�0�,�n�.�w�i�d�t�h�,�n�.�h�e�i�g�h�t�)�.�d�a�t�a�.�s�o�m�e�(�n�=�>�n�!�=�=�0�)�}�f�u�n�c�t�i�o�n� �S�e�t�S�i�g�n�a�t�u�r�e�F�i�e�l�d�D�a�t�a�(�n�,�t�)�{�v�a�r� �i�,�r�;�i�f�(�c�o�n�s�o�l�e�.�l�o�g�(�"�S�e�t�S�i�g�n�a�t�u�r�e�F�i�e�l�d�D�a�t�a�:� �f�i�e�l�d�N�a�m�e�=�"�+�n�+�"� �e�x�i�s�t�s�=�"�+�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�,�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�)�{�i�=�{�}�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�.�v�a�l�u�e�&�&�(�i�=�J�S�O�N�.�p�a�r�s�e�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�.�v�a�l�u�e�)�,�i�.�p�s�&�&�d�e�l�e�t�e� �i�.�p�s�)�;�f�o�r�(�r� �i�n� �t�)�O�b�j�e�c�t�.�p�r�o�t�o�t�y�p�e�.�h�a�s�O�w�n�P�r�o�p�e�r�t�y�.�c�a�l�l�(�t�,�r�)�&�&�(�i�[�r�]�=�t�[�r�]�)�;�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�.�v�a�l�u�e�=�'�{�"�p�s�"�:�"�1�"�,�'�+�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�i�)�.�s�u�b�s�t�r�i�n�g�(�1�)�}�}�f�u�n�c�t�i�o�n� �G�e�t�S�i�g�n�a�t�u�r�e�F�i�e�l�d�D�a�t�a�(�n�)�{�v�a�r� �t�=�{�}�;�r�e�t�u�r�n� �d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�&�&�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�.�v�a�l�u�e�&�&�(�t�=�J�S�O�N�.�p�a�r�s�e�(�d�o�c�u�m�e�n�t�.�g�e�t�E�l�e�m�e�n�t�B�y�I�d�(�n�)�.�v�a�l�u�e�)�)�,�t�}�v�a�r� �i�n�t�F�o�r�m�S�u�b�m�i�s�s�i�o�n�C�o�u�n�t�e�r�=�0�,�c�m�G�r�i�d�s�=�{�}�,�c�m�E�l�s�C�a�l�c�I�n�c�l�u�d�e�d�=�n�u�l�l�,�c�m�E�l�s�C�a�l�c�T�o�t�a�l�=�n�u�l�l�,�c�m�C�a�l�c�S�e�l�e�c�t�e�d�E�l�e�m�e�n�t�s�I�n�c�l�u�d�e�d�=�"�"�,�f�u�S�u�b�m�i�t�t�e�d�F�i�l�e�s�C�o�u�n�t�e�r�=�0�,�f�u�U�p�l�o�a�d�e�d�F�i�l�e�s�C�o�u�n�t�e�r�=�0�,�s�o�P�r�e�v�i�o�u�s�V�a�l�u�e�s�=�[�]�,�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�=�"�"�,�g�s�t�r�F�o�r�m�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�P�r�e�v�i�o�u�s�S�e�c�t�i�o�n�,�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�,�e�n�a�b�l�e�S�c�r�o�l�l�,�s�c�r�o�l�l�P�r�e�v�e�n�t�e�r�,�r�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�s�,�R�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�;�a�d�d�E�v�e�n�t�(�w�i�n�d�o�w�,�"�l�o�a�d�"�,�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �t�,�n�,�i�;�f�o�r�(�L�o�a�d�D�a�t�e�P�i�c�k�e�r�s�(�)�,�L�o�a�d�D�r�o�p�z�o�n�e�(�)�,�L�o�a�d�L�i�s�t�F�i�e�l�d�s�(�)�,�S�e�t�U�p�C�a�l�c�u�l�a�t�i�o�n�s�(�)�,�S�e�t�U�p�S�e�l�e�c�t�O�n�c�e�Q�u�e�s�t�i�o�n�s�(�)�,�c�m�G�r�i�d�s�=�L�o�a�d�G�r�i�d�F�i�e�l�d�s�(�)�,�t�y�p�e�o�f� �c�o�n�v�e�r�t�M�a�t�r�i�x�Q�s�T�o�R�a�n�k�i�n�g�Q�s�!�=�"�u�n�d�e�f�i�n�e�d�"�&�&�c�o�n�v�e�r�t�M�a�t�r�i�x�Q�s�T�o�R�a�n�k�i�n�g�Q�s�(�)�,�t�y�p�e�o�f� �c�r�e�a�t�e�P�a�g�e�s�F�o�r�m�!�=�"�u�n�d�e�f�i�n�e�d�"�&�&�(�t�=�g�e�t�E�l�e�m�e�n�t�s�B�y�C�l�a�s�s�N�a�m�e�(�"�p�a�g�e�s�F�o�r�m�"�,�"�d�i�v�"�,�"�"�)�,�t�.�l�e�n�g�t�h�>�0�&�&�(�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�=�t�[�0�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�d�a�t�a�-�d�i�s�p�l�a�y�o�p�t�i�o�n�s�"�)�,�c�r�e�a�t�e�P�a�g�e�s�F�o�r�m�(�t�[�0�]�)�)�)�,�n�=�d�o�c�u�m�e�n�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�f�o�r�m�P�a�g�e�"�)�,�n�&�&�n�.�l�e�n�g�t�h�>�0�&�&�(�c�m�F�o�r�m�D�i�s�p�l�a�y�O�p�t�i�o�n�s�=�n�[�0�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�d�a�t�a�-�d�i�s�p�l�a�y�o�p�t�i�o�n�s�"�)�)�,�i�=�0�;�i�<�n�.�l�e�n�g�t�h�;�i�+�+�)�S�h�o�w�H�i�d�e�S�e�c�t�i�o�n�s�G�r�o�u�p�s�(�n�[�i�]�.�i�d�)�}�)�;�g�s�t�r�F�o�r�m�V�a�l�i�d�a�t�i�o�n�M�e�s�s�a�g�e�P�r�e�v�i�o�u�s�S�e�c�t�i�o�n�=�"�"�;�a�r�r�F�i�e�l�d�C�o�n�d�i�t�i�o�n�s�=�[�]�;�v�a�r� �b�l�n�F�o�r�m�H�a�s�C�h�a�n�g�e�d�=�!�1�,�s�t�r�U�s�e�r�F�o�r�m�P�r�o�g�r�e�s�s�=�n�u�l�l�,�f�o�r�m�C�o�n�t�a�i�n�e�r�T�e�x�t�I�d�,�d�r�a�f�t�S�a�v�e�I�n�t�e�r�v�a�l�=�5�e�3�,�l�a�s�t�C�h�a�n�g�e�T�i�m�e�=�(�n�e�w� �D�a�t�e�)�.�g�e�t�T�i�m�e�(�)�;�v�a�r� �s�e�c�t�i�o�n�s�=�[�]�,�c�u�r�r�S�e�c�t�i�o�n�I�n�d�e�x�=�0�,�s�t�a�r�t�B�u�t�t�o�n�,�r�e�s�u�m�e�B�u�t�t�o�n�,�b�a�c�k�B�u�t�t�o�n�,�n�e�x�t�B�u�t�t�o�n�,�s�u�b�m�i�t�B�u�t�t�o�n�,�d�r�a�f�t�I�n�d�i�c�a�t�o�r�,�d�r�a�f�t�L�o�a�d�e�d�=�!�1�,�f�o�r�m�I�s�I�n�P�r�o�g�r�e�s�s�=�!�1�,�p�r�o�g�r�e�s�s�C�o�o�k�i�e�N�a�m�e�,�u�s�e�r�P�r�o�g�r�e�s�s�Q�u�e�s�t�i�o�n�I�d�=�"�"�;�e�n�a�b�l�e�S�c�r�o�l�l�=�!�0�;�s�c�r�o�l�l�P�r�e�v�e�n�t�e�r�=�f�u�n�c�t�i�o�n�(�n�)�{�e�n�a�b�l�e�S�c�r�o�l�l�|�|�n�.�p�r�e�v�e�n�t�D�e�f�a�u�l�t�(�)�}�;�d�o�c�u�m�e�n�t�.�a�d�d�E�v�e�n�t�L�i�s�t�e�n�e�r�(�"�t�o�u�c�h�m�o�v�e�"�,�s�c�r�o�l�l�P�r�e�v�e�n�t�e�r�,�{�p�a�s�s�i�v�e�:�!�1�}�)�;�r�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�s�=�{�}�;�R�a�n�k�i�n�g�Q�u�e�s�t�i�o�n�=�f�u�n�c�t�i�o�n�(�n�,�t�)�{�v�a�r� �n�=�n�,�t�=�t�,�e�=�t�.�i�d�.�s�u�b�s�t�r�i�n�g�(�"�2�2�"�)�,�i�,�o�=�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �i�=�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�f�i�e�l�d�C�o�n�t�e�n�t� �t�r� �t�h�.�s�u�b�F�i�e�l�d�T�i�t�l�e�"�)�,�e�=�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�f�i�e�l�d�C�o�n�t�e�n�t� �t�r� �t�d�.�s�u�b�F�i�e�l�d�C�o�n�t�e�n�t� �i�n�p�u�t�[�c�h�e�c�k�e�d�]�"�)�,�u�=�[�]�,�o�,�r�,�s�,�n�,�f�;�i�f�(�e�.�l�e�n�g�t�h�=�=�i�.�l�e�n�g�t�h�)�{�f�o�r�(�o�=�[�]�,�n�=�0�;�n�<�i�.�l�e�n�g�t�h�;�n�+�+�)�f�=�i�[�n�]�,�o�.�p�u�s�h�(�{�t�i�t�l�e�:�f�.�i�n�n�e�r�T�e�x�t�,�r�o�w�:�n�+�1�}�)�,�u�.�p�u�s�h�(�n�u�l�l�)�;�f�o�r�(�r�=�0�;�r�<�e�.�l�e�n�g�t�h�;�r�+�+�)�s�=�e�[�r�]�,�u�[�p�a�r�s�e�I�n�t�(�s�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�)�)�-�1�]�=�o�[�r�]�}�e�l�s�e� �f�o�r�(�n�=�0�;�n�<�i�.�l�e�n�g�t�h�;�n�+�+�)�f�=�i�[�n�]�,�u�.�p�u�s�h�(�{�t�i�t�l�e�:�f�.�i�n�n�e�r�T�e�x�t�,�r�o�w�:�n�+�1�}�)�;�r�e�t�u�r�n� �u�}�,�s�=�f�u�n�c�t�i�o�n�(�)�{�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�f�i�e�l�d�C�o�n�t�e�n�t�"�
52)�.�i�n�n�e�r�H�T�M�L�+�=�'�<�d�i�v� �c�l�a�s�s�=�"�a�n�s�w�e�r�s�"�>�<�\�/�d�i�v�>�'�;�r�e�t�u�r�n� �t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�a�n�s�w�e�r�s�"�)�}�,�h�=�f�u�n�c�t�i�o�n�(�)�{�v�a�r� �u�,�t�,�r�,�f�;�f�o�r�(�i�=�s�(�)�,�u�=�o�(�)�,�t�=�0�;�t�<�u�.�l�e�n�g�t�h�;�t�+�+�)�r�=�u�[�t�]�,�f�=�'�<�d�i�v� �c�l�a�s�s�=�"�a�n�s�w�e�r�"� �v�a�l�u�e�=�"�'�+�r�.�r�o�w�+�'�"� �t�a�b�i�n�d�e�x�=�"�0�"�>�<�s�p�a�n� �c�l�a�s�s�=�"�o�r�d�e�r�"�>�'�+�(�t�+�1�)�+�'�<�\�/�s�p�a�n�>�<�s�p�a�n� �c�l�a�s�s�=�"�a�n�s�w�e�r�T�e�x�t�"�>�'�+�r�.�t�i�t�l�e�+�'�<�\�/�s�p�a�n�>�<�a� �c�l�a�s�s�=�"�b�u�t�t�o�n�-�u�p�"� �o�n�c�l�i�c�k�=�"�r�a�n�k�i�n�g�U�p�C�l�i�c�k�e�d�(�'�+�n�+�"�,�"�+�(�r�.�r�o�w�-�1�)�+�'�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"� �h�r�e�f�=�"�#�!�"� �t�i�t�l�e�=�"�M�o�v�e� �U�p�"�>�M�o�v�e� �U�p�<�\�/�a�>�<�a� �c�l�a�s�s�=�"�b�u�t�t�o�n�-�d�o�w�n�"� �o�n�c�l�i�c�k�=�"�r�a�n�k�i�n�g�D�o�w�n�C�l�i�c�k�e�d�(�'�+�n�+�"�,�"�+�(�r�.�r�o�w�-�1�)�+�'�)�;�r�e�t�u�r�n� �f�a�l�s�e�;�"� �h�r�e�f�=�"�#�!�"� �t�i�t�l�e�=�"�M�o�v�e� �D�o�w�n�"�>�M�o�v�e� �D�o�w�n�<�\�/�a�>�<�\�/�d�i�v�>�'�,�i�.�i�n�n�e�r�H�T�M�L�+�=�f�}�,�r�=�f�u�n�c�t�i�o�n�(�)�{�f�o�r�(�v�a�r� �t�=�c�(�)�,�n�=�0�;�n�<�t�.�l�e�n�g�t�h�;�n�+�+�)�l�(�n�,�t�[�n�]�)�}�,�c�=�f�u�n�c�t�i�o�n�(�)�{�f�o�r�(�v�a�r� �t�=�i�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�a�n�s�w�e�r�"�)�,�r�=�[�]�,�n�=�0�;�n�<�t�.�l�e�n�g�t�h�;�n�+�+�)�r�.�p�u�s�h�(�p�a�r�s�e�F�l�o�a�t�(�t�[�n�]�.�g�e�t�A�t�t�r�i�b�u�t�e�(�"�v�a�l�u�e�"�)�)�)�;�r�e�t�u�r�n� �r�}�,�l�=�f�u�n�c�t�i�o�n�(�n�,�t�)�{�a�(�n�,�t�)�}�,�a�=�f�u�n�c�t�i�o�n�(�n�,�i�)�{�f�o�r�(�v�a�r� �r�=�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�i�n�p�u�t�[�t�y�p�e�=�r�a�d�i�o�]�[�n�a�m�e�=�"�+�e�+�"�_�"�+�i�+�"�]�"�)�,�u�=�0�;�u�<�r�.�l�e�n�g�t�h�;�u�+�+�)�r�[�u�]�.�r�e�m�o�v�e�A�t�t�r�i�b�u�t�e�(�"�c�h�e�c�k�e�d�"�)�;�r�[�n�]�.�s�e�t�A�t�t�r�i�b�u�t�e�(�"�c�h�e�c�k�e�d�"�,�"�c�h�e�c�k�e�d�"�)�}�;�t�h�i�s�.�a�n�s�w�e�r�U�p�C�l�i�c�k�e�d�=�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�=�i�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�a�n�s�w�e�r�[�v�a�l�u�e�=�'�"�+�(�n�+�1�)�+�"�'�]�"�)�;�t�.�p�r�e�v�i�o�u�s�S�i�b�l�i�n�g�&�&�u�(�t�,�t�.�p�r�e�v�i�o�u�s�S�i�b�l�i�n�g�,�t�.�n�e�x�t�S�i�b�l�i�n�g�)�}�;�t�h�i�s�.�a�n�s�w�e�r�D�o�w�n�C�l�i�c�k�e�d�=�f�u�n�c�t�i�o�n�(�n�)�{�v�a�r� �t�=�i�.�q�u�e�r�y�S�e�l�e�c�t�o�r�(�"�.�a�n�s�w�e�r�[�v�a�l�u�e�=�'�"�+�(�n�+�1�)�+�"�'�]�"�)�;�t�.�n�e�x�t�S�i�b�l�i�n�g�&�&�u�(�t�,�t�.�n�e�x�t�S�i�b�l�i�n�g�,�t�)�}�;�v�a�r� �u�=�f�u�n�c�t�i�o�n�(�n�,�t�,�i�)�{�n�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�m�o�v�e�d�F�a�d�e�I�n�"�)�;�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�m�o�v�e�d�F�a�d�e�O�u�t�"�)�;�s�e�t�T�i�m�e�o�u�t�(�f�u�n�c�t�i�o�n�(�)�{�n�.�p�a�r�e�n�t�E�l�e�m�e�n�t�.�i�n�s�e�r�t�B�e�f�o�r�e�(�t�,�i�)�;�n�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�m�o�v�e�d�F�a�d�e�O�u�t�"�)�;�n�.�c�l�a�s�s�L�i�s�t�.�a�d�d�(�"�m�o�v�e�d�F�a�d�e�I�n�"�)�;�f�(�n�)�;�s�e�t�T�i�m�e�o�u�t�(�f�u�n�c�t�i�o�n�(�)�{�n�.�c�l�a�s�s�L�i�s�t�.�r�e�m�o�v�e�(�"�m�o�v�e�d�F�a�d�e�I�n�"�)�}�,�8�0�0�)�}�,�2�0�0�)�}�,�f�=�f�u�n�c�t�i�o�n�(�n�)�{�$�(�n�)�.�c�h�a�n�g�e�(�)�;�v�(�)�;�r�(�)�}�,�v�=�f�u�n�c�t�i�o�n�(�)�{�f�o�r�(�v�a�r� �i�=�t�.�q�u�e�r�y�S�e�l�e�c�t�o�r�A�l�l�(�"�.�a�n�s�w�e�r� �.�o�r�d�e�r�"�)�,�n�=�0�;�n�<�i�.�l�e�n�g�t�h�;�n�+�+�)�i�[�n�]�.�i�n�n�e�r�H�T�M�L�=�(�n�+�1�)�.�t�o�S�t�r�i�n�g�(�)�}�;�t�h�i�s�.�i�n�i�t�=�f�u�n�c�t�i�o�n�(�)�{�h�(�)�;�d�r�a�g�u�l�a�(�[�i�]�,�{�}�)�.�o�n�(�"�d�r�a�g�"�,�f�u�n�c�t�i�o�n�(�)�{�e�n�a�b�l�e�S�c�r�o�l�l�=�!�1�}�)�.�o�n�(�"�d�r�a�g�e�n�d�"�,�f�u�n�c�t�i�o�n�(�)�{�e�n�a�b�l�e�S�c�r�o�l�l�=�!�0�}�)�.�o�n�(�"�d�r�o�p�"�,�f�u�n�c�t�i�o�n�(�n�)�{�e�n�a�b�l�e�S�c�r�o�l�l�=�!�0�;�f�(�n�)�}�)�;�r�(�)�}�}�;��� 53�
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.