<commit_before>//
// パズル固有スクリプト部 ドッスンフワリ版 dosufuwa.js
//
(function(pidlist, classbase){
	if(typeof module==='object' && module.exports){module.exports = [pidlist, classbase];}
	else{ pzpr.classmgr.makeCustom(pidlist, classbase);}
}(
['dosufuwa'], {
//---------------------------------------------------------
// マウス入力系
MouseEvent:{
	inputModes : {edit:['border'],play:['balloon','ironball','objblank']},
	mouseinput : function(){ // オーバーライド
		if(this.puzzle.playmode && this.inputMode!=='auto'){
			this.inputcell_dosufuwa();
		}
		else{ this.common.mouseinput.call(this);}
	},
	mouseinput_auto : function(){
		if(this.puzzle.playmode){
			if(this.mousestart || this.mousemove){ this.inputcell_dosufuwa();}
		}
		else if(this.puzzle.editmode){
			if(this.mousestart || this.mousemove){ this.inputborder();}
			else if(this.mouseend && this.notInputted()){ this.inputblock();}
		}
	},

	inputcell_dosufuwa : function(){
		var cell = this.getcell();
		if(cell.isnull || cell===this.mouseCell || cell.ques===1){ return;}

		if(this.inputData===null){
			if(this.inputMode==='balloon'){<commit_msg>dosufuwa: Add shade input mode<commit_after>//
// パズル固有スクリプト部 ドッスンフワリ版 dosufuwa.js
//
(function(pidlist, classbase){
	if(typeof module==='object' && module.exports){module.exports = [pidlist, classbase];}
	else{ pzpr.classmgr.makeCustom(pidlist, classbase);}
}(
['dosufuwa'], {
//---------------------------------------------------------
// マウス入力系
MouseEvent:{
	inputModes : {edit:['shade','border'],play:['balloon','ironball','objblank']},
	mouseinput : function(){ // オーバーライド
		if(this.puzzle.playmode && this.inputMode!=='auto'){
			this.inputcell_dosufuwa();
		}
		else if(this.inputMode==='shade'){ if(this.mousestart){ this.inputblock();}}
		else{ this.common.mouseinput.call(this);}
	},
	mouseinput_auto : function(){
		if(this.puzzle.playmode){
			if(this.mousestart || this.mousemove){ this.inputcell_dosufuwa();}
		}
		else if(this.puzzle.editmode){
			if(this.mousestart || this.mousemove){ this.inputborder();}
			else if(this.mouseend && this.notInputted()){ this.inputblock();}
		}
	},

	inputcell_dosufuwa : function(){
		var cell = this.getcell();
		if(cell.isnull || cell===this.mouseCell || cell.ques===1){ return;}

		if(this.inputData===null){
			if(this.inputMode==='balloon'){
{'fraction_non_alphanumeric': 0.24214659685863874, 'fraction_numerical': 0.0008726003490401396, 'mean_word_length': 4.006550218340611, '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': '6476570', 'n_tokens_mistral': 916, 'n_tokens_neox': 861, 'n_words': 113}