<commit_before>kd                   = require 'kd'
KDView               = kd.View
KDModalView          = kd.ModalView
KDTabPaneView        = kd.TabPaneView
KDCustomHTMLView     = kd.CustomHTMLView
KDTabHandleContainer = kd.TabHandleContainer

Machine                      = require 'app/providers/machine'
MachineSettingsSpecsView     = require './machinesettingsspecsview'
MachineSettingsGuidesView    = require './machinesettingsguidesview'
MachineSettingsGeneralView   = require './machinesettingsgeneralview'
MachineSettingsDomainsView   = require './machinesettingsdomainsview'
MachineSettingsModalTabView  = require './machinesettingsmodaltabview'
MachineSettingsAdvancedView  = require './machinesettingsadvancedview'
MachineSettingsDiskUsageView = require './machinesettingsdiskusageview'
MachineSettingsVMSharingView = require './machinesettingsvmsharingview'
MachineSettingsSnapshotsView = require './machinesettingssnapshotsview'

OnboardingEvent = require 'app/onboarding/onboardingevent'

PANE_CONFIG = [
  { title: 'General',       viewClass: MachineSettingsGeneralView   }
  { title: 'Specs',         viewClass: MachineSettingsSpecsView     }
  { title: 'Disk Usage',    viewClass: MachineSettingsDiskUsageView }
  { title: 'Domains',       viewClass: MachineSettingsDomainsView   }
  { title: 'VM Sharing',    viewClass: MachineSettingsVMSharingView }
  # { title: 'Snapshots',     viewClass: MachineSettingsSnapshotsView }
  { title: 'Advanced',      viewClass: MachineSettingsAdvancedView  }
  { title: 'Common guides', viewClass: MachineSettingsGuidesView    }
]


module.exports = class MachineSettingsModal extends KDModalView

  constructor: (options = {}, data) ->

    options.cssClass  = 'machine-settings-modal AppModal'
    options.title     = 'VM Settings'
    options.width     = 805
    options.height    = 400
    options.overlay  ?= yes<commit_msg>MachineSettingsModal: Fix modal height.<commit_after>kd                   = require 'kd'
KDView               = kd.View
KDModalView          = kd.ModalView
KDTabPaneView        = kd.TabPaneView
KDCustomHTMLView     = kd.CustomHTMLView
KDTabHandleContainer = kd.TabHandleContainer

Machine                      = require 'app/providers/machine'
MachineSettingsSpecsView     = require './machinesettingsspecsview'
MachineSettingsGuidesView    = require './machinesettingsguidesview'
MachineSettingsGeneralView   = require './machinesettingsgeneralview'
MachineSettingsDomainsView   = require './machinesettingsdomainsview'
MachineSettingsModalTabView  = require './machinesettingsmodaltabview'
MachineSettingsAdvancedView  = require './machinesettingsadvancedview'
MachineSettingsDiskUsageView = require './machinesettingsdiskusageview'
MachineSettingsVMSharingView = require './machinesettingsvmsharingview'
MachineSettingsSnapshotsView = require './machinesettingssnapshotsview'

OnboardingEvent = require 'app/onboarding/onboardingevent'

PANE_CONFIG = [
  { title: 'General',       viewClass: MachineSettingsGeneralView   }
  { title: 'Specs',         viewClass: MachineSettingsSpecsView     }
  { title: 'Disk Usage',    viewClass: MachineSettingsDiskUsageView }
  { title: 'Domains',       viewClass: MachineSettingsDomainsView   }
  { title: 'VM Sharing',    viewClass: MachineSettingsVMSharingView }
  # { title: 'Snapshots',     viewClass: MachineSettingsSnapshotsView }
  { title: 'Advanced',      viewClass: MachineSettingsAdvancedView  }
  { title: 'Common guides', viewClass: MachineSettingsGuidesView    }
]


module.exports = class MachineSettingsModal extends KDModalView

  constructor: (options = {}, data) ->

    options.cssClass  = 'machine-settings-modal AppModal'
    options.title     = 'VM Settings'
    options.width     = 805
    options.height    = 445
    options.overlay  ?= yes
{'fraction_non_alphanumeric': 0.08452192287374538, 'fraction_numerical': 0.003169572107765452, 'mean_word_length': 4.029216467463479, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7054137', 'n_tokens_mistral': 1097, 'n_tokens_neox': 1012, 'n_words': 206}