<commit_before>import { STATION_ENTRANCE, SHADING_SURVEY } from '../core/constants';

import { Page } from './Page';
import { SurveyColours } from '../core/SurveyColours';

function SelectionPage ( frame, viewer, container, fileSelector ) {

	Page.call( this, 'icon_explore', 'explore' );

	frame.addPage( this );

	const titleBar = document.createElement( 'div' );
	const surveyTree = viewer.getSurveyTree();
	const self = this;

	var nodes = null;
	var depth = 0;
	var currentHover = 0;
	var currentTop;
	var lastSelected = null;
	var lastShadingMode = viewer.shadingMode;

	const stringCompare = new Intl.Collator( 'en-GB', { numeric: true } ).compare;

	currentTop = surveyTree;

	if ( ! viewer.surveyLoaded ) return;

	this.addHeader( 'Selection' );<commit_msg>remove unrequired check<commit_after>import { STATION_ENTRANCE, SHADING_SURVEY } from '../core/constants';

import { Page } from './Page';
import { SurveyColours } from '../core/SurveyColours';

function SelectionPage ( frame, viewer, container, fileSelector ) {

	Page.call( this, 'icon_explore', 'explore' );

	frame.addPage( this );

	const titleBar = document.createElement( 'div' );
	const surveyTree = viewer.getSurveyTree();
	const self = this;

	var nodes = null;
	var depth = 0;
	var currentHover = 0;
	var currentTop;
	var lastSelected = null;
	var lastShadingMode = viewer.shadingMode;

	const stringCompare = new Intl.Collator( 'en-GB', { numeric: true } ).compare;

	currentTop = surveyTree;

	this.addHeader( 'Selection' );
{'fraction_non_alphanumeric': 0.13107119095143047, 'fraction_numerical': 0.0026613439787092482, 'mean_word_length': 4.529411764705882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2730707', 'n_tokens_mistral': 509, 'n_tokens_neox': 482, 'n_words': 133}