<commit_before>import { DestinyProfileResponse, DestinyObjectiveProgress } from 'bungie-api-ts/destiny2';
import * as React from 'react';
import * as _ from 'lodash';
import { D2ManifestDefinitions } from '../destiny2/d2-definitions.service';
import './collections.scss';
import VendorItemComponent from '../d2-vendors/VendorItemComponent';
import { VendorItem } from '../d2-vendors/vendor-item';
import { t } from 'i18next';
import { InventoryBuckets } from '../inventory/inventory-buckets';
import CollapsibleTitle from '../dim-ui/CollapsibleTitle';

/**
 * A single plug set.
 */
export default function Ornaments({
  defs,
  buckets,
  profileResponse
}: {
  defs: D2ManifestDefinitions;
  buckets: InventoryBuckets;
  profileResponse: DestinyProfileResponse;
}) {
  const ornaments = getOrnaments(defs, profileResponse);

  return (
    <div className="vendor-char-items">
      <div className="vendor-row">
        <CollapsibleTitle
          title={defs.Vendor.get(2107783226).displayProperties.name}
          sectionId="ornaments"
        >
          <div className="ornaments-disclaimer">{t('Vendors.OrnamentsDisclaimer')}</div>
          <div className="vendor-items">
            {ornaments.map((ornament) => (
              <VendorItemComponent
                key={ornament.itemHash}
                defs={defs}
                item={VendorItem.forOrnament(
                  defs,
                  buckets,
                  ornament.itemHash,
                  ornament.objectives,
                  ornament.canInsert,
                  ornament.enableFailReasons
                )}
                owned={false}
              />
            ))}
          </div>
        </CollapsibleTitle>
      </div><commit_msg>Fix build<commit_after>import { DestinyProfileResponse, DestinyObjectiveProgress } from 'bungie-api-ts/destiny2';
import * as React from 'react';
import * as _ from 'lodash';
import { D2ManifestDefinitions } from '../destiny2/d2-definitions.service';
import './collections.scss';
import VendorItemComponent from '../d2-vendors/VendorItemComponent';
import { VendorItem } from '../d2-vendors/vendor-item';
import { t } from 'i18next';
import { InventoryBuckets } from '../inventory/inventory-buckets';
import CollapsibleTitle from '../dim-ui/CollapsibleTitle';

/**
 * A single plug set.
 */
export default function Ornaments({
  defs,
  buckets,
  profileResponse
}: {
  defs: D2ManifestDefinitions;
  buckets: InventoryBuckets;
  profileResponse: DestinyProfileResponse;
}) {
  const ornaments = getOrnaments(defs, profileResponse);

  return (
    <div className="vendor-char-items">
      <div className="vendor-row">
        <CollapsibleTitle
          title={defs.Vendor.get(2107783226).displayProperties.name}
          sectionId="ornaments"
        >
          <div className="ornaments-disclaimer">{t('Vendors.OrnamentsDisclaimer')}</div>
          <div className="vendor-items">
            {ornaments.map((ornament) => (
              <VendorItemComponent
                key={ornament.itemHash}
                defs={defs}
                item={VendorItem.forOrnament(
                  defs,
                  buckets,
                  ornament.itemHash,
                  ornament.objectives,
                  ornament.enableFailReasons
                )}
                owned={false}
              />
            ))}
          </div>
        </CollapsibleTitle>
      </div>
{'fraction_non_alphanumeric': 0.1191588785046729, 'fraction_numerical': 0.011098130841121495, 'mean_word_length': 2.3317120622568095, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 25, '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': '3083655', 'n_tokens_mistral': 1018, 'n_tokens_neox': 966, 'n_words': 175}