text: /*eslint-disable*/
  module.exports = {
    cleanState: () => {
      return {
        // User Info
        myKeycloak: null,
        userId: null,
        user_roles: [],
        authorized: false,
        email: null,
        errorJSON: null,
        adminURL: null,
  
        // Interface settings
        currentChoice: null, // CURRENT NAME BEING EXAMINED (choice number)
        currentName: null, // CURRENT NAME BEING EXAMINED (string)
        currentNameObj: { // CURRENT NAME BEING EXAMINED (complete object)
          name: null,
          choice: null,
        },
        currentState: null, // NR - APPROVED, REJECTED, INPROGRESS ETC...
        previousStateCd: null,
  
        currentConflict: null, // the conflict name currently in focus
        currentCondition: null, // the condition currently in focus
        currentTrademark: null, // the trademark currently in focus
        currentHistory: null,  //NR number of history name selected
  
        currentRecipeCard: null,
        is_my_current_nr: false,
        is_editing: false,
        is_making_decision: false,
        decision_made: null,
        is_header_shown: false,
        furnished: null,
        hasBeenReset: null,
        listPriorities: null, // DROP LIST
        listJurisdictions: null, // DROP LIST
        listRequestTypes: null, // DROP LIST
        listDecisionReasons: null,
        requestTypeRules: null, // list of request type rules, internal use only no display
  
        // Names Data
        // nr_conflict: null,
        details: null,
        additionalInfo: null,
        internalComments: [],
        applicantsOrigData: null,
        nrData: null,
        compInfo: {
          nrNumber: null,
          compNames: {
            compName1: {
              choice: null,
              name: null,
              state: null,
              consumptionDate: null,
              corpNum: null,
              conflict1: null,
              conflict2: null,
              conflict3: null,
              conflict1_num: null,
              conflict2_num: null,
              conflict3_num: null,
              decision_text: null,
              comment: null,
            },
            compName2: {
              choice: null,
              name: null,
              state: null,
              consumptionDate: null,
              corpNum: null,
              conflict1: null,
              conflict2: null,
              conflict3: null,
              conflict1_num: null,
              conflict2_num: null,
              conflict3_num: null,
              decision_text: null,
              comment: null,
            },
            compName3: {
              choice: null,
              name: null,
              state: null,
              consumptionDate: null,
              corpNum: null,
              conflict1: null,
              conflict2: null,
              conflict3: null,
              conflict1_num: null,
              conflict2_num: null,
              conflict3_num: null,
              decision_text: null,
              comment: null,
            },
          },
          requestType: null,
        },
        applicantInfo: {
          clientName: {
            firstName: null,
            lastName: null,
          },
          applicantName: {
            firstName: null,
            lastName: null,
            middleName: null,
          },
          contactInfo: {
            addressLine1: null,
            addressLine2: null,
            addressLine3: null,
            city: null,
            province: null,
            postalCode: null,
            country: null,
            contactName: null,
            phone: null,
            email: null,
            fax: null,
          },
        },
        additionalCompInfo: {
          jurisdiction: null,
          natureOfBussiness: null,
          nr_status: null,
          nwpta_ab: {
            partnerJurisdictionTypeCd: null,
            partnerName: null,
            partnerNameDate: null,
            partnerNameNumber: null,
            partnerNameTypeCd: null,
          },
          nwpta_sk: {
            partnerJurisdictionTypeCd: null,
            partnerName: null,
            partnerNameDate: null,
            partnerNameNumber: null,
            partnerNameTypeCd: null,
          },
        },
        examiner: null,
        priority: null,
        reservationCount: null,
        submitCount: null,
        previousNr: null,
        corpNum: null,
        submittedDate: null,
        expiryDate: null,
        expiryDateForEdit: null,
        lastUpdate: null,
        issueText: null,
        issue: {
          issue_Match: null,
          issue_Consent: null,
          issue_TradeMark: null,
          issue_History: null,
          issue_Format: null,
          issue_Match_Text: null,
          issue_Consent_Text: null,
          issue_TradeMark_Text: null,
          issue_History_Text: null,
          issue_Format_Text: null,
        },
  
        searchQuery: '?order=priorityCd:desc,submittedDate:asc&queue=hold&ranking=All&notification=All&' + 'submittedInterval=30 days&lastUpdateInterval=All&rows=10',
        searchState: 'HOLD',
        searchNr: '',
        searchUsername: '',
        searchCompName: '',
        searchRanking: 'All',
        searchNotification: 'All',
        searchSubmittedInterval: 'All',
        searchLastUpdatedInterval: 'All',
        searchCurrentPage: 1,
        searchPerPage: 10,
  
        exactMatchesConflicts: [],
        synonymMatchesConflicts: [],
        cobrsPhoneticConflicts: [],
        phoneticConflicts: [],
        conflictList: [],
        conflictHighlighting: [],
        conflictNames: [],
        conflictResponse: null,
  
        conflictsJSON: null,
        corpConflictJSON: null,
        namesConflictJSON: null,
        trademarksJSON: null,
        historiesJSON: null,
        historiesInfoJSON: null,
        searchDataJSON: null,
        conditionsJSON: null,
        statsDataJSON: {
          hold: { response: { numfound: '' } },
          draft: { response: { numfound: '' } },
          expired: { response: { numfound: '' } },
          cancelled: { response: { numfound: '' } },
          approved: { response: { numfound: '' } },
          conditional: { response: { numfound: '' } },
          rejected: { response: { numfound: '' } },
        },
  
        // introduced during name-examination code with us upgrade
        activeRequestBannerPopUp: null,
        comparedConflicts: [],
        conflictsAutoAdd: true,
        conflictsChildIndex: 0,
        conflictsChildren: [],
        conflictsIndex: 0,
        conflictsReturnedStatus: false,
        conflictsScrollPosition: 0,
        consentRequiredByUser: false,
        customerMessageOverride: null,
        expandedConflictID: null,
        newComment: null,
        openBucket: null,
        parsedCOBRSConflicts: [],
        parsedPhoneticConflicts: [],
        parsedSynonymConflicts: [],
        selectedConditions: [],
        selectedConflictID: null,
        selectedConflictNRs: [],
        selectedConflicts: [],
        selectedReasons: [],
        selectedTrademarks: [],
        showCommentsPopUp: false,
        transactionsModalVisible: false,
        transactionsData: null,
        pendingTransactionsRequest: false,
        transactionsModalState: {
          maximized: true,
          page: 1,
          expand: null,
          scrollOffset: 0,
          sortDescending: true,
        },
  
        nrInfo: {
          additionalInfo: '',
          consent_dt: null,
          consentFlag: null,
          corpNum: null,
          entity_type_cd: null,
          expirationDate: null,
          names: [],
          priorityCd: null,
          request_action_cd: null,
          requestTypeCd: null,
          stateCd: null,
          submittedDate: null
        }
      }
    }
  }
  