/*! For license information please see fluidplayer.min.js.LICENSE.txt */ !function(){var e,t,n,o,i={410:function(e,t,n){"use strict";var o=n(81),i=n.n(o),r=n(645),a=n.n(r),l=n(667),d=n.n(l),s=new URL(n(858),n.b),u=new URL(n(924),n.b),c=new URL(n(373),n.b),p=new URL(n(212),n.b),f=new URL(n(928),n.b),_=a()(i()),y=d()(s),m=d()(u),v=d()(c),g=d()(p),h=d()(f);_.push([e.id,".fluid_video_wrapper {\n animation: none;\n animation-delay: 0;\n animation-direction: normal;\n animation-duration: 0;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n backface-visibility: visible;\n background: 0;\n background-attachment: scroll;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0 0;\n background-position-x: 0;\n background-position-y: 0;\n background-repeat: repeat;\n background-size: auto auto;\n border: 0;\n border-style: none;\n border-width: medium;\n border-color: inherit;\n border-bottom: 0;\n border-bottom-color: inherit;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-bottom-style: none;\n border-bottom-width: medium;\n border-collapse: separate;\n border-image: none;\n border-left: 0;\n border-left-color: inherit;\n border-left-style: none;\n border-left-width: medium;\n border-radius: 0;\n border-right: 0;\n border-right-color: inherit;\n border-right-style: none;\n border-right-width: medium;\n border-spacing: 0;\n border-top: 0;\n border-top-color: inherit;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-top-style: none;\n border-top-width: medium;\n bottom: auto;\n box-shadow: none;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: inherit;\n columns: auto;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule: medium none currentColor;\n column-rule-color: currentColor;\n column-rule-style: none;\n column-rule-width: none;\n column-span: 1;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font: normal;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n height: auto;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n list-style: none;\n list-style-image: none;\n list-style-position: outside;\n list-style-type: disc;\n margin: 0;\n margin-bottom: 0;\n margin-left: 0;\n margin-right: 0;\n margin-top: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 0;\n outline: 0;\n outline-color: invert;\n outline-style: none;\n outline-width: medium;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n padding-bottom: 0;\n padding-left: 0;\n padding-right: 0;\n padding-top: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n position: static;\n /* May need to alter quotes for different locales (e.g fr) */\n quotes: '\\201C' '\\201D' '\\2018' '\\2019';\n right: auto;\n tab-size: 8;\n table-layout: auto;\n text-align: inherit;\n text-align-last: auto;\n text-decoration: none;\n text-decoration-color: inherit;\n text-decoration-line: none;\n text-decoration-style: solid;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n transform: none;\n transform-style: flat;\n transition: none;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: none;\n transition-timing-function: ease;\n unicode-bidi: normal;\n vertical-align: baseline;\n visibility: visible;\n white-space: normal;\n widows: 0;\n width: auto;\n word-spacing: normal;\n z-index: auto;\n -webkit-tap-highlight-color: transparent;\n}\n\n.fluid_video_wrapper canvas {\n pointer-events: none;\n}\n\n.fluid_video_wrapper,\n.fluid_video_wrapper * {\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.fluid_video_wrapper:after, .fluid_video_wrapper:before {\n content: none;\n}\n\n.fluid_video_wrapper {\n position: relative;\n display: inline-block;\n}\n\n.fluid_video_wrapper video {\n position: relative;\n background-color: #000000;\n display: block;\n}\n\n.fluid_video_wrapper .vast_video_loading {\n display: table;\n text-align: center;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n pointer-events: auto;\n z-index: 1;\n}\n\n.fluid_video_wrapper .vast_video_loading:before {\n background-image: url("+y+");\n background-position: center, center;\n background-repeat: no-repeat, repeat;\n background-color: rgba(0, 0, 0, 0.2);\n content: '';\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n}\n\n.skip_button {\n position: absolute;\n bottom: 50px;\n right: 0;\n background-color: rgba(0, 0, 0, 0.7);\n padding: 13px 21px 13px 21px;\n}\n\n.skip_button, .skip_button a {\n color: #ffffff;\n text-decoration: none;\n cursor: pointer;\n z-index: 10;\n font-size: 13px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-weight: normal;\n white-space: nowrap;\n text-align: start;\n}\n\n.skip_button a span.skip_button_icon {\n display: inline-block;\n text-align: left;\n width: 21px;\n position: relative;\n bottom: 20px;\n}\n\n.skip_button a span.skip_button_icon:before {\n background: url("+m+') no-repeat;\n position: absolute;\n height: 18px;\n width: 18px;\n top: 6px;\n content: "";\n opacity: 0.8;\n -webkit-transition: opacity 0.3s ease-in-out;\n -moz-transition: opacity 0.3s ease-in-out;\n -ms-transition: opacity 0.3s ease-in-out;\n -o-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n background-position: -122px -57px;\n}\n\n.skip_button a span.skip_button_icon:before:hover {\n opacity: 1;\n}\n\n.skip_button_disabled {\n cursor: default !important;\n padding: 13px 21px 13px 21px;\n}\n\n.close_button {\n position: absolute;\n background: #000000 url('+v+") no-repeat scroll center center;\n height: 16px;\n width: 16px;\n top: 0;\n right: 0;\n background-size: 18px 18px;\n cursor: pointer;\n padding: 1px;\n z-index: 31;\n}\n\n.close_button:hover {\n background-color: #000000;\n border: 1px solid #ffffff;\n}\n\n.vast_clickthrough_layer {\n /*IE Fix*/\n background-color: white;\n opacity: 0;\n}\n\n.fluid_ad_playing {\n position: absolute;\n background-color: black;\n opacity: 0.8;\n border-radius: 1px;\n color: #ffffff;\n font-size: 13px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-weight: normal;\n white-space: nowrap;\n text-align: start;\n line-height: 18px;\n z-index: 10;\n padding: 13px 21px 13px 21px;\n}\n\n.fluid_ad_cta {\n position: absolute;\n background-color: rgba(0, 0, 0, 0.7);\n color: #ffffff;\n font-size: 13px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-weight: normal;\n text-align: right;\n cursor: pointer;\n z-index: 10;\n padding: 13px 21px 13px 13px;\n max-width: 50%;\n}\n\n.fluid_ad_cta.left {\n text-align: left;\n}\n\n.fluid_ad_cta a {\n text-decoration: none;\n color: #ffffff;\n line-height: 18px;\n}\n\n.fluid_ad_cta:hover,\n.skip_button:not(.skip_button_disabled):hover {\n background-color: rgba(0, 0, 0, 1);\n}\n\n.fluid_html_on_pause,\n.fluid_pseudo_poster {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n margin: auto;\n z-index: 0;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n pointer-events: none;\n}\n\n.fluid_html_on_pause * {\n pointer-events: auto;\n}\n\n/*Mobile Layout*/\n.fluid_video_wrapper.mobile .skip_button {\n bottom: 50px;\n}\n\n/*\n.fluid_video_wrapper.mobile .fluid_ad_cta {\n bottom: 125px;\n}\n*/\n.fluid_initial_play {\n width: 60px;\n height: 60px;\n border-radius: 50px;\n cursor: pointer;\n}\n\n.fluid_initial_play_button {\n margin-top: 15px;\n margin-left: 23px;\n border-style: solid;\n border-width: 15px 0 15px 21px;\n border-color: transparent transparent transparent #ffffff;\n}\n\n.fluid_initial_pause_button {\n margin-top: 15px;\n margin-left: 17px;\n width: 8px;\n height: 31px;\n border: 9px solid white;\n border-top: 0;\n border-bottom: 0;\n}\n\n.fluid_timeline_preview {\n bottom: 11px;\n color: #ffffff;\n font-size: 13px;\n line-height: 18px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-weight: normal;\n text-align: start;\n padding: 13px 21px 13px 21px;\n background-color: rgba(0, 0, 0, 0.85);\n border-radius: 1px;\n}\n\n/* Duration */\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_fluid_control_duration {\n display: inline-block;\n position: absolute;\n left: 32px;\n height: 24px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-size: 13px;\n font-weight: normal;\n font-style: normal;\n text-align: left;\n text-decoration: none;\n line-height: 21px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_fluid_control_duration.cardboard_time {\n left: 13px;\n top: -15px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_fluid_control_duration.cardboard_time .ad_timer_prefix {\n color: #F2C94C;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .ad_countdown .ad_timer_prefix {\n color: #F2C94C;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .ad_countdown {\n /*display: none;*/\n position: absolute;\n right: 0;\n width: 75px;\n bottom: 5px;\n height: 24px;\n color: red;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-size: 13px;\n font-weight: normal;\n font-style: normal;\n text-align: left;\n text-decoration: none;\n line-height: 21px;\n}\n\n.initial_controls_show {\n visibility: visible !important;\n opacity: 1 !important;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container {\n color: white;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); /* FF3.6-15 */\n background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); /* Chrome10-25,Safari5.1-6 */\n background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#ad000000', GradientType=0); /* IE6-9 */\n height: 100%;\n width: 100%;\n z-index: 0;\n pointer-events: none;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel {\n height: 96px;\n width: 72px;\n left: 10px;\n top: 10px;\n position: absolute;\n background: rgba(0, 0, 0, 0.7);\n text-align: center;\n border-radius: 6px;\n overflow: hidden;\n pointer-events: auto;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_button {\n cursor: pointer;\n display: inline-block;\n text-align: left;\n height: 24px;\n width: 24px;\n position: relative;\n background: url("+m+") no-repeat;\n opacity: 0.8;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_button:hover {\n opacity: 1;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_joystick_up {\n background-position: -336px -55px;\n -webkit-transform: rotate(270deg); /* Chrome, Opera 15+, Safari 3.1+ */\n -ms-transform: rotate(270deg); /* IE 9 */\n transform: rotate(270deg); /* Firefox 16+, IE 10+, Opera */\n display: block;\n left: calc(50% - 12px);\n top: 0;\n position: absolute;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_joystick_left {\n background-position: -336px -55px;\n -webkit-transform: rotate(180deg); /* Chrome, Opera 15+, Safari 3.1+ */\n -ms-transform: rotate(1890deg); /* IE 9 */\n transform: rotate(180deg); /* Firefox 16+, IE 10+, Opera */\n display: block;\n left: 0;\n top: 24px;\n position: absolute;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_joystick_right {\n background-position: -336px -55px;\n -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */\n -ms-transform: rotate(0deg); /* IE 9 */\n transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */\n display: block;\n right: 0;\n top: 24px;\n position: absolute;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_joystick_down {\n background-position: -336px -55px;\n -webkit-transform: rotate(90deg); /* Chrome, Opera 15+, Safari 3.1+ */\n -ms-transform: rotate(90deg); /* IE 9 */\n transform: rotate(90deg); /* Firefox 16+, IE 10+, Opera */\n display: block;\n left: calc(50% - 12px);\n top: 48px;\n position: absolute;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_joystick_zoomdefault {\n background-position: -336px -17px;\n top: 72px;\n -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */\n -ms-transform: rotate(0deg); /* IE 9 */\n transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */\n position: absolute;\n left: calc(50% - 12px);\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_joystick_zoomin {\n background-position: -305px -55px;\n top: 72px;\n -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */\n -ms-transform: rotate(0deg); /* IE 9 */\n transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */\n position: absolute;\n right: 0;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vr_container .fluid_vr_joystick_panel .fluid_vr_joystick_zoomout {\n background-position: -305px -17px;\n top: 72px;\n -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */\n -ms-transform: rotate(0deg); /* IE 9 */\n transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */\n position: absolute;\n left: 0;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container.fluid_vr_controls_container {\n width: 50% !important;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container.fluid_vr2_controls_container {\n width: 50% !important;\n left: 50%;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container {\n color: white;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); /* FF3.6-15 */\n background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); /* Chrome10-25,Safari5.1-6 */\n background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#ad000000', GradientType=0); /* IE6-9 */\n height: 53px;\n z-index: 1;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vpaid_iframe {\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n left: 0;\n z-index: -10;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vpaid_nonlinear_slot_iframe {\n z-index: 30;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_vpaid_slot {\n position: absolute !important;\n top: 0 !important;\n width: 100% !important;\n height: 100% !important;\n left: 0 !important;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_subtitles_container {\n color: white;\n position: absolute;\n bottom: 46px;\n left: 0;\n right: 0;\n height: auto;\n z-index: 1;\n text-align: center;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_subtitles_container div {\n display: inline;\n background: black;\n color: white;\n font-size: 1em;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n padding: 0.25em;\n border-radius: 4px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fade_out {\n visibility: hidden;\n opacity: 0;\n -webkit-transition: visibility 0.5s, opacity 0.5s; /* Safari */\n transition: visibility 0.5s, opacity 0.5s;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fade_in {\n visibility: visible;\n opacity: 1;\n -webkit-transition: visibility 0.5s, opacity 0.5s; /* Safari */\n transition: visibility 0.5s, opacity 0.5s;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default.pseudo_fullscreen {\n width: 100% !important;\n height: 100% !important;\n top: 0;\n left: 0;\n position: fixed;\n z-index: 99999;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default:-webkit-full-screen {\n width: 100% !important;\n height: 100% !important;\n position: absolute;\n top: 0;\n left: 0;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default:-ms-fullscreen {\n width: 100% !important;\n height: 100% !important;\n position: absolute;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_context_menu {\n background-color: #000000;\n color: #ffffff;\n font-size: 13px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-weight: normal;\n white-space: nowrap;\n text-align: start;\n z-index: 11;\n opacity: 0.8;\n border-radius: 1px;\n}\n\n/* IE 10+ */\n_:-ms-lang(x),\n.fluid_video_wrapper.fluid_player_layout_default .fluid_context_menu {\n text-align: left;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_context_menu ul {\n list-style: none;\n padding: 0;\n margin: 0;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_context_menu ul li {\n padding: 13px 71px 13px 21px;\n cursor: pointer;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_context_menu ul li + li {\n border-top: 1px solid #000000;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_context_menu ul li:hover {\n background-color: #1e1e1e;\n color: #fbfaff;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_left {\n width: 24px;\n left: 20px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container.skip_controls .fluid_controls_left {\n width: 80px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button {\n width: 24px;\n height: 24px;\n -moz-user-select: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right {\n left: 60px;\n right: 20px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container.skip_controls .fluid_controls_right {\n left: 110px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_left,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right {\n position: absolute;\n height: 24px;\n top: 23px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container {\n height: 14px;\n position: absolute;\n left: 13px;\n right: 13px;\n z-index: 1;\n top: 8px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress {\n position: absolute;\n top: 5px;\n width: 100%;\n height: 4px;\n background-color: rgba(255, 255, 255, 0.25);\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_buffered {\n position: absolute;\n top: 5px;\n width: 0;\n height: 3px;\n background-color: rgba(255, 255, 255, 0.5);\n z-index: -1;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress .fluid_controls_currentprogress {\n position: absolute;\n height: 3px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_progress,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_buffered,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_ad_markers_holder {\n margin-top: -1px;\n height: 5px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container:hover .fluid_controls_progress .fluid_controls_currentprogress {\n height: 5px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_timeline_preview_container {\n border: 1px solid #262626;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_timeline_preview_container, .fluid_timeline_preview_container_shadow {\n bottom: 14px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container.fluid_slider .fluid_controls_progress .fluid_controls_currentprogress .fluid_controls_currentpos {\n background-color: white;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container.fluid_slider .fluid_controls_progress .fluid_controls_currentprogress .fluid_controls_currentpos,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container.fluid_ad_slider .fluid_controls_progress .fluid_controls_currentprogress .fluid_controls_currentpos {\n opacity: 0;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container.fluid_slider:hover .fluid_controls_progress .fluid_controls_currentprogress .fluid_controls_currentpos {\n opacity: 1;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container.fluid_slider .fluid_controls_progress .fluid_controls_currentprogress .fluid_controls_currentpos {\n -webkit-transition: opacity 0.3s; /* Safari */\n transition: opacity 0.3s;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_ad_markers_holder {\n position: absolute;\n top: 5px;\n width: 100%;\n height: 3px;\n z-index: 2;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_ad_marker {\n position: absolute;\n background-color: #FFCC00;\n height: 100%;\n width: 6px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container {\n height: 24px;\n width: 56px;\n left: 25px;\n top: -1px;\n z-index: 2;\n opacity: 0.8;\n -webkit-transition: opacity 0.3s ease-in-out;\n -moz-transition: opacity 0.3s ease-in-out;\n -ms-transition: opacity 0.3s ease-in-out;\n -o-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n display: none;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container:hover {\n opacity: 1;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container .fluid_control_volume {\n position: relative;\n height: 3px;\n width: 100%;\n margin-top: 10px;\n background-color: rgba(171, 172, 172, 0.68);\n z-index: 3;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container .fluid_control_volume .fluid_control_currentvolume {\n float: left;\n background-color: white;\n height: 3px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container .fluid_control_volume .fluid_control_currentvolume .fluid_control_volume_currentpos {\n background-color: white;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress .fluid_controls_currentpos {\n right: -4px;\n z-index: 3;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container .fluid_control_volume .fluid_control_currentvolume .fluid_control_volume_currentpos,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress .fluid_controls_currentpos {\n width: 11px;\n height: 11px;\n position: absolute;\n top: -4px;\n border-radius: 6px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_progress_container .fluid_controls_progress .fluid_controls_currentpos {\n width: 13px;\n height: 13px;\n position: absolute;\n top: -4px;\n border-radius: 6px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container.no_volume_bar .fluid_controls_right .fluid_control_volume_container {\n display: none;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_slider {\n cursor: pointer;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container div div {\n display: block;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button.fluid_button_fullscreen,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button.fluid_button_fullscreen_exit {\n float: right;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_video_source,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_subtitles,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_cardboard {\n font-size: 13px;\n height: 24px;\n line-height: 24px;\n float: right;\n cursor: pointer;\n position: relative;\n text-align: right;\n -webkit-touch-callout: none; /* iOS Safari */\n -webkit-user-select: none; /* Safari */\n -khtml-user-select: none; /* Konqueror HTML */\n -moz-user-select: none; /* Firefox */\n -ms-user-select: none; /* Internet Explorer/Edge */\n user-select: none;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_video_source .fluid_video_sources_title,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_subtitles .fluid_subtitles_title {\n width: 80px;\n overflow: hidden;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_subtitles .fluid_subtitles_list,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_video_source .fluid_video_sources_list,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_video_playback_rates {\n position: absolute;\n bottom: 25px;\n right: 3px;\n z-index: 888888;\n opacity: 99%;\n background-color: rgba(0, 0, 0, 1);\n border-radius: 2px;\n color: #ffffff;\n font-size: 13px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-weight: normal;\n white-space: nowrap;\n text-align: start;\n width: max-content;\n padding: 0.5em;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_subtitles .fluid_subtitles_list .fluid_subtitle_list_item,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_video_source .fluid_video_sources_list .fluid_video_source_list_item {\n padding: 12px 34px 12px 24px;\n line-height: 15px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_video_source .fluid_video_sources_list .fluid_video_source_list_item:hover,\n.fluid_video_playback_rates_item:hover,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_subtitles .fluid_subtitles_list .fluid_subtitle_list_item:hover {\n background-color: #3a3a3a;\n}\n\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button.fluid_button_volume,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button.fluid_button_mute {\n position: absolute;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button.fluid_button_volume,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button.fluid_button_mute {\n left: -10px;\n}\n\n/* Button Icons */\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_play,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_pause,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_back,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_forward,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_volume,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_mute,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_video_source,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen_exit,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_playback_rate,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_download,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_theatre,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_subtitles,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_cardboard {\n display: inline-block;\n text-align: left;\n height: 24px;\n width: 24px;\n position: relative;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_play:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_pause:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_back:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_forward:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_volume:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_mute:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_video_source:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen_exit:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_playback_rate:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_download:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_theatre:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_subtitles:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_cardboard:before {\n background: url("+m+') no-repeat;\n position: absolute;\n height: 24px;\n width: 24px;\n top: 1px;\n left: 5px;\n content: "";\n opacity: 0.8;\n -webkit-transition: opacity 0.3s ease-in-out;\n -moz-transition: opacity 0.3s ease-in-out;\n -ms-transition: opacity 0.3s ease-in-out;\n -o-transition: opacity 0.3s ease-in-out;\n transition: opacity 0.3s ease-in-out;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_play:before {\n background-position: -15px -19px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_pause:before {\n background-position: -15px -57px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_volume:before {\n background-position: -52px -19px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_mute:before {\n background-position: -52px -57px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen:before {\n background-position: -88px -19px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen_exit:before {\n background-position: -88px -57px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_video_source:before {\n background-position: -122px -19px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_playback_rate:before {\n background-position: -232px -19px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_download:before {\n background-position: -194px -18px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_theatre:before {\n background-position: -195px -56px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_subtitles:before {\n background-position: -269px -19px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_cardboard:before {\n background-position: -269px -56px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_back:before {\n background: url('+g+") no-repeat;\n background-position: -2px -2px;\n}\n\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_forward:before {\n background: url("+h+") no-repeat;\n background-position: -2px -2px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_back {\n margin-left: 5px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_video_source:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen_exit:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_fullscreen:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_mute:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_volume:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_pause:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_play:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_back:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_skip_forward:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_playback_rate:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_download:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_theatre:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_subtitles:hover:before,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_cardboard:hover:before {\n opacity: 1;\n}\n\n.fp_title {\n position: absolute;\n top: 10px;\n left: 10px;\n color: #ffffff;\n font-size: 15px;\n font-family: -apple-system, BlinkMacSystemFont, 'segoe ui', roboto, oxygen-sans, ubuntu, cantarell, 'helvetica neue', 'arial', sans-serif, 'apple color emoji', 'segoe ui emoji', 'segoe ui symbol';\n font-weight: normal;\n white-space: nowrap;\n}\n\n/* Pulse class and keyframe animation */\n.transform-active {\n animation: flash 1s infinite;\n display: inline-block !important;\n opacity: 0;\n}\n\n@-webkit-keyframes flash {\n 0% {\n opacity: 0.6;\n -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);\n }\n 70% {\n -webkit-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);\n }\n 100% {\n opacity: 0;\n display: none;\n -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);\n }\n}\n\n@keyframes flash {\n 0% {\n opacity: 0.6;\n -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);\n }\n 70% {\n -moz-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);\n box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);\n }\n 100% {\n opacity: 0;\n display: none;\n -moz-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);\n box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);\n }\n}\n\n.fluid_nonLinear_top, .fluid_nonLinear_middle, .fluid_nonLinear_bottom {\n flex-direction: column;\n align-items: center;\n cursor: pointer;\n display: flex;\n vertical-align: middle;\n align-content: center;\n border: 1px solid #777777;\n position: absolute;\n left: 50%;\n margin-right: -50%;\n background-color: rgba(0, 0, 0, 0.7);\n}\n\n.fluid_nonLinear_top {\n top: 20px;\n transform: translate(-50%);\n}\n\n.fluid_nonLinear_middle {\n top: 50%;\n transform: translate(-50%, -50%);\n}\n\n.fluid_nonLinear_bottom {\n bottom: 50px;\n transform: translate(-50%);\n}\n\n.fluid_vpaidNonLinear_top, .fluid_vpaidNonLinear_middle, .fluid_vpaidNonLinear_bottom {\n flex-direction: column;\n align-items: center;\n cursor: pointer;\n vertical-align: middle;\n align-content: center;\n position: absolute;\n display: flex;\n}\n\n.fluid_vpaidNonLinear_frame {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n\n.fluid_vpaidNonLinear_top {\n top: 20px;\n}\n\n.fluid_vpaidNonLinear_middle {\n top: 50%;\n}\n\n.fluid_vpaidNonLinear_bottom {\n bottom: 50px;\n}\n\n.add_icon_clickthrough {\n color: #F2C94C;\n line-height: 18px;\n text-overflow: ellipsis;\n max-width: 100%;\n white-space: nowrap;\n overflow: hidden;\n display: inline-block;\n}\n\n.add_icon_clickthrough:before {\n background: url("+m+') no-repeat;\n height: 18px;\n width: 18px;\n top: 30px;\n padding: 3px 22px 0 0;\n content: "";\n background-position: -162px -57px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_theatre,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_playback_rate,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_video_source,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_download,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_subtitles,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_cardboard {\n float: right;\n padding-right: 5px;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_theatre,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_playback_rate,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_video_source,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_download,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_subtitles,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_button.fluid_button_cardboard {\n display: none;\n}\n\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_subtitles .fluid_subtitles_list,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_button_video_source .fluid_video_sources_list,\n.fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_video_playback_rates {\n z-index: 888888 !important;\n opacity: 0.9 !important;\n}\n\n.fluid_video_playback_rates_item {\n padding: 9px 25px 9px 25px;\n line-height: 15px;\n text-align: center;\n}\n\n.fluid_theatre_mode {\n position: fixed;\n float: left;\n top: 0;\n z-index: 10;\n box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.8);\n}\n\n.source_button_icon {\n background: url('+m+") no-repeat;\n float: left;\n cursor: pointer;\n height: 18px;\n width: 18px;\n background-position: -164px -21px;\n opacity: 0;\n}\n\n.subtitle_button_icon {\n background: url("+m+") no-repeat;\n float: left;\n cursor: pointer;\n height: 18px;\n width: 18px;\n background-position: -164px -21px;\n opacity: 0;\n}\n\n.source_selected {\n opacity: 1 !important;\n}\n\n.subtitle_selected {\n opacity: 1 !important;\n}\n\n@media only screen and (min-device-width: 375px) {\n .fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_fluid_control_duration {\n left: 105px;\n }\n\n .fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container.no_volume_bar .fluid_fluid_control_duration {\n left: 32px;\n }\n\n .fluid_video_wrapper.fluid_player_layout_default .fluid_controls_container .fluid_controls_right .fluid_control_volume_container {\n display: block;\n }\n}\n\n.fp_logo {\n visibility: hidden;\n opacity: 0;\n -webkit-transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;\n -moz-transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;\n -ms-transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;\n -o-transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;\n transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;\n}\n\n.fp_hd_source::before {\n font-weight: bolder;\n font-size: 6pt;\n content: 'HD';\n padding-left: 3px;\n}\n",""]),t.Z=_},645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",o=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),o&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),o&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,o,i,r){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(o)for(var l=0;l0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=r),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},667:function(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},81:function(e){"use strict";e.exports=function(e){return e[1]}},702:function(e,t,n){e.exports=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,i=void 0,r=void 0,a=function(e,t){f[o]=e,f[o+1]=t,2===(o+=2)&&(r?r(_):h())};var l="undefined"!=typeof window?window:void 0,d=l||{},s=d.MutationObserver||d.WebKitMutationObserver,u="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),c="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(_,1)}}var f=new Array(1e3);function _(){for(var e=0;e0?" ".concat(n.layer):""," {")),o+=n.css,i&&(o+="}"),n.media&&(o+="}"),n.supports&&(o+="}");var r=n.sourceMap;r&&"undefined"!=typeof btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleTagTransform(o,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},373:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGIiBoZWlnaHQ9IjI0IiB3aWR0aD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogICAgPHBhdGggZD0iTTE5IDYuNDFMMTcuNTkgNSAxMiAxMC41OSA2LjQxIDUgNSA2LjQxIDEwLjU5IDEyIDUgMTcuNTkgNi40MSAxOSAxMiAxMy40MSAxNy41OSAxOSAxOSAxNy41OSAxMy40MSAxMnoiLz4NCiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+DQo8L3N2Zz4NCg=="},924:function(e,t,n){"use strict";e.exports=n.p+"6aef4fee473c54e96ff8.svg"},858:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0ibGRzLWVjbGlwc2UiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBzdHlsZT0iYmFja2dyb3VuZDowIDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIg0KICAgICB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8cGF0aCBkPSJNNjguMDk1IDU5LjU3OEEyMCAyMCAwIDAwMzEuMTQgNDQuMjdhMjIgMjAtNjcuNSAwMTM2Ljk1NSAxNS4zMDgiIGZpbGw9IiNmZmYiPg0KICAgICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIGJlZ2luPSIwcyIgY2FsY01vZGU9ImxpbmVhciIgZHVyPSIwLjhzIiBrZXlUaW1lcz0iMDsxIg0KICAgICAgICAgICAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgdHlwZT0icm90YXRlIiB2YWx1ZXM9IjAgNTAgNTE7MzYwIDUwIDUxIi8+DQogICAgPC9wYXRoPg0KPC9zdmc+DQo="},212:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiPg0KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMFYweiIgZmlsbD0ibm9uZSIvPg0KICAgIDxwYXRoDQogICAgICAgIGQ9Ik0xMS45OSA1VjFsLTUgNSA1IDVWN2MzLjMxIDAgNiAyLjY5IDYgNnMtMi42OSA2LTYgNi02LTIuNjktNi02aC0yYzAgNC40MiAzLjU4IDggOCA4czgtMy41OCA4LTgtMy41OC04LTgtOHptLTEuMSAxMWgtLjg1di0zLjI2bC0xLjAxLjMxdi0uNjlsMS43Ny0uNjNoLjA5VjE2em00LjI4LTEuNzZjMCAuMzItLjAzLjYtLjEuODJzLS4xNy40Mi0uMjkuNTctLjI4LjI2LS40NS4zMy0uMzcuMS0uNTkuMS0uNDEtLjAzLS41OS0uMS0uMzMtLjE4LS40Ni0uMzMtLjIzLS4zNC0uMy0uNTctLjExLS41LS4xMS0uODJ2LS43NGMwLS4zMi4wMy0uNi4xLS44MnMuMTctLjQyLjI5LS41Ny4yOC0uMjYuNDUtLjMzLjM3LS4xLjU5LS4xLjQxLjAzLjU5LjEuMzMuMTguNDYuMzMuMjMuMzQuMy41Ny4xMS41LjExLjgydi43NHptLS44NS0uODZjMC0uMTktLjAxLS4zNS0uMDQtLjQ4cy0uMDctLjIzLS4xMi0uMzEtLjExLS4xNC0uMTktLjE3LS4xNi0uMDUtLjI1LS4wNS0uMTguMDItLjI1LjA1LS4xNC4wOS0uMTkuMTctLjA5LjE4LS4xMi4zMS0uMDQuMjktLjA0LjQ4di45N2MwIC4xOS4wMS4zNS4wNC40OHMuMDcuMjQuMTIuMzIuMTEuMTQuMTkuMTcuMTYuMDUuMjUuMDUuMTgtLjAyLjI1LS4wNS4xNC0uMDkuMTktLjE3LjA5LS4xOS4xMS0uMzIuMDQtLjI5LjA0LS40OHYtLjk3eiIvPg0KPC9zdmc+DQo="},928:function(e){"use strict";e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI0IDI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIGZpbGw9IndoaXRlIiB3aWR0aD0iMjRweCINCiAgICAgaGVpZ2h0PSIyNHB4Ij4NCiAgICA8Zz4NCiAgICAgICAgPHJlY3QgZmlsbD0ibm9uZSIgaGVpZ2h0PSIyNCIgd2lkdGg9IjI0Ii8+DQogICAgICAgIDxyZWN0IGZpbGw9Im5vbmUiIGhlaWdodD0iMjQiIHdpZHRoPSIyNCIvPg0KICAgICAgICA8cmVjdCBmaWxsPSJub25lIiBoZWlnaHQ9IjI0IiB3aWR0aD0iMjQiLz4NCiAgICA8L2c+DQogICAgPGc+DQogICAgICAgIDxnLz4NCiAgICAgICAgPGc+DQogICAgICAgICAgICA8cGF0aA0KICAgICAgICAgICAgICAgIGQ9Ik0xOCwxM2MwLDMuMzEtMi42OSw2LTYsNnMtNi0yLjY5LTYtNnMyLjY5LTYsNi02djRsNS01bC01LTV2NGMtNC40MiwwLTgsMy41OC04LDhjMCw0LjQyLDMuNTgsOCw4LDhzOC0zLjU4LDgtOEgxOHoiLz4NCiAgICAgICAgICAgIDxwb2x5Z29uIHBvaW50cz0iMTAuOSwxNiAxMC45LDExLjczIDEwLjgxLDExLjczIDkuMDQsMTIuMzYgOS4wNCwxMy4wNSAxMC4wNSwxMi43NCAxMC4wNSwxNiIvPg0KICAgICAgICAgICAgPHBhdGgNCiAgICAgICAgICAgICAgICBkPSJNMTQuMzIsMTEuNzhjLTAuMTgtMC4wNy0wLjM3LTAuMS0wLjU5LTAuMXMtMC40MSwwLjAzLTAuNTksMC4xcy0wLjMzLDAuMTgtMC40NSwwLjMzcy0wLjIzLDAuMzQtMC4yOSwwLjU3IHMtMC4xLDAuNS0wLjEsMC44MnYwLjc0YzAsMC4zMiwwLjA0LDAuNiwwLjExLDAuODJzMC4xNywwLjQyLDAuMywwLjU3czAuMjgsMC4yNiwwLjQ2LDAuMzNzMC4zNywwLjEsMC41OSwwLjFzMC40MS0wLjAzLDAuNTktMC4xIHMwLjMzLTAuMTgsMC40NS0wLjMzczAuMjItMC4zNCwwLjI5LTAuNTdzMC4xLTAuNSwwLjEtMC44MlYxMy41YzAtMC4zMi0wLjA0LTAuNi0wLjExLTAuODJzLTAuMTctMC40Mi0wLjMtMC41NyBTMTQuNDksMTEuODUsMTQuMzIsMTEuNzh6IE0xNC4zMywxNC4zNWMwLDAuMTktMC4wMSwwLjM1LTAuMDQsMC40OHMtMC4wNiwwLjI0LTAuMTEsMC4zMnMtMC4xMSwwLjE0LTAuMTksMC4xNyBzLTAuMTYsMC4wNS0wLjI1LDAuMDVzLTAuMTgtMC4wMi0wLjI1LTAuMDVzLTAuMTQtMC4wOS0wLjE5LTAuMTdzLTAuMDktMC4xOS0wLjEyLTAuMzJzLTAuMDQtMC4yOS0wLjA0LTAuNDh2LTAuOTcgYzAtMC4xOSwwLjAxLTAuMzUsMC4wNC0wLjQ4czAuMDYtMC4yMywwLjEyLTAuMzFzMC4xMS0wLjE0LDAuMTktMC4xN3MwLjE2LTAuMDUsMC4yNS0wLjA1czAuMTgsMC4wMiwwLjI1LDAuMDUgczAuMTQsMC4wOSwwLjE5LDAuMTdzMC4wOSwwLjE4LDAuMTIsMC4zMXMwLjA0LDAuMjksMC4wNCwwLjQ4VjE0LjM1eiIvPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+DQo="}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={id:e,exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.m=i,a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},a.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);a.r(i);var r={};e=e||[null,t({}),t([]),t(t)];for(var l=2&o&&n;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((function(e){r[e]=function(){return n[e]}}));return r.default=function(){return n},a.d(i,r),i},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return({112:"dashjs",366:"panolens",490:"webvtt",602:"hlsjs",721:"vttjs"}[e]||e)+"."+{112:"ac8d0635fe405cfae240",366:"0e7b24b7f7ead0f8af07",407:"6f735c824f5e83f5bd0f",490:"b41ca0d81616f1dc56af",602:"4b0a23d10da9eba746aa",721:"f3947aacfbfc044aea48"}[e]+".min.js"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},o="fluid-player:",a.l=function(e,t,i,r){if(n[e])n[e].push(t);else{var l,d;if(void 0!==i)for(var s=document.getElementsByTagName("script"),u=0;u=0;--o){var r=this.tryEntries[o],a=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var l=i.call(r,"catchLoc"),d=i.call(r,"finallyLoc");if(l&&d){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&i.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var i=o.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,r,a,l=[],d=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;d=!1}else for(;!(d=(o=r.call(n)).done)&&(l.push(o.value),l.length!==t);d=!0);}catch(e){s=!0,i=e}finally{try{if(!d&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(e,t)||c(e,t)||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(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,o=new Array(t);ne.length)&&(t=e.length);for(var n=0,o=new Array(t);n=0;--i){var r=this.tryEntries[i],a=r.completion;if("root"===r.tryLoc)return o("end");if(r.tryLoc<=this.prev){var l=n.call(r,"catchLoc"),d=n.call(r,"finallyLoc");if(l&&d){if(this.prev=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var i=o.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}function m(e,t,n,o,i,r,a){try{var l=e[r](a),d=l.value}catch(e){return void n(e)}l.done?t(d):Promise.resolve(d).then(o,i)}function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw r}}}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<\/script>'),e.tempVpaidCounter=0,e.getVPAIDAdInterval=setInterval((function(){var n=o.contentWindow.getVPAIDAd;if(n&&"function"==typeof n)e.vpaidAdUnit&&e.hardStopVpaidAd(t),e.vpaidAdUnit=n(),clearInterval(e.getVPAIDAdInterval),e.checkVPAIDInterface(e.vpaidAdUnit)&&(e.getVpaidAdLinear()?(e.isCurrentlyPlayingAd=!0,e.switchPlayerToVpaidMode(t)):(e.debugMessage("non linear vpaid ad is loaded"),e.loadVpaidNonlinearAssets(t)));else{if(e.tempVpaidCounter++,e.tempVpaidCounter>=20)return clearInterval(e.getVPAIDAdInterval),e.rollsById[t.rollListId].error=!0,e.playMainVideoWhenVpaidFails(403),!1;e.debugMessage(e.tempVpaidCounter)}}),100)},e.onVpaidEnded=function(t){if(t&&t.stopImmediatePropagation(),e.vpaidAdUnit){var n=document.getElementById(e.videoPlayerId+"_fluid_vpaid_slot");e.vpaidCallbackListenersDetach(),e.vpaidAdUnit=null,clearInterval(e.getVPAIDAdInterval),n&&n.remove(),e.checkForNextAd()}},e.playMainVideoWhenVpaidFails=function(t){var n=document.getElementById(e.videoPlayerId+"_fluid_vpaid_slot");n&&n.remove(),clearInterval(e.getVPAIDAdInterval),e.playMainVideoWhenVastFails(t)}},function(e,t){function n(e){var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,r=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw r}}}}(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;if(void 0===o.data.attributes.sequence)return[o]}}catch(e){n.e(e)}finally{n.f()}return[]}function r(e,t){return a.apply(this,arguments)}function a(){var t;return t=o().mark((function t(a,d){var s,u,c,p,f,_,y,m,v,g,h,b,w,C,I,A,k,x,L,E=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=E.length>3&&void 0!==E[3]?E[3]:0,u=!(E.length>4&&void 0!==E[4])||E[4],c=l(l({},E.length>2&&void 0!==E[2]?E[2]:{}),{},{children:[]}),t.next=6,e.sendRequestAsync(a,!0,e.displayOptions.vastOptions.vastTimeout);case 6:p=t.sent,f=p.responseXML,_=Array.from(f.getElementsByTagName("Ad")),y=0,m=_;case 10:if(!(y1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return Array.isArray(e.children)&&e.children.length&&e.children.forEach((function(n){return d(n,t,[].concat(s(e.wrappers||[]),[e.data]))})),"ad"===e.type&&t.push(l(l({},e),{},{wrappers:n.filter(Boolean)})),t}e.setCTAFromVast=function(t,n){if(e.displayOptions.vastOptions.adCTATextVast&&t){var o=e.extractNodeDataByTagName(t,"MobileText"),i=e.extractNodeDataByTagName(t,"PCText"),r=e.extractNodeDataByTagName(t,"DisplayUrl")||e.extractNodeDataByTagName(t,"Link"),a=e.extractNodeDataByTagName(t,"Tracking"),l=window.matchMedia("(max-width: 768px)").matches;(i||o)&&a&&(n.titleCTA={text:l?o||i:i||o,link:r||null,tracking:a})}},e.getClickThroughUrlFromLinear=function(t){var n=t.getElementsByTagName("VideoClicks");if(n.length){var o=n[0].getElementsByTagName("ClickThrough");if(o.length)return e.extractNodeData(o[0])}return!1},e.getVastAdTagUriFromWrapper=function(t){var n=t.getElementsByTagName("Wrapper");if(void 0!==n&&n.length){var o=n[0].getElementsByTagName("VASTAdTagURI");if(o.length)return e.extractNodeData(o[0])}return!1},e.hasInLine=function(e){var t=e.getElementsByTagName("InLine");return void 0!==t&&t.length},e.hasVastAdTagUri=function(e){var t=e.getElementsByTagName("VASTAdTagURI");return void 0!==t&&t.length},e.getClickThroughUrlFromNonLinear=function(t){var n="";if(t.getElementsByTagName("NonLinear").length){var o=t.getElementsByTagName("NonLinearClickThrough");o.length&&(n=e.extractNodeData(o[0]))}return n},e.getTrackingFromLinear=function(e){var t=e.getElementsByTagName("TrackingEvents");return t.length?t[0].getElementsByTagName("Tracking"):[]},e.getDurationFromLinear=function(t){var n=t.getElementsByTagName("Duration");if(n.length&&void 0!==n[0].childNodes[0]){var o=e.extractNodeData(n[0]);return e.convertTimeStringToSeconds(o)}return!1},e.getDurationFromNonLinear=function(t){var n=0,o=t.getElementsByTagName("NonLinear");return o.length&&void 0!==o[0].getAttribute("minSuggestedDuration")&&(n=e.convertTimeStringToSeconds(o[0].getAttribute("minSuggestedDuration"))),n},e.getDimensionFromNonLinear=function(e){var t={width:null,height:null},n=e.getElementsByTagName("NonLinear");return n.length&&(void 0!==n[0].getAttribute("width")&&(t.width=n[0].getAttribute("width")),void 0!==n[0].getAttribute("height")&&(t.height=n[0].getAttribute("height"))),t},e.getCreativeTypeFromStaticResources=function(e){var t="",n=e.getElementsByTagName("NonLinear");return n.length&&void 0!==n[0].childNodes[0]&&(t=n[0].getElementsByTagName("StaticResource")[0].getAttribute("creativeType")),t.toLowerCase()},e.getMediaFilesFromLinear=function(e){var t=e.getElementsByTagName("MediaFiles");return t.length?t[0].getElementsByTagName("MediaFile"):[]},e.getStaticResourcesFromNonLinear=function(e){var t=[],n=e.getElementsByTagName("NonLinear");return n.length&&(t=n[0].getElementsByTagName("StaticResource")),t},e.extractNodeDataByTagName=function(t,n){var o=t.getElementsByTagName(n);return o&&o.length?e.extractNodeData(o[0]):null},e.extractNodeData=function(e){for(var t="",n=0;n0?(n=t.fallbackVastTags.shift(),e.processUrl(n,i,o)):("preRoll"===t.roll&&e.preRollFail(t),e.rollsById[o].error=!0)}),o)},e.processUrl=function(t,n,o){e.resolveVastTag(t,0,{tracking:[],stopTracking:[],impression:[],clicktracking:[],vastLoaded:!1},n,o)},e.resolveVastTag=function(t,n,o,a,u){if(!t||""===t)return a(!1);r(t,e.displayOptions.vastOptions.maxAllowedVastTagRedirects).then((function(t){try{var n=t.children.some((function(e){return"wrapper"===e.type&&e.fallbackOnNoAd&&(!/"type":"ad"/.test(JSON.stringify(e))||e.httpError)}));n&&e.debugMessage("Error on VAST Wrapper, triggering fallbackOnNoAd. Ad tree:",t),t=d(t).map((function(t){return function(t){var n=t.data;if(n){var o=Array.from(n.getElementsByTagName("Creative")).splice(0,1);return o.length&&o.forEach((function(o){if("linear"===t.adType){var i=o.getElementsByTagName("Linear")[0];!e.hasVastAdTagUri(n)&&e.hasInLine(n)&&(t.adFinished=!1,t.vpaid=!1,t.skipoffset=e.convertTimeStringToSeconds(i.getAttribute("skipoffset")),t.clickthroughUrl=e.getClickThroughUrlFromLinear(i),t.duration=e.getDurationFromLinear(i),t.mediaFileList=e.getMediaFileListFromLinear(i),t.adParameters=e.getAdParametersFromLinear(i),t.iconClick=t.iconClick||e.getIconClickThroughFromLinear(i),t.adParameters&&(t.vpaid=!0))}if("nonLinear"===t.adType){var r=o.getElementsByTagName("NonLinearAds")[0];!e.hasVastAdTagUri(n)&&e.hasInLine(n)&&(t.vpaid=!1,t.clickthroughUrl=e.getClickThroughUrlFromNonLinear(r),t.duration=e.getDurationFromNonLinear(r),t.dimension=e.getDimensionFromNonLinear(r),t.staticResource=e.getStaticResourceFromNonLinear(r),t.creativeType=e.getCreativeTypeFromStaticResources(r),t.adParameters=e.getAdParametersFromLinear(r),t.adParameters&&(t.vpaid=!0))}})),t}}(function(t,n){var o=l(l({},t),JSON.parse(JSON.stringify(n)));return o.adType=(o.data.getElementsByTagName("Linear").length?"linear":o.data.getElementsByTagName("NonLinearAds").length&&"nonLinear")||"unknown",[].concat(s(o.wrappers||[]),[o.data]).filter(Boolean).forEach((function(t){var n=t.getElementsByTagName("Impression");null!==n&&e.registerImpressionEvents(n,o);var r=t.getElementsByTagName("Error");null!==r&&e.registerErrorEvents(r,o);var a=i(t.getElementsByTagName("TitleCTA"),1)[0];a&&e.setCTAFromVast(a,o),e.registerTrackingEvents(t,o);var l="linear"===o.type?e.getClickTrackingEvents(t):e.getNonLinearClickTrackingEvents(t);e.registerClickTracking(l,o)})),o.sequence=o.data.attributes.sequence?Number(o.data.attributes.sequence.value):null,o.played=!1,o}(t,o))}));var r=(c=t,p=e.rollsById[u].maxTotalDuration||Number.MAX_SAFE_INTEGER,f=e.rollsById[u].maxTotalQuantity||Number.MAX_SAFE_INTEGER,_=n,y=c.filter((function(e){return Boolean(e.sequence)})).sort((function(e,t){return e.sequence-t.sequence})).reduce((function(e,t){return e.adPod.length0&&!_&&v?(e.debugMessage("Playing valid adPod",y),y):(e.debugMessage("Trying to play single ad, adBuffet:",m),m.length>0?[m[0]]:[]));r&&r.length?a(!0,r):a(!1)}catch(e){a(!1)}var c,p,f,_,y,m,v})).catch((function(){return a(!1)}))},e.setVastList=function(){var t,n,o={},i={preRoll:[],postRoll:[],midRoll:[],onPauseRoll:[]},r={id:null,roll:null,vastLoaded:!1,error:!1,adText:null,adTextPosition:null},a=0,l=function(e){var t=!1;return"midRoll"===e.roll&&void 0===e.timer&&(t=!0),t};if(e.displayOptions.vastOptions.hasOwnProperty("adList"))for(var d in e.displayOptions.vastOptions.adList){var s=e.displayOptions.vastOptions.adList[d];if(n=void 0,n=!1,(t=s).vastTag||(e.announceLocalError(102,'"vastTag" property is missing from adList.'),n=!0),t.roll||(e.announceLocalError(102,'"roll" is missing from adList.'),n=!0),-1===e.availableRolls.indexOf(t.roll)&&(e.announceLocalError(102,"Only "+e.availableRolls.join(",")+" rolls are supported."),n=!0),t.size&&-1===e.supportedNonLinearAd.indexOf(t.size)&&(e.announceLocalError(102,"Only "+e.supportedNonLinearAd.join(",")+" size are supported."),n=!0),n)e.announceLocalError(102,"Wrong adList parameters.");else{var u="ID"+a;o[u]=Object.assign({},r),o[u]=Object.assign(o[u],e.displayOptions.vastOptions.adList[d]),"midRoll"===s.roll&&(o[u].error=l("midRoll")),o[u].id=u,o[u].ads=[],a++}}Object.keys(o).map((function(e){switch(o[e].roll.toLowerCase()){case"preRoll".toLowerCase():i.preRoll.push(o[e]);break;case"midRoll".toLowerCase():i.midRoll.push(o[e]);break;case"postRoll".toLowerCase():i.postRoll.push(o[e]);break;case"onPauseRoll".toLowerCase():i.onPauseRoll.push(o[e]);break;default:console.error("".concat(o[e].roll.toLowerCase()," is not a recognized roll"))}})),e.adGroupedByRolls=i,e.rollsById=o},e.onVastAdEnded=function(t){t&&t.stopImmediatePropagation(),e.vastOptions.adFinished=!0,e.deleteVastAdElements(),e.checkForNextAd()},e.vastLogoBehaviour=function(t){if(!e.displayOptions.layoutControls.logo.showOverAds){var n=document.getElementById(e.videoPlayerId+"_logo"),o=document.getElementById(e.videoPlayerId+"_logo_image");if(!n||!o)return;n.style.display=t?"none":"inline"}},e.deleteVastAdElements=function(){e.removeClickthrough(),e.removeSkipButton(),e.removeAdCountdown(),e.removeAdPlayingText(),e.removeCTAButton(),e.vastLogoBehaviour(!1)}},function(e,t){e.createCardboardJoystickButton=function(t){var n=document.getElementById(e.videoPlayerId+"_fluid_vr_joystick_panel"),o=document.createElement("div");return o.id=e.videoPlayerId+"_fluid_vr_joystick_"+t,o.className="fluid_vr_button fluid_vr_joystick_"+t,n.appendChild(o),o},e.cardboardRotateLeftRight=function(t){var n=e.vrROTATION_POSITION,o=-e.vrROTATION_POSITION,i={val:t<1?n:o};new TWEEN.Tween(i).to({val:0},e.vrROTATION_SPEED).easing(TWEEN.Easing.Quadratic.InOut).onUpdate((function(){e.vrViewer.OrbitControls.rotateLeft(i.val)})).start()},e.cardboardRotateUpDown=function(t){var n=e.vrROTATION_POSITION,o=-e.vrROTATION_POSITION,i={val:t<1?n:o};new TWEEN.Tween(i).to({val:0},e.vrROTATION_SPEED).easing(TWEEN.Easing.Quadratic.InOut).onUpdate((function(){e.vrViewer.OrbitControls.rotateUp(i.val)})).start()},e.createCardboardJoystick=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_vr_container"),n=document.createElement("div");n.id=e.videoPlayerId+"_fluid_vr_joystick_panel",n.className="fluid_vr_joystick_panel",t.appendChild(n);var o=e.createCardboardJoystickButton("up"),i=e.createCardboardJoystickButton("left"),r=e.createCardboardJoystickButton("right"),a=e.createCardboardJoystickButton("down"),l=e.createCardboardJoystickButton("zoomdefault"),d=e.createCardboardJoystickButton("zoomin"),s=e.createCardboardJoystickButton("zoomout");o.addEventListener("click",(function(){e.cardboardRotateUpDown(1)})),a.addEventListener("click",(function(){e.cardboardRotateUpDown(0)})),r.addEventListener("click",(function(){e.cardboardRotateLeftRight(0)})),i.addEventListener("click",(function(){e.cardboardRotateLeftRight(1)})),l.addEventListener("click",(function(){e.vrViewer.camera.fov=60,e.vrViewer.camera.updateProjectionMatrix()})),s.addEventListener("click",(function(){e.vrViewer.camera.fov*=1.1,e.vrViewer.camera.updateProjectionMatrix()})),d.addEventListener("click",(function(){e.vrViewer.camera.fov*=.9,e.vrViewer.camera.updateProjectionMatrix()}))},e.cardBoardResize=function(){e.domRef.player.addEventListener("theatreModeOn",(function(){e.vrViewer.onWindowResize()})),e.domRef.player.addEventListener("theatreModeOff",(function(){e.vrViewer.onWindowResize()}))},e.cardBoardSwitchToNormal=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_vr_joystick_panel"),n=document.getElementById(e.videoPlayerId+"_fluid_controls_container"),o=e.domRef.player;e.vrViewer.enableEffect(PANOLENS.MODES.NORMAL),e.vrViewer.onWindowResize(),e.vrMode=!1;var i=o.parentNode.getElementsByClassName("fluid_vr2_controls_container")[0];o.parentNode.removeChild(i),e.displayOptions.layoutControls.showCardBoardJoystick&&t&&(t.style.display="block"),n.classList.remove("fluid_vr_controls_container"),document.getElementById(e.videoPlayerId+"_fluid_control_volume_container").style.display="block";var r=document.getElementById("ad_countdown"+e.videoPlayerId),a=document.getElementById(e.videoPlayerId+"_fluid_cta"),l=document.getElementById(e.videoPlayerId+"_fluid_ad_playing"),d=document.getElementById("skip_button_"+e.videoPlayerId);r&&(r.style.display="block"),a&&(a.style.display="block"),l&&(l.style.display="block"),d&&(d.style.display="block")},e.cardBoardHideDefaultControls=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_vr_joystick_panel"),n=document.getElementById(e.videoPlayerId+"_fluid_initial_play"),o=document.getElementById(e.videoPlayerId+"_fluid_control_volume_container");e.displayOptions.layoutControls.showCardBoardJoystick&&t&&(t.style.display="none"),n&&(document.getElementById(e.videoPlayerId+"_fluid_initial_play").style.display="none",document.getElementById(e.videoPlayerId+"_fluid_initial_play_button").style.opacity="1"),o.style.display="none"},e.cardBoardCreateVRControls=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_controls_container").cloneNode(!0);t.removeAttribute("id"),t.querySelectorAll("*").forEach((function(e){e.removeAttribute("id")})),t.classList.add("fluid_vr2_controls_container"),e.domRef.player.parentNode.insertBefore(t,e.domRef.player.nextSibling),e.copyEvents(t)},e.cardBoardSwitchToVR=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_controls_container");e.vrViewer.enableEffect(PANOLENS.MODES.CARDBOARD),e.vrViewer.onWindowResize(),e.vrViewer.disableReticleControl(),e.vrMode=!0,t.classList.add("fluid_vr_controls_container"),e.cardBoardHideDefaultControls(),e.cardBoardCreateVRControls();var n=document.getElementById("ad_countdown"+e.videoPlayerId),o=document.getElementById(e.videoPlayerId+"_fluid_cta"),i=document.getElementById(e.videoPlayerId+"_fluid_ad_playing"),r=document.getElementById("skip_button_"+e.videoPlayerId);n&&(n.style.display="none"),o&&(o.style.display="none"),i&&(i.style.display="none"),r&&(r.style.display="none")},e.cardBoardMoveTimeInfo=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_control_duration"),n=document.getElementById(e.videoPlayerId+"_fluid_controls_container");t.classList.add("cardboard_time"),n.appendChild(t),e.controlDurationUpdate=function(){var t=e.formatTime(e.domRef.player.currentTime),n=e.formatTime(e.currentVideoDuration),o=e.domRef.player.parentNode.getElementsByClassName("fluid_control_duration"),i="";if(e.isCurrentlyPlayingAd){i="AD : "+t+" / "+n;for(var r=0;r'+n.label,s.addEventListener("click",(function(n){n.stopPropagation();for(var o=this,i=document.getElementsByClassName("subtitle_button_icon"),r=0;r=e.subtitlesData[r].startTime&&n<=e.subtitlesData[r].endTime&&(i.innerHTML="",i.appendChild(WebVTT.convertCueToDOMTree(window,e.subtitlesData[r].text)),o=!0);o||(i.innerHTML="")}},e.openCloseSubtitlesSwitch=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_control_subtitles_list");e.isCurrentlyPlayingAd?t.style.display="none":"none"===t.style.display?(t.style.display="block",t.addEventListener("mouseleave",(function e(n){t.removeEventListener("mouseleave",e),t.style.display="none"}))):t.style.display="none"},e.createSubtitles=function(){var t=document.createElement("div");t.id=e.videoPlayerId+"_fluid_subtitles_container",t.className="fluid_subtitles_container",e.domRef.player.parentNode.insertBefore(t,e.domRef.player.nextSibling),e.displayOptions.layoutControls.subtitlesEnabled&&Promise.all([a.e(407),a.e(721)]).then(a.t.bind(a,407,23)).then((function(t){window.WebVTT=t.WebVTT,e.createSubtitlesSwitch()}))}},function(e,t){e.setupThumbnailPreviewVtt=function(){e.sendRequest(e.displayOptions.layoutControls.timelinePreview.file,!0,e.displayOptions.vastOptions.vastTimeout,(function(){var t=this;if((4!==t.readyState||200===t.status)&&4===t.readyState&&200===t.status){var n=t.responseText,o=(new window.WebVTTParser).parse(n);e.timelinePreviewData=function(t){if(void 0===t.cues||!t.cues.length)return[];for(var n=[],o=null,i=null,r=0;r=e.timelinePreviewData[n].startTime&&t<=e.timelinePreviewData[n].endTime)return e.timelinePreviewData[n];return!1},e.drawTimelinePreview=function(t){var n=document.getElementById(e.videoPlayerId+"_fluid_timeline_preview_container"),o=document.getElementById(e.videoPlayerId+"_fluid_timeline_preview_container_shadow"),i=document.getElementById(e.videoPlayerId+"_fluid_controls_progress_container"),r=i.clientWidth;if(e.isCurrentlyPlayingAd)"none"!==n.style.display&&(n.style.display="none");else{var a=e.getEventOffsetX(t,i),l=null;if(r){l=e.currentVideoDuration*a/r;var d=e.getThumbnailCoordinates(l);o.style.width=r+"px",o.style.display="block",!1!==d?(n.style.width=d.w+"px",n.style.height=d.h+"px",o.style.height=d.h+"px",n.style.background="url("+d.image+") no-repeat scroll -"+d.x+"px -"+d.y+"px",n.style.left=a-d.w/2+"px",n.style.display="block",e.displayOptions.layoutControls.timelinePreview.spriteImage||(n.style.backgroundSize="contain")):n.style.display="none"}}},e.setupThumbnailPreview=function(){var t=e.displayOptions.layoutControls.timelinePreview;if(t&&t.type){var n="mousemove",o="mouseleave";if(e.mobileInfo.userOs&&(n="touchmove",o="touchend"),document.getElementById(e.videoPlayerId+"_fluid_controls_progress_container").addEventListener(n,e.drawTimelinePreview.bind(e),!1),document.getElementById(e.videoPlayerId+"_fluid_controls_progress_container").addEventListener(o,(function(t){var n=document.getElementById(e.videoPlayerId+"_fluid_controls_progress_container");void 0!==t.clientX&&n.contains(document.elementFromPoint(t.clientX,t.clientY))||(document.getElementById(e.videoPlayerId+"_fluid_timeline_preview_container").style.display="none",document.getElementById(e.videoPlayerId+"_fluid_timeline_preview_container_shadow").style.display="none")}),!1),e.generateTimelinePreviewTags(),"VTT"===t.type&&"string"==typeof t.file)a.e(490).then(a.bind(a,840)).then((function(t){window.WebVTTParser=t.default,e.setupThumbnailPreviewVtt()}));else{if("static"!==t.type||"object"!==f(t.frames))throw"Invalid thumbnail-preview - type must be VTT or static";t.spriteImage=!0,e.timelinePreviewData=t.frames}e.showTimeOnHover=!1}}},function(e,t){var n="2.0";e.renderLinearAd=function(t,o){e.toggleLoader(!1),e.vastOptions=t,o&&e.backupMainVideoContentTime(t.rollListId),function(t){e.switchPlayerToVpaidMode=function(t){e.debugMessage("starting function switchPlayerToVpaidMode");var o=e.videoPlayerId+"_"+t.id+"_fluid_vpaid_iframe",i={};i.AdParameters=t.adParameters;var r=document.createElement("div");r.id=e.videoPlayerId+"_fluid_vpaid_slot",r.className="fluid_vpaid_slot",r.setAttribute("adListId",t.id),e.domRef.player.parentNode.insertBefore(r,o.nextSibling);var a={slot:r,videoSlot:e.domRef.player,videoSlotCanAutoPlay:!0},l=e.vpaidAdUnit.handshakeVersion(n);if(1===e.compareVersion(n,l))return t.error=!0,e.playMainVideoWhenVpaidFails(403),!1;!1!==e.vastOptions.skipoffset&&e.addSkipButton(),e.domRef.player.loop=!1,e.domRef.player.removeAttribute("controls"),e.vpaidCallbackListenersAttach();var d=e.fullscreenMode?"fullscreen":"normal",s=e.domRef.player.offsetWidth,u=e.domRef.player.offsetHeight;e.vpaidAdUnit.initAd(s,u,d,3e3,i,a);for(var c=e.domRef.player.parentNode.getElementsByClassName("fluid_controls_currentprogress"),p=0;p=e.vastOptions.duration-1&&0!==e.vastOptions.duration&&(e.domRef.player.removeEventListener("timeupdate",t),e.adFinished=!0)}}))},e.playRoll=function(t){for(var n=0;n0&&(e.domRef.player.mainVideoCurrentTime=e.domRef.player.currentTime-1)}},e.getSupportedMediaFileObject=function(t){var n=null,o=!1;if(t.length)for(var i=0;i=n-1&&e.trackSingleEvent("complete")},e.trackSingleEvent=function(t,n){if(void 0!==e.vastOptions&&null!==e.vastOptions){var o=[];switch(o.length=0,t){case"start":case"firstQuartile":case"midpoint":case"thirdQuartile":case"complete":!1===e.vastOptions.stopTracking[t]&&(null!==e.vastOptions.tracking[t]&&(o=e.vastOptions.tracking[t]),e.vastOptions.stopTracking[t]=!0);break;case"progress":e.vastOptions.tracking.progress[n].elements.forEach((function(t,i){!1===e.vastOptions.tracking.progress[n].stopTracking&&e.vastOptions.tracking.progress[n].elements.length&&(o=e.vastOptions.tracking.progress[n].elements),e.vastOptions.tracking.progress[n].stopTracking=!0}));break;case"impression":void 0!==e.vastOptions.impression&&null!==e.vastOptions.impression&&void 0!==e.vastOptions.impression.length&&(o=e.vastOptions.impression)}e.callUris(o)}},e.completeNonLinearStatic=function(t){e.closeNonLinear(t.id),!1===e.adFinished&&(e.adFinished=!0,e.trackSingleEvent("complete")),clearInterval(e.nonLinearTracking)},e.createNonLinearStatic=function(t){if(e.vastOptions=t,e.createBoard(t),!0!==e.rollsById[t.rollListId].error&&!0!==t.error){e.adFinished=!1;var n=!!e.rollsById[t.rollListId].nonLinearDuration&&e.rollsById[t.rollListId].nonLinearDuration;e.vastOptions.vpaid||(e.trackSingleEvent("start"),n=n||e.vastOptions.duration,e.nonLinearTracking=setInterval((function(){if(!0!==e.adFinished){var t=Math.floor(e.domRef.player.currentTime);e.scheduleTrackingEvent(t,n),t>=n-1&&(e.adFinished=!0)}}),400));var o=parseInt(e.getCurrentTime())+parseInt(n);e.scheduleTask({time:o,closeStaticAd:t,rollListId:t.rollListId})}else e.announceLocalError(101)},e.createVpaidNonLinearBoard=function(t){e.loadVpaidNonlinearAssets=function(t){e.debugMessage("starting function switchPlayerToVpaidMode");var o=t.vAlign?t.vAlign:e.nonLinearVerticalAlign,i=t.vpaidNonLinearCloseButton?t.vpaidNonLinearCloseButton:e.vpaidNonLinearCloseButton,r=e.videoPlayerId+"_"+t.id+"_fluid_vpaid_iframe",a={};a.AdParameters=t.adParameters;var l=document.createElement("div");l.id="fluid_vpaidNonLinear_"+t.id,l.className="fluid_vpaidNonLinear_"+o,l.className+=" fluid_vpaidNonLinear_ad",l.setAttribute("adListId",t.id);var d,s,u=Math.min(468,e.domRef.player.offsetWidth),c=Math.min(60,Math.floor(e.domRef.player.offsetHeight/4));if(void 0!==t.size){var p=t.size.split("x");u=p[0],c=p[1]}else t.dimension.width&&t.dimension.height&&(u=t.dimension.width,c=t.dimension.height);if(l.style.width="100%",l.style.height=c+"px",i){var f=document.createElement("div");f.className="fluid_vpaidNonLinear_frame",f.style.width=u+"px",f.style.height=c+"px",l.appendChild(f);var y=document.createElement("div");y.id="close_button_"+e.videoPlayerId,y.className="close_button",y.innerHTML="",y.title=e.displayOptions.layoutControls.closeButtonCaption;var m=(d=t.id.split("_"),s=1,function(e){if(Array.isArray(e))return e}(d)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,r,a,l=[],d=!0,s=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;d=!1}else for(;!(d=(o=r.call(n)).done)&&(l.push(o.value),l.length!==t);d=!0);}catch(e){s=!0,i=e}finally{try{if(!d&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw i}}return l}}(d,s)||function(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}(d,s)||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.")}())[0];y.onclick=function(t){if(e.hardStopVpaidAd(""),void 0!==t.stopImmediatePropagation&&t.stopImmediatePropagation(),e.adFinished=!0,"onPauseRoll"===e.rollsById[m].roll&&e.onPauseRollAdPods[0]){var n=e.onPauseRollAdPods[0];e.createBoard(n),e.currentOnPauseRollAd=e.onPauseRollAdPods[0],delete e.onPauseRollAdPods[0]}return!1},f.appendChild(y)}var v=document.createElement("iframe");v.id=e.videoPlayerId+"non_linear_vapid_slot_iframe",v.className="fluid_vpaid_nonlinear_slot_iframe",v.setAttribute("width",u+"px"),v.setAttribute("height",c+"px"),v.setAttribute("sandbox","allow-forms allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"),v.setAttribute("frameborder","0"),v.setAttribute("scrolling","no"),v.setAttribute("marginwidth","0"),v.setAttribute("marginheight","0"),l.appendChild(v),e.domRef.player.parentNode.insertBefore(l,r.nextSibling);var g=v.contentWindow.document.createElement("div");v.contentWindow.document.body.appendChild(g),e.vastOptions.slotIframe=v,e.vastOptions.slotFrame=void 0;var h={slot:g,videoSlot:e.domRef.player,videoSlotCanAutoPlay:!0};e.debugMessage(t);var b=e.vpaidAdUnit.handshakeVersion(n);if(1===e.compareVersion(n,b))return t.error=!0,e.playMainVideoWhenVpaidFails(403),!1;e.domRef.player.loop=!1,e.domRef.player.removeAttribute("controls"),e.vpaidCallbackListenersAttach();var w=e.fullscreenMode?"fullscreen":"normal";e.vpaidAdUnit.initAd(u,c,w,3e3,a,h),e.toggleLoader(!1),t.played=!0,e.adFinished=!1},e.loadVpaid(t,t.staticResource),e.debugMessage("create non linear vpaid")},e.createNonLinearBoard=function(t){t.played=!0;var n=e.domRef.player.clientWidth,o=document.createElement("div"),i=e.rollsById[t.rollListId].vAlign?e.rollsById[t.rollListId].vAlign:e.nonLinearVerticalAlign,r=new Image;r.src=t.staticResource,r.id="fluid_nonLinear_imgCreative_"+t.id+"_"+e.videoPlayerId,r.onerror=function(){e.rollsById[t.rollListId].error=!0,e.announceError(500)},r.onload=function(){var o,i,a,l;void 0!==e.rollsById[t.rollListId].size?(o=e.rollsById[t.rollListId].size.split("x")[0],i=e.rollsById[t.rollListId].size.split("x")[1]):t.dimension.width&&t.dimension.height?(o=t.dimension.width,i=t.dimension.height):(o=r.width,i=r.height),o>n?l=i*(a=n-5)/o:(a=o,l=i),"onPauseRoll"!==e.rollsById[t.rollListId].roll&&(document.getElementById("fluid_nonLinear_"+t.id).style.display="");var d=document.getElementById(r.id);d.width=a,d.height=l,e.trackSingleEvent("impression")},o.id="fluid_nonLinear_"+t.id,o.className="fluid_nonLinear_"+i,o.className+=" fluid_nonLinear_ad",o.innerHTML=r.outerHTML,o.style.display="none",o.onclick=function(){void 0!==t.clickthroughUrl&&window.open(t.clickthroughUrl),void 0!==t.clicktracking&&e.callUris([t.clicktracking])},void 0!==t.clickthroughUrl&&(o.style.cursor="pointer");var a=document.createElement("div");a.id="close_button_"+e.videoPlayerId,a.className="close_button",a.innerHTML="",a.title=e.displayOptions.layoutControls.closeButtonCaption;var l=t.rollListId;a.onclick=function(t){if(this.parentElement.remove(),void 0!==t.stopImmediatePropagation&&t.stopImmediatePropagation(),e.adFinished=!0,clearInterval(e.nonLinearTracking),"onPauseRoll"===e.rollsById[l].roll&&e.onPauseRollAdPods[0]){var n=e.onPauseRollAdPods[0];e.createBoard(n),e.currentOnPauseRollAd=e.onPauseRollAdPods[0],delete e.onPauseRollAdPods[0]}return!1},o.appendChild(a),e.domRef.player.parentNode.insertBefore(o,e.domRef.player.nextSibling)},e.createBoard=function(t){if(t.vpaid)e.hardStopVpaidAd(""),e.createVpaidNonLinearBoard(t);else{if(void 0===t.staticResource||-1===e.supportedStaticTypes.indexOf(t.creativeType))return t.error=!0,void(e.vastOptions&&void 0!==e.vastOptions.errorUrl?e.announceError(503):e.announceLocalError(503));e.createNonLinearBoard(t)}},e.closeNonLinear=function(e){var t=document.querySelector("#fluid_nonLinear_"+e+", #fluid_vpaidNonLinear_"+e);t&&t.remove()},e.rollGroupContainsLinear=function(t){for(var n=!1,o=0;o0?(e.toggleLoader(!1),e.playRoll(n.linear)):e.playMainVideoWhenVastFails(900)},e.preRoll=function(t){var n=t.vastObj;e.domRef.player.removeEventListener(t.type,e.preRoll);var o=[];o[0]=t.type.replace("adId_",""),!0!==e.rollsById[o[0]].played&&(e.preRollAdPods.push(o[0]),e.preRollSuccess(n))},e.createAdMarker=function(t,n){var o=document.getElementById(e.videoPlayerId+"_ad_markers_holder"),i=document.createElement("div");i.id="ad_marker_"+e.videoPlayerId+"_"+t,i.className="fluid_controls_ad_marker",i.style.left=n/e.mainVideoDuration*100+"%",e.isCurrentlyPlayingAd&&(i.style.display="none"),o.appendChild(i)},e.hideAdMarker=function(t){var n=document.getElementById("ad_marker_"+e.videoPlayerId+"_"+t);n&&(n.style.display="none")},e.showAdMarkers=function(){for(var t=document.getElementById(e.videoPlayerId+"_ad_markers_holder").getElementsByClassName("fluid_controls_ad_marker"),n="ad_marker_"+e.videoPlayerId+"_",o=0;o0){for(var r=0;r0&&e.timerPool[t].linear.length>0)return e.playRoll(e.timerPool[t].linear),void(e.timerPool[t].linear=[]);if(i>0)for(var l=0;l0?e.temporaryAdPods.shift():null},e.checkForNextAd=function(){var t=e.getNextAdPod();null===t?(e.switchToMainVideo(),e.vastOptions=null,e.adFinished=!0):(e.domRef.player.removeEventListener("ended",e.onVastAdEnded),e.isCurrentlyPlayingAd=!1,e.vastOptions=null,e.adFinished=!0,e.renderLinearAd(t,!1))},e.addSkipButton=function(){var t=document.createElement("div");t.id="skip_button_"+e.videoPlayerId,t.className="skip_button skip_button_disabled",e.vastOptions.skipoffset>0&&(t.innerHTML=e.displayOptions.vastOptions.skipButtonCaption.replace("[seconds]",e.vastOptions.skipoffset)),document.getElementById("fluid_video_wrapper_"+e.videoPlayerId).appendChild(t),0===e.vastOptions.skipoffset&&e.decreaseSkipOffset(),e.domRef.player.addEventListener("timeupdate",e.decreaseSkipOffset,!1)},e.addAdCountdown=function(){if(!(e.isCurrentlyPlayingAd&&e.hlsPlayer||e.currentVideoDuration===1/0)){var t=document.getElementById("fluid_video_wrapper_"+e.videoPlayerId),n=document.createElement("div"),o=e.pad(parseInt(e.currentVideoDuration/60))+":"+e.pad(parseInt(e.currentVideoDuration%60)),i=parseInt(o);n.id="ad_countdown"+e.videoPlayerId,n.className="ad_countdown",n.innerHTML="Ad - "+i,t.appendChild(n),e.domRef.player.addEventListener("timeupdate",e.decreaseAdCountdown,!1),t.addEventListener("mouseover",(function(){n.style.display="none"}),!1)}},e.decreaseAdCountdown=function(){var t=parseInt(e.currentVideoDuration)-parseInt(e.domRef.player.currentTime),n=document.getElementById("ad_countdown"+e.videoPlayerId);n&&isNaN(t)?n.parentNode.removeChild(n):n?n.innerHTML="Ad - "+e.pad(parseInt(t/60))+":"+e.pad(parseInt(t%60)):e.domRef.player.removeEventListener("timeupdate",e.decreaseAdCountdown)},e.removeAdCountdown=function(){var t=document.getElementById("ad_countdown"+e.videoPlayerId);t&&t.parentElement.removeChild(t)},e.toggleAdCountdown=function(t){var n=document.getElementById("ad_countdown"+e.videoPlayerId);n&&(n.style.display=t?"inline-block":"none")},e.addAdPlayingText=function(t){var n=document.createElement("div");n.id=e.videoPlayerId+"_fluid_ad_playing",e.displayOptions.layoutControls.primaryColor&&(n.style.backgroundColor=e.displayOptions.layoutControls.primaryColor,n.style.opacity=1),n.className="fluid_ad_playing",n.innerText=t,document.getElementById("fluid_video_wrapper_"+e.videoPlayerId).appendChild(n)},e.positionTextElements=function(t){var n,o,i,r=["top left","top right","bottom left","bottom right"],a=document.getElementById("skip_button_"+e.videoPlayerId),l=document.getElementById(e.videoPlayerId+"_fluid_ad_playing"),d=document.getElementById(e.videoPlayerId+"_fluid_cta"),s=0,u=0,c=!1,p=0,f=[],_={top:{left:{h:34,v:34},right:{h:0,v:34}},bottom:{left:{h:34,v:50},right:{h:0,v:50}}};null!==a&&(p=a.offsetHeight+8,e.domRef.wrapper.classList.contains("mobile")&&(_.top={left:{h:0,v:8},right:{h:0,v:8}},_.bottom={left:{h:0,v:50},right:{h:0,v:50}})),null!==d&&(n=e.rollsById[t.rollListId].adCTATextPosition?e.rollsById[t.rollListId].adCTATextPosition.toLowerCase():e.displayOptions.vastOptions.adCTATextPosition,-1===r.indexOf(n)&&(console.log('[FP Error] Invalid position for CTAText. Reverting to "bottom right"'),n="bottom right"),d.classList.add.apply(d.classList,n.split(" ")),c="bottom"===(f=n.split(" "))[0],d.style[f[0]]=_[f[0]][f[1]].v+"px",d.style[f[1]]=_[f[0]][f[1]].h+"px",c&&"right"===f[1]&&(d.style[f[0]]=_[f[0]][f[1]].v+p+"px"),s=d.offsetHeight+8+"px"),null!==l&&(o=e.rollsById[t.rollListId].adTextPosition?e.rollsById[t.rollListId].adTextPosition.toLowerCase():e.displayOptions.vastOptions.adTextPosition,-1===r.indexOf(o)&&(console.log('[FP Error] Invalid position for adText. Reverting to "top left"'),o="top left"),i=o.split(" "),l.style[i[0]]=_[i[0]][i[1]].v+"px",l.style[i[1]]=_[i[0]][i[1]].h+"px",u=l.offsetHeight+8+"px"),s>0&&u>0&&n===o&&(c?"right"===f[1]?l.style.bottom=_[i[0]][i[1]].v+p+s+"px":l.style.bottom=_[i[0]][i[1]].v+s+"px":d.style.top=_[f[0]][f[1]].v+u+"px")},e.removeAdPlayingText=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_ad_playing");t&&t.parentElement.removeChild(t)},e.addCTAButton=function(t){if(e.vastOptions.titleCTA){var n=e.vastOptions.titleCTA,o=n.text,i=n.link,r=n.tracking;return e.createAndAppendCTAButton(o,i,r)}if(t&&"string"==typeof e.displayOptions.vastOptions.adCTAText)return e.createAndAppendCTAButton(e.displayOptions.vastOptions.adCTAText,t,e.vastOptions.clickthroughUrl)},e.createAndAppendCTAButton=function(t,n,o){var i=document.createElement("div");i.id=e.videoPlayerId+"_fluid_cta",i.className="fluid_ad_cta";var r=document.createElement("span"),a=t;n&&(a+='
'+n+""),r.innerHTML=a,i.addEventListener("click",(function(){return e.domRef.player.paused||e.domRef.player.pause(),window.open(o,"_blank").focus(),!0}),!1),i.appendChild(r),document.getElementById("fluid_video_wrapper_"+e.videoPlayerId).appendChild(i)},e.removeCTAButton=function(){var t=document.getElementById(e.videoPlayerId+"_fluid_cta");t&&t.parentElement.removeChild(t)},e.decreaseSkipOffset=function(){var t=e.vastOptions.skipoffset-Math.floor(e.domRef.player.currentTime),n=document.getElementById("skip_button_"+e.videoPlayerId);if(n)if(t>=1)n.innerHTML=e.displayOptions.vastOptions.skipButtonCaption.replace("[seconds]",t);else{var o=document.createElement("a");o.href="#",o.id="skipHref_"+e.videoPlayerId,o.innerHTML=e.displayOptions.vastOptions.skipButtonClickCaption,o.onclick=function(t){t.preventDefault(),t.stopPropagation(),e.pressSkipButton()},n.innerHTML="",n.appendChild(o),n.className=n.className.replace(/\bskip_button_disabled\b/,""),e.domRef.player.removeEventListener("timeupdate",e.decreaseSkipOffset)}else e.domRef.player.removeEventListener("timeupdate",e.decreaseSkipOffset)},e.pressSkipButton=function(){if(e.removeSkipButton(),e.removeAdPlayingText(),e.removeCTAButton(),e.vastOptions.vpaid)e.skipVpaidAd();else{e.displayOptions.vastOptions.vastAdvanced.vastVideoSkippedCallback();var t=document.createEvent("Event");t.initEvent("ended",!1,!0),e.domRef.player.dispatchEvent(t)}},e.removeSkipButton=function(){var t=document.getElementById("skip_button_"+e.videoPlayerId);t&&t.parentElement.removeChild(t)},e.addClickthroughLayer=function(){var t=e.domRef.wrapper,n=document.createElement("div");n.className="vast_clickthrough_layer",n.id="vast_clickthrough_layer_"+e.videoPlayerId,n.setAttribute("style","position: absolute; cursor: pointer; top: 0; left: 0; width: "+e.domRef.player.offsetWidth+"px; height: "+e.domRef.player.offsetHeight+"px;"),t.appendChild(n);var o=function(){window.open(e.vastOptions.clickthroughUrl),void 0!==e.vastOptions.clicktracking&&e.callUris(e.vastOptions.clicktracking)},i=document.getElementById("vast_clickthrough_layer_"+e.videoPlayerId),r="iPhone"===e.mobileInfo.device&&!1!==e.mobileInfo.userOsMajor&&e.mobileInfo.userOsMajor<=9;i.onclick=function(){e.domRef.player.paused?r&&!e.suppressClickthrough?(o(),e.suppressClickthrough=!0):e.domRef.player.play():(o(),e.domRef.player.pause())}},e.removeClickthrough=function(){var t=document.getElementById("vast_clickthrough_layer_"+e.videoPlayerId);t&&t.parentNode.removeChild(t)}},function(e,t){e.initialiseStreamers=function(){switch(e.detachStreamers(),e.displayOptions.layoutControls.mediaType){case"application/dash+xml":e.dashScriptLoaded||window.dashjs&&!window.dashjs.isDefaultSubject?e.initialiseDash():(e.dashScriptLoaded=!0,a.e(112).then(a.t.bind(a,452,23)).then((function(t){window.dashjs=t.default,e.initialiseDash()})));break;case"application/x-mpegurl":e.hlsScriptLoaded||window.Hls?e.initialiseHls():(e.hlsScriptLoaded=!0,a.e(602).then(a.t.bind(a,631,23)).then((function(t){window.Hls=t.default,e.initialiseHls()})))}},e.initialiseDash=function(){if("function"==typeof(window.MediaSource||window.WebKitMediaSource)){var t=e.autoplayAfterAd?e.displayOptions.layoutControls.autoPlay:e.autoplayAfterAd,n={debug:{logLevel:dashjs.Debug.LOG_LEVEL_FATAL}},o=dashjs.MediaPlayer().create(),i=e.displayOptions.modules.configureDash(n);o.updateSettings(i),e.displayOptions.modules.onBeforeInitDash(o),o.initialize(e.domRef.player,e.originalSrc,t),o.on("streamInitializing",(function(){e.toggleLoader(!0)})),o.on("canPlay",(function(){e.toggleLoader(!1)})),o.on("playbackPlaying",(function(){e.toggleLoader(!1)})),e.displayOptions.modules.onAfterInitDash(o),e.dashPlayer=o}else e.nextSource(),console.log("[FP_WARNING] Media type not supported by this browser using DASH.js. (application/dash+xml)")},e.initialiseHls=function(){if(Hls.isSupported()){var t=e.displayOptions.modules.configureHls({debug:!1,p2pConfig:{logLevel:!1},enableWebVTT:!1,enableCEA708Captions:!1}),n=new Hls(t);e.displayOptions.modules.onBeforeInitHls(n),n.attachMedia(e.domRef.player),n.loadSource(e.originalSrc),e.displayOptions.modules.onAfterInitHls(n),e.hlsPlayer=n,!e.firstPlayLaunched&&e.displayOptions.layoutControls.autoPlay&&e.domRef.player.play()}else e.nextSource(),console.log("[FP_WARNING] Media type not supported by this browser using HLS.js. (application/x-mpegURL)")},e.detachStreamers=function(){e.dashPlayer?(e.dashPlayer.reset(),e.dashPlayer=!1):e.hlsPlayer&&(e.hlsPlayer.detachMedia(),e.hlsPlayer=!1)}},function(e,t){e.isTouchDevice=function(){return!(!("ontouchstart"in window)&&!navigator.maxTouchPoints)},e.getMobileOs=function(){var e,t=navigator.userAgent||"",n={device:!1,userOs:!1,userOsVer:!1,userOsMajor:!1};if(t.match(/Android/i)?(n.userOs="Android",e=t.indexOf("Android ")):t.match(/iPhone/i)?(n.device="iPhone",n.userOs="iOS",e=t.indexOf("OS ")):t.match(/iPad/i)?(n.device="iPad",n.userOs="iOS",e=t.indexOf("OS ")):n.userOs=!1,"iOS"===n.userOs&&e>-1){var o=t.substr(e+3);-1!==o.indexOf(" ")&&(n.userOsVer=o.substring(0,o.indexOf(" ")).replace(/_/g,"."),n.userOsMajor=parseInt(n.userOsVer))}else"Android"===n.userOs&&e>-1?n.userOsVer=t.substr(e+8,3):n.userOsVer=!1;return n},e.getBrowserVersion=function(){var e,t,n=navigator.userAgent||"",o={browserName:!1,fullVersion:!1,majorVersion:!1,userOsMajor:!1};try{o.browserName=navigator.appName,-1!==(e=n.indexOf("OPR/"))?(o.browserName="Opera",o.fullVersion=n.substring(e+4)):-1!==(e=n.indexOf("Opera"))?(o.browserName="Opera",o.fullVersion=n.substring(e+6),-1!==(e=n.indexOf("Version"))&&(o.fullVersion=n.substring(e+8))):-1!==(e=n.indexOf("MSIE"))?(o.browserName="Microsoft Internet Explorer",o.fullVersion=n.substring(e+5)):-1!==(e=n.indexOf("Chrome"))?(o.browserName="Google Chrome",o.fullVersion=n.substring(e+7)):-1!==(e=n.indexOf("Safari"))?(o.browserName="Safari",o.fullVersion=n.substring(e+7),-1!==(e=n.indexOf("Version"))&&(o.fullVersion=n.substring(e+8))):-1!==(e=n.indexOf("Firefox"))?(o.browserName="Mozilla Firefox",o.fullVersion=n.substring(e+8)):(t=n.lastIndexOf(" ")+1)<(e=n.lastIndexOf("/"))&&(o.browserName=n.substring(t,e),o.fullVersion=n.substring(e+1),o.browserName.toLowerCase()===o.browserName.toUpperCase()&&(o.browserName=navigator.appName)),-1!==(t=o.fullVersion.indexOf(";"))&&(o.fullVersion=o.fullVersion.substring(0,t)),-1!==(t=o.fullVersion.indexOf(" "))&&(o.fullVersion=o.fullVersion.substring(0,t)),o.majorVersion=parseInt(""+o.fullVersion,10),isNaN(o.majorVersion)&&(o.fullVersion=""+parseFloat(navigator.appVersion),o.majorVersion=parseInt(navigator.appVersion,10))}catch(e){}return o},e.compareVersion=function(e,t){if("string"!=typeof e)return!1;if("string"!=typeof t)return!1;e=e.split("."),t=t.split(".");for(var n=Math.min(e.length,t.length),o=0;ot[o])return 1;if(e[o]=1?o+":"+i+":"+r:i+":"+r},e.pad=function(e){return e<10?"0"+e:e}}],w=0,C=function(){var e=this,t=this;t.domRef={player:null},t.version="3.14.0",t.homepage="https://fluidplayer.com/?utm_source=player&utm_medium=context_menu&utm_campaign=organic",t.destructors=[],t.init=function(e,n){for(var o,i={development:false,debug:false},r=0,a=b;r',adText:null,adTextPosition:"top left",adCTAText:"Visit now!",adCTATextPosition:"bottom right",adCTATextVast:!1,adClickable:!0,vastTimeout:5e3,showProgressbarMarkers:!1,allowVPAID:!1,showPlayButton:!1,maxAllowedVastTagRedirects:3,vpaidTimeout:3e3,vastAdvanced:{vastLoadedCallback:function(){},noVastVideoCallback:function(){},vastVideoSkippedCallback:function(){},vastVideoEndedCallback:function(){}}},captions:{play:"Play",pause:"Pause",mute:"Mute",unmute:"Unmute",fullscreen:"Fullscreen",subtitles:"Subtitles",exitFullscreen:"Exit Fullscreen"},debug:false,modules:{configureHls:function(e){return e},onBeforeInitHls:function(e){},onAfterInitHls:function(e){},configureDash:function(e){return e},onBeforeInitDash:function(e){},onAfterInitDash:function(e){}},onBeforeXMLHttpRequestOpen:function(e){},onBeforeXMLHttpRequest:function(e){}},n.hlsjsConfig&&console.error("[FP_ERROR] player option hlsjsConfig is removed and has no effect. Use module callbacks instead!"),n)if(n.hasOwnProperty(l))if("object"==h(n[l]))for(var d in n[l])n[l].hasOwnProperty(d)&&(t.displayOptions[l][d]=n[l][d]);else t.displayOptions[l]=n[l];t.domRef.wrapper=t.setupPlayerWrapper(),o.addEventListener("webkitfullscreenchange",t.recalculateAdDimensions),o.addEventListener("fullscreenchange",t.recalculateAdDimensions),o.addEventListener("waiting",t.onRecentWaiting),o.addEventListener("pause",t.onFluidPlayerPause),o.addEventListener("error",t.onErrorDetection),o.addEventListener("ended",t.onMainVideoEnded),o.addEventListener("durationchange",(function(){t.currentVideoDuration=t.getCurrentVideoDuration()})),o.readyState>0?t.mainVideoReady():o.addEventListener("loadedmetadata",t.mainVideoReady),t.displayOptions.layoutControls.showCardBoardView&&o.setAttribute("crossOrigin","anonymous"),t.currentVideoDuration=t.getCurrentVideoDuration(),!isNaN(t.currentVideoDuration)&&isFinite(t.currentVideoDuration)||(t.currentVideoDuration=0),t.setLayout(),t.latestVolume=o.volume,t.initialAnimationSet=t.displayOptions.layoutControls.playPauseAnimation,t.handleFullscreen(),t.initLogo(),t.initTitle(),t.initMute(),t.initLoop(),t.displayOptions.layoutControls.playerInitCallback(),t.createVideoSourceSwitch(),t.createSubtitles(),t.createCardboard(),t.userActivityChecker(),t.setVastList(),t.setPersistentSettings();var s=t.findRoll("preRoll");s&&0!==s.length||t.initialiseStreamers();var u=o.play;o.play=function(){var e=null;t.displayOptions.layoutControls.showCardBoardView&&"undefined"!=typeof DeviceOrientationEvent&&"function"==typeof DeviceOrientationEvent.requestPermission&&DeviceOrientationEvent.requestPermission().then((function(e){"granted"===e&&t.debugMessage("DeviceOrientationEvent permission granted!")})).catch(console.error);try{return null!=(e=u.apply(this,arguments))&&(e.then((function(){t.isPlayingMedia=!0,clearTimeout(t.promiseTimeout)})).catch((function(e){console.error("[FP_ERROR] Playback error",e),void 0!==e.name&&"AbortError"===e.name||t.announceLocalError(202,"Failed to play video."),clearTimeout(t.promiseTimeout)})),t.promiseTimeout=setTimeout((function(){!1===t.isPlayingMedia&&t.announceLocalError(204,"[FP_ERROR] Timeout error. Failed to play video?")}),5e3)),e}catch(e){console.error("[FP_ERROR] Playback error",e),t.announceLocalError(201,"Failed to play video.")}};var c=o.pause;if(o.pause=function(){if(!0===t.isPlayingMedia)return t.isPlayingMedia=!1,c.apply(this,arguments);if(t.isCurrentlyPlayingVideo(t.domRef.player))try{return t.isPlayingMedia=!1,c.apply(this,arguments)}catch(e){t.announceLocalError(203,"Failed to play video.")}},t.displayOptions.layoutControls.autoPlay&&!t.dashScriptLoaded&&!t.hlsScriptLoaded){if("Safari"===t.getBrowserVersion().browserName)return;o.play()}var p=document.getElementById("fluid_video_wrapper_"+o.id);t.mobileInfo.userOs?(t.hideControlBar(),p.addEventListener("touchstart",t.showControlBar,!1)):(t.displayOptions.layoutControls.controlBar.autoHide||p.addEventListener("mouseleave",t.handleMouseleave,!1),p.addEventListener("mouseenter",t.showControlBar,!1),p.addEventListener("mouseenter",t.showTitle,!1)),t.displayOptions.layoutControls.keyboardControl&&t.keyboardControl(),t.displayOptions.layoutControls.controlBar.autoHide&&t.linkControlBarUserActivity();try{if(t.domRef.player.textTracks){var f,_=v(t.domRef.player.textTracks);try{for(_.s();!(f=_.n()).done;)f.value.mode="hidden"}catch(e){_.e(e)}finally{_.f()}}}catch(e){}},t.getCurrentVideoDuration=function(){return t.domRef.player?t.domRef.player.duration:0},t.toggleLoader=function(e){t.isLoading=!!e,document.getElementById("vast_video_loading_"+t.videoPlayerId).style.display=e?"table":"none"},t.sendRequest=function(e,n,o,i){var r=new XMLHttpRequest;r.onreadystatechange=i,t.displayOptions.onBeforeXMLHttpRequestOpen(r),r.open("GET",e,!0),r.withCredentials=n,r.timeout=o,t.displayOptions.onBeforeXMLHttpRequest(r),r.send()},t.sendRequestAsync=function(){var e,n=(e=y().mark((function e(n,o,i){return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise((function(e,r){var a=new XMLHttpRequest;a.onreadystatechange=function(t){var n=t.target;4===n.readyState&&n.status>=200&&n.status<300?e(n):4===n.readyState&&r(n)},t.displayOptions.onBeforeXMLHttpRequestOpen(a),a.open("GET",n,!0),a.withCredentials=o,a.timeout=i,t.displayOptions.onBeforeXMLHttpRequest(a),a.send()}));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){m(r,o,i,a,l,"next",e)}function l(e){m(r,o,i,a,l,"throw",e)}a(void 0)}))});return function(e,t,o){return n.apply(this,arguments)}}(),t.announceLocalError=function(e,t){var n="[Error] ("+(void 0!==e?parseInt(e):900)+"): ";n+=t||"Failed to load Vast",console.warn(n)},t.debugMessage=function(){if(t.displayOptions.debug){for(var e,n=arguments.length,o=new Array(n),i=0;i=Math.floor(t.mainVideoDuration)&&(t.adKeytimePlay(Math.floor(t.mainVideoDuration)),clearInterval(t.timer)),t.displayOptions.layoutControls.loop&&(t.switchToMainVideo(),t.playPauseToggle()))},t.getCurrentTime=function(){return t.isCurrentlyPlayingAd?t.mainVideoCurrentTime:t.domRef.player.currentTime},t.getCurrentSrc=function(){var e=t.domRef.player.getElementsByTagName("source");return e.length?e[0].getAttribute("src"):null},t.getCurrentSrcType=function(){var e=t.domRef.player.getElementsByTagName("source");if(!e.length)return null;for(var n=0;n.95&&(o=1),t.domRef.player.muted&&o>0&&(t.domRef.player.muted=!1),t.setVolume(o)}},n=function(n){var o=t.getEventOffsetX(n,t.domRef.controls.volumeContainer);e(o)},o=function o(i){document.removeEventListener("mousemove",n),document.removeEventListener("touchmove",n),document.removeEventListener("mouseup",o),document.removeEventListener("touchend",o);var r=t.getEventOffsetX(i,t.domRef.controls.volumeContainer);isNaN(r)||e(r)};document.addEventListener("mouseup",o),document.addEventListener("touchend",o),document.addEventListener("mousemove",n),document.addEventListener("touchmove",n)},t.findRoll=function(e){var n=[];if(n.length=0,e&&t.hasOwnProperty("rollsById")){for(var o in t.rollsById)t.rollsById.hasOwnProperty(o)&&t.rollsById[o].roll===e&&n.push(o);return n}},t.onKeyboardVolumeChange=function(e){var n=t.domRef.player.volume;"asc"===e?n+=.05:"desc"===e&&(n-=.05),n<.05?n=0:n>.95&&(n=1),t.setVolume(n)},t.onKeyboardSeekPosition=function(e){t.isCurrentlyPlayingAd||(t.domRef.player.currentTime=t.getNewCurrentTimeValueByKeyCode(e,t.domRef.player.currentTime,t.domRef.player.duration))},t.getNewCurrentTimeValueByKeyCode=function(e,t,n){var o=t;switch(e){case 37:o=(o-=5)<5?0:o;break;case 39:o=(o+=5)>n-5?n:o;break;case 35:o=n;break;case 36:o=0;break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:e<58&&e>47&&(o=n*(10*(e-48))/100)}return o},t.handleMouseleave=function(e){void 0!==e.clientX&&t.domRef.wrapper.contains(document.elementFromPoint(e.clientX,e.clientY))||(t.hideControlBar(),t.hideTitle())},t.handleMouseenterForKeyboard=function(){t.captureKey||(t.captureKey=function(e){e.stopPropagation();var n=e.keyCode;switch(n){case 70:t.fullscreenToggle(),e.preventDefault();break;case 13:case 32:t.playPauseToggle(),e.preventDefault();break;case 77:t.muteToggle(),e.preventDefault();break;case 38:t.onKeyboardVolumeChange("asc"),e.preventDefault();break;case 40:t.onKeyboardVolumeChange("desc"),e.preventDefault();break;case 37:case 39:case 35:case 36:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:t.onKeyboardSeekPosition(n),e.preventDefault()}return!1},document.addEventListener("keydown",t.captureKey,!0))},t.keyboardControl=function(){t.domRef.wrapper.addEventListener("click",t.handleMouseenterForKeyboard,!1);var e=t.handleWindowClick.bind(t);t.destructors.push((function(){window.removeEventListener("click",e)})),window.addEventListener("click",e)},t.handleWindowClick=function(e){t.domRef.wrapper?t.domRef.wrapper.contains(e.target)||e.target.id==="skipHref_"+t.videoPlayerId||(document.removeEventListener("keydown",t.captureKey,!0),delete t.captureKey,t.theatreMode&&!t.theatreModeAdvanced&&t.theatreToggle()):console.warn("Dangling click event listener should be collected for unknown wrapper "+t.videoPlayerId+". Did you forget to call destroy on player instance?")},t.initialPlay=function(){if(t.domRef.player.addEventListener("playing",(function(){t.toggleLoader(!1)})),t.domRef.player.addEventListener("timeupdate",(function(){t.toggleLoader(!1)})),t.domRef.player.addEventListener("waiting",(function(){t.toggleLoader(!0)})),!t.displayOptions.layoutControls.playButtonShowing){document.getElementById(t.videoPlayerId+"_fluid_controls_container").classList.remove("initial_controls_show");var e=document.getElementById(t.videoPlayerId+"_logo");e&&e.classList.remove("initial_controls_show")}t.firstPlayLaunched||(t.playPauseToggle(),t.domRef.player.removeEventListener("play",t.initialPlay))},t.playPauseToggle=function(){var e=!t.firstPlayLaunched,n=t.findRoll("preRoll");if(e&&0!==n.length){t.isCurrentlyPlayingAd=!0;var o=t.getBrowserVersion(),i=!1!==t.mobileInfo.userOs&&"Android"===t.mobileInfo.userOs&&"Google Chrome"===o.browserName;("Safari"===o.browserName||i)&&(t.domRef.player.src="https://cdn.fluidplayer.com/static/blank.mp4",t.domRef.player.play(),t.playPauseAnimationToggle(!0)),t.firstPlayLaunched=!0,t.prepareVast("preRoll"),t.preRollAdPodsLength=n.length}else e&&0===n.length&&(t.firstPlayLaunched=!0,t.displayOptions.vastOptions.vastAdvanced.noVastVideoCallback()),t.domRef.player.paused?(t.isCurrentlyPlayingAd&&null!==t.vastOptions&&t.vastOptions.vpaid?t.resumeVpaidAd():(Math.floor(t.currentVideoDuration)===Math.floor(t.domRef.player.currentTime)&&(t.initialiseStreamers(),t.domRef.player.currentTime=0),t.dashPlayer?t.dashPlayer.play():t.domRef.player.play()),t.playPauseAnimationToggle(!0)):e||(t.isCurrentlyPlayingAd&&null!==t.vastOptions&&t.vastOptions.vpaid?t.pauseVpaidAd():t.domRef.player.pause(),t.playPauseAnimationToggle(!1)),t.toggleOnPauseAd();var r=function(){t.prepareVast("onPauseRoll"),t.prepareVast("postRoll"),t.prepareVast("midRoll")};if(e){var a=document.getElementById(t.videoPlayerId+"_fluid_pseudo_poster");a&&a.parentNode.removeChild(a),t.mainVideoDuration>0?r():t.domRef.player.addEventListener("mainVideoDurationSet",r)}t.adTimer();var l=document.getElementById(t.videoPlayerId+"_fluid_html_on_pause");l&&!t.isCurrentlyPlayingAd&&(t.domRef.player.paused?l.style.display="flex":l.style.display="none")},t.setCustomControls=function(){t.trackEvent(t.domRef.player.parentNode,"click",".fluid_control_playpause",(function(){t.firstPlayLaunched||t.domRef.player.removeEventListener("play",t.initialPlay),t.playPauseToggle()}),!1),t.domRef.player.addEventListener("play",(function(){t.controlPlayPauseToggle(),t.contolVolumebarUpdate()}),!1),t.domRef.player.addEventListener("fluidplayerpause",(function(){t.controlPlayPauseToggle()}),!1),t.domRef.player.addEventListener("timeupdate",(function(){t.contolProgressbarUpdate(),t.controlDurationUpdate()}));var e=t.getMobileOs().userOs?"touchstart":"mousedown";t.displayOptions.layoutControls.showCardBoardView?t.trackEvent(t.domRef.player.parentNode,e,".fluid_controls_progress_container",(function(e){return t.onProgressbarMouseDown(e)}),!1):document.getElementById(t.videoPlayerId+"_fluid_controls_progress_container").addEventListener(e,(function(e){return t.onProgressbarMouseDown(e)}),!1),document.getElementById(t.videoPlayerId+"_fluid_control_volume_container").addEventListener(e,(function(e){return t.onVolumeBarMouseDown()}),!1),t.domRef.player.addEventListener("volumechange",(function(){return t.contolVolumebarUpdate()})),t.trackEvent(t.domRef.player.parentNode,"click",".fluid_control_mute",(function(){return t.muteToggle()})),t.setBuffering(),t.trackEvent(t.domRef.player.parentNode,"click",".fluid_control_fullscreen",(function(){return t.fullscreenToggle()})),t.displayOptions.layoutControls.allowTheatre&&!t.isInIframe?(document.getElementById(t.videoPlayerId+"_fluid_control_theatre").style.display="inline-block",t.trackEvent(t.domRef.player.parentNode,"click",".fluid_control_theatre",(function(){return t.theatreToggle()}))):document.getElementById(t.videoPlayerId+"_fluid_control_theatre").style.display="none",t.domRef.player.addEventListener("ratechange",(function(){t.isCurrentlyPlayingAd&&(t.playbackRate=1)}))},t.createTimePositionPreview=function(){if(t.showTimeOnHover){var e=document.getElementById(t.videoPlayerId+"_fluid_controls_progress_container"),n=document.createElement("div");n.id=t.videoPlayerId+"_fluid_timeline_preview",n.className="fluid_timeline_preview",n.style.display="none",n.style.position="absolute",e.appendChild(n),document.getElementById(t.videoPlayerId+"_fluid_controls_progress_container").addEventListener("mousemove",(function(e){var n=document.getElementById(t.videoPlayerId+"_fluid_controls_progress_container"),o=n.clientWidth,i=document.getElementById(t.videoPlayerId+"_fluid_timeline_preview"),r=t.getEventOffsetX(e,n),a=t.currentVideoDuration*r/o;i.innerText=t.formatTime(a),i.style.display="block",i.style.left=a/t.domRef.player.duration*100+"%"}),!1),document.getElementById(t.videoPlayerId+"_fluid_controls_progress_container").addEventListener("mouseout",(function(){document.getElementById(t.videoPlayerId+"_fluid_timeline_preview").style.display="none"}),!1)}},t.setCustomContextMenu=function(){var e=t.domRef.wrapper,n=t.displayOptions.layoutControls.contextMenu.controls,o=t.displayOptions.layoutControls.contextMenu.links,i=document.createElement("div");i.id=t.videoPlayerId+"_fluid_context_menu",i.className="fluid_context_menu",i.style.display="none",i.style.position="absolute";var r=document.createElement("ul");if(i.appendChild(r),Array.isArray(o)&&o.forEach((function(e,n){var o=document.createElement("li");o.id=t.videoPlayerId+"_extra_link_"+n,o.innerHTML=e.label,o.addEventListener("click",(function(){return window.open(e.href,"_blank")}),!1),r.appendChild(o)})),n){var a=document.createElement("li");a.id=t.videoPlayerId+"context_option_play",a.innerHTML=t.displayOptions.captions.play,a.addEventListener("click",(function(){return t.playPauseToggle()}),!1),r.appendChild(a);var l=document.createElement("li");l.id=t.videoPlayerId+"context_option_mute",l.innerHTML=t.displayOptions.captions.mute,l.addEventListener("click",(function(){return t.muteToggle()}),!1),r.appendChild(l);var d=document.createElement("li");d.id=t.videoPlayerId+"context_option_fullscreen",d.innerHTML=t.displayOptions.captions.fullscreen,d.addEventListener("click",(function(){return t.fullscreenToggle()}),!1),r.appendChild(d)}var s=document.createElement("li");s.id=t.videoPlayerId+"context_option_homepage",s.innerHTML="Fluid Player "+t.version,s.addEventListener("click",(function(){return window.open(t.homepage,"_blank")}),!1),r.appendChild(s),t.domRef.player.parentNode.insertBefore(i,t.domRef.player.nextSibling),e.addEventListener("contextmenu",(function(e){e.preventDefault(),i.style.left=t.getEventOffsetX(e,t.domRef.player)+"px",i.style.top=t.getEventOffsetY(e,t.domRef.player)+"px",i.style.display="block"}),!1),document.addEventListener("click",(function(e){e.target===t.domRef.player&&2===e.button||(i.style.display="none")}),!1)},t.setDefaultLayout=function(){t.domRef.wrapper.className+=" fluid_player_layout_"+t.displayOptions.layoutControls.layout,t.setCustomContextMenu();var e=t.generateCustomControlTags({displayVolumeBar:t.checkShouldDisplayVolumeBar(),primaryColor:t.displayOptions.layoutControls.primaryColor?t.displayOptions.layoutControls.primaryColor:"red",controlForwardBackward:!!t.displayOptions.layoutControls.controlForwardBackward.show});t.domRef.player.removeAttribute("controls"),t.domRef.player.parentNode.insertBefore(e.root,t.domRef.player.nextSibling),t.domRef.player.parentNode.insertBefore(e.loader,t.domRef.player.nextSibling),t.domRef.controls=e;var n=100,o=setInterval((function(){n?t.checkIfVolumebarIsRendered()?(clearInterval(o),t.contolVolumebarUpdate(t.videoPlayerId)):n--:clearInterval(o)}),100);t.displayOptions.layoutControls.doubleclickFullscreen&&t.domRef.player.addEventListener("dblclick",t.fullscreenToggle),t.initHtmlOnPauseBlock(),t.setCustomControls(),t.setupThumbnailPreview(),t.createTimePositionPreview(),t.posterImage(),t.initPlayButton(),t.setVideoPreload(),t.createPlaybackList(),t.createDownload(),t.displayOptions.layoutControls.controlForwardBackward.show&&t.initSkipControls()},t.initSkipControls=function(){var n=function(e){if(!t.isCurrentlyPlayingAd){var n=t.domRef.player.currentTime+e;n<0&&(n=0),t.domRef.player.currentTime=n}};t.domRef.controls.skipBack.addEventListener("click",n.bind(e,-10)),t.domRef.controls.skipForward.addEventListener("click",n.bind(e,10))},t.checkIfVolumebarIsRendered=function(){var e=document.getElementById(t.videoPlayerId+"_fluid_control_volume_currentpos"),n=document.getElementById(t.videoPlayerId+"_fluid_control_volume").clientWidth;return e.clientWidth!==n},t.setLayout=function(){var e=t.isTouchDevice()?"touchend":"click";t.domRef.player.addEventListener(e,(function(){return t.playPauseToggle()}),!1),t.domRef.player.addEventListener("play",t.initialPlay,!1),t.setDefaultLayout()},t.handleFullscreen=function(){void 0===document.vastFullsreenChangeEventListenersAdded&&(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","msfullscreenchange"].forEach((function(e){"object"===h(document["on"+e])&&document.addEventListener(e,(function(e){t.recalculateAdDimensions()}),!1)})),document.vastFullsreenChangeEventListenersAdded=!0)},t.setupPlayerWrapper=function(){var e=document.createElement("div");return e.id="fluid_video_wrapper_"+t.videoPlayerId,e.className=t.isTouchDevice()?"fluid_video_wrapper mobile":"fluid_video_wrapper",t.displayOptions.layoutControls.fillToContainer?(e.style.width="100%",e.style.height="100%"):(e.style.height=t.domRef.player.clientHeight+"px",e.style.width=t.domRef.player.clientWidth+"px"),t.domRef.player.style.height="100%",t.domRef.player.style.width="100%",t.domRef.player.parentNode.insertBefore(e,t.domRef.player),e.appendChild(t.domRef.player),e},t.onErrorDetection=function(){t.domRef.player.networkState===t.domRef.player.NETWORK_NO_SOURCE&&t.isCurrentlyPlayingAd&&t.playMainVideoWhenVastFails(401)},t.createVideoSourceSwitch=function(){var e=[],n=t.domRef.player.querySelectorAll("source");if([].forEach.call(n,(function(t){t.title&&t.src&&e.push({title:t.title,url:t.src,isHD:null!=t.getAttribute("data-fluid-hd")})})),t.videoSources=e,!(t.videoSources.length<=1)){var o=document.getElementById(t.videoPlayerId+"_fluid_control_video_source");o.style.display="inline-block";var i=!1,r=document.createElement("div");r.id=t.videoPlayerId+"_fluid_control_video_source_list",r.className="fluid_video_sources_list",r.style.display="none";var a,l=!0,d=v(t.videoSources);try{for(d.s();!(a=d.n()).done;){var s=a.value,u=s.url.split(".").pop();if("iOS"!==t.mobileInfo.userOs||"mkv"!==u){var c=l?"source_selected":"",p=s.isHD?'':"";l=!1;var f=document.createElement("div");f.id="source_"+t.videoPlayerId+"_"+s.title,f.className="fluid_video_source_list_item",f.innerHTML=''+s.title+p,f.addEventListener("click",(function(e){e.stopPropagation(),t.domRef.player.style.width=t.domRef.player.clientWidth+"px",t.domRef.player.style.height=t.domRef.player.clientHeight+"px";for(var n=this,o=document.getElementsByClassName("source_button_icon"),i=0;i0)return console.log("[FP_ERROR] .mkv files not supported by iOS devices."),!1;if(t.isCurrentlyPlayingAd)t.originalSrc=e;else{t.isSwitchingSource=!0;var n=!1;t.domRef.player.paused||(t.domRef.player.pause(),n=!0);var o=t.domRef.player.currentTime;t.setCurrentTimeAndPlay(o,n),t.domRef.player.src=e,t.originalSrc=e,t.displayOptions.layoutControls.mediaType=t.getCurrentSrcType(),t.initialiseStreamers()}},t.setCurrentTimeAndPlay=function(e,n){var o=function n(){t.currentTime=e,t.domRef.player.removeEventListener("playing",n)};t.domRef.player.addEventListener("loadedmetadata",(function i(){t.domRef.player.currentTime=e,t.domRef.player.removeEventListener("loadedmetadata",i),"iOS"!==t.mobileInfo.userOs&&"safari"!==t.getBrowserVersion().browserName.toLowerCase()||t.domRef.player.addEventListener("playing",o),n?t.domRef.player.play():(t.domRef.player.pause(),t.controlPlayPauseToggle(t.videoPlayerId)),t.isSwitchingSource=!1,t.domRef.player.style.width="100%",t.domRef.player.style.height="100%"}),!1),t.domRef.player.load()},t.initTitle=function(){if(t.displayOptions.layoutControls.title){var e=document.createElement("div");e.id=t.videoPlayerId+"_title",t.domRef.player.parentNode.insertBefore(e,null),e.innerHTML+=t.displayOptions.layoutControls.title,e.classList.add("fp_title")}},t.hasTitle=function(){var e=document.getElementById(t.videoPlayerId+"_title"),n=t.displayOptions.layoutControls.title;return e&&null!=n},t.hideTitle=function(){var e=document.getElementById(t.videoPlayerId+"_title");t.hasTitle()&&e.classList.add("fade_out")},t.showTitle=function(){var e=document.getElementById(t.videoPlayerId+"_title");t.hasTitle()&&e.classList.remove("fade_out")},t.initLogo=function(){if(t.displayOptions.layoutControls.logo.imageUrl){var e=document.createElement("div");e.id=t.videoPlayerId+"_logo",t.displayOptions.layoutControls.logo.hideWithControls?e.classList.add("initial_controls_show","fp_logo"):e.classList.add("logo_maintain_display");var n=document.createElement("img");n.id=t.videoPlayerId+"_logo_image",t.displayOptions.layoutControls.logo.imageUrl&&(n.src=t.displayOptions.layoutControls.logo.imageUrl),n.style.position="absolute",n.style.margin=t.displayOptions.layoutControls.logo.imageMargin;var o=t.displayOptions.layoutControls.logo.position.toLowerCase();-1!==o.indexOf("bottom")?n.style.bottom=0:n.style.top=0,-1!==o.indexOf("right")?n.style.right=0:n.style.left=0,t.displayOptions.layoutControls.logo.opacity&&(n.style.opacity=t.displayOptions.layoutControls.logo.opacity),null!==t.displayOptions.layoutControls.logo.clickUrl&&(n.style.cursor="pointer",n.addEventListener("click",(function(){window.open(t.displayOptions.layoutControls.logo.clickUrl,"_blank").focus()}))),t.displayOptions.layoutControls.logo.mouseOverImageUrl&&(n.addEventListener("mouseover",(function(){n.src=t.displayOptions.layoutControls.logo.mouseOverImageUrl}),!1),n.addEventListener("mouseout",(function(){n.src=t.displayOptions.layoutControls.logo.imageUrl}),!1)),t.domRef.player.parentNode.insertBefore(e,null),e.appendChild(n,null)}},t.initHtmlOnPauseBlock=function(){if(!t.hasValidOnPauseAd()&&t.displayOptions.layoutControls.htmlOnPauseBlock.html){var e=document.createElement("div");e.id=t.videoPlayerId+"_fluid_html_on_pause",e.className="fluid_html_on_pause",e.style.display="none",e.innerHTML=t.displayOptions.layoutControls.htmlOnPauseBlock.html,e.onclick=function(e){t.playPauseToggle()},t.displayOptions.layoutControls.htmlOnPauseBlock.width&&(e.style.width=t.displayOptions.layoutControls.htmlOnPauseBlock.width+"px"),t.displayOptions.layoutControls.htmlOnPauseBlock.height&&(e.style.height=t.displayOptions.layoutControls.htmlOnPauseBlock.height+"px"),t.domRef.player.parentNode.insertBefore(e,null)}},t.initPlayButton=function(){var e=document.createElement("div");e.id=t.videoPlayerId+"_fluid_initial_play_button",e.className="fluid_html_on_pause";var n=t.displayOptions.layoutControls.primaryColor?t.displayOptions.layoutControls.primaryColor:"#333333";e.innerHTML='
',e.addEventListener("click",(function n(){t.playPauseToggle(),e.removeEventListener("click",n)})),t.displayOptions.layoutControls.playButtonShowing||(document.getElementById(t.videoPlayerId+"_fluid_controls_container").classList.add("initial_controls_show"),e.style.opacity="0"),t.domRef.player.parentNode.insertBefore(e,null)},t.mainVideoReady=function(){if(0===t.mainVideoDuration&&!t.isCurrentlyPlayingAd&&!1===t.mainVideoReadyState){var e=new CustomEvent("mainVideoDurationSet");t.mainVideoDuration=t.domRef.player.duration,t.mainVideoReadyState=!0,t.domRef.player.dispatchEvent(e),t.domRef.player.removeEventListener("loadedmetadata",t.mainVideoReady)}},t.userActivityChecker=function(){var e=t.domRef.wrapper;t.newActivity=null;var n=!1,o=function(e){"touchstart"!==e.type&&"mousedown"!==e.type||(n=!0),"touchend"!==e.type&&"mouseup"!==e.type||(n=!1),t.newActivity=!0};setInterval((function(){if(!0===t.newActivity){if(n||t.isLoading||(t.newActivity=!1),!1===t.isUserActive||!t.isControlBarVisible()){var e=new CustomEvent("userActive");t.domRef.player.dispatchEvent(e),t.isUserActive=!0}clearTimeout(t.inactivityTimeout),t.inactivityTimeout=setTimeout((function(){if(!0!==t.newActivity){t.isUserActive=!1;var e=new CustomEvent("userInactive");t.domRef.player.dispatchEvent(e)}else clearTimeout(t.inactivityTimeout)}),1e3*t.displayOptions.layoutControls.controlBar.autoHideTimeout)}}),300);for(var i=t.isTouchDevice()?["touchstart","touchmove","touchend"]:["mousemove","mousedown","mouseup"],r=0;r=t.domRef.player.currentTime)){for(var r=t.domRef.player.buffered.end(t.domRef.player.buffered.length-1-i)/o*100+"%",a=0;a0&&!e.paused&&!e.ended&&e.readyState>2},t.setHtmlOnPauseBlock=function(e){if("object"!=h(e)||void 0===e.html)return!1;var n=document.getElementById(t.videoPlayerId+"_fluid_html_on_pause");if(!n){var o=document.createElement("div");return o.id=t.videoPlayerId+"_fluid_html_on_pause",o.className="fluid_html_on_pause",o.style.display="none",o.innerHTML=e.html,o.onclick=function(){t.playPauseToggle()},e.width&&(o.style.width=e.width+"px"),e.height&&(o.style.height=e.height+"px"),void t.domRef.player.parentNode.insertBefore(o,null)}n.innerHTML=e.html,e.width&&(n.style.width=e.width+"px"),e.height&&(n.style.height=e.height+"px")},t.toggleControlBar=function(e){var n=document.getElementById(t.videoPlayerId+"fluid_controls_container");e?n.className+=" initial_controls_show":n.className=n.className.replace(" initial_controls_show","")},t.on=function(e,n){switch(e){case"play":t.domRef.player.onplay=n;break;case"seeked":t.domRef.player.onseeked=n;break;case"ended":t.domRef.player.onended=n;break;case"pause":t.domRef.player.addEventListener("pause",(function(){t.fluidPseudoPause||n()}));break;case"playing":t.domRef.player.addEventListener("playing",n);break;case"theatreModeOn":t.domRef.player.addEventListener("theatreModeOn",n);break;case"theatreModeOff":t.domRef.player.addEventListener("theatreModeOff",n);break;case"timeupdate":t.domRef.player.addEventListener("timeupdate",(function(){n(t.getCurrentTime())}));break;default:console.log("[FP_ERROR] Event not recognised")}},t.toggleLogo=function(e){if("object"!=h(e)||!e.imageUrl)return!1;var n=document.getElementById(t.videoPlayerId+"_logo");t.displayOptions.layoutControls.logo.imageUrl=e.imageUrl?e.imageUrl:null,t.displayOptions.layoutControls.logo.position=e.position?e.position:"top left",t.displayOptions.layoutControls.logo.clickUrl=e.clickUrl?e.clickUrl:null,t.displayOptions.layoutControls.logo.opacity=e.opacity?e.opacity:1,t.displayOptions.layoutControls.logo.mouseOverImageUrl=e.mouseOverImageUrl?e.mouseOverImageUrl:null,t.displayOptions.layoutControls.logo.imageMargin=e.imageMargin?e.imageMargin:"2px",t.displayOptions.layoutControls.logo.hideWithControls=!!e.hideWithControls&&e.hideWithControls,t.displayOptions.layoutControls.logo.showOverAds=!!e.showOverAds&&e.showOverAds,n&&n.remove(),t.initLogo()},t.trackEvent=function(e,n,o,i){void 0===t.events[o]&&(t.events[o]={}),void 0===t.events[o][n]&&(t.events[o][n]=[]),t.events[o][n].push(i),t.registerListener(e,n,o,i)},t.registerListener=function(e,t,n,o){for(var i=e.querySelectorAll(n),r=0;r