<commit_before><div class="equation-editor" tabindex="0">
    <div top-menu="\text{H}\, \text{He}\, \text{Li}" ng-if="(editorMode == 'chemistry') && isLandscape">
        <div ng-if="symbolLibrary.customChemicalSymbols" symbol-menu symbols="symbolLibrary.customChemicalSymbols"></div>
        <div ng-if="!symbolLibrary.customChemicalSymbols" sub-menu></div>
        <div ng-if="!symbolLibrary.customChemicalSymbols" sub-menu-item menu-title="elementsTitle" symbol-menu symbols="symbolLibrary.chemicalElements"></div>
        <div ng-if="!symbolLibrary.customChemicalSymbols" sub-menu-item menu-title="particlesTitle" symbol-menu symbols="symbolLibrary.particles"></div>

    </div>
    <div top-menu="123" ng-if="isLandscape">
        <div symbols="symbolLibrary.theNumbers" number-entry></div>
    </div>
    <div top-menu="(aq)\, (g)\, (l)" ng-if="(editorMode == 'chemistry') && isLandscape">
        <div symbol-menu symbols="symbolLibrary.theStates"></div>
    </div>
    <div top-menu="abc\,\, \alpha \beta \gamma" ng-if="isLandscape && (editorMode == 'maths')">
        <div ng-if="symbolLibrary.customVars" symbol-menu symbols="symbolLibrary.customVars"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="latinLetterTitle" symbol-menu symbols="symbolLibrary.latinLetters"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="latinLetterUpperTitle" symbol-menu symbols="symbolLibrary.latinLettersUpper"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="greekLetterTitle" symbol-menu symbols="symbolLibrary.greekLetters"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="greekLetterUpperTitle" symbol-menu symbols="symbolLibrary.greekLettersUpper"></div>
    </div>
    <div top-menu="+\, -\, \sqrt{x}" ng-if="isLandscape && (editorMode == 'maths')">
        <div ng-if="symbolLibrary.augmentedOps" symbol-menu symbols="symbolLibrary.augmentedOps"></div>
        <div ng-if="!symbolLibrary.augmentedOps" symbol-menu symbols="symbolLibrary.reducedOps"></div>
        <!--<div sub-menu></div>
        <div sub-menu-item menu-title="equalityTitle" symbol-menu symbols="symbolLibrary.equality"></div>
        <div sub-menu-item menu-title="operatorMenuTitle" symbol-menu symbols="symbolLibrary.operators"></div>
        <div sub-menu-item menu-title="trigTitle" symbol-menu symbols="symbolLibrary.trig"></div>
        <div sub-menu-item menu-title="calculusTitle" symbol-menu symbols="symbolLibrary.calculus"></div>-->
    </div>
    <div top-menu="\rightarrow\, \rightleftharpoons\, +" ng-if="isLandscape && (editorMode == 'chemistry')">
        <div symbol-menu symbols="symbolLibrary."></div>
        <!--<div sub-menu></div>
        <div sub-menu-item menu-title="equalityTitle" symbol-menu symbols="symbolLibrary.equality"></div>
        <div sub-menu-item menu-title="operatorMenuTitle" symbol-menu symbols="symbolLibrary.operators"></div>
        <div sub-menu-item menu-title="trigTitle" symbol-menu symbols="symbolLibrary.trig"></div>
        <div sub-menu-item menu-title="calculusTitle" symbol-menu symbols="symbolLibrary.calculus"></div>-->
    </div>
    <div top-menu="\sin\,\, \int" ng-if="isLandscape && (editorMode == 'maths')" style="font-size: 23px !important;">
        <div ng-if="symbolLibrary.customFunctions" symbol-menu symbols="symbolLibrary.customFunctions"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="trigTitle" symbol-menu symbols="symbolLibrary.augmentedTrig"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="hypTrigTitle" symbol-menu symbols="symbolLibrary.hypTrigFunctions"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="otherFnTitle" symbol-menu symbols="symbolLibrary.otherFns"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="derivativesTitle" symbol-menu symbols="symbolLibrary.derivatives"></div>
    </div>
    <!--
    <div class="canvas-offsetter" ng-style="canvasOffset" ng-if="isLandscape">
        <div ng-repeat="(sid, s) in state.symbols" canvas-symbol symbol="s" symbol-id="sid" id="{{sid}}"     selected="selectedSymbols.indexOf(sid) > -1" tabindex="0"></div>
    </div>

    <div ng-show="selectedSymbols.length" ng-if="isLandscape" selection-handle></div>

    <div ng-show="dragMode=='selectionBox'" ng-if="isLandscape" class="selection-box"></div>
