{"version":3,"file":"ng-round-slider.mjs","sources":["../../../../libs/ng-round-slider/src/lib/models/constants/default-properties-values.constant.ts","../../../../libs/ng-round-slider/src/lib/components/ng-round-slider/ng-round-slider.component.ts","../../../../libs/ng-round-slider/src/ng-round-slider.ts"],"sourcesContent":["import { ISliderProperties } from '../interfaces';\r\n\r\n/** Default properties values */\r\nexport const DEFAULT_PROPERTIES_VALUES: ISliderProperties = {\r\n  animation: true,\r\n  width: 18,\r\n  circleShape: 'full',\r\n  disabled: false,\r\n  editableTooltip: true,\r\n  endAngle: '+360',\r\n  handleSize: '+0',\r\n  handleShape: 'round',\r\n  keyboardAction: true,\r\n  lineCap: 'butt',\r\n  max: 100,\r\n  min: 0,\r\n  mouseScrollAction: false,\r\n  radius: 85,\r\n  readOnly: false,\r\n  showTooltip: true,\r\n  sliderType: 'default',\r\n  startAngle: 0,\r\n  startValue: null,\r\n  step: 1,\r\n  value: null,\r\n  svgMode: false,\r\n  borderWidth: 1,\r\n  borderColor: null,\r\n  pathColor: null,\r\n  rangeColor: null,\r\n  tooltipColor: null,\r\n};\r\n","import {\r\n  AfterViewInit,\r\n  ChangeDetectionStrategy,\r\n  Component,\r\n  EventEmitter,\r\n  Input,\r\n  OnChanges,\r\n  OnDestroy,\r\n  OnInit,\r\n  Output,\r\n  SimpleChange,\r\n  SimpleChanges,\r\n  ViewEncapsulation,\r\n} from '@angular/core';\r\nimport { v4 as uuidv4 } from 'uuid';\r\nimport $ from 'jquery';\r\nimport 'round-slider';\r\nimport { DEFAULT_PROPERTIES_VALUES } from '../../models/constants';\r\nimport {\r\n  IBaseEventData,\r\n  IBaseHandleEventData,\r\n  IBaseMoveEventData,\r\n  IBeforeValueChangeEventData,\r\n  ISliderControl,\r\n  ISliderElement,\r\n  ISliderEvents,\r\n  ISliderOptions,\r\n  ISliderProperties,\r\n  IUpdateEventData,\r\n  IValueChangeEventData,\r\n} from '../../models/interfaces';\r\nimport { SliderId, SliderPropertyValue } from '../../models/types';\r\n\r\n/**\r\n * Slider component that allows the user to select a value or range of values.\r\n *\r\n * {@link https://roundsliderui.com/ JQuery Plugin} which implemented as Angular component.\r\n */\r\n@Component({\r\n  selector: 'ng-round-slider',\r\n  standalone: true,\r\n  template: '<div [id]=\"id\"></div>',\r\n  /** Direct injection round slider styles */\r\n  styleUrls: ['../../../../../../node_modules/round-slider/dist/roundslider.min.css'],\r\n  changeDetection: ChangeDetectionStrategy.OnPush,\r\n  encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class NgRoundSliderComponent\r\n  implements ISliderProperties, Pick<ISliderEvents, 'tooltipFormat'>, OnInit, AfterViewInit, OnChanges, OnDestroy\r\n{\r\n  /** Slider div id */\r\n  public id!: SliderId;\r\n\r\n  /**\r\n   * Enables or disables the handle movement animation.\r\n   *\r\n   * As the control uses the CSS3 animation, so you can use any CSS3 transition effects to customize the animation type and speed. To know how to use custom animation check here {@link https://roundsliderui.com/demos.html#custom-animation here}.\r\n   */\r\n  @Input({ required: false }) public animation: ISliderOptions['animation'] = DEFAULT_PROPERTIES_VALUES['animation'];\r\n  /** Indicates the width (or thickness) of the slider. */\r\n  @Input({ required: false }) public width: ISliderOptions['width'] = DEFAULT_PROPERTIES_VALUES['width'];\r\n  /** Indicates the circle shape to be render. The available circle shapes are:\r\n   * * full\r\n   * * half-top\r\n   * * half-bottom\r\n   * * half-left\r\n   * * half-right\r\n   * * quarter-top-left\r\n   * * quarter-top-right\r\n   * * quarter-bottom-right\r\n   * * quarter-bottom-left\r\n   * * pie\r\n   * * custom-half\r\n   * * custom-quarter\r\n   */\r\n  @Input({ required: false }) public circleShape: ISliderOptions['circleShape'] =\r\n    DEFAULT_PROPERTIES_VALUES['circleShape'];\r\n  /**\r\n   * Sets the disable state or enable state of the control. While the control in the disable state we can't interact with this.\r\n   *\r\n   * And in disable mode the control looks like in the blured state.\r\n   */\r\n  @Input({ required: false }) public disabled: ISliderOptions['disabled'] = DEFAULT_PROPERTIES_VALUES['disabled'];\r\n  /** Enables the editable option of tooltip. When this property set as true, we can change the value by editing the tooltip. */\r\n  @Input({ required: false }) public editableTooltip: ISliderOptions['editableTooltip'] =\r\n    DEFAULT_PROPERTIES_VALUES['editableTooltip'];\r\n  /**\r\n   * Indicates the end point of the slider.\r\n   *\r\n   * Multiple format supported:\r\n   * * **180** : Sets the fixed value, where the endAngle is 180°.\r\n   * * **\"+180\"** : This is dependent to startAngle property. If the startAngle is 90° then the endAngle considered as 270°.\r\n   * * **\"-90\"** : This is also dependent to startAngle property. If the startAngle is 180° then the endAngle considered as 90°.\r\n   *\r\n   * The endAngle property is applicable for \"full\" circle shape only.\r\n   */\r\n  @Input({ required: false }) public endAngle: ISliderOptions['endAngle'] = DEFAULT_PROPERTIES_VALUES['endAngle'];\r\n  /**\r\n   * The handleSize property mentions the size of the handle.\r\n   *\r\n   * Multiple format supported:\r\n   * * **22** : Sets the fixed size, where the handle's height and width considered as 22.\r\n   * * **\"30,10\"** : Sets the fixed size, where the handle's height considered as 30 and width considered as 10.\r\n   * * **\"+4\"** : This is dependent to width property. If the width is 20 then the handleSize considered as 24.\r\n   * * **\"-4\"** : This is also dependent to width property. If the width is 20 then the handleSize considered as 16.\r\n   */\r\n  @Input({ required: false }) public handleSize: ISliderOptions['handleSize'] = DEFAULT_PROPERTIES_VALUES['handleSize'];\r\n  /**\r\n   * The handleShape property mentions the shape of the handle. Currently the following types are available:\r\n   * * **round**\r\n   * * **dot**\r\n   * * **square**\r\n   *\r\n   * In addition you can make your own handle shape by customizing this. Please check {@link https://roundsliderui.com/demos.html#custom-handle-shape here} for handle customization.\r\n   */\r\n  @Input({ required: false }) public handleShape: ISliderOptions['handleShape'] =\r\n    DEFAULT_PROPERTIES_VALUES['handleShape'];\r\n  /**\r\n   * Enables or disables the keyboard functionality.\r\n   *\r\n   * The slider value can be changed through the keyboard by using the arrow keys (Up, Down, Left, Right) and Home, Down keys.\r\n   */\r\n  @Input({ required: false }) public keyboardAction: ISliderOptions['keyboardAction'] =\r\n    DEFAULT_PROPERTIES_VALUES['keyboardAction'];\r\n  /**\r\n   * The lineCap property mentions the shape at the end part of the path. This is not applicable for the \"full\" circle shape, except this all other circle shapes supports lineCap.\r\n   *\r\n   * The possible inputs for this property is:\r\n   * * **square**\r\n   * * **round**\r\n   * * **butt**\r\n   */\r\n  @Input({ required: false }) public lineCap: ISliderOptions['lineCap'] = DEFAULT_PROPERTIES_VALUES['lineCap'];\r\n  /** The max property indicates the maximum value of the slider. */\r\n  @Input({ required: false }) public max: ISliderOptions['max'] = DEFAULT_PROPERTIES_VALUES['max'];\r\n  /** The min property indicates the minimum value of the slider. */\r\n  @Input({ required: false }) public min: ISliderOptions['min'] = DEFAULT_PROPERTIES_VALUES['min'];\r\n  /**\r\n   * Enables or disables the mouse scroll functionality.\r\n   *\r\n   * The slider value can be changed through the mouse scrolling.\r\n   */\r\n  @Input({ required: false }) public mouseScrollAction: ISliderOptions['mouseScrollAction'] =\r\n    DEFAULT_PROPERTIES_VALUES['mouseScrollAction'];\r\n  /**\r\n   * The radius property indicates the radius of the slider's circle.\r\n   *\r\n   * Note : The height and width of the control considered as (2 * radius).\r\n   */\r\n  @Input({ required: false }) public radius: ISliderOptions['radius'] = DEFAULT_PROPERTIES_VALUES['radius'];\r\n  /** This enables the control into the readOnly mode, so we can can't interact with the control when readOnly enabled. */\r\n  @Input({ required: false }) public readOnly: ISliderOptions['readOnly'] = DEFAULT_PROPERTIES_VALUES['readOnly'];\r\n  /** Enables or disables the tooltip inside the slider. */\r\n  @Input({ required: false }) public showTooltip: ISliderOptions['showTooltip'] =\r\n    DEFAULT_PROPERTIES_VALUES['showTooltip'];\r\n  /**\r\n   * Indicates the slider type to be render. The available slider types are:\r\n   * * **default**\r\n   * * **min-range**\r\n   * * **range**\r\n   */\r\n  @Input({ required: false }) public sliderType: ISliderOptions['sliderType'] = DEFAULT_PROPERTIES_VALUES['sliderType'];\r\n  /**\r\n   * Indicates the starting point of the slider.\r\n   *\r\n   * The startAngle property is applicable for \"full\", \"custom-half\", \"custom-quarter\" and \"pie\" circle shapes only.\r\n   */\r\n  @Input({ required: false }) public startAngle: ISliderOptions['startAngle'] = DEFAULT_PROPERTIES_VALUES['startAngle'];\r\n  /**\r\n   * This property decides at which point the slider should start. Otherwise, by default the slider starts with min value.\r\n   *\r\n   * This is mainly used for min-range slider, where you can customize the min-range start position.\r\n   */\r\n  @Input({ required: false }) public startValue: ISliderOptions['startValue'] = DEFAULT_PROPERTIES_VALUES['startValue'];\r\n  /** Decides the number of steps or value should take while we move the handle. */\r\n  @Input({ required: false }) public step: ISliderOptions['step'] = DEFAULT_PROPERTIES_VALUES['step'];\r\n  /**\r\n   * Sets or gets the value of the slider.\r\n   *\r\n   * For default and min-range slider the property allows a single value (ex: value - 10)\r\n   * For range slider the property allows two values separated by comma (ex: value - \"30,60\").\r\n   */\r\n  @Input({ required: false }) public value: ISliderOptions['value'] = DEFAULT_PROPERTIES_VALUES['value'];\r\n  /**\r\n   * This will enables the slider into the SVG mode.\r\n   *\r\n   * Through SVG mode you can do a lot of customization, and it will resolve all the legacy issues.\r\n   *\r\n   * Note : It is recommended to use the SVG mode for better usability and customization.\r\n   */\r\n  @Input({ required: false }) public svgMode: ISliderOptions['svgMode'] = DEFAULT_PROPERTIES_VALUES['svgMode'];\r\n  /**\r\n   * Indicates the border width of the slider.\r\n   *\r\n   * Note : This is only applicable for {@link https://roundsliderui.com/document.html#svgMode SVG mode}\r\n   */\r\n  @Input({ required: false }) public borderWidth: ISliderOptions['borderWidth'] =\r\n    DEFAULT_PROPERTIES_VALUES['borderWidth'];\r\n  /** Sets the border color of the slider. */\r\n  @Input({ required: false }) public borderColor: ISliderOptions['borderColor'] =\r\n    DEFAULT_PROPERTIES_VALUES['borderColor'];\r\n  /** Sets the path color of the slider. */\r\n  @Input({ required: false }) public pathColor: ISliderOptions['pathColor'] = DEFAULT_PROPERTIES_VALUES['pathColor'];\r\n  /** Sets the range color of the slider. */\r\n  @Input({ required: false }) public rangeColor: ISliderOptions['rangeColor'] = DEFAULT_PROPERTIES_VALUES['rangeColor'];\r\n  /** Sets the tooltip color of the slider. */\r\n  @Input({ required: false }) public tooltipColor: ISliderOptions['tooltipColor'] =\r\n    DEFAULT_PROPERTIES_VALUES['tooltipColor'];\r\n  /**\r\n   * This event will act as a callback. So you can customize the tooltip template by returning with the custom values here.\r\n   *\r\n   * Check the below demo for better understanding:\r\n   * * {@link https://roundsliderui.com/demos.html#custom-tooltip Custom Tooltip}\r\n   */\r\n  @Input({ required: false }) public tooltipFormat: ISliderEvents['tooltipFormat'] = null;\r\n\r\n  /**\r\n   * This event triggered before the control will initialize.\r\n   *\r\n   * At this point we can change the control's settings. And also this event can be cancellable, so we can prevent the control creation by 'return false'.\r\n   */\r\n  @Output() public readonly beforeCreate: EventEmitter<IBaseEventData<'beforeCreate'>> = new EventEmitter<\r\n    IBaseEventData<'beforeCreate'>\r\n  >();\r\n  /** This event triggered after the control creation or initialization. */\r\n  @Output() public readonly create: EventEmitter<IBaseEventData<'create'>> = new EventEmitter<\r\n    IBaseEventData<'create'>\r\n  >();\r\n  /** This event triggered when the user starts to drag the handle. */\r\n  /* eslint-disable-next-line @angular-eslint/no-output-native */\r\n  @Output() public readonly start: EventEmitter<IBaseMoveEventData<'start'>> = new EventEmitter<\r\n    IBaseMoveEventData<'start'>\r\n  >();\r\n  /** This event triggered when the user stops from sliding the handle / when releasing the handle. */\r\n  @Output() public readonly stop: EventEmitter<IBaseMoveEventData<'stop'>> = new EventEmitter<\r\n    IBaseMoveEventData<'stop'>\r\n  >();\r\n  /**\r\n   * This event will be triggered before the value change happens.\r\n   *\r\n   * And this event can be cancellable. So whenever you want to restrict the slider for particular values at that time this will be useful.\r\n   */\r\n  @Output() public readonly beforeValueChange: EventEmitter<IBeforeValueChangeEventData> =\r\n    new EventEmitter<IBeforeValueChangeEventData>();\r\n  /** This event triggered when the user moving the handle. On each mouse move the drag event will trigger. */\r\n  /* eslint-disable-next-line @angular-eslint/no-output-native */\r\n  @Output() public readonly drag: EventEmitter<IBaseHandleEventData<'drag'>> = new EventEmitter<\r\n    IBaseHandleEventData<'drag'>\r\n  >();\r\n  /** This event triggered when the slider's value gets change. */\r\n  /* eslint-disable-next-line @angular-eslint/no-output-native */\r\n  @Output() public readonly change: EventEmitter<IBaseHandleEventData<'change'>> = new EventEmitter<\r\n    IBaseHandleEventData<'change'>\r\n  >();\r\n  /**\r\n   * This event is the combination of 'drag' and 'change' events.\r\n   *\r\n   * Simply, whenever the slider value gets updated through the user interaction at that time it will be triggered.\r\n   */\r\n  @Output() public readonly update: EventEmitter<IUpdateEventData> = new EventEmitter<IUpdateEventData>();\r\n  /** This event is similar to 'update' event, in addition it will trigger even the value was changed through programmatically also. */\r\n  @Output() public readonly valueChange: EventEmitter<IValueChangeEventData> =\r\n    new EventEmitter<IValueChangeEventData>();\r\n\r\n  /** Slider element */\r\n  private get sliderElement(): ISliderElement {\r\n    return $(`#${this.id}`) as ISliderElement;\r\n  }\r\n\r\n  /** Slider control */\r\n  private get sliderControl(): ISliderControl | undefined {\r\n    return <ISliderControl | undefined>this.sliderElement.data('roundSlider');\r\n  }\r\n\r\n  /** Initialization */\r\n  private init(): void {\r\n    this.sliderElement.roundSlider({\r\n      animation: this.animation,\r\n      min: this.min,\r\n      max: this.max,\r\n      step: this.step,\r\n      value: this.value,\r\n      radius: this.radius,\r\n      width: this.width,\r\n      handleSize: this.handleSize,\r\n      startAngle: this.startAngle,\r\n      endAngle: this.endAngle,\r\n      showTooltip: this.showTooltip,\r\n      editableTooltip: this.editableTooltip,\r\n      readOnly: this.readOnly,\r\n      disabled: this.disabled,\r\n      keyboardAction: this.keyboardAction,\r\n      mouseScrollAction: this.mouseScrollAction,\r\n      sliderType: this.sliderType,\r\n      circleShape: this.circleShape,\r\n      handleShape: this.handleShape,\r\n      lineCap: this.lineCap,\r\n      startValue: this.startValue,\r\n      // SVG related properties\r\n      svgMode: this.svgMode,\r\n      borderWidth: this.borderWidth,\r\n      borderColor: this.borderColor,\r\n      pathColor: this.pathColor,\r\n      rangeColor: this.rangeColor,\r\n      tooltipColor: this.tooltipColor,\r\n      // Events\r\n      beforeCreate: (data: IBaseEventData<'beforeCreate'>) => this.beforeCreate.emit(data),\r\n      create: (data: IBaseEventData<'create'>) => this.create.emit(data),\r\n      start: (data: IBaseMoveEventData<'start'>) => this.start.emit(data),\r\n      stop: (data: IBaseMoveEventData<'stop'>) => this.stop.emit(data),\r\n      beforeValueChange: (data: IBeforeValueChangeEventData) => this.beforeValueChange.emit(data),\r\n      drag: (data: IBaseHandleEventData<'drag'>) => this.drag.emit(data),\r\n      change: (data: IBaseHandleEventData<'change'>) => this.change.emit(data),\r\n      update: (data: IUpdateEventData) => this.update.emit(data),\r\n      valueChange: (data: IValueChangeEventData) => this.valueChange.emit(data),\r\n      tooltipFormat: this.tooltipFormat,\r\n    });\r\n  }\r\n\r\n  /** Updating properties according to changes */\r\n  private refresh(changes: SimpleChanges): void {\r\n    for (const key of Object.keys(changes)) {\r\n      const change: SimpleChange = changes[key];\r\n      if (change.firstChange) {\r\n        continue;\r\n      }\r\n\r\n      const propValue: SliderPropertyValue | undefined = this.getProperty(<keyof ISliderProperties>key);\r\n      if (propValue === change.currentValue) {\r\n        continue;\r\n      }\r\n\r\n      this.setProperty(<keyof ISliderProperties>key, change.currentValue);\r\n    }\r\n  }\r\n\r\n  public ngOnChanges(changes: SimpleChanges): void {\r\n    this.refresh(changes);\r\n  }\r\n\r\n  public ngOnInit(): void {\r\n    this.id = `round-slider-${uuidv4()}`;\r\n  }\r\n\r\n  public ngAfterViewInit(): void {\r\n    this.init();\r\n  }\r\n\r\n  /** Receiving property value */\r\n  public getProperty(property: keyof ISliderProperties): SliderPropertyValue | undefined {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    return <SliderPropertyValue>control.option(property);\r\n  }\r\n\r\n  /** Setting property value */\r\n  public setProperty(property: keyof ISliderProperties, value: SliderPropertyValue): void {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    control.option(property, value);\r\n  }\r\n\r\n  /**\r\n   * This method is used to set the value to the slider control.\r\n   *\r\n   * Note : This method accepts the following possible parameters.\r\n   * * **setValue(value)** : This will set the corresponding value to the slider handle.\r\n   * * **setValue(value, index)** : This is only applicable for range slider, which sets the value to the corresponding handle.Here the possible value of index is 1 or 2 only.\r\n   */\r\n  public setValue(value: number | string, index?: number): void {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    control.setValue(value, index);\r\n  }\r\n\r\n  /**\r\n   * This method is used to get the value from the slider control.\r\n   *\r\n   * Note : This method accepts the following possible parameters.\r\n   * * **getValue()** : Without any parameter, it will return the current slider value.\r\n   * * **getValue(index)** : This is only applicable for range slider, which returns the value of the corresponding handle. Here the possible value of index is 1 or 2 only.\r\n   */\r\n  public getValue(index?: number): ISliderOptions['value'] | undefined {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    return control.getValue(index);\r\n  }\r\n\r\n  /**\r\n   * This method is used to refresh the tooltip position, when it is misaligned.\r\n   *\r\n   * Mostly when you render the slider at 'display: none' mode then the tooltip may misaligned. At this point, if needed then you can refresh the tooltip once when the slider become 'display: block'.\r\n   *\r\n   * Hint :\r\n   * * More likely, with the above mentioned situation, when you are using tooltip as custom template then only you may need to think about this.\r\n   * Rest of the times you don't need to worry about this.\r\n   */\r\n  public refreshTooltip(): void {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    control.refreshTooltip();\r\n  }\r\n\r\n  /**\r\n   * Disables the slider control.\r\n   *\r\n   * Note : This method does not accept any parameters.\r\n   */\r\n  public disable(): void {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    control.disable();\r\n  }\r\n\r\n  /**\r\n   * Enables the slider control.\r\n   *\r\n   * Note : This method does not accept any parameters.\r\n   */\r\n  public enable(): void {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    control.enable();\r\n  }\r\n\r\n  /**\r\n   * Destroys the slider control and reverts the control element to the initial state.\r\n   *\r\n   * Note : This method does not accept any parameters.\r\n   */\r\n  public destroy(): void {\r\n    const control: ISliderControl | undefined = this.sliderControl;\r\n\r\n    if (!control) {\r\n      return;\r\n    }\r\n\r\n    control.destroy();\r\n  }\r\n\r\n  public ngOnDestroy(): void {\r\n    this.destroy();\r\n  }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["uuidv4"],"mappings":";;;;;;AAEA;AACa,MAAA,yBAAyB,GAAsB;AAC1D,IAAA,SAAS,EAAE,IAAI;AACf,IAAA,KAAK,EAAE,EAAE;AACT,IAAA,WAAW,EAAE,MAAM;AACnB,IAAA,QAAQ,EAAE,KAAK;AACf,IAAA,eAAe,EAAE,IAAI;AACrB,IAAA,QAAQ,EAAE,MAAM;AAChB,IAAA,UAAU,EAAE,IAAI;AAChB,IAAA,WAAW,EAAE,OAAO;AACpB,IAAA,cAAc,EAAE,IAAI;AACpB,IAAA,OAAO,EAAE,MAAM;AACf,IAAA,GAAG,EAAE,GAAG;AACR,IAAA,GAAG,EAAE,CAAC;AACN,IAAA,iBAAiB,EAAE,KAAK;AACxB,IAAA,MAAM,EAAE,EAAE;AACV,IAAA,QAAQ,EAAE,KAAK;AACf,IAAA,WAAW,EAAE,IAAI;AACjB,IAAA,UAAU,EAAE,SAAS;AACrB,IAAA,UAAU,EAAE,CAAC;AACb,IAAA,UAAU,EAAE,IAAI;AAChB,IAAA,IAAI,EAAE,CAAC;AACP,IAAA,KAAK,EAAE,IAAI;AACX,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,WAAW,EAAE,CAAC;AACd,IAAA,WAAW,E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