{"version":3,"file":"igniteui-angular-progressbar.mjs","names":[],"sources":["../../../projects/igniteui-angular/progressbar/src/progressbar/progressbar.common.ts","../../../projects/igniteui-angular/progressbar/src/progressbar/progressbar.component.ts","../../../projects/igniteui-angular/progressbar/src/progressbar/linear/linear-bar.component.html","../../../projects/igniteui-angular/progressbar/src/progressbar/circular/circular-bar.component.html","../../../projects/igniteui-angular/progressbar/src/progressbar/public_api.ts","../../../projects/igniteui-angular/progressbar/src/progressbar/progressbar.module.ts"],"sourcesContent":["import { Directive, TemplateRef, inject } from '@angular/core';\n\n@Directive({\n    selector: '[igxProgressBarText]',\n    standalone: true\n})\nexport class IgxProgressBarTextTemplateDirective {\n    public template = inject<TemplateRef<any>>(TemplateRef);\n}\n\n@Directive({\n    selector: '[igxProgressBarGradient]',\n    standalone: true\n})\nexport class IgxProgressBarGradientDirective {\n    public template = inject<TemplateRef<any>>(TemplateRef);\n}\n\n","import { NgClass, NgTemplateOutlet } from '@angular/common';\nimport {\n    Component,\n    EventEmitter,\n    HostBinding,\n    Input,\n    Output,\n    Renderer2,\n    ContentChild,\n    AfterContentInit,\n    Directive,\n    booleanAttribute,\n    inject,\n    ChangeDetectorRef,\n    NgZone,\n    ChangeDetectionStrategy,\n    ViewEncapsulation\n} from '@angular/core';\nimport {\n    IgxProgressBarTextTemplateDirective,\n    IgxProgressBarGradientDirective,\n} from './progressbar.common';\nimport { IBaseEventArgs } from 'igniteui-angular/core';\nconst ONE_PERCENT = 0.01;\nconst MIN_VALUE = 0;\n\nexport const IgxTextAlign = {\n    START: 'start',\n    CENTER: 'center',\n    END: 'end'\n} as const;\nexport type IgxTextAlign = (typeof IgxTextAlign)[keyof typeof IgxTextAlign];\n\nexport const IgxProgressType = {\n    ERROR: 'error',\n    INFO: 'info',\n    WARNING: 'warning',\n    SUCCESS: 'success'\n} as const;\nexport type IgxProgressType = (typeof IgxProgressType)[keyof typeof IgxProgressType];\n\nexport interface IChangeProgressEventArgs extends IBaseEventArgs {\n    previousValue: number;\n    currentValue: number;\n}\nexport const valueInRange = (value: number, max: number, min = 0): number => Math.max(Math.min(value, max), min);\n\n/**\n * @hidden\n */\n@Directive()\nexport abstract class BaseProgressDirective {\n    /**\n     * An event, which is triggered after progress is changed.\n     * ```typescript\n     * public progressChange(event) {\n     *     alert(\"Progress made!\");\n     * }\n     *  //...\n     * ```\n     * ```html\n     * <igx-circular-bar (progressChanged)=\"progressChange($event)\"></igx-circular-bar>\n     * <igx-linear-bar (progressChanged)=\"progressChange($event)\"></igx-linear-bar>\n     * ```\n     */\n    @Output()\n    public progressChanged = new EventEmitter<IChangeProgressEventArgs>();\n\n    /**\n     * Sets/Gets progressbar animation duration. By default, it is 2000ms.\n     * ```html\n     * <igx-linear-bar [animationDuration]=\"3000\"></igx-linear-bar>\n     * <igx-circular-bar [animationDuration]=\"3000\"></igx-linear-bar>\n     * ```\n     */\n    @Input()\n    public animationDuration = 2000;\n\n    protected _contentInit = false;\n    protected _indeterminate = false;\n    protected _text!: string;\n    protected _max = 100;\n    protected _value = MIN_VALUE;\n    protected _animate = true;\n    protected _step!: number;\n    protected _fraction = 0;\n    protected _integer = 0;\n    protected _cdr = inject(ChangeDetectorRef);\n    protected _zone = inject(NgZone);\n\n    /**\n     * Sets progressbar in indeterminate. By default, it is set to false.\n     * ```html\n     * <igx-linear-bar [indeterminate]=\"true\"></igx-linear-bar>\n     * <igx-circular-bar [indeterminate]=\"true\"></igx-circular-bar>\n     * ```\n     */\n    @Input({ transform: booleanAttribute })\n    public set indeterminate(isIndeterminate: boolean) {\n        this._indeterminate = isIndeterminate;\n        this._resetCounterValues(this._indeterminate); // Use the helper for indeterminate condition\n    }\n\n    /**\n     * Gets the current state of the progress bar:\n     * - `true` if in the indeterminate state (no progress value displayed),\n     * - `false` if the progress bar shows the actual progress.\n     *\n     * ```typescript\n     * const isIndeterminate = progressBar.indeterminate;\n     * ```\n    */\n    public get indeterminate(): boolean {\n        return this._indeterminate;\n    }\n\n    /**\n     * Returns the value which update the progress indicator of the `progress bar`.\n     * ```typescript\n     * @ViewChild(\"MyProgressBar\")\n     * public progressBar: IgxLinearProgressBarComponent | IgxCircularBarComponent;\n     * public stepValue(event) {\n     *     let step = this.progressBar.step;\n     *     alert(step);\n     * }\n     * ```\n     */\n    @Input()\n    public get step(): number {\n        if (this._step) {\n            return this._step;\n        }\n        return this._max * ONE_PERCENT;\n    }\n\n    /**\n     * Sets the value by which progress indicator is updated. By default, it is 1.\n     * ```html\n     * <igx-linear-bar [step]=\"1\"></igx-linear-bar>\n     * <igx-circular-bar [step]=\"1\"></igx-circular-bar>\n     * ```\n     */\n    public set step(val: number) {\n        const step = Number(val);\n        if (step > this.max) {\n            return;\n        }\n\n        this._step = step;\n    }\n\n\n    /**\n     * Set a custom text. This will hide the counter value.\n     * ```html\n     * <igx-circular-bar text=\"my text\"></igx-circular-bar>\n     * ```\n     */\n    @Input()\n    public set text(value: string) {\n        this._text = value;\n        this._resetCounterValues(!!this._text); // Use the helper for text condition\n    }\n\n    /**\n     * Gets a custom text.\n     * ```typescript\n     * let text = this.circularBar.text;\n     * ```\n     */\n    public get text(): string {\n        return this._text;\n    }\n\n    /**\n     * Animating the progress. By default, it is set to true.\n     * ```html\n     * <igx-linear-bar [animate]=\"false\"></igx-linear-bar>\n     * <igx-circular-bar [animate]=\"false\"></igx-circular-bar>\n     * ```\n     */\n    @Input({ transform: booleanAttribute })\n    public set animate(animate: boolean) {\n        this._animate = animate;\n    }\n\n    /**\n     * Returns whether the `progress bar` has animation true/false.\n     * ```typescript\n     * @ViewChild(\"MyProgressBar\")\n     * public progressBar: IgxLinearProgressBarComponent | IgxCircularBarComponent;\n     * public animationStatus(event) {\n     *     let animationStatus = this.progressBar.animate;\n     *     alert(animationStatus);\n     * }\n     * ```\n     */\n    public get animate(): boolean {\n        return this._animate;\n    }\n\n    /**\n     * Set maximum value that can be passed. By default it is set to 100.\n     * ```html\n     * <igx-linear-bar [max]=\"200\"></igx-linear-bar>\n     * <igx-circular-bar [max]=\"200\"></igx-circular-bar>\n     * ```\n     */\n    @HostBinding('attr.aria-valuemax')\n    @Input()\n    public set max(maxNum: number) {\n        // Ignore invalid or unchanged max\n        if (maxNum < MIN_VALUE || this._max === maxNum) {\n            return;\n        }\n\n        this._max = maxNum;\n\n        // Revalidate current value\n        this._value = valueInRange(this._value, this._max);\n\n        // Refresh CSS variables\n        this._updateProgressValues();\n    }\n\n    /**\n     * Returns the maximum progress value of the `progress bar`.\n     * ```typescript\n     * @ViewChild(\"MyProgressBar\")\n     * public progressBar: IgxLinearProgressBarComponent | IgxCircularBarComponent;\n     * public maxValue(event) {\n     *     let max = this.progressBar.max;\n     *     alert(max);\n     * }\n     * ```\n     */\n    public get max() {\n        return this._max;\n    }\n\n    @HostBinding('style.--_progress-integer')\n    private get progressInteger() {\n        return this._integer.toString();\n    }\n\n    @HostBinding('style.--_progress-fraction')\n    private get progressFraction() {\n        return this._fraction.toString();\n    }\n\n    @HostBinding('style.--_progress-whole')\n    private get progressWhole() {\n        return this.valueInPercent.toFixed(2);\n    }\n\n    @HostBinding('style.--_transition-duration')\n    private get transitionDuration() {\n        return `${this.animationDuration}ms`;\n    }\n\n    /**\n     * @hidden\n     */\n    protected get hasFraction(): boolean {\n        const percentage = this.valueInPercent;\n        const integerPart = Math.floor(percentage);\n        const fractionalPart = percentage - integerPart;\n\n        return fractionalPart > 0;\n    }\n\n    /**\n     * Returns the linear progress bar/circular progress bar value in percentage.\n     * ```typescript\n     * @ViewChild(\"MyProgressBar\")\n     * public progressBar: IgxLinearProgressBarComponent / IgxCircularProgressBarComponent\n     * public valuePercent(event){\n     *     let percentValue = this.progressBar.valueInPercent;\n     *     alert(percentValue);\n     * }\n     * ```\n     */\n    public get valueInPercent(): number {\n        const result = this.max > 0 ? (this._value / this.max) * 100 : 0;\n        return Math.round(result * 100) / 100; // Round to two decimal places\n    }\n\n    /**\n     * Returns value that indicates the current linear progress bar/circular progress bar position.\n     * ```typescript\n     * @ViewChild(\"MyProgressBar\")\n     * public progressBar: IgxLinearProgressBarComponent / IgxCircularProgressBarComponent;\n     * public getValue(event) {\n     *     let value = this.progressBar.value;\n     *     alert(value);\n     * }\n     * ```\n     */\n    @HostBinding('attr.aria-valuenow')\n    @Input()\n    public get value(): number {\n        return this._value;\n    }\n\n    /**\n     * @hidden\n     */\n    protected _updateProgressValues(): void {\n        const percentage = this.valueInPercent;\n        const integerPart = Math.floor(percentage);\n        const fractionalPart = Math.round((percentage % 1) * 100);\n\n        this._integer = integerPart;\n        this._fraction = fractionalPart;\n    }\n\n    private _resetCounterValues(condition: boolean) {\n        if (condition) {\n            this._integer = 0;\n            this._fraction = 0;\n        } else {\n            this._zone.runOutsideAngular(() => {\n                setTimeout(() => {\n                    this._updateProgressValues();\n                    this._cdr.markForCheck();\n                });\n            });\n        }\n    }\n\n    /**\n     * Set value that indicates the current linear progress bar / circular progress bar position.\n     * ```html\n     * <igx-linear-bar [value]=\"50\"></igx-linear-bar>\n     * <igx-circular-bar [value]=\"50\"></igx-circular-bar>\n     * ```\n     */\n    public set value(val) {\n        const valInRange = valueInRange(val, this.max); // Ensure value is in range\n\n        // Avoid redundant updates\n        if (isNaN(valInRange) || this._value === valInRange) {\n            return;\n        }\n\n        const previousValue = this._value;\n\n        // Update internal value\n        this._value = valInRange;\n\n        this._zone.runOutsideAngular(() => {\n            setTimeout(() => {\n                this._updateProgressValues();\n                this._cdr.markForCheck();\n            });\n        });\n\n        // Emit the progressChanged event\n        this.progressChanged.emit({\n            previousValue,\n            currentValue: this._value,\n        });\n    }\n}\n\nlet NEXT_LINEAR_ID = 0;\nlet NEXT_CIRCULAR_ID = 0;\nlet NEXT_GRADIENT_ID = 0;\n@Component({\n    selector: 'igx-linear-bar',\n    templateUrl: './linear/linear-bar.component.html',\n    styleUrl: './linear/linear-bar.component.css',\n    encapsulation: ViewEncapsulation.None,\n    changeDetection: ChangeDetectionStrategy.Eager,\n    imports: [NgClass]\n})\nexport class IgxLinearProgressBarComponent extends BaseProgressDirective implements AfterContentInit {\n    @HostBinding('attr.aria-valuemin')\n    public valueMin = 0;\n\n    @HostBinding('class.igx-linear-bar')\n    public cssClass = 'igx-linear-bar';\n\n    /**\n     * Set linear progress bar to have striped style. By default it is set to false.\n     * ```html\n     * <igx-linear-bar [striped]=\"true\" [max]=\"200\" [value]=\"50\"></igx-linear-bar>\n     * ```\n     */\n    @HostBinding('class.igx-linear-bar--striped')\n    @Input({ transform: booleanAttribute })\n    public striped = false;\n\n    /**\n     * @hidden\n     * ```\n     */\n    @HostBinding('class.igx-linear-bar--indeterminate')\n    public get isIndeterminate() {\n        return this.indeterminate;\n    }\n\n    /**\n     * Sets the value of the `role` attribute. If not provided it will be automatically set to `progressbar`.\n     * ```html\n     * <igx-linear-bar role=\"progressbar\"></igx-linear-bar>\n     * ```\n     */\n    @HostBinding('attr.role')\n    @Input()\n    public role = 'progressbar';\n\n    /**\n     * Sets the value of `id` attribute. If not provided it will be automatically generated.\n     * ```html\n     * <igx-linear-bar [id]=\"'igx-linear-bar-55'\" [striped]=\"true\" [max]=\"200\" [value]=\"50\"></igx-linear-bar>\n     * ```\n     */\n    @HostBinding('attr.id')\n    @Input()\n    public id = `igx-linear-bar-${NEXT_LINEAR_ID++}`;\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-linear-bar--animation-none')\n    public get disableAnimationClass(): boolean {\n        return !this._animate;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-linear-bar--hide-counter')\n    public get hasText(): boolean {\n        return !!this.text;\n    }\n\n    /**\n     * Set the position that defines where the text is aligned.\n     * Possible options - `START` (default), `CENTER`, `END`.\n     * ```typescript\n     * public positionCenter: IgxTextAlign;\n     * public ngOnInit() {\n     *     this.positionCenter = IgxTextAlign.CENTER;\n     * }\n     *  //...\n     * ```\n     *  ```html\n     * <igx-linear-bar [textAlign]=\"positionCenter\"></igx-linear-bar>\n     * ```\n     */\n    @Input()\n    public textAlign: IgxTextAlign = IgxTextAlign.START;\n\n    /**\n     * Set the text to be visible. By default, it is set to true.\n     * ```html\n     *  <igx-linear-bar [textVisibility]=\"false\"></igx-linear-bar>\n     * ```\n     */\n    @Input({ transform: booleanAttribute })\n    public textVisibility = true;\n\n    /**\n     * Set the position that defines if the text should be aligned above the progress line. By default, is set to false.\n     * ```html\n     *  <igx-linear-bar [textTop]=\"true\"></igx-linear-bar>\n     * ```\n     */\n    @Input({ transform: booleanAttribute })\n    public textTop = false;\n\n    /**\n     * Set type of the linear progress bar. Possible options - `default`, `success`, `info`, `warning`, and `error`.\n     * ```html\n     * <igx-linear-bar [type]=\"'error'\"></igx-linear-bar>\n     * ```\n     */\n    @Input()\n    public type = 'default';\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-linear-bar--danger')\n    public get error() {\n        return this.type === IgxProgressType.ERROR;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-linear-bar--info')\n    public get info() {\n        return this.type === IgxProgressType.INFO;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-linear-bar--warning')\n    public get warning() {\n        return this.type === IgxProgressType.WARNING;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-linear-bar--success')\n    public get success() {\n        return this.type === IgxProgressType.SUCCESS;\n    }\n\n    public ngAfterContentInit() {\n        this._contentInit = true;\n    }\n}\n\n@Component({\n    selector: 'igx-circular-bar',\n    templateUrl: './circular/circular-bar.component.html',\n    styleUrl: './circular/circular-bar.component.css',\n    encapsulation: ViewEncapsulation.None,\n    changeDetection: ChangeDetectionStrategy.Eager,\n    imports: [NgTemplateOutlet, NgClass]\n})\nexport class IgxCircularProgressBarComponent extends BaseProgressDirective implements AfterContentInit {\n    private renderer = inject(Renderer2);\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar')\n    public cssClass = 'igx-circular-bar';\n\n    /**\n     * Sets the value of `id` attribute. If not provided it will be automatically generated.\n     * ```html\n     * <igx-circular-bar [id]=\"'igx-circular-bar-55'\"></igx-circular-bar>\n     * ```\n     */\n    @HostBinding('attr.id')\n    @Input()\n    public id = `igx-circular-bar-${NEXT_CIRCULAR_ID++}`;\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar--indeterminate')\n    public get isIndeterminate() {\n        return this.indeterminate;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar--animation-none')\n    public get disableAnimationClass(): boolean {\n        return !this._animate;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar--hide-counter')\n    public get hasText(): boolean {\n        return !!this.text;\n    }\n\n    /**\n     * Sets the text visibility. By default, it is set to true.\n     * ```html\n     * <igx-circular-bar [textVisibility]=\"false\"></igx-circular-bar>\n     * ```\n     */\n    @Input({ transform: booleanAttribute })\n    public textVisibility = true;\n\n    @ContentChild(IgxProgressBarTextTemplateDirective, { read: IgxProgressBarTextTemplateDirective })\n    public textTemplate!: IgxProgressBarTextTemplateDirective;\n\n    @ContentChild(IgxProgressBarGradientDirective, { read: IgxProgressBarGradientDirective })\n    public gradientTemplate!: IgxProgressBarGradientDirective;\n\n    /**\n     * @hidden\n     */\n    public gradientId = `igx-circular-gradient-${NEXT_GRADIENT_ID++}`;\n\n    /**\n     * @hidden\n     */\n    public get context(): any {\n        return {\n            $implicit: { value: this.value, valueInPercent: this.valueInPercent, max: this.max }\n        };\n    }\n\n    /**\n     * @hidden\n     */\n    public get textContent(): string {\n        return this.text;\n    }\n\n    /**\n     * Set type of the circular progress bar. Possible options - `default`, `success`, `info`, `warning`, and `error`.\n     * ```html\n     * <igx-circular-bar [type]=\"'error'\"></igx-circular-bar>\n     * ```\n     */\n    @Input()\n    public type = 'default';\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar--danger')\n    public get error() {\n        return this.type === IgxProgressType.ERROR;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar--info')\n    public get info() {\n        return this.type === IgxProgressType.INFO;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar--warning')\n    public get warning() {\n        return this.type === IgxProgressType.WARNING;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('class.igx-circular-bar--success')\n    public get success() {\n        return this.type === IgxProgressType.SUCCESS;\n    }\n\n    /**\n     * @hidden\n     */\n    @HostBinding('style.stroke')\n    public get strokeStyle() {\n        return this.type === 'default' ? `url(#${this.gradientId})` : 'none';\n    }\n\n    public ngAfterContentInit() {\n        this._contentInit = true;\n    }\n\n}\n","<div class=\"igx-linear-bar__base\">\n    <div class=\"igx-linear-bar__indicator\"></div>\n    <div class=\"igx-linear-bar__indicator-secondary\"></div>\n</div>\n<span\n    class=\"igx-linear-bar__value\"\n    [ngClass]=\"{\n    'igx-linear-bar__value--start': textAlign === 'start',\n    'igx-linear-bar__value--center': textAlign === 'center',\n    'igx-linear-bar__value--end': textAlign === 'end',\n    'igx-linear-bar__value--top': textTop,\n    'igx-linear-bar__value--hidden': !textVisibility,\n    'igx-linear-bar__value--fraction': hasFraction\n}\">\n    {{text}}\n</span>\n\n","<svg #svg\n     role=\"progressbar\"\n     aria-valuemin=\"0\"\n     [ngClass]=\"{'igx-circular-svg': true, 'igx-circular-svg--indeterminate': indeterminate}\"\n     [attr.aria-valuemax]=\"max\"\n     [attr.aria-valuenow]=\"value\">\n    <svg:circle class=\"igx-circular-svg__inner\" />\n    <svg:circle #circle class=\"igx-circular-bar__outer igx-circular-svg__outer\"/>\n\n    <svg:defs>\n        <ng-container\n                *ngTemplateOutlet=\"gradientTemplate ? gradientTemplate.template : defaultGradientTemplate;\n        context: { $implicit: gradientId }\">\n        </ng-container>\n    </svg:defs>\n\n    <ng-template #defaultGradientTemplate>\n        <svg:linearGradient [id]=\"gradientId\" gradientTransform=\"rotate(90)\">\n            <stop offset=\"0%\"   class=\"igx-circular-svg__gradient-start\" />\n            <stop offset=\"100%\" class=\"igx-circular-svg__gradient-end\" />\n        </svg:linearGradient>\n    </ng-template>\n</svg>\n\n@if (textVisibility) {\n    <span class=\"igx-circular-bar__text\" [ngClass]=\"hasFraction ? 'igx-circular-bar__value--fraction' : ''\">\n        <ng-container *ngTemplateOutlet=\"textTemplate ? textTemplate.template : defaultTextTemplate;\n            context: context\">\n        </ng-container>\n    </span>\n}\n\n<ng-template #defaultTextTemplate>\n    {{textContent}}\n</ng-template>\n\n\n","import { IgxProgressBarGradientDirective, IgxProgressBarTextTemplateDirective } from './progressbar.common';\nimport { IgxCircularProgressBarComponent, IgxLinearProgressBarComponent } from './progressbar.component';\n\nexport * from './progressbar.common';\nexport {\n    IgxTextAlign,\n    IgxProgressType,\n    IChangeProgressEventArgs,\n    IgxLinearProgressBarComponent,\n    IgxCircularProgressBarComponent\n} from './progressbar.component';\n\n/* NOTE: Progress bar (linear and circular) directives collection for ease-of-use import in standalone components scenario */\nexport const IGX_PROGRESS_BAR_DIRECTIVES = [\n    IgxLinearProgressBarComponent,\n    IgxCircularProgressBarComponent,\n    IgxProgressBarTextTemplateDirective,\n    IgxProgressBarGradientDirective\n] as const;\n\n/* NOTE: Linear progress bar directives collection for ease-of-use import in standalone components scenario */\nexport const IGX_LINEAR_PROGRESS_BAR_DIRECTIVES = [\n    IgxLinearProgressBarComponent,\n    IgxProgressBarGradientDirective\n] as const;\n\n/* NOTE: Circular progress bar directives collection for ease-of-use import in standalone components scenario */\nexport const IGX_CIRCULAR_PROGRESS_BAR_DIRECTIVES = [\n    IgxCircularProgressBarComponent,\n    IgxProgressBarTextTemplateDirective,\n    IgxProgressBarGradientDirective\n] as const;\n","import { NgModule } from '@angular/core';\nimport { IGX_PROGRESS_BAR_DIRECTIVES } from './public_api';\n\n/**\n * @hidden\n * IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components\n */\n@NgModule({\n    imports: [\n        ...IGX_PROGRESS_BAR_DIRECTIVES\n    ],\n    exports: [\n        ...IGX_PROGRESS_BAR_DIRECTIVES\n    ]\n})\nexport class IgxProgressBarModule { }\n"],"mappings":";;;AAMA,IAAa,sCAAb,M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