<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<toggleable_menu
 height="101"
 layout="topleft"
 left="100"
 mouse_opaque="false"
 name="Avatar Icon Menu"
 top="724"
 visible="false"
 width="128">
    <menu_item_call
     label="View Profile"
     layout="topleft"
     name="Show Profile">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="profile" />
    </menu_item_call>
    <menu_item_call
     label="IM"
     layout="topleft"
     name="Send IM">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="im" />
    </menu_item_call>
    <menu_item_call
     label="Teleport to resident"
     layout="topleft"
     name="Teleport to">
       <on_click function="AvatarIcon.Action" parameter="teleport_to"/>
    </menu_item_call>
    <menu_item_call
     label="Offer teleport"
     layout="topleft"
     name="Offer Teleport">
        <on_click function="AvatarIcon.Action" parameter="teleport"/>
    </menu_item_call>
    <menu_item_call
     label="Request Teleport"
     layout="topleft"
     name="Request Teleport">
        <on_click function="AvatarIcon.Action" parameter="request_teleport"/>      
    </menu_item_call>
    <menu_item_call
     label="Voice call"
     layout="topleft"
     name="Voice Call">
        <on_click function="AvatarIcon.Action" parameter="voice_call"/>
    </menu_item_call>
    <menu_item_call
     label="Chat history..."
     layout="topleft"
     name="Chat History">
        <on_click function="AvatarIcon.Action" parameter="chat_history"/>   
    </menu_item_call>
    <menu_item_separator layout="topleft" name="separator_chat_history"/>
    <menu_item_call
     label="Add friend"
     layout="topleft"
     name="Add Friend">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="add" />
    </menu_item_call>
    <menu_item_call
     label="Remove friend"
     layout="topleft"
     name="Remove Friend">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="remove" />
    </menu_item_call>
    <menu_item_call
     label="Add to set"
     layout="topleft"
     name="Add Contact Set">
        <menu_item_call.on_click
         function="AvatarIcon.Action"
         parameter="add_set" />
    </menu_item_call>
    <menu_item_call
     label="Invite to group..."
     layout="topleft"
     name="Invite Group">
      <on_click function="AvatarIcon.Action" parameter="invite_to_group" />   
    </menu_item_call>
    <menu_item_separator layout="topleft" name="separator_invite_to_group"/>
    <menu_item_call
     label="Zoom In"
     layout="topleft"
     name="Zoom In">
      <on_click function="AvatarIcon.Action" parameter="zoom_in" />
    </menu_item_call>
    <menu_item_call
     label="Map"
     layout="topleft"
     name="Map">
       <on_click function="AvatarIcon.Action" parameter="map" />
    </menu_item_call>
    <menu_item_call
     label="Track"
     layout="topleft"
     name="track">
      <on_click function="AvatarIcon.Action" parameter="track" />
    </menu_item_call>
    <menu_item_call
     label="Share"
     layout="topleft"
     name="Share">
       <on_click function="AvatarIcon.Action" parameter="share" />
    </menu_item_call>
    <menu_item_call
     label="Pay"
     layout="topleft"
     name="Pay">
       <on_click function="AvatarIcon.Action" parameter="pay" />
       <on_enable function="AvatarIcon.Enable" parameter="can_pay" />
    </menu_item_call>
    <menu_item_call
     label="Copy Name to clipboard"
     layout="topleft"
     name="copy name">
       <on_click function="AvatarIcon.Action" parameter="copy_name" />
    </menu_item_call>
    <menu_item_call
     label="Copy Url to clipboard"
     layout="topleft"
     name="copy url">
       <on_click function="AvatarIcon.Action" parameter="copy_url" />
    </menu_item_call>
    <menu_item_separator layout="topleft" name="separator_block"/>
    <menu_item_check
     label="Block Voice"
     layout="topleft"
     name="Block Unblock">
       <on_click function="AvatarIcon.Action" parameter="block_unblock" />
       <on_check function="AvatarIcon.Check" parameter="is_blocked" />
    </menu_item_check>
    <menu_item_check
     label="Block Text"
     layout="topleft"
     name="Mute Text">
       <on_click function="AvatarIcon.Action" parameter="mute_unmute" />
       <on_check function="AvatarIcon.Check" parameter="is_muted" />   
    </menu_item_check>
    <menu_item_separator layout="topleft" name="Moderator Options Separator"/>
    <context_menu
     label="Moderator Options"
     layout="topleft"
     name="Moderator Options">
      <menu_item_call
       label="Allow text chat"
       layout="topleft"
       name="AllowTextChat">
        <on_click function="AvatarIcon.Action" parameter="allow_text_chat" />
        <on_enable function="AvatarIcon.Enable" parameter="can_allow_text_chat" />
      </menu_item_call>
      <menu_item_call
       label="Forbid text chat"
       layout="topleft"
       name="ForbidTextChat">
        <on_click function="AvatarIcon.Action" parameter="forbid_text_chat" />
        <on_enable function="AvatarIcon.Enable" parameter="can_allow_text_chat" />
      </menu_item_call>
      <menu_item_call
       label="Mute this participant"
       layout="topleft"
       name="ModerateVoiceMuteSelected">
        <on_click function="AvatarIcon.Action" parameter="group_mute" />
        <on_enable function="AvatarIcon.Enable" parameter="can_mute" />
        <on_visible function="AvatarIcon.Visible" parameter="show_mute" />
      </menu_item_call>
      <menu_item_call
       label="Unmute this participant"
       layout="topleft"
       name="ModerateVoiceUnMuteSelected">
        <on_click function="AvatarIcon.Action" parameter="group_unmute" />
        <on_enable function="AvatarIcon.Enable" parameter="can_unmute" />
        <on_visible function="AvatarIcon.Visible" parameter="show_unmute" />
      </menu_item_call>
    </context_menu>
    <menu_item_separator layout="topleft" name="Group Ban Separator"/>
    <menu_item_call
     label="Ban member"
     layout="topleft"
     name="BanMember">
      <on_click function="AvatarIcon.Action" parameter="ban_member" />
      <on_enable function="AvatarIcon.Enable" parameter="can_ban_member" />
    </menu_item_call>
</toggleable_menu>
