<commit_before><!-- CSS -->
<link rel="stylesheet" type="text/css" href="/devwidgets/contacts/css/contacts.css" />

<!-- WIDGET HEADER -->
<div class="fl-widget-titlebar s3d-widget-titlebar contacts-widget-border" style="display:none">
    <div class="widget-titlebar-inner s3d-widget-titlebar-inner">
        <h2 id="contacts_title" class="contacts_title widget_title" style="display:none">__MSG__RECENT_CONTACTS__</h2>
    </div>
</div>

<!-- WIDGET BODY -->
<div class="fl-widget-content s3d-widget-content">
    <div id="contacts_container"><!----></div>
</div>

<div class="s3d-widget-no-options">
    <div class="s3d-widget-no-options-inner"><!----></div>
</div>

<div id="contacts_template"><!--
    <div class="s3d-contentpage-title">__MSG__CONTACTS__ {if accepted.total} (${accepted.total}){/if}</div>
    {if pending && pending.results.length}
        <div class="contacts_main" id="contacts_pending" style="display:none;">
            <h2>__MSG__PENDING_CONTACT_REQUEST_TO_OTHER_PEOPLE__</h2>
            {var count = 0}
            {for p in pending.results}
                {var count = count + 1}
                <div class="fl-container fl-fix contacts_item{if count == 1} contacts_item_first{/if}">
                    <div class="contacts_item_left_filler"></div>
                    <a href="/~${p.profile.userid|urlSafe}"><img alt="pending icon" src="${sakai.api.Util.constructProfilePicture(p.profile)}"></a>
                    <div class="contacts_list">
                        <a href="/~${p.profile.userid|urlSafe}" class="s3d-bold s3d-regular-light-links" title="__MSG__VIEW__ ${sakai.api.User.getDisplayName(p.profile)}">${sakai.api.Util.applyThreeDots(sakai.api.User.getDisplayName(p.profile), 170, null, "s3d-bold")}</a>
                        <div class="contacts_item_counts">
                            <a class="s3d-regular-light-links" href="/~${p.profile.userid|urlSafe}#l=library" title="${p.profile.counts.contentCount}{if p.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">
                                ${p.profile.counts.contentCount} {if p.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${p.profile.userid|urlSafe}#l=contacts" title="${p.profile.counts.contactsCount}{if p.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}">
                                ${p.profile.counts.contactsCount} {if p.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${p.profile.userid|urlSafe}#l=memberships" title="${p.profile.counts.membershipsCount}{if p.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}">
                                ${p.profile.counts.membershipsCount} {if p.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}
                            </a>
                        </div>
                        {if p.profile.basic.elements && p.profile.basic.elements.description && p.profile.basic.elements.description.value}
                            <div class="contacts_item_description"><span>${p.profile.basic.elements.description.value}</span></div>
                        {/if}
                        {if p.profile["sakai:tags"] && p.profile["sakai:tags"].length > 0}
                            <div class="contacts_item_tags">
                                <span class="contacts_item_icon contacts_item_tags_icon"></span>
                                <p class="contacts_item_tags_list">
                                    {for t in p.profile["sakai:tags"]}{if t.split("/")[0] !== "directory"}{if t_index > 0} <span class="contacts_item_tags_dot"> &bull;</span>{/if} <a class="s3d-regular-light-links" href="/search#q=${t}" title="${t}">${t}</a>{/if}{/for}
                                </p>
                            </div>
                        {/if}
                    </div>
                </div>
            {/for}
            {if count > 0}
                <div class="contacts_item_end"></div>
            {/if}
        </div>
    {/if}

    {if invited && invited.results.length}
        <div class="contacts_main" id="contacts_invited">
            <h2>__MSG__PENDING_CONTACT_REQUEST_FROM_OTHER_PEOPLE__</h2>
            {var count = 0}
            {for i in invited.results}
                {var count = count + 1}
                <div class="fl-container fl-fix contacts_item{if count == 1} contacts_item_first{/if}">
                    <div class="contacts_item_left_filler">
                        <button title="__MSG__ACCEPT_CONNECTION__" class="s3d-link-button s3d-action-icon s3d-actions-addtolibrary contacts_item_plus contacts_add_to_contacts" id="contacts_add_to_contacts_${i.profile.userid}"></button>
                        <input type="checkbox" name="checkbox_${i.profile.userid}" style="display:none"/>
                    </div>
                    <button title="__MSG__SEND_MESSAGE__" class="s3d-link-button contacts_item_message_icon sakai_sendmessage_overlay" data-sakai-entityid="${i.profile.userid}" data-sakai-entityname="${sakai.api.User.getDisplayName(i.profile)}" data-sakai-entitytype="user"></button>
                    <a href="/~${i.profile.userid|urlSafe}"><img alt="pending icon" src="${sakai.api.Util.constructProfilePicture(i.profile)}"></a>
                    <div class="contacts_list">
                        <a href="/~${i.profile.userid|urlSafe}" class="s3d-bold s3d-regular-light-links" title="__MSG__VIEW__ ${sakai.api.User.getDisplayName(i.profile)}">${sakai.api.Util.applyThreeDots(sakai.api.User.getDisplayName(i.profile), 170, null, "s3d-bold")}</a>
                        <div class="contacts_item_counts">
                            <a class="s3d-regular-light-links" href="/~${i.profile.userid|urlSafe}#l=library" title="${i.profile.counts.contentCount}{if i.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">
                                ${i.profile.counts.contentCount} {if i.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${i.profile.userid|urlSafe}#l=contacts" title="${i.profile.counts.contactsCount}{if i.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}">
                                ${i.profile.counts.contactsCount} {if i.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${i.profile.userid|urlSafe}#l=memberships" title="${i.profile.counts.membershipsCount}{if i.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}">
                                ${i.profile.counts.membershipsCount} {if i.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}
                            </a>
                        </div>
                        {if i.profile.basic.elements && i.profile.basic.elements.description && i.profile.basic.elements.description.value}
                            <div class="contacts_item_description"><span>${i.profile.basic.elements.description.value}</span></div>
                        {/if}
                        {if i.profile["sakai:tags"] && i.profile["sakai:tags"].length > 0}
                            <div class="contacts_item_tags">
                                <span class="contacts_item_icon contacts_item_tags_icon"></span>
                                <p class="contacts_item_tags_list">
                                    {for t in i.profile["sakai:tags"]}{if t.split("/")[0] !== "directory"}{if t_index > 0} <span class="contacts_item_tags_dot"> &bull;</span>{/if} <a class="s3d-regular-light-links" href="/search#q=${t}" title="${t}">${t}</a>{/if}{/for}
                                </p>
                            </div>
                        {/if}
                        <div style="display:none;">
                            <button type="button" class="s3d-link-button s3d-bold contacts_add_to_contacts" id="contacts_add_to_contacts_${i.profile.userid}">__MSG__ADD_TO_CONTACTS__</button>
                        </div>
                    </div>
                </div>
            {/for}
            {if count > 0}
                <div class="contacts_item_end"></div>
            {/if}
        </div>
    {/if}

    <div class="contacts_main" id="contacts_accepted">
        {if accepted.results.length}
            {if sakai_global.profile.main.mode.value !== "view"}
                <h2>__MSG__MY_CONTACTS__</h2>
            {else}
                <h2>${sakai_global.profile.main.data.basic.elements.firstName.value}'s __MSG__CONTACTS__</h2>
            {/if}
            {var count = 0}
            {for a in accepted.results}
                {var count = count + 1}
                <div class="fl-container fl-fix contacts_item contacts_accepted_items{if count == 1} contacts_item_first{/if}">
                    <div class="contacts_item_left_filler" style="display:none;">
                        {if sakai_global.profile.main.mode.value !== "view"}
                            <input type="checkbox" name="checkbox_${a.profile.userid}" />
                        {/if}
                    </div>
                    <button title="__MSG__SEND_MESSAGE__" class="s3d-link-button contacts_item_message_icon sakai_sendmessage_overlay" data-sakai-entityid="${a.profile.userid}" data-sakai-entityname="${sakai.api.User.getDisplayName(a.profile)}" data-sakai-entitytype="user"></button>
                    {if !sakai.data.me.user.anon && sakai_global.profile.main.mode.value !== "view"}
                        <button type="button" class="s3d-link-button s3d-action-icon s3d-actions-delete" data-sakai-entityid="${a.profile.userid}" data-sakai-entityname="${sakai.api.User.getDisplayName(a.profile)}"></button>
                    {elseif !sakai.data.me.user.anon}
                        {if !a.connected}
                            <button title="__MSG__REQUEST_CONNECTION__" class="s3d-link-button s3d-action-icon s3d-actions-addtolibrary sakai_addtocontacts_overlay" sakai-entityid="${a.profile.userid}" sakai-entityname="${sakai.api.User.getDisplayName(a.profile)}" {if a.profile.picture}sakai-entitypicture="${a.profile.picture}"{/if}></button>
                            <div class="left_filler" id="left_filler_${a.profile.userid}" style="display:none;"></div>
                        {else}
                            <div class="left_filler"><img src="/dev/images/accept.png" alt="__MSG__USER_IS_A_CONTACT__" /></div>
                        {/if}
                    {/if}
                    <a href="/~${a.profile.userid|urlSafe}"><img alt="accepted icon" src="${sakai.api.Util.constructProfilePicture(a.profile)}"></a>
                    <div class="contacts_list">
                        <a href="/~${a.profile.userid|urlSafe}" class="s3d-bold s3d-regular-light-links" title="__MSG__VIEW__ ${sakai.api.User.getDisplayName(a.profile)}">${sakai.api.Util.applyThreeDots(sakai.api.User.getDisplayName(a.profile), 170, null, "s3d-bold")}</a>
                        <div class="contacts_item_counts">
                            <a class="s3d-regular-light-links" href="/~${a.profile.userid|urlSafe}#l=library" title="${a.profile.counts.contentCount}{if a.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">
                                ${a.profile.counts.contentCount} {if a.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${a.profile.userid|urlSafe}#l=contacts" title="${a.profile.counts.contactsCount}{if a.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}">
                                ${a.profile.counts.contactsCount} {if a.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}
                            </a><commit_msg>SAKIII-3789 display tick next to users name if on someone elses contact list<commit_after><!-- CSS -->
<link rel="stylesheet" type="text/css" href="/devwidgets/contacts/css/contacts.css" />

<!-- WIDGET HEADER -->
<div class="fl-widget-titlebar s3d-widget-titlebar contacts-widget-border" style="display:none">
    <div class="widget-titlebar-inner s3d-widget-titlebar-inner">
        <h2 id="contacts_title" class="contacts_title widget_title" style="display:none">__MSG__RECENT_CONTACTS__</h2>
    </div>
</div>

<!-- WIDGET BODY -->
<div class="fl-widget-content s3d-widget-content">
    <div id="contacts_container"><!----></div>
</div>

<div class="s3d-widget-no-options">
    <div class="s3d-widget-no-options-inner"><!----></div>
</div>

<div id="contacts_template"><!--
    <div class="s3d-contentpage-title">__MSG__CONTACTS__ {if accepted.total} (${accepted.total}){/if}</div>
    {if pending && pending.results.length}
        <div class="contacts_main" id="contacts_pending" style="display:none;">
            <h2>__MSG__PENDING_CONTACT_REQUEST_TO_OTHER_PEOPLE__</h2>
            {var count = 0}
            {for p in pending.results}
                {var count = count + 1}
                <div class="fl-container fl-fix contacts_item{if count == 1} contacts_item_first{/if}">
                    <div class="contacts_item_left_filler"></div>
                    <a href="/~${p.profile.userid|urlSafe}"><img alt="pending icon" src="${sakai.api.Util.constructProfilePicture(p.profile)}"></a>
                    <div class="contacts_list">
                        <a href="/~${p.profile.userid|urlSafe}" class="s3d-bold s3d-regular-light-links" title="__MSG__VIEW__ ${sakai.api.User.getDisplayName(p.profile)}">${sakai.api.Util.applyThreeDots(sakai.api.User.getDisplayName(p.profile), 170, null, "s3d-bold")}</a>
                        <div class="contacts_item_counts">
                            <a class="s3d-regular-light-links" href="/~${p.profile.userid|urlSafe}#l=library" title="${p.profile.counts.contentCount}{if p.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">
                                ${p.profile.counts.contentCount} {if p.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${p.profile.userid|urlSafe}#l=contacts" title="${p.profile.counts.contactsCount}{if p.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}">
                                ${p.profile.counts.contactsCount} {if p.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${p.profile.userid|urlSafe}#l=memberships" title="${p.profile.counts.membershipsCount}{if p.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}">
                                ${p.profile.counts.membershipsCount} {if p.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}
                            </a>
                        </div>
                        {if p.profile.basic.elements && p.profile.basic.elements.description && p.profile.basic.elements.description.value}
                            <div class="contacts_item_description"><span>${p.profile.basic.elements.description.value}</span></div>
                        {/if}
                        {if p.profile["sakai:tags"] && p.profile["sakai:tags"].length > 0}
                            <div class="contacts_item_tags">
                                <span class="contacts_item_icon contacts_item_tags_icon"></span>
                                <p class="contacts_item_tags_list">
                                    {for t in p.profile["sakai:tags"]}{if t.split("/")[0] !== "directory"}{if t_index > 0} <span class="contacts_item_tags_dot"> &bull;</span>{/if} <a class="s3d-regular-light-links" href="/search#q=${t}" title="${t}">${t}</a>{/if}{/for}
                                </p>
                            </div>
                        {/if}
                    </div>
                </div>
            {/for}
            {if count > 0}
                <div class="contacts_item_end"></div>
            {/if}
        </div>
    {/if}

    {if invited && invited.results.length}
        <div class="contacts_main" id="contacts_invited">
            <h2>__MSG__PENDING_CONTACT_REQUEST_FROM_OTHER_PEOPLE__</h2>
            {var count = 0}
            {for i in invited.results}
                {var count = count + 1}
                <div class="fl-container fl-fix contacts_item{if count == 1} contacts_item_first{/if}">
                    <div class="contacts_item_left_filler">
                        <button title="__MSG__ACCEPT_CONNECTION__" class="s3d-link-button s3d-action-icon s3d-actions-addtolibrary contacts_item_plus contacts_add_to_contacts" id="contacts_add_to_contacts_${i.profile.userid}"></button>
                        <input type="checkbox" name="checkbox_${i.profile.userid}" style="display:none"/>
                    </div>
                    <button title="__MSG__SEND_MESSAGE__" class="s3d-link-button contacts_item_message_icon sakai_sendmessage_overlay" data-sakai-entityid="${i.profile.userid}" data-sakai-entityname="${sakai.api.User.getDisplayName(i.profile)}" data-sakai-entitytype="user"></button>
                    <a href="/~${i.profile.userid|urlSafe}"><img alt="pending icon" src="${sakai.api.Util.constructProfilePicture(i.profile)}"></a>
                    <div class="contacts_list">
                        <a href="/~${i.profile.userid|urlSafe}" class="s3d-bold s3d-regular-light-links" title="__MSG__VIEW__ ${sakai.api.User.getDisplayName(i.profile)}">${sakai.api.Util.applyThreeDots(sakai.api.User.getDisplayName(i.profile), 170, null, "s3d-bold")}</a>
                        <div class="contacts_item_counts">
                            <a class="s3d-regular-light-links" href="/~${i.profile.userid|urlSafe}#l=library" title="${i.profile.counts.contentCount}{if i.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">
                                ${i.profile.counts.contentCount} {if i.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${i.profile.userid|urlSafe}#l=contacts" title="${i.profile.counts.contactsCount}{if i.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}">
                                ${i.profile.counts.contactsCount} {if i.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${i.profile.userid|urlSafe}#l=memberships" title="${i.profile.counts.membershipsCount}{if i.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}">
                                ${i.profile.counts.membershipsCount} {if i.profile.counts.membershipsCount == 1} __MSG__MEMBERSHIP__{else} __MSG__MEMBERSHIPS__{/if}
                            </a>
                        </div>
                        {if i.profile.basic.elements && i.profile.basic.elements.description && i.profile.basic.elements.description.value}
                            <div class="contacts_item_description"><span>${i.profile.basic.elements.description.value}</span></div>
                        {/if}
                        {if i.profile["sakai:tags"] && i.profile["sakai:tags"].length > 0}
                            <div class="contacts_item_tags">
                                <span class="contacts_item_icon contacts_item_tags_icon"></span>
                                <p class="contacts_item_tags_list">
                                    {for t in i.profile["sakai:tags"]}{if t.split("/")[0] !== "directory"}{if t_index > 0} <span class="contacts_item_tags_dot"> &bull;</span>{/if} <a class="s3d-regular-light-links" href="/search#q=${t}" title="${t}">${t}</a>{/if}{/for}
                                </p>
                            </div>
                        {/if}
                        <div style="display:none;">
                            <button type="button" class="s3d-link-button s3d-bold contacts_add_to_contacts" id="contacts_add_to_contacts_${i.profile.userid}">__MSG__ADD_TO_CONTACTS__</button>
                        </div>
                    </div>
                </div>
            {/for}
            {if count > 0}
                <div class="contacts_item_end"></div>
            {/if}
        </div>
    {/if}

    <div class="contacts_main" id="contacts_accepted">
        {if accepted.results.length}
            {if sakai_global.profile.main.mode.value !== "view"}
                <h2>__MSG__MY_CONTACTS__</h2>
            {else}
                <h2>${sakai_global.profile.main.data.basic.elements.firstName.value}'s __MSG__CONTACTS__</h2>
            {/if}
            {var count = 0}
            {for a in accepted.results}
                {var count = count + 1}
                <div class="fl-container fl-fix contacts_item contacts_accepted_items{if count == 1} contacts_item_first{/if}">
                    <div class="contacts_item_left_filler" style="display:none;">
                        {if sakai_global.profile.main.mode.value !== "view"}
                            <input type="checkbox" name="checkbox_${a.profile.userid}" />
                        {/if}
                    </div>
                    <button title="__MSG__SEND_MESSAGE__" class="s3d-link-button contacts_item_message_icon sakai_sendmessage_overlay" data-sakai-entityid="${a.profile.userid}" data-sakai-entityname="${sakai.api.User.getDisplayName(a.profile)}" data-sakai-entitytype="user"></button>
                    {if !sakai.data.me.user.anon && sakai_global.profile.main.mode.value !== "view"}
                        <button type="button" class="s3d-link-button s3d-action-icon s3d-actions-delete" data-sakai-entityid="${a.profile.userid}" data-sakai-entityname="${sakai.api.User.getDisplayName(a.profile)}"></button>
                    {elseif !sakai.data.me.user.anon}
                        {if !a.connected && sakai.data.me.user.userid !== a.profile.userid}
                            <button title="__MSG__REQUEST_CONNECTION__" class="s3d-link-button s3d-action-icon s3d-actions-addtolibrary sakai_addtocontacts_overlay" sakai-entityid="${a.profile.userid}" sakai-entityname="${sakai.api.User.getDisplayName(a.profile)}" {if a.profile.picture}sakai-entitypicture="${a.profile.picture}"{/if}></button>
                            <div class="left_filler" id="left_filler_${a.profile.userid}" style="display:none;"></div>
                        {else}
                            <div class="left_filler"><img src="/dev/images/accept.png" alt="__MSG__USER_IS_A_CONTACT__" /></div>
                        {/if}
                    {/if}
                    <a href="/~${a.profile.userid|urlSafe}"><img alt="accepted icon" src="${sakai.api.Util.constructProfilePicture(a.profile)}"></a>
                    <div class="contacts_list">
                        <a href="/~${a.profile.userid|urlSafe}" class="s3d-bold s3d-regular-light-links" title="__MSG__VIEW__ ${sakai.api.User.getDisplayName(a.profile)}">${sakai.api.Util.applyThreeDots(sakai.api.User.getDisplayName(a.profile), 170, null, "s3d-bold")}</a>
                        <div class="contacts_item_counts">
                            <a class="s3d-regular-light-links" href="/~${a.profile.userid|urlSafe}#l=library" title="${a.profile.counts.contentCount}{if a.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}">
                                ${a.profile.counts.contentCount} {if a.profile.counts.contentCount == 1} __MSG__CONTENT_ITEM__{else} __MSG__CONTENT_ITEMS__{/if}
                            </a>
                            <span class="contacts_item_detail_separator">|</span>
                            <a class="s3d-regular-light-links" href="/~${a.profile.userid|urlSafe}#l=contacts" title="${a.profile.counts.contactsCount}{if a.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}">
                                ${a.profile.counts.contactsCount} {if a.profile.counts.contactsCount == 1} __MSG__CONTACT_LC__{else} __MSG__CONTACTS_LC__{/if}
                            </a>
{'fraction_non_alphanumeric': 0.1515981030959633, 'fraction_numerical': 0.0070941126575933995, 'mean_word_length': 2.2237136465324383, 'pattern_counts': {'":': 0, '<': 307, '<?xml version=': 0, '>': 317, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4648286', 'n_tokens_mistral': 8420, 'n_tokens_neox': 8111, 'n_words': 1005}