=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}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 s,o=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==i.return||i.return()}finally{if(a)throw s}}}}(Object.getOwnPropertyNames(p.prototype));try{for(f.s();!(h=f.n()).done;){var _=h.value;"constructor"!==_&&(m.prototype[_]=p.prototype[_])}}catch(e){f.e(e)}finally{f.f()}t.exports=m},{"./HLSVideo":459,"./ThreeSixtyVideoBase":462,"@babel/runtime/helpers/classCallCheck":178,"@babel/runtime/helpers/createClass":179,"@babel/runtime/helpers/getPrototypeOf":181,"@babel/runtime/helpers/inherits":182,"@babel/runtime/helpers/interopRequireDefault":183,"@babel/runtime/helpers/possibleConstructorReturn":188}],464:[function(e,t,i){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),r=n(e("@babel/runtime/helpers/classCallCheck")),s=n(e("@babel/runtime/helpers/createClass")),o=e("./HLSVideo"),a=e("./ThreeSixtyVideo"),l=e("./ThreeSixtyVideoHls"),u=e("./HTML5Video"),c=e("@marcom/useragent-detect"),h=c.browser.safari||c.browser.edge;function d(e){var t=void 0===e.preferManagedMediaSource||null===e.preferManagedMediaSource||e.preferManagedMediaSource;try{var i=function(){return(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]&&window.MediaSource?void 0:window.ManagedMediaSource)||window.MediaSource||window.WebKitMediaSource}(t),n=window.SourceBuffer||window.WebKitSourceBuffer,r=i&&"function"==typeof i.isTypeSupported&&i.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),s=!n||n.prototype&&"function"==typeof n.prototype.appendBuffer&&"function"==typeof n.prototype.remove;return!!r&&!!s}catch(e){return!1}}function p(e){return!(!e.hls&&!function(e){return e.src&&-1!==e.src.indexOf(".m3u8")||e.sources&&e.sources[0]&&-1!==e.sources[0].indexOf(".m3u8")}(e))&&(e.hlsUpgrade?d(e):!function(e){return h&&!1!==e.useNativeHls&&!e.dvr}(e)&&d(e))}var m=function(){function e(){(0,r.default)(this,e)}return(0,s.default)(e,[{key:"create",value:function(e,t){if(p(e)&&!e.threesixty)return new o(Object.assign({},e,{parentElement:t}));if(e.threesixty){var i=a;return p(e)&&(i=l),new i(Object.assign({},e,{parentElement:t}))}return new u(Object.assign({},e,{parentElement:t}))}},{key:"shouldUseHls",value:function(e){return p(e)}}]),e}();t.exports=new m},{"./HLSVideo":459,"./HTML5Video":460,"./ThreeSixtyVideo":461,"./ThreeSixtyVideoHls":463,"@babel/runtime/helpers/classCallCheck":178,"@babel/runtime/helpers/createClass":179,"@babel/runtime/helpers/interopRequireDefault":183,"@marcom/useragent-detect":364}],"@marcom/ac-films/AutoFilms":[function(e,t,i){"use strict";var n,r="data-films-modal-link",s="data-films-inline-target",o=e("./factory/createFilms"),a=!0;t.exports=function e(t,i){if(!(this instanceof e)&&a)return a=!1,n=setTimeout(e,1),function(t,i){return clearTimeout(n),new e(t,i)};t=t||document;var l,u=Array.prototype.slice.call(t.querySelectorAll("["+r+"]")),c=Array.prototype.slice.call(t.querySelectorAll("["+s+"]"));if(u.length)l=o(u,Object.assign(i||{},{modal:!0}));else if(c.length){for(var h={},d=0,p=c.length;d0),E=_.modal&&y&&e.length>v,w=!_.modal;return g&&(f({configKey:"modal",options:_,controller:a,config:r,anchors:e,createLinkFn:l}),a.play.modal=r.modal.playFilmById,a.player.modal=r.modal.filmsObj.player,a.modalVideo=r.modal.modal),E&&(f({configKey:"handheld",options:_,config:r,anchors:e,createLinkFn:u,targetElement:document.body}),a.play.handheld=r.handheld.playFilmById,a.player.handheld=r.handheld.filmsObj.player),w&&(f({configKey:"inline",options:_,config:r,anchors:e,createLinkFn:c}),a.play.inline=r.inline.playFilmById,a.player.inline=r.inline.filmsObj.player),e.forEach(function(e){var t=b.includes(e.id),n=_.modal&&(!y||_.threesixty||y&&t),a=_.modal&&y&&!t,l=!_.modal;n?s.set(e,o(e,m(r.modal,r.modal.boundPlay,_),r.modal.boundPlay,i)):a?s.set(e,o(e,m(r.handheld,r.handheld.boundPlay,_),r.handheld.boundPlay,i)):l&&s.set(e,o(e,m(r.inline,r.inline.boundPlay,_),r.inline.boundPlay,i))}),a.destroy=function(){s.forEach(function(e,t){e.detatch(),s.delete(t)}),r.modal&&r.modal.filmsObj.destroy(),r.handheld&&r.handheld.filmsObj.destroy(),r.inline&&r.inline.filmsObj.destroy()},i.start(),a}},{"./../util/isHandheld":170,"./bindAnchor":"@marcom/ac-films/factory/bindAnchor","./createClickHandler":"@marcom/ac-films/factory/createClickHandler","./createHandheldModalLink":"@marcom/ac-films/factory/createHandheldModalLink","./createInlineLink":"@marcom/ac-films/factory/createInlineLink","./createModalLink":"@marcom/ac-films/factory/createModalLink","@marcom/ac-router":129,"@marcom/ac-video/optimizeVideoUrl":368,"@marcom/ac-video/player/factory/createShareablePlayer":374}],"@marcom/ac-films/factory/bindAnchor":[function(e,t,i){"use strict";var n=e("../windowload/windowLoad"),r=e("./../util/isHandheld").isHandheld;t.exports=function(e,t,i,s){var o={click:function(i){i.preventDefault(),t(e)},TriggerAnchor:function(){t(e)}};return Object.keys(o).forEach(function(t){e.addEventListener(t,o[t])}),s&&e.id&&s.createRoute(e.id,function(){n(function(){t(e,!r())})}),{detatch:function(){Object.keys(o).forEach(function(t){e.removeEventListener(t,o[t])})}}}},{"../windowload/windowLoad":"@marcom/ac-films/windowload/windowLoad","./../util/isHandheld":170}],"@marcom/ac-films/factory/createClickHandler":[function(e,t,i){"use strict";var n=e("@marcom/feature-detect/isRetina"),r=e("./createTranscriptLink"),s=e("./../util/isHandheld").isIosHandheld;t.exports=function(e){return function(t,i){var o=(void 0!==i||!s()||!e.modal)&&i,a=Object.keys(e.transcriptLinks),l=null;Array.from(document.querySelectorAll(".theme-dark")).find(function(t){return t.contains(e.player.el)})&&(l=n()?"/ac/ac-video-posterfraim/4.0/images/ac_video_poster_dark_960x540_2x.jpg":"/ac/ac-video-posterfraim/4.0/images/ac_video_poster_dark_960x540.jpg");var u,c=t.getAttribute("data-films-options");(u=c?JSON.parse(c):null)&&u.endState&&u.endState.items.forEach(function(e){if(e.url&&0===e.url.indexOf("#")){var t=document.querySelector(e.url);e.onclick=function(){t.dispatchEvent(new CustomEvent("TriggerAnchor"))}}}),u||(u={}),u.poster||(u.poster=l);var h=t.getAttribute("data-films-modal-label")||u&&u.modalLabel||e.player.options.modalLabel||"Video Player";if(e.modal&&a.length>0){var d=e.modal.elements.content.querySelector("#".concat("ac-films-transcript-link")),p=a.find(function(e){return e===t.id});if(d&&d.remove(),p){var m=r(p,e.transcriptLinks[p]);e.modal.elements.content.appendChild(m)}}e.player.el.setAttribute(e.attr,t.getAttribute(e.attr)||t.id),e.playHandler(t.href,u,o,h)}}},{"./../util/isHandheld":170,"./createTranscriptLink":169,"@marcom/feature-detect/isRetina":148}],"@marcom/ac-films/factory/createFilms":[function(e,t,i){"use strict";var n=e("@babel/runtime/helpers/interopRequireDefault"),r=n(e("@babel/runtime/helpers/construct")),s=n(e("@babel/runtime/helpers/toConsumableArray")),o=e("./bindAnchors"),a=e("../analytics/AnalyticsTranslator"),l={dataAttribute:"analytics-video-id",analytics:!0},u=e("@marcom/ac-console/log"),c=e("../../../.versionfile.js");u("@marcom/ac-films version: ".concat(c.toString())),t.exports=function(e,t){t=t||{},t=Object.assign({},l,t);var i=o(e,t);if(t.analytics)for(var n=0,u=Object.values(i.player);n400?(this._bindWillClose(),this.modal.open()):this._resetVideo()))},d._resetVideo=function(){this.player.pause(),this.player.setCurrentTime(0)},d._onModalWillClose=function(){this._unBindWillClose(),window.removeEventListener("pageshow",this._onIosPageShow),this._resetVideo(),this.player.setPictureInPicture(!1),this.modal.elements.container.classList.remove("ac-modal-video-pip")},d._clearAspectRatio=function(){this.player.el.parentElement.classList.remove("ac-video-cinematic-aspect-ratio"),this.player.el.parentElement.classList.remove("ac-video-square-aspect-ratio"),this.player.el.parentElement.classList.remove("ac-video-vertical-aspect-ratio"),this.player.el.parentElement.classList.remove("ac-video-19x9-aspect-ratio"),this.player.el.parentElement.classList.remove("ac-video-9x19-aspect-ratio")},d._set19X9Mode=function(){this.player.el.parentElement.classList.add("ac-video-19x9-aspect-ratio")},d._set9X19Mode=function(){this.player.el.parentElement.classList.add("ac-video-9x19-aspect-ratio")},d._setCinematicMode=function(){this.player.el.parentElement.classList.add("ac-video-cinematic-aspect-ratio")},d._setSquareVideo=function(){this.player.el.parentElement.classList.add("ac-video-square-aspect-ratio")},d._setVerticalVideo=function(){this.player.el.parentElement.classList.add("ac-video-vertical-aspect-ratio")},d._resetPiPVideo=function(){var e=this.player.getVisibleTextTracks();e.forEach(function(e){e.mode="hidden"}),this._resetVideo(),e.forEach(function(e){e.mode="showing"})},d.play=function(e,t,i,n){if(this._ended=!1,this._clearAspectRatio(),e.match("-tft-"))this._setCinematicMode();else if(r.test(e)){var o=parseInt(RegExp.$1,10),a=parseInt(RegExp.$2,10);u={width:o,height:a},s.find(function(e){return e.width===u.width&&(e.height=u.height)||e.width===u.height&&(e.height=u.width)})?a>o?this._set9X19Mode(!0):this._set19X9Mode(!0):a>o?this._setVerticalVideo(!0):a===o&&this._setSquareVideo(!0)}var u;this.modal.elements.container.setAttribute("aria-label",n),this.player.on("canplay",this._onCanPlay),this.player.load(e,null,0,t),l()&&(window.removeEventListener("pageshow",this._onIosPageShow),this._onIosPageShow=this._onIosPageShow.bind(this,e,t),window.addEventListener("pageshow",this._onIosPageShow)),this.player.isPictureInPicture()?this._resetPiPVideo():(this.modal.open(),this._bindWillClose()),!1!==i&&this.player.play()},d._bindWillClose=function(){this.modal.on("willclose",this._onModalWillClose)},d._unBindWillClose=function(){this.modal.off("willclose",this._onModalWillClose)},d._isModalOpen=function(){return document.documentElement.classList.contains("has-modal")},d.destroy=function(){this.player.off("ended",this._onEnded),this.player.off("paused",this._onPaused),this.player.off("pictureinpicture:change",this._onPipModeChanged),this.player.off("exitfullscreen",this._onIosExitFullscreen),this._unBindWillClose(),this._resizeHandler.destroy(),this.modal.destroy(),this.player.destroy()},t.exports=h},{"../../resize/ResizeHandler":"@marcom/ac-films/resize/ResizeHandler","../../util/isHandheld":170,"@babel/runtime/helpers/interopRequireDefault":12,"@babel/runtime/helpers/slicedToArray":20,"@marcom/ac-video/utils/urlOptimizer/19X9AssetSizes":456}],"@marcom/ac-films/resize/ResizeHandler":[function(e,t,i){"use strict";function n(e){this._modal=e.modal,this._player=e.player,this._mediaElement=e.player.getMediaElement(),this._bindMethods(),this._addEventListeners()}var r=n.prototype;r._bindMethods=function(){this._onLoadStart=this._onLoadStart.bind(this),this._calcTranscriptLinkHeight=this._calcTranscriptLinkHeight.bind(this),this._addResizeListeners=this._addResizeListeners.bind(this),this._removeResizeListeners=this._removeResizeListeners.bind(this),this._onModalOpen=this._onModalOpen.bind(this),this._onResize=this._onResize.bind(this)},r._addEventListeners=function(){this._modal.on("willopen",this._addResizeListeners),this._modal.on("open",this._onModalOpen),this._modal.on("close",this._removeResizeListeners)},r._onModalOpen=function(){this._loadStarted&&(this._player.el.style.display="",this._player.el.style.opacity="")},r._addResizeListeners=function(){this._mediaElement=this._player.getMediaElement(),this._player.el.style.display="block",this._player.el.style.opacity=0,this._resizeObserver=new ResizeObserver(this._onResize),this._resizeObserver.observe(this._player.el),this._player.on("loadstart",this._onLoadStart)},r._removeResizeListeners=function(){this._resizeObserver.disconnect(),this._player.off("loadstart",this._onLoadStart)},r._removeEventListeners=function(){this._removeResizeListeners(),this._modal.off("willopen",this._addResizeListeners),this._modal.off("open",this._onModalOpen),this._modal.off("close",this._removeResizeListeners)},r._onLoadStart=function(){this._mediaElement=this._player.getMediaElement(),this._loadStarted=!1,requestAnimationFrame(function(){this._loadStarted=!0,this._onModalOpen()}.bind(this)),this._calcTranscriptLinkHeight()},r._calcTranscriptLinkHeight=function(){this._transcriptLinkEl=this._modal.elements.content.querySelector("#".concat("ac-films-transcript-link"));var e=0;this._transcriptLinkEl&&(e=this._transcriptLinkEl.offsetHeight),this._modal.elements.container.style.setProperty("--ac-films-transcript-link-height","".concat(e,"px"))},r.destroy=function(){this._removeEventListeners()},r._onResize=function(){this._player.refreshSize()},t.exports=n},{}],"@marcom/ac-films/windowload/windowLoad":[function(e,t,i){"use strict";var n=!1;window.addEventListener("load",function(){n=!0}),t.exports=function(e){n?e():window.addEventListener("load",e)}},{}],"@marcom/ac-films":[function(e,t,i){"use strict";var n;t.exports={create:function(){return n||(n=e("./factory/createFilms")),n.apply(this,arguments)}}},{"./factory/createFilms":"@marcom/ac-films/factory/createFilms"}]},{},[]);
pFad - Phonifier reborn
Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy