<commit_before><%--@elvariable id="hasDifferentialResults" type="boolean"--%>
<%--@elvariable id="identifier" type="java.lang.String"--%>
<%--@elvariable id="queryType" type="java.lang.String"--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="h" %>

<c:set var="thisPage" value="${requestScope['javax.servlet.forward.request_uri']}"/>

<div class="grid_6 alpha" id="gxaDifferentialFacetsContainerDiv"><img src="/gxa/resources/images/loading.gif"/></div>
<div class="grid_18 omega" id="gxaDifferentialResultsContainerDiv">
    <img src="/gxa/resources/images/loading.gif"/>
</div>

<script>
    var selectedSpecies = "${hasSelectedSpecies ? selectedSpecies : ''}";

    <c:if test="${hasDifferentialResults}">
    var differentialSearcher = window.exposed.differential;

    differentialSearcher({
        facetsContainer: "gxaDifferentialFacetsContainerDiv",
        resultsContainer: "gxaDifferentialResultsContainerDiv",<commit_msg>Display only one “Loading...” spinner<commit_after><%--@elvariable id="hasDifferentialResults" type="boolean"--%>
<%--@elvariable id="identifier" type="java.lang.String"--%>
<%--@elvariable id="queryType" type="java.lang.String"--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="h" %>

<c:set var="thisPage" value="${requestScope['javax.servlet.forward.request_uri']}"/>

<div class="grid_6 alpha" id="gxaDifferentialFacetsContainerDiv"></div>
<div class="grid_18 omega" id="gxaDifferentialResultsContainerDiv">
    <img src="/gxa/resources/images/loading.gif"/>
</div>

<script>
    var selectedSpecies = "${hasSelectedSpecies ? selectedSpecies : ''}";

    <c:if test="${hasDifferentialResults}">
    var differentialSearcher = window.exposed.differential;

    differentialSearcher({
        facetsContainer: "gxaDifferentialFacetsContainerDiv",
        resultsContainer: "gxaDifferentialResultsContainerDiv",
{'fraction_non_alphanumeric': 0.1874405328258801, 'fraction_numerical': 0.003805899143672693, 'mean_word_length': 6.08080808080808, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '421199', 'n_tokens_mistral': 714, 'n_tokens_neox': 669, 'n_words': 98}