-->
    <!-- BUTTONS -->
    <div class="hex-button centre" ng-click="centre()" ng-if="isLandscape"></div>
    <div class="hex-button undo" ng-click="undo()" ng-if="historyPtr > 1 && isLandscape"></div><commit_msg>Putting chemOps back where it was. Not sure what happened here.<commit_after><div class="equation-editor" tabindex="0">
    <div top-menu="\text{H}\, \text{He}\, \text{Li}" ng-if="(editorMode == 'chemistry') && isLandscape">
        <div ng-if="symbolLibrary.customChemicalSymbols" symbol-menu symbols="symbolLibrary.customChemicalSymbols"></div>
        <div ng-if="!symbolLibrary.customChemicalSymbols" sub-menu></div>
        <div ng-if="!symbolLibrary.customChemicalSymbols" sub-menu-item menu-title="elementsTitle" symbol-menu symbols="symbolLibrary.chemicalElements"></div>
        <div ng-if="!symbolLibrary.customChemicalSymbols" sub-menu-item menu-title="particlesTitle" symbol-menu symbols="symbolLibrary.particles"></div>

    </div>
    <div top-menu="123" ng-if="isLandscape">
        <div symbols="symbolLibrary.theNumbers" number-entry></div>
    </div>
    <div top-menu="(aq)\, (g)\, (l)" ng-if="(editorMode == 'chemistry') && isLandscape">
        <div symbol-menu symbols="symbolLibrary.theStates"></div>
    </div>
    <div top-menu="abc\,\, \alpha \beta \gamma" ng-if="isLandscape && (editorMode == 'maths')">
        <div ng-if="symbolLibrary.customVars" symbol-menu symbols="symbolLibrary.customVars"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="latinLetterTitle" symbol-menu symbols="symbolLibrary.latinLetters"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="latinLetterUpperTitle" symbol-menu symbols="symbolLibrary.latinLettersUpper"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="greekLetterTitle" symbol-menu symbols="symbolLibrary.greekLetters"></div>
        <div ng-if="!symbolLibrary.customVars" sub-menu-item menu-title="greekLetterUpperTitle" symbol-menu symbols="symbolLibrary.greekLettersUpper"></div>
    </div>
    <div top-menu="+\, -\, \sqrt{x}" ng-if="isLandscape && (editorMode == 'maths')">
        <div ng-if="symbolLibrary.augmentedOps" symbol-menu symbols="symbolLibrary.augmentedOps"></div>
        <div ng-if="!symbolLibrary.augmentedOps" symbol-menu symbols="symbolLibrary.reducedOps"></div>
        <!--<div sub-menu></div>
        <div sub-menu-item menu-title="equalityTitle" symbol-menu symbols="symbolLibrary.equality"></div>
        <div sub-menu-item menu-title="operatorMenuTitle" symbol-menu symbols="symbolLibrary.operators"></div>
        <div sub-menu-item menu-title="trigTitle" symbol-menu symbols="symbolLibrary.trig"></div>
        <div sub-menu-item menu-title="calculusTitle" symbol-menu symbols="symbolLibrary.calculus"></div>-->
    </div>
    <div top-menu="\rightarrow\, \rightleftharpoons\, +" ng-if="isLandscape && (editorMode == 'chemistry')">
        <div symbol-menu symbols="symbolLibrary.chemOps"></div>
        <!--<div sub-menu></div>
        <div sub-menu-item menu-title="equalityTitle" symbol-menu symbols="symbolLibrary.equality"></div>
        <div sub-menu-item menu-title="operatorMenuTitle" symbol-menu symbols="symbolLibrary.operators"></div>
        <div sub-menu-item menu-title="trigTitle" symbol-menu symbols="symbolLibrary.trig"></div>
        <div sub-menu-item menu-title="calculusTitle" symbol-menu symbols="symbolLibrary.calculus"></div>-->
    </div>
    <div top-menu="\sin\,\, \int" ng-if="isLandscape && (editorMode == 'maths')" style="font-size: 23px !important;">
        <div ng-if="symbolLibrary.customFunctions" symbol-menu symbols="symbolLibrary.customFunctions"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="trigTitle" symbol-menu symbols="symbolLibrary.augmentedTrig"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="hypTrigTitle" symbol-menu symbols="symbolLibrary.hypTrigFunctions"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="otherFnTitle" symbol-menu symbols="symbolLibrary.otherFns"></div>
        <div ng-if="!symbolLibrary.customFunctions" sub-menu-item menu-title="derivativesTitle" symbol-menu symbols="symbolLibrary.derivatives"></div>
    </div>
    <!--
    <div class="canvas-offsetter" ng-style="canvasOffset" ng-if="isLandscape">
        <div ng-repeat="(sid, s) in state.symbols" canvas-symbol symbol="s" symbol-id="sid" id="{{sid}}"     selected="selectedSymbols.indexOf(sid) > -1" tabindex="0"></div>
    </div>

    <div ng-show="selectedSymbols.length" ng-if="isLandscape" selection-handle></div>

    <div ng-show="dragMode=='selectionBox'" ng-if="isLandscape" class="selection-box"></div>
-->
    <!-- BUTTONS -->
    <div class="hex-button centre" ng-click="centre()" ng-if="isLandscape"></div>
    <div class="hex-button undo" ng-click="undo()" ng-if="historyPtr > 1 && isLandscape"></div>
{'fraction_non_alphanumeric': 0.18052256532066507, 'fraction_numerical': 0.001858928018176185, 'mean_word_length': 4.486685552407932, 'pattern_counts': {'":': 0, '<': 189, '<?xml version=': 0, '>': 193, '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': '1363654', 'n_tokens_mistral': 3051, 'n_tokens_neox': 2962, 'n_words': 481}