<commit_before><div ng-show="importErr" class="padding assertive" ng-click="importErr = null">
  <div translate>Could not access the wallet at the server. Please check:</div>
  <ul>
    <li translate>The password of the recovery phrase (if set)</li>
    <li translate>The derivation path</li>
    <li translate>The wallet service URL</li>
  </ul>
  <div translate>
    NOTE: To import a wallet from a 3rd party software, please go to Add Wallet &gt; Create Wallet, and specify the Recovery Phrase there.
  </div>
</div>

<form name="importForm12" ng-submit="importMnemonic(importForm12)" novalidate>
  <div class="list settings-list settings-input-group">
    <div>
      <label class="item item-input item-stacked-label no-border">
        <span class="input-label" translate>Type the Recovery Phrase (usually 12 words)</span>
          <textarea ng-model="formData.words"
                    rows="3"
                    autocapitalize="off"
                    spellcheck="false"></textarea>
      </label>
      <div class="qr-scan-icon">
        <qr-scanner class="qr-icon size-24" on-scan="processWalletInfo(data)"></qr-scanner>
      </div>
    </div>
    <div class="item item-divider"></div>

    <a class="item" ng-click="showAdvChange()">
      <span translate ng-show="!showAdv">Show advanced options</span>
      <span translate ng-show="showAdv">Hide advanced options</span>
    </a>

    <div ng-show="showAdv">
      <label class="item item-input item-stacked-label">
        <span class="input-label" translate>Password</span>
        <input type="password"
        placeholder="{{'The recovery phrase could require a password to be imported'|translate}}"
        autocapitalize="off"
        ng-model="formData.passphrase"><commit_msg>Turn off autocomplete and autocorrent on recovery phrase input field<commit_after><div ng-show="importErr" class="padding assertive" ng-click="importErr = null">
  <div translate>Could not access the wallet at the server. Please check:</div>
  <ul>
    <li translate>The password of the recovery phrase (if set)</li>
    <li translate>The derivation path</li>
    <li translate>The wallet service URL</li>
  </ul>
  <div translate>
    NOTE: To import a wallet from a 3rd party software, please go to Add Wallet &gt; Create Wallet, and specify the Recovery Phrase there.
  </div>
</div>

<form name="importForm12" ng-submit="importMnemonic(importForm12)" novalidate>
  <div class="list settings-list settings-input-group">
    <div>
      <label class="item item-input item-stacked-label no-border">
        <span class="input-label" translate>Type the Recovery Phrase (usually 12 words)</span>
          <textarea ng-model="formData.words"
                    rows="3"
                    autocapitalize="off"
                    autocomplete="off"
                    autocorrect="off"
                    spellcheck="false"></textarea>
      </label>
      <div class="qr-scan-icon">
        <qr-scanner class="qr-icon size-24" on-scan="processWalletInfo(data)"></qr-scanner>
      </div>
    </div>
    <div class="item item-divider"></div>

    <a class="item" ng-click="showAdvChange()">
      <span translate ng-show="!showAdv">Show advanced options</span>
      <span translate ng-show="showAdv">Hide advanced options</span>
    </a>

    <div ng-show="showAdv">
      <label class="item item-input item-stacked-label">
        <span class="input-label" translate>Password</span>
        <input type="password"
        placeholder="{{'The recovery phrase could require a password to be imported'|translate}}"
        autocapitalize="off"
        ng-model="formData.passphrase">
{'fraction_non_alphanumeric': 0.13468938977460143, 'fraction_numerical': 0.005497526113249038, 'mean_word_length': 3.1165158371040724, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, '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': '6866452', 'n_tokens_mistral': 1101, 'n_tokens_neox': 1049, 'n_words': 294}