<commit_before>// Copyright 2020, University of Colorado Boulder

/**
 * PhET-iO API type for Slider
 *
 * @author <NAME> (PhET Interactive Simulations)
 */

import PropertyAPI from '../../axon/js/PropertyAPI.js';
import Property from '../../axon/js/Property.js';
import merge from '../../phet-core/js/merge.js';
import DragListenerAPI from '../../scenery/js/listeners/DragListenerAPI.js';
import NodeAPI from '../../scenery/js/nodes/NodeAPI.js';
import NumberIO from '../../tandem/js/types/NumberIO.js';
import EnabledComponentAPIMixin from './EnabledComponentAPIMixin.js';
import Slider from './Slider.js';
import sun from './sun.js';

// private API class just used for Slider
class TrackAPI extends NodeAPI {

  /**
   * @param {Object} [options]
   */
  constructor( options ) {

    options = merge( {

      // All TrackAPIs have an unfeatured drag press action
      dragListenerOptions: {
        pressActionOptions: {
          phetioFeature: false
        }
      }
    }, options );

    super( options );

    this.dragListener = new DragListenerAPI( options.dragListenerOptions );
  }
}

class SliderAPI extends EnabledComponentAPIMixin( NodeAPI ) {

  /**
   * @param {Object} [options]<commit_msg>Omit opacityProperty, see https://github.com/phetsims/scenery/issues/1047<commit_after>// Copyright 2020, University of Colorado Boulder

/**
 * PhET-iO API type for Slider
 *
 * @author <NAME> (PhET Interactive Simulations)
 */

import PropertyAPI from '../../axon/js/PropertyAPI.js';
import Property from '../../axon/js/Property.js';
import merge from '../../phet-core/js/merge.js';
import DragListenerAPI from '../../scenery/js/listeners/DragListenerAPI.js';
import NodeAPI from '../../scenery/js/nodes/NodeAPI.js';
import NumberIO from '../../tandem/js/types/NumberIO.js';
import EnabledComponentAPIMixin from './EnabledComponentAPIMixin.js';
import Slider from './Slider.js';
import sun from './sun.js';

// private API class just used for Slider
class TrackAPI extends NodeAPI {

  /**
   * @param {Object} [options]
   */
  constructor( options ) {

    options = merge( {

      // All TrackAPIs have an unfeatured drag press action
      dragListenerOptions: {
        pressActionOptions: {
          phetioFeatured: false
        }
      }
    }, options );

    super( options );

    this.dragListener = new DragListenerAPI( options.dragListenerOptions );
  }
}

class SliderAPI extends EnabledComponentAPIMixin( NodeAPI ) {

  /**
   * @param {Object} [options]
{'fraction_non_alphanumeric': 0.14032971451548049, 'fraction_numerical': 0.0048250904704463205, 'mean_word_length': 3.0853858784893267, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '3462391', 'n_tokens_mistral': 763, 'n_tokens_neox': 743, 'n_words': 198}