<commit_before>// Documents list and user data

'use strict';

var renderDocumentsList = require('./_business-process-draw-document-list')
  , renderCertificateList = require('./_business-process-draw-certificate-list')
  , renderPaymentList = require('./_business-process-draw-payment-list');

exports._parent = require('./business-process-official');
exports._match = 'businessProcess';

exports['business-process-official-documents'] = { class: { active: true } };
exports['business-process-official-content'] = function (/*options*/) {
	var options = Object(arguments[1])
	  , urlPrefix = options.urlPrefix || '/'
	  , businessProcess = this.businessProcess
	  , uploadsResolver = options.uploadsResolver || businessProcess
	  , selectedDocumentId = this.document ?  this.document.__id__ : null;

	return [section({ class: 'section-primary' },
			div({ class: "section-primary-sub all-documents-table" },
				div(renderDocumentsList(businessProcess, urlPrefix, selectedDocumentId)),
				div(renderPaymentList(uploadsResolver, urlPrefix)),
				div(renderCertificateList(uploadsResolver, urlPrefix))),
			div({ id: 'submitted-box', class: 'business-process-submitted-box' }),
			div({ id: 'user-document', class: 'business-process-submitted-selected-document' },
				div({ class: 'submitted-preview' },<commit_msg>Adds missing vars for highlight<commit_after>// Documents list and user data

'use strict';

var renderDocumentsList = require('./_business-process-draw-document-list')
  , renderCertificateList = require('./_business-process-draw-certificate-list')
  , renderPaymentList = require('./_business-process-draw-payment-list');

exports._parent = require('./business-process-official');
exports._match = 'businessProcess';

exports['business-process-official-documents'] = { class: { active: true } };
exports['business-process-official-content'] = function (/*options*/) {
	var options = Object(arguments[1])
	  , urlPrefix = options.urlPrefix || '/'
	  , businessProcess = this.businessProcess
	  , uploadsResolver = options.uploadsResolver || businessProcess
	  , selectedDocumentId = this.document ?  this.document.__id__ : null;

	return [section({ class: 'section-primary' },
			div({ class: "section-primary-sub all-documents-table" },
				div(renderDocumentsList(businessProcess, urlPrefix, selectedDocumentId)),
				div(renderPaymentList(uploadsResolver, urlPrefix, selectedDocumentId)),
				div(renderCertificateList(uploadsResolver, urlPrefix, selectedDocumentId))),
			div({ id: 'submitted-box', class: 'business-process-submitted-box' }),
			div({ id: 'user-document', class: 'business-process-submitted-selected-document' },
				div({ class: 'submitted-preview' },
{'fraction_non_alphanumeric': 0.14869888475836432, 'fraction_numerical': 0.0007434944237918215, 'mean_word_length': 5.453237410071942, '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': '6603481', 'n_tokens_mistral': 798, 'n_tokens_neox': 731, 'n_words': 142}