<commit_before>const px = require("../px"),
	dom = require("../dom"),
	sock = require("../sock"),
	util = require("../util"),
	mkGame = require('../mkGame'),
	etgutil = require("../etgutil"),
	options = require("../options"),
	Components = require('../Components'),
	h = preact.h;

function sendChallenge(foe) {
	var deck = sock.getDeck();
	if (etgutil.decklength(deck) < (sock.user ? 31 : 9)) {
		require("./Editor")();
		return;
	}
	var gameData = {};
	options.parsepvpstats(gameData);
	if (sock.user) {
		gameData.f = foe;
		sock.userEmit("foewant", gameData);
	} else {
		gameData.deck = deck;<commit_msg>grep found a stray old-style navigation<commit_after>const px = require("../px"),
	dom = require("../dom"),
	sock = require("../sock"),
	util = require("../util"),
	mkGame = require('../mkGame'),
	etgutil = require("../etgutil"),
	options = require("../options"),
	Components = require('../Components'),
	h = preact.h;

function sendChallenge(foe) {
	var deck = sock.getDeck();
	if (etgutil.decklength(deck) < (sock.user ? 31 : 9)) {
		px.doNav(require("./Editor"));
		return;
	}
	var gameData = {};
	options.parsepvpstats(gameData);
	if (sock.user) {
		gameData.f = foe;
		sock.userEmit("foewant", gameData);
	} else {
		gameData.deck = deck;
{'fraction_non_alphanumeric': 0.21884984025559107, 'fraction_numerical': 0.004792332268370607, 'mean_word_length': 3.8192307692307694, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7106280', 'n_tokens_mistral': 474, 'n_tokens_neox': 455, 'n_words': 90}