yt-uikit 0.7.381-progress-bar.13 → 0.7.381-progress-bar.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -280,6 +280,8 @@ export declare const ProgressTrack: import("styled-components").IStyledComponent
|
|
|
280
280
|
}>>;
|
|
281
281
|
export declare const SegmentWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
282
282
|
$widthPercent: number;
|
|
283
|
+
$isLast: boolean;
|
|
284
|
+
$isSingle: boolean;
|
|
283
285
|
}>>;
|
|
284
286
|
export declare const SegmentBackground: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
285
287
|
$isFirst: boolean;
|
|
@@ -293,9 +295,278 @@ export declare const SegmentFill: import("styled-components").IStyledComponent<"
|
|
|
293
295
|
$isLast: boolean;
|
|
294
296
|
$isComplete: boolean;
|
|
295
297
|
}>>;
|
|
296
|
-
export declare const SegmentIconWrapper: import("styled-components").IStyledComponent<"web",
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
export declare const SegmentIconWrapper: import("styled-components").IStyledComponent<"web", {
|
|
299
|
+
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
300
|
+
key?: import("react").Key | null | undefined;
|
|
301
|
+
defaultChecked?: boolean | undefined;
|
|
302
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
303
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
304
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
305
|
+
accessKey?: string | undefined;
|
|
306
|
+
autoFocus?: boolean | undefined;
|
|
307
|
+
className?: string | undefined;
|
|
308
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
309
|
+
contextMenu?: string | undefined;
|
|
310
|
+
dir?: string | undefined;
|
|
311
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
312
|
+
hidden?: boolean | undefined;
|
|
313
|
+
id?: string | undefined;
|
|
314
|
+
lang?: string | undefined;
|
|
315
|
+
nonce?: string | undefined;
|
|
316
|
+
placeholder?: string | undefined;
|
|
317
|
+
slot?: string | undefined;
|
|
318
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
319
|
+
style?: import("react").CSSProperties | undefined;
|
|
320
|
+
tabIndex?: number | undefined;
|
|
321
|
+
title?: string | undefined;
|
|
322
|
+
translate?: "yes" | "no" | undefined;
|
|
323
|
+
radioGroup?: string | undefined;
|
|
324
|
+
role?: import("react").AriaRole | undefined;
|
|
325
|
+
about?: string | undefined;
|
|
326
|
+
content?: string | undefined;
|
|
327
|
+
datatype?: string | undefined;
|
|
328
|
+
inlist?: any;
|
|
329
|
+
prefix?: string | undefined;
|
|
330
|
+
property?: string | undefined;
|
|
331
|
+
rel?: string | undefined;
|
|
332
|
+
resource?: string | undefined;
|
|
333
|
+
rev?: string | undefined;
|
|
334
|
+
typeof?: string | undefined;
|
|
335
|
+
vocab?: string | undefined;
|
|
336
|
+
autoCapitalize?: string | undefined;
|
|
337
|
+
autoCorrect?: string | undefined;
|
|
338
|
+
autoSave?: string | undefined;
|
|
339
|
+
color?: string | undefined;
|
|
340
|
+
itemProp?: string | undefined;
|
|
341
|
+
itemScope?: boolean | undefined;
|
|
342
|
+
itemType?: string | undefined;
|
|
343
|
+
itemID?: string | undefined;
|
|
344
|
+
itemRef?: string | undefined;
|
|
345
|
+
results?: number | undefined;
|
|
346
|
+
security?: string | undefined;
|
|
347
|
+
unselectable?: "on" | "off" | undefined;
|
|
348
|
+
inputMode?: "text" | "none" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
349
|
+
is?: string | undefined;
|
|
350
|
+
"aria-activedescendant"?: string | undefined;
|
|
351
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
352
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
353
|
+
"aria-braillelabel"?: string | undefined;
|
|
354
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
355
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
356
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
357
|
+
"aria-colcount"?: number | undefined;
|
|
358
|
+
"aria-colindex"?: number | undefined;
|
|
359
|
+
"aria-colindextext"?: string | undefined;
|
|
360
|
+
"aria-colspan"?: number | undefined;
|
|
361
|
+
"aria-controls"?: string | undefined;
|
|
362
|
+
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
363
|
+
"aria-describedby"?: string | undefined;
|
|
364
|
+
"aria-description"?: string | undefined;
|
|
365
|
+
"aria-details"?: string | undefined;
|
|
366
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
367
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
368
|
+
"aria-errormessage"?: string | undefined;
|
|
369
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
370
|
+
"aria-flowto"?: string | undefined;
|
|
371
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
372
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
373
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
374
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
375
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
376
|
+
"aria-label"?: string | undefined;
|
|
377
|
+
"aria-labelledby"?: string | undefined;
|
|
378
|
+
"aria-level"?: number | undefined;
|
|
379
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
380
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
381
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
382
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
383
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
384
|
+
"aria-owns"?: string | undefined;
|
|
385
|
+
"aria-placeholder"?: string | undefined;
|
|
386
|
+
"aria-posinset"?: number | undefined;
|
|
387
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
388
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
389
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
390
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
391
|
+
"aria-roledescription"?: string | undefined;
|
|
392
|
+
"aria-rowcount"?: number | undefined;
|
|
393
|
+
"aria-rowindex"?: number | undefined;
|
|
394
|
+
"aria-rowindextext"?: string | undefined;
|
|
395
|
+
"aria-rowspan"?: number | undefined;
|
|
396
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
397
|
+
"aria-setsize"?: number | undefined;
|
|
398
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
399
|
+
"aria-valuemax"?: number | undefined;
|
|
400
|
+
"aria-valuemin"?: number | undefined;
|
|
401
|
+
"aria-valuenow"?: number | undefined;
|
|
402
|
+
"aria-valuetext"?: string | undefined;
|
|
403
|
+
children?: import("react").ReactNode;
|
|
404
|
+
dangerouslySetInnerHTML?: {
|
|
405
|
+
__html: string | TrustedHTML;
|
|
406
|
+
} | undefined;
|
|
407
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
408
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
409
|
+
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
410
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
411
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
412
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
413
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
414
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
415
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
416
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
417
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
418
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
419
|
+
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
420
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
421
|
+
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
422
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
423
|
+
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
424
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
425
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
426
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
427
|
+
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
428
|
+
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
429
|
+
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
430
|
+
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
431
|
+
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
432
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
433
|
+
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
434
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
435
|
+
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
436
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
437
|
+
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
438
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
439
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
440
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
441
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
442
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
443
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
444
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
445
|
+
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
446
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
447
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
448
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
449
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
450
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
451
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
452
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
453
|
+
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
454
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
455
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
456
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
457
|
+
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
458
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
459
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
460
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
461
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
462
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
463
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
464
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
465
|
+
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
466
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
467
|
+
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
468
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
469
|
+
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
470
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
471
|
+
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
472
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
473
|
+
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
474
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
475
|
+
onResize?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
476
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
477
|
+
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
478
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
479
|
+
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
480
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
481
|
+
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
482
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
483
|
+
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
484
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
485
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
486
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
487
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
488
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
489
|
+
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
490
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
491
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
492
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
493
|
+
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
494
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
495
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
496
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
497
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
498
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
499
|
+
onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
500
|
+
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
501
|
+
onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
502
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
503
|
+
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
504
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
505
|
+
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
506
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
507
|
+
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
508
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
509
|
+
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
510
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
511
|
+
onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
512
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
513
|
+
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
514
|
+
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
515
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
516
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
517
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
518
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
519
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
520
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
521
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
522
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
523
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
524
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
525
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
526
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
527
|
+
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
528
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
529
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
530
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
531
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
532
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
533
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
534
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
535
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
536
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
537
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
538
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
539
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
540
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
541
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
542
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
543
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
544
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
545
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
546
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
547
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
548
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
549
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
550
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
551
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
552
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
553
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
554
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
555
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
556
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
557
|
+
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
558
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
559
|
+
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
560
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
561
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
562
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
563
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
564
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
565
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
566
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
567
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
568
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
569
|
+
}>;
|
|
299
570
|
export declare const Tag: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
300
571
|
$isCompleted?: boolean | undefined;
|
|
301
572
|
$ctaButtonBackgroundColor?: string | undefined;
|
|
@@ -1680,6 +1951,8 @@ export declare const SegmentTooltipWrapper: import("styled-components").IStyledC
|
|
|
1680
1951
|
}>;
|
|
1681
1952
|
export declare const CheckpointLabelCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
1682
1953
|
$widthPercent: number;
|
|
1954
|
+
$isLast: boolean;
|
|
1955
|
+
$isSingle: boolean;
|
|
1683
1956
|
}>>;
|
|
1684
1957
|
export declare const LabelsWrapper: import("styled-components").IStyledComponent<"web", {
|
|
1685
1958
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
package/dist/esm/index.js
CHANGED
|
@@ -758,7 +758,7 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
758
758
|
height: 44px;
|
|
759
759
|
`,lr=x.div`
|
|
760
760
|
position: relative;
|
|
761
|
-
flex:
|
|
761
|
+
flex: ${({$isSingle:e,$isLast:t,$widthPercent:n})=>e?"1 0 100%":t?`0 0 ${Math.max(n,0)}%`:"1 0 auto"};
|
|
762
762
|
min-width: 0;
|
|
763
763
|
height: 100%;
|
|
764
764
|
display: flex;
|
|
@@ -792,7 +792,7 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
792
792
|
display: flex;
|
|
793
793
|
flex-direction: column;
|
|
794
794
|
justify-content: center;
|
|
795
|
-
align-items:
|
|
795
|
+
align-items: center;
|
|
796
796
|
gap: 10px;
|
|
797
797
|
`,pr=x.div`
|
|
798
798
|
background-color: ${e=>e?.$isCompleted?e?.$ctaButtonBackgroundColor??"#000000":cn(e?.$ctaButtonBackgroundColor??"#000000",.2)};
|
|
@@ -899,7 +899,7 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
899
899
|
justify-content: center;
|
|
900
900
|
margin-top: 10px;
|
|
901
901
|
`,vr=x.div`
|
|
902
|
-
flex:
|
|
902
|
+
flex: ${({$isSingle:e,$isLast:t,$widthPercent:n})=>e?"1 0 100%":t?`0 0 ${Math.max(n,0)}%`:"1 0 auto"};
|
|
903
903
|
min-width: 0;
|
|
904
904
|
display: flex;
|
|
905
905
|
flex-direction: column;
|
|
@@ -1002,7 +1002,7 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
1002
1002
|
flex-wrap: wrap;
|
|
1003
1003
|
text-align: center;
|
|
1004
1004
|
}
|
|
1005
|
-
`,_r=({prefixMessageText:e="You are",suffixMessageText:n="away from",successMessageText:r="Best reward unlocked",...o})=>{const a=(r,o)=>t.createElement(Ir,null,e&&t.createElement("span",{className:"yt-cart-progress-bar-prefix-span"},e," "),t.createElement("span",{className:"yt-cart-progress-bar-amount-span",style:{fontWeight:"bold"}},r)," ",n&&t.createElement("span",{className:"yt-cart-progress-bar-suffix-span"},n," "),t.createElement("span",{className:"yt-cart-progress-bar-checkpoint-span",style:{fontWeight:"bold"}},o));let i=-1;const l=void 0!==o.currentCartAmount?o.currentCartAmount:o.cartData?.items_subtotal_price,c=void 0!==o.effectiveQuantityForProgressBar?o.effectiveQuantityForProgressBar:o.cartData?.item_count,d=nn(o.cartData,o.cartData?.currency)??"Rs .";if("minimum_order_value"===o.customCartProgressBarCriteria){if(0===l&&o.cartData?.items_subtotal_price>0)return null;for(let e=0;e<o.checkpoints?.length;e++)if(l<o.checkpoints?.[e]?.minimumOrderValue){i=e;break}if(-1===i)return t.createElement("span",{className:"yt-cart-progress-bar-success-span"},r);const e=o.checkpoints?.[i];return a(`${d}${mn((e?.minimumOrderValue-l).toFixed(0))}`,e?.name)}if(0===c&&o.cartData?.item_count>0)return null;for(let e=0;e<o.checkpoints?.length;e++)if(c<o.checkpoints?.[e]?.quantityThreshold){i=e;break}if(-1===i)return t.createElement("span",{className:"yt-cart-progress-bar-success-span"},r);const s=o.checkpoints?.[i];return a(`${s?.quantityThreshold-c}`,s?.name)},Or=e=>t.createElement(kr,{className:"yt-cart-single-tier-reward-message",$ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(_r,{...e}));var Pr={};!function e(t,n,r,o){var a=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),i="function"==typeof Path2D&&"function"==typeof DOMMatrix;function l(){}function c(e){var r=n.exports.Promise,o=void 0!==r?r:t.Promise;return"function"==typeof o?new o(e):(e(l,l),null)}var d,s,p,u,m,f,g,h,x,y=function(e,t){return{transform:function(n){if(e)return n;if(t.has(n))return t.get(n);var r=new OffscreenCanvas(n.width,n.height);return r.getContext("2d").drawImage(n,0,0),t.set(n,r),r},clear:function(){t.clear()}}}(function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),n=e.getContext("2d");n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();try{n.createPattern(r,"no-repeat")}catch(e){return!1}return!0}(),new Map),b=(p=Math.floor(1e3/60),u={},m=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(d=function(e){var t=Math.random();return u[t]=requestAnimationFrame((function n(r){m===r||m+p-1<r?(m=r,delete u[t],e()):u[t]=requestAnimationFrame(n)})),t},s=function(e){u[e]&&cancelAnimationFrame(u[e])}):(d=function(e){return setTimeout(e,p)},s=function(e){return clearTimeout(e)}),{frame:d,cancel:s}),v=(h={},function(){if(f)return f;if(!r&&a){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{f=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(n,r,o){if(g)return t(n,null),g;var a=Math.random().toString(36).slice(2);return g=c((function(r){function i(t){t.data.callback===a&&(delete h[a],e.removeEventListener("message",i),g=null,y.clear(),o(),r())}e.addEventListener("message",i),t(n,a),h[a]=i.bind(null,{data:{callback:a}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),h)h[t](),delete h[t]}}(f)}return f}),w={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function C(e,t,n){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:w[t],n)}function E(e){return e<0?0:Math.floor(e)}function k(e){return parseInt(e,16)}function T(e){return e.map(S)}function S(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:k(t.substring(0,2)),g:k(t.substring(2,4)),b:k(t.substring(4,6))}}function $(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function B(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function z(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n=t.tick++/t.totalTicks,r=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,a=t.wobbleX+t.random*t.tiltCos,l=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-n)+")",e.beginPath(),i&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix))e.fill(function(e,t,n,r,o,a,i){var l=new Path2D(e),c=new Path2D;c.addPath(l,new DOMMatrix(t));var d=new Path2D;return d.addPath(c,new DOMMatrix([Math.cos(i)*o,Math.sin(i)*o,-Math.sin(i)*a,Math.cos(i)*a,n,r])),d}(t.shape.path,t.shape.matrix,t.x,t.y,.1*Math.abs(a-r),.1*Math.abs(l-o),Math.PI/10*t.wobble));else if("bitmap"===t.shape.type){var c=Math.PI/10*t.wobble,d=.1*Math.abs(a-r),s=.1*Math.abs(l-o),p=t.shape.bitmap.width*t.scalar,u=t.shape.bitmap.height*t.scalar,m=new DOMMatrix([Math.cos(c)*d,Math.sin(c)*d,-Math.sin(c)*s,Math.cos(c)*s,t.x,t.y]);m.multiplySelf(new DOMMatrix(t.shape.matrix));var f=e.createPattern(y.transform(t.shape.bitmap),"no-repeat");f.setTransform(m),e.globalAlpha=1-n,e.fillStyle=f,e.fillRect(t.x-p/2,t.y-u/2,p,u),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(l-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,n,r,o,a,i,l,c){e.save(),e.translate(t,n),e.rotate(a),e.scale(r,o),e.arc(0,0,1,i,l,c),e.restore()}(e,t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(l-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if("star"===t.shape)for(var g=Math.PI/2*3,h=4*t.scalar,x=8*t.scalar,b=t.x,v=t.y,w=5,C=Math.PI/w;w--;)b=t.x+Math.cos(g)*x,v=t.y+Math.sin(g)*x,e.lineTo(b,v),g+=C,b=t.x+Math.cos(g)*h,v=t.y+Math.sin(g)*h,e.lineTo(b,v),g+=C;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(a),Math.floor(l)),e.lineTo(Math.floor(r),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}function D(e,n){var i,l=!e,d=!!C(n||{},"resize"),s=!1,p=C(n,"disableForReducedMotion",Boolean),u=a&&!!C(n||{},"useWorker")?v():null,m=l?$:B,f=!(!e||!u)&&!!e.__confetti_initialized,g="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(t,n,a){for(var l,d,s,p,u,f=C(t,"particleCount",E),g=C(t,"angle",Number),h=C(t,"spread",Number),x=C(t,"startVelocity",Number),v=C(t,"decay",Number),w=C(t,"gravity",Number),k=C(t,"drift",Number),S=C(t,"colors",T),$=C(t,"ticks",Number),B=C(t,"shapes"),D=C(t,"scalar"),I=!!C(t,"flat"),_=function(e){var t=C(e,"origin",Object);return t.x=C(t,"x",Number),t.y=C(t,"y",Number),t}(t),O=f,P=[],A=e.width*_.x,N=e.height*_.y;O--;)P.push((l={x:A,y:N,angle:g,spread:h,startVelocity:x,color:S[O%S.length],shape:B[(p=0,u=B.length,Math.floor(Math.random()*(u-p))+p)],ticks:$,decay:v,gravity:w,drift:k,scalar:D,flat:I},d=void 0,s=void 0,d=l.angle*(Math.PI/180),s=l.spread*(Math.PI/180),{x:l.x,y:l.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*l.startVelocity+Math.random()*l.startVelocity,angle2D:-d+(.5*s-Math.random()*s),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:l.color,shape:l.shape,tick:0,totalTicks:l.ticks,decay:l.decay,drift:l.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*l.gravity,ovalScalar:.6,scalar:l.scalar,flat:l.flat}));return i?i.addFettis(P):(i=function(e,t,n,a,i){var l,d,s=t.slice(),p=e.getContext("2d"),u=c((function(t){function c(){l=d=null,p.clearRect(0,0,a.width,a.height),y.clear(),i(),t()}l=b.frame((function t(){!r||a.width===o.width&&a.height===o.height||(a.width=e.width=o.width,a.height=e.height=o.height),a.width||a.height||(n(e),a.width=e.width,a.height=e.height),p.clearRect(0,0,a.width,a.height),(s=s.filter((function(e){return z(p,e)}))).length?l=b.frame(t):c()})),d=c}));return{addFettis:function(e){return s=s.concat(e),u},canvas:e,promise:u,reset:function(){l&&b.cancel(l),d&&d()}}}(e,P,m,n,a),i.promise)}function x(n){var r=p||C(n,"disableForReducedMotion",Boolean),o=C(n,"zIndex",Number);if(r&&g)return c((function(e){e()}));l&&i?e=i.canvas:l&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(o),document.body.appendChild(e)),d&&!f&&m(e);var a={width:e.width,height:e.height};function x(){if(u){var t={getBoundingClientRect:function(){if(!l)return e.getBoundingClientRect()}};return m(t),void u.postMessage({resize:{width:t.width,height:t.height}})}a.width=a.height=null}function y(){i=null,d&&(s=!1,t.removeEventListener("resize",x)),l&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,f=!1)}return u&&!f&&u.init(e),f=!0,u&&(e.__confetti_initialized=!0),d&&!s&&(s=!0,t.addEventListener("resize",x,!1)),u?u.fire(n,a,y):h(n,a,y)}return x.reset=function(){u&&u.reset(),i&&i.reset()},x}function I(){return x||(x=D(null,{useWorker:!0,resize:!0})),x}n.exports=function(){return I().apply(this,arguments)},n.exports.reset=function(){I().reset()},n.exports.create=D,n.exports.shapeFromPath=function(e){if(!i)throw new Error("path confetti are not supported in this browser");var t,n;"string"==typeof e?t=e:(t=e.path,n=e.matrix);var r=new Path2D(t),o=document.createElement("canvas").getContext("2d");if(!n){for(var a,l,c=1e3,d=c,s=c,p=0,u=0,m=0;m<c;m+=2)for(var f=0;f<c;f+=2)o.isPointInPath(r,m,f,"nonzero")&&(d=Math.min(d,m),s=Math.min(s,f),p=Math.max(p,m),u=Math.max(u,f));a=p-d,l=u-s;var g=Math.min(10/a,10/l);n=[g,0,0,g,-Math.round(a/2+d)*g,-Math.round(l/2+s)*g]}return{type:"path",path:t,matrix:n}},n.exports.shapeFromText=function(e){var t,n=1,r="#000000",o='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,n="scalar"in e?e.scalar:n,o="fontFamily"in e?e.fontFamily:o,r="color"in e?e.color:r);var a=10*n,i=a+"px "+o,l=new OffscreenCanvas(a,a),c=l.getContext("2d");c.font=i;var d=c.measureText(t),s=Math.ceil(d.actualBoundingBoxRight+d.actualBoundingBoxLeft),p=Math.ceil(d.actualBoundingBoxAscent+d.actualBoundingBoxDescent),u=d.actualBoundingBoxLeft+2,m=d.actualBoundingBoxAscent+2;s+=4,p+=4,(c=(l=new OffscreenCanvas(s,p)).getContext("2d")).font=i,c.fillStyle=r,c.fillText(t,u,m);var f=1/n;return{type:"bitmap",bitmap:l.transferToImageBitmap(),matrix:[f,0,0,f,-s*f/2,-p*f/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Pr,!1);var Ar=Pr.exports;Pr.exports.create;const Nr=({particleCount:e,spread:n,origin:r,checkpointPosition:a=.5})=>{const i=o(null),c=o(!1);return l((()=>{if(i.current&&!c.current){Ar.create(i.current,{resize:!0})({particleCount:10*e,spread:n,origin:{x:1,y:.8}}),c.current=!0}}),[e,n,r,a]),t.createElement("canvas",{ref:i,id:"my-canvas",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:-1}})},Fr=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...i})=>{const{currentCartAmount:d,checkpoints:s,themeColor:p,customCartProgressBarCriteria:u,primaryTextColor:m,effectiveQuantityForProgressBar:f,ctaButtonBackgroundColor:g,ctaButtonTextColor:h}=i,x=At(Mt),[y,b]=c(!1),[v,w]=c(-1),C=o({});return l((()=>{s?.forEach(((e,t)=>{const n=Dr(e,0,s??[],x?.item_count,i),r=String(e.couponTemplateId);(C.current[r]||0)<100&&n.progressPercentage>=100&&(w(t),b(!0),setTimeout((()=>b(!1)),5e3)),C.current[r]=n.progressPercentage}))}),[x,s]),t.createElement(t.Fragment,null,t.createElement(Or,{currentCartAmount:d,checkpoints:s,cartData:x,customCartProgressBarCriteria:u,effectiveQuantityForProgressBar:f,themeColor:p,primaryTextColor:m,showMOVForProgressTiers:!1,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonBackgroundColor:g,ctaButtonTextColor:h}),t.createElement(Tr,null,y&&a&&t.createElement(Nr,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:(v+1)/(s?.length??1)}),t.createElement(Sr,null,t.createElement(Er,null,s?.sort(((e,t)=>"minimum_order_value"===u?e?.minimumOrderValue-t?.minimumOrderValue:e?.quantityThreshold-t?.quantityThreshold))?.filter((e=>0!==e?.[zr(u)]&&("minimum_order_value"!==u||1!==e?.[zr(u)])))?.map(((...e)=>Dr(...e,x?.item_count,i)))?.map(((e,n)=>t.createElement($r,{key:e?.couponTemplateId,$numberOfCheckpoints:s?.length??1},t.createElement(Br,null,n<s?.length&&t.createElement(Cr,{className:"yt-cart-single-progress-bar",$isCompleted:e?.progressPercentage>=100,$percent:e?.progressPercentage,style:{display:"flex"},$numberOfCheckpoints:s?.length??1,$isFirstCheckpoint:0===n,$ctaButtonBackgroundColor:g})))))))))},Mr=e=>t.createElement(mr,{className:"yt-cart-multi-tier-reward-message",$ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(_r,{...e}));function Rr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z"},child:[]}]})(e)}function Lr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"ellipse",attr:{transform:"rotate(-1.057 159.995 423.97) scale(.99997)",cx:"160",cy:"424",rx:"24",ry:"24"},child:[]},{tag:"ellipse",attr:{transform:"matrix(.02382 -.9997 .9997 .02382 -48.51 798.282)",cx:"384.5",cy:"424",rx:"24",ry:"24"},child:[]},{tag:"path",attr:{d:"M463.8 132.2c-.7-2.4-2.8-4-5.2-4.2L132.9 96.5c-2.8-.3-6.2-2.1-7.5-4.7-3.8-7.1-6.2-11.1-12.2-18.6-7.7-9.4-22.2-9.1-48.8-9.3-9-.1-16.3 5.2-16.3 14.1 0 8.7 6.9 14.1 15.6 14.1s21.3.5 26 1.9c4.7 1.4 8.5 9.1 9.9 15.8 0 .1 0 .2.1.3.2 1.2 2 10.2 2 10.3l40 211.6c2.4 14.5 7.3 26.5 14.5 35.7 8.4 10.8 19.5 16.2 32.9 16.2h236.6c7.6 0 14.1-5.8 14.4-13.4.4-8-6-14.6-14-14.6H188.9c-2 0-4.9 0-8.3-2.8-3.5-3-8.3-9.9-11.5-26l-4.3-23.7c0-.3.1-.5.4-.6l277.7-47c2.6-.4 4.6-2.5 4.9-5.2l16-115.8c.2-.8.2-1.7 0-2.6z"},child:[]}]})(e)}function jr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M463 192H315.9L271.2 58.6C269 52.1 262.9 48 256 48s-13 4.1-15.2 10.6L196.1 192H48c-8.8 0-16 7.2-16 16 0 .9.1 1.9.3 2.7.2 3.5 1.8 7.4 6.7 11.3l120.9 85.2-46.4 134.9c-2.3 6.5 0 13.8 5.5 18 2.9 2.1 5.6 3.9 9 3.9 3.3 0 7.2-1.7 10-3.6l118-84.1 118 84.1c2.8 2 6.7 3.6 10 3.6 3.4 0 6.1-1.7 8.9-3.9 5.6-4.2 7.8-11.4 5.5-18L352 307.2l119.9-86 2.9-2.5c2.6-2.8 5.2-6.6 5.2-10.7 0-8.8-8.2-16-17-16z"},child:[]}]})(e)}function Vr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 128L192 256l128 128z"},child:[]}]})(e)}function Hr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"},child:[]}]})(e)}function Wr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M85 277.375h259.704L225.002 397.077 256 427l171-171L256 85l-29.922 29.924 118.626 119.701H85v42.75z"},child:[]}]})(e)}function Ur(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M186.301 339.893L96 249.461l-32 30.507L186.301 402 448 140.506 416 110z"},child:[]}]})(e)}function Gr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"},child:[]}]})(e)}function Qr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M442 107v141L229.2 451.7c8 8 20.8 12.3 28.8 12.3s22.8-3.7 31.4-12.3L480 272V144l-38-37z"},child:[]},{tag:"path",attr:{d:"M384 48H224L44.3 235.6c-8 8-12 17.8-12.3 28.4-.3 11.3 3.7 23.3 12.3 31.9l123.8 123.6c8 8 20.8 12.5 28.8 12.5s22.7-3.9 31.3-12.5L416 240V80l-32-32zm-30.7 102.7c-21.7 6.1-41.3-10-41.3-30.7 0-17.7 14.3-32 32-32 20.7 0 36.8 19.6 30.7 41.3-2.9 10.3-11.1 18.5-21.4 21.4z"},child:[]}]})(e)}function Yr(e){return _({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z"},child:[]}]})(e)}function qr(e){return _({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"},child:[]}]})(e)}function Zr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z"},child:[]}]})(e)}function Kr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z"},child:[]}]})(e)}function Xr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M10 18a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8 3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6z"},child:[]}]})(e)}function Jr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M5 20a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8h2V6h-4V4a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v2H3v2h2zM9 4h6v2H9zM8 8h9v12H7V8z"},child:[]},{tag:"path",attr:{d:"M9 10h2v8H9zm4 0h2v8h-2z"},child:[]}]})(e)}function eo(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"},child:[]}]})(e)}function to(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z"},child:[]}]})(e)}function no(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"},child:[]}]})(e)}function ro(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z"},child:[]}]})(e)}function oo(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"},child:[]}]})(e)}function ao(e){return _({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M95.8,56.2a28,28,0,1,1-39.6,0A28,28,0,0,1,95.8,56.2Zm104,104a28,28,0,1,0,0,39.6A28,28,0,0,0,199.8,160.2Z",opacity:"0.2"},child:[]},{tag:"path",attr:{d:"M205.66,61.64l-144,144a8,8,0,0,1-11.32-11.32l144-144a8,8,0,0,1,11.32,11.31ZM50.54,101.44a36,36,0,0,1,50.92-50.91h0a36,36,0,0,1-50.92,50.91ZM56,76A20,20,0,1,0,90.14,61.84h0A20,20,0,0,0,56,76ZM216,180a36,36,0,1,1-10.54-25.46h0A35.76,35.76,0,0,1,216,180Zm-16,0a20,20,0,1,0-5.86,14.14A19.87,19.87,0,0,0,200,180Z"},child:[]}]})(e)}function io(e){return _({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},child:[]}]})(e)}const lo=(e,n,r,o,a)=>{let i;if(i="free_product"===e?co?.[o]:so?.[e],!i)return t.createElement(Ur,{style:{padding:"4px",border:"2px solid black",backgroundColor:"grey",color:"white",borderRadius:"9999px",fontSize:`${or(r)}px`,width:"24px",height:"24px"}});const l=(()=>{try{if("undefined"==typeof window)return!0;const e=window?.Shopify?.shop||window?.ytapp?.storeDomain;return!!e&&new Set(["h1gvdy-t0.myshopify.com","aayush-new-store.myshopify.com"]).has(e)}catch(e){return!1}})();return t.createElement(i,{style:{padding:"4px",border:"2px solid black",backgroundColor:l?"#000":"white",borderColor:l?"#fff":n,color:l?"#fff":n,borderRadius:"9999px",width:"24px",height:"24px",fontSize:`${or(r??3)}px`}})},co={tshirt:function(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21.316 4.055C19.556 3.478 15 1.985 15 2a3 3 0 1 1-6 0c0-.015-4.556 1.478-6.317 2.055A.992.992 0 0 0 2 5.003v3.716a1 1 0 0 0 1.242.97L6 9v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V9l2.758.689A1 1 0 0 0 22 8.719V5.003a.992.992 0 0 0-.684-.948z"},child:[]}]})(e)},box:function(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m21.406 6.086-9-4a1.001 1.001 0 0 0-.813 0l-9 4c-.02.009-.034.024-.054.035-.028.014-.058.023-.084.04-.022.015-.039.034-.06.05a.87.87 0 0 0-.19.194c-.02.028-.041.053-.059.081a1.119 1.119 0 0 0-.076.165c-.009.027-.023.052-.031.079A1.013 1.013 0 0 0 2 7v10c0 .396.232.753.594.914l9 4c.13.058.268.086.406.086a.997.997 0 0 0 .402-.096l.004.01 9-4A.999.999 0 0 0 22 17V7a.999.999 0 0 0-.594-.914zM12 4.095 18.538 7 12 9.905l-1.308-.581L5.463 7 12 4.095zM4 16.351V8.539l7 3.111v7.811l-7-3.11zm9 3.11V11.65l7-3.111v7.812l-7 3.11z"},child:[]}]})(e)},cup:function(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M.5 6a.5.5 0 0 0-.488.608l1.652 7.434A2.5 2.5 0 0 0 4.104 16h5.792a2.5 2.5 0 0 0 2.44-1.958l.131-.59a3 3 0 0 0 1.3-5.854l.221-.99A.5.5 0 0 0 13.5 6zM13 12.5a2 2 0 0 1-.316-.025l.867-3.898A2.001 2.001 0 0 1 13 12.5"},child:[]},{tag:"path",attr:{d:"m4.4.8-.003.004-.014.019a4 4 0 0 0-.204.31 2 2 0 0 0-.141.267c-.026.06-.034.092-.037.103v.004a.6.6 0 0 0 .091.248c.075.133.178.272.308.445l.01.012c.118.158.26.347.37.543.112.2.22.455.22.745 0 .188-.065.368-.119.494a3 3 0 0 1-.202.388 5 5 0 0 1-.253.382l-.018.025-.005.008-.002.002A.5.5 0 0 1 3.6 4.2l.003-.004.014-.019a4 4 0 0 0 .204-.31 2 2 0 0 0 .141-.267c.026-.06.034-.092.037-.103a.6.6 0 0 0-.09-.252A4 4 0 0 0 3.6 2.8l-.01-.012a5 5 0 0 1-.37-.543A1.53 1.53 0 0 1 3 1.5c0-.188.065-.368.119-.494.059-.138.134-.274.202-.388a6 6 0 0 1 .253-.382l.025-.035A.5.5 0 0 1 4.4.8m3 0-.003.004-.014.019a4 4 0 0 0-.204.31 2 2 0 0 0-.141.267c-.026.06-.034.092-.037.103v.004a.6.6 0 0 0 .091.248c.075.133.178.272.308.445l.01.012c.118.158.26.347.37.543.112.2.22.455.22.745 0 .188-.065.368-.119.494a3 3 0 0 1-.202.388 5 5 0 0 1-.253.382l-.018.025-.005.008-.002.002A.5.5 0 0 1 6.6 4.2l.003-.004.014-.019a4 4 0 0 0 .204-.31 2 2 0 0 0 .141-.267c.026-.06.034-.092.037-.103a.6.6 0 0 0-.09-.252A4 4 0 0 0 6.6 2.8l-.01-.012a5 5 0 0 1-.37-.543A1.53 1.53 0 0 1 6 1.5c0-.188.065-.368.119-.494.059-.138.134-.274.202-.388a6 6 0 0 1 .253-.382l.025-.035A.5.5 0 0 1 7.4.8m3 0-.003.004-.014.019a4 4 0 0 0-.204.31 2 2 0 0 0-.141.267c-.026.06-.034.092-.037.103v.004a.6.6 0 0 0 .091.248c.075.133.178.272.308.445l.01.012c.118.158.26.347.37.543.112.2.22.455.22.745 0 .188-.065.368-.119.494a3 3 0 0 1-.202.388 5 5 0 0 1-.252.382l-.019.025-.005.008-.002.002A.5.5 0 0 1 9.6 4.2l.003-.004.014-.019a4 4 0 0 0 .204-.31 2 2 0 0 0 .141-.267c.026-.06.034-.092.037-.103a.6.6 0 0 0-.09-.252A4 4 0 0 0 9.6 2.8l-.01-.012a5 5 0 0 1-.37-.543A1.53 1.53 0 0 1 9 1.5c0-.188.065-.368.119-.494.059-.138.134-.274.202-.388a6 6 0 0 1 .253-.382l.025-.035A.5.5 0 0 1 10.4.8"},child:[]}]})(e)},gift:Yr,emptyCircle:ao},so={percentage_discount_coupon:Rn,amount_discount_coupon:Rn,free_delivery:function(e){return _({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z"},child:[]}]})(e)},free_gift:Yr,dummy_coupon:ao},po=({checkpointWithProgress:e,themeColor:n,checkpointsLength:r,progressBarFreeProductIconType:o,themeTextColor:a,ctaButtonTextColor:i,isActive:l})=>{const c=n??"#000000";return e?.progressPercentage>=100?t.createElement(Ur,{style:{padding:"4px",border:"2px solid black",backgroundColor:c,color:i,borderColor:c,borderRadius:"9999px",fontSize:`${or(r)}px`,width:"24px",height:"24px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)"}}):lo(e?.couponType,l?c:"#707070",r,o??"tshirt")},uo=({showMOVForProgressTiers:e,minimumOrderValue:n,customCartProgressBarCriteria:r,cartData:o,quantityThreshold:a,ctaButtonBackgroundColor:i,ctaButtonTextColor:l})=>e?t.createElement(ur,{$visible:n>1||a>0,$ctaButtonTextColor:l,$ctaButtonBackgroundColor:i},"minimum_order_value"===r?`${nn(o,o?.currency)} ${mn(n)}`:`${a} item${a>1?"s":""}`):null,mo=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...d})=>{const{currentCartAmount:s,checkpoints:p,themeColor:u,themeTextColor:m,customCartProgressBarCriteria:f,primaryTextColor:g,effectiveQuantityForProgressBar:h,progressBarFreeProductIconType:x,ctaButtonBackgroundColor:y,showMOVForProgressTiers:b,ctaButtonTextColor:v}=d,w=At(Mt),[C,E]=c(!1),[k,T]=c(-1),S=o({}),$=i((()=>(p??[]).slice().sort(((e,t)=>"minimum_order_value"===f?(e?.minimumOrderValue??0)-(t?.minimumOrderValue??0):(e?.quantityThreshold??0)-(t?.quantityThreshold??0))).filter((e=>0!==e?.[zr(f)]))),[p,f]),B=i((()=>$.map(((e,t,n)=>Dr(e,t,n,w?.item_count,d)))),[$,w?.item_count,d]),z=B.length,D=B.findIndex((e=>e.progressPercentage<100)),I=-1===D?-1:D,_=i((()=>{const e=B.map(((e,t)=>{const n=0===z?0:1===z?50:(t+1)/z*100;return{...e,position:n,iconPosition:0,isCompleted:e.progressPercentage>=100,isActive:t===I&&e.progressPercentage<100,segmentStart:0,segmentWidth:0}}));if(0===e.length)return[];if(1===e.length)return e.map((e=>({...e,segmentStart:0,segmentWidth:100,iconPosition:50})));const t=e.map(((e,t,n)=>{const r=0===t?0:n[t-1].position,o=t===n.length-1?100:n[t+1].position,a=0===t?0:(r+e.position)/2,i=t===n.length-1?100:(e.position+o)/2,l=Math.max(0,i-a);return{...e,segmentStart:a,segmentWidth:l,iconPosition:a+l/2}})),n=t.reduce(((e,t)=>e+t.segmentWidth),0);if(t.length>0&&Math.abs(n-100)>.01){const e=100-n,r=t.length-1,o=t[r],a=Math.max(0,o.segmentWidth+e);t[r]={...o,segmentWidth:a,iconPosition:o.segmentStart+a/2}}return t}),[B,z,I]);return l((()=>{B.forEach(((e,t)=>{const n=String(e.couponTemplateId);(S.current[n]||0)<100&&e.progressPercentage>=100&&(T(t),E(!0),setTimeout((()=>E(!1)),5e3)),S.current[n]=e.progressPercentage}))}),[B]),t.createElement(t.Fragment,null,t.createElement(Mr,{currentCartAmount:s,checkpoints:p,cartData:w,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h,themeColor:u,primaryTextColor:g,showMOVForProgressTiers:b??!1,ctaButtonBackgroundColor:y,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonTextColor:v}),t.createElement(fr,{className:"yt-cart-progress-bar-wrapper",$showMOVForProgressTiers:b??!1},C&&a&&t.createElement(Nr,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:_[k]?_[k].iconPosition/100:0}),t.createElement(gr,null,t.createElement(ar,null,t.createElement(wr,null,t.createElement(xr,null,_.map((e=>{const n="minimum_order_value"!==f||(e?.minimumOrderValue??0)>1;return t.createElement(vr,{key:`${e?.couponTemplateId}-label`,$widthPercent:e.segmentWidth},n?t.createElement(pr,{$isCompleted:e?.progressPercentage>=100,$ctaButtonTextColor:v,$ctaButtonBackgroundColor:y,$primaryTextColor:g},e?.name):null)})))),t.createElement(hr,null,t.createElement(ir,{$ctaButtonBackgroundColor:y,className:"yt-cart-multi-progress-track"},_.map(((e,n)=>{const r=("minimum_order_value"!==f||(e?.minimumOrderValue??0)>1)&&!e?.isDummyCouponTemplate,o=0===n,a=n===_.length-1,i=1===_.length?"center":o?"start":a?"end":"center",l=Math.max(0,Math.min(100,e.progressPercentage));return t.createElement(lr,{key:e?.couponTemplateId??`segment-${n}`,$widthPercent:e.segmentWidth},t.createElement(cr,{$isFirst:o,$isLast:a,$ctaButtonBackgroundColor:y},t.createElement(dr,{$progress:l,$ctaButtonBackgroundColor:y,$isFirst:o,$isLast:a,$isComplete:e.progressPercentage>=100}),r?t.createElement(sr,{$alignment:i},t.createElement(yr,null,t.createElement(po,{checkpointWithProgress:e,themeColor:y,themeTextColor:m,checkpointsLength:z,progressBarFreeProductIconType:x,ctaButtonTextColor:v,isActive:e.isActive})),t.createElement(br,null,t.createElement(uo,{showMOVForProgressTiers:b,minimumOrderValue:e?.minimumOrderValue,customCartProgressBarCriteria:f,cartData:w,quantityThreshold:e?.quantityThreshold,ctaButtonBackgroundColor:y,ctaButtonTextColor:v}))):null))}))))))))},fo=e=>e?.checkpoints&&e.checkpoints.length>0?1===e.checkpoints.length?t.createElement(Fr,{...e}):t.createElement(mo,{...e}):null;function go(e){return _({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"},child:[]}]})(e)}function ho(e){return _({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"},child:[]}]})(e)}function xo(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"},child:[]}]})(e)}const yo=x(x.span`
|
|
1005
|
+
`,_r=({prefixMessageText:e="You are",suffixMessageText:n="away from",successMessageText:r="Best reward unlocked",...o})=>{const a=(r,o)=>t.createElement(Ir,null,e&&t.createElement("span",{className:"yt-cart-progress-bar-prefix-span"},e," "),t.createElement("span",{className:"yt-cart-progress-bar-amount-span",style:{fontWeight:"bold"}},r)," ",n&&t.createElement("span",{className:"yt-cart-progress-bar-suffix-span"},n," "),t.createElement("span",{className:"yt-cart-progress-bar-checkpoint-span",style:{fontWeight:"bold"}},o));let i=-1;const l=void 0!==o.currentCartAmount?o.currentCartAmount:o.cartData?.items_subtotal_price,c=void 0!==o.effectiveQuantityForProgressBar?o.effectiveQuantityForProgressBar:o.cartData?.item_count,d=nn(o.cartData,o.cartData?.currency)??"Rs .";if("minimum_order_value"===o.customCartProgressBarCriteria){if(0===l&&o.cartData?.items_subtotal_price>0)return null;for(let e=0;e<o.checkpoints?.length;e++)if(l<o.checkpoints?.[e]?.minimumOrderValue){i=e;break}if(-1===i)return t.createElement("span",{className:"yt-cart-progress-bar-success-span"},r);const e=o.checkpoints?.[i];return a(`${d}${mn((e?.minimumOrderValue-l).toFixed(0))}`,e?.name)}if(0===c&&o.cartData?.item_count>0)return null;for(let e=0;e<o.checkpoints?.length;e++)if(c<o.checkpoints?.[e]?.quantityThreshold){i=e;break}if(-1===i)return t.createElement("span",{className:"yt-cart-progress-bar-success-span"},r);const s=o.checkpoints?.[i];return a(`${s?.quantityThreshold-c}`,s?.name)},Or=e=>t.createElement(kr,{className:"yt-cart-single-tier-reward-message",$ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(_r,{...e}));var Pr={};!function e(t,n,r,o){var a=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),i="function"==typeof Path2D&&"function"==typeof DOMMatrix;function l(){}function c(e){var r=n.exports.Promise,o=void 0!==r?r:t.Promise;return"function"==typeof o?new o(e):(e(l,l),null)}var d,s,p,u,m,f,g,h,x,y=function(e,t){return{transform:function(n){if(e)return n;if(t.has(n))return t.get(n);var r=new OffscreenCanvas(n.width,n.height);return r.getContext("2d").drawImage(n,0,0),t.set(n,r),r},clear:function(){t.clear()}}}(function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),n=e.getContext("2d");n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();try{n.createPattern(r,"no-repeat")}catch(e){return!1}return!0}(),new Map),b=(p=Math.floor(1e3/60),u={},m=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(d=function(e){var t=Math.random();return u[t]=requestAnimationFrame((function n(r){m===r||m+p-1<r?(m=r,delete u[t],e()):u[t]=requestAnimationFrame(n)})),t},s=function(e){u[e]&&cancelAnimationFrame(u[e])}):(d=function(e){return setTimeout(e,p)},s=function(e){return clearTimeout(e)}),{frame:d,cancel:s}),v=(h={},function(){if(f)return f;if(!r&&a){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{f=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(n,r,o){if(g)return t(n,null),g;var a=Math.random().toString(36).slice(2);return g=c((function(r){function i(t){t.data.callback===a&&(delete h[a],e.removeEventListener("message",i),g=null,y.clear(),o(),r())}e.addEventListener("message",i),t(n,a),h[a]=i.bind(null,{data:{callback:a}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),h)h[t](),delete h[t]}}(f)}return f}),w={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function C(e,t,n){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:w[t],n)}function E(e){return e<0?0:Math.floor(e)}function k(e){return parseInt(e,16)}function T(e){return e.map(S)}function S(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:k(t.substring(0,2)),g:k(t.substring(2,4)),b:k(t.substring(4,6))}}function $(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function B(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function z(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n=t.tick++/t.totalTicks,r=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,a=t.wobbleX+t.random*t.tiltCos,l=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-n)+")",e.beginPath(),i&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix))e.fill(function(e,t,n,r,o,a,i){var l=new Path2D(e),c=new Path2D;c.addPath(l,new DOMMatrix(t));var d=new Path2D;return d.addPath(c,new DOMMatrix([Math.cos(i)*o,Math.sin(i)*o,-Math.sin(i)*a,Math.cos(i)*a,n,r])),d}(t.shape.path,t.shape.matrix,t.x,t.y,.1*Math.abs(a-r),.1*Math.abs(l-o),Math.PI/10*t.wobble));else if("bitmap"===t.shape.type){var c=Math.PI/10*t.wobble,d=.1*Math.abs(a-r),s=.1*Math.abs(l-o),p=t.shape.bitmap.width*t.scalar,u=t.shape.bitmap.height*t.scalar,m=new DOMMatrix([Math.cos(c)*d,Math.sin(c)*d,-Math.sin(c)*s,Math.cos(c)*s,t.x,t.y]);m.multiplySelf(new DOMMatrix(t.shape.matrix));var f=e.createPattern(y.transform(t.shape.bitmap),"no-repeat");f.setTransform(m),e.globalAlpha=1-n,e.fillStyle=f,e.fillRect(t.x-p/2,t.y-u/2,p,u),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(l-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,n,r,o,a,i,l,c){e.save(),e.translate(t,n),e.rotate(a),e.scale(r,o),e.arc(0,0,1,i,l,c),e.restore()}(e,t.x,t.y,Math.abs(a-r)*t.ovalScalar,Math.abs(l-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if("star"===t.shape)for(var g=Math.PI/2*3,h=4*t.scalar,x=8*t.scalar,b=t.x,v=t.y,w=5,C=Math.PI/w;w--;)b=t.x+Math.cos(g)*x,v=t.y+Math.sin(g)*x,e.lineTo(b,v),g+=C,b=t.x+Math.cos(g)*h,v=t.y+Math.sin(g)*h,e.lineTo(b,v),g+=C;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(a),Math.floor(l)),e.lineTo(Math.floor(r),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}function D(e,n){var i,l=!e,d=!!C(n||{},"resize"),s=!1,p=C(n,"disableForReducedMotion",Boolean),u=a&&!!C(n||{},"useWorker")?v():null,m=l?$:B,f=!(!e||!u)&&!!e.__confetti_initialized,g="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(t,n,a){for(var l,d,s,p,u,f=C(t,"particleCount",E),g=C(t,"angle",Number),h=C(t,"spread",Number),x=C(t,"startVelocity",Number),v=C(t,"decay",Number),w=C(t,"gravity",Number),k=C(t,"drift",Number),S=C(t,"colors",T),$=C(t,"ticks",Number),B=C(t,"shapes"),D=C(t,"scalar"),I=!!C(t,"flat"),_=function(e){var t=C(e,"origin",Object);return t.x=C(t,"x",Number),t.y=C(t,"y",Number),t}(t),O=f,P=[],A=e.width*_.x,N=e.height*_.y;O--;)P.push((l={x:A,y:N,angle:g,spread:h,startVelocity:x,color:S[O%S.length],shape:B[(p=0,u=B.length,Math.floor(Math.random()*(u-p))+p)],ticks:$,decay:v,gravity:w,drift:k,scalar:D,flat:I},d=void 0,s=void 0,d=l.angle*(Math.PI/180),s=l.spread*(Math.PI/180),{x:l.x,y:l.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*l.startVelocity+Math.random()*l.startVelocity,angle2D:-d+(.5*s-Math.random()*s),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:l.color,shape:l.shape,tick:0,totalTicks:l.ticks,decay:l.decay,drift:l.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*l.gravity,ovalScalar:.6,scalar:l.scalar,flat:l.flat}));return i?i.addFettis(P):(i=function(e,t,n,a,i){var l,d,s=t.slice(),p=e.getContext("2d"),u=c((function(t){function c(){l=d=null,p.clearRect(0,0,a.width,a.height),y.clear(),i(),t()}l=b.frame((function t(){!r||a.width===o.width&&a.height===o.height||(a.width=e.width=o.width,a.height=e.height=o.height),a.width||a.height||(n(e),a.width=e.width,a.height=e.height),p.clearRect(0,0,a.width,a.height),(s=s.filter((function(e){return z(p,e)}))).length?l=b.frame(t):c()})),d=c}));return{addFettis:function(e){return s=s.concat(e),u},canvas:e,promise:u,reset:function(){l&&b.cancel(l),d&&d()}}}(e,P,m,n,a),i.promise)}function x(n){var r=p||C(n,"disableForReducedMotion",Boolean),o=C(n,"zIndex",Number);if(r&&g)return c((function(e){e()}));l&&i?e=i.canvas:l&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(o),document.body.appendChild(e)),d&&!f&&m(e);var a={width:e.width,height:e.height};function x(){if(u){var t={getBoundingClientRect:function(){if(!l)return e.getBoundingClientRect()}};return m(t),void u.postMessage({resize:{width:t.width,height:t.height}})}a.width=a.height=null}function y(){i=null,d&&(s=!1,t.removeEventListener("resize",x)),l&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,f=!1)}return u&&!f&&u.init(e),f=!0,u&&(e.__confetti_initialized=!0),d&&!s&&(s=!0,t.addEventListener("resize",x,!1)),u?u.fire(n,a,y):h(n,a,y)}return x.reset=function(){u&&u.reset(),i&&i.reset()},x}function I(){return x||(x=D(null,{useWorker:!0,resize:!0})),x}n.exports=function(){return I().apply(this,arguments)},n.exports.reset=function(){I().reset()},n.exports.create=D,n.exports.shapeFromPath=function(e){if(!i)throw new Error("path confetti are not supported in this browser");var t,n;"string"==typeof e?t=e:(t=e.path,n=e.matrix);var r=new Path2D(t),o=document.createElement("canvas").getContext("2d");if(!n){for(var a,l,c=1e3,d=c,s=c,p=0,u=0,m=0;m<c;m+=2)for(var f=0;f<c;f+=2)o.isPointInPath(r,m,f,"nonzero")&&(d=Math.min(d,m),s=Math.min(s,f),p=Math.max(p,m),u=Math.max(u,f));a=p-d,l=u-s;var g=Math.min(10/a,10/l);n=[g,0,0,g,-Math.round(a/2+d)*g,-Math.round(l/2+s)*g]}return{type:"path",path:t,matrix:n}},n.exports.shapeFromText=function(e){var t,n=1,r="#000000",o='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,n="scalar"in e?e.scalar:n,o="fontFamily"in e?e.fontFamily:o,r="color"in e?e.color:r);var a=10*n,i=a+"px "+o,l=new OffscreenCanvas(a,a),c=l.getContext("2d");c.font=i;var d=c.measureText(t),s=Math.ceil(d.actualBoundingBoxRight+d.actualBoundingBoxLeft),p=Math.ceil(d.actualBoundingBoxAscent+d.actualBoundingBoxDescent),u=d.actualBoundingBoxLeft+2,m=d.actualBoundingBoxAscent+2;s+=4,p+=4,(c=(l=new OffscreenCanvas(s,p)).getContext("2d")).font=i,c.fillStyle=r,c.fillText(t,u,m);var f=1/n;return{type:"bitmap",bitmap:l.transferToImageBitmap(),matrix:[f,0,0,f,-s*f/2,-p*f/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Pr,!1);var Ar=Pr.exports;Pr.exports.create;const Nr=({particleCount:e,spread:n,origin:r,checkpointPosition:a=.5})=>{const i=o(null),c=o(!1);return l((()=>{if(i.current&&!c.current){Ar.create(i.current,{resize:!0})({particleCount:10*e,spread:n,origin:{x:1,y:.8}}),c.current=!0}}),[e,n,r,a]),t.createElement("canvas",{ref:i,id:"my-canvas",style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:-1}})},Fr=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...i})=>{const{currentCartAmount:d,checkpoints:s,themeColor:p,customCartProgressBarCriteria:u,primaryTextColor:m,effectiveQuantityForProgressBar:f,ctaButtonBackgroundColor:g,ctaButtonTextColor:h}=i,x=At(Mt),[y,b]=c(!1),[v,w]=c(-1),C=o({});return l((()=>{s?.forEach(((e,t)=>{const n=Dr(e,0,s??[],x?.item_count,i),r=String(e.couponTemplateId);(C.current[r]||0)<100&&n.progressPercentage>=100&&(w(t),b(!0),setTimeout((()=>b(!1)),5e3)),C.current[r]=n.progressPercentage}))}),[x,s]),t.createElement(t.Fragment,null,t.createElement(Or,{currentCartAmount:d,checkpoints:s,cartData:x,customCartProgressBarCriteria:u,effectiveQuantityForProgressBar:f,themeColor:p,primaryTextColor:m,showMOVForProgressTiers:!1,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonBackgroundColor:g,ctaButtonTextColor:h}),t.createElement(Tr,null,y&&a&&t.createElement(Nr,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:(v+1)/(s?.length??1)}),t.createElement(Sr,null,t.createElement(Er,null,s?.sort(((e,t)=>"minimum_order_value"===u?e?.minimumOrderValue-t?.minimumOrderValue:e?.quantityThreshold-t?.quantityThreshold))?.filter((e=>0!==e?.[zr(u)]&&("minimum_order_value"!==u||1!==e?.[zr(u)])))?.map(((...e)=>Dr(...e,x?.item_count,i)))?.map(((e,n)=>t.createElement($r,{key:e?.couponTemplateId,$numberOfCheckpoints:s?.length??1},t.createElement(Br,null,n<s?.length&&t.createElement(Cr,{className:"yt-cart-single-progress-bar",$isCompleted:e?.progressPercentage>=100,$percent:e?.progressPercentage,style:{display:"flex"},$numberOfCheckpoints:s?.length??1,$isFirstCheckpoint:0===n,$ctaButtonBackgroundColor:g})))))))))},Mr=e=>t.createElement(mr,{className:"yt-cart-multi-tier-reward-message",$ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(_r,{...e}));function Rr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 294.1L383 167c9.4-9.4 24.6-9.4 33.9 0s9.3 24.6 0 34L273 345c-9.1 9.1-23.7 9.3-33.1.7L95 201.1c-4.7-4.7-7-10.9-7-17s2.3-12.3 7-17c9.4-9.4 24.6-9.4 33.9 0l127.1 127z"},child:[]}]})(e)}function Lr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"ellipse",attr:{transform:"rotate(-1.057 159.995 423.97) scale(.99997)",cx:"160",cy:"424",rx:"24",ry:"24"},child:[]},{tag:"ellipse",attr:{transform:"matrix(.02382 -.9997 .9997 .02382 -48.51 798.282)",cx:"384.5",cy:"424",rx:"24",ry:"24"},child:[]},{tag:"path",attr:{d:"M463.8 132.2c-.7-2.4-2.8-4-5.2-4.2L132.9 96.5c-2.8-.3-6.2-2.1-7.5-4.7-3.8-7.1-6.2-11.1-12.2-18.6-7.7-9.4-22.2-9.1-48.8-9.3-9-.1-16.3 5.2-16.3 14.1 0 8.7 6.9 14.1 15.6 14.1s21.3.5 26 1.9c4.7 1.4 8.5 9.1 9.9 15.8 0 .1 0 .2.1.3.2 1.2 2 10.2 2 10.3l40 211.6c2.4 14.5 7.3 26.5 14.5 35.7 8.4 10.8 19.5 16.2 32.9 16.2h236.6c7.6 0 14.1-5.8 14.4-13.4.4-8-6-14.6-14-14.6H188.9c-2 0-4.9 0-8.3-2.8-3.5-3-8.3-9.9-11.5-26l-4.3-23.7c0-.3.1-.5.4-.6l277.7-47c2.6-.4 4.6-2.5 4.9-5.2l16-115.8c.2-.8.2-1.7 0-2.6z"},child:[]}]})(e)}function jr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M463 192H315.9L271.2 58.6C269 52.1 262.9 48 256 48s-13 4.1-15.2 10.6L196.1 192H48c-8.8 0-16 7.2-16 16 0 .9.1 1.9.3 2.7.2 3.5 1.8 7.4 6.7 11.3l120.9 85.2-46.4 134.9c-2.3 6.5 0 13.8 5.5 18 2.9 2.1 5.6 3.9 9 3.9 3.3 0 7.2-1.7 10-3.6l118-84.1 118 84.1c2.8 2 6.7 3.6 10 3.6 3.4 0 6.1-1.7 8.9-3.9 5.6-4.2 7.8-11.4 5.5-18L352 307.2l119.9-86 2.9-2.5c2.6-2.8 5.2-6.6 5.2-10.7 0-8.8-8.2-16-17-16z"},child:[]}]})(e)}function Vr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 128L192 256l128 128z"},child:[]}]})(e)}function Hr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"},child:[]}]})(e)}function Wr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M85 277.375h259.704L225.002 397.077 256 427l171-171L256 85l-29.922 29.924 118.626 119.701H85v42.75z"},child:[]}]})(e)}function Ur(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M186.301 339.893L96 249.461l-32 30.507L186.301 402 448 140.506 416 110z"},child:[]}]})(e)}function Gr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"},child:[]}]})(e)}function Qr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M442 107v141L229.2 451.7c8 8 20.8 12.3 28.8 12.3s22.8-3.7 31.4-12.3L480 272V144l-38-37z"},child:[]},{tag:"path",attr:{d:"M384 48H224L44.3 235.6c-8 8-12 17.8-12.3 28.4-.3 11.3 3.7 23.3 12.3 31.9l123.8 123.6c8 8 20.8 12.5 28.8 12.5s22.7-3.9 31.3-12.5L416 240V80l-32-32zm-30.7 102.7c-21.7 6.1-41.3-10-41.3-30.7 0-17.7 14.3-32 32-32 20.7 0 36.8 19.6 30.7 41.3-2.9 10.3-11.1 18.5-21.4 21.4z"},child:[]}]})(e)}function Yr(e){return _({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M160 894c0 17.7 14.3 32 32 32h286V550H160v344zm386 32h286c17.7 0 32-14.3 32-32V550H546v376zm334-616H732.4c13.6-21.4 21.6-46.8 21.6-74 0-76.1-61.9-138-138-138-41.4 0-78.7 18.4-104 47.4-25.3-29-62.6-47.4-104-47.4-76.1 0-138 61.9-138 138 0 27.2 7.9 52.6 21.6 74H144c-17.7 0-32 14.3-32 32v140h366V310h68v172h366V342c0-17.7-14.3-32-32-32zm-402-4h-70c-38.6 0-70-31.4-70-70s31.4-70 70-70 70 31.4 70 70v70zm138 0h-70v-70c0-38.6 31.4-70 70-70s70 31.4 70 70-31.4 70-70 70z"},child:[]}]})(e)}function qr(e){return _({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 0 0 0-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 0 0 9.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"},child:[]}]})(e)}function Zr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m10 15.586-3.293-3.293-1.414 1.414L10 18.414l9.707-9.707-1.414-1.414z"},child:[]}]})(e)}function Kr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z"},child:[]}]})(e)}function Xr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M10 18a7.952 7.952 0 0 0 4.897-1.688l4.396 4.396 1.414-1.414-4.396-4.396A7.952 7.952 0 0 0 18 10c0-4.411-3.589-8-8-8s-8 3.589-8 8 3.589 8 8 8zm0-14c3.309 0 6 2.691 6 6s-2.691 6-6 6-6-2.691-6-6 2.691-6 6-6z"},child:[]}]})(e)}function Jr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M5 20a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8h2V6h-4V4a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v2H3v2h2zM9 4h6v2H9zM8 8h9v12H7V8z"},child:[]},{tag:"path",attr:{d:"M9 10h2v8H9zm4 0h2v8h-2z"},child:[]}]})(e)}function eo(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"},child:[]}]})(e)}function to(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z"},child:[]}]})(e)}function no(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708"},child:[]}]})(e)}function ro(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z"},child:[]}]})(e)}function oo(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"},child:[]}]})(e)}function ao(e){return _({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M95.8,56.2a28,28,0,1,1-39.6,0A28,28,0,0,1,95.8,56.2Zm104,104a28,28,0,1,0,0,39.6A28,28,0,0,0,199.8,160.2Z",opacity:"0.2"},child:[]},{tag:"path",attr:{d:"M205.66,61.64l-144,144a8,8,0,0,1-11.32-11.32l144-144a8,8,0,0,1,11.32,11.31ZM50.54,101.44a36,36,0,0,1,50.92-50.91h0a36,36,0,0,1-50.92,50.91ZM56,76A20,20,0,1,0,90.14,61.84h0A20,20,0,0,0,56,76ZM216,180a36,36,0,1,1-10.54-25.46h0A35.76,35.76,0,0,1,216,180Zm-16,0a20,20,0,1,0-5.86,14.14A19.87,19.87,0,0,0,200,180Z"},child:[]}]})(e)}function io(e){return _({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},child:[]}]})(e)}const lo=(e,n,r,o,a)=>{let i;if(i="free_product"===e?co?.[o]:so?.[e],!i)return t.createElement(Ur,{style:{padding:"4px",border:"2px solid black",backgroundColor:"grey",color:"white",borderRadius:"9999px",fontSize:`${or(r)}px`,width:"24px",height:"24px"}});const l=(()=>{try{if("undefined"==typeof window)return!0;const e=window?.Shopify?.shop||window?.ytapp?.storeDomain;return!!e&&new Set(["h1gvdy-t0.myshopify.com","aayush-new-store.myshopify.com"]).has(e)}catch(e){return!1}})();return t.createElement(i,{style:{padding:"4px",border:"2px solid black",backgroundColor:l?"#000":"white",borderColor:l?"#fff":n,color:l?"#fff":n,borderRadius:"9999px",width:"24px",height:"24px",fontSize:`${or(r??3)}px`}})},co={tshirt:function(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M21.316 4.055C19.556 3.478 15 1.985 15 2a3 3 0 1 1-6 0c0-.015-4.556 1.478-6.317 2.055A.992.992 0 0 0 2 5.003v3.716a1 1 0 0 0 1.242.97L6 9v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V9l2.758.689A1 1 0 0 0 22 8.719V5.003a.992.992 0 0 0-.684-.948z"},child:[]}]})(e)},box:function(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m21.406 6.086-9-4a1.001 1.001 0 0 0-.813 0l-9 4c-.02.009-.034.024-.054.035-.028.014-.058.023-.084.04-.022.015-.039.034-.06.05a.87.87 0 0 0-.19.194c-.02.028-.041.053-.059.081a1.119 1.119 0 0 0-.076.165c-.009.027-.023.052-.031.079A1.013 1.013 0 0 0 2 7v10c0 .396.232.753.594.914l9 4c.13.058.268.086.406.086a.997.997 0 0 0 .402-.096l.004.01 9-4A.999.999 0 0 0 22 17V7a.999.999 0 0 0-.594-.914zM12 4.095 18.538 7 12 9.905l-1.308-.581L5.463 7 12 4.095zM4 16.351V8.539l7 3.111v7.811l-7-3.11zm9 3.11V11.65l7-3.111v7.812l-7 3.11z"},child:[]}]})(e)},cup:function(e){return _({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M.5 6a.5.5 0 0 0-.488.608l1.652 7.434A2.5 2.5 0 0 0 4.104 16h5.792a2.5 2.5 0 0 0 2.44-1.958l.131-.59a3 3 0 0 0 1.3-5.854l.221-.99A.5.5 0 0 0 13.5 6zM13 12.5a2 2 0 0 1-.316-.025l.867-3.898A2.001 2.001 0 0 1 13 12.5"},child:[]},{tag:"path",attr:{d:"m4.4.8-.003.004-.014.019a4 4 0 0 0-.204.31 2 2 0 0 0-.141.267c-.026.06-.034.092-.037.103v.004a.6.6 0 0 0 .091.248c.075.133.178.272.308.445l.01.012c.118.158.26.347.37.543.112.2.22.455.22.745 0 .188-.065.368-.119.494a3 3 0 0 1-.202.388 5 5 0 0 1-.253.382l-.018.025-.005.008-.002.002A.5.5 0 0 1 3.6 4.2l.003-.004.014-.019a4 4 0 0 0 .204-.31 2 2 0 0 0 .141-.267c.026-.06.034-.092.037-.103a.6.6 0 0 0-.09-.252A4 4 0 0 0 3.6 2.8l-.01-.012a5 5 0 0 1-.37-.543A1.53 1.53 0 0 1 3 1.5c0-.188.065-.368.119-.494.059-.138.134-.274.202-.388a6 6 0 0 1 .253-.382l.025-.035A.5.5 0 0 1 4.4.8m3 0-.003.004-.014.019a4 4 0 0 0-.204.31 2 2 0 0 0-.141.267c-.026.06-.034.092-.037.103v.004a.6.6 0 0 0 .091.248c.075.133.178.272.308.445l.01.012c.118.158.26.347.37.543.112.2.22.455.22.745 0 .188-.065.368-.119.494a3 3 0 0 1-.202.388 5 5 0 0 1-.253.382l-.018.025-.005.008-.002.002A.5.5 0 0 1 6.6 4.2l.003-.004.014-.019a4 4 0 0 0 .204-.31 2 2 0 0 0 .141-.267c.026-.06.034-.092.037-.103a.6.6 0 0 0-.09-.252A4 4 0 0 0 6.6 2.8l-.01-.012a5 5 0 0 1-.37-.543A1.53 1.53 0 0 1 6 1.5c0-.188.065-.368.119-.494.059-.138.134-.274.202-.388a6 6 0 0 1 .253-.382l.025-.035A.5.5 0 0 1 7.4.8m3 0-.003.004-.014.019a4 4 0 0 0-.204.31 2 2 0 0 0-.141.267c-.026.06-.034.092-.037.103v.004a.6.6 0 0 0 .091.248c.075.133.178.272.308.445l.01.012c.118.158.26.347.37.543.112.2.22.455.22.745 0 .188-.065.368-.119.494a3 3 0 0 1-.202.388 5 5 0 0 1-.252.382l-.019.025-.005.008-.002.002A.5.5 0 0 1 9.6 4.2l.003-.004.014-.019a4 4 0 0 0 .204-.31 2 2 0 0 0 .141-.267c.026-.06.034-.092.037-.103a.6.6 0 0 0-.09-.252A4 4 0 0 0 9.6 2.8l-.01-.012a5 5 0 0 1-.37-.543A1.53 1.53 0 0 1 9 1.5c0-.188.065-.368.119-.494.059-.138.134-.274.202-.388a6 6 0 0 1 .253-.382l.025-.035A.5.5 0 0 1 10.4.8"},child:[]}]})(e)},gift:Yr,emptyCircle:ao},so={percentage_discount_coupon:Rn,amount_discount_coupon:Rn,free_delivery:function(e){return _({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M528.12 301.319l47.273-208C578.806 78.301 567.391 64 551.99 64H159.208l-9.166-44.81C147.758 8.021 137.93 0 126.529 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24h69.883l70.248 343.435C147.325 417.1 136 435.222 136 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-15.674-6.447-29.835-16.824-40h209.647C430.447 426.165 424 440.326 424 456c0 30.928 25.072 56 56 56s56-25.072 56-56c0-22.172-12.888-41.332-31.579-50.405l5.517-24.276c3.413-15.018-8.002-29.319-23.403-29.319H218.117l-6.545-32h293.145c11.206 0 20.92-7.754 23.403-18.681z"},child:[]}]})(e)},free_gift:Yr,dummy_coupon:ao},po=({checkpointWithProgress:e,themeColor:n,checkpointsLength:r,progressBarFreeProductIconType:o,themeTextColor:a,ctaButtonTextColor:i,isActive:l})=>{const c=n??"#000000";return e?.progressPercentage>=100?t.createElement(Ur,{style:{padding:"4px",border:"2px solid black",backgroundColor:c,color:i,borderColor:c,borderRadius:"9999px",fontSize:`${or(r)}px`,width:"24px",height:"24px",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)"}}):lo(e?.couponType,l?c:"#707070",r,o??"tshirt")},uo=({showMOVForProgressTiers:e,minimumOrderValue:n,customCartProgressBarCriteria:r,cartData:o,quantityThreshold:a,ctaButtonBackgroundColor:i,ctaButtonTextColor:l})=>e?t.createElement(ur,{$visible:n>1||a>0,$ctaButtonTextColor:l,$ctaButtonBackgroundColor:i},"minimum_order_value"===r?`${nn(o,o?.currency)} ${mn(n)}`:`${a} item${a>1?"s":""}`):null,mo=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...d})=>{const{currentCartAmount:s,checkpoints:p,themeColor:u,themeTextColor:m,customCartProgressBarCriteria:f,primaryTextColor:g,effectiveQuantityForProgressBar:h,progressBarFreeProductIconType:x,ctaButtonBackgroundColor:y,showMOVForProgressTiers:b,ctaButtonTextColor:v}=d,w=At(Mt),[C,E]=c(!1),[k,T]=c(-1),S=o({}),$=i((()=>(p??[]).slice().sort(((e,t)=>"minimum_order_value"===f?(e?.minimumOrderValue??0)-(t?.minimumOrderValue??0):(e?.quantityThreshold??0)-(t?.quantityThreshold??0))).filter((e=>0!==e?.[zr(f)]))),[p,f]),B=i((()=>$.map(((e,t,n)=>Dr(e,t,n,w?.item_count,d)))),[$,w?.item_count,d]),z=B.length,D=B.findIndex((e=>e.progressPercentage<100)),I=-1===D?-1:D,_=i((()=>{const e=B.map(((e,t)=>({...e,iconPosition:0,isCompleted:e.progressPercentage>=100,isActive:t===I&&e.progressPercentage<100,segmentStart:0,segmentWidth:0})));if(0===e.length)return[];if(1===e.length)return e.map((e=>({...e,segmentStart:0,segmentWidth:100,iconPosition:50})));const t=e.length-1,n=t>0?75/t:100,r=e.map(((e,t,r)=>({...e,segmentWidth:t===r.length-1?25:n}))),o=r.reduce(((e,t)=>e+t.segmentWidth),0),a=r.length>0&&Math.abs(o-100)>.01?100-o:0;let i=0;return r.map(((e,t,n)=>{const r=t===n.length-1,o=Math.max(0,r?e.segmentWidth+a:e.segmentWidth),l=i;return i+=o,{...e,segmentStart:l,segmentWidth:o,iconPosition:Math.max(0,Math.min(100,l+o/2))}}))}),[B,z,I]);return l((()=>{B.forEach(((e,t)=>{const n=String(e.couponTemplateId);(S.current[n]||0)<100&&e.progressPercentage>=100&&(T(t),E(!0),setTimeout((()=>E(!1)),5e3)),S.current[n]=e.progressPercentage}))}),[B]),t.createElement(t.Fragment,null,t.createElement(Mr,{currentCartAmount:s,checkpoints:p,cartData:w,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h,themeColor:u,primaryTextColor:g,showMOVForProgressTiers:b??!1,ctaButtonBackgroundColor:y,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonTextColor:v}),t.createElement(fr,{className:"yt-cart-progress-bar-wrapper",$showMOVForProgressTiers:b??!1},C&&a&&t.createElement(Nr,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:_[k]?_[k].iconPosition/100:0}),t.createElement(gr,null,t.createElement(ar,null,t.createElement(wr,null,t.createElement(xr,null,_.map(((e,n)=>{const r="minimum_order_value"!==f||(e?.minimumOrderValue??0)>1,o=n===_.length-1,a=1===_.length;return t.createElement(vr,{key:`${e?.couponTemplateId}-label`,$widthPercent:e.segmentWidth,$isLast:o,$isSingle:a},r?t.createElement(pr,{$isCompleted:e?.progressPercentage>=100,$ctaButtonTextColor:v,$ctaButtonBackgroundColor:y,$primaryTextColor:g},e?.name):null)})))),t.createElement(hr,null,t.createElement(ir,{$ctaButtonBackgroundColor:y,className:"yt-cart-multi-progress-track"},_.map(((e,n)=>{const r=1===_.length,o=("minimum_order_value"!==f||(e?.minimumOrderValue??0)>1)&&!e?.isDummyCouponTemplate,a=0===n,i=n===_.length-1,l=Math.max(0,Math.min(100,e.progressPercentage));return t.createElement(lr,{key:e?.couponTemplateId??`segment-${n}`,$widthPercent:e.segmentWidth,$isLast:i,$isSingle:r},t.createElement(cr,{$isFirst:a,$isLast:i,$ctaButtonBackgroundColor:y},t.createElement(dr,{$progress:l,$ctaButtonBackgroundColor:y,$isFirst:a,$isLast:i,$isComplete:e.progressPercentage>=100}),o?t.createElement(sr,null,t.createElement(yr,null,t.createElement(po,{checkpointWithProgress:e,themeColor:y,themeTextColor:m,checkpointsLength:z,progressBarFreeProductIconType:x,ctaButtonTextColor:v,isActive:e.isActive})),t.createElement(br,null,t.createElement(uo,{showMOVForProgressTiers:b,minimumOrderValue:e?.minimumOrderValue,customCartProgressBarCriteria:f,cartData:w,quantityThreshold:e?.quantityThreshold,ctaButtonBackgroundColor:y,ctaButtonTextColor:v}))):null))}))))))))},fo=e=>e?.checkpoints&&e.checkpoints.length>0?1===e.checkpoints.length?t.createElement(Fr,{...e}):t.createElement(mo,{...e}):null;function go(e){return _({tag:"svg",attr:{viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"},child:[]}]})(e)}function ho(e){return _({tag:"svg",attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"},child:[]}]})(e)}function xo(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"},child:[]}]})(e)}const yo=x(x.span`
|
|
1006
1006
|
display: flex !important;
|
|
1007
1007
|
gap: 4px;
|
|
1008
1008
|
`)`
|
package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts
CHANGED
|
@@ -280,6 +280,8 @@ export declare const ProgressTrack: import("styled-components").IStyledComponent
|
|
|
280
280
|
}>>;
|
|
281
281
|
export declare const SegmentWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
282
282
|
$widthPercent: number;
|
|
283
|
+
$isLast: boolean;
|
|
284
|
+
$isSingle: boolean;
|
|
283
285
|
}>>;
|
|
284
286
|
export declare const SegmentBackground: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
285
287
|
$isFirst: boolean;
|
|
@@ -293,9 +295,278 @@ export declare const SegmentFill: import("styled-components").IStyledComponent<"
|
|
|
293
295
|
$isLast: boolean;
|
|
294
296
|
$isComplete: boolean;
|
|
295
297
|
}>>;
|
|
296
|
-
export declare const SegmentIconWrapper: import("styled-components").IStyledComponent<"web",
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
export declare const SegmentIconWrapper: import("styled-components").IStyledComponent<"web", {
|
|
299
|
+
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
300
|
+
key?: import("react").Key | null | undefined;
|
|
301
|
+
defaultChecked?: boolean | undefined;
|
|
302
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
303
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
304
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
305
|
+
accessKey?: string | undefined;
|
|
306
|
+
autoFocus?: boolean | undefined;
|
|
307
|
+
className?: string | undefined;
|
|
308
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
309
|
+
contextMenu?: string | undefined;
|
|
310
|
+
dir?: string | undefined;
|
|
311
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
312
|
+
hidden?: boolean | undefined;
|
|
313
|
+
id?: string | undefined;
|
|
314
|
+
lang?: string | undefined;
|
|
315
|
+
nonce?: string | undefined;
|
|
316
|
+
placeholder?: string | undefined;
|
|
317
|
+
slot?: string | undefined;
|
|
318
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
319
|
+
style?: import("react").CSSProperties | undefined;
|
|
320
|
+
tabIndex?: number | undefined;
|
|
321
|
+
title?: string | undefined;
|
|
322
|
+
translate?: "yes" | "no" | undefined;
|
|
323
|
+
radioGroup?: string | undefined;
|
|
324
|
+
role?: import("react").AriaRole | undefined;
|
|
325
|
+
about?: string | undefined;
|
|
326
|
+
content?: string | undefined;
|
|
327
|
+
datatype?: string | undefined;
|
|
328
|
+
inlist?: any;
|
|
329
|
+
prefix?: string | undefined;
|
|
330
|
+
property?: string | undefined;
|
|
331
|
+
rel?: string | undefined;
|
|
332
|
+
resource?: string | undefined;
|
|
333
|
+
rev?: string | undefined;
|
|
334
|
+
typeof?: string | undefined;
|
|
335
|
+
vocab?: string | undefined;
|
|
336
|
+
autoCapitalize?: string | undefined;
|
|
337
|
+
autoCorrect?: string | undefined;
|
|
338
|
+
autoSave?: string | undefined;
|
|
339
|
+
color?: string | undefined;
|
|
340
|
+
itemProp?: string | undefined;
|
|
341
|
+
itemScope?: boolean | undefined;
|
|
342
|
+
itemType?: string | undefined;
|
|
343
|
+
itemID?: string | undefined;
|
|
344
|
+
itemRef?: string | undefined;
|
|
345
|
+
results?: number | undefined;
|
|
346
|
+
security?: string | undefined;
|
|
347
|
+
unselectable?: "on" | "off" | undefined;
|
|
348
|
+
inputMode?: "text" | "none" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
349
|
+
is?: string | undefined;
|
|
350
|
+
"aria-activedescendant"?: string | undefined;
|
|
351
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
352
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
353
|
+
"aria-braillelabel"?: string | undefined;
|
|
354
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
355
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
356
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
357
|
+
"aria-colcount"?: number | undefined;
|
|
358
|
+
"aria-colindex"?: number | undefined;
|
|
359
|
+
"aria-colindextext"?: string | undefined;
|
|
360
|
+
"aria-colspan"?: number | undefined;
|
|
361
|
+
"aria-controls"?: string | undefined;
|
|
362
|
+
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
363
|
+
"aria-describedby"?: string | undefined;
|
|
364
|
+
"aria-description"?: string | undefined;
|
|
365
|
+
"aria-details"?: string | undefined;
|
|
366
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
367
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
368
|
+
"aria-errormessage"?: string | undefined;
|
|
369
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
370
|
+
"aria-flowto"?: string | undefined;
|
|
371
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
372
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
373
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
374
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
375
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
376
|
+
"aria-label"?: string | undefined;
|
|
377
|
+
"aria-labelledby"?: string | undefined;
|
|
378
|
+
"aria-level"?: number | undefined;
|
|
379
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
380
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
381
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
382
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
383
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
384
|
+
"aria-owns"?: string | undefined;
|
|
385
|
+
"aria-placeholder"?: string | undefined;
|
|
386
|
+
"aria-posinset"?: number | undefined;
|
|
387
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
388
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
389
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
390
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
391
|
+
"aria-roledescription"?: string | undefined;
|
|
392
|
+
"aria-rowcount"?: number | undefined;
|
|
393
|
+
"aria-rowindex"?: number | undefined;
|
|
394
|
+
"aria-rowindextext"?: string | undefined;
|
|
395
|
+
"aria-rowspan"?: number | undefined;
|
|
396
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
397
|
+
"aria-setsize"?: number | undefined;
|
|
398
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
399
|
+
"aria-valuemax"?: number | undefined;
|
|
400
|
+
"aria-valuemin"?: number | undefined;
|
|
401
|
+
"aria-valuenow"?: number | undefined;
|
|
402
|
+
"aria-valuetext"?: string | undefined;
|
|
403
|
+
children?: import("react").ReactNode;
|
|
404
|
+
dangerouslySetInnerHTML?: {
|
|
405
|
+
__html: string | TrustedHTML;
|
|
406
|
+
} | undefined;
|
|
407
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
408
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
409
|
+
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
410
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
411
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
412
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
413
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
414
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
415
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
416
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
417
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
418
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
419
|
+
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
420
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
421
|
+
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
422
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
423
|
+
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
424
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
425
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
426
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
427
|
+
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
428
|
+
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
429
|
+
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
430
|
+
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
431
|
+
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
432
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
433
|
+
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
434
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
435
|
+
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
436
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
437
|
+
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
438
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
439
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
440
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
441
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
442
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
443
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
444
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
445
|
+
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
446
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
447
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
448
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
449
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
450
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
451
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
452
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
453
|
+
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
454
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
455
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
456
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
457
|
+
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
458
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
459
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
460
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
461
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
462
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
463
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
464
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
465
|
+
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
466
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
467
|
+
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
468
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
469
|
+
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
470
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
471
|
+
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
472
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
473
|
+
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
474
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
475
|
+
onResize?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
476
|
+
onResizeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
477
|
+
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
478
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
479
|
+
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
480
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
481
|
+
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
482
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
483
|
+
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
484
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
485
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
486
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
487
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
488
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
489
|
+
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
490
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
491
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
492
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
493
|
+
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
494
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
495
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
496
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
497
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
498
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
499
|
+
onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
500
|
+
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
501
|
+
onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
502
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
503
|
+
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
504
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
505
|
+
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
506
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
507
|
+
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
508
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
509
|
+
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
510
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
511
|
+
onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
512
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
513
|
+
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
514
|
+
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
515
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
516
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
517
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
518
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
519
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
520
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
521
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
522
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
523
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
524
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
525
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
526
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
527
|
+
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
528
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
529
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
530
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
531
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
532
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
533
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
534
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
535
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
536
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
537
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
538
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
539
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
540
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
541
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
542
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
543
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
544
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
545
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
546
|
+
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
547
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
548
|
+
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
549
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
550
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
551
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
552
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
553
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
554
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
555
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
556
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
557
|
+
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
558
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
559
|
+
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
560
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
561
|
+
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
562
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
563
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
564
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
565
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
566
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
567
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
568
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
569
|
+
}>;
|
|
299
570
|
export declare const Tag: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
300
571
|
$isCompleted?: boolean | undefined;
|
|
301
572
|
$ctaButtonBackgroundColor?: string | undefined;
|
|
@@ -1680,6 +1951,8 @@ export declare const SegmentTooltipWrapper: import("styled-components").IStyledC
|
|
|
1680
1951
|
}>;
|
|
1681
1952
|
export declare const CheckpointLabelCell: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
1682
1953
|
$widthPercent: number;
|
|
1954
|
+
$isLast: boolean;
|
|
1955
|
+
$isSingle: boolean;
|
|
1683
1956
|
}>>;
|
|
1684
1957
|
export declare const LabelsWrapper: import("styled-components").IStyledComponent<"web", {
|
|
1685
1958
|
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|