<commit_before><?php

use DaveJamesMiller\Breadcrumbs\Generator;
use DaveJamesMiller\Breadcrumbs\Facade as Breadcrumbs;

/*
 * Asset crumbs
 */
Breadcrumbs::register('maintenance.assets.index', function (Generator $breadcrumbs) {
    $breadcrumbs->push('Assets', route('maintenance.assets.index'));
});

Breadcrumbs::register('maintenance.assets.create', function (Generator $breadcrumbs) {
    $breadcrumbs->parent('maintenance.assets.index');
    $breadcrumbs->push('Create', route('maintenance.assets.index'));
});

Breadcrumbs::register('maintenance.assets.show', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.index');
    $breadcrumbs->push("ID: $assetId", route('maintenance.assets.show', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.edit', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Edit', route('maintenance.assets.edit', [$assetId]));
});
/*
 * End Asset crumbs
 */

/*
 * Asset Event crumbs
 */
Breadcrumbs::register('maintenance.assets.events.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Events', route('maintenance.assets.events.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.events.create', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.events.index', $assetId);
    $breadcrumbs->push('Create', route('maintenance.assets.events.create', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.events.show', function (Generator $breadcrumbs, $assetId, $eventId) {
    $breadcrumbs->parent('maintenance.assets.events.index', $assetId);
    $breadcrumbs->push("ID: $eventId", route('maintenance.assets.events.show', [$assetId, $eventId]));
});

Breadcrumbs::register('maintenance.assets.events.edit', function (Generator $breadcrumbs, $assetId, $eventId) {
    $breadcrumbs->parent('maintenance.assets.events.show', $assetId, $eventId);
    $breadcrumbs->push('Edit', route('maintenance.assets.events.edit', [$assetId, $eventId]));
});
/*
 * End Asset Event crumbs
 */

/*
 * Asset Images crumbs
 */
Breadcrumbs::register('maintenance.assets.images.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Images', route('maintenance.assets.images.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.images.create', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.images.index', $assetId);
    $breadcrumbs->push('Create', route('maintenance.assets.images.create', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.images.show', function (Generator $breadcrumbs, $assetId, $attachmentId) {
    $breadcrumbs->parent('maintenance.assets.images.index', $assetId);
    $breadcrumbs->push('ID: '.$attachmentId, route('maintenance.assets.images.show', [$assetId, $attachmentId]));
});

Breadcrumbs::register('maintenance.assets.images.edit', function (Generator $breadcrumbs, $assetId, $attachmentId) {
    $breadcrumbs->parent('maintenance.assets.images.show', $assetId, $attachmentId);
    $breadcrumbs->push('Edit', route('maintenance.assets.images.edit', $assetId, $attachmentId));
});
/*
 * End Asset Images crumbs
 */

/*
 * Asset Manual crumbs
 */
Breadcrumbs::register('maintenance.assets.manuals.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Manuals', route('maintenance.assets.manuals.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.manuals.create', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.manuals.index', $assetId);
    $breadcrumbs->push('Create', route('maintenance.assets.manuals.create', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.manuals.show', function (Generator $breadcrumbs, $assetId, $attachmentId) {
    $breadcrumbs->parent('maintenance.assets.manuals.index', $assetId);
    $breadcrumbs->push('ID: '.$attachmentId, route('maintenance.assets.manuals.show', [$assetId, $attachmentId]));
});
/*
 * End Asset Manual crumbs
 */

/*
 * Asset Category crumbs
 */
Breadcrumbs::register('maintenance.assets.categories.index', function (Generator $breadcrumbs) {
    $breadcrumbs->parent('maintenance.assets.index');
    $breadcrumbs->push('Categories', route('maintenance.assets.categories.index'));
});

Breadcrumbs::register('maintenance.assets.categories.create', function (Generator $breadcrumbs) {
    $breadcrumbs->parent('maintenance.assets.categories.index');
    $breadcrumbs->push('Create', route('maintenance.assets.categories.create'));
});

Breadcrumbs::register('maintenance.assets.categories.nodes.create', function (Generator $breadcrumbs, $categoryId) {
    $breadcrumbs->parent('maintenance.assets.categories.index');
    $breadcrumbs->push("Sub-Category");
    $breadcrumbs->push('Create', route('maintenance.assets.categories.nodes.create', [$categoryId]));
});
/*
 * End Asset Category crumbs
 */

/*
 * Asset Work Order crumbs
 */
Breadcrumbs::register('maintenance.assets.work-orders.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Work Orders', route('maintenance.assets.work-orders.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.work-orders.attach.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.work-orders.index', $assetId);
    $breadcrumbs->push('Attach', route('maintenance.assets.work-orders.attach.index', [$assetId]));
});
/*
 * End Asset Work Order crumbs
 */
<commit_msg>Added missing asset meter crumbs<commit_after><?php

use DaveJamesMiller\Breadcrumbs\Generator;
use DaveJamesMiller\Breadcrumbs\Facade as Breadcrumbs;

/*
 * Asset crumbs
 */
Breadcrumbs::register('maintenance.assets.index', function (Generator $breadcrumbs) {
    $breadcrumbs->push('Assets', route('maintenance.assets.index'));
});

Breadcrumbs::register('maintenance.assets.create', function (Generator $breadcrumbs) {
    $breadcrumbs->parent('maintenance.assets.index');
    $breadcrumbs->push('Create', route('maintenance.assets.index'));
});

Breadcrumbs::register('maintenance.assets.show', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.index');
    $breadcrumbs->push("ID: $assetId", route('maintenance.assets.show', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.edit', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Edit', route('maintenance.assets.edit', [$assetId]));
});
/*
 * End Asset crumbs
 */

/*
 * Asset Event crumbs
 */
Breadcrumbs::register('maintenance.assets.events.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Events', route('maintenance.assets.events.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.events.create', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.events.index', $assetId);
    $breadcrumbs->push('Create', route('maintenance.assets.events.create', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.events.show', function (Generator $breadcrumbs, $assetId, $eventId) {
    $breadcrumbs->parent('maintenance.assets.events.index', $assetId);
    $breadcrumbs->push("ID: $eventId", route('maintenance.assets.events.show', [$assetId, $eventId]));
});

Breadcrumbs::register('maintenance.assets.events.edit', function (Generator $breadcrumbs, $assetId, $eventId) {
    $breadcrumbs->parent('maintenance.assets.events.show', $assetId, $eventId);
    $breadcrumbs->push('Edit', route('maintenance.assets.events.edit', [$assetId, $eventId]));
});
/*
 * End Asset Event crumbs
 */

/*
 * Asset Images crumbs
 */
Breadcrumbs::register('maintenance.assets.images.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Images', route('maintenance.assets.images.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.images.create', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.images.index', $assetId);
    $breadcrumbs->push('Create', route('maintenance.assets.images.create', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.images.show', function (Generator $breadcrumbs, $assetId, $attachmentId) {
    $breadcrumbs->parent('maintenance.assets.images.index', $assetId);
    $breadcrumbs->push('ID: '.$attachmentId, route('maintenance.assets.images.show', [$assetId, $attachmentId]));
});

Breadcrumbs::register('maintenance.assets.images.edit', function (Generator $breadcrumbs, $assetId, $attachmentId) {
    $breadcrumbs->parent('maintenance.assets.images.show', $assetId, $attachmentId);
    $breadcrumbs->push('Edit', route('maintenance.assets.images.edit', $assetId, $attachmentId));
});
/*
 * End Asset Images crumbs
 */

/*
 * Asset Manual crumbs
 */
Breadcrumbs::register('maintenance.assets.manuals.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Manuals', route('maintenance.assets.manuals.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.manuals.create', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.manuals.index', $assetId);
    $breadcrumbs->push('Create', route('maintenance.assets.manuals.create', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.manuals.show', function (Generator $breadcrumbs, $assetId, $attachmentId) {
    $breadcrumbs->parent('maintenance.assets.manuals.index', $assetId);
    $breadcrumbs->push('ID: '.$attachmentId, route('maintenance.assets.manuals.show', [$assetId, $attachmentId]));
});
/*
 * End Asset Manual crumbs
 */

/*
 * Asset Category crumbs
 */
Breadcrumbs::register('maintenance.assets.categories.index', function (Generator $breadcrumbs) {
    $breadcrumbs->parent('maintenance.assets.index');
    $breadcrumbs->push('Categories', route('maintenance.assets.categories.index'));
});

Breadcrumbs::register('maintenance.assets.categories.create', function (Generator $breadcrumbs) {
    $breadcrumbs->parent('maintenance.assets.categories.index');
    $breadcrumbs->push('Create', route('maintenance.assets.categories.create'));
});

Breadcrumbs::register('maintenance.assets.categories.nodes.create', function (Generator $breadcrumbs, $categoryId) {
    $breadcrumbs->parent('maintenance.assets.categories.index');
    $breadcrumbs->push("Sub-Category");
    $breadcrumbs->push('Create', route('maintenance.assets.categories.nodes.create', [$categoryId]));
});
/*
 * End Asset Category crumbs
 */

/*
 * Asset Work Order crumbs
 */
Breadcrumbs::register('maintenance.assets.work-orders.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Work Orders', route('maintenance.assets.work-orders.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.work-orders.attach.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.work-orders.index', $assetId);
    $breadcrumbs->push('Attach', route('maintenance.assets.work-orders.attach.index', [$assetId]));
});
/*
 * End Asset Work Order crumbs
 */

/*
 * Asset Meter Crumbs
 */
Breadcrumbs::register('maintenance.assets.meters.index', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.show', $assetId);
    $breadcrumbs->push('Meters', route('maintenance.assets.meters.index', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.meters.create', function (Generator $breadcrumbs, $assetId) {
    $breadcrumbs->parent('maintenance.assets.meters.index', $assetId);
    $breadcrumbs->push('Create', route('maintenance.assets.meters.create', [$assetId]));
});

Breadcrumbs::register('maintenance.assets.meters.show', function (Generator $breadcrumbs, $assetId, $meterId) {
    $breadcrumbs->parent('maintenance.assets.meters.index', $assetId);
    $breadcrumbs->push("ID: $meterId", route('maintenance.assets.meters.show', [$assetId, $meterId]));
});
/*
 * End Asset Meter crumbs
 */
{'fraction_non_alphanumeric': 0.18442980715816204, 'fraction_numerical': 0.0, 'mean_word_length': 6.541591861160981, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 89, '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': '2543582', 'n_tokens_mistral': 3950, 'n_tokens_neox': 4054, 'n_words': 548}