__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

���gr!���SrSrSrSrSrSrSSKrSSKrSSKJ	r	 SS	K
Jr SSKr\R"S
S5 SSKJr S
SKJr S
SKJr "SS5rg)�NUtilities for obtaining information about accessible hypertext and hyperlinks.z$Id$z
$Revision$z$Date$zCopyright (c) 2024 Igalia, S.L.�LGPL�N)�Optional)�urlparse�Atspiz2.0)r�)�debug)�AXObjectc
��\rSrSrSr\S\RS\4Sj5r	\S\RS\S\
\R4Sj5r\S\RS\S	\S\
\R4S
j5r\S\RS\
\R4Sj5r\SS\RS\S\4Sjj5r\S\RS\4S
j5r\S\RS\4Sj5r\SS\RS\S\S\4Sjj5r\S\RS\S\
\R4Sj5r\S\RS\4Sj5rSrg)�AXHypertext�,r�obj�returnc�`�[R"U5(dg[RR	U5nSUSUS3/n[R"[RUS5 U$![
a5nSU3n[R"[RUS5 SnAgSnAff=f)z(Returns the number of hyperlinks in obj.rz+AXHypertext: Exception in _get_link_count: TNzAXHypertext:zreports z hyperlinks)
r
�supports_hypertextr�	Hypertext�get_n_links�	Exceptionr	�
print_message�
LEVEL_INFO�print_tokens)r�count�error�msg�tokenss     �3/usr/lib/python3/dist-packages/orca/ax_hypertext.py�_get_link_count�AXHypertext._get_link_count/s����*�*�3�/�/��	��O�O�/�/��4�E�!�#��%���'D�E��
���5�+�+�V�T�:�����	�?��w�G�C����� 0� 0�#�t�<���	�s�A.�.
B-�8+B(�(B-�indexc��[R"U5(dg[RR	X5nU$![
a5nSU3n[R"[RUS5 SnAgSnAff=f)z4Returns the hyperlink object at the specified index.Nz.AXHypertext: Exception in _get_link_at_index: T)	r
rrr�get_linkrr	rr)rr�linkrrs     r�_get_link_at_index�AXHypertext._get_link_at_indexAsq���*�*�3�/�/��	��?�?�+�+�C�7�D�����	�B�5�'�J�C����� 0� 0�#�t�<���	�s�?�
A>�	+A9�9A>�start_offset�
end_offsetc��/n[[RU55Hqn[RX5nU[R	U5s=::aU:d(O U[RU5s=:aU::dM\O M`UR
U5 Ms S[U5S3USUSU3/n[R"[RUS5 U$)zIReturns all the hyperlinks in obj who started within the specified range.�
AXHypertext: � hyperlinks found inzbetween start: z
 and end: T)�rangerrr#�get_link_start_offset�get_link_end_offset�append�lenr	rr)rr%r&�links�ir"rs       r�get_all_links_in_range�"AXHypertext.get_all_links_in_rangeQs������{�2�2�3�7�8�A��1�1�#�9�D��{�@�@��F�S��S���!@�!@��!F�T�*�T�T����T�"�	9�"�#�e�*��-A�B�C�#�L�>��J�<�H�J��
���5�+�+�V�T�:���c��/n[[RU55H.n[RX5nUcMUR	U5 M0 S[U5S3U/n[R"[RUS5 U$)z,Returns a list of all the hyperlinks in obj.r(r)T)	r*rrr#r-r.r	rr)rr/r0r"rs     r�
get_all_links�AXHypertext.get_all_linkscs|�����{�2�2�3�7�8�A��1�1�#�9�D������T�"�9�
"�#�e�*��-A�B�C�H��
���5�+�+�V�T�:��r3c�j�[RRU5n[RR	X!5nSUSUSU3/n[R"[RUS5 U$![
a5nSU3n[R"[RUS5 SnAgSnAff=f)z;Returns the URI associated with obj at the specified index.z(AXHypertext: Exception in get_link_uri: TN�zAXHypertext: URI ofz	at index z is )
r�
Accessible�
get_hyperlink�	Hyperlink�get_urirr	rrr)rrr"�urirrrs       r�get_link_uri�AXHypertext.get_link_uriqs���	��#�#�1�1�#�6�D��/�/�)�)�$�6�C�(��	�%���S�E�.J�K��
���5�+�+�V�T�:��
���	�<�U�G�D�C����� 0� 0�#�t�<���	�s�>A3�3
B2�=+B-�-B2c�D�[U[R5(a#Un[RRUS5nO[RRU5nUc+SU/n[R"[RUS5 g[RRU5nSUSU3/n[R"[RUS5 U$![a5nSU3n[R"[RUS5 SnAgSnAff=f)	z7Returns the start offset of obj in the associated text.rN�'AXHypertext: Couldn't get hyperlink forT���z1AXHypertext: Exception in get_link_start_offset: zAXHypertext: Start offset of�is )�
isinstancerr;�
get_objectr9r:r	rr�get_start_indexrr�rr"r�offsetrrs      rr+�!AXHypertext.get_link_start_offset�s����c�5�?�?�+�+��D��/�/�,�,�T�1�5�C��#�#�1�1�#�6�D��<�?��E�F����u�/�/���>��	��_�_�4�4�T�:�F�1�#��V�H�~�F��
���5�+�+�V�T�:��
���	�E�e�W�M�C����� 0� 0�#�t�<���	���C � 
D�*+D�Dc�D�[U[R5(a#Un[RRUS5nO[RRU5nUc+SU/n[R"[RUS5 g[RRU5nSUSU3/n[R"[RUS5 U$![a5nSU3n[R"[RUS5 SnAgSnAff=f)	z5Returns the end offset of obj in the associated text.rNrATrBz/AXHypertext: Exception in get_link_end_offset: zAXHypertext: End offset ofrC)rDrr;rEr9r:r	rr�
get_end_indexrrrGs      rr,�AXHypertext.get_link_end_offset�s����c�5�?�?�+�+��D��/�/�,�,�T�1�5�C��#�#�1�1�#�6�D��<�?��E�F����u�/�/���>��	��_�_�2�2�4�8�F�/��s�6�(�^�D��
���5�+�+�V�T�:��
���	�C�E�7�K�C����� 0� 0�#�t�<���	�rJ�remove_extensionc��[RX5nU(dg[U5n[RRUR5nU(a:[RR
U5Sn[R"SSU5nSUSUS3/n[R"[RUS5 U$)	z>Strip directory and suffix off of the URL associated with obj.r8rz[-_]� zAXHypertext: Basename for linkzis '�'T)rr>r�os�path�basename�splitext�re�subr	rr)rrrNr=�
parsed_urirTrs       r�get_link_basename�AXHypertext.get_link_basename�s����&�&�s�2�����c�]�
��G�G�$�$�Z�_�_�5����w�w�'�'��1�!�4�H��v�v�g�s�H�5�H�2�C�4��z��9K�L��
���5�+�+�V�T�:��r3rHc�h�[R"U5(dg[RR	X5nUS:ag[RX5nUcg[RRUS5nSUS3USU/n[R"[RUS5 U$![
a5nSU3n[R"[RUS5 SnAgSnAff=f![
a5nSU3n[R"[RUS5 SnAgSnAff=f)zAReturns the embedded-object child of obj at the specified offset.Nz/AXHypertext: Exception in get_child_at_offset: TrzAXHypertext: Child at offset z in�is)r
rrr�get_link_indexrr	rrrr#r;rEr)rrHrrrr"�childrs        r�get_child_at_offset�AXHypertext.get_child_at_offset�s���*�*�3�/�/��	��O�O�2�2�3�?�E��1�9���-�-�c�9���<��	��O�O�.�.�t�Q�7�E�2�&���=�s�D�%�P��
���5�+�+�V�T�:����+�	�C�E�7�K�C����� 0� 0�#�t�<���	���	�C�E�7�K�C����� 0� 0�#�t�<���	�s/�B0� C2�0
C/�:+C*�*C/�2
D1�<+D,�,D1c��[R"[R"U55(dg[R	U5$)zHReturns the offset of the embedded-object obj in the text of its parent.rB)r
�
supports_text�
get_parentrr+)rs r�get_character_offset_in_parent�*AXHypertext.get_character_offset_in_parent�s4���%�%�h�&9�&9�#�&>�?�?���0�0��5�5r3�N)r)rF)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�staticmethodrr9�intrrr;r#�listr1r5�strr>r+r,�boolrYr_rd�__static_attributes__rfr3rrr,s���X���U�-�-��#����"�
�� 0� 0�
��
��%�/�/�AZ�
��
���
�
�
��-0��>A��	
�e�o�o�	����"��5�+�+���U�_�_�0E�����
�%�*�*�
�3�
�s�
��
���5�#3�#3������2���!1�!1��c����2�HM��
�
�
��&)��AE��	����&���!1�!1��3��8�E�L\�L\�C]����>�6�E�,<�,<�6��6��6r3r)rk�__id__�__version__�__date__�
__copyright__�__license__rRrV�typingr�urllib.parser�gi�require_version�
gi.repositoryrr8r	�	ax_objectr
rrfr3r�<module>r}sX��0U�������1�
���	�	��!�	����7�E�"����D6�D6r3

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 276 B 0644
acss.cpython-313.pyc File 4.37 KB 0644
action_presenter.cpython-313.pyc File 12.53 KB 0644
ax_collection.cpython-313.pyc File 6.06 KB 0644
ax_component.cpython-313.pyc File 22.4 KB 0644
ax_document.cpython-313.pyc File 13.2 KB 0644
ax_event_synthesizer.cpython-313.pyc File 22.37 KB 0644
ax_hypertext.cpython-313.pyc File 11.3 KB 0644
ax_object.cpython-313.pyc File 63.85 KB 0644
ax_selection.cpython-313.pyc File 5.26 KB 0644
ax_table.cpython-313.pyc File 62.75 KB 0644
ax_text.cpython-313.pyc File 58.92 KB 0644
ax_utilities.cpython-313.pyc File 37.16 KB 0644
ax_utilities_application.cpython-313.pyc File 9.14 KB 0644
ax_utilities_collection.cpython-313.pyc File 125.47 KB 0644
ax_utilities_debugging.cpython-313.pyc File 15.44 KB 0644
ax_utilities_event.cpython-313.pyc File 41.86 KB 0644
ax_utilities_relation.cpython-313.pyc File 21.3 KB 0644
ax_utilities_role.cpython-313.pyc File 139.59 KB 0644
ax_utilities_state.cpython-313.pyc File 19.65 KB 0644
ax_value.cpython-313.pyc File 8.8 KB 0644
bookmarks.cpython-313.pyc File 16.09 KB 0644
braille.cpython-313.pyc File 82.01 KB 0644
braille_generator.cpython-313.pyc File 71.06 KB 0644
braille_rolenames.cpython-313.pyc File 8.73 KB 0644
brlmon.cpython-313.pyc File 9.02 KB 0644
brltablenames.cpython-313.pyc File 2.46 KB 0644
bypass_mode_manager.cpython-313.pyc File 5.79 KB 0644
caret_navigation.cpython-313.pyc File 22.86 KB 0644
chat.cpython-313.pyc File 33.96 KB 0644
clipboard.cpython-313.pyc File 27.81 KB 0644
cmdnames.cpython-313.pyc File 18.85 KB 0644
colornames.cpython-313.pyc File 11.83 KB 0644
debug.cpython-313.pyc File 4.76 KB 0644
debugging_tools_manager.cpython-313.pyc File 13.8 KB 0644
event_manager.cpython-313.pyc File 43.89 KB 0644
flat_review.cpython-313.pyc File 59.1 KB 0644
flat_review_finder.cpython-313.pyc File 29.77 KB 0644
flat_review_presenter.cpython-313.pyc File 59.01 KB 0644
focus_manager.cpython-313.pyc File 14.24 KB 0644
generator.cpython-313.pyc File 95.62 KB 0644
guilabels.cpython-313.pyc File 12.43 KB 0644
highlighter.cpython-313.pyc File 9.86 KB 0644
input_event.cpython-313.pyc File 45.78 KB 0644
input_event_manager.cpython-313.pyc File 48.43 KB 0644
keybindings.cpython-313.pyc File 27.27 KB 0644
keynames.cpython-313.pyc File 4.73 KB 0644
label_inference.cpython-313.pyc File 25.15 KB 0644
learn_mode_presenter.cpython-313.pyc File 19.89 KB 0644
liveregions.cpython-313.pyc File 31.34 KB 0644
mathsymbols.cpython-313.pyc File 64.53 KB 0644
messages.cpython-313.pyc File 41.8 KB 0644
mouse_review.cpython-313.pyc File 33.59 KB 0644
notification_presenter.cpython-313.pyc File 18.47 KB 0644
object_navigator.cpython-313.pyc File 15.8 KB 0644
object_properties.cpython-313.pyc File 8.27 KB 0644
orca.cpython-313.pyc File 13.43 KB 0644
orca_gtkbuilder.cpython-313.pyc File 5.53 KB 0644
orca_gui_navlist.cpython-313.pyc File 10.45 KB 0644
orca_gui_prefs.cpython-313.pyc File 166.31 KB 0644
orca_gui_profile.cpython-313.pyc File 5.69 KB 0644
orca_i18n.cpython-313.pyc File 2.63 KB 0644
orca_modifier_manager.cpython-313.pyc File 17.05 KB 0644
orca_platform.cpython-313.pyc File 661 B 0644
phonnames.cpython-313.pyc File 1.51 KB 0644
pronunciation_dict.cpython-313.pyc File 1.95 KB 0644
script.cpython-313.pyc File 15.33 KB 0644
script_manager.cpython-313.pyc File 18.15 KB 0644
script_utilities.cpython-313.pyc File 87.03 KB 0644
settings.cpython-313.pyc File 6.79 KB 0644
settings_manager.cpython-313.pyc File 35.18 KB 0644
sleep_mode_manager.cpython-313.pyc File 6.67 KB 0644
sound.cpython-313.pyc File 8.71 KB 0644
sound_generator.cpython-313.pyc File 58.4 KB 0644
speech.cpython-313.pyc File 10.75 KB 0644
speech_and_verbosity_manager.cpython-313.pyc File 34.1 KB 0644
speech_generator.cpython-313.pyc File 214.55 KB 0644
speechdispatcherfactory.cpython-313.pyc File 33.52 KB 0644
speechserver.cpython-313.pyc File 10.21 KB 0644
spellcheck.cpython-313.pyc File 24.24 KB 0644
spiel.cpython-313.pyc File 34.68 KB 0644
ssml.cpython-313.pyc File 6.03 KB 0644
structural_navigation.cpython-313.pyc File 93.9 KB 0644
system_information_presenter.cpython-313.pyc File 9.42 KB 0644
table_navigator.cpython-313.pyc File 36.48 KB 0644
text_attribute_names.cpython-313.pyc File 6.01 KB 0644
where_am_i_presenter.cpython-313.pyc File 26.41 KB 0644
Filemanager