1 line
45 KiB
Plaintext
1 line
45 KiB
Plaintext
{"version":3,"file":"primeng-slider.mjs","sources":["../../src/app/components/slider/slider.ts","../../src/app/components/slider/primeng-slider.ts"],"sourcesContent":["import { CommonModule, DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n NgModule,\n NgZone,\n OnDestroy,\n Output,\n PLATFORM_ID,\n Renderer2,\n ViewChild,\n ViewEncapsulation,\n booleanAttribute,\n forwardRef,\n numberAttribute\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { DomHandler } from 'primeng/dom';\nimport { Nullable, VoidListener } from 'primeng/ts-helpers';\nimport { AutoFocusModule } from 'primeng/autofocus';\nimport { SliderChangeEvent, SliderSlideEndEvent } from './slider.interface';\n\nexport const SLIDER_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => Slider),\n multi: true\n};\n/**\n * Slider is a component to provide input with a drag handle.\n * @group Components\n */\n@Component({\n selector: 'p-slider',\n template: `\n <div\n [ngStyle]=\"style\"\n [class]=\"styleClass\"\n [ngClass]=\"{ 'p-slider p-component': true, 'p-disabled': disabled, 'p-slider-horizontal': orientation == 'horizontal', 'p-slider-vertical': orientation == 'vertical', 'p-slider-animate': animate }\"\n (click)=\"onBarClick($event)\"\n [attr.data-pc-name]=\"'slider'\"\n [attr.data-pc-section]=\"'root'\"\n >\n <span\n *ngIf=\"range && orientation == 'horizontal'\"\n class=\"p-slider-range\"\n [ngStyle]=\"{ left: offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%', width: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%' }\"\n [attr.data-pc-section]=\"'range'\"\n ></span>\n <span\n *ngIf=\"range && orientation == 'vertical'\"\n class=\"p-slider-range\"\n [ngStyle]=\"{ bottom: offset !== null && offset !== undefined ? offset + '%' : handleValues[0] + '%', height: diff ? diff + '%' : handleValues[1] - handleValues[0] + '%' }\"\n [attr.data-pc-section]=\"'range'\"\n ></span>\n <span *ngIf=\"!range && orientation == 'vertical'\" class=\"p-slider-range\" [attr.data-pc-section]=\"'range'\" [ngStyle]=\"{ height: handleValue + '%' }\"></span>\n <span *ngIf=\"!range && orientation == 'horizontal'\" class=\"p-slider-range\" [attr.data-pc-section]=\"'range'\" [ngStyle]=\"{ width: handleValue + '%' }\"></span>\n <span\n *ngIf=\"!range\"\n #sliderHandle\n class=\"p-slider-handle\"\n [style.transition]=\"dragging ? 'none' : null\"\n [ngStyle]=\"{ left: orientation == 'horizontal' ? handleValue + '%' : null, bottom: orientation == 'vertical' ? handleValue + '%' : null }\"\n (touchstart)=\"onDragStart($event)\"\n (touchmove)=\"onDrag($event)\"\n (touchend)=\"onDragEnd($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (keydown)=\"onKeyDown($event)\"\n [attr.tabindex]=\"disabled ? null : tabindex\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min\"\n [attr.aria-valuenow]=\"value\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-orientation]=\"orientation\"\n [attr.data-pc-section]=\"'handle'\"\n pAutoFocus\n [autofocus]=\"autofocus\"\n ></span>\n <span\n *ngIf=\"range\"\n #sliderHandleStart\n [style.transition]=\"dragging ? 'none' : null\"\n class=\"p-slider-handle\"\n [ngStyle]=\"{ left: rangeStartLeft, bottom: rangeStartBottom }\"\n [ngClass]=\"{ 'p-slider-handle-active': handleIndex == 0 }\"\n (keydown)=\"onKeyDown($event, 0)\"\n (mousedown)=\"onMouseDown($event, 0)\"\n (touchstart)=\"onDragStart($event, 0)\"\n (touchmove)=\"onDrag($event, 0)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"disabled ? null : tabindex\"\n role=\"slider\"\n [attr.aria-valuemin]=\"min\"\n [attr.aria-valuenow]=\"value ? value[0] : null\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-orientation]=\"orientation\"\n [attr.data-pc-section]=\"'startHandler'\"\n pAutoFocus\n [autofocus]=\"autofocus\"\n ></span>\n <span\n *ngIf=\"range\"\n #sliderHandleEnd\n [style.transition]=\"dragging ? 'none' : null\"\n class=\"p-slider-handle\"\n [ngStyle]=\"{ left: rangeEndLeft, bottom: rangeEndBottom }\"\n [ngClass]=\"{ 'p-slider-handle-active': handleIndex == 1 }\"\n (keydown)=\"onKeyDown($event, 1)\"\n (mousedown)=\"onMouseDown($event, 1)\"\n (touchstart)=\"onDragStart($event, 1)\"\n (touchmove)=\"onDrag($event, 1)\"\n (touchend)=\"onDragEnd($event)\"\n [attr.tabindex]=\"disabled ? null : tabindex\"\n [attr.aria-valuemin]=\"min\"\n [attr.aria-valuenow]=\"value ? value[1] : null\"\n [attr.aria-valuemax]=\"max\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-orientation]=\"orientation\"\n [attr.data-pc-section]=\"'endHandler'\"\n ></span>\n </div>\n `,\n providers: [SLIDER_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./slider.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class Slider implements OnDestroy, ControlValueAccessor {\n /**\n * When enabled, displays an animation on click of the slider bar.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) animate: boolean | undefined;\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean | undefined;\n /**\n * Mininum boundary value.\n * @group Props\n */\n @Input({ transform: numberAttribute }) min: number = 0;\n /**\n * Maximum boundary value.\n * @group Props\n */\n @Input({ transform: numberAttribute }) max: number = 100;\n /**\n * Orientation of the slider.\n * @group Props\n */\n @Input() orientation: 'horizontal' | 'vertical' = 'horizontal';\n /**\n * Step factor to increment/decrement the value.\n * @group Props\n */\n @Input({ transform: numberAttribute }) step: number | undefined;\n /**\n * When specified, allows two boundary values to be picked.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) range: boolean | undefined;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Defines a string that labels the input for accessibility.\n * @group Props\n */\n @Input() ariaLabel: string | undefined;\n /**\n * Establishes relationships between the component and label(s) where its value should be one or more element IDs.\n * @group Props\n */\n @Input() ariaLabelledBy: string | undefined;\n /**\n * Index of the element in tabbing order.\n * @group Props\n */\n @Input({ transform: numberAttribute }) tabindex: number = 0;\n /**\n * When present, it specifies that the component should automatically get focus on load.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) autofocus: boolean | undefined;\n /**\n * Callback to invoke on value change.\n * @param {SliderChangeEvent} event - Custom value change event.\n * @group Emits\n */\n @Output() onChange: EventEmitter<SliderChangeEvent> = new EventEmitter<SliderChangeEvent>();\n /**\n * Callback to invoke when slide ended.\n * @param {SliderSlideEndEvent} event - Custom slide end event.\n * @group Emits\n */\n @Output() onSlideEnd: EventEmitter<SliderSlideEndEvent> = new EventEmitter<SliderSlideEndEvent>();\n\n @ViewChild('sliderHandle') sliderHandle: Nullable<ElementRef>;\n\n @ViewChild('sliderHandleStart') sliderHandleStart: Nullable<ElementRef>;\n\n @ViewChild('sliderHandleEnd') sliderHandleEnd: Nullable<ElementRef>;\n\n public value: Nullable<number>;\n\n public values: Nullable<number[]>;\n\n public handleValue: Nullable<number>;\n\n public handleValues: number[] = [];\n\n diff: Nullable<number>;\n\n offset: Nullable<number>;\n\n bottom: Nullable<number>;\n\n public onModelChange: Function = () => {};\n\n public onModelTouched: Function = () => {};\n\n public dragging: Nullable<boolean>;\n\n public dragListener: VoidListener;\n\n public mouseupListener: VoidListener;\n\n public initX: Nullable<number>;\n\n public initY: Nullable<number>;\n\n public barWidth: Nullable<number>;\n\n public barHeight: Nullable<number>;\n\n public sliderHandleClick: Nullable<boolean>;\n\n public handleIndex: number = 0;\n\n public startHandleValue: any;\n\n public startx: Nullable<number>;\n\n public starty: Nullable<number>;\n\n constructor(@Inject(DOCUMENT) private document: Document, @Inject(PLATFORM_ID) private platformId: any, public el: ElementRef, public renderer: Renderer2, private ngZone: NgZone, public cd: ChangeDetectorRef) {}\n\n onMouseDown(event: Event, index?: number) {\n if (this.disabled) {\n return;\n }\n\n this.dragging = true;\n this.updateDomData();\n this.sliderHandleClick = true;\n if (this.range && this.handleValues && this.handleValues[0] === this.max) {\n this.handleIndex = 0;\n } else {\n (this.handleIndex as any) = index;\n }\n\n this.bindDragListeners();\n (event.target as HTMLInputElement).focus();\n event.preventDefault();\n\n if (this.animate) {\n DomHandler.removeClass(this.el.nativeElement.children[0], 'p-slider-animate');\n }\n }\n\n onDragStart(event: TouchEvent, index?: number) {\n if (this.disabled) {\n return;\n }\n\n var touchobj = event.changedTouches[0];\n this.startHandleValue = this.range ? this.handleValues[index as number] : this.handleValue;\n this.dragging = true;\n if (this.range && this.handleValues && this.handleValues[0] === this.max) {\n this.handleIndex = 0;\n } else {\n this.handleIndex = index as number;\n }\n\n if (this.orientation === 'horizontal') {\n this.startx = parseInt((touchobj as any).clientX, 10);\n this.barWidth = this.el.nativeElement.children[0].offsetWidth;\n } else {\n this.starty = parseInt((touchobj as any).clientY, 10);\n this.barHeight = this.el.nativeElement.children[0].offsetHeight;\n }\n\n if (this.animate) {\n DomHandler.removeClass(this.el.nativeElement.children[0], 'p-slider-animate');\n }\n\n event.preventDefault();\n }\n\n onDrag(event: TouchEvent) {\n if (this.disabled) {\n return;\n }\n\n var touchobj = event.changedTouches[0],\n handleValue = 0;\n\n if (this.orientation === 'horizontal') {\n handleValue = Math.floor(((parseInt((touchobj as any).clientX, 10) - (this.startx as number)) * 100) / (this.barWidth as number)) + this.startHandleValue;\n } else {\n handleValue = Math.floor((((this.starty as number) - parseInt((touchobj as any).clientY, 10)) * 100) / (this.barHeight as number)) + this.startHandleValue;\n }\n\n this.setValueFromHandle(event, handleValue);\n\n event.preventDefault();\n }\n\n onDragEnd(event: TouchEvent) {\n if (this.disabled) {\n return;\n }\n\n this.dragging = false;\n\n if (this.range) this.onSlideEnd.emit({ originalEvent: event, values: this.values as number[] });\n else this.onSlideEnd.emit({ originalEvent: event, value: this.value as number });\n\n if (this.animate) {\n DomHandler.addClass(this.el.nativeElement.children[0], 'p-slider-animate');\n }\n\n event.preventDefault();\n }\n\n onBarClick(event: Event) {\n if (this.disabled) {\n return;\n }\n\n if (!this.sliderHandleClick) {\n this.updateDomData();\n this.handleChange(event);\n\n if (this.range) this.onSlideEnd.emit({ originalEvent: event, values: this.values as number[] });\n else this.onSlideEnd.emit({ originalEvent: event, value: this.value as number });\n }\n\n this.sliderHandleClick = false;\n }\n\n onKeyDown(event, index) {\n this.handleIndex = index;\n\n switch (event.code) {\n case 'ArrowDown':\n case 'ArrowLeft':\n this.decrementValue(event, index);\n event.preventDefault();\n break;\n\n case 'ArrowUp':\n case 'ArrowRight':\n this.incrementValue(event, index);\n event.preventDefault();\n break;\n\n case 'PageDown':\n this.decrementValue(event, index, true);\n event.preventDefault();\n break;\n\n case 'PageUp':\n this.incrementValue(event, index, true);\n event.preventDefault();\n break;\n\n case 'Home':\n this.updateValue(this.min, event);\n event.preventDefault();\n break;\n\n case 'End':\n this.updateValue(this.max, event);\n event.preventDefault();\n break;\n\n default:\n break;\n }\n }\n\n decrementValue(event, index, pageKey = false) {\n let newValue;\n\n if (this.range) {\n if (this.step) newValue = this.values[index] - this.step;\n else newValue = this.values[index] - 1;\n } else {\n if (this.step) newValue = this.value - this.step;\n else if (!this.step && pageKey) newValue = this.value - 10;\n else newValue = this.value - 1;\n }\n\n this.updateValue(newValue, event);\n event.preventDefault();\n }\n\n incrementValue(event, index, pageKey = false) {\n let newValue;\n\n if (this.range) {\n if (this.step) newValue = this.values[index] + this.step;\n else newValue = this.values[index] + 1;\n } else {\n if (this.step) newValue = this.value + this.step;\n else if (!this.step && pageKey) newValue = this.value + 10;\n else newValue = this.value + 1;\n }\n\n this.updateValue(newValue, event);\n event.preventDefault();\n }\n\n handleChange(event: Event) {\n let handleValue = this.calculateHandleValue(event);\n this.setValueFromHandle(event, handleValue);\n }\n\n bindDragListeners() {\n if (isPlatformBrowser(this.platformId)) {\n this.ngZone.runOutsideAngular(() => {\n const documentTarget: any = this.el ? this.el.nativeElement.ownerDocument : this.document;\n\n if (!this.dragListener) {\n this.dragListener = this.renderer.listen(documentTarget, 'mousemove', (event) => {\n if (this.dragging) {\n this.ngZone.run(() => {\n this.handleChange(event);\n });\n }\n });\n }\n\n if (!this.mouseupListener) {\n this.mouseupListener = this.renderer.listen(documentTarget, 'mouseup', (event) => {\n if (this.dragging) {\n this.dragging = false;\n this.ngZone.run(() => {\n if (this.range) this.onSlideEnd.emit({ originalEvent: event, values: this.values as number[] });\n else this.onSlideEnd.emit({ originalEvent: event, value: this.value as number });\n\n if (this.animate) {\n DomHandler.addClass(this.el.nativeElement.children[0], 'p-slider-animate');\n }\n });\n }\n });\n }\n });\n }\n }\n\n unbindDragListeners() {\n if (this.dragListener) {\n this.dragListener();\n this.dragListener = null;\n }\n\n if (this.mouseupListener) {\n this.mouseupListener();\n this.mouseupListener = null;\n }\n }\n\n setValueFromHandle(event: Event, handleValue: any) {\n let newValue = this.getValueFromHandle(handleValue);\n\n if (this.range) {\n if (this.step) {\n this.handleStepChange(newValue, (this.values as any)[this.handleIndex]);\n } else {\n this.handleValues[this.handleIndex] = handleValue;\n this.updateValue(newValue, event);\n }\n } else {\n if (this.step) {\n this.handleStepChange(newValue, this.value as any);\n } else {\n this.handleValue = handleValue;\n this.updateValue(newValue, event);\n }\n }\n\n this.cd.markForCheck();\n }\n\n handleStepChange(newValue: number, oldValue: number) {\n let diff = newValue - oldValue;\n let val = oldValue;\n let _step = this.step as number;\n\n if (diff < 0) {\n val = oldValue + Math.ceil(newValue / _step - oldValue / _step) * _step;\n } else if (diff > 0) {\n val = oldValue + Math.floor(newValue / _step - oldValue / _step) * _step;\n }\n\n this.updateValue(val);\n this.updateHandleValue();\n }\n\n writeValue(value: any): void {\n if (this.range) this.values = value || [0, 0];\n else this.value = value || 0;\n\n this.updateHandleValue();\n this.updateDiffAndOffset();\n this.cd.markForCheck();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n setDisabledState(val: boolean): void {\n this.disabled = val;\n this.cd.markForCheck();\n }\n\n get rangeStartLeft() {\n if (!this.isVertical()) return this.handleValues[0] > 100 ? 100 + '%' : this.handleValues[0] + '%';\n return null;\n }\n\n get rangeStartBottom() {\n return this.isVertical() ? this.handleValues[0] + '%' : 'auto';\n }\n\n get rangeEndLeft() {\n return this.isVertical() ? null : this.handleValues[1] + '%';\n }\n\n get rangeEndBottom() {\n return this.isVertical() ? this.handleValues[1] + '%' : 'auto';\n }\n\n isVertical(): boolean {\n return this.orientation === 'vertical';\n }\n\n updateDomData(): void {\n let rect = this.el.nativeElement.children[0].getBoundingClientRect();\n this.initX = rect.left + DomHandler.getWindowScrollLeft();\n this.initY = rect.top + DomHandler.getWindowScrollTop();\n this.barWidth = this.el.nativeElement.children[0].offsetWidth;\n this.barHeight = this.el.nativeElement.children[0].offsetHeight;\n }\n\n calculateHandleValue(event: Event): number {\n if (this.orientation === 'horizontal') return (((event as MouseEvent).pageX - (this.initX as number)) * 100) / (this.barWidth as number);\n else return (((this.initY as number) + (this.barHeight as number) - (event as MouseEvent).pageY) * 100) / (this.barHeight as number);\n }\n\n updateHandleValue(): void {\n if (this.range) {\n this.handleValues[0] = (((this.values as number[])[0] < this.min ? 0 : (this.values as number[])[0] - this.min) * 100) / (this.max - this.min);\n this.handleValues[1] = (((this.values as number[])[1] > this.max ? 100 : (this.values as number[])[1] - this.min) * 100) / (this.max - this.min);\n } else {\n if ((this.value as number) < this.min) this.handleValue = 0;\n else if ((this.value as number) > this.max) this.handleValue = 100;\n else this.handleValue = (((this.value as number) - this.min) * 100) / (this.max - this.min);\n }\n\n if (this.step) {\n this.updateDiffAndOffset();\n }\n }\n\n updateDiffAndOffset(): void {\n this.diff = this.getDiff();\n this.offset = this.getOffset();\n }\n\n getDiff(): number {\n return Math.abs(this.handleValues[0] - this.handleValues[1]);\n }\n\n getOffset(): number {\n return Math.min(this.handleValues[0], this.handleValues[1]);\n }\n\n updateValue(val: number, event?: Event): void {\n if (this.range) {\n let value = val;\n\n if (this.handleIndex == 0) {\n if (value < this.min) {\n value = this.min;\n this.handleValues[0] = 0;\n } else if (value > (this.values as number[])[1]) {\n if (value > this.max) {\n value = this.max;\n this.handleValues[0] = 100;\n }\n }\n this.sliderHandleStart?.nativeElement.focus();\n } else {\n if (value > this.max) {\n value = this.max;\n this.handleValues[1] = 100;\n this.offset = this.handleValues[1];\n } else if (value < this.min) {\n value = this.min;\n this.handleValues[1] = 0;\n } else if (value < (this.values as number[])[0]) {\n this.offset = this.handleValues[1];\n }\n this.sliderHandleEnd?.nativeElement.focus();\n }\n\n if (this.step) {\n this.updateHandleValue();\n } else {\n this.updateDiffAndOffset();\n }\n\n (this.values as number[])[this.handleIndex] = this.getNormalizedValue(value);\n let newValues = [this.minVal, this.maxVal];\n this.onModelChange(newValues);\n this.onChange.emit({ event: event as Event, values: this.values as number[] });\n } else {\n if (val < this.min) {\n val = this.min;\n this.handleValue = 0;\n } else if (val > this.max) {\n val = this.max;\n this.handleValue = 100;\n }\n\n this.value = this.getNormalizedValue(val);\n\n this.onModelChange(this.value);\n this.onChange.emit({ event: event as Event, value: this.value });\n this.sliderHandle?.nativeElement.focus();\n }\n this.updateHandleValue();\n }\n\n getValueFromHandle(handleValue: number): number {\n return (this.max - this.min) * (handleValue / 100) + this.min;\n }\n\n getDecimalsCount(value: number): number {\n if (value && Math.floor(value) !== value) return value.toString().split('.')[1].length || 0;\n return 0;\n }\n\n getNormalizedValue(val: number): number {\n let decimalsCount = this.getDecimalsCount(this.step as number);\n if (decimalsCount > 0) {\n return +parseFloat(val.toString()).toFixed(decimalsCount);\n } else {\n return Math.floor(val);\n }\n }\n\n ngOnDestroy() {\n this.unbindDragListeners();\n }\n\n get minVal() {\n return Math.min((this.values as number[])[1], (this.values as number[])[0]);\n }\n get maxVal() {\n return Math.max((this.values as number[])[1], (this.values as number[])[0]);\n }\n}\n\n@NgModule({\n imports: [CommonModule, AutoFocusModule],\n exports: [Slider],\n declarations: [Slider]\n})\nexport class SliderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;AA2Ba,MAAA,qBAAqB,GAAQ;AACtC,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,MAAM,CAAC;AACrC,IAAA,KAAK,EAAE,IAAI;EACb;AACF;;;AAGG;MAwGU,MAAM,CAAA;AA+HuB,IAAA,QAAA,CAAA;AAAiD,IAAA,UAAA,CAAA;AAAwB,IAAA,EAAA,CAAA;AAAuB,IAAA,QAAA,CAAA;AAA6B,IAAA,MAAA,CAAA;AAAuB,IAAA,EAAA,CAAA;AA9H1L;;;AAGG;AACqC,IAAA,OAAO,CAAsB;AACrE;;;AAGG;AACqC,IAAA,QAAQ,CAAsB;AACtE;;;AAGG;IACoC,GAAG,GAAW,CAAC,CAAC;AACvD;;;AAGG;IACoC,GAAG,GAAW,GAAG,CAAC;AACzD;;;AAGG;IACM,WAAW,GAA8B,YAAY,CAAC;AAC/D;;;AAGG;AACoC,IAAA,IAAI,CAAqB;AAChE;;;AAGG;AACqC,IAAA,KAAK,CAAsB;AACnE;;;AAGG;AACM,IAAA,KAAK,CAA8C;AAC5D;;;AAGG;AACM,IAAA,UAAU,CAAqB;AACxC;;;AAGG;AACM,IAAA,SAAS,CAAqB;AACvC;;;AAGG;AAC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