yt-uikit 0.7.378-progress-bar.4 → 0.7.378-progress-bar.5
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.
|
@@ -298,278 +298,6 @@ export declare const MarkerWrapper: import("styled-components").IStyledComponent
|
|
|
298
298
|
export declare const StepWrap: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
299
299
|
$leftPercent: number;
|
|
300
300
|
}>>;
|
|
301
|
-
export declare const CheckpointSlot: import("styled-components").IStyledComponent<"web", {
|
|
302
|
-
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
303
|
-
key?: import("react").Key | null | undefined;
|
|
304
|
-
defaultChecked?: boolean | undefined;
|
|
305
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
306
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
307
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
308
|
-
accessKey?: string | undefined;
|
|
309
|
-
autoFocus?: boolean | undefined;
|
|
310
|
-
className?: string | undefined;
|
|
311
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
312
|
-
contextMenu?: string | undefined;
|
|
313
|
-
dir?: string | undefined;
|
|
314
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
315
|
-
hidden?: boolean | undefined;
|
|
316
|
-
id?: string | undefined;
|
|
317
|
-
lang?: string | undefined;
|
|
318
|
-
nonce?: string | undefined;
|
|
319
|
-
placeholder?: string | undefined;
|
|
320
|
-
slot?: string | undefined;
|
|
321
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
322
|
-
style?: import("react").CSSProperties | undefined;
|
|
323
|
-
tabIndex?: number | undefined;
|
|
324
|
-
title?: string | undefined;
|
|
325
|
-
translate?: "yes" | "no" | undefined;
|
|
326
|
-
radioGroup?: string | undefined;
|
|
327
|
-
role?: import("react").AriaRole | undefined;
|
|
328
|
-
about?: string | undefined;
|
|
329
|
-
content?: string | undefined;
|
|
330
|
-
datatype?: string | undefined;
|
|
331
|
-
inlist?: any;
|
|
332
|
-
prefix?: string | undefined;
|
|
333
|
-
property?: string | undefined;
|
|
334
|
-
rel?: string | undefined;
|
|
335
|
-
resource?: string | undefined;
|
|
336
|
-
rev?: string | undefined;
|
|
337
|
-
typeof?: string | undefined;
|
|
338
|
-
vocab?: string | undefined;
|
|
339
|
-
autoCapitalize?: string | undefined;
|
|
340
|
-
autoCorrect?: string | undefined;
|
|
341
|
-
autoSave?: string | undefined;
|
|
342
|
-
color?: string | undefined;
|
|
343
|
-
itemProp?: string | undefined;
|
|
344
|
-
itemScope?: boolean | undefined;
|
|
345
|
-
itemType?: string | undefined;
|
|
346
|
-
itemID?: string | undefined;
|
|
347
|
-
itemRef?: string | undefined;
|
|
348
|
-
results?: number | undefined;
|
|
349
|
-
security?: string | undefined;
|
|
350
|
-
unselectable?: "on" | "off" | undefined;
|
|
351
|
-
inputMode?: "text" | "none" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
352
|
-
is?: string | undefined;
|
|
353
|
-
"aria-activedescendant"?: string | undefined;
|
|
354
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
355
|
-
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
356
|
-
"aria-braillelabel"?: string | undefined;
|
|
357
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
358
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
359
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
360
|
-
"aria-colcount"?: number | undefined;
|
|
361
|
-
"aria-colindex"?: number | undefined;
|
|
362
|
-
"aria-colindextext"?: string | undefined;
|
|
363
|
-
"aria-colspan"?: number | undefined;
|
|
364
|
-
"aria-controls"?: string | undefined;
|
|
365
|
-
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
366
|
-
"aria-describedby"?: string | undefined;
|
|
367
|
-
"aria-description"?: string | undefined;
|
|
368
|
-
"aria-details"?: string | undefined;
|
|
369
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
370
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
371
|
-
"aria-errormessage"?: string | undefined;
|
|
372
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
373
|
-
"aria-flowto"?: string | undefined;
|
|
374
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
375
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
376
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
377
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
378
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
379
|
-
"aria-label"?: string | undefined;
|
|
380
|
-
"aria-labelledby"?: string | undefined;
|
|
381
|
-
"aria-level"?: number | undefined;
|
|
382
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
383
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
384
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
385
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
386
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
387
|
-
"aria-owns"?: string | undefined;
|
|
388
|
-
"aria-placeholder"?: string | undefined;
|
|
389
|
-
"aria-posinset"?: number | undefined;
|
|
390
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
391
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
392
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
393
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
394
|
-
"aria-roledescription"?: string | undefined;
|
|
395
|
-
"aria-rowcount"?: number | undefined;
|
|
396
|
-
"aria-rowindex"?: number | undefined;
|
|
397
|
-
"aria-rowindextext"?: string | undefined;
|
|
398
|
-
"aria-rowspan"?: number | undefined;
|
|
399
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
400
|
-
"aria-setsize"?: number | undefined;
|
|
401
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
402
|
-
"aria-valuemax"?: number | undefined;
|
|
403
|
-
"aria-valuemin"?: number | undefined;
|
|
404
|
-
"aria-valuenow"?: number | undefined;
|
|
405
|
-
"aria-valuetext"?: string | undefined;
|
|
406
|
-
children?: import("react").ReactNode;
|
|
407
|
-
dangerouslySetInnerHTML?: {
|
|
408
|
-
__html: string | TrustedHTML;
|
|
409
|
-
} | undefined;
|
|
410
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
411
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
412
|
-
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
413
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
414
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
415
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
416
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
417
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
418
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
419
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
420
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
421
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
422
|
-
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
423
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
424
|
-
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
425
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
426
|
-
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
427
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
428
|
-
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
429
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
430
|
-
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
431
|
-
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
432
|
-
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
433
|
-
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
434
|
-
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
435
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
436
|
-
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
437
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
438
|
-
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
439
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
440
|
-
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
441
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
442
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
443
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
444
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
445
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
446
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
447
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
448
|
-
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
449
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
450
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
451
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
452
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
453
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
454
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
455
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
456
|
-
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
457
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
458
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
459
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
460
|
-
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
461
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
462
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
463
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
464
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
465
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
466
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
467
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
468
|
-
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
469
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
470
|
-
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
471
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
472
|
-
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
473
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
474
|
-
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
475
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
476
|
-
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
477
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
478
|
-
onResize?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
479
|
-
onResizeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
480
|
-
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
481
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
482
|
-
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
483
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
484
|
-
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
485
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
486
|
-
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
487
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
488
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
489
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
490
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
491
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
492
|
-
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
493
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
494
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
495
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
496
|
-
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
497
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
498
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
499
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
500
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
501
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
502
|
-
onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
503
|
-
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
504
|
-
onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
505
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
506
|
-
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
507
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
508
|
-
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
509
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
510
|
-
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
511
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
512
|
-
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
513
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
514
|
-
onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
515
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
516
|
-
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
517
|
-
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
518
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
519
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
520
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
521
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
522
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
523
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
524
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
525
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
526
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
527
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
528
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
529
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
530
|
-
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
531
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
532
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
533
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
534
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
535
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
536
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
537
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
538
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
539
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
540
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
541
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
542
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
543
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
544
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
545
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
546
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
547
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
548
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
549
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
550
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
551
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
552
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
553
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
554
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
555
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
556
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
557
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
558
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
559
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
560
|
-
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
561
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
562
|
-
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
563
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
564
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
565
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
566
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
567
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
568
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
569
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
570
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
571
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
572
|
-
}>;
|
|
573
301
|
export declare const Tag: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
574
302
|
$isCompleted?: boolean | undefined;
|
|
575
303
|
$ctaButtonBackgroundColor?: string | undefined;
|
package/dist/esm/index.js
CHANGED
|
@@ -756,6 +756,8 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
756
756
|
justify-content: center;
|
|
757
757
|
min-height: ${({$variant:e})=>"icon"===e?"24px":"16px"};
|
|
758
758
|
overflow: visible;
|
|
759
|
+
padding: 20px 0 26px;
|
|
760
|
+
box-sizing: border-box;
|
|
759
761
|
`,pr=x.div`
|
|
760
762
|
position: relative;
|
|
761
763
|
display: block !important;
|
|
@@ -815,15 +817,7 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
815
817
|
height: 100%;
|
|
816
818
|
width: 0;
|
|
817
819
|
pointer-events: none;
|
|
818
|
-
|
|
819
|
-
position: relative;
|
|
820
|
-
display: grid;
|
|
821
|
-
grid-template-rows: auto min-content auto;
|
|
822
|
-
justify-items: center;
|
|
823
|
-
align-items: center;
|
|
824
|
-
row-gap: 6px;
|
|
825
|
-
width: 100%;
|
|
826
|
-
`;const fr=x.div`
|
|
820
|
+
`,fr=x.div`
|
|
827
821
|
position: absolute;
|
|
828
822
|
bottom: -22px;
|
|
829
823
|
left: 50%;
|
|
@@ -848,13 +842,13 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
848
842
|
text-align: center;
|
|
849
843
|
`,gr=x.div`
|
|
850
844
|
position: absolute;
|
|
851
|
-
top: -
|
|
845
|
+
top: -18px;
|
|
852
846
|
left: 50%;
|
|
853
847
|
transform: translateX(-50%);
|
|
854
848
|
display: ${({$visible:e,$isCollapsed:t})=>e&&!t?"inline-flex":"none"};
|
|
855
849
|
align-items: center;
|
|
856
850
|
justify-content: center;
|
|
857
|
-
padding:
|
|
851
|
+
padding: 0;
|
|
858
852
|
color: ${e=>`${e.$primaryTextColor??"#000000"} !important`};
|
|
859
853
|
font-size: 10px;
|
|
860
854
|
line-height: normal;
|
|
@@ -894,18 +888,6 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
894
888
|
justify-content: center;
|
|
895
889
|
gap: 4px;
|
|
896
890
|
flex-wrap: wrap;
|
|
897
|
-
|
|
898
|
-
@media (max-width: 400px) {
|
|
899
|
-
font-size: 13px;
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
@media (max-width: 374px) {
|
|
903
|
-
font-size: 10px;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
@media (max-width: 320px) {
|
|
907
|
-
font-size: 10px;
|
|
908
|
-
}
|
|
909
891
|
`;x.span`
|
|
910
892
|
color: ${({ctaButtonBackgroundColor:e})=>e};
|
|
911
893
|
`,x.span`
|
|
@@ -1000,7 +982,7 @@ import*as e from"react";import t,{forwardRef as n,useImperativeHandle as r,useRe
|
|
|
1000
982
|
flex-wrap: wrap;
|
|
1001
983
|
text-align: center;
|
|
1002
984
|
}
|
|
1003
|
-
`,Br=({prefixMessageText:e="You are",suffixMessageText:n="away from",successMessageText:r="Best reward unlocked",...o})=>{const a=(r,o)=>t.createElement(zr,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,s=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(`${s}${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 d=o.checkpoints?.[i];return a(`${d?.quantityThreshold-c}`,d?.name)},Dr=e=>t.createElement(wr,{className:"yt-cart-single-tier-reward-message",ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(Br,{...e}));var Ir={};!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 s,d,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?(s=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},d=function(e){u[e]&&cancelAnimationFrame(u[e])}):(s=function(e){return setTimeout(e,p)},d=function(e){return clearTimeout(e)}),{frame:s,cancel:d}),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 z(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function B(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 s=new Path2D;return s.addPath(c,new DOMMatrix([Math.cos(i)*o,Math.sin(i)*o,-Math.sin(i)*a,Math.cos(i)*a,n,r])),s}(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,s=.1*Math.abs(a-r),d=.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)*s,Math.sin(c)*s,-Math.sin(c)*d,Math.cos(c)*d,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,s=!!C(n||{},"resize"),d=!1,p=C(n,"disableForReducedMotion",Boolean),u=a&&!!C(n||{},"useWorker")?v():null,m=l?$:z,f=!(!e||!u)&&!!e.__confetti_initialized,g="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(t,n,a){for(var l,s,d,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),z=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:z[(p=0,u=z.length,Math.floor(Math.random()*(u-p))+p)],ticks:$,decay:v,gravity:w,drift:k,scalar:D,flat:I},s=void 0,d=void 0,s=l.angle*(Math.PI/180),d=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:-s+(.5*d-Math.random()*d),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,s,d=t.slice(),p=e.getContext("2d"),u=c((function(t){function c(){l=s=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),(d=d.filter((function(e){return B(p,e)}))).length?l=b.frame(t):c()})),s=c}));return{addFettis:function(e){return d=d.concat(e),u},canvas:e,promise:u,reset:function(){l&&b.cancel(l),s&&s()}}}(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)),s&&!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,s&&(d=!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),s&&!d&&(d=!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,s=c,d=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")&&(s=Math.min(s,m),d=Math.min(d,f),p=Math.max(p,m),u=Math.max(u,f));a=p-s,l=u-d;var g=Math.min(10/a,10/l);n=[g,0,0,g,-Math.round(a/2+s)*g,-Math.round(l/2+d)*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 s=c.measureText(t),d=Math.ceil(s.actualBoundingBoxRight+s.actualBoundingBoxLeft),p=Math.ceil(s.actualBoundingBoxAscent+s.actualBoundingBoxDescent),u=s.actualBoundingBoxLeft+2,m=s.actualBoundingBoxAscent+2;d+=4,p+=4,(c=(l=new OffscreenCanvas(d,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,-d*f/2,-p*f/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Ir,!1);var _r=Ir.exports;Ir.exports.create;const Or=({particleCount:e,spread:n,origin:r,checkpointPosition:a=.5})=>{const i=o(null),c=o(!1);return l((()=>{if(i.current&&!c.current){_r.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}})},Pr=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...i})=>{const{currentCartAmount:s,checkpoints:d,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((()=>{d?.forEach(((e,t)=>{const n=$r(e,0,d??[],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,d]),t.createElement(t.Fragment,null,t.createElement(Dr,{currentCartAmount:s,checkpoints:d,cartData:x,customCartProgressBarCriteria:u,effectiveQuantityForProgressBar:f,themeColor:p,primaryTextColor:m,showMOVForProgressTiers:!1,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonBackgroundColor:g,ctaButtonTextColor:h}),t.createElement(Cr,null,y&&a&&t.createElement(Or,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:(v+1)/(d?.length??1)}),t.createElement(Er,null,t.createElement(vr,null,d?.sort(((e,t)=>"minimum_order_value"===u?e?.minimumOrderValue-t?.minimumOrderValue:e?.quantityThreshold-t?.quantityThreshold))?.filter((e=>0!==e?.[Sr(u)]&&("minimum_order_value"!==u||1!==e?.[Sr(u)])))?.map(((...e)=>$r(...e,x?.item_count,i)))?.map(((e,n)=>t.createElement(kr,{key:e?.couponTemplateId,$numberOfCheckpoints:d?.length??1},t.createElement(Tr,null,n<d?.length&&t.createElement(br,{className:"yt-cart-single-progress-bar",$isCompleted:e?.progressPercentage>=100,$percent:e?.progressPercentage,style:{display:"flex"},$numberOfCheckpoints:d?.length??1,$isFirstCheckpoint:0===n,$ctaButtonBackgroundColor:g})))))))))},Ar=e=>t.createElement(yr,{className:"yt-cart-multi-tier-reward-message",$ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(Br,{...e}));function Nr(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 Fr(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 Mr(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 Rr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 128L192 256l128 128z"},child:[]}]})(e)}function Lr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"},child:[]}]})(e)}function jr(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 Vr(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 Hr(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 Wr(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 Ur(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 Gr(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 Qr(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 Yr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z"},child:[]}]})(e)}function qr(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 Zr(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 Kr(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 Xr(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 Jr(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 eo(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 to(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 no(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 ro(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 oo=(e,n,r,o,a,i=1)=>{let l;if(l="free_product"===e?ao?.[o]:io?.[e],!l)return t.createElement(Vr,{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",border:"2px solid black",backgroundColor:"grey",color:"white",borderRadius:"9999px",fontSize:`${Math.max(.55*r,12)}px`,width:`${r}px`,height:`${r}px`,opacity:i}});const c=(()=>{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}})(),s=c?"#fff":"rgba(17, 24, 39, 0.1)",d=c?"#fff":a??n,p=c?"#000":"#ffffff",u=Math.max(.55*r,12);return t.createElement(l,{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",padding:`${Math.max(.15*r,4)}px`,border:"2px solid",borderColor:s,backgroundColor:p,color:d,borderRadius:"9999px",width:`${r}px`,height:`${r}px`,fontSize:`${u}px`,opacity:i,boxShadow:c?"0 4px 10px rgba(0,0,0,0.3)":"0 6px 18px rgba(15, 23, 42, 0.12)"}})},ao={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:Ur,emptyCircle:no},io={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:Ur,dummy_coupon:no},lo="#3C3C3C",co=({checkpointWithProgress:e,themeColor:n,checkpointsLength:r,progressBarFreeProductIconType:o,themeTextColor:a,ctaButtonTextColor:i,variant:l="icon",checkpointSize:c="medium",isCollapsed:s})=>{const d=e?.progressPercentage>=100;if("bar"===l){const e=or[c]??or.medium,r=d?n??lo:lo;return t.createElement("span",{style:{display:"inline-flex",width:e.width,height:e.height,borderRadius:"6px",backgroundColor:r,opacity:s&&!d?.55:1,boxShadow:d?`0 10px 24px ${cn(n??"#111827",.24)}`:"none"}})}const p=ar[c]??ar.medium,u=s&&!d?.55:1;return d?t.createElement(Vr,{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",border:"2px solid rgba(255, 255, 255, 0.35)",backgroundColor:n,color:i??"#ffffff",borderRadius:"9999px",fontSize:`${Math.max(.55*p,12)}px`,width:`${p}px`,height:`${p}px`,boxShadow:`0 10px 24px ${cn(n??"#111827",.28)}`,opacity:u}}):oo(e?.couponType,"#707070",p,o??"tshirt",a??"white",u)},so=({showMOVForProgressTiers:e,minimumOrderValue:n,customCartProgressBarCriteria:r,cartData:o,quantityThreshold:a,primaryTextColor:i,isCollapsed:l})=>e?t.createElement(gr,{$visible:n>1||a>0,$primaryTextColor:i,$isCollapsed:l},"minimum_order_value"===r?`${nn(o,o?.currency)} ${mn(n)}`:`${a} item${a>1?"s":""}`):null,po=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...s})=>{const{currentCartAmount:d,checkpoints:p,themeColor:u,themeTextColor:m,customCartProgressBarCriteria:f,primaryTextColor:g,effectiveQuantityForProgressBar:h,progressBarFreeProductIconType:x,ctaButtonBackgroundColor:y,showMOVForProgressTiers:b,ctaButtonTextColor:v,layoutVariant:w="icon",checkpointSize:C="medium"}=s,E=At(Mt),[k,T]=c(!1),[S,$]=c(-1),z=o({}),B=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?.[Sr(f)]))),[p,f]),D=i((()=>B.map(((e,t)=>$r(e,t,B,E?.item_count,{checkpoints:B,currentCartAmount:d,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h})))),[B,E?.item_count,d,f,h]),I=i((()=>{try{const e=B[B.length-1],t=e?.name?.length??0,n=Math.max(0,t-10);return Math.min(80,4*n)}catch(e){return 0}}),[B]),_=i((()=>{if(!D.length)return-1;const e=D.findIndex((e=>e.progressPercentage<100));return-1===e?D.length-1:e}),[D]),O=i((()=>{if(D.length<=3)return 0;if(_<=0)return 0;const e=D.length-3>=0?D.length-3:0;return Math.min(_,e)}),[D.length,_]),P=0===D.length?-1:Math.min(D.length-1,O+2),A=(b??!1)&&"bar"!==w,N=i((()=>{if(!B.length)return 0;const e=B[B.length-1];return e?.[Sr(f)]??0}),[B,f]),F=i((()=>{const e="minimum_order_value"===f?d:h??E?.item_count??0;return!N||e<=0?0:Math.min(100,e/N*100)}),[f,d,h,E?.item_count,N]);return l((()=>{B.forEach(((e,t)=>{const n=$r(e,t,B,E?.item_count,{checkpoints:B,currentCartAmount:d,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h}),r=String(e.couponTemplateId);(z.current[r]||0)<100&&n.progressPercentage>=100&&($(t),T(!0),setTimeout((()=>T(!1)),5e3)),z.current[r]=n.progressPercentage}))}),[E,B,d,f,h]),t.createElement(t.Fragment,null,t.createElement(Ar,{currentCartAmount:d,checkpoints:B,cartData:E,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h,themeColor:u,primaryTextColor:g,showMOVForProgressTiers:b??!1,ctaButtonBackgroundColor:y,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonTextColor:v}),t.createElement(hr,{className:"yt-cart-progress-bar-wrapper",$showMOVForProgressTiers:b??!1,$rightMarginOffsetPx:I},k&&a&&t.createElement(Or,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:(S+1)/(D.length||1)}),t.createElement(xr,null,t.createElement(sr,null,t.createElement(dr,{$variant:w},t.createElement(pr,{className:"yt-cart-multi-progress-bar",$isCompleted:F>=100,$percent:F,$numberOfCheckpoints:1,$isFirstCheckpoint:!0,$ctaButtonBackgroundColor:y,$variant:w}),D.map(((e,n)=>{const r=e?.progressPercentage>=100,o=D.length>3&&(n<O||n>P),a="minimum_order_value"!==f||(e?.minimumOrderValue??0)>1,i=e?.[Sr(f)]??0,l=N?Math.min(100,i/N*100):0;return t.createElement(mr,{key:e?.couponTemplateId,$leftPercent:l},A&&a&&t.createElement(so,{showMOVForProgressTiers:b,minimumOrderValue:e?.minimumOrderValue??0,customCartProgressBarCriteria:f,cartData:E,quantityThreshold:e?.quantityThreshold??0,primaryTextColor:g,isCollapsed:o}),a&&t.createElement(ur,{$variant:w,$isCollapsed:o},t.createElement(co,{checkpointWithProgress:e,themeColor:y,themeTextColor:m,checkpointsLength:D.length||1,progressBarFreeProductIconType:x,ctaButtonTextColor:v,variant:w,checkpointSize:C,isCollapsed:o})),a&&!o&&t.createElement(fr,{$isCompleted:r,$ctaButtonTextColor:v,$ctaButtonBackgroundColor:y,$primaryTextColor:g,$isCollapsed:o},e?.name))})))))))},uo=e=>e?.checkpoints&&e.checkpoints.length>0?1===e.checkpoints.length?t.createElement(Pr,{...e}):t.createElement(po,{...e}):null;function mo(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 fo(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 go(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 ho=x(x.span`
|
|
985
|
+
`,Br=({prefixMessageText:e="You are",suffixMessageText:n="away from",successMessageText:r="Best reward unlocked",...o})=>{const a=(r,o)=>t.createElement(zr,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,s=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(`${s}${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 d=o.checkpoints?.[i];return a(`${d?.quantityThreshold-c}`,d?.name)},Dr=e=>t.createElement(wr,{className:"yt-cart-single-tier-reward-message",ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(Br,{...e}));var Ir={};!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 s,d,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?(s=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},d=function(e){u[e]&&cancelAnimationFrame(u[e])}):(s=function(e){return setTimeout(e,p)},d=function(e){return clearTimeout(e)}),{frame:s,cancel:d}),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 z(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function B(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 s=new Path2D;return s.addPath(c,new DOMMatrix([Math.cos(i)*o,Math.sin(i)*o,-Math.sin(i)*a,Math.cos(i)*a,n,r])),s}(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,s=.1*Math.abs(a-r),d=.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)*s,Math.sin(c)*s,-Math.sin(c)*d,Math.cos(c)*d,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,s=!!C(n||{},"resize"),d=!1,p=C(n,"disableForReducedMotion",Boolean),u=a&&!!C(n||{},"useWorker")?v():null,m=l?$:z,f=!(!e||!u)&&!!e.__confetti_initialized,g="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function h(t,n,a){for(var l,s,d,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),z=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:z[(p=0,u=z.length,Math.floor(Math.random()*(u-p))+p)],ticks:$,decay:v,gravity:w,drift:k,scalar:D,flat:I},s=void 0,d=void 0,s=l.angle*(Math.PI/180),d=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:-s+(.5*d-Math.random()*d),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,s,d=t.slice(),p=e.getContext("2d"),u=c((function(t){function c(){l=s=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),(d=d.filter((function(e){return B(p,e)}))).length?l=b.frame(t):c()})),s=c}));return{addFettis:function(e){return d=d.concat(e),u},canvas:e,promise:u,reset:function(){l&&b.cancel(l),s&&s()}}}(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)),s&&!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,s&&(d=!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),s&&!d&&(d=!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,s=c,d=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")&&(s=Math.min(s,m),d=Math.min(d,f),p=Math.max(p,m),u=Math.max(u,f));a=p-s,l=u-d;var g=Math.min(10/a,10/l);n=[g,0,0,g,-Math.round(a/2+s)*g,-Math.round(l/2+d)*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 s=c.measureText(t),d=Math.ceil(s.actualBoundingBoxRight+s.actualBoundingBoxLeft),p=Math.ceil(s.actualBoundingBoxAscent+s.actualBoundingBoxDescent),u=s.actualBoundingBoxLeft+2,m=s.actualBoundingBoxAscent+2;d+=4,p+=4,(c=(l=new OffscreenCanvas(d,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,-d*f/2,-p*f/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Ir,!1);var _r=Ir.exports;Ir.exports.create;const Or=({particleCount:e,spread:n,origin:r,checkpointPosition:a=.5})=>{const i=o(null),c=o(!1);return l((()=>{if(i.current&&!c.current){_r.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}})},Pr=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...i})=>{const{currentCartAmount:s,checkpoints:d,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((()=>{d?.forEach(((e,t)=>{const n=$r(e,0,d??[],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,d]),t.createElement(t.Fragment,null,t.createElement(Dr,{currentCartAmount:s,checkpoints:d,cartData:x,customCartProgressBarCriteria:u,effectiveQuantityForProgressBar:f,themeColor:p,primaryTextColor:m,showMOVForProgressTiers:!1,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonBackgroundColor:g,ctaButtonTextColor:h}),t.createElement(Cr,null,y&&a&&t.createElement(Or,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:(v+1)/(d?.length??1)}),t.createElement(Er,null,t.createElement(vr,null,d?.sort(((e,t)=>"minimum_order_value"===u?e?.minimumOrderValue-t?.minimumOrderValue:e?.quantityThreshold-t?.quantityThreshold))?.filter((e=>0!==e?.[Sr(u)]&&("minimum_order_value"!==u||1!==e?.[Sr(u)])))?.map(((...e)=>$r(...e,x?.item_count,i)))?.map(((e,n)=>t.createElement(kr,{key:e?.couponTemplateId,$numberOfCheckpoints:d?.length??1},t.createElement(Tr,null,n<d?.length&&t.createElement(br,{className:"yt-cart-single-progress-bar",$isCompleted:e?.progressPercentage>=100,$percent:e?.progressPercentage,style:{display:"flex"},$numberOfCheckpoints:d?.length??1,$isFirstCheckpoint:0===n,$ctaButtonBackgroundColor:g})))))))))},Ar=e=>t.createElement(yr,{className:"yt-cart-multi-tier-reward-message",$ctaButtonTextColor:e.ctaButtonTextColor,$ctaButtonBackgroundColor:e.ctaButtonBackgroundColor},t.createElement(Br,{...e}));function Nr(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 Fr(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 Mr(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 Rr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M320 128L192 256l128 128z"},child:[]}]})(e)}function Lr(e){return _({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M192 128l128 128-128 128z"},child:[]}]})(e)}function jr(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 Vr(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 Hr(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 Wr(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 Ur(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 Gr(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 Qr(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 Yr(e){return _({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z"},child:[]}]})(e)}function qr(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 Zr(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 Kr(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 Xr(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 Jr(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 eo(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 to(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 no(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 ro(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 oo=(e,n,r,o,a,i=1)=>{let l;if(l="free_product"===e?ao?.[o]:io?.[e],!l)return t.createElement(Vr,{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",border:"2px solid black",backgroundColor:"grey",color:"white",borderRadius:"9999px",fontSize:`${Math.max(.55*r,12)}px`,width:`${r}px`,height:`${r}px`,opacity:i}});const c=(()=>{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}})(),s=c?"#fff":"rgba(17, 24, 39, 0.1)",d=c?"#fff":a??n,p=c?"#000":"#ffffff",u=Math.max(.55*r,12);return t.createElement(l,{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",padding:`${Math.max(.15*r,4)}px`,border:"2px solid",borderColor:s,backgroundColor:p,color:d,borderRadius:"9999px",width:`${r}px`,height:`${r}px`,fontSize:`${u}px`,opacity:i,boxShadow:c?"0 4px 10px rgba(0,0,0,0.3)":"0 6px 18px rgba(15, 23, 42, 0.12)"}})},ao={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:Ur,emptyCircle:no},io={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:Ur,dummy_coupon:no},lo="#3C3C3C",co=({checkpointWithProgress:e,themeColor:n,checkpointsLength:r,progressBarFreeProductIconType:o,themeTextColor:a,ctaButtonTextColor:i,variant:l="icon",checkpointSize:c="medium",isCollapsed:s})=>{const d=e?.progressPercentage>=100;if("bar"===l){const e=or[c]??or.medium,r=d?n??lo:lo;return t.createElement("span",{style:{display:"inline-flex",width:e.width,height:e.height,borderRadius:"6px",backgroundColor:r,opacity:s&&!d?.55:1,boxShadow:d?`0 10px 24px ${cn(n??"#111827",.24)}`:"none"}})}const p=ar[c]??ar.medium,u=s&&!d?.55:1;return d?t.createElement(Vr,{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",border:"2px solid rgba(255, 255, 255, 0.35)",backgroundColor:n,color:i??"#ffffff",borderRadius:"9999px",fontSize:`${Math.max(.55*p,12)}px`,width:`${p}px`,height:`${p}px`,boxShadow:`0 10px 24px ${cn(n??"#111827",.28)}`,opacity:u}}):oo(e?.couponType,"#707070",p,o??"tshirt",a??"white",u)},so=({showMOVForProgressTiers:e,minimumOrderValue:n,customCartProgressBarCriteria:r,cartData:o,quantityThreshold:a,primaryTextColor:i,isCollapsed:l})=>e?t.createElement(gr,{$visible:n>1||a>0,$primaryTextColor:i,$isCollapsed:l},"minimum_order_value"===r?`${nn(o,o?.currency)} ${mn(n)}`:`${a} item${a>1?"s":""}`):null,po=({prefixMessageText:e,suffixMessageText:n,successMessageText:r,enableConfetti:a,...s})=>{const{currentCartAmount:d,checkpoints:p,themeColor:u,themeTextColor:m,customCartProgressBarCriteria:f,primaryTextColor:g,effectiveQuantityForProgressBar:h,progressBarFreeProductIconType:x,ctaButtonBackgroundColor:y,showMOVForProgressTiers:b,ctaButtonTextColor:v,layoutVariant:w="icon",checkpointSize:C="medium"}=s,E=At(Mt),[k,T]=c(!1),[S,$]=c(-1),z=o({}),B=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?.[Sr(f)]))),[p,f]),D=i((()=>B.map(((e,t)=>$r(e,t,B,E?.item_count,{checkpoints:B,currentCartAmount:d,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h})))),[B,E?.item_count,d,f,h]),I=i((()=>{try{const e=B[B.length-1],t=e?.name?.length??0,n=Math.max(0,t-10);return Math.min(80,4*n)}catch(e){return 0}}),[B]),_=i((()=>{if(!D.length)return-1;const e=D.findIndex((e=>e.progressPercentage<100));return-1===e?D.length-1:e}),[D]),O=i((()=>{if(D.length<=3)return 0;if(_<=0)return 0;const e=D.length-3>=0?D.length-3:0;return Math.min(_,e)}),[D.length,_]),P=0===D.length?-1:Math.min(D.length-1,O+2),A=(b??!1)&&"bar"!==w,N=i((()=>{if(!B.length)return 0;const e=B[B.length-1];return e?.[Sr(f)]??0}),[B,f]),F=i((()=>{const e="minimum_order_value"===f?d:h??E?.item_count??0;return!N||e<=0?0:Math.min(100,e/N*100)}),[f,d,h,E?.item_count,N]);return l((()=>{B.forEach(((e,t)=>{const n=$r(e,t,B,E?.item_count,{checkpoints:B,currentCartAmount:d,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h}),r=String(e.couponTemplateId);(z.current[r]||0)<100&&n.progressPercentage>=100&&($(t),T(!0),setTimeout((()=>T(!1)),5e3)),z.current[r]=n.progressPercentage}))}),[E,B,d,f,h]),t.createElement(t.Fragment,null,t.createElement(Ar,{currentCartAmount:d,checkpoints:B,cartData:E,customCartProgressBarCriteria:f,effectiveQuantityForProgressBar:h,themeColor:u,primaryTextColor:g,showMOVForProgressTiers:b??!1,ctaButtonBackgroundColor:y,prefixMessageText:e,suffixMessageText:n,successMessageText:r,ctaButtonTextColor:v}),t.createElement(hr,{className:"yt-cart-progress-bar-wrapper",$showMOVForProgressTiers:b??!1,$rightMarginOffsetPx:I},k&&a&&t.createElement(Or,{particleCount:50,spread:90,origin:{y:.3},checkpointPosition:(S+1)/(D.length||1)}),t.createElement(xr,null,t.createElement(sr,null,t.createElement(dr,{$variant:w},t.createElement(pr,{className:"yt-cart-multi-progress-bar",$isCompleted:F>=100,$percent:F,$numberOfCheckpoints:1,$isFirstCheckpoint:!0,$ctaButtonBackgroundColor:y,$variant:w}),D.map(((e,n)=>{const r=e?.progressPercentage>=100,o=D.length>3&&(n<O||n>P),a="minimum_order_value"!==f||(e?.minimumOrderValue??0)>1,i=e?.[Sr(f)]??0,l=N?Math.min(98,Math.max(2,i/N*100)):0;return t.createElement(mr,{key:e?.couponTemplateId,$leftPercent:l},A&&a&&t.createElement(so,{showMOVForProgressTiers:b,minimumOrderValue:e?.minimumOrderValue??0,customCartProgressBarCriteria:f,cartData:E,quantityThreshold:e?.quantityThreshold??0,primaryTextColor:g,isCollapsed:o}),a&&t.createElement(ur,{$variant:w,$isCollapsed:o},t.createElement(co,{checkpointWithProgress:e,themeColor:y,themeTextColor:m,checkpointsLength:D.length||1,progressBarFreeProductIconType:x,ctaButtonTextColor:v,variant:w,checkpointSize:C,isCollapsed:o})),a&&!o&&t.createElement(fr,{$isCompleted:r,$ctaButtonTextColor:v,$ctaButtonBackgroundColor:y,$primaryTextColor:g,$isCollapsed:o},e?.name))})))))))},uo=e=>e?.checkpoints&&e.checkpoints.length>0?1===e.checkpoints.length?t.createElement(Pr,{...e}):t.createElement(po,{...e}):null;function mo(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 fo(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 go(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 ho=x(x.span`
|
|
1004
986
|
display: flex !important;
|
|
1005
987
|
gap: 4px;
|
|
1006
988
|
`)`
|
package/dist/esm/types/components/Cart/MultiStepProgressBar/MultiStepProgressBar.styled.d.ts
CHANGED
|
@@ -298,278 +298,6 @@ export declare const MarkerWrapper: import("styled-components").IStyledComponent
|
|
|
298
298
|
export declare const StepWrap: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
299
299
|
$leftPercent: number;
|
|
300
300
|
}>>;
|
|
301
|
-
export declare const CheckpointSlot: import("styled-components").IStyledComponent<"web", {
|
|
302
|
-
ref?: import("react").LegacyRef<HTMLDivElement> | undefined;
|
|
303
|
-
key?: import("react").Key | null | undefined;
|
|
304
|
-
defaultChecked?: boolean | undefined;
|
|
305
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
306
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
307
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
308
|
-
accessKey?: string | undefined;
|
|
309
|
-
autoFocus?: boolean | undefined;
|
|
310
|
-
className?: string | undefined;
|
|
311
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
312
|
-
contextMenu?: string | undefined;
|
|
313
|
-
dir?: string | undefined;
|
|
314
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
315
|
-
hidden?: boolean | undefined;
|
|
316
|
-
id?: string | undefined;
|
|
317
|
-
lang?: string | undefined;
|
|
318
|
-
nonce?: string | undefined;
|
|
319
|
-
placeholder?: string | undefined;
|
|
320
|
-
slot?: string | undefined;
|
|
321
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
322
|
-
style?: import("react").CSSProperties | undefined;
|
|
323
|
-
tabIndex?: number | undefined;
|
|
324
|
-
title?: string | undefined;
|
|
325
|
-
translate?: "yes" | "no" | undefined;
|
|
326
|
-
radioGroup?: string | undefined;
|
|
327
|
-
role?: import("react").AriaRole | undefined;
|
|
328
|
-
about?: string | undefined;
|
|
329
|
-
content?: string | undefined;
|
|
330
|
-
datatype?: string | undefined;
|
|
331
|
-
inlist?: any;
|
|
332
|
-
prefix?: string | undefined;
|
|
333
|
-
property?: string | undefined;
|
|
334
|
-
rel?: string | undefined;
|
|
335
|
-
resource?: string | undefined;
|
|
336
|
-
rev?: string | undefined;
|
|
337
|
-
typeof?: string | undefined;
|
|
338
|
-
vocab?: string | undefined;
|
|
339
|
-
autoCapitalize?: string | undefined;
|
|
340
|
-
autoCorrect?: string | undefined;
|
|
341
|
-
autoSave?: string | undefined;
|
|
342
|
-
color?: string | undefined;
|
|
343
|
-
itemProp?: string | undefined;
|
|
344
|
-
itemScope?: boolean | undefined;
|
|
345
|
-
itemType?: string | undefined;
|
|
346
|
-
itemID?: string | undefined;
|
|
347
|
-
itemRef?: string | undefined;
|
|
348
|
-
results?: number | undefined;
|
|
349
|
-
security?: string | undefined;
|
|
350
|
-
unselectable?: "on" | "off" | undefined;
|
|
351
|
-
inputMode?: "text" | "none" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
352
|
-
is?: string | undefined;
|
|
353
|
-
"aria-activedescendant"?: string | undefined;
|
|
354
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
355
|
-
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
356
|
-
"aria-braillelabel"?: string | undefined;
|
|
357
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
358
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
359
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
360
|
-
"aria-colcount"?: number | undefined;
|
|
361
|
-
"aria-colindex"?: number | undefined;
|
|
362
|
-
"aria-colindextext"?: string | undefined;
|
|
363
|
-
"aria-colspan"?: number | undefined;
|
|
364
|
-
"aria-controls"?: string | undefined;
|
|
365
|
-
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date" | undefined;
|
|
366
|
-
"aria-describedby"?: string | undefined;
|
|
367
|
-
"aria-description"?: string | undefined;
|
|
368
|
-
"aria-details"?: string | undefined;
|
|
369
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
370
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
371
|
-
"aria-errormessage"?: string | undefined;
|
|
372
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
373
|
-
"aria-flowto"?: string | undefined;
|
|
374
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
375
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
376
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
377
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
378
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
379
|
-
"aria-label"?: string | undefined;
|
|
380
|
-
"aria-labelledby"?: string | undefined;
|
|
381
|
-
"aria-level"?: number | undefined;
|
|
382
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
383
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
384
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
385
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
386
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
387
|
-
"aria-owns"?: string | undefined;
|
|
388
|
-
"aria-placeholder"?: string | undefined;
|
|
389
|
-
"aria-posinset"?: number | undefined;
|
|
390
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
391
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
392
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
393
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
394
|
-
"aria-roledescription"?: string | undefined;
|
|
395
|
-
"aria-rowcount"?: number | undefined;
|
|
396
|
-
"aria-rowindex"?: number | undefined;
|
|
397
|
-
"aria-rowindextext"?: string | undefined;
|
|
398
|
-
"aria-rowspan"?: number | undefined;
|
|
399
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
400
|
-
"aria-setsize"?: number | undefined;
|
|
401
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
402
|
-
"aria-valuemax"?: number | undefined;
|
|
403
|
-
"aria-valuemin"?: number | undefined;
|
|
404
|
-
"aria-valuenow"?: number | undefined;
|
|
405
|
-
"aria-valuetext"?: string | undefined;
|
|
406
|
-
children?: import("react").ReactNode;
|
|
407
|
-
dangerouslySetInnerHTML?: {
|
|
408
|
-
__html: string | TrustedHTML;
|
|
409
|
-
} | undefined;
|
|
410
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
411
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
412
|
-
onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
413
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
414
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
415
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
416
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
417
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
418
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
419
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
420
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
421
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
|
|
422
|
-
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
423
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
424
|
-
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
425
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
426
|
-
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
427
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
428
|
-
onBeforeInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
429
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
430
|
-
onInput?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
431
|
-
onInputCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
432
|
-
onReset?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
433
|
-
onResetCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
434
|
-
onSubmit?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
435
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
436
|
-
onInvalid?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
437
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
438
|
-
onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
439
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
440
|
-
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
441
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
442
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
443
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
444
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
445
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
446
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
447
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
448
|
-
onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
449
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
450
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
451
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
452
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
453
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
454
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
455
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
456
|
-
onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
457
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
458
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
459
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
460
|
-
onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
461
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
462
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
463
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
464
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
465
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
466
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
467
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
468
|
-
onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
469
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
470
|
-
onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
471
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
472
|
-
onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
473
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
474
|
-
onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
475
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
476
|
-
onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
477
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
478
|
-
onResize?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
479
|
-
onResizeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
480
|
-
onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
481
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
482
|
-
onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
483
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
484
|
-
onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
485
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
486
|
-
onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
487
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
488
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
489
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
490
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
491
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
492
|
-
onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
493
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
494
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
495
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
496
|
-
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
497
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
498
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
499
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
500
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
501
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
502
|
-
onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
503
|
-
onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
504
|
-
onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
505
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
506
|
-
onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
507
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
508
|
-
onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
509
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
510
|
-
onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
511
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
512
|
-
onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
513
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
514
|
-
onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
515
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
516
|
-
onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
517
|
-
onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
|
|
518
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
519
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
520
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
521
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
522
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
523
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
524
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
525
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
526
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
527
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
528
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
529
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
530
|
-
onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
531
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
532
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
533
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
534
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
535
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
536
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
537
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
538
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
539
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
|
|
540
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
541
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
542
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
543
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
544
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
545
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
546
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
547
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
548
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
549
|
-
onPointerEnterCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
550
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
551
|
-
onPointerLeaveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
552
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
553
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
554
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
555
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
556
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
557
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
558
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
559
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
|
|
560
|
-
onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
561
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
|
|
562
|
-
onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
563
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
|
|
564
|
-
onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
565
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
566
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
567
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
568
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
569
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
|
|
570
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
571
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
572
|
-
}>;
|
|
573
301
|
export declare const Tag: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
574
302
|
$isCompleted?: boolean | undefined;
|
|
575
303
|
$ctaButtonBackgroundColor?: string | undefined;
|