<commit_before><div class="m-walletModal m-walletModal--v2 m-walletOnchainTransfer">
  <div class="m-walletModal__banner">
    <div class="m-walletModal__bannerImage"></div>
    <h2 i18n="@@WALLETV2_ONCHAIN_TRANSFER__TRANSFER_ONCHAIN">
      Transfer On-chain
    </h2>
  </div>
  <div class="m-walletModal__content">
    <!-- -------------------------------------- -->
    <ng-container *ngIf="!meetsRequirements">
      <div class="m-walletSecondaryText--desc">
        <p
          class="m-walletPrimaryText--16"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__REQUIREMENTS"
        >
          Please complete the following before transferring MINDS tokens
          on-chain.
        </p>
      </div>
      <div class="m-walletOnchainTransfer__requirementsButtonsContainer">
        <m-button
          (onAction)="openPhoneVerificationModal()"
          size="large"
          [disabled]="phoneVerified"
          [ngClass]="{
            'm-walletOnchainTransfer__requirement--complete': phoneVerified
          }"
          ><i class="material-icons">call</i
          ><span>Phone Verification</span></m-button
        >
        <m-button
          (onAction)="openPlusSubscriptionModal()"
          size="large"
          [disabled]="isPlus"
          [ngClass]="{
            'm-walletOnchainTransfer__requirement--complete': isPlus
          }"
          ><i class="material-icons">add_to_queue</i
          ><span>Upgrade to Minds+</span></m-button
        >
      </div>
    </ng-container>
    <!-- -------------------------------------- -->
    <ng-container *ngIf="meetsRequirements">
      <div
        *ngIf="!form"
        class="m-wallet__spinner m-wallet__spinner--tokenSettings"
      >
        <div class="mdl-spinner mdl-js-spinner is-active" [mdl]></div>
      </div>
      <form
        *ngIf="form"
        [formGroup]="form"
        class="m-walletButtonLayout--buttonInline"
      >
        <div class="m-walletForm__fieldsContainer">
          <div class="m-walletForm__field--text stretchedField">
            <div class="m-walletForm__row--label">
              <label for="amount" i18n="@@COMMON__AMOUNT">Amount</label>
              <div
                class="m-walletOnchainTransfer__balanceWrapper"
                [ngClass]="{
                  'm-walletOnchainTransfer__balanceWrapper--alert':
                    ethBalance === 0
                }"
              >
                <span class="m-walletOnchainTransfer__balance">{{
                  ethBalance | number
                }}</span
                ><span>ETH</span>
              </div>
              <div class="m-walletOnchainTransfer__separator">
                &middot;
              </div>
              <div class="m-walletOnchainTransfer__balanceWrapper">
                <span class="m-walletOnchainTransfer__balance">{{
                  balance | number
                }}</span
                ><span>MINDS</span>
              </div>
            </div>
            <div
              class="m-walletForm__row--input"
              [ngClass]="{
                invalid: !isFormValid() || submitError
              }"
            >
              <input
                type="number"
                id="amount"
                name="amount"
                formControlName="amount"
                class="form-control"
                required
              />
            </div>
            <div class="m-walletForm__row--validation">
              <ng-container *ngIf="!submitError && canTransfer">
                <p
                  *ngIf="amount.errors?.required"
                  i18n="@@WALLETV2_ONCHAIN_TRANSFER__TRANSFER_AMOUNT_REQUIRED"
                >
                  Transfer amount required
                </p>
                <p
                  *ngIf="
                    amount.errors?.moreThanZero && !amount.errors?.required
                  "
                  i18n="@@WALLETV2_ONCHAIN_TRANSFER__TRANSFER_MUST_BE_GREATER"
                >
                  Transfer amount must be greater than zero
                </p>
                <p *ngIf="amount.errors?.max">
                  <ng-container
                    *ngIf="balanceIsLimit"
                    i18n="@@WALLETV2_ONCHAIN_TRANSFER__NOT_ENOUGH_FUNDS"
                  >
                    You don't have enough tokens to make this
                    transfer</ng-container
                  >
                  <ng-container
                    *ngIf="!balanceIsLimit"
                    i18n="@@WALLETV2_ONCHAIN_TRANSFER__LIMIT_EXCEEDED"
                    >Transfer amount exceeds the daily limit</ng-container
                  >
                </p>
              </ng-container>
              <p
                *ngIf="!canTransfer"
                i18n="@@WALLETV2_ONCHAIN_TRANSFER__ONLY_ONCE_PER_DAY"
              >
                You may only have one pending withdrawal at a time
              </p>
              <p *ngIf="submitError">{{ submitError }}</p>
            </div>
          </div>
        </div>
        <m-button
          class="m-walletOnchainTransfer__transferButton"
          [disabled]="!isFormValid() || loading || ethBalance === 0"
          [saving]="transferring"
          (onAction)="submitError ? load() : onSubmit()"
          color="blue"
        >
          {{ submitError ? 'Reset' : 'Transfer' }}
        </m-button>
      </form>
      <div class="m-walletSecondaryText--desc">
        <p
          class="m-walletSecondaryText"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__UP_TO_X_NO_REJECT_REFUND"
        >
          You can request to transfer up to 25,000 tokens from your rewards to
          your on-chain wallet. If your withdrawal request is rejected due to a
          terms of service violation, the fees are non-refundable.
        </p>
        <p
          class="m-walletSecondaryText"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__GAS_FEE_NOTE"
          *ngIf="ethBalance > 0"
        >
          Note: a small amount of ETH will be charged to cover the transaction
          fee. Transfers go through an approval process and may take up to 72
          hours to complete.
        </p>

        <p
          class="m-walletSecondaryText m-walletAlertText"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__GAS_FEE_NOTE_NO_ETH"
          *ngIf="ethBalance === 0"
        >
          Note: a small amount of ETH will be charged to cover the transaction
          fee. You currently have a balance of 0 ETH -
          <span (click)="onPurchaseTokensClick($event)">Add ETH</span> to
          continue
        </p>
      </div>
    </ng-container>
  </div>
