(()=>{window.IS_URL = 'https://app.ishorts.com.br/api/';const style = document.createElement('style');style.innerHTML=`.IS_widget_side{align-items:center;animation:slideIn .5s ease 0s 1 normal forwards running;background-color:#fff;border-radius:6px 0 0 6px;box-shadow:0 0 5px 0 rgba(0,0,0,.17);cursor:pointer;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:8px;position:fixed;right:0;z-index:10000}.IS_widget_side p{color:#303030;font-size:15px;font-weight:400;line-height:16px;margin:0;max-height:150px;overflow:hidden;text-align:center;text-overflow:ellipsis;transform:rotate(1turn);white-space:nowrap;writing-mode:vertical-rl}.IS_widget_side svg{stroke:#303030;stroke-width:1px;height:22px;width:22px}.IS_widget_overlay{background:transparent;height:100%;left:0;position:fixed;top:0;width:100%;z-index:9999}.IS_widget{align-items:center;display:flex;left:0;pointer-events:auto;position:var(--is-widget_fixed,"fixed");top:0;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;will-change:transform;z-index:10000}.IS_widget:active{cursor:grabbing}.IS_widget.hidden{opacity:0}.IS_widget .IS_widget_close{align-items:center;background:#f6f6f6;border:.83px solid #fff;border-radius:50%!important;bottom:unset;box-shadow:0 0 4px 0 rgba(0,0,0,.28);display:flex;height:25px;justify-content:center;left:0;outline:0;padding:0;position:absolute;right:unset;top:0;width:25px;z-index:1}.IS_widget .IS_widget_close svg{stroke:#757575!important;flex-shrink:0;height:16px;pointer-events:none;width:16px}.IS_widget[data-preset=circular] video,.IS_widget[data-preset=circular_animation] video,.IS_widget[data-preset=circular_text] video{border-radius:100%;height:100px;width:100px}.IS_widget[data-preset=insta_animation]:after{animation:IS_pulse_ring 1.8s ease-in-out infinite;background:linear-gradient(221.01deg,#eb10d6 12.35%,#ff006d 31.25%,#f91121 50.16%,#fa7e1e 69.06%,#fec812 87.97%);border-radius:50%;bottom:0;content:"";left:0;margin:-6px;opacity:.6;position:absolute;right:0;top:0;z-index:-1}.IS_widget[data-preset=insta]>div,.IS_widget[data-preset=insta_animation]>div{border:none!important;box-shadow:none!important;outline:3px solid #fff;overflow:unset;position:relative}.IS_widget[data-preset=insta]>div:before,.IS_widget[data-preset=insta_animation]>div:before{background:linear-gradient(221.01deg,#eb10d6 12.35%,#ff006d 31.25%,#f91121 50.16%,#fa7e1e 69.06%,#fec812 87.97%);border-radius:inherit;bottom:0;content:"";left:0;margin:-6px;position:absolute;right:0;top:0;z-index:-2}.IS_widget[data-preset=insta] video,.IS_widget[data-preset=insta_animation] video{border-radius:50%;overflow:hidden}.IS_widget[data-preset=insta]>span,.IS_widget[data-preset=insta_animation]>span{background:none!important;bottom:-27px;color:#000!important;left:50%;margin:0;padding:0!important;text-align:center;text-transform:capitalize;transform:translateX(-50%);transition:none!important;width:auto!important;z-index:2}.IS_widget[data-preset=circular_text]>span{padding:8px 14px!important;width:auto!important}.IS_widget[data-preset=circular_animation]>svg{animation:IS_text_rotate 8s linear infinite}.IS_widget[data-preset=rectangular] .IS_widget_close{left:-10px;top:-10px}.IS_widget[data-preset=rectangular]>div{aspect-ratio:9/14;border-radius:8px;height:unset}.IS_widget[data-preset=square] .IS_widget_close{left:-12px;top:-12px}.IS_widget[data-preset=square]>div{aspect-ratio:9/14;border-radius:8px}.IS_widget>svg{bottom:0;left:0;order:1;position:absolute;right:0;top:0;transform:scale(1.5);transform-origin:center center}.IS_widget>svg text{fill:#303030;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-size:10px;font-weight:600}.IS_widget>span{background:var(--is-widget_primary,#000);border-radius:0 36px 36px 0;color:var(--is-widget_secondary,#fff);font-size:13.4px;font-weight:500;left:100%;margin-left:-4px;order:1;padding:8px 14px;position:absolute;text-transform:uppercase;transition:width 1.25s ease,order .3s,margin .3s,padding 1.25s ease;white-space:nowrap;z-index:0}.IS_widget>div,.IS_widget>span{cursor:pointer;overflow:hidden;pointer-events:all}.IS_widget>div{align-items:center;border:2px solid var(--is-widget_secondary,#fff);border-radius:50%;box-shadow:0 0 0 3px var(--is-widget_primary,#000);display:flex;flex-shrink:0;height:100px;justify-content:center;order:0;position:relative;width:100px;z-index:1}.IS_widget>div img,.IS_widget>div>video{background:var(--is-widget_secondary,#000);height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.IS_widget>div img{-webkit-user-drag:none;border-radius:50%;pointer-events:none}.IS_carousel{--gap:8px;-webkit-tap-highlight-color:transparent;display:flex;flex-direction:column;gap:20px;margin:20px 0 30px}.IS_carousel__title{margin-bottom:0;text-align:center}.IS_carousel.is-dragging .IS_carousel__slide,.IS_carousel.is-repositioning .IS_carousel__slide,.IS_carousel.is-repositioning .IS_carousel__track{transition:none!important}.IS_carousel.is-repositioning .IS_carousel__slide{will-change:auto}.IS_carousel__viewport{cursor:grab;margin:0 auto;overflow:hidden;touch-action:pan-y pinch-zoom;width:100%}.IS_carousel.is-dragging .IS_carousel__viewport{cursor:grabbing}.IS_carousel__track{align-items:center;backface-visibility:hidden;display:flex;gap:var(--gap);transform:translateZ(0);will-change:transform}.IS_carousel__media{background:#111;height:100%;inset:0;position:absolute;width:100%}.IS_carousel__media img,.IS_carousel__media video{display:block;height:100%;-o-object-fit:cover;object-fit:cover;pointer-events:auto;width:100%}.IS_carousel__slide{aspect-ratio:9/16;border-radius:16px;box-shadow:0 8px 20px rgba(0,0,0,.06);contain:layout paint style;display:block;flex:0 0 240px;overflow:hidden;position:relative;transform:translateZ(0) scale(.86);transition:transform .28s cubic-bezier(.25,1,.5,1),box-shadow .28s,filter .28s;-webkit-user-select:none;-moz-user-select:none;user-select:none;will-change:transform}@media (min-width:1100px){.IS_carousel__slide{flex-basis:280px}}.IS_carousel__slide.is-active{box-shadow:0 12px 30px rgba(0,0,0,.2);transform:translateZ(0) scale(1)}.IS_carousel__slide__product{background:hsla(0,0%,100%,.8);border-radius:12px;bottom:10px;display:grid;gap:8px;grid-template-columns:44px 1fr;left:10px;padding:10px;position:absolute;right:10px}.IS_carousel__slide__product>span{background:#eee;border-radius:8px;height:44px;overflow:hidden;width:44px}.IS_carousel__slide__product>span img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.IS_carousel__slide__product p{color:#111;font-size:12px;line-height:1.2;margin:0;max-height:2.4em;overflow:hidden}.IS_carousel__slide__product strong{align-items:center;color:#111;display:inline-flex;font-size:14px;gap:5px}.IS_carousel__slide__product strong span{color:#838383;font-size:10px;font-weight:500;text-decoration:line-through}.IS_carousel__slide__product div{display:flex;flex-direction:column;justify-content:center}.IS_carousel.reduce-effects .IS_carousel__slide{filter:none!important}.IS_carousel.reduce-effects .IS_carousel__item__product{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}.IS_stories{-webkit-tap-highlight-color:transparent;display:flex;display:block;flex:0 0 100%;flex-direction:column;gap:10px;margin-top:12px;width:100%}.IS_stories[data-preset=insta] .IS_stories__item{border:none;box-shadow:none}.IS_stories[data-preset=insta] .IS_stories__item__vid{border:3px solid #fff;height:64px;min-height:64px;min-width:64px;width:64px}.IS_stories[data-preset=insta] .IS_stories__item:before{background:linear-gradient(221.01deg,#eb10d6 12.35%,#ff006d 31.25%,#f91121 50.16%,#fa7e1e 69.06%,#fec812 87.97%);border-radius:50%;content:"";inset:0;position:absolute;z-index:0}.IS_stories.is-dragging .IS_stories__item,.IS_stories.is-repositioning .IS_stories__item,.IS_stories.is-repositioning .IS_stories__track{transition:none!important}.IS_stories.is-repositioning .IS_stories__item{will-change:auto}.IS_stories__title{margin-bottom:0}.IS_stories__viewport{display:block;overflow:hidden;touch-action:pan-y pinch-zoom;width:100%}.IS_stories__track{align-items:center;display:flex;gap:8px;padding:6px 8px;transform:translateZ(0);width:200px;will-change:transform}.IS_stories__item{border:2px solid var(--is-stories_secondary,#fff);border-radius:9999px;box-shadow:0 0 0 2px var(--is-stories_primary,#000);contain:layout paint style;cursor:pointer;display:grid;flex:0 0 70px;height:70px;min-height:70px;min-width:70px;place-items:center;position:relative;transform:translateZ(0);transition:transform .22s cubic-bezier(.25,1,.5,1);width:70px;will-change:transform}.IS_stories__item__vid{border:none;border-radius:9999px;display:block;height:100%;min-height:100%;min-width:100%;-o-object-fit:cover;object-fit:cover;pointer-events:none;position:relative;width:100%;z-index:1}.IS_stories.reduce-effects .IS_stories__item{box-shadow:none!important;filter:none!important}.IS_stories__track{backface-visibility:hidden}.IS_overlay{-webkit-overflow-scrolling:auto;align-items:center;backdrop-filter:blur(7.5px);background:rgba(0,0,0,.8)!important;bottom:0;display:none;justify-content:center;left:0;overscroll-behavior:contain;position:fixed;right:0;top:0;touch-action:none;z-index:10001}.IS_overlay.only_feed .IS_feed_actions,.IS_overlay.only_feed .IS_poster{display:flex}.IS_overlay button{outline:0;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.IS_overlay.active{display:flex;opacity:1}.IS_overlay.is-dragging div{pointer-events:none}.IS_video{aspect-ratio:608/1080;border-radius:18.462px;display:flex;flex-direction:column;height:50vh;left:50%;overflow:hidden;position:absolute;top:50%;transform:translate(-50%,-50%);transition:transform .5s ease,opacity .5s ease;width:auto}.IS_video:not(.active){cursor:pointer;opacity:.6}.IS_video:not(.active)>:not(.IS_video_player):not(.IS_poster){display:none!important}.IS_video.active{height:95vh;opacity:1;width:auto}.IS_video.active .IS_poster{display:none!important}.IS_video button,.IS_video h3,.IS_video h4,.IS_video h5,.IS_video h6,.IS_video p,.IS_video small{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.IS_video:before{background:linear-gradient(270deg,rgba(0,0,0,.25),transparent);bottom:0;content:"";height:100%;left:unset;pointer-events:none;position:absolute;right:0;top:0;width:30%;z-index:2}.IS_video .IS_video_player{bottom:0;display:flex;flex-direction:column;height:100%;left:0;position:absolute;right:0;top:0;width:100%}.IS_video .IS_video_player video{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;pointer-events:none;position:absolute;right:0;top:0;width:calc(100% + 1px)}.IS_video .IS_video_player video.play{z-index:1}.IS_icon_outline{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;height:24px;max-width:none;width:24px}.IS_icon_stroke{fill:#fff;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;height:24px;width:24px}.IS_scroll_bar{scrollbar-color:#ebeaea;scrollbar-width:auto}.IS_scroll_bar::-webkit-scrollbar{height:5px;width:5px}.IS_scroll_bar::-webkit-scrollbar-track{background:#ededed}.IS_scroll_bar::-webkit-scrollbar-thumb{background-color:#dddbdb;border:0 solid #fff;border-radius:10px}.IS_timeline{gap:3px;justify-content:space-between;margin:5px 21px 9px;z-index:99}.IS_timeline,.IS_timeline span{align-items:center;display:flex}.IS_timeline span{background:hsla(0,0%,100%,.4);border-radius:2px;flex:1;height:2px;overflow:hidden;width:100%}.IS_timeline span>div{background:#fff;border-radius:2px;display:inline-flex;height:2px;transition:width .1s linear;width:0}.IS_controls{align-items:center;display:flex;justify-content:space-between;margin:0 21px auto;z-index:99}.IS_controls .IS_control_close,.IS_controls .IS_control_sound{align-items:center;background:transparent!important;border:none!important;cursor:pointer;display:flex;filter:drop-shadow(0 0 .75px rgba(0,0,0,.42)) drop-shadow(0 1px .5px rgba(0,0,0,.18)) drop-shadow(0 2px 3px rgba(0,0,0,.2));justify-content:center;margin:0;outline:none;padding:0;user-select:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.IS_controls .IS_control_close svg,.IS_controls .IS_control_sound svg{stroke:#fff;backface-visibility:hidden;transform:scale(1)}.IS_controls .IS_control_tabs{align-items:center;display:flex;gap:15px;justify-content:center}.IS_controls .IS_control_tabs button{align-items:center;background:transparent;border:none;color:#fff;display:flex;font-size:14px;font-weight:500;justify-content:center;outline:none;position:relative;transition:all .2s}.IS_controls .IS_control_tabs button.active:before,.IS_controls .IS_control_tabs button:hover:before{background:#fff;border-radius:100px;bottom:0;content:"";height:2px;left:0;margin:0 auto;position:absolute;right:0;top:23px;width:50%}.IS_interaction{align-items:flex-end;display:flex;gap:10px;justify-content:flex-end;margin:0 6px 10px 9px;pointer-events:none;z-index:99}.IS_interaction .IS_interaction_actions{display:flex;flex-direction:column;gap:8px;pointer-events:all}.IS_interaction .IS_interaction_actions .IS_interaction_love.active button svg path{fill:#f74747}.IS_interaction .IS_interaction_actions .IS_interaction_comment,.IS_interaction .IS_interaction_actions .IS_interaction_love,.IS_interaction .IS_interaction_actions .IS_interaction_measure,.IS_interaction .IS_interaction_actions .IS_interaction_share,.IS_interaction .IS_interaction_actions .IS_interaction_whatsapp{align-items:center;cursor:pointer;display:flex;flex-direction:column;gap:3px;justify-content:center;transition:all .3s}.IS_interaction .IS_interaction_actions .IS_interaction_comment:hover button,.IS_interaction .IS_interaction_actions .IS_interaction_love:hover button,.IS_interaction .IS_interaction_actions .IS_interaction_measure:hover button,.IS_interaction .IS_interaction_actions .IS_interaction_share:hover button,.IS_interaction .IS_interaction_actions .IS_interaction_whatsapp:hover button{opacity:.7}.IS_interaction .IS_interaction_actions .IS_interaction_comment button,.IS_interaction .IS_interaction_actions .IS_interaction_love button,.IS_interaction .IS_interaction_actions .IS_interaction_measure button,.IS_interaction .IS_interaction_actions .IS_interaction_share button,.IS_interaction .IS_interaction_actions .IS_interaction_whatsapp button{align-items:center;background:hsla(0,0%,57%,.4)!important;border:none!important;border-radius:500px;cursor:pointer;display:flex;height:42px;justify-content:center;outline:none;padding:0;transition:all .3s;user-select:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;width:42px}.IS_interaction .IS_interaction_actions .IS_interaction_comment button:hover,.IS_interaction .IS_interaction_actions .IS_interaction_love button:hover,.IS_interaction .IS_interaction_actions .IS_interaction_measure button:hover,.IS_interaction .IS_interaction_actions .IS_interaction_share button:hover,.IS_interaction .IS_interaction_actions .IS_interaction_whatsapp button:hover{background:hsla(0,0%,57%,.4)!important;border-color:hsla(0,0%,57%,.4)!important}.IS_interaction .IS_interaction_actions .IS_interaction_comment button svg,.IS_interaction .IS_interaction_actions .IS_interaction_love button svg,.IS_interaction .IS_interaction_actions .IS_interaction_measure button svg,.IS_interaction .IS_interaction_actions .IS_interaction_share button svg,.IS_interaction .IS_interaction_actions .IS_interaction_whatsapp button svg{fill:#fff;backface-visibility:hidden;height:22px;line-height:0;max-width:unset;transform:scale(1);width:22px}.IS_interaction .IS_interaction_actions .IS_interaction_comment button svg path,.IS_interaction .IS_interaction_actions .IS_interaction_love button svg path,.IS_interaction .IS_interaction_actions .IS_interaction_measure button svg path,.IS_interaction .IS_interaction_actions .IS_interaction_share button svg path,.IS_interaction .IS_interaction_actions .IS_interaction_whatsapp button svg path{transition:all .3s}.IS_interaction .IS_interaction_actions .IS_interaction_comment p,.IS_interaction .IS_interaction_actions .IS_interaction_love p,.IS_interaction .IS_interaction_actions .IS_interaction_measure p,.IS_interaction .IS_interaction_actions .IS_interaction_share p,.IS_interaction .IS_interaction_actions .IS_interaction_whatsapp p{color:#fff;font-size:12px;font-weight:500;margin:0}.IS_interaction .IS_interaction_actions .IS_interaction_mark{align-items:center;color:hsla(0,0%,100%,.4);display:flex;flex:1;font-size:12px;font-style:normal;font-weight:700;justify-content:center;line-height:100%;margin:0;text-align:center}.IS_measure{background:hsla(0,0%,100%,.9);border-radius:10px;bottom:-100%;display:flex;flex-direction:column;gap:18px;left:8px;margin:0 0 8px;opacity:1;padding:12px;position:absolute;right:8px;transition:bottom .3s ease,opacity .3s ease;z-index:2}.IS_measure.active{bottom:8px}.IS_measure.closing{opacity:0}.IS_measure strong{color:#2a2a2a;font-size:14px;font-weight:600;margin:0}.IS_measure>span{align-items:center;display:flex;justify-content:space-between}.IS_measure>span button{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;justify-content:center;outline:0}.IS_measure>span button svg{stroke:#8c8c8c}.IS_measure ul{align-items:center;display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin-bottom:0;margin-top:0;padding-left:0}.IS_measure ul li{align-items:center;background:#f2f2f2;border-radius:8px;color:#1b1b1b;display:flex;flex:1;flex-direction:column;font-size:13px;font-weight:500;gap:2px;justify-content:center;padding:6px 10px}.IS_measure ul li p{color:#8c8c8c;font-size:12px;font-weight:400;margin:0}.IS_measure>div{display:flex;flex-direction:column;gap:6px}.IS_measure>div ul li{flex:none;flex-direction:row;gap:6px}.IS_measure>div ul li svg{stroke:#8c8c8c;height:18px;width:18px}.IS_comments{background:hsla(0,0%,100%,.9);border-radius:10px;bottom:-100%;display:flex;flex-direction:column;height:75%;justify-content:space-between;left:8px;margin:0 0 8px;max-height:500px;opacity:1;overflow:hidden;padding:12px 6px 12px 12px;position:absolute;right:8px;transition:bottom .3s ease,opacity .3s ease;z-index:999}.IS_comments.active{bottom:8px}.IS_comments.closing{opacity:0}.IS_comments strong{color:#2a2a2a;font-size:14px;font-weight:600;margin:0}.IS_comments>span{align-items:center;display:flex;justify-content:space-between;margin-bottom:15px;order:0}.IS_comments>span button{align-items:center;background:transparent;border:none;display:flex;justify-content:center;outline:0}.IS_comments>span button svg{stroke:#8c8c8c}.IS_comments .IS_comment_list{align-items:flex-start;display:flex;flex:1;flex-direction:column;gap:20px;justify-content:flex-start;overflow-y:auto;padding-right:6px;scrollbar-color:#f1f4f6;scrollbar-width:auto}.IS_comments .IS_comment_list::-webkit-scrollbar{height:4px;width:4px}.IS_comments .IS_comment_list::-webkit-scrollbar-track{background:#f1f4f6}.IS_comments .IS_comment_list::-webkit-scrollbar-thumb{background-color:#ddd;border:0 solid #fff;border-radius:10px}.IS_comments .IS_comment_list .IS_comment{align-items:flex-start;display:flex;flex-wrap:wrap;gap:10px;opacity:1;transform:translateY(0);width:100%}.IS_comments .IS_comment_list .IS_comment.animate-comment{animation:IS_animate_comment .6s cubic-bezier(.25,.46,.45,.94);transform-origin:top center}.IS_comments .IS_comment_list .IS_comment .IS_comment_replies{align-items:flex-start;display:flex;flex-direction:column;gap:10px;margin-left:40px;margin-top:5px;width:100%}.IS_comments .IS_comment_list .IS_comment>span{align-items:center;background:#efb8c8;border-radius:50%;color:#1a1a1a;display:flex;flex-shrink:0;font-size:13px;font-weight:500;height:30px;justify-content:center;text-transform:uppercase;width:30px}.IS_comments .IS_comment_list .IS_comment .IS_comment_content{align-items:flex-start;display:flex;flex-direction:column;gap:6px;max-width:82%}.IS_comments .IS_comment_list .IS_comment .IS_comment_content .IS_comment_header{align-items:center;display:flex;gap:4px}.IS_comments .IS_comment_list .IS_comment .IS_comment_content .IS_comment_header strong{color:#8c8c8c;font-size:14px;font-weight:500;line-height:12px;margin:0}.IS_comments .IS_comment_list .IS_comment .IS_comment_content .IS_comment_header small{align-items:center;color:silver;display:flex;font-size:11px;gap:4px;line-height:11px;margin:0}.IS_comments .IS_comment_list .IS_comment .IS_comment_content .IS_comment_header small>span svg{fill:#007aff;stroke:transparent;height:17px;width:17px}.IS_comments .IS_comment_list .IS_comment .IS_comment_content .IS_comment_header small>span svg path:last-child{stroke:#fff}.IS_comments .IS_comment_list .IS_comment .IS_comment_content .IS_comment_header small>svg{fill:#f74747;stroke:#f74747;height:12px;width:12px}.IS_comments .IS_comment_list .IS_comment .IS_comment_content .IS_comment_header small b{font-size:12px;font-weight:600;margin:0}.IS_comments .IS_comment_list .IS_comment .IS_comment_content>p{color:#1b1b1b;font-size:14.5px;font-weight:400;line-height:18px;margin:0}.IS_comments .IS_comment_list .IS_comment .IS_comment_likes{align-items:center;cursor:pointer;display:flex;flex-direction:column;gap:8px;justify-content:center;margin-left:auto;transition:all .2s}.IS_comments .IS_comment_list .IS_comment .IS_comment_likes:hover{opacity:.8}.IS_comments .IS_comment_list .IS_comment .IS_comment_likes p{color:#8c8c8c;font-size:12px;font-weight:600;line-height:12px;margin:0}.IS_comments .IS_comment_list .IS_comment .IS_comment_likes svg{stroke:#1b1b1b;fill:transparent;height:16px;width:16px}.IS_comments .IS_comment_list .IS_comment .IS_comment_likes.active svg{stroke:#f74747;fill:#f74747}.IS_comments .IS_comments_empty{align-items:center;display:flex;flex:1;flex-direction:column;gap:5px;justify-content:center;order:1;overflow-y:auto;padding-right:6px;scrollbar-color:#f1f4f6;scrollbar-width:auto}.IS_comments .IS_comments_empty::-webkit-scrollbar{height:4px;width:4px}.IS_comments .IS_comments_empty::-webkit-scrollbar-track{background:#f1f4f6}.IS_comments .IS_comments_empty::-webkit-scrollbar-thumb{background-color:#ddd;border:0 solid #fff;border-radius:10px}.IS_comments .IS_comments_empty p{color:#000;font-size:14px;font-weight:400;line-height:15px;margin:0}.IS_comments .IS_comments_empty svg{stroke:#8c8c8c;fill:transparent;height:78px;max-width:unset;width:78px}.IS_comments .IS_comments_loading{display:flex;flex:1;flex-direction:column;gap:16px;order:1;overflow-y:auto;padding-right:6px;scrollbar-color:#f1f4f6;scrollbar-width:auto}.IS_comments .IS_comments_loading::-webkit-scrollbar{height:4px;width:4px}.IS_comments .IS_comments_loading::-webkit-scrollbar-track{background:#f1f4f6}.IS_comments .IS_comments_loading::-webkit-scrollbar-thumb{background-color:#ddd;border:0 solid #fff;border-radius:10px}.IS_comments .IS_comments_loading .IS_skeleton{align-items:flex-start;display:flex;gap:12px}.IS_comments .IS_comments_loading .IS_skeleton>span{animation:IS_skeleton 2.5s ease-in-out infinite;background:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0 50%,#e0e0e0 75%);background-size:200% 100%;border-radius:50%;height:30px;width:30px}.IS_comments .IS_comments_loading .IS_skeleton>div{display:flex;flex:1;flex-direction:column;gap:6px}.IS_comments .IS_comments_loading .IS_skeleton>div>div{align-items:center;display:flex;justify-content:space-between}.IS_comments .IS_comments_loading .IS_skeleton>div>div>span{animation:IS_skeleton 2.5s ease-in-out infinite;background:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0 50%,#e0e0e0 75%);background-size:200% 100%;border-radius:4px;height:11px;width:20%}.IS_comments .IS_comments_loading .IS_skeleton>div>div>span:last-child{width:30%}.IS_comments .IS_comments_loading .IS_skeleton>div>span{animation:IS_skeleton 2.5s ease-in-out infinite;background:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0 50%,#e0e0e0 75%);background-size:200% 100%;border-radius:4px;height:11px}.IS_comments .IS_comments_loading .IS_skeleton>div>span:first-child{width:40%}.IS_comments .IS_comments_loading .IS_skeleton>div>span:nth-child(2){width:100%}.IS_comments .IS_comments_loading .IS_skeleton>div>span:nth-child(3){width:55%}.IS_comments form{align-items:stretch;border-top:1px solid #f2f2f2;display:flex;gap:6px;justify-content:center;order:2;padding-top:10px}.IS_comments form input{background:hsla(0,0%,100%,.949);border:1.23px solid #e0e0e0;border-radius:61px!important;color:#535353;flex:1;font-size:13px;outline:0;padding:12px}.IS_comments form input::-moz-placeholder{color:#9f9f9f}.IS_comments form input::placeholder{color:#9f9f9f}.IS_comments form input[disabled]{background:#eee;font-size:11px;pointer-events:none}.IS_comments form button{align-items:center;aspect-ratio:1/1;background:var(--is-store_primary,rgba(39,255,177,.8));border:none;border-radius:50%!important;display:flex;flex-shrink:0;height:100%;justify-content:center;outline:0}.IS_comments form button[disabled=true] svg{animation:IS_spin 1s linear infinite;margin-left:0}.IS_comments form button svg{stroke:#1a1a1a;height:21px;margin-left:-4px;width:21px}.IS_campaing{display:flex;flex-direction:column;gap:5px;pointer-events:all;position:relative;width:100%}.IS_campaing .IS_products_slide{align-items:center;display:flex;gap:3px;justify-content:center}.IS_campaing .IS_products_slide>span{align-items:center;background:rgba(27,27,27,.502);border-radius:50%;display:flex;flex-shrink:0;height:8px;justify-content:center;width:8px}.IS_campaing .IS_products_slide>span.active{background:rgba(0,0,0,.8)}.IS_campaing .IS_campaing_main{align-items:stretch;bottom:12px;display:flex;gap:10px;justify-content:flex-start;left:0;overflow:hidden;position:absolute;right:0;touch-action:pan-y;transition:transform .3s ease-out;will-change:transform}.IS_campaing .IS_campaing_main.dragging{cursor:grabbing;scroll-behavior:auto}.IS_campaing .IS_campaing_main.smooth-scroll{scroll-behavior:smooth}.IS_campaing .IS_campaing_main>*{flex-shrink:0;transition:transform .3s ease-out;width:100%}.IS_campaing .IS_campaing_main .IS_campaing_content{background:rgba(0,0,0,.4);overflow:hidden;position:relative}.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=full],.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=link]{border-radius:10.468px;flex:1 90%;flex-shrink:0;padding:12px}.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=link]{display:inline-flex}.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=link] a,.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=link] button{margin-top:auto;width:100%}.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=full]{display:flex;flex-direction:column;gap:10px;width:100%}.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=full]>span{display:flex;flex-direction:column;gap:3px;margin-top:auto}.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=full]>span>p{color:#fff;font-size:10px;font-weight:400;margin:0}.IS_campaing .IS_campaing_main .IS_campaing_content[data-type=full]>span>strong{color:#fff;font-size:14px;font-weight:700;margin:0}.IS_campaing .IS_campaing_main .IS_campaing_content a,.IS_campaing .IS_campaing_main .IS_campaing_content button,.IS_campaing .IS_campaing_main .IS_product a,.IS_campaing .IS_campaing_main .IS_product button{align-items:center;background:var(--is-store_primary,rgba(39,255,177,.8));border:none;border-radius:5px;color:var(--is-store_secondary,#000);display:flex;font-size:13px;font-style:normal;font-weight:500;justify-content:space-between;line-height:100%;outline:0;padding:9px 12px;text-decoration:none;transition:all .2s}.IS_campaing .IS_campaing_main .IS_campaing_content a svg,.IS_campaing .IS_campaing_main .IS_campaing_content button svg,.IS_campaing .IS_campaing_main .IS_product a svg,.IS_campaing .IS_campaing_main .IS_product button svg{stroke:#000;height:20px;width:20px}.IS_campaing .IS_campaing_main .IS_campaing_content a[disabled=true],.IS_campaing .IS_campaing_main .IS_campaing_content button[disabled=true],.IS_campaing .IS_campaing_main .IS_product a[disabled=true],.IS_campaing .IS_campaing_main .IS_product button[disabled=true]{justify-content:center}.IS_campaing .IS_campaing_main .IS_campaing_content a[disabled=true] svg,.IS_campaing .IS_campaing_main .IS_campaing_content button[disabled=true] svg,.IS_campaing .IS_campaing_main .IS_product a[disabled=true] svg,.IS_campaing .IS_campaing_main .IS_product button[disabled=true] svg{animation:IS_spin 1s linear infinite}.IS_campaing .IS_campaing_main .IS_campaing_content a:hover,.IS_campaing .IS_campaing_main .IS_campaing_content button:hover,.IS_campaing .IS_campaing_main .IS_product a:hover,.IS_campaing .IS_campaing_main .IS_product button:hover{opacity:.8}.IS_campaing .IS_campaing_main .IS_campaing_backdrop{backdrop-filter:blur(5.1px);background:rgba(0,0,0,.4);bottom:0;display:flex;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:-1}.IS_campaing .IS_campaing_main .IS_product_item{background:rgba(0,0,0,.4);border-radius:10.468px;flex:1 90%;flex-shrink:0;overflow:hidden;padding:12px;position:relative}.IS_campaing .IS_campaing_main .IS_product_item .IS_product{display:flex;flex-direction:column;gap:18px}.IS_campaing .IS_campaing_main .IS_product_item .IS_product>span{align-items:center;display:flex;gap:11px}.IS_campaing .IS_campaing_main .IS_product_item .IS_product>span>span{align-items:center;background:#eee;border-radius:6px;color:#747474;display:flex;flex-shrink:0;font-size:18px;font-weight:500;height:65px;justify-content:center;overflow:hidden;pointer-events:none;position:relative;text-transform:uppercase;width:65px}.IS_campaing .IS_campaing_main .IS_product_item .IS_product>span>span img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;pointer-events:none;position:absolute;right:0;top:0;width:100%}.IS_campaing .IS_campaing_main .IS_product_item .IS_product>span>div{display:flex;flex-direction:column;gap:9px}.IS_campaing .IS_campaing_main .IS_product_item .IS_product>span>div>p{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:108%;margin:0;overflow:hidden;text-overflow:ellipsis}.IS_campaing .IS_campaing_main .IS_product_item .IS_product>span>div>strong{align-items:center;color:#fff;display:inline-flex;font-size:16px;font-style:normal;font-weight:700;gap:7px;line-height:100%;margin:0}.IS_campaing .IS_campaing_main .IS_product_item .IS_product>span>div>strong span{color:silver;font-size:11px;font-weight:500;text-decoration:line-through!important}@media (max-width:566px){.IS_products_items{overflow-x:auto!important}}.IS_progress{align-items:flex-start;background:rgba(0,0,0,.38);cursor:pointer;display:flex;height:6px;position:relative;width:100%;z-index:100}.IS_progress>span{align-items:center;background:var(--is-store_primary,rgba(39,255,177,.8));display:flex;height:6px;transition:width .1s linear;width:0}.IS_progress .time-display{align-items:center;bottom:35px;color:#fff;display:inline-flex;font-size:19px;gap:12px;justify-content:center;left:0;pointer-events:none;position:absolute;right:0;text-align:center}.IS_progress .time-display p,.IS_progress .time-display strong{color:#fff;font-size:27px;font-weight:500;margin:0}.IS_progress .time-display p{color:#f7f7f7}.IS_pause{align-items:center;bottom:0;display:none;justify-content:center;left:0;opacity:.5;pointer-events:none;position:absolute;right:0;top:0;z-index:2}.IS_pause.active{display:flex}.IS_feedback{align-items:center;backdrop-filter:blur(33.2307701111px);background:rgba(0,0,0,.502);bottom:0;display:flex;flex-direction:column;gap:38px;justify-content:center;left:0;padding:16px;position:absolute;right:0;top:0;z-index:101}.IS_feedback>*{max-width:400px}.IS_feedback.selected span button{background:#25d366;color:#fff}.IS_feedback>div{align-items:center;display:flex;flex-direction:column;gap:10px;justify-content:center}.IS_feedback>div svg{fill:transparent;stroke:#fff;margin-bottom:5px}.IS_feedback>div strong{color:#fff;font-size:20px;font-weight:500;line-height:21px;margin:0;text-align:center}.IS_feedback>div p{color:#fff;font-size:12px;font-weight:400;line-height:13px;margin:0;text-align:center}.IS_feedback>ul{align-items:flex-start;display:flex;flex-direction:column;gap:10px;list-style:none;margin-bottom:0;margin-left:0;padding-left:0;width:100%}.IS_feedback>ul li{align-items:center;background:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.2);border-radius:10px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:400;gap:22px;line-height:15px;padding:10px;text-align:left;width:100%}.IS_feedback>ul li span{align-items:center;background:hsla(0,0%,100%,.8);border-radius:50%;display:flex;height:20px;justify-content:center;width:20px}.IS_feedback>ul li span svg{stroke:hsla(0,0%,100%,.8)}.IS_feedback>ul li.active{background:var(--primary-20,rgba(37,211,102,.2));border-color:#25d366}.IS_feedback>ul li.active span{background:#25d366;border-color:#25d366}.IS_feedback>span{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.IS_feedback>span textarea{background:transparent;border:1px solid #848484;border-radius:10px!important;color:#e0e0e0;font-size:13px;outline:0;padding:12px;resize:none;width:100%}.IS_feedback>span textarea::-moz-placeholder{color:#e0e0e0}.IS_feedback>span textarea::placeholder{color:#e0e0e0}.IS_feedback>span button{align-items:center;background:hsla(0,0%,100%,.8)!important;border:none!important;border-radius:5px!important;color:#000!important;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;outline:0;padding:8px;transition:all .2s!important;width:100%}.IS_feedback>span button[disabled=true] svg{animation:IS_spin 1s linear infinite}.IS_feedback>span button:last-child{background:transparent!important;color:#fff!important;margin-top:5px;padding:5px}.IS_feedback>span button:last-child:hover{background:hsla(0,0%,100%,.2)!important}.IS_poster{bottom:0;display:none;flex-direction:column;gap:10px;left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:9}.IS_poster,.IS_poster>span{align-items:center;justify-content:center}.IS_poster>span{aspect-ratio:1/1;background:#fff;border:2px solid var(--is-store_primary,rgba(39,255,177,.8));border-radius:50%;color:#000;display:flex;font-size:19px;font-weight:500;line-height:normal;overflow:hidden;position:relative;width:clamp(51px,7vw,70px)}.IS_poster>span img{bottom:0;height:100%;left:0;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;width:100%}.IS_poster strong{color:#fff;font-size:14px;font-weight:700;line-height:16px;margin:0;max-width:70%;text-align:center}@media (max-width:576px){.IS_video{aspect-ratio:0;border-radius:0;height:100%!important;left:0;max-width:unset;top:0;transform:translateY(100%);width:100%!important;will-change:transform}.IS_overlay{z-index:1000001}.IS_overlay.only_feed .IS_poster{display:none}}.IS_feed_actions{align-items:flex-start;bottom:0;display:none;justify-content:space-between;left:0;margin:0 auto;max-width:97%;position:absolute;right:0;top:2.5%;width:100%;z-index:1}.IS_feed_actions span img{max-width:140px;width:100%}.IS_feed_actions button{align-items:center;background:transparent;border:none;display:flex;justify-content:center;outline:0}.IS_feed_actions button svg{height:25px;width:25px}@media (max-width:900px){.IS_feed_actions{display:none!important}}@keyframes IS_spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes IS_text_rotate{0%{transform:scale(1.5) rotate(0deg)}to{transform:scale(1.5) rotate(1turn)}}@keyframes IS_skeleton{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes IS_animate_comment{0%{opacity:0;transform:translateY(20px)}60%{opacity:1;transform:translateY(0)}to{opacity:1;transform:translateY(0)}}@keyframes IS_pulse_ring{0%{filter:blur(2px);opacity:.4;transform:scale(1.1)}20%{filter:blur(4px);opacity:.3;transform:scale(1.2)}40%{filter:blur(6px);opacity:.1;transform:scale(1.4)}70%{filter:blur(8px);opacity:0;transform:scale(1.5)}to{filter:blur(8px);opacity:0;transform:scale(1.5)}} `;document.head.appendChild(style);})();/*! For license information please see bundle.js.LICENSE.txt */ (()=>{var t;(()=>{function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function e(e){for(var r=1;r=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),w}},e}function o(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function c(t){o(a,r,i,c,l,"next",t)}function l(t){o(a,r,i,c,l,"throw",t)}c(void 0)}))}}function a(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return u(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n1&&void 0!==arguments[1]?arguments[1]:null;return Array.isArray(t)||"object"===d(t)?Object.entries(t).reduce((function(n,r){var o=c(r,2),i=o[0],a=o[1];if(n)return n;var l=Array.isArray(t)?a:i,u=document.querySelector(l);return u?Array.isArray(t)&&e?{container:u,position:e}:"object"===d(t)?{container:u,position:a}:{container:u}:null}),null):null},window.IS_feed_active=function(){var t,e=(null===(t=window)||void 0===t?void 0:t.IS_custom("feed"))||{},n=e.show,r=void 0!==n&&n,o=e.only,i=void 0===o?"all":o,a=e.pages,c=void 0===a?[]:a;if(!r)return!1;var l=window.IS_current_page(),u=location.pathname.replace(/\/+$/,""),d={all:!0,product:"product"===l,home:"home"===l,selecteds:c.some((function(t){var e=String(t||""),n=null!=e&&e.startsWith("http")?new URL(e).pathname:e;return(null==n?void 0:n.replace(/\/+$/,""))===u}))};return!(null==d||!d[i])},window.IS_current_page=function(){var t,e,n={home:""===location.pathname.replace(/\/+$/,""),product:null===(t=window)||void 0===t||null===(e=t.IS_page_product)||void 0===e?void 0:e.call(t)};return Object.keys(n).filter((function(t){var e;return null===(e=window)||void 0===e?void 0:e.IS_custom("widget.".concat(t))})).find((function(t){return n[t]}))||"others"},window.IS_custom=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=function t(e,n){for(var r in n)n[r]&&"object"===d(n[r])&&!Array.isArray(n[r])?e[r]=t(e[r]||{},n[r]):r in e||(e[r]=n[r]);return e}("string"==typeof window.IS_DATA?JSON.parse(window.IS_DATA):window.IS_DATA||{},structuredClone({widget:{others:{primary:"#27FFB1CC",secondary:"#000000",x:"10",y:"25",model:"circular",size:1,fixed:!1,close:!1,random:!1},product:{primary:"#27FFB1CC",secondary:"#000000",x:"10",y:"25",model:"circular",size:1,fixed:!1,close:!1,random:!1}},carousel:{where:"footer",title:"Descubra cada detalhe em vídeo"},stories:{where:"product",title:"Descubra cada detalhe em vídeo"},feed:{show:!1,caption:"For You"},video:{like_count:!0,comment_count:!1,comment_approve:!1,feedback:!0,discount:0,whatsapp:{show:!1,number:null,message:"Olá, tenho algumas dúvidas, poderia me ajudar?"}},store:{name:"",logo:null,primary:"#27FFB1CC",secondary:"#000000"}}));return t.split(".").reduce((function(t,e){return null==t?void 0:t[e]}),e)},window.IS_send_event=function(t,e){var n,r=a(document.scripts).flatMap((function(t){return t.innerText.match(/G-[\w\d]+/g)||[]}));"function"==typeof window.gtag&&null!=r&&r.length&&window.gtag("event","ishortsView",{video_provider:"iShorts",video_url:e,ishortViewId:t,user_properties:{ishortUuid:null===(n=window)||void 0===n?void 0:n.IS_ref()},send_to:r})},window.IS_icon=function(t){var e='',n='',r={sound:"".concat(e,''),sound_off:"".concat(e,''),close:"".concat(e,''),love:'',comment:"".concat(n,''),whatsapp:"".concat(n,''),measure:"".concat(n,''),share:"".concat(n,''),play:'',cart:"".concat(e,''),right:"".concat(e,''),close_circle:"".concat(e,''),shoes:"".concat(e,''),shirt:"".concat(e,''),feedback:'',check:"".concat(e,''),loading:"".concat(e,''),send:"".concat(e,''),empty:'',heart:"".concat(e,''),checked:"".concat(e,''),play_circle:"".concat(e,'')};return(null==r?void 0:r[t])||""},window.IS_component_close=function(t){if("string"==typeof t&&(t=document.getElementById(t)),t){var e=document.querySelector("#IS_overlay .IS_video.active #IS_interaction");t.classList.add("closing"),setTimeout((function(){var n;t.classList.remove("active"),e&&(e.style.display="flex"),null===(n=t)||void 0===n||n.remove()}),200)}},window.IS_muted=function(){return"true"===localStorage.getItem("@ishorts:mute")},window.IS_customer=function(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("get"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"get")){var e=localStorage.getItem("@ishorts:customer");return e?JSON.parse(e||"{}"):{}}localStorage.setItem("@ishorts:customer",JSON.stringify(t))},window.IS_customer_color=function(t){var e=123456*((null==t?void 0:t.charCodeAt(0))||0);return"#".concat((14211288+(16777215&e)).toString(16).slice(-6))},window.IS_date_format=function(t){if(!t)return"";var e=new Date,n=new Date(t),r=Math.floor((e-n)/1e3);return r<60?"".concat(r,"s"):r<3600?"".concat(Math.floor(r/60),"min"):r<86400?"".concat(Math.floor(r/3600),"h"):r<604800?"".concat(Math.floor(r/86400),"d"):"".concat(Math.floor(r/604800),"sem")},window.IS_feedback_available=function(t){var e=Date.now();if("get"===t){var n=localStorage.getItem("@ishorts:feedback");return!!n&&parseInt(n,10)>e}var r=e+5184e6;return localStorage.setItem("@ishorts:feedback",r),!0},window.IS_currentVideo=null,window.IS_play_video=function(){var t=i(r().mark((function t(e){var n,o,i,a,c,l=arguments;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=!(l.length>1&&void 0!==l[1])||l[1],e instanceof HTMLVideoElement){t.next=3;break}return t.abrupt("return",Promise.reject(new Error("Vídeo inválido.")));case 3:if(window.IS_currentVideo=e,document.querySelectorAll("#IS_overlay video").forEach((function(t){t!==e&&(t.pause(),t.classList.remove("play"))})),"auto"!==e.preload&&(e.preload="auto"),e.readyState<2&&e.load(),a&&(e.currentTime=0),e.muted=null!==(n=null===(o=window)||void 0===o||null===(i=o.IS_muted)||void 0===i?void 0:i.call(o))&&void 0!==n&&n,c=function(){var t,n,r,o,i,a;if(e===window.IS_currentVideo){null===(t=window)||void 0===t||null===(n=t.IS_pause_change)||void 0===n||n.call(t,!1),e.ontimeupdate=function(){var t,e;return null===(t=window)||void 0===t||null===(e=t.IS_times)||void 0===e?void 0:e.call(t)},e.onended=function(){var t,e;return null===(t=window)||void 0===t||null===(e=t.IS_timeline_item)||void 0===e?void 0:e.call(t,"next",!0)};var c,l,u=(e.dataset||{}).ishort,d=null===(r=window)||void 0===r||null===(o=r.IS_ishort_items)||void 0===o?void 0:o.find((function(t){return t.id==u}));if(d)null===(c=window)||void 0===c||c.IS_interaction_ishort(d),null===(l=window)||void 0===l||l.IS_measure(null==d?void 0:d.measure,!0);null===(i=(a=window).IS_debounce)||void 0===i||i.call(a,(function(){var t;return null===(t=IS_request)||void 0===t?void 0:t("analytics",{id_ishort:String(u),action:"view"})}),"analytics_".concat(u),3e4)}},e.classList.add("play"),t.prev=12,!(e.readyState>=2)){t.next=19;break}return t.next=16,e.play();case 16:e===window.IS_currentVideo&&c(),t.next=21;break;case 19:return t.next=21,new Promise((function(t){e.addEventListener("canplay",(function n(){e===window.IS_currentVideo?e.play().then((function(){c(),t()})).catch((function(e){"AbortError"!==e.name&&console.warn("Erro ao dar play no vídeo:",e),t()})):t(),e.removeEventListener("canplay",n)}),{once:!0})}));case 21:t.next=26;break;case 23:t.prev=23,t.t0=t.catch(12),"AbortError"!==t.t0.name&&console.warn("Erro ao tentar dar play no vídeo:",t.t0);case 26:case"end":return t.stop()}}),t,null,[[12,23]])})));return function(e){return t.apply(this,arguments)}}(),window.IS_request=i(r().mark((function t(){var n,o,i,a,c,l,u,d,s,v,f,h=arguments;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=h.length>0&&void 0!==h[0]?h[0]:"",o=h.length>1&&void 0!==h[1]?h[1]:{},i=window.IS_request_config()){t.next=5;break}return t.abrupt("return",null);case 5:return a="@ishorts:token",c=function(){return localStorage.getItem(a)||""},l=function(t){var e=t.headers.get("Authorization");e&&e.startsWith("Bearer ")&&localStorage.setItem(a,e.slice(7))},u=function(){var t,e;return{"Content-Type":"application/json","x-is-ref":String((null===(t=window)||void 0===t||null===(e=t.IS_ref)||void 0===e?void 0:e.call(t))||"")}},d=function(t){var n=c();return n?e(e({},t),{},{Authorization:"Bearer ".concat(n)}):t},s=function(t){return fetch("".concat(window.IS_URL).concat(n),{method:"POST",headers:t,body:JSON.stringify(e(e({location:window.location.origin+window.location.pathname},i||{}),o))})},t.prev=11,t.next=14,s(d(u()));case 14:if(401!==(v=t.sent).status||!c()){t.next=20;break}return localStorage.removeItem(a),t.next=19,s(u());case 19:v=t.sent;case 20:if(v.ok){t.next=22;break}return t.abrupt("return",null);case 22:return l(v),t.next=25,v.json().catch((function(){return null}));case 25:return f=t.sent,t.abrupt("return",f&&!f.error?f:null);case 29:return t.prev=29,t.t0=t.catch(11),t.abrupt("return",null);case 32:case"end":return t.stop()}}),t,null,[[11,29]])}))),window.IS_widget_request=function(){var t=i(r().mark((function t(n){var o,i,a,c,l,u;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return c=(null===(o=window)||void 0===o?void 0:o.IS_custom("video"))||{},l={likes:!(null==c||!c.like_count),comments:!(null==c||!c.comment_count),measure:!(null==c||!c.measure_count),share:!(null==c||!c.share_count),whatsapp:!(null==c||!c.whatsapp.count)},t.next=4,IS_request("show",e({fields:Object.keys(l).filter((function(t){return l[t]})),feed:(null===(i=window)||void 0===i||null===(a=i.IS_feed_active)||void 0===a?void 0:a.call(i))||!1},n));case 4:return u=t.sent,t.abrupt("return",u);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),window.IS_debounce=function(t,e,n){window._IS_debounce||(window._IS_debounce={});var r=Date.now();r-(window._IS_debounce[e]||0)0&&void 0!==arguments[0]&&arguments[0],r=document.querySelectorAll("#IS_overlay video.play");null!=r&&r.length&&(null===(t=window)||void 0===t||t.IS_progress_change(n),null===(e=window)||void 0===e||e.IS_timeline_change(n))},window.IS_price=function(t){var e,n,r;return t?"function"==typeof(null===(e=window)||void 0===e?void 0:e.IS_original_price)?null===(n=window)||void 0===n||null===(r=n.IS_original_price)||void 0===r?void 0:r.call(n,t):new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(t):"Grátis"},window.IS_ref=function(){var t=document.querySelector('script[src*="cdn.ishorts"][src*="/stores"]'),e=t?t.src:null,n=e?e.match(/\/stores\/(\d+)\//):null;return n?null==n?void 0:n[1]:2},function(t,e,n,r,o,i,a,l){var u=null===(t=window)||void 0===t?void 0:t.IS_custom("widget"),d=null===(e=window)||void 0===e?void 0:e.IS_custom("store"),s=null===(n=window)||void 0===n?void 0:n.IS_custom("stories"),v=(null===(r=window)||void 0===r||null===(o=r.IS_current_page)||void 0===o?void 0:o.call(r))||"others",f={widget_primary:(null==u||null===(i=u[v])||void 0===i?void 0:i.primary)||"#27FFB1CC",widget_secondary:(null==u||null===(a=u[v])||void 0===a?void 0:a.secondary)||"#000000",widget_fixed:null!=u&&null!==(l=u[v])&&void 0!==l&&l.fixed?"absolute":"fixed",store_primary:(null==d?void 0:d.primary)||"#27FFB1CC",store_secondary:(null==d?void 0:d.secondary)||"#000000",stories_primary:(null==s?void 0:s.primary)||"#27FFB1CC",stories_secondary:(null==s?void 0:s.secondary)||"#000000"};function h(t){var e,n,r,o=document.querySelector(".IS_video.active");o=Number(null===(e=o)||void 0===e||null===(n=e.dataset)||void 0===n?void 0:n.item)||0;var i="next"===t?o+1:o-1;document.querySelector('#IS_overlay .IS_video[data-item="'.concat(i,'"]'))&&(null===(r=window)||void 0===r||r.IS_timeline_item(t,!1,i))}Object.entries(f).forEach((function(t){var e=c(t,2),n=e[0],r=e[1];return document.documentElement.style.setProperty("--is-".concat(n),r)}));var p={Escape:function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_ishort_close()},ArrowUp:function(){return h("previous")},ArrowDown:function(){return h("next")},ArrowLeft:function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_timeline_item("previous")},ArrowRight:function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_timeline_item("next")}," ":function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_pause_change()}};document.addEventListener("keyup",(function(t){var e;document.querySelector("#IS_overlay.active")&&(" "===t.key&&t.preventDefault(),null==p||null===(e=p[t.key])||void 0===e||e.call(p))})),console.log("%cishorts.com.br%c Vídeo Commerce","background: linear-gradient(90deg, #D0FF78, #B8E65D); color: #000000; font-size: 11px; font-weight: bold; padding: 3px 6px; margin: 0; border-top-left-radius: 4px; border-bottom-left-radius: 4px;","background: #FFFFFF; color: #000000; font-size: 11px; font-weight: bold; padding: 3px 4px; margin: 0; border-top-right-radius: 4px; border-bottom-right-radius: 4px;")}()})(),window.IS_platform_product_buy_selector={"#product_form .form-row:has([data-component='product.add-to-cart'])":"beforeend","#product_form .form-row:has(.js-addtocart)":"beforeend","#product_form div:has([data-store='product-buy-button'])":"beforeend","#product-shipping-container[data-shipping-url]":"afterbegin",".js-added-to-cart-product-message":"beforebegin",'[data-store="product-buy-button"]':"afterend",".js-prod-submit-form":"afterend","#product_form":"afterend",".js-product-buy-container":"beforeend"},window.IS_platform_page=function(t){var e,n=((null===(e=window)||void 0===e?void 0:e.location)||"").origin;return"".concat(n,"/produtos/").concat(t)},window.IS_page_product=function(){var t,e;return"product"==((null===(t=window)||void 0===t||null===(e=t.LS)||void 0===e?void 0:e.template)||"product")},window.IS_platform_customer=function(){var t=(window.LS||{}).customer;return{id_customer:String(t||"")}},window.IS_request_config=function(){var t,e,n=window.LS||{},r=n.store,o=n.product;return{id_store:String(null==r?void 0:r.id)||"",id_product:String(null==o?void 0:o.id)||"",platform:"nuvemshop",customer:(null===(t=window)||void 0===t||null===(e=t.IS_platform_customer)||void 0===e?void 0:e.call(t))||{}}},(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function n(t){for(var n=1;n=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),w}},n}function i(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function c(t){i(a,r,o,c,l,"next",t)}function l(t){i(a,r,o,c,l,"throw",t)}c(void 0)}))}}window.IS_campaing_drag=function(t){var e=Array.from(t.children),n=!1,r=0,o=0,i="ontouchstart"in window||navigator.maxTouchPoints>0,a={start:i?"touchstart":"mousedown",move:i?"touchmove":"mousemove",end:i?"touchend":"mouseup"};function c(t){return i?t.touches[0].clientX:t.clientX}t.addEventListener(a.start,(function(e){n=!0,r=c(e),o=t.scrollLeft,document.body.style.userSelect="none",t.classList.add("dragging")})),t.addEventListener(a.move,(function(e){if(n){var i=c(e)-r;t.scrollLeft=o-i}})),t.addEventListener(a.end,(function(){var r;if(n){n=!1;var i=t.scrollLeft-o,a=e[0].offsetWidth,c=a/4,l=Math.round(t.scrollLeft/a);Math.abs(i)>c&&(i>0?l+=1:l-=1),l=Math.max(0,Math.min(l,e.length-1)),null===(r=window)||void 0===r||r.IS_campaing_go_item(l),document.body.style.userSelect="",t.classList.remove("dragging")}})),t.addEventListener("mouseleave",(function(){n=!1,document.body.style.userSelect=""}))},window.IS_campaing_go_item=function(t){var e,n=document.querySelector(".IS_video.active #IS_campaing_main"),r=document.querySelectorAll(".IS_video.active #IS_products_slide span"),o=Array.from(n.children)[0].offsetWidth;n.classList.add("smooth-scroll"),n.scrollLeft=t*o,null===(e=Array.from(r))||void 0===e||e.forEach((function(e,n){var r;return null===(r=e.classList)||void 0===r?void 0:r[n===t?"add":"remove"]("active")})),setTimeout((function(){return n.classList.remove("smooth-scroll")}),300)},window.IS_campaing_products=function(t,e){var n,r,i,c,l,u,d,s=t||{},v=s.image,f=s.name,h=s.price,p=s.promotional_price,m=s.handle,y=document.createElement("div");y.classList.add("IS_product_item"),y.id="IS_product_item";var w=h>0?null===(n=window)||void 0===n?void 0:n.IS_price(h):"",g=Number(p)&&Number(p)>0&&Number(p)\n \n \n \n ').concat(S,"\n \n
\n

").concat(f||"-","

\n \n ").concat(g?"".concat(g," ").concat(w,""):w,"\n \n
\n
\n ");var b=document.createElement("button");return b.innerHTML="Saiba mais ".concat(window.IS_icon("right")),b.onclick=a(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(_){e.next=2;break}return e.abrupt("return");case 2:return b.innerHTML=window.IS_icon("loading"),b.setAttribute("disabled",!0),e.next=6,null===(n=IS_request)||void 0===n?void 0:n("analytics",{id_ishort:String(null==t?void 0:t.id_ishort),action:"learn_more"});case 6:window.location.href=_;case 7:case"end":return e.stop()}}),e)}))),null==y||null===(d=y.querySelector("#IS_product"))||void 0===d||d.appendChild(b),y},window.IS_campaing_content=function(t){var e,n=(t||{}).campaing,r=(null==n?void 0:n.type)||"",i=document.createElement("div");i.classList.add("IS_campaing_content"),i.id="IS_campaing_content",i.setAttribute("data-type",r);var c={link:function(){var t=document.createElement("button");return t.innerHTML="\n ".concat((null==n?void 0:n.button)||"Saiba Mais","\n ").concat(window.IS_icon("right")),t.onclick=function(){null!=n&&n.link&&(window.location.href=n.link)},t},full:function(){var e=document.createElement("button");e.innerHTML="\n ".concat((null==n?void 0:n.button)||"Saiba Mais","\n ").concat(window.IS_icon("right")),e.onclick=a(o().mark((function r(){var i;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null!=n&&n.link){r.next=2;break}return r.abrupt("return");case 2:return e.innerHTML=window.IS_icon("loading"),e.setAttribute("disabled",!0),r.next=6,null===(i=IS_request)||void 0===i?void 0:i("analytics",{id_ishort:String(null==t?void 0:t.id),action:"learn_more"});case 6:window.location.href=n.link;case 7:case"end":return r.stop()}}),r)})));var r=document.createElement("span");return r.innerHTML="\n ".concat(null!=n&&n.content?"

".concat(n.content,"

"):"","\n ").concat(null!=n&&n.text?"".concat(n.text,""):"","\n "),[r,e]}},l=null==c||null===(e=c[r])||void 0===e?void 0:e.call(c);return l&&(Array.isArray(l)?l.forEach((function(t){return i.appendChild(t)})):i.appendChild(l)),i},window.IS_campaing=function(){var t,e,r,o,i,a,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=document.createElement("div");l.classList.add("IS_campaing"),l.id="IS_campaing";var u=(null==c||null===(t=c.products)||void 0===t?void 0:t.length)||0;null!=c&&null!==(e=c.campaing)&&void 0!==e&&e.type&&"video"==c.campaing.type&&(u=1);var d=document.createElement("div");d.classList.add("IS_campaing_main"),d.id="IS_campaing_main",u.length>1&&d.classList.add("IS_campaing_opacity");var s={campaing:null===(r=window)||void 0===r?void 0:r.IS_campaing_content,products:null===(o=window)||void 0===o?void 0:o.IS_campaing_products},v=null==s?void 0:s[null==c?void 0:c.type],f=(null==c||null===(i=c.campaing)||void 0===i?void 0:i.type)||"";if(v){var h;if("products"===c.type&&Array.isArray(c.products))null==c||null===(h=c.products)||void 0===h||h.forEach((function(t,e){d.appendChild(v(n(n({},t),{},{index:e,id_ishort:null==c?void 0:c.id})))}));else if("campaing"===c.type&&"video"!=f){var p=v(c);d.appendChild(p)}if(l.appendChild(d),u.length>1){var m,y,w=document.createElement("div");w.classList.add("IS_products_slide"),w.id="IS_products_slide",w.innerHTML=null===(m=u)||void 0===m||null===(y=m.map((function(t,e){return"')})))||void 0===y?void 0:y.join(""),l.appendChild(w)}return null===(a=window)||void 0===a||a.IS_campaing_drag(d),l}}})(),(t=window).ISCarousel||(t.ISCarousel={create:function(t,e){var n=e.classRoot||"IS_carousel",r=e.root,o=r.querySelector("."+n+"__viewport"),i=r.querySelector("."+n+"__track");if(!t.length||!o||!i)return{destroy:function(){}};for(var a=t.length,c=0;c=w&&t=0&&S=0&&S=0&&g!==t&&B(g);var n=m[t];if(n){G(t);var r=n.querySelector("video");if(r){r.muted=!0,r.playsInline=!0;try{r.currentTime=0}catch(t){}var o=0;if(r.readyState>=2?c():r.addEventListener("canplay",c,{once:!0}),e.autoAdvanceOnEnd){var i=function(){a||I||(a=!0,V(S+1,400))},a=!1;r.addEventListener("ended",i,{once:!0}),r.addEventListener("timeupdate",(function t(){a?r.removeEventListener("timeupdate",t):isFinite(r.duration)&&r.duration>0&&r.currentTime>=r.duration-.15&&(r.removeEventListener("timeupdate",t),i())}))}}}}function c(){if(!(++o>4)){var t=r.play&&r.play();t&&t.catch&&t.catch((function(){setTimeout(c,120)}))}}}function V(t,e){t=P(t),e=e||360;var n=q(t),r=_,o=performance.now();cancelAnimationFrame(b),H(t),function t(){var i=Math.min((performance.now()-o)/e,1);T(r+(n-r)*(1-Math.pow(1-i,3))),i<1?b=requestAnimationFrame(t):(N(),D(F()))}()}function Y(t){if(I&&!e.disableSlide){var n=t.clientX;Math.abs(n-E)>Math.abs(t.clientY-x)&&Math.abs(n-E)>5&&t.preventDefault(),M||(M=requestAnimationFrame((function(){if(M=0,L||!(Math.abs(n-E)<6)){if(!L&&(L=!0,r.classList.add("is-dragging"),g>=0)){var t=m[g]&&m[g].querySelector("video");if(t)try{t.pause()}catch(t){}}var e=performance.now(),o=e-k;o>0&&(A=(n-j)/o),j=n,k=e,T(C+(n-E)),N(),H(F())}})))}}function X(t){if(I)if(I=!1,r.classList.remove("is-dragging"),M&&(cancelAnimationFrame(M),M=0),N(),L){var n=F();Math.abs(A)>.08?V(P(A>0?n-1:n+1),300):V(n,300)}else if(Math.hypot(t.clientX-E,t.clientY-x)<10&&Date.now()-O<350){for(var o=t.clientX,i=0,a=1e9,c=0;c=0){var n=m[g]&&m[g].querySelector("video");if(n)try{n.pause()}catch(t){}}}else D(S)}return window.addEventListener("resize",W,{passive:!0}),document.addEventListener("visibilitychange",R),{root:r,next:function(){V(F()+1,320)},prev:function(){V(F()-1,320)},destroy:function(){cancelAnimationFrame(b),window.removeEventListener("pointermove",Y),window.removeEventListener("pointerup",X),window.removeEventListener("pointercancel",X),window.removeEventListener("resize",W),document.removeEventListener("visibilitychange",R),r.remove()}}}}),(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function v(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new M(r||[]);return a(i,"_invoke",{value:O(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=v;var h="suspendedStart",p="suspendedYield",m="executing",y="completed",w={};function g(){}function _(){}function S(){}var b={};s(b,l,(function(){return this}));var I=Object.getPrototypeOf,L=I&&I(I(T([])));L&&L!==o&&i.call(L,l)&&(b=L);var E=S.prototype=g.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(e,n){function r(o,a,c,l){var u=f(e[o],e,a);if("throw"!==u.type){var d=u.arg,s=d.value;return s&&"object"==t(s)&&i.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(s).then((function(t){d.value=t,c(d)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=j(c,r);if(l){if(l===w)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=f(t,e,r);if("normal"===u.type){if(o=r.done?y:p,u.arg===w)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=f(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),w}},r}function n(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,l,"next",t)}function l(t){n(a,o,i,c,l,"throw",t)}c(void 0)}))}}window.IS_comments_empty=function(){var t,e=document.createElement("div");return e.classList.add("IS_comments_empty"),e.id="IS_comments_empty",e.innerHTML="\n ".concat(null===(t=window)||void 0===t?void 0:t.IS_icon("empty"),"\n

Seja o primeiro a comentar!

"),e},window.IS_comment_render=function(t,e){var n,r,o,i,a,c=document.createElement("div");c.classList.add("IS_comment");var l,u=(null===(n=window)||void 0===n?void 0:n.IS_custom("store"))||{},d=(null==e?void 0:e.user_liked)||!1,s=(null==e||null===(r=e.name)||void 0===r?void 0:r[0])||"-",v=(null==e?void 0:e.replies)&&e.replies.length>0,f=null===(o=window)||void 0===o?void 0:o.IS_date_format((null==e?void 0:e.created_at)||""),h=null===(i=window)||void 0===i?void 0:i.IS_customer_color(s),p=f,m=e.name;if(null!=e&&e.is_author)m=(null==u?void 0:u.name)||e.name||"",p="\n ".concat(null===(l=window)||void 0===l?void 0:l.IS_icon("checked")," ").concat(f," - Loja\n ");else if(null!=e&&e.author_like){var y;p="".concat(f," - ").concat(null===(y=window)||void 0===y?void 0:y.IS_icon("heart")," Pela Loja")}c.innerHTML='\n ').concat(s,'\n
\n
\n ').concat(m,"\n ").concat(p,"\n
\n

").concat(e.content,"

\n
\n ");var w=document.createElement("div");if(w.classList.add("IS_comment_likes"),d&&w.classList.add("active"),w.innerHTML="\n ".concat(null===(a=window)||void 0===a?void 0:a.IS_icon("heart"),"\n ").concat(null!=e&&e.likes?"

".concat(null==e?void 0:e.likes,"

"):"

","\n "),w.onclick=function(){var n,r,o,i=null==w||null===(n=w.classList)||void 0===n?void 0:n.contains("active");null===(r=w.classList)||void 0===r||null===(o=r[i?"remove":"add"])||void 0===o||o.call(r,"active");var a=w.querySelector("p"),c=parseInt(a.textContent,10)||0;a.textContent=i?c<=1?"":c-1:c+1||1,IS_request("comments/like",{id_ishort:String(t),id_comment:String(null==e?void 0:e.id)})},c.appendChild(w),v){var g,_=document.createElement("div");_.classList.add("IS_comment_replies"),null==e||null===(g=e.replies)||void 0===g||g.forEach((function(e){var n;return _.appendChild(null===(n=window)||void 0===n?void 0:n.IS_comment_render(t,e))})),c.appendChild(_)}return c},window.IS_comments_items=function(t,e){var n,r,o=document.createElement("div");return o.classList.add("IS_comment_list"),o.id="IS_comment_list",Array.isArray(e)?(null===(r=e=null===(n=e)||void 0===n?void 0:n.sort((function(t,e){var n=parseInt(e.likes,10)-parseInt(t.likes,10);if(0!==n)return n;var r=(1==e.author_like)-(1==t.author_like);return 0!==r?r:new Date(e.created_at)-new Date(t.created_at)})))||void 0===r||r.forEach((function(e){var n,r=null===(n=window)||void 0===n?void 0:n.IS_comment_render(t,e);o.appendChild(r)})),o):o},window.IS_comments_send=function(t){var n,o,i,a=((null===(n=window)||void 0===n||null===(o=n.IS_platform_customer)||void 0===o?void 0:o.call(n))||{}).id_customer,c=document.createElement("form");c.id="IS_comment_send",c.classList.add("IS_comment_send");var l=document.createElement("input");if(l.required=!0,!a)return l.disabled=!0,l.placeholder="Você precisa acessar sua conta para comentar.",c.appendChild(l),c;l.placeholder="Deixe seu comentário sobre esse produto.";var u=document.createElement("button");function d(t){return s.apply(this,arguments)}function s(){return(s=r(e().mark((function n(r){var o,i,a;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=null,e.prev=1,e.next=4,IS_request("comments/send",{id_ishort:t,content:r});case 4:a=e.sent,null===(i=window)||void 0===i||i.IS_customer("set",a),o=a,e.next=11;break;case 9:e.prev=9,e.t0=e.catch(1);case 11:return e.abrupt("return",o);case 12:case"end":return e.stop()}}),n,null,[[1,9]])})))).apply(this,arguments)}return u.innerHTML=null===(i=window)||void 0===i?void 0:i.IS_icon("send"),u.type="submit",u.form="IS_comment_send",c.onsubmit=function(){var n=r(e().mark((function n(r){var o,i,a,c,s,v,f,h,p,m,y,w,g,_,S;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==r||r.preventDefault(),f=document.getElementById("IS_comments"),h=document.getElementById("IS_comments_empty"),p=document.getElementById("IS_comment_list"),m=l.value||"",y=null===(o=window)||void 0===o?void 0:o.IS_customer(),u.innerHTML=null===(i=window)||void 0===i?void 0:i.IS_icon("loading"),u.setAttribute("disabled",!0),w=(null===(a=y)||void 0===a?void 0:a.email)||null){e.next=13;break}return e.next=12,d(m);case 12:y=e.sent;case 13:if(u.innerHTML=null===(c=window)||void 0===c?void 0:c.IS_icon("send"),u.removeAttribute("disabled"),null!==(s=y)&&void 0!==s&&s.email){e.next=17;break}return e.abrupt("return");case 17:if(g=[Object.assign({content:m},y)],(_=null===(v=window)||void 0===v?void 0:v.IS_comment_render(t,g.at(0))).classList.add("animate-comment"),p?p.prepend(_):(null==h||h.remove(),f.appendChild(null===(S=window)||void 0===S?void 0:S.IS_comments_items(t,g))),l.value="",!w){e.next=25;break}return e.next=25,d(m);case 25:case"end":return e.stop()}}),n)})));return function(t){return n.apply(this,arguments)}}(),c.appendChild(l),c.appendChild(u),c},window.IS_comments_loading=function(){var t=document.createElement("div");t.classList.add("IS_comments_loading");var e=Array.from({length:4},(function(){return'\n
\n \n
\n \n \n \n
\n \n \n
\n
\n
\n '}));return t.innerHTML=e.join(""),t},window.IS_comments=function(){var t=r(e().mark((function t(n,r){var o,i,a,c,l,u,d,s,v,f,h,p,m,y,w,g,_;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=String(n),f=document.querySelector("#IS_overlay .IS_video.active #IS_interaction"),(h=document.createElement("div")).classList.add("IS_comments"),h.id="IS_comments",f.style.display="none",(p=document.createElement("button")).classList.add("close_button"),p.innerHTML=null===(o=window)||void 0===o?void 0:o.IS_icon("close_circle"),p.onclick=function(){return IS_component_close(h)},h.innerHTML="\n \n Comentários\n \n ",m=null===(i=window)||void 0===i?void 0:i.IS_comments_loading(),y=null===(a=window)||void 0===a?void 0:a.IS_comments_send(n),f.insertAdjacentElement("afterend",h),null==h||null===(c=h.appendChild)||void 0===c||c.call(h,m),null==h||null===(l=h.appendChild)||void 0===l||l.call(h,y),null==h||null===(u=h.querySelector("span"))||void 0===u||null===(d=u.appendChild)||void 0===d||d.call(u,p),setTimeout((function(){return h.classList.add("active")}),10),w=[],t.prev=19,t.next=22,IS_request("comments",{id_ishort:n});case 22:w=t.sent,t.next=27;break;case 25:t.prev=25,t.t0=t.catch(19);case 27:if(g=null===(s=w)||void 0===s?void 0:s.some((function(t){return null==t?void 0:t.id})),null==m||m.remove(),g){t.next=31;break}return t.abrupt("return",h.appendChild(null===(_=window)||void 0===_?void 0:_.IS_comments_empty()));case 31:h.appendChild(null===(v=window)||void 0===v?void 0:v.IS_comments_items(n,w));case 32:case"end":return t.stop()}}),t,null,[[19,25]])})));return function(e,n){return t.apply(this,arguments)}}()})(),(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function v(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new M(r||[]);return a(i,"_invoke",{value:O(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=v;var h="suspendedStart",p="suspendedYield",m="executing",y="completed",w={};function g(){}function _(){}function S(){}var b={};s(b,l,(function(){return this}));var I=Object.getPrototypeOf,L=I&&I(I(T([])));L&&L!==o&&i.call(L,l)&&(b=L);var E=S.prototype=g.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(e,n){function r(o,a,c,l){var u=f(e[o],e,a);if("throw"!==u.type){var d=u.arg,s=d.value;return s&&"object"==t(s)&&i.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(s).then((function(t){d.value=t,c(d)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=j(c,r);if(l){if(l===w)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=f(t,e,r);if("normal"===u.type){if(o=r.done?y:p,u.arg===w)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=f(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),w}},r}function n(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,l,"next",t)}function l(t){n(a,o,i,c,l,"throw",t)}c(void 0)}))}}window.IS_control_sound=function(){var t,e,n,r=document.createElement("button");r.classList.add("IS_control_sound"),r.id="IS_control_sound";var o=null===(t=window)||void 0===t?void 0:t.IS_muted();return r.innerHTML=o?null===(e=window)||void 0===e?void 0:e.IS_icon("sound_off"):null===(n=window)||void 0===n?void 0:n.IS_icon("sound"),r.onclick=function(){var t=document.querySelector("#IS_overlay video.play");if(t){o=!o,t.muted=o;var e=document.querySelectorAll("#IS_control_sound");null==e||e.forEach((function(t){var e,n;t.innerHTML=o?null===(e=window)||void 0===e?void 0:e.IS_icon("sound_off"):null===(n=window)||void 0===n?void 0:n.IS_icon("sound")})),localStorage.setItem("@ishorts:mute",o.toString())}},r},window.IS_control_tabs=function(){var t,n,o=arguments.length>1?arguments[1]:void 0;if((null===(t=window)||void 0===t||null===(n=t.IS_feed_active)||void 0===n?void 0:n.call(t))||!1){var i=o||{},a=i.only_feed,c=void 0!==a&&a,l=i.only_short,u=void 0===l||l,d=document.createElement("nav");d.classList.add("IS_control_tabs"),d.id="IS_control_tabs";var s=function(t){var e,n,r,o=document.querySelector("#IS_control_tabs");return!!t.classList.contains("active")||(null==o||null===(e=o.querySelectorAll("button"))||void 0===e||e.forEach((function(t){return t.classList.remove("active")})),null==o||null===(n=o.querySelector("#".concat(null==t?void 0:t.id)))||void 0===n||null===(r=n.classList)||void 0===r||r.add("active"),!1)},v=null;u&&((v=document.createElement("button")).classList.add("IS_control_tab_video"),c||v.classList.add("active"),v.textContent="iShorts",v.id="IS_control_video",v.onpointerdown=r(e().mark((function t(){var n,r,o,i;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!s(v)){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,IS_widget_request();case 4:i=t.sent,null===(n=window)||void 0===n||null===(r=n.IS_short_prevideo)||void 0===r||r.call(n,i,{only_feed:!1,only_short:!0}),window.IS_device()?null===(o=window)||void 0===o||o.IS_mobile_videos():window.IS_video_focus();case 7:case"end":return t.stop()}}),t)}))));var f=document.createElement("button");return f.classList.add("IS_control_tab_feed"),f.textContent=u?"Feed":"Feed de Vídeos",c&&f.classList.add("active"),f.id="IS_control_feed",f.onpointerdown=r(e().mark((function t(){var n,r,o,i;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(v){t.next=2;break}return t.abrupt("return");case 2:if(!s(f)){t.next=4;break}return t.abrupt("return");case 4:return t.next=6,IS_widget_request({only_feed:!0});case 6:i=t.sent,null===(n=window)||void 0===n||null===(r=n.IS_short_prevideo)||void 0===r||r.call(n,i,{only_feed:!0,only_short:!0}),window.IS_device()?null===(o=window)||void 0===o||o.IS_mobile_videos():window.IS_video_focus();case 9:case"end":return t.stop()}}),t)}))),v&&d.appendChild(v),d.appendChild(f),d}},window.IS_control_close=function(){var t,e=document.createElement("button");return e.classList.add("IS_control_close"),e.innerHTML=null===(t=window)||void 0===t?void 0:t.IS_icon("close"),e.onclick=function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_toggle()},e},window.IS_controls=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=document.createDocumentFragment(),o=document.createElement("div");o.classList.add("IS_controls"),o.id="IS_controls";["sound","tabs","close"].forEach((function(t){var o,i,a=null===(o=window)||void 0===o||null===(i=o["IS_control_".concat(t)])||void 0===i?void 0:i.call(o,e,n);a&&r.appendChild(a)})),o.appendChild(r),t.appendChild(o)}})(),(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function v(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new M(r||[]);return a(i,"_invoke",{value:O(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=v;var h="suspendedStart",p="suspendedYield",m="executing",y="completed",w={};function g(){}function _(){}function S(){}var b={};s(b,l,(function(){return this}));var I=Object.getPrototypeOf,L=I&&I(I(T([])));L&&L!==o&&i.call(L,l)&&(b=L);var E=S.prototype=g.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(e,n){function r(o,a,c,l){var u=f(e[o],e,a);if("throw"!==u.type){var d=u.arg,s=d.value;return s&&"object"==t(s)&&i.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(s).then((function(t){d.value=t,c(d)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=j(c,r);if(l){if(l===w)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=f(t,e,r);if("normal"===u.type){if(o=r.done?y:p,u.arg===w)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=f(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),w}},r}function n(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,l,"next",t)}function l(t){n(a,o,i,c,l,"throw",t)}c(void 0)}))}}window.IS_feedback_questions=function(t){var e=document.createElement("ul");return["A experiência foi incrível","Atendeu às expectativas","Poderia ser melhor","Prefiro ver somente fotos"].forEach((function(n){var r,o=document.createElement("li");o.innerHTML="\n ".concat(null===(r=window)||void 0===r?void 0:r.IS_icon("check"),"\n ").concat(n,"\n "),o.onclick=function(){var e,n,r;null!=t&&null!==(e=t.classList)&&void 0!==e&&e.contains("selected")||(null==t||null===(n=t.classList)||void 0===n||null===(r=n.add)||void 0===r||r.call(n,"selected"));t.querySelectorAll("ul li").forEach((function(t){return t.classList.remove("active")})),o.classList.add("active")},e.appendChild(o)})),e},window.IS_feedback_actions=function(t){var n=document.createElement("span"),o=document.createElement("textarea");o.placeholder="Deixe aqui sua sugestão do que achou ou de como podemos melhorar.";var i=document.createElement("button");i.textContent="Enviar Feedback",i.onclick=r(e().mark((function n(){var r,o,a,c,l,u,d,s;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=null==t?void 0:t.querySelectorAll("li"),d=(null==t||null===(r=t.querySelector("textarea"))||void 0===r?void 0:r.value)||"",u){e.next=4;break}return e.abrupt("return");case 4:if(-1!=(s=null===(o=Array.from(u))||void 0===o?void 0:o.findIndex((function(t){return t.classList.contains("active")})))){e.next=7;break}return e.abrupt("return");case 7:return i.setAttribute("disabled",!0),i.innerHTML=null===(a=window)||void 0===a?void 0:a.IS_icon("loading"),e.next=11,IS_request("feedback",{note:String(s),message:d});case 11:i.removeAttribute("disabled"),null===(c=window)||void 0===c||c.IS_feedback_available("set"),null===(l=window)||void 0===l||l.IS_ishort_close();case 14:case"end":return e.stop()}}),n)})));var a=document.createElement("button");return a.textContent="Agora não",a.onclick=function(){var t,e;null===(t=window)||void 0===t||t.IS_ishort_close(),null===(e=window)||void 0===e||e.IS_feedback_available("set"),IS_request("feedback",{note:String(4)})},[o,i,a].forEach((function(t){return n.appendChild(t)})),n},window.IS_feedback=function(){var t,e,n,r=document.getElementById("IS_overlay");if(!document.getElementById("IS_feedback")){null===(t=window)||void 0===t||t.IS_pause_change(!0,!0);var o=document.createElement("div");o.classList.add("IS_feedback"),o.id="IS_feedback",o.innerHTML="\n
\n ".concat(null===(e=window)||void 0===e?void 0:e.IS_icon("feedback"),"\n Queremos saber sua opinião!\n

Sua experiência é muito importante para nós. Responda rapidamente e ajude-nos a melhorar cada vez mais.

\n
\n ");var i=null===(n=window)||void 0===n?void 0:n.IS_feedback_questions(o),a=window.IS_feedback_actions(o);o.appendChild(i),o.appendChild(a),r.appendChild(o)}}})(),(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function v(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new M(r||[]);return a(i,"_invoke",{value:O(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=v;var h="suspendedStart",p="suspendedYield",m="executing",y="completed",w={};function g(){}function _(){}function S(){}var b={};s(b,l,(function(){return this}));var I=Object.getPrototypeOf,L=I&&I(I(T([])));L&&L!==o&&i.call(L,l)&&(b=L);var E=S.prototype=g.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(e,n){function r(o,a,c,l){var u=f(e[o],e,a);if("throw"!==u.type){var d=u.arg,s=d.value;return s&&"object"==t(s)&&i.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(s).then((function(t){d.value=t,c(d)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=j(c,r);if(l){if(l===w)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=f(t,e,r);if("normal"===u.type){if(o=r.done?y:p,u.arg===w)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=f(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),w}},r}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n0&&void 0!==arguments[0]?arguments[0]:{},r=n.love,o=void 0===r?0:r,i=n.user_liked,a=void 0!==i&&i,c=n.id,l=((null===(t=window)||void 0===t?void 0:t.IS_custom("video"))||{}).like_count,u=document.createElement("div");return u.classList.add("IS_interaction_love"),a&&u.classList.add("active"),u.innerHTML="\n \n ").concat(l?"

".concat(null!=o?o:0,"

"):"","\n "),u.onclick=function(){var t,e,n=null==u||null===(t=u.classList)||void 0===t?void 0:t.contains("active"),r=u.querySelector("p");if(null===(e=u.classList)||void 0===e||e[n?"remove":"add"]("active"),r){var o=parseInt((null==r?void 0:r.textContent)||0,10)||0;r.textContent=n?o<=1?"":o-1:o+1||1}IS_request("analytics/like",{id_ishort:String(c)})},u},window.IS_interaction_comment=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.comments,o=void 0===r?{}:r,i=n.id;if(null!=o&&o.show){var a=((null===(t=window)||void 0===t?void 0:t.IS_custom("video"))||{}).comment_count,c=document.createElement("div");return c.classList.add("IS_interaction_comment"),c.innerHTML="\n \n ").concat(a?"

".concat((null==o?void 0:o.total)||0,"

"):"","\n "),c.onclick=function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_comments(i,o)},c}},window.IS_interaction_whatsapp=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.whatsapp,o=void 0===r?0:r,i=n.id,a=(null===(t=window)||void 0===t?void 0:t.IS_custom("video.whatsapp"))||{},c=a.show,l=a.number,u=a.message,d=a.count;if(c){var s=document.createElement("div");return s.classList.add("IS_interaction_whatsapp"),s.innerHTML="\n \n ").concat(d?"

".concat(null!=o?o:0,"

"):"","\n "),s.onclick=function(){var t,e,n;null===(t=window)||void 0===t||t.IS_pause_change(!0,!0);var r=l||"";r&&(r=null===(e=r)||void 0===e?void 0:e.replace(/\D/g,"")),null!==(n=String(r))&&void 0!==n&&n.startsWith("55")||(r="55".concat(r)),IS_request("analytics",{action:"whatsapp",id_ishort:String(i)}),window.open("".concat("https://api.whatsapp.com","/send?phone=").concat(r,"&text=").concat(u),"_blank")},s}},window.IS_interaction_measure=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.id,o=n.measure,i=void 0===o?{}:o;if(null!=i&&i.show){var a=((null===(t=window)||void 0===t?void 0:t.IS_custom("video"))||{}).measure_count,c=document.createElement("div");return c.classList.add("IS_interaction_measure"),c.innerHTML="\n \n ").concat(a?"

".concat((null==i?void 0:i.total)||0,"

"):"","\n "),c.onclick=function(){var t;IS_request("analytics",{action:"measure",id_ishort:String(r)}),null===(t=window)||void 0===t||t.IS_measure(i)},c}},window.IS_interaction_share=function(){var t,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=o.share,c=void 0===a?0:a,l=o.id,u=void 0===l?null:l,d=o.type,s=void 0===d?"products":d,v=o.campaing,f=void 0===v?{}:v,h=o.products,p=void 0===h?[]:h,m=((null===(t=window)||void 0===t?void 0:t.IS_custom("video"))||{}).share_count,y=document.createElement("div");y.classList.add("IS_interaction_share"),y.innerHTML="\n \n ").concat(m?"

".concat(null!=c?c:0,"

"):"","\n ");var w={products:function(){var t,e,n;return null===(t=window)||void 0===t?void 0:t.IS_platform_page(null==p||null===(e=p.at)||void 0===e||null===(n=e.call(p,0))||void 0===n?void 0:n.handle)},campaing:function(){return null==f?void 0:f.link}};return y.onclick=i(e().mark((function t(){var r,o,i,a,c,l,d;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(r=navigator)&&void 0!==r&&r.share){t.next=2;break}return t.abrupt("return");case 2:return null===(o=window)||void 0===o||o.IS_pause_change(!0,!0),l=new URL((null===(i=w[s])||void 0===i?void 0:i.call(w))||(null===(a=window)||void 0===a||null===(c=a.location)||void 0===c?void 0:c.href)),d={ishort_ref:u,utm_source:"ishorts",utm_medium:"share",utm_campaign:String(u)},Object.entries(d).forEach((function(t){var e=n(t,2),r=e[0],o=e[1];return l.searchParams.set(r,o)})),IS_request("analytics",{action:"share",id_ishort:String(u)}),t.next=9,navigator.share({title:"Compartilhar Vídeo",text:"Olha que legal esse vídeo que acabei de ver",url:l.toString()});case 9:case"end":return t.stop()}}),t)}))),y},window.IS_interaction_mark=function(){var t=document.createElement("p");return t.classList.add("IS_interaction_mark"),t.innerText="iShorts",t},window.IS_interaction_ishort=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;n||(n=document.getElementById("IS_interaction"));var r=document.createDocumentFragment(),o=document.createElement("div");o.classList.add("IS_interaction_actions"),o.id="IS_interaction_actions";var i=null===(e=window)||void 0===e?void 0:e.IS_campaing(t);["love","comment","whatsapp","measure","share","mark"].forEach((function(e){var n,o,i=null===(n=window)||void 0===n||null===(o=n["IS_interaction_".concat(e)])||void 0===o?void 0:o.call(n,t);i&&r.appendChild(i)})),o.appendChild(r),n.innerHTML="",i&&n.appendChild(i),n.appendChild(o)},window.IS_interaction=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=document.createElement("div");r.classList.add("IS_interaction"),r.id="IS_interaction",null===(e=window)||void 0===e||e.IS_interaction_ishort(null==n?void 0:n.at(0),r),t.appendChild(r)}})(),window.IS_measure=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.querySelector("#IS_overlay .IS_video.active #IS_interaction");if(r){var o,i=document.getElementById("IS_measure");if(null==t||!t.name)return null===(o=window)||void 0===o?void 0:o.IS_component_close(i);var a=null===(e=window)||void 0===e?void 0:e.IS_buildMeasureHTML(t),c=function(t){var e,n,r=document.createElement("button");r.className="close_button",r.innerHTML=null===(e=window)||void 0===e?void 0:e.IS_icon("close_circle"),r.onclick=function(){return IS_component_close(t)},null===(n=t.querySelector("span"))||void 0===n||n.appendChild(r)};if(i)return i.innerHTML=a,void c(i);if(!n){r.style.display="none";var l=document.createElement("div");l.id="IS_measure",l.className="IS_measure",l.innerHTML=a,c(l),r.insertAdjacentElement("afterend",l),setTimeout((function(){return l.classList.add("active")}),10)}}},window.IS_buildMeasureHTML=function(t){var e=[{label:"Busto",value:null==t?void 0:t.bust,unit:"cm"},{label:"Cintura",value:null==t?void 0:t.waist,unit:"cm"},{label:"Quadril",value:null==t?void 0:t.hip,unit:"cm"},{label:"Peso",value:null==t?void 0:t.weight,unit:"kg"},{label:"Altura",value:null==t?void 0:t.height,unit:"cm"}].filter((function(t){return t.value})).map((function(t){return"
  • ".concat(t.label,"

    ").concat(t.value).concat(t.unit,"
  • ")})).join(""),n=[{icon:"shirt",value:null==t?void 0:t.sizewear},{icon:"shoes",value:null==t?void 0:t.footwear}].filter((function(t){return t.value})).map((function(t){var e;return"
  • ".concat(null===(e=window)||void 0===e?void 0:e.IS_icon(t.icon)," ").concat(t.value,"
  • ")})).join("");return"\n Medidas da modelo\n
      ".concat(e,"
    \n ").concat(n?"
    ".concat((null==t?void 0:t.name)||"Modelo"," veste
      ").concat(n,"
    "):"","\n ")},window.IS_pause_change=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.querySelector("#IS_overlay .IS_video.active #IS_pause");if(n){var r=document.querySelector("#IS_video_instance.play");if(r){if(e){if(null!=r&&r.paused)return;return n.classList.add("active"),null==r?void 0:r.pause()}var o,i;if(!t)return null==n||null===(o=n.classList)||void 0===o||null===(i=o.remove)||void 0===i?void 0:i.call(o,"active");if(null!=r&&r.paused)return n.classList.remove("active"),null==r?void 0:r.play();n.classList.add("active"),null==r||r.pause()}}},window.IS_pause=function(t){var e,n=document.createElement("div");n.classList.add("IS_pause"),n.id="IS_pause",n.innerHTML=null===(e=window)||void 0===e?void 0:e.IS_icon("play"),n.onclick=function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_pause_change()},t.appendChild(n)},window.IS_poster=function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=(null==r?void 0:r.at(0))||{},i=document.createElement("div");i.classList.add("IS_poster"),i.id="IS_poster";var a=null===(e=window)||void 0===e?void 0:e.IS_custom("store"),c="",l="";if("campaing"==o.type){var u;c=(null==o||null===(u=o.campaing)||void 0===u?void 0:u.text)||(null==o?void 0:o.highlight)||""}else{var d,s=(null==o||null===(d=o.products)||void 0===d?void 0:d.at(0))||{};c=(null==s?void 0:s.name)||"",l='').concat(c,'')}var v=null===(n=(null==a?void 0:a.name)||c)||void 0===n?void 0:n.slice(0,2).toUpperCase();i.innerHTML="\n ".concat(l).concat(v,"\n ").concat(c,"\n "),t.appendChild(i)},window.IS_progress_change=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=document.querySelector("#IS_video_instance.play"),n=document.querySelector("#IS_overlay .IS_video.active .IS_progress > span");if(t)return n.style.width=0;e&&n&&!e.paused&&!e.ended&&requestAnimationFrame((function t(){n.style.width="".concat(e.currentTime/e.duration*100,"%"),e.paused||e.ended||requestAnimationFrame(t)}))},window.IS_progress=function(t){var e=document.createElement("div");e.classList.add("IS_progress"),e.id="IS_progress";var n=document.createElement("span");e.appendChild(n);var r=document.createElement("small");r.classList.add("time-display"),e.appendChild(r),t.appendChild(e);var o,i=!1,a=!1,c=document.getElementById("IS_overlay"),l=function(t){return t.touches&&t.touches.length>0},u=function(t){var o=document.querySelector("#IS_video_instance.play");if(o){var i=t.clientX;l(t)&&(i=t.touches[0].clientX);var a=e.getBoundingClientRect(),c=Math.min(Math.max(0,i-a.left),a.width)/a.width;o.currentTime=o.duration*c;var u=d(o.currentTime),s=d(o.duration);r.innerHTML="".concat(u," /

    ").concat(s,"

    "),n.style.width="".concat(100*c,"%")}},d=function(t){var e=Math.floor(t/60),n=Math.floor(t%60);return"".concat(e.toString().padStart(2,"0"),":").concat(n.toString().padStart(2,"0"))},s=function(t){t.preventDefault();var e=document.querySelector("#IS_video_instance.play"),o=document.querySelector("#IS_overlay .IS_video.active #IS_interaction");e&&(a=!e.paused&&!e.ended,e.pause()),i=!0,n.style.transition="none",u(t),document.addEventListener("pointermove",v),document.addEventListener("pointerup",f),document.addEventListener("touchmove",v,{passive:!1}),document.addEventListener("touchend",f),r.style.display="inline-flex",o.style.display="none",document.body.style.userSelect="none",c.classList.add("is-dragging")},v=function(t){i&&(t.preventDefault(),u(t))},f=function t(e){if(i){i=!1,n.style.transition="width 0.1s linear";var l,u=document.querySelector("#IS_video_instance.play");a&&null!=u&&u.paused&&(null===(l=window)||void 0===l||l.IS_play_video(u,!1));var d=document.querySelector("#IS_overlay .IS_video.active #IS_interaction");r.style.display="none",d.style.display="flex",document.body.style.userSelect="auto",clearTimeout(o),o=setTimeout((function(){return c.classList.remove("is-dragging")}),100),document.removeEventListener("pointermove",v),document.removeEventListener("pointerup",t),document.removeEventListener("touchmove",v),document.removeEventListener("touchend",t)}};e.addEventListener("pointerdown",(function(t){t.stopPropagation();var e,n=document.querySelector("#IS_video_instance.play");n&&(n.ended&&(n.currentTime=0,null===(e=window)||void 0===e||e.IS_play_video(n)),s(t))})),e.addEventListener("touchstart",(function(t){t.stopPropagation(),s(t)}),{passive:!0}),e.addEventListener("pointerup",(function(){var t=document.querySelector("#IS_overlay .IS_video.active #IS_interaction");r.style.display="none",t.style.display="flex"})),e.addEventListener("pointerleave",(function(t){if(i){u(t);var r=e.getBoundingClientRect(),o=Math.min(Math.max(0,t.clientX-r.left),r.width)/r.width;n.style.width="".concat(100*o,"%");var a=t.clientX||l(t)&&t.touches[0].clientX;a&&(ar.right)&&u(t)}}))},(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function v(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new M(r||[]);return a(i,"_invoke",{value:O(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=v;var h="suspendedStart",p="suspendedYield",m="executing",y="completed",w={};function g(){}function _(){}function S(){}var b={};s(b,l,(function(){return this}));var I=Object.getPrototypeOf,L=I&&I(I(T([])));L&&L!==o&&i.call(L,l)&&(b=L);var E=S.prototype=g.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(e,n){function r(o,a,c,l){var u=f(e[o],e,a);if("throw"!==u.type){var d=u.arg,s=d.value;return s&&"object"==t(s)&&i.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(s).then((function(t){d.value=t,c(d)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=j(c,r);if(l){if(l===w)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=f(t,e,r);if("normal"===u.type){if(o=r.done?y:p,u.arg===w)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=f(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),w}},r}function n(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,l,"next",t)}function l(t){n(a,o,i,c,l,"throw",t)}c(void 0)}))}}window.IS_timeline_item=function(){var t=r(e().mark((function t(n){var o,i,a,c,l,u,d,s,v,f,h,p,m,y,w,g=arguments;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=g.length>2&&void 0!==g[2]?g[2]:null,a=document.querySelector("#IS_overlay"),c=a.querySelector("#IS_video_instance.play"),l=Array.from(a.querySelectorAll("#IS_overlay video")),u=Array.from(a.querySelectorAll(".IS_video.active #IS_timeline [data-short]")),l.length&&u.length){t.next=8;break}return t.abrupt("return");case 8:d=(null==c?void 0:c.dataset)||{},s=d.short,v=(null==c||null===(o=c.closest(".IS_video"))||void 0===o?void 0:o.dataset)||{},f=v.item,s=Number(s)||0,f=Number(f)||0,h=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=null===(e=u[t])||void 0===e?void 0:e.querySelector("div");if(o){var i=function(){o.style.transition="none",o.style.width="".concat(n,"%"),requestAnimationFrame((function(){o.style.transition="width 0.1s linear"}))};r?i():setTimeout(i,100)}},p=function(){var t=r(e().mark((function t(n){var r,o,i,a;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n){t.next=2;break}return t.abrupt("return");case 2:if(o=n.closest(".IS_video_player"),i=null==c?void 0:c.closest(".IS_video_player"),o===i){t.next=6;break}return t.abrupt("return",null===(a=window)||void 0===a?void 0:a.IS_video_focus(n.closest(".IS_video")));case 6:null===(r=window)||void 0===r||r.IS_play_video(n);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),m=function(t){return l.filter((function(e){var n,r;return(Number(null===(n=e.closest(".IS_video"))||void 0===n||null===(r=n.dataset)||void 0===r?void 0:r.item)||0)===(null!=i?i:t)}))},y=function(){if(0===s)if(0===f)u.forEach((function(t){var e,n;return null==t||null===(e=t.querySelector("div"))||void 0===e||null===(n=e.style)||void 0===n?void 0:n.setProperty("width",0)})),c&&(c.currentTime=0);else{var t=m(f-1);t.length&&p(t.at(-1))}else{var e=m(f);h(s,0),h(e.at(0),0),h(s-1,100);var n=null==e?void 0:e[s-1];null!=i&&i!=f&&(u.forEach((function(t,e){return h(e,0)})),n=e.at(0)),p(n)}},w=function(){var t=m(f),e=s+1;if(e>=t.length){var n=m(f+1);n.length&&p(n[0])}else h(s,100),h(e,0,!0),p(t[e])},"previous"===n&&y(),"next"===n&&w();case 19:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),window.IS_timeline_change=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=document.querySelector("#IS_video_instance.play"),n=((null==e?void 0:e.dataset)||{}).short;if(n){var r=document.querySelector('#IS_overlay .IS_video.active #IS_timeline [data-short="'.concat(n,'"] div'));if(t)return r.style.width=0;if(e&&r&&!e.paused&&!e.ended){requestAnimationFrame((function t(){r.style.width="".concat(e.currentTime/e.duration*100,"%"),e.paused||e.ended||requestAnimationFrame(t)}))}}},window.IS_timeline=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0,r=document.createElement("div");r.classList.add("IS_timeline"),r.id="IS_timeline",r.innerHTML=null==e?void 0:e.flatMap((function(t){var e=t.videos;return null==e?void 0:e.flatMap((function(t){return Object.keys(t).some((function(e){return e&&t[e]}))?'
    '):[]}))})).join(""),t.appendChild(r)}})(),(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var n,r={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(n){s=function(t,e,n){return t[e]=n}}function v(t,e,n,r){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),c=new M(r||[]);return a(i,"_invoke",{value:O(t,n,c)}),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=v;var h="suspendedStart",p="suspendedYield",m="executing",y="completed",w={};function g(){}function _(){}function S(){}var b={};s(b,l,(function(){return this}));var I=Object.getPrototypeOf,L=I&&I(I(T([])));L&&L!==o&&i.call(L,l)&&(b=L);var E=S.prototype=g.prototype=Object.create(b);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function C(e,n){function r(o,a,c,l){var u=f(e[o],e,a);if("throw"!==u.type){var d=u.arg,s=d.value;return s&&"object"==t(s)&&i.call(s,"__await")?n.resolve(s.__await).then((function(t){r("next",t,c,l)}),(function(t){r("throw",t,c,l)})):n.resolve(s).then((function(t){d.value=t,c(d)}),(function(t){return r("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(i,i):i()}})}function O(t,e,r){var o=h;return function(i,a){if(o===m)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=j(c,r);if(l){if(l===w)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=y,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var u=f(t,e,r);if("normal"===u.type){if(o=r.done?y:p,u.arg===w)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=y,r.method="throw",r.arg=u.arg)}}}function j(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),w;var i=f(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,w;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,w):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,w)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[l];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:T(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),w}},r}function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}var e=["__score"];function n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function r(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=Array(e);n=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),w}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),w}},n}function d(t,e,n,r,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void n(t)}c.done?e(l):Promise.resolve(l).then(r,o)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){d(i,r,o,a,c,"next",t)}function c(t){d(i,r,o,a,c,"throw",t)}a(void 0)}))}}window.IS_ishort_close=function(){var t,e,n,r=document.getElementById("IS_overlay"),o=document.getElementById("IS_widget"),i=document.querySelectorAll("#IS_overlay video"),a=document.querySelectorAll("#IS_timeline [data-short]");document.body.style.setProperty("overflow-y","auto","important"),null==r||null===(t=r.classList)||void 0===t||null===(e=t.remove)||void 0===e||e.call(t,"active"),null==o||null===(n=o.classList)||void 0===n||n.remove("hidden"),["IS_measure","IS_comments"].forEach((function(t){var e;return null===(e=window)||void 0===e?void 0:e.IS_component_close(t)})),a.forEach((function(t){var e=null==t?void 0:t.querySelector("div");e&&(e.style.width="0%")})),i.forEach(function(){var t=s(u().mark((function t(e){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.currentTime=0,t.prev=1,t.next=4,e.pause();case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:e.classList.remove("play");case 9:case"end":return t.stop()}}),t,null,[[1,6]])})));return function(e){return t.apply(this,arguments)}}())},window.IS_toggle=function(){var t,e,n,r,o,i,a,c,l,d,v=document.getElementById("IS_overlay"),f=document.getElementById("IS_widget"),h=document.querySelectorAll("#IS_overlay video"),p=document.querySelectorAll("#IS_timeline [data-short]"),m=(null===(t=window)||void 0===t?void 0:t.IS_custom("video")).feedback,y=null===(e=window)||void 0===e?void 0:e.IS_feedback_available("get"),w=v.classList.contains("active"),g=document.getElementById("IS_feedback"),_=document.getElementById("IS_pause");if(null==_||null===(n=_.classList)||void 0===n||n.remove("active"),!y&&m&&w)return null===(a=window)||void 0===a?void 0:a.IS_feedback();(g&&(null==g||g.remove()),v.classList.toggle("active"),f)&&(null==f||null===(c=f.classList)||void 0===c||null===(l=c[w?"remove":"add"])||void 0===l||l.call(c,"hidden"));(document.body.style.setProperty("overflow-y",w?"auto":"hidden","important"),p.forEach((function(t){var e=null==t?void 0:t.querySelector("div");e&&(e.style.width="0%")})),h.forEach(function(){var t=s(u().mark((function t(e){var n;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.currentTime=0,null==e||null===(n=e.pause)||void 0===n||n.call(e),e.classList.remove("play");case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),null===(r=window)||void 0===r||r.IS_pause_change(!1),null===(o=window)||void 0===o||null===(i=o.IS_times)||void 0===i||i.call(o,!0),w)?["IS_measure","IS_comments"].forEach((function(t){var e;return null===(e=window)||void 0===e?void 0:e.IS_component_close(t)})):window.IS_device()?null===(d=window)||void 0===d||d.IS_mobile_videos():window.IS_video_focus()},window.IS_video_desktop=function(t){var e,n=document.getElementById("IS_overlay"),r=Array.from(n.querySelectorAll(".IS_video")),o=r.indexOf(t);r.forEach((function(t){return t.classList.remove("active")})),null==t||null===(e=t.classList)||void 0===e||e.add("active");var i=r.map((function(t){return t.offsetWidth})),a=new Array(r.length).fill(0);a[o]=0;for(var c=o-1;c>=0;c--){var l=i[c+1]/2+i[c]/2+40;a[c]=a[c+1]-l}for(var u=o+1;u0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=document.getElementById("IS_overlay");if(l){null!=c&&c.page||(c.page=1),null!=c&&c.firstInteraction||(c.firstInteraction=!1);var u=null==o?void 0:o.some((function(t){return null==t?void 0:t.feed}));null==l||null===(t=l.classList)||void 0===t||t.toggle("only_feed",u);var d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.page,r=void 0===n?null:n,i=e.indice,a=void 0===i?null:i,u=document.createElement("div");u.setAttribute("id","IS_video_".concat(t)),r&&(u.dataset.page=r),null!=a&&(u.dataset.item=a),u.classList.add("IS_video");var d="single"!=t?null==o?void 0:o.filter((function(e){return e.id==t})):o;["poster","timeline","controls","interaction","progress","pause"].forEach((function(t){var e,n;return null===(e=window)||void 0===e||null===(n=e["IS_".concat(t)])||void 0===n?void 0:n.call(e,u,d,c)}));var s=document.createElement("div");return s.id="IS_video_player",s.classList.add("IS_video_player"),u.appendChild(s),l.appendChild(u),u.addEventListener("click",(function(t){var e,n,r;t.stopPropagation();var o=document.querySelector("#".concat(null==u?void 0:u.id)),i=document.querySelector(".IS_video.active"),a=parseInt((null==i||null===(e=i.dataset)||void 0===e?void 0:e.item)||0,10),c=parseInt((null==o||null===(n=o.dataset)||void 0===n?void 0:n.item)||0,10);if(o&&!o.classList.contains("active"))return null===(r=window)||void 0===r?void 0:r.IS_timeline_item(c>a?"next":"previous",!1,c)})),s},s=function(t){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).forEach((function(e,n){var r,o,i=e.thumbnail||"",c=Object.entries(e).filter((function(t){var e=a(t,2),n=e[0],r=e[1];return["720"].includes(n)&&r})).map((function(t){var e=a(t,2),n=e[0],r=e[1];return'')})).join("");if(c){var l=document.createElement("video");l.setAttribute("poster",i),l.setAttribute("data-ishort",e.id),l.setAttribute("data-short",n),l.setAttribute("id","IS_video_instance"),l.setAttribute("playsinline",""),l.setAttribute("disablepictureinpicture",""),l.setAttribute("preload",0===n?"metadata":"none"),l.innerHTML=c,null===(r=window)||void 0===r||null===(o=r.IS_prevent_change_widget)||void 0===o||o.call(r,l),t.appendChild(l)}}))};if(u){var v;null===(v=l.querySelector("#IS_video_single"))||void 0===v||v.remove();var f=i(l.querySelectorAll(".IS_video")).map((function(t){return t.id.replace("IS_video_","")})),h=o.map((function(t){var e=t.id;return null!=e?String(e):null})).filter((function(t){return null!==t})).filter((function(t,e,n){return n.indexOf(t)===e&&!f.includes(t)})),p=[].concat(i(f),i(h)).slice(-4);l.querySelectorAll(".IS_video").forEach((function(t){p.includes(t.id.replace("IS_video_",""))||t.remove()})),h.forEach((function(t,e){!function(t){var e=document.getElementById("IS_video_".concat(t));e&&e.remove()}(t);var n=d(t,{page:c.page||1,indice:e}),i=o.find((function(e){return e.id==t})),a=i.videos.map((function(e){return r(r({},e),{},{id:t})}));i&&s(n,a)}))}else{document.querySelectorAll('[id^="IS_video_"]').forEach((function(t){return t.remove()}));var m=d("single"),y=o.flatMap((function(t){var e=t.id,n=t.videos,o=t.current;return(n||[]).filter((function(t){return Object.keys(t).some((function(e){return t[e]}))})).map((function(t){return r(r({},t),{},{id:e,__score:(o?2:0)+(t.current?1:0)})}))})).sort((function(t,e){return e.__score-t.__score})).map((function(t){t.__score;return function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r';var r=document.createElement("button");return r.innerHTML=null===(t=window)||void 0===t?void 0:t.IS_icon("close_circle"),r.onpointerdown=function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_ishort_close()},e.appendChild(n),e.appendChild(r),e},window.IS_short_touch=function(t){var e,n,r,o,i,a=t.target,c=t.clientX;if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1]||null!=a&&null!==(e=a.classList)&&void 0!==e&&e.contains("is-dragging"))){var l;if("IS_overlay"===a.id)return null===(l=window)||void 0===l?void 0:l.IS_toggle();if("IS_video_player"==a.id){var u=window.innerWidth,d=.45*u,s=.1*u,v=null==a||null===(n=a.closest(".IS_video"))||void 0===n||null===(r=n.classList)||void 0===r?void 0:r.contains("active");c<=d?null===(o=window)||void 0===o||o.IS_timeline_item("previous",!v):c<=d+s?window.IS_pause_change():null===(i=window)||void 0===i||i.IS_timeline_item("next",!v)}}},function(){var t=0,e=[],n=0,r=0,o=!1,i=function(t){var e;null!==(e=window)&&void 0!==e&&e.IS_device()&&(o=!0,n=t.touches[0].clientY,r=0)},a=function(i){var a,c=document.getElementById("IS_overlay").classList.contains("only_feed");if(null!==(a=window)&&void 0!==a&&a.IS_device()&&o&&c){i.preventDefault();var l=i.touches[0];r=l.clientY-n;var u=e[t];u&&(u.style.transition="none",u.style.transform="translate3d(0, ".concat(r,"px, 0)"));var d=function(t,e,n){t&&(t.style.transition="none",t.style.transform="translate3d(0, ".concat(e,"px, 0)"))};if(r<0&&t0&&t>0){d(e[t-1],-window.innerHeight+r)}}},c=function(n){var i,a,c=document.getElementById("IS_overlay").classList.contains("only_feed");if(null!==(i=window)&&void 0!==i&&i.IS_device()&&o){if(o=!1,Math.abs(r)<=10)return l(n);if(c){Math.abs(r)>80&&(r<0&&t0&&t>0&&t--),e.forEach((function(t){t.style.transition="transform 0.3s ease",t.style.opacity=1})),u();var s=null===(a=e)||void 0===a?void 0:a[t];null==s||s.addEventListener("transitionend",d,{once:!0})}}},l=function(t){var e,n=t.target;e=t.touches&&t.touches[0]?t.touches[0].clientX:t.changedTouches&&t.changedTouches[0]?t.changedTouches[0].clientX:t.clientX,window.IS_short_touch({target:n,clientX:e},!1)};function u(){e.forEach((function(e,n){e.style.transform=n{function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n0&&void 0!==arguments[0]?arguments[0]:o,{crossorigin:""})}})(),window.IS_preload=function(){var t=function(t){if("true"!==t.dataset.loaded){var e=Array.from(t.querySelectorAll("source")).find((function(t){return"720p"===t.dataset.quality}));e&&(t.src=e.src,t.dataset.loaded="true",t.preload="metadata")}},e=function(e){var n,r;if(e){var o=e.nextElementSibling;if("VIDEO"!==(null==o?void 0:o.tagName)||"true"===o.dataset.loaded){var i=null===(n=e.closest(".IS_video"))||void 0===n||null===(r=n.nextElementSibling)||void 0===r?void 0:r.querySelector("video");"VIDEO"===(null==i?void 0:i.tagName)&&"true"!==i.dataset.loaded&&t(i)}else t(o)}};document.querySelectorAll('#IS_video_instance:not([data-loaded="true"])').forEach((function(n,r){n.preload="none",0===r&&(t(n),e(n)),n.addEventListener("play",(function(){return e(n)})),n.addEventListener("ended",(function(){return e(n)}))}))},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",window.IS_preload):window.IS_preload(),window.IS_share_ref=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=new URL(window.location);e.searchParams.get("ishort_ref")&&(["ishort_ref","utm_source","utm_medium","utm_campaign"].forEach((function(t){return e.searchParams.delete(t)})),history.replaceState(null,"",e),Array.isArray(t)&&t.length)},window.IS_carousel_init=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(null===(t=window)||void 0===t?void 0:t.IS_custom("carousel"))||{},r=n.where,o=void 0===r?"footer":r,i=n.title,a="IS_carousel";if(!document.querySelector('[data-is="'.concat(a,'"]'))){var c=document.querySelector('[data-is-mount="carousel"]')||document.querySelector(o);if(c){var l=document.createElement("div");l.classList.add(a),l.setAttribute("data-is",a),l.innerHTML='\n

    ').concat(i,'

    \n
    \n
    \n
    \n ');var u={products:function(){var t,e,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).products,r=void 0===n?[]:n,o=(null==r?void 0:r.at(0))||{},i=o.id_product,c=o.name,l=void 0===c?"":c,u=o.image,d=void 0===u?"":u,s=o.price,v=void 0===s?0:s,f=o.promotional_price,h=void 0===f?0:f;if(!i)return"";var p=v>0?null===(t=window)||void 0===t?void 0:t.IS_price(v):"",m=Number(h)&&Number(h)>0&&Number(h)\n \n ').concat(l,'\n \n
    \n

    ').concat(l,"

    \n \n ").concat(m?"".concat(m," ").concat(p,""):p,"\n \n
    \n \n ")},campaing:function(){}};c.insertAdjacentElement("beforebegin",l),window.ISCarousel.create(e,{classRoot:a,root:l,template:function(){var t,e,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(t=r||{}),t),c=i.id,l=void 0===c?"":c,d=i.videos,s=void 0===d?[]:d,v=i.type,f=void 0===v?"campaing":v,h=(null==s?void 0:s.at(0))||{},p=h.thumbnail,m=void 0===p?"":p,y=h[720],w=void 0===y?"":y;return'\n
    \n
    \n \n
    \n ').concat(null!==(e=null==u||null===(n=u[f])||void 0===n?void 0:n.call(u,r))&&void 0!==e?e:"","\n
    \n ")},autoplayVideos:!0,autoAdvanceOnEnd:!0,onTap:function(t){var n,r,o=e.sort((function(e,n){return(String(n.id)===String(t))-(String(e.id)===String(t))}));window.IS_ishort_items=null!=o?o:[],null===(n=window)||void 0===n||null===(r=n.IS_short_prevideo)||void 0===r||r.call(n,o,{only_short:!0}),window.IS_toggle()},tapInstant:!0,tapAlsoSnap:!0})}}},window.IS_stories_init=function(){var t,e,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i="IS_stories";if(!document.querySelector('[data-is="'.concat(i,'"]'))){var a=(null===(t=window)||void 0===t?void 0:t.IS_custom("stories"))||{},c=a.where,l=void 0===c?"product":c,u=a.title,d=void 0===u?"":u,s=a.model,v=void 0===s?null:s;if("product"!=l||null!==(e=window)&&void 0!==e&&e.IS_page_product()){var f="product"==l?null===(n=window)||void 0===n?void 0:n.IS_platform_product_buy_selector:l,h=(null===(r=window)||void 0===r?void 0:r.IS_selector(f))||{},p=h.container,m=h.position,y=void 0===m?"beforebegin":m;if(p){var w=document.createElement("div");w.classList.add(i),w.setAttribute("data-is",i),w.setAttribute("data-preset",v),w.innerHTML='\n
    ').concat(d,'
    \n
    \n
    \n
    \n '),p.insertAdjacentElement(y,w),window.ISCarousel.create(o,{classRoot:i,root:w,template:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=void 0===e?"":e,r=t.videos,o=void 0===r?[]:r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(null==o?void 0:o.at(0))||{},c=a.thumbnail,l=void 0===c?"":c,u=a[140],d=void 0===u?"":u;return'\n
    \n \n
    \n ')},autoplayVideos:!0,playMode:"all-visible",onTap:function(t){var e,n,r=o.sort((function(e,n){return(String(n.id)===String(t))-(String(e.id)===String(t))}));window.IS_ishort_items=null!=r?r:[],null===(e=window)||void 0===e||null===(n=e.IS_short_prevideo)||void 0===n||n.call(e,r,{only_short:!0}),window.IS_toggle()},initialAlign:"left",tapInstant:!0,tapAlsoSnap:!0,disableSlide:!0,autoAdvanceOnEnd:!1})}}}},(()=>{function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(t,n)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n").concat(t,"

    "),Object.assign(c.style,{top:"".concat(o,"px"),left:r+i/2=a?"0":"auto",borderRadius:r+i/2>=a?"6px 0px 0px 6px":"0px 6px 6px 0px"}),c.onpointerdown=function(){e.style.display="flex",c.remove()},e.style.display="none",document.body.appendChild(c)}},window.IS_widget_drag=function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"product",i=function(){var t;return(null===(t=window.visualViewport)||void 0===t?void 0:t.width)||window.innerWidth},a=function(){var t;return(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight},c=(null===(e=window)||void 0===e||null===(n=e.IS_custom)||void 0===n?void 0:n.call(e,"widget"))||{},l=(null==c?void 0:c[o])||{},u=l.fixed?"absolute":"fixed",d=!(null==l||!l.preserve_scroll),s=parseFloat(null==l?void 0:l.size)||1,v=0,f=0,h=0,p=0,m=t.offsetLeft,y=t.offsetTop,w=!1,g=!0,_=null,S=null,b=document.createElement("div");b.classList.add("IS_widget_overlay"),t.style.position=u,t.style.touchAction="none",t.style.transformOrigin="top left";var I=function(){t.style.transform="translate3d(".concat(m,"px, ").concat(y,"px, 0) scale(").concat(s,")")},L={width:i(),height:a(),timestamp:performance.now()},E=function(){var e=t.offsetWidth*s,n=t.offsetHeight*s;m=Math.min(Math.max(0,m),i()-e),y=Math.min(Math.max(0,y),a()-n)},x=function(){var e=t.offsetWidth*s,n=t.offsetHeight*s,r=window.scrollX,o=window.scrollY,i=window.scrollX+window.innerWidth-e,a=window.scrollY+window.innerHeight-n;m=Math.min(Math.max(r,m),i),y=Math.min(Math.max(o,y),a)},C=function(){d&&(S&&cancelAnimationFrame(S),S=requestAnimationFrame((function(){var e=performance.now(),n=i(),r=a(),o=n-L.width,c=r-L.height;if(!(Math.abs(o)<1&&Math.abs(c)<1)){if(e-L.timestamp>100){var l=t.getBoundingClientRect();m="fixed"===u?l.left:l.left+window.scrollX,y="fixed"===u?l.top:l.top+window.scrollY}if(Math.abs(o)>0&&(m=m/L.width*n),Math.abs(c)>0)y>.5*L.height?y+=c:y=y/L.height*r;"fixed"===u?E():x(),t.style.transition="transform 0.2s cubic-bezier(.25,.46,.45,.94)",I(),L.width=n,L.height=r,L.timestamp=e,setTimeout((function(){return t.style.transition=""}),200),S=null}})))};d&&(window.visualViewport&&(window.visualViewport.addEventListener("resize",C,{passive:!0}),window.visualViewport.addEventListener("scroll",C,{passive:!0})),window.addEventListener("resize",C,{passive:!0})),t.addEventListener("pointerdown",(function(e){if("IS_widget_close"!==e.target.id){w=!0,g=!0;var n=t.getBoundingClientRect();"fixed"===u?(m=n.left,y=n.top,v=e.clientX,f=e.clientY,h=e.clientX-m,p=e.clientY-y):(m=n.left+window.scrollX,y=n.top+window.scrollY,v=e.pageX,f=e.pageY,h=e.pageX-m,p=e.pageY-y);try{t.setPointerCapture(e.pointerId)}catch(t){}document.body.appendChild(b)}})),document.addEventListener("pointermove",(function(t){w&&"IS_widget_close"!==t.target.id&&(_&&cancelAnimationFrame(_),_=requestAnimationFrame((function(){var e=("fixed"===u?t.clientX:t.pageX)-v,n=("fixed"===u?t.clientY:t.pageY)-f;e*e+n*n>25&&(g=!1),m=("fixed"===u?t.clientX:t.pageX)-h,y=("fixed"===u?t.clientY:t.pageY)-p,"fixed"===u?E():x(),I(),_=null})))})),document.addEventListener("pointerup",(function(e){if(w&&"IS_widget_close"!==e.target.id){var n;w=!1,_&&(cancelAnimationFrame(_),_=null),document.body.contains(b)&&document.body.removeChild(b),L.timestamp=performance.now(),g&&(!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:250,e=!1,n=function(t){var e;null===(e=t.stopImmediatePropagation)||void 0===e||e.call(t),t.stopPropagation(),t.preventDefault(),r()};function r(){e||(e=!0,window.removeEventListener("click",n,!0))}window.addEventListener("click",n,!0),setTimeout(r,t)}(250),e.preventDefault(),n=function(){var t=null==r?void 0:r.some((function(t){return null==t?void 0:t.feed}));try{var e,n;null===(e=window)||void 0===e||null===(n=e.IS_short_prevideo)||void 0===n||n.call(e,r,{only_short:!t})}catch(t){}try{IS_toggle()}catch(t){}},requestAnimationFrame((function(){return requestAnimationFrame(n)})));try{t.releasePointerCapture(e.pointerId)}catch(t){}}})),t._cleanup=function(){S&&cancelAnimationFrame(S),_&&cancelAnimationFrame(_),window.visualViewport&&(window.visualViewport.removeEventListener("resize",C),window.visualViewport.removeEventListener("scroll",C)),window.removeEventListener("resize",C),document.body.contains(b)&&document.body.removeChild(b)}},window.IS_widget_resize=function(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"product",o=null===(e=window)||void 0===e?void 0:e.IS_custom("widget"),i=t.querySelector("div"),a=(null==o||null===(n=o[r])||void 0===n?void 0:n.size)||"1",c=window.IS_device(),l=function(t,e){var n,i;return null!=o&&o[r]?c&&null!=o&&null!==(n=o[r])&&void 0!==n&&n["".concat(t,"_mobile")]?parseFloat(o[r]["".concat(t,"_mobile")]):parseFloat(null!==(i=o[r][t])&&void 0!==i?i:e):e},u=l("x",10),d=l("y",25),s=i.offsetWidth,v=i.offsetHeight,f=window.innerWidth,h=window.innerHeight,p=Math.min(Math.max(u,0),100)*(f-s)/100,m=Math.min(Math.max(d,0),100)*(h-v)/100;t.style.transform="translate3d(".concat(p,"px, ").concat(m,"px, 0) scale(").concat(a,")"),setTimeout((function(){t.style.transition="transform 200ms ease-out, opacity 400ms ease"}),500)},window.IS_widget_show_text=function(){var t=document.querySelector("#IS_widget span");if(t){var e=t.scrollWidth||180;Object.assign(t.style,{transition:"none",width:"0",padding:"8px 0"}),setTimeout((function(){Object.assign(t.style,{transition:"width 2s, padding 1s",width:"".concat(e,"px"),padding:"8px 14px"}),setTimeout((function(){return Object.assign(t.style,{width:"0",padding:"8px 0"})}),6e3)}),1e3)}},window.IS_widget_init=function(){var e,n,r,o,i,a,c,l,u,d,s,v,f,h,p,m,y,w,g,_=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],S=document.getElementById("IS_widget");if(S&&S.remove(),!((null===(e=window)||void 0===e||null===(n=e.IS_block_pages)||void 0===n?void 0:n.call(e))||[]).some((function(t){return window.location.href.includes(t)}))){var b=(null===(r=window)||void 0===r?void 0:r.IS_custom("widget"))||{},I=(null===(o=window)||void 0===o?void 0:o.IS_custom("feed.text"))||"For You";if(_&&_.length){window.IS_ishort_items=_||[];var L,E,x=_.some((function(t){return null==t?void 0:t.feed})),C=_.sort((function(t,e){return("products"==t.type?-1:1)-("products"==e.type?-1:1)})),O=null===(i=window)||void 0===i||null===(a=i.IS_current_page)||void 0===a?void 0:a.call(i),j=(null==b?void 0:b[O])||{},k=j.random,A=void 0!==k&&k,M=j.model,T=j.close,P=function(t){return A&&t.length?Math.random()*t.length|0:0},q=P(C),F=C.at(q)||{},N=F.videos,H=void 0===N?[]:N,G=F.highlight,B=void 0===G?"":G,D=P(H),V=H.at(D)||{},Y=V.thumbnail,X=void 0===Y?"":Y,z=V[140],W=void 0===z?"":z;if(null!=C&&C[q])C[q].current=!0,null!=C&&null!==(L=C[q])&&void 0!==L&&null!==(E=L.videos)&&void 0!==E&&E[D]&&(C[q].videos[D].current=!0);var R=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=document.createElement(e);if(!n.disable){for(var i=0,a=Object.entries(n);i');var U=Z.querySelector("video");null===(c=window)||void 0===c||null===(l=c.IS_prevent_change_widget)||void 0===l||l.call(c,U);var $=x?I||"":B||"",J=R("button",{id:"IS_widget_close",className:"IS_widget_close",innerHTML:null===(u=window)||void 0===u?void 0:u.IS_icon("close")});J.onpointerdown=function(){var t;return null===(t=window)||void 0===t?void 0:t.IS_widget_close($)};var Q=[R("div",{},[U])];Z.remove(),T&&Q.push(J);var K=R("div",{id:"IS_widget",className:"IS_widget",dataset:{preset:M,template:O},innerHTML:!["circular_text","circular_animation"].includes(M)&&$?"".concat($,""):'\n \n \n \n \n '.concat($,"\n \n \n \n ")},Q);document.body.appendChild(K),null===(d=window)||void 0===d||d.IS_widget_resize(K,O),null===(s=window)||void 0===s||null===(v=s.IS_widget_drag)||void 0===v||v.call(s,K,C,O),null===(f=window)||void 0===f||null===(h=f.IS_widget_show_text)||void 0===h||h.call(f),null===(p=window)||void 0===p||null===(m=p.IS_send_event)||void 0===m||m.call(p,null===(y=C.at(q))||void 0===y?void 0:y.id,W);var tt=new CustomEvent("ishorts:load",{detail:{ishorts:C,only_feed:x}});document.dispatchEvent(tt),null===(w=window)||void 0===w||null===(g=w.IS_short_prevideo)||void 0===g||g.call(w,C,{only_short:!x})}}},document.addEventListener("ishorts:load",(function(t){var e=document.querySelector("#IS_widget video");if(e){e.muted=!0;var n=function(){e.paused&&e.play().catch((function(){}))};setTimeout(n,800),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&n()}))}}))})()})();;