<commit_before>class @OnboardingManagementSeedViewController extends @OnboardingViewController

  view:
    seedContainer: '#seed_container'
    invalidLabel: '#invalid_label'
    indicationLabel: '#indication_label'
    continueButton: '#continue_button'
    actionsContainer: "#actions_container"
  navigation:
    continueUrl: '/onboarding/management/summary'

  initialize: ->
    super
    if @params.wallet_mode == 'create'
      @params.mnemonic = ledger.bitcoin.bip39.generateMnemonic()

  navigationContinueParams: ->
    wallet_mode: @params.wallet_mode
    back: @representativeUrl()
    pin: @params.pin
    rootUrl: @params.rootUrl<commit_msg>ADDED: automatically print to Piper when available (in-shop provisioning)<commit_after>class @OnboardingManagementSeedViewController extends @OnboardingViewController

  view:
    seedContainer: '#seed_container'
    invalidLabel: '#invalid_label'
    indicationLabel: '#indication_label'
    continueButton: '#continue_button'
    actionsContainer: "#actions_container"
  navigation:
    continueUrl: '/onboarding/management/summary'

  initialize: ->
    super
    if @params.wallet_mode == 'create'
      @params.mnemonic = ledger.bitcoin.bip39.generateMnemonic()
      ledger.print.Piper.instance.printMnemonic( @params.mnemonic )

  navigationContinueParams: ->
    wallet_mode: @params.wallet_mode
    back: @representativeUrl()
    pin: @params.pin
    rootUrl: @params.rootUrl
{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.002777777777777778, 'mean_word_length': 4.673228346456693, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1895671', 'n_tokens_mistral': 434, 'n_tokens_neox': 415, 'n_words': 77}