</div><commit_msg>Change withdraw modal text<commit_after><div class="m-walletModal m-walletModal--v2 m-walletOnchainTransfer">
  <div class="m-walletModal__banner">
    <div class="m-walletModal__bannerImage"></div>
    <h2 i18n="@@WALLETV2_ONCHAIN_TRANSFER__TRANSFER_ONCHAIN">
      Transfer On-chain
    </h2>
  </div>
  <div class="m-walletModal__content">
    <!-- -------------------------------------- -->
    <ng-container *ngIf="!meetsRequirements">
      <div class="m-walletSecondaryText--desc">
        <p
          class="m-walletPrimaryText--16"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__REQUIREMENTS"
        >
          Please complete the following before transferring MINDS tokens
          on-chain.
        </p>
      </div>
      <div class="m-walletOnchainTransfer__requirementsButtonsContainer">
        <m-button
          (onAction)="openPhoneVerificationModal()"
          size="large"
          [disabled]="phoneVerified"
          [ngClass]="{
            'm-walletOnchainTransfer__requirement--complete': phoneVerified
          }"
          ><i class="material-icons">call</i
          ><span>Phone Verification</span></m-button
        >
        <m-button
          (onAction)="openPlusSubscriptionModal()"
          size="large"
          [disabled]="isPlus"
          [ngClass]="{
            'm-walletOnchainTransfer__requirement--complete': isPlus
          }"
          ><i class="material-icons">add_to_queue</i
          ><span>Upgrade to Minds+</span></m-button
        >
      </div>
    </ng-container>
    <!-- -------------------------------------- -->
    <ng-container *ngIf="meetsRequirements">
      <div
        *ngIf="!form"
        class="m-wallet__spinner m-wallet__spinner--tokenSettings"
      >
        <div class="mdl-spinner mdl-js-spinner is-active" [mdl]></div>
      </div>
      <form
        *ngIf="form"
        [formGroup]="form"
        class="m-walletButtonLayout--buttonInline"
      >
        <div class="m-walletForm__fieldsContainer">
          <div class="m-walletForm__field--text stretchedField">
            <div class="m-walletForm__row--label">
              <label for="amount" i18n="@@COMMON__AMOUNT">Amount</label>
              <div
                class="m-walletOnchainTransfer__balanceWrapper"
                [ngClass]="{
                  'm-walletOnchainTransfer__balanceWrapper--alert':
                    ethBalance === 0
                }"
              >
                <span class="m-walletOnchainTransfer__balance">{{
                  ethBalance | number
                }}</span
                ><span>ETH</span>
              </div>
              <div class="m-walletOnchainTransfer__separator">
                &middot;
              </div>
              <div class="m-walletOnchainTransfer__balanceWrapper">
                <span class="m-walletOnchainTransfer__balance">{{
                  balance | number
                }}</span
                ><span>MINDS</span>
              </div>
            </div>
            <div
              class="m-walletForm__row--input"
              [ngClass]="{
                invalid: !isFormValid() || submitError
              }"
            >
              <input
                type="number"
                id="amount"
                name="amount"
                formControlName="amount"
                class="form-control"
                required
              />
            </div>
            <div class="m-walletForm__row--validation">
              <ng-container *ngIf="!submitError && canTransfer">
                <p
                  *ngIf="amount.errors?.required"
                  i18n="@@WALLETV2_ONCHAIN_TRANSFER__TRANSFER_AMOUNT_REQUIRED"
                >
                  Transfer amount required
                </p>
                <p
                  *ngIf="
                    amount.errors?.moreThanZero && !amount.errors?.required
                  "
                  i18n="@@WALLETV2_ONCHAIN_TRANSFER__TRANSFER_MUST_BE_GREATER"
                >
                  Transfer amount must be greater than zero
                </p>
                <p *ngIf="amount.errors?.max">
                  <ng-container
                    *ngIf="balanceIsLimit"
                    i18n="@@WALLETV2_ONCHAIN_TRANSFER__NOT_ENOUGH_FUNDS"
                  >
                    You don't have enough tokens to make this
                    transfer</ng-container
                  >
                  <ng-container
                    *ngIf="!balanceIsLimit"
                    i18n="@@WALLETV2_ONCHAIN_TRANSFER__LIMIT_EXCEEDED"
                    >Transfer amount exceeds the daily limit</ng-container
                  >
                </p>
              </ng-container>
              <p
                *ngIf="!canTransfer"
                i18n="@@WALLETV2_ONCHAIN_TRANSFER__ONLY_ONCE_PER_DAY"
              >
                You may only have one pending withdrawal at a time
              </p>
              <p *ngIf="submitError">{{ submitError }}</p>
            </div>
          </div>
        </div>
        <m-button
          class="m-walletOnchainTransfer__transferButton"
          [disabled]="!isFormValid() || loading || ethBalance === 0"
          [saving]="transferring"
          (onAction)="submitError ? load() : onSubmit()"
          color="blue"
        >
          {{ submitError ? 'Reset' : 'Transfer' }}
        </m-button>
      </form>
      <div class="m-walletSecondaryText--desc">
        <p
          class="m-walletSecondaryText"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__UP_TO_X_NO_REJECT_REFUND"
        >
          You can request to transfer up to 25,000 tokens from your rewards to
          your on-chain wallet. If your withdrawal request is rejected due to a
          terms of service violation, the fees are non-refundable.
        </p>
        <p
          class="m-walletSecondaryText"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__GAS_FEE_NOTE"
          *ngIf="ethBalance > 0"
        >
          Note: ETH will be charged to cover the transaction fee. Transfers go
          through an approval process and may take up to 72 hours to complete.
        </p>

        <p
          class="m-walletSecondaryText m-walletAlertText"
          i18n="@@WALLETV2_ONCHAIN_TRANSFER__GAS_FEE_NOTE_NO_ETH"
          *ngIf="ethBalance === 0"
        >
          Note: a small amount of ETH will be charged to cover the transaction
          fee. You currently have a balance of 0 ETH -
          <span (click)="onPurchaseTokensClick($event)">Add ETH</span> to
          continue
        </p>
      </div>
    </ng-container>
  </div>
</div>
{'fraction_non_alphanumeric': 0.12216273282557877, 'fraction_numerical': 0.007390091245004148, 'mean_word_length': 1.5032087580218951, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 0, '>': 195, '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': '6027701', 'n_tokens_mistral': 3825, 'n_tokens_neox': 3690, 'n_words': 